bootstrap-table-defer-url.js 50 KB

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