bootstrap-table-defer-url.js 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431
  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 ($$2) { 'use strict';
  6. function _assertThisInitialized(e) {
  7. if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  8. return e;
  9. }
  10. function _callSuper(t, o, e) {
  11. return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
  12. }
  13. function _classCallCheck(a, n) {
  14. if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
  15. }
  16. function _defineProperties(e, r) {
  17. for (var t = 0; t < r.length; t++) {
  18. var o = r[t];
  19. o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
  20. }
  21. }
  22. function _createClass(e, r, t) {
  23. return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
  24. writable: !1
  25. }), e;
  26. }
  27. function _get() {
  28. return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
  29. var p = _superPropBase(e, t);
  30. if (p) {
  31. var n = Object.getOwnPropertyDescriptor(p, t);
  32. return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value;
  33. }
  34. }, _get.apply(null, arguments);
  35. }
  36. function _getPrototypeOf(t) {
  37. return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
  38. return t.__proto__ || Object.getPrototypeOf(t);
  39. }, _getPrototypeOf(t);
  40. }
  41. function _inherits(t, e) {
  42. if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
  43. t.prototype = Object.create(e && e.prototype, {
  44. constructor: {
  45. value: t,
  46. writable: !0,
  47. configurable: !0
  48. }
  49. }), Object.defineProperty(t, "prototype", {
  50. writable: !1
  51. }), e && _setPrototypeOf(t, e);
  52. }
  53. function _isNativeReflectConstruct() {
  54. try {
  55. var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  56. } catch (t) {}
  57. return (_isNativeReflectConstruct = function () {
  58. return !!t;
  59. })();
  60. }
  61. function _possibleConstructorReturn(t, e) {
  62. if (e && ("object" == typeof e || "function" == typeof e)) return e;
  63. if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
  64. return _assertThisInitialized(t);
  65. }
  66. function _setPrototypeOf(t, e) {
  67. return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
  68. return t.__proto__ = e, t;
  69. }, _setPrototypeOf(t, e);
  70. }
  71. function _superPropBase(t, o) {
  72. for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
  73. return t;
  74. }
  75. function _toPrimitive(t, r) {
  76. if ("object" != typeof t || !t) return t;
  77. var e = t[Symbol.toPrimitive];
  78. if (void 0 !== e) {
  79. var i = e.call(t, r);
  80. if ("object" != typeof i) return i;
  81. throw new TypeError("@@toPrimitive must return a primitive value.");
  82. }
  83. return (String )(t);
  84. }
  85. function _toPropertyKey(t) {
  86. var i = _toPrimitive(t, "string");
  87. return "symbol" == typeof i ? i : i + "";
  88. }
  89. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  90. var check = function (it) {
  91. return it && it.Math === Math && it;
  92. };
  93. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  94. var global$a =
  95. // eslint-disable-next-line es/no-global-this -- safe
  96. check(typeof globalThis == 'object' && globalThis) ||
  97. check(typeof window == 'object' && window) ||
  98. // eslint-disable-next-line no-restricted-globals -- safe
  99. check(typeof self == 'object' && self) ||
  100. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  101. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  102. // eslint-disable-next-line no-new-func -- fallback
  103. (function () { return this; })() || Function('return this')();
  104. var objectGetOwnPropertyDescriptor = {};
  105. var fails$c = function (exec) {
  106. try {
  107. return !!exec();
  108. } catch (error) {
  109. return true;
  110. }
  111. };
  112. var fails$b = fails$c;
  113. // Detect IE8's incomplete defineProperty implementation
  114. var descriptors = !fails$b(function () {
  115. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  116. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
  117. });
  118. var fails$a = fails$c;
  119. var functionBindNative = !fails$a(function () {
  120. // eslint-disable-next-line es/no-function-prototype-bind -- safe
  121. var test = (function () { /* empty */ }).bind();
  122. // eslint-disable-next-line no-prototype-builtins -- safe
  123. return typeof test != 'function' || test.hasOwnProperty('prototype');
  124. });
  125. var NATIVE_BIND$1 = functionBindNative;
  126. var call$5 = Function.prototype.call;
  127. var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
  128. return call$5.apply(call$5, arguments);
  129. };
  130. var objectPropertyIsEnumerable = {};
  131. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  132. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  133. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  134. // Nashorn ~ JDK8 bug
  135. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  136. // `Object.prototype.propertyIsEnumerable` method implementation
  137. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  138. objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  139. var descriptor = getOwnPropertyDescriptor$1(this, V);
  140. return !!descriptor && descriptor.enumerable;
  141. } : $propertyIsEnumerable;
  142. var createPropertyDescriptor$3 = function (bitmap, value) {
  143. return {
  144. enumerable: !(bitmap & 1),
  145. configurable: !(bitmap & 2),
  146. writable: !(bitmap & 4),
  147. value: value
  148. };
  149. };
  150. var NATIVE_BIND = functionBindNative;
  151. var FunctionPrototype$1 = Function.prototype;
  152. var call$4 = FunctionPrototype$1.call;
  153. var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
  154. var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
  155. return function () {
  156. return call$4.apply(fn, arguments);
  157. };
  158. };
  159. var uncurryThis$a = functionUncurryThis;
  160. var toString$1 = uncurryThis$a({}.toString);
  161. var stringSlice$1 = uncurryThis$a(''.slice);
  162. var classofRaw$1 = function (it) {
  163. return stringSlice$1(toString$1(it), 8, -1);
  164. };
  165. var uncurryThis$9 = functionUncurryThis;
  166. var fails$9 = fails$c;
  167. var classof$3 = classofRaw$1;
  168. var $Object$3 = Object;
  169. var split = uncurryThis$9(''.split);
  170. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  171. var indexedObject = fails$9(function () {
  172. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  173. // eslint-disable-next-line no-prototype-builtins -- safe
  174. return !$Object$3('z').propertyIsEnumerable(0);
  175. }) ? function (it) {
  176. return classof$3(it) === 'String' ? split(it, '') : $Object$3(it);
  177. } : $Object$3;
  178. // we can't use just `it == null` since of `document.all` special case
  179. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
  180. var isNullOrUndefined$2 = function (it) {
  181. return it === null || it === undefined;
  182. };
  183. var isNullOrUndefined$1 = isNullOrUndefined$2;
  184. var $TypeError$6 = TypeError;
  185. // `RequireObjectCoercible` abstract operation
  186. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  187. var requireObjectCoercible$2 = function (it) {
  188. if (isNullOrUndefined$1(it)) throw new $TypeError$6("Can't call method on " + it);
  189. return it;
  190. };
  191. // toObject with fallback for non-array-like ES3 strings
  192. var IndexedObject$1 = indexedObject;
  193. var requireObjectCoercible$1 = requireObjectCoercible$2;
  194. var toIndexedObject$3 = function (it) {
  195. return IndexedObject$1(requireObjectCoercible$1(it));
  196. };
  197. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
  198. var documentAll = typeof document == 'object' && document.all;
  199. // `IsCallable` abstract operation
  200. // https://tc39.es/ecma262/#sec-iscallable
  201. // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
  202. var isCallable$c = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
  203. return typeof argument == 'function' || argument === documentAll;
  204. } : function (argument) {
  205. return typeof argument == 'function';
  206. };
  207. var isCallable$b = isCallable$c;
  208. var isObject$7 = function (it) {
  209. return typeof it == 'object' ? it !== null : isCallable$b(it);
  210. };
  211. var global$9 = global$a;
  212. var isCallable$a = isCallable$c;
  213. var aFunction = function (argument) {
  214. return isCallable$a(argument) ? argument : undefined;
  215. };
  216. var getBuiltIn$3 = function (namespace, method) {
  217. return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
  218. };
  219. var uncurryThis$8 = functionUncurryThis;
  220. var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
  221. var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
  222. var global$8 = global$a;
  223. var userAgent = engineUserAgent;
  224. var process = global$8.process;
  225. var Deno = global$8.Deno;
  226. var versions = process && process.versions || Deno && Deno.version;
  227. var v8 = versions && versions.v8;
  228. var match, version;
  229. if (v8) {
  230. match = v8.split('.');
  231. // in old Chrome, versions of V8 isn't V8 = Chrome / 10
  232. // but their correct versions are not interesting for us
  233. version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
  234. }
  235. // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
  236. // so check `userAgent` even if `.v8` exists, but 0
  237. if (!version && userAgent) {
  238. match = userAgent.match(/Edge\/(\d+)/);
  239. if (!match || match[1] >= 74) {
  240. match = userAgent.match(/Chrome\/(\d+)/);
  241. if (match) version = +match[1];
  242. }
  243. }
  244. var engineV8Version = version;
  245. /* eslint-disable es/no-symbol -- required for testing */
  246. var V8_VERSION$2 = engineV8Version;
  247. var fails$8 = fails$c;
  248. var global$7 = global$a;
  249. var $String$3 = global$7.String;
  250. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  251. var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
  252. var symbol = Symbol('symbol detection');
  253. // Chrome 38 Symbol has incorrect toString conversion
  254. // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  255. // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
  256. // of course, fail.
  257. return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
  258. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  259. !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
  260. });
  261. /* eslint-disable es/no-symbol -- required for testing */
  262. var NATIVE_SYMBOL$1 = symbolConstructorDetection;
  263. var useSymbolAsUid = NATIVE_SYMBOL$1
  264. && !Symbol.sham
  265. && typeof Symbol.iterator == 'symbol';
  266. var getBuiltIn$2 = getBuiltIn$3;
  267. var isCallable$9 = isCallable$c;
  268. var isPrototypeOf = objectIsPrototypeOf;
  269. var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
  270. var $Object$2 = Object;
  271. var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
  272. return typeof it == 'symbol';
  273. } : function (it) {
  274. var $Symbol = getBuiltIn$2('Symbol');
  275. return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
  276. };
  277. var $String$2 = String;
  278. var tryToString$1 = function (argument) {
  279. try {
  280. return $String$2(argument);
  281. } catch (error) {
  282. return 'Object';
  283. }
  284. };
  285. var isCallable$8 = isCallable$c;
  286. var tryToString = tryToString$1;
  287. var $TypeError$5 = TypeError;
  288. // `Assert: IsCallable(argument) is true`
  289. var aCallable$1 = function (argument) {
  290. if (isCallable$8(argument)) return argument;
  291. throw new $TypeError$5(tryToString(argument) + ' is not a function');
  292. };
  293. var aCallable = aCallable$1;
  294. var isNullOrUndefined = isNullOrUndefined$2;
  295. // `GetMethod` abstract operation
  296. // https://tc39.es/ecma262/#sec-getmethod
  297. var getMethod$1 = function (V, P) {
  298. var func = V[P];
  299. return isNullOrUndefined(func) ? undefined : aCallable(func);
  300. };
  301. var call$3 = functionCall;
  302. var isCallable$7 = isCallable$c;
  303. var isObject$6 = isObject$7;
  304. var $TypeError$4 = TypeError;
  305. // `OrdinaryToPrimitive` abstract operation
  306. // https://tc39.es/ecma262/#sec-ordinarytoprimitive
  307. var ordinaryToPrimitive$1 = function (input, pref) {
  308. var fn, val;
  309. if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$3(fn, input))) return val;
  310. if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$3(fn, input))) return val;
  311. if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$3(fn, input))) return val;
  312. throw new $TypeError$4("Can't convert object to primitive value");
  313. };
  314. var sharedStore = {exports: {}};
  315. var global$6 = global$a;
  316. // eslint-disable-next-line es/no-object-defineproperty -- safe
  317. var defineProperty$2 = Object.defineProperty;
  318. var defineGlobalProperty$3 = function (key, value) {
  319. try {
  320. defineProperty$2(global$6, key, { value: value, configurable: true, writable: true });
  321. } catch (error) {
  322. global$6[key] = value;
  323. } return value;
  324. };
  325. var globalThis$1 = global$a;
  326. var defineGlobalProperty$2 = defineGlobalProperty$3;
  327. var SHARED = '__core-js_shared__';
  328. var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
  329. (store$3.versions || (store$3.versions = [])).push({
  330. version: '3.37.1',
  331. mode: 'global',
  332. copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
  333. license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
  334. source: 'https://github.com/zloirock/core-js'
  335. });
  336. var sharedStoreExports = sharedStore.exports;
  337. var store$2 = sharedStoreExports;
  338. var shared$3 = function (key, value) {
  339. return store$2[key] || (store$2[key] = value || {});
  340. };
  341. var requireObjectCoercible = requireObjectCoercible$2;
  342. var $Object$1 = Object;
  343. // `ToObject` abstract operation
  344. // https://tc39.es/ecma262/#sec-toobject
  345. var toObject$3 = function (argument) {
  346. return $Object$1(requireObjectCoercible(argument));
  347. };
  348. var uncurryThis$7 = functionUncurryThis;
  349. var toObject$2 = toObject$3;
  350. var hasOwnProperty = uncurryThis$7({}.hasOwnProperty);
  351. // `HasOwnProperty` abstract operation
  352. // https://tc39.es/ecma262/#sec-hasownproperty
  353. // eslint-disable-next-line es/no-object-hasown -- safe
  354. var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
  355. return hasOwnProperty(toObject$2(it), key);
  356. };
  357. var uncurryThis$6 = functionUncurryThis;
  358. var id = 0;
  359. var postfix = Math.random();
  360. var toString = uncurryThis$6(1.0.toString);
  361. var uid$2 = function (key) {
  362. return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
  363. };
  364. var global$5 = global$a;
  365. var shared$2 = shared$3;
  366. var hasOwn$6 = hasOwnProperty_1;
  367. var uid$1 = uid$2;
  368. var NATIVE_SYMBOL = symbolConstructorDetection;
  369. var USE_SYMBOL_AS_UID = useSymbolAsUid;
  370. var Symbol$1 = global$5.Symbol;
  371. var WellKnownSymbolsStore = shared$2('wks');
  372. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
  373. var wellKnownSymbol$6 = function (name) {
  374. if (!hasOwn$6(WellKnownSymbolsStore, name)) {
  375. WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
  376. ? Symbol$1[name]
  377. : createWellKnownSymbol('Symbol.' + name);
  378. } return WellKnownSymbolsStore[name];
  379. };
  380. var call$2 = functionCall;
  381. var isObject$5 = isObject$7;
  382. var isSymbol$1 = isSymbol$2;
  383. var getMethod = getMethod$1;
  384. var ordinaryToPrimitive = ordinaryToPrimitive$1;
  385. var wellKnownSymbol$5 = wellKnownSymbol$6;
  386. var $TypeError$3 = TypeError;
  387. var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
  388. // `ToPrimitive` abstract operation
  389. // https://tc39.es/ecma262/#sec-toprimitive
  390. var toPrimitive$1 = function (input, pref) {
  391. if (!isObject$5(input) || isSymbol$1(input)) return input;
  392. var exoticToPrim = getMethod(input, TO_PRIMITIVE);
  393. var result;
  394. if (exoticToPrim) {
  395. if (pref === undefined) pref = 'default';
  396. result = call$2(exoticToPrim, input, pref);
  397. if (!isObject$5(result) || isSymbol$1(result)) return result;
  398. throw new $TypeError$3("Can't convert object to primitive value");
  399. }
  400. if (pref === undefined) pref = 'number';
  401. return ordinaryToPrimitive(input, pref);
  402. };
  403. var toPrimitive = toPrimitive$1;
  404. var isSymbol = isSymbol$2;
  405. // `ToPropertyKey` abstract operation
  406. // https://tc39.es/ecma262/#sec-topropertykey
  407. var toPropertyKey$2 = function (argument) {
  408. var key = toPrimitive(argument, 'string');
  409. return isSymbol(key) ? key : key + '';
  410. };
  411. var global$4 = global$a;
  412. var isObject$4 = isObject$7;
  413. var document$1 = global$4.document;
  414. // typeof document.createElement is 'object' in old IE
  415. var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
  416. var documentCreateElement = function (it) {
  417. return EXISTS$1 ? document$1.createElement(it) : {};
  418. };
  419. var DESCRIPTORS$8 = descriptors;
  420. var fails$7 = fails$c;
  421. var createElement = documentCreateElement;
  422. // Thanks to IE8 for its funny defineProperty
  423. var ie8DomDefine = !DESCRIPTORS$8 && !fails$7(function () {
  424. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  425. return Object.defineProperty(createElement('div'), 'a', {
  426. get: function () { return 7; }
  427. }).a !== 7;
  428. });
  429. var DESCRIPTORS$7 = descriptors;
  430. var call$1 = functionCall;
  431. var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
  432. var createPropertyDescriptor$2 = createPropertyDescriptor$3;
  433. var toIndexedObject$2 = toIndexedObject$3;
  434. var toPropertyKey$1 = toPropertyKey$2;
  435. var hasOwn$5 = hasOwnProperty_1;
  436. var IE8_DOM_DEFINE$1 = ie8DomDefine;
  437. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  438. var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  439. // `Object.getOwnPropertyDescriptor` method
  440. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  441. objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
  442. O = toIndexedObject$2(O);
  443. P = toPropertyKey$1(P);
  444. if (IE8_DOM_DEFINE$1) try {
  445. return $getOwnPropertyDescriptor$1(O, P);
  446. } catch (error) { /* empty */ }
  447. if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
  448. };
  449. var objectDefineProperty = {};
  450. var DESCRIPTORS$6 = descriptors;
  451. var fails$6 = fails$c;
  452. // V8 ~ Chrome 36-
  453. // https://bugs.chromium.org/p/v8/issues/detail?id=3334
  454. var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$6(function () {
  455. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  456. return Object.defineProperty(function () { /* empty */ }, 'prototype', {
  457. value: 42,
  458. writable: false
  459. }).prototype !== 42;
  460. });
  461. var isObject$3 = isObject$7;
  462. var $String$1 = String;
  463. var $TypeError$2 = TypeError;
  464. // `Assert: Type(argument) is Object`
  465. var anObject$2 = function (argument) {
  466. if (isObject$3(argument)) return argument;
  467. throw new $TypeError$2($String$1(argument) + ' is not an object');
  468. };
  469. var DESCRIPTORS$5 = descriptors;
  470. var IE8_DOM_DEFINE = ie8DomDefine;
  471. var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
  472. var anObject$1 = anObject$2;
  473. var toPropertyKey = toPropertyKey$2;
  474. var $TypeError$1 = TypeError;
  475. // eslint-disable-next-line es/no-object-defineproperty -- safe
  476. var $defineProperty = Object.defineProperty;
  477. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  478. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  479. var ENUMERABLE = 'enumerable';
  480. var CONFIGURABLE$1 = 'configurable';
  481. var WRITABLE = 'writable';
  482. // `Object.defineProperty` method
  483. // https://tc39.es/ecma262/#sec-object.defineproperty
  484. objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
  485. anObject$1(O);
  486. P = toPropertyKey(P);
  487. anObject$1(Attributes);
  488. if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
  489. var current = $getOwnPropertyDescriptor(O, P);
  490. if (current && current[WRITABLE]) {
  491. O[P] = Attributes.value;
  492. Attributes = {
  493. configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
  494. enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
  495. writable: false
  496. };
  497. }
  498. } return $defineProperty(O, P, Attributes);
  499. } : $defineProperty : function defineProperty(O, P, Attributes) {
  500. anObject$1(O);
  501. P = toPropertyKey(P);
  502. anObject$1(Attributes);
  503. if (IE8_DOM_DEFINE) try {
  504. return $defineProperty(O, P, Attributes);
  505. } catch (error) { /* empty */ }
  506. if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$1('Accessors not supported');
  507. if ('value' in Attributes) O[P] = Attributes.value;
  508. return O;
  509. };
  510. var DESCRIPTORS$4 = descriptors;
  511. var definePropertyModule$3 = objectDefineProperty;
  512. var createPropertyDescriptor$1 = createPropertyDescriptor$3;
  513. var createNonEnumerableProperty$2 = DESCRIPTORS$4 ? function (object, key, value) {
  514. return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
  515. } : function (object, key, value) {
  516. object[key] = value;
  517. return object;
  518. };
  519. var makeBuiltIn$2 = {exports: {}};
  520. var DESCRIPTORS$3 = descriptors;
  521. var hasOwn$4 = hasOwnProperty_1;
  522. var FunctionPrototype = Function.prototype;
  523. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  524. var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
  525. var EXISTS = hasOwn$4(FunctionPrototype, 'name');
  526. // additional protection from minified / mangled / dropped function names
  527. var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
  528. var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
  529. var functionName = {
  530. EXISTS: EXISTS,
  531. PROPER: PROPER,
  532. CONFIGURABLE: CONFIGURABLE
  533. };
  534. var uncurryThis$5 = functionUncurryThis;
  535. var isCallable$6 = isCallable$c;
  536. var store$1 = sharedStoreExports;
  537. var functionToString = uncurryThis$5(Function.toString);
  538. // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
  539. if (!isCallable$6(store$1.inspectSource)) {
  540. store$1.inspectSource = function (it) {
  541. return functionToString(it);
  542. };
  543. }
  544. var inspectSource$2 = store$1.inspectSource;
  545. var global$3 = global$a;
  546. var isCallable$5 = isCallable$c;
  547. var WeakMap$1 = global$3.WeakMap;
  548. var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));
  549. var shared$1 = shared$3;
  550. var uid = uid$2;
  551. var keys = shared$1('keys');
  552. var sharedKey$1 = function (key) {
  553. return keys[key] || (keys[key] = uid(key));
  554. };
  555. var hiddenKeys$3 = {};
  556. var NATIVE_WEAK_MAP = weakMapBasicDetection;
  557. var global$2 = global$a;
  558. var isObject$2 = isObject$7;
  559. var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
  560. var hasOwn$3 = hasOwnProperty_1;
  561. var shared = sharedStoreExports;
  562. var sharedKey = sharedKey$1;
  563. var hiddenKeys$2 = hiddenKeys$3;
  564. var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
  565. var TypeError$1 = global$2.TypeError;
  566. var WeakMap = global$2.WeakMap;
  567. var set, get, has;
  568. var enforce = function (it) {
  569. return has(it) ? get(it) : set(it, {});
  570. };
  571. var getterFor = function (TYPE) {
  572. return function (it) {
  573. var state;
  574. if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
  575. throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
  576. } return state;
  577. };
  578. };
  579. if (NATIVE_WEAK_MAP || shared.state) {
  580. var store = shared.state || (shared.state = new WeakMap());
  581. /* eslint-disable no-self-assign -- prototype methods protection */
  582. store.get = store.get;
  583. store.has = store.has;
  584. store.set = store.set;
  585. /* eslint-enable no-self-assign -- prototype methods protection */
  586. set = function (it, metadata) {
  587. if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  588. metadata.facade = it;
  589. store.set(it, metadata);
  590. return metadata;
  591. };
  592. get = function (it) {
  593. return store.get(it) || {};
  594. };
  595. has = function (it) {
  596. return store.has(it);
  597. };
  598. } else {
  599. var STATE = sharedKey('state');
  600. hiddenKeys$2[STATE] = true;
  601. set = function (it, metadata) {
  602. if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  603. metadata.facade = it;
  604. createNonEnumerableProperty$1(it, STATE, metadata);
  605. return metadata;
  606. };
  607. get = function (it) {
  608. return hasOwn$3(it, STATE) ? it[STATE] : {};
  609. };
  610. has = function (it) {
  611. return hasOwn$3(it, STATE);
  612. };
  613. }
  614. var internalState = {
  615. set: set,
  616. get: get,
  617. has: has,
  618. enforce: enforce,
  619. getterFor: getterFor
  620. };
  621. var uncurryThis$4 = functionUncurryThis;
  622. var fails$5 = fails$c;
  623. var isCallable$4 = isCallable$c;
  624. var hasOwn$2 = hasOwnProperty_1;
  625. var DESCRIPTORS$2 = descriptors;
  626. var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
  627. var inspectSource$1 = inspectSource$2;
  628. var InternalStateModule = internalState;
  629. var enforceInternalState = InternalStateModule.enforce;
  630. var getInternalState = InternalStateModule.get;
  631. var $String = String;
  632. // eslint-disable-next-line es/no-object-defineproperty -- safe
  633. var defineProperty$1 = Object.defineProperty;
  634. var stringSlice = uncurryThis$4(''.slice);
  635. var replace = uncurryThis$4(''.replace);
  636. var join = uncurryThis$4([].join);
  637. var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$5(function () {
  638. return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
  639. });
  640. var TEMPLATE = String(String).split('String');
  641. var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
  642. if (stringSlice($String(name), 0, 7) === 'Symbol(') {
  643. name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
  644. }
  645. if (options && options.getter) name = 'get ' + name;
  646. if (options && options.setter) name = 'set ' + name;
  647. if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
  648. if (DESCRIPTORS$2) defineProperty$1(value, 'name', { value: name, configurable: true });
  649. else value.name = name;
  650. }
  651. if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
  652. defineProperty$1(value, 'length', { value: options.arity });
  653. }
  654. try {
  655. if (options && hasOwn$2(options, 'constructor') && options.constructor) {
  656. if (DESCRIPTORS$2) defineProperty$1(value, 'prototype', { writable: false });
  657. // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
  658. } else if (value.prototype) value.prototype = undefined;
  659. } catch (error) { /* empty */ }
  660. var state = enforceInternalState(value);
  661. if (!hasOwn$2(state, 'source')) {
  662. state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
  663. } return value;
  664. };
  665. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  666. // eslint-disable-next-line no-extend-native -- required
  667. Function.prototype.toString = makeBuiltIn$1(function toString() {
  668. return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
  669. }, 'toString');
  670. var makeBuiltInExports = makeBuiltIn$2.exports;
  671. var isCallable$3 = isCallable$c;
  672. var definePropertyModule$2 = objectDefineProperty;
  673. var makeBuiltIn = makeBuiltInExports;
  674. var defineGlobalProperty$1 = defineGlobalProperty$3;
  675. var defineBuiltIn$1 = function (O, key, value, options) {
  676. if (!options) options = {};
  677. var simple = options.enumerable;
  678. var name = options.name !== undefined ? options.name : key;
  679. if (isCallable$3(value)) makeBuiltIn(value, name, options);
  680. if (options.global) {
  681. if (simple) O[key] = value;
  682. else defineGlobalProperty$1(key, value);
  683. } else {
  684. try {
  685. if (!options.unsafe) delete O[key];
  686. else if (O[key]) simple = true;
  687. } catch (error) { /* empty */ }
  688. if (simple) O[key] = value;
  689. else definePropertyModule$2.f(O, key, {
  690. value: value,
  691. enumerable: false,
  692. configurable: !options.nonConfigurable,
  693. writable: !options.nonWritable
  694. });
  695. } return O;
  696. };
  697. var objectGetOwnPropertyNames = {};
  698. var ceil = Math.ceil;
  699. var floor = Math.floor;
  700. // `Math.trunc` method
  701. // https://tc39.es/ecma262/#sec-math.trunc
  702. // eslint-disable-next-line es/no-math-trunc -- safe
  703. var mathTrunc = Math.trunc || function trunc(x) {
  704. var n = +x;
  705. return (n > 0 ? floor : ceil)(n);
  706. };
  707. var trunc = mathTrunc;
  708. // `ToIntegerOrInfinity` abstract operation
  709. // https://tc39.es/ecma262/#sec-tointegerorinfinity
  710. var toIntegerOrInfinity$2 = function (argument) {
  711. var number = +argument;
  712. // eslint-disable-next-line no-self-compare -- NaN check
  713. return number !== number || number === 0 ? 0 : trunc(number);
  714. };
  715. var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
  716. var max = Math.max;
  717. var min$1 = Math.min;
  718. // Helper for a popular repeating case of the spec:
  719. // Let integer be ? ToInteger(index).
  720. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  721. var toAbsoluteIndex$1 = function (index, length) {
  722. var integer = toIntegerOrInfinity$1(index);
  723. return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
  724. };
  725. var toIntegerOrInfinity = toIntegerOrInfinity$2;
  726. var min = Math.min;
  727. // `ToLength` abstract operation
  728. // https://tc39.es/ecma262/#sec-tolength
  729. var toLength$1 = function (argument) {
  730. var len = toIntegerOrInfinity(argument);
  731. return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  732. };
  733. var toLength = toLength$1;
  734. // `LengthOfArrayLike` abstract operation
  735. // https://tc39.es/ecma262/#sec-lengthofarraylike
  736. var lengthOfArrayLike$2 = function (obj) {
  737. return toLength(obj.length);
  738. };
  739. var toIndexedObject$1 = toIndexedObject$3;
  740. var toAbsoluteIndex = toAbsoluteIndex$1;
  741. var lengthOfArrayLike$1 = lengthOfArrayLike$2;
  742. // `Array.prototype.{ indexOf, includes }` methods implementation
  743. var createMethod = function (IS_INCLUDES) {
  744. return function ($this, el, fromIndex) {
  745. var O = toIndexedObject$1($this);
  746. var length = lengthOfArrayLike$1(O);
  747. if (length === 0) return !IS_INCLUDES && -1;
  748. var index = toAbsoluteIndex(fromIndex, length);
  749. var value;
  750. // Array#includes uses SameValueZero equality algorithm
  751. // eslint-disable-next-line no-self-compare -- NaN check
  752. if (IS_INCLUDES && el !== el) while (length > index) {
  753. value = O[index++];
  754. // eslint-disable-next-line no-self-compare -- NaN check
  755. if (value !== value) return true;
  756. // Array#indexOf ignores holes, Array#includes - not
  757. } else for (;length > index; index++) {
  758. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  759. } return !IS_INCLUDES && -1;
  760. };
  761. };
  762. var arrayIncludes = {
  763. // `Array.prototype.includes` method
  764. // https://tc39.es/ecma262/#sec-array.prototype.includes
  765. includes: createMethod(true),
  766. // `Array.prototype.indexOf` method
  767. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  768. indexOf: createMethod(false)
  769. };
  770. var uncurryThis$3 = functionUncurryThis;
  771. var hasOwn$1 = hasOwnProperty_1;
  772. var toIndexedObject = toIndexedObject$3;
  773. var indexOf = arrayIncludes.indexOf;
  774. var hiddenKeys$1 = hiddenKeys$3;
  775. var push = uncurryThis$3([].push);
  776. var objectKeysInternal = function (object, names) {
  777. var O = toIndexedObject(object);
  778. var i = 0;
  779. var result = [];
  780. var key;
  781. for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
  782. // Don't enum bug & hidden keys
  783. while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
  784. ~indexOf(result, key) || push(result, key);
  785. }
  786. return result;
  787. };
  788. // IE8- don't enum bug keys
  789. var enumBugKeys$2 = [
  790. 'constructor',
  791. 'hasOwnProperty',
  792. 'isPrototypeOf',
  793. 'propertyIsEnumerable',
  794. 'toLocaleString',
  795. 'toString',
  796. 'valueOf'
  797. ];
  798. var internalObjectKeys$1 = objectKeysInternal;
  799. var enumBugKeys$1 = enumBugKeys$2;
  800. var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
  801. // `Object.getOwnPropertyNames` method
  802. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  803. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  804. objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  805. return internalObjectKeys$1(O, hiddenKeys);
  806. };
  807. var objectGetOwnPropertySymbols = {};
  808. // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
  809. objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
  810. var getBuiltIn$1 = getBuiltIn$3;
  811. var uncurryThis$2 = functionUncurryThis;
  812. var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
  813. var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
  814. var anObject = anObject$2;
  815. var concat$1 = uncurryThis$2([].concat);
  816. // all object keys, includes non-enumerable and symbols
  817. var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
  818. var keys = getOwnPropertyNamesModule.f(anObject(it));
  819. var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
  820. return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
  821. };
  822. var hasOwn = hasOwnProperty_1;
  823. var ownKeys = ownKeys$1;
  824. var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
  825. var definePropertyModule$1 = objectDefineProperty;
  826. var copyConstructorProperties$1 = function (target, source, exceptions) {
  827. var keys = ownKeys(source);
  828. var defineProperty = definePropertyModule$1.f;
  829. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  830. for (var i = 0; i < keys.length; i++) {
  831. var key = keys[i];
  832. if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
  833. defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  834. }
  835. }
  836. };
  837. var fails$4 = fails$c;
  838. var isCallable$2 = isCallable$c;
  839. var replacement = /#|\.prototype\./;
  840. var isForced$1 = function (feature, detection) {
  841. var value = data[normalize(feature)];
  842. return value === POLYFILL ? true
  843. : value === NATIVE ? false
  844. : isCallable$2(detection) ? fails$4(detection)
  845. : !!detection;
  846. };
  847. var normalize = isForced$1.normalize = function (string) {
  848. return String(string).replace(replacement, '.').toLowerCase();
  849. };
  850. var data = isForced$1.data = {};
  851. var NATIVE = isForced$1.NATIVE = 'N';
  852. var POLYFILL = isForced$1.POLYFILL = 'P';
  853. var isForced_1 = isForced$1;
  854. var global$1 = global$a;
  855. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  856. var createNonEnumerableProperty = createNonEnumerableProperty$2;
  857. var defineBuiltIn = defineBuiltIn$1;
  858. var defineGlobalProperty = defineGlobalProperty$3;
  859. var copyConstructorProperties = copyConstructorProperties$1;
  860. var isForced = isForced_1;
  861. /*
  862. options.target - name of the target object
  863. options.global - target is the global object
  864. options.stat - export as static methods of target
  865. options.proto - export as prototype methods of target
  866. options.real - real prototype method for the `pure` version
  867. options.forced - export even if the native feature is available
  868. options.bind - bind methods to the target, required for the `pure` version
  869. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  870. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  871. options.sham - add a flag to not completely full polyfills
  872. options.enumerable - export as enumerable property
  873. options.dontCallGetSet - prevent calling a getter on target
  874. options.name - the .name of the function if it does not match the key
  875. */
  876. var _export = function (options, source) {
  877. var TARGET = options.target;
  878. var GLOBAL = options.global;
  879. var STATIC = options.stat;
  880. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  881. if (GLOBAL) {
  882. target = global$1;
  883. } else if (STATIC) {
  884. target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
  885. } else {
  886. target = global$1[TARGET] && global$1[TARGET].prototype;
  887. }
  888. if (target) for (key in source) {
  889. sourceProperty = source[key];
  890. if (options.dontCallGetSet) {
  891. descriptor = getOwnPropertyDescriptor(target, key);
  892. targetProperty = descriptor && descriptor.value;
  893. } else targetProperty = target[key];
  894. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  895. // contained in target
  896. if (!FORCED && targetProperty !== undefined) {
  897. if (typeof sourceProperty == typeof targetProperty) continue;
  898. copyConstructorProperties(sourceProperty, targetProperty);
  899. }
  900. // add a flag to not completely full polyfills
  901. if (options.sham || (targetProperty && targetProperty.sham)) {
  902. createNonEnumerableProperty(sourceProperty, 'sham', true);
  903. }
  904. defineBuiltIn(target, key, sourceProperty, options);
  905. }
  906. };
  907. var classof$2 = classofRaw$1;
  908. // `IsArray` abstract operation
  909. // https://tc39.es/ecma262/#sec-isarray
  910. // eslint-disable-next-line es/no-array-isarray -- safe
  911. var isArray$2 = Array.isArray || function isArray(argument) {
  912. return classof$2(argument) === 'Array';
  913. };
  914. var $TypeError = TypeError;
  915. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
  916. var doesNotExceedSafeInteger$1 = function (it) {
  917. if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
  918. return it;
  919. };
  920. var DESCRIPTORS$1 = descriptors;
  921. var definePropertyModule = objectDefineProperty;
  922. var createPropertyDescriptor = createPropertyDescriptor$3;
  923. var createProperty$1 = function (object, key, value) {
  924. if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
  925. else object[key] = value;
  926. };
  927. var wellKnownSymbol$4 = wellKnownSymbol$6;
  928. var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
  929. var test = {};
  930. test[TO_STRING_TAG$1] = 'z';
  931. var toStringTagSupport = String(test) === '[object z]';
  932. var TO_STRING_TAG_SUPPORT = toStringTagSupport;
  933. var isCallable$1 = isCallable$c;
  934. var classofRaw = classofRaw$1;
  935. var wellKnownSymbol$3 = wellKnownSymbol$6;
  936. var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
  937. var $Object = Object;
  938. // ES3 wrong here
  939. var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
  940. // fallback for IE11 Script Access Denied error
  941. var tryGet = function (it, key) {
  942. try {
  943. return it[key];
  944. } catch (error) { /* empty */ }
  945. };
  946. // getting tag from ES6+ `Object.prototype.toString`
  947. var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
  948. var O, tag, result;
  949. return it === undefined ? 'Undefined' : it === null ? 'Null'
  950. // @@toStringTag case
  951. : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
  952. // builtinTag case
  953. : CORRECT_ARGUMENTS ? classofRaw(O)
  954. // ES3 arguments fallback
  955. : (result = classofRaw(O)) === 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
  956. };
  957. var uncurryThis$1 = functionUncurryThis;
  958. var fails$3 = fails$c;
  959. var isCallable = isCallable$c;
  960. var classof = classof$1;
  961. var getBuiltIn = getBuiltIn$3;
  962. var inspectSource = inspectSource$2;
  963. var noop = function () { /* empty */ };
  964. var construct = getBuiltIn('Reflect', 'construct');
  965. var constructorRegExp = /^\s*(?:class|function)\b/;
  966. var exec = uncurryThis$1(constructorRegExp.exec);
  967. var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
  968. var isConstructorModern = function isConstructor(argument) {
  969. if (!isCallable(argument)) return false;
  970. try {
  971. construct(noop, [], argument);
  972. return true;
  973. } catch (error) {
  974. return false;
  975. }
  976. };
  977. var isConstructorLegacy = function isConstructor(argument) {
  978. if (!isCallable(argument)) return false;
  979. switch (classof(argument)) {
  980. case 'AsyncFunction':
  981. case 'GeneratorFunction':
  982. case 'AsyncGeneratorFunction': return false;
  983. }
  984. try {
  985. // we can't check .prototype since constructors produced by .bind haven't it
  986. // `Function#toString` throws on some built-it function in some legacy engines
  987. // (for example, `DOMQuad` and similar in FF41-)
  988. return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
  989. } catch (error) {
  990. return true;
  991. }
  992. };
  993. isConstructorLegacy.sham = true;
  994. // `IsConstructor` abstract operation
  995. // https://tc39.es/ecma262/#sec-isconstructor
  996. var isConstructor$1 = !construct || fails$3(function () {
  997. var called;
  998. return isConstructorModern(isConstructorModern.call)
  999. || !isConstructorModern(Object)
  1000. || !isConstructorModern(function () { called = true; })
  1001. || called;
  1002. }) ? isConstructorLegacy : isConstructorModern;
  1003. var isArray$1 = isArray$2;
  1004. var isConstructor = isConstructor$1;
  1005. var isObject$1 = isObject$7;
  1006. var wellKnownSymbol$2 = wellKnownSymbol$6;
  1007. var SPECIES$1 = wellKnownSymbol$2('species');
  1008. var $Array = Array;
  1009. // a part of `ArraySpeciesCreate` abstract operation
  1010. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  1011. var arraySpeciesConstructor$1 = function (originalArray) {
  1012. var C;
  1013. if (isArray$1(originalArray)) {
  1014. C = originalArray.constructor;
  1015. // cross-realm fallback
  1016. if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
  1017. else if (isObject$1(C)) {
  1018. C = C[SPECIES$1];
  1019. if (C === null) C = undefined;
  1020. }
  1021. } return C === undefined ? $Array : C;
  1022. };
  1023. var arraySpeciesConstructor = arraySpeciesConstructor$1;
  1024. // `ArraySpeciesCreate` abstract operation
  1025. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  1026. var arraySpeciesCreate$1 = function (originalArray, length) {
  1027. return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
  1028. };
  1029. var fails$2 = fails$c;
  1030. var wellKnownSymbol$1 = wellKnownSymbol$6;
  1031. var V8_VERSION$1 = engineV8Version;
  1032. var SPECIES = wellKnownSymbol$1('species');
  1033. var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
  1034. // We can't use this feature detection in V8 since it causes
  1035. // deoptimization and serious performance degradation
  1036. // https://github.com/zloirock/core-js/issues/677
  1037. return V8_VERSION$1 >= 51 || !fails$2(function () {
  1038. var array = [];
  1039. var constructor = array.constructor = {};
  1040. constructor[SPECIES] = function () {
  1041. return { foo: 1 };
  1042. };
  1043. return array[METHOD_NAME](Boolean).foo !== 1;
  1044. });
  1045. };
  1046. var $$1 = _export;
  1047. var fails$1 = fails$c;
  1048. var isArray = isArray$2;
  1049. var isObject = isObject$7;
  1050. var toObject$1 = toObject$3;
  1051. var lengthOfArrayLike = lengthOfArrayLike$2;
  1052. var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
  1053. var createProperty = createProperty$1;
  1054. var arraySpeciesCreate = arraySpeciesCreate$1;
  1055. var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
  1056. var wellKnownSymbol = wellKnownSymbol$6;
  1057. var V8_VERSION = engineV8Version;
  1058. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  1059. // We can't use this feature detection in V8 since it causes
  1060. // deoptimization and serious performance degradation
  1061. // https://github.com/zloirock/core-js/issues/679
  1062. var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function () {
  1063. var array = [];
  1064. array[IS_CONCAT_SPREADABLE] = false;
  1065. return array.concat()[0] !== array;
  1066. });
  1067. var isConcatSpreadable = function (O) {
  1068. if (!isObject(O)) return false;
  1069. var spreadable = O[IS_CONCAT_SPREADABLE];
  1070. return spreadable !== undefined ? !!spreadable : isArray(O);
  1071. };
  1072. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
  1073. // `Array.prototype.concat` method
  1074. // https://tc39.es/ecma262/#sec-array.prototype.concat
  1075. // with adding support of @@isConcatSpreadable and @@species
  1076. $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
  1077. // eslint-disable-next-line no-unused-vars -- required for `.length`
  1078. concat: function concat(arg) {
  1079. var O = toObject$1(this);
  1080. var A = arraySpeciesCreate(O, 0);
  1081. var n = 0;
  1082. var i, k, length, len, E;
  1083. for (i = -1, length = arguments.length; i < length; i++) {
  1084. E = i === -1 ? O : arguments[i];
  1085. if (isConcatSpreadable(E)) {
  1086. len = lengthOfArrayLike(E);
  1087. doesNotExceedSafeInteger(n + len);
  1088. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  1089. } else {
  1090. doesNotExceedSafeInteger(n + 1);
  1091. createProperty(A, n++, E);
  1092. }
  1093. }
  1094. A.length = n;
  1095. return A;
  1096. }
  1097. });
  1098. var internalObjectKeys = objectKeysInternal;
  1099. var enumBugKeys = enumBugKeys$2;
  1100. // `Object.keys` method
  1101. // https://tc39.es/ecma262/#sec-object.keys
  1102. // eslint-disable-next-line es/no-object-keys -- safe
  1103. var objectKeys$1 = Object.keys || function keys(O) {
  1104. return internalObjectKeys(O, enumBugKeys);
  1105. };
  1106. var DESCRIPTORS = descriptors;
  1107. var uncurryThis = functionUncurryThis;
  1108. var call = functionCall;
  1109. var fails = fails$c;
  1110. var objectKeys = objectKeys$1;
  1111. var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
  1112. var propertyIsEnumerableModule = objectPropertyIsEnumerable;
  1113. var toObject = toObject$3;
  1114. var IndexedObject = indexedObject;
  1115. // eslint-disable-next-line es/no-object-assign -- safe
  1116. var $assign = Object.assign;
  1117. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  1118. var defineProperty = Object.defineProperty;
  1119. var concat = uncurryThis([].concat);
  1120. // `Object.assign` method
  1121. // https://tc39.es/ecma262/#sec-object.assign
  1122. var objectAssign = !$assign || fails(function () {
  1123. // should have correct order of operations (Edge bug)
  1124. if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
  1125. enumerable: true,
  1126. get: function () {
  1127. defineProperty(this, 'b', {
  1128. value: 3,
  1129. enumerable: false
  1130. });
  1131. }
  1132. }), { b: 2 })).b !== 1) return true;
  1133. // should work with symbols and should have deterministic property order (V8 bug)
  1134. var A = {};
  1135. var B = {};
  1136. // eslint-disable-next-line es/no-symbol -- safe
  1137. var symbol = Symbol('assign detection');
  1138. var alphabet = 'abcdefghijklmnopqrst';
  1139. A[symbol] = 7;
  1140. alphabet.split('').forEach(function (chr) { B[chr] = chr; });
  1141. return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
  1142. }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
  1143. var T = toObject(target);
  1144. var argumentsLength = arguments.length;
  1145. var index = 1;
  1146. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  1147. var propertyIsEnumerable = propertyIsEnumerableModule.f;
  1148. while (argumentsLength > index) {
  1149. var S = IndexedObject(arguments[index++]);
  1150. var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
  1151. var length = keys.length;
  1152. var j = 0;
  1153. var key;
  1154. while (length > j) {
  1155. key = keys[j++];
  1156. if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
  1157. }
  1158. } return T;
  1159. } : $assign;
  1160. var $ = _export;
  1161. var assign = objectAssign;
  1162. // `Object.assign` method
  1163. // https://tc39.es/ecma262/#sec-object.assign
  1164. // eslint-disable-next-line es/no-object-assign -- required for testing
  1165. $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
  1166. assign: assign
  1167. });
  1168. /**
  1169. * When using server-side processing, the default mode of operation for
  1170. * bootstrap-table is to simply throw away any data that currently exists in the
  1171. * table and make a request to the server to get the first page of data to
  1172. * display. This is fine for an empty table, but if you already have the first
  1173. * page of data displayed in the plain HTML, it is a waste of resources. As
  1174. * such, you can use data-defer-url instead of data-url to allow you to instruct
  1175. * bootstrap-table to not make that initial request, rather it will use the data
  1176. * already on the page.
  1177. *
  1178. * @author: Ruben Suarez
  1179. * @webSite: http://rubensa.eu.org
  1180. * @update zhixin wen <wenzhixin2010@gmail.com>
  1181. */
  1182. Object.assign($$2.fn.bootstrapTable.defaults, {
  1183. deferUrl: undefined
  1184. });
  1185. $$2.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
  1186. function _class() {
  1187. _classCallCheck(this, _class);
  1188. return _callSuper(this, _class, arguments);
  1189. }
  1190. _inherits(_class, _$$BootstrapTable);
  1191. return _createClass(_class, [{
  1192. key: "init",
  1193. value: function init() {
  1194. var _get2;
  1195. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  1196. args[_key] = arguments[_key];
  1197. }
  1198. (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
  1199. if (this.options.deferUrl) {
  1200. this.options.url = this.options.deferUrl;
  1201. }
  1202. }
  1203. }]);
  1204. }($$2.BootstrapTable);
  1205. }));