bootstrap-table-key-events.js 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164
  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 ($$4) { 'use strict';
  6. function _toPrimitive(t, r) {
  7. if ("object" != typeof t || !t) return t;
  8. var e = t[Symbol.toPrimitive];
  9. if (void 0 !== e) {
  10. var i = e.call(t, r || "default");
  11. if ("object" != typeof i) return i;
  12. throw new TypeError("@@toPrimitive must return a primitive value.");
  13. }
  14. return ("string" === r ? String : Number)(t);
  15. }
  16. function _toPropertyKey(t) {
  17. var i = _toPrimitive(t, "string");
  18. return "symbol" == typeof i ? i : String(i);
  19. }
  20. function _classCallCheck(instance, Constructor) {
  21. if (!(instance instanceof Constructor)) {
  22. throw new TypeError("Cannot call a class as a function");
  23. }
  24. }
  25. function _defineProperties(target, props) {
  26. for (var i = 0; i < props.length; i++) {
  27. var descriptor = props[i];
  28. descriptor.enumerable = descriptor.enumerable || false;
  29. descriptor.configurable = true;
  30. if ("value" in descriptor) descriptor.writable = true;
  31. Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
  32. }
  33. }
  34. function _createClass(Constructor, protoProps, staticProps) {
  35. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  36. if (staticProps) _defineProperties(Constructor, staticProps);
  37. Object.defineProperty(Constructor, "prototype", {
  38. writable: false
  39. });
  40. return Constructor;
  41. }
  42. function _inherits(subClass, superClass) {
  43. if (typeof superClass !== "function" && superClass !== null) {
  44. throw new TypeError("Super expression must either be null or a function");
  45. }
  46. subClass.prototype = Object.create(superClass && superClass.prototype, {
  47. constructor: {
  48. value: subClass,
  49. writable: true,
  50. configurable: true
  51. }
  52. });
  53. Object.defineProperty(subClass, "prototype", {
  54. writable: false
  55. });
  56. if (superClass) _setPrototypeOf(subClass, superClass);
  57. }
  58. function _getPrototypeOf(o) {
  59. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
  60. return o.__proto__ || Object.getPrototypeOf(o);
  61. };
  62. return _getPrototypeOf(o);
  63. }
  64. function _setPrototypeOf(o, p) {
  65. _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  66. o.__proto__ = p;
  67. return o;
  68. };
  69. return _setPrototypeOf(o, p);
  70. }
  71. function _isNativeReflectConstruct() {
  72. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  73. if (Reflect.construct.sham) return false;
  74. if (typeof Proxy === "function") return true;
  75. try {
  76. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  77. return true;
  78. } catch (e) {
  79. return false;
  80. }
  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 _createSuper(Derived) {
  97. var hasNativeReflectConstruct = _isNativeReflectConstruct();
  98. return function _createSuperInternal() {
  99. var Super = _getPrototypeOf(Derived),
  100. result;
  101. if (hasNativeReflectConstruct) {
  102. var NewTarget = _getPrototypeOf(this).constructor;
  103. result = Reflect.construct(Super, arguments, NewTarget);
  104. } else {
  105. result = Super.apply(this, arguments);
  106. }
  107. return _possibleConstructorReturn(this, result);
  108. };
  109. }
  110. function _superPropBase(object, property) {
  111. while (!Object.prototype.hasOwnProperty.call(object, property)) {
  112. object = _getPrototypeOf(object);
  113. if (object === null) break;
  114. }
  115. return object;
  116. }
  117. function _get() {
  118. if (typeof Reflect !== "undefined" && Reflect.get) {
  119. _get = Reflect.get.bind();
  120. } else {
  121. _get = function _get(target, property, receiver) {
  122. var base = _superPropBase(target, property);
  123. if (!base) return;
  124. var desc = Object.getOwnPropertyDescriptor(base, property);
  125. if (desc.get) {
  126. return desc.get.call(arguments.length < 3 ? target : receiver);
  127. }
  128. return desc.value;
  129. };
  130. }
  131. return _get.apply(this, arguments);
  132. }
  133. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  134. var check = function (it) {
  135. return it && it.Math === Math && it;
  136. };
  137. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  138. var global$e =
  139. // eslint-disable-next-line es/no-global-this -- safe
  140. check(typeof globalThis == 'object' && globalThis) ||
  141. check(typeof window == 'object' && window) ||
  142. // eslint-disable-next-line no-restricted-globals -- safe
  143. check(typeof self == 'object' && self) ||
  144. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  145. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  146. // eslint-disable-next-line no-new-func -- fallback
  147. (function () { return this; })() || Function('return this')();
  148. var objectGetOwnPropertyDescriptor = {};
  149. var fails$g = function (exec) {
  150. try {
  151. return !!exec();
  152. } catch (error) {
  153. return true;
  154. }
  155. };
  156. var fails$f = fails$g;
  157. // Detect IE8's incomplete defineProperty implementation
  158. var descriptors = !fails$f(function () {
  159. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  160. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
  161. });
  162. var fails$e = fails$g;
  163. var functionBindNative = !fails$e(function () {
  164. // eslint-disable-next-line es/no-function-prototype-bind -- safe
  165. var test = (function () { /* empty */ }).bind();
  166. // eslint-disable-next-line no-prototype-builtins -- safe
  167. return typeof test != 'function' || test.hasOwnProperty('prototype');
  168. });
  169. var NATIVE_BIND$2 = functionBindNative;
  170. var call$8 = Function.prototype.call;
  171. var functionCall = NATIVE_BIND$2 ? call$8.bind(call$8) : function () {
  172. return call$8.apply(call$8, arguments);
  173. };
  174. var objectPropertyIsEnumerable = {};
  175. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  176. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  177. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  178. // Nashorn ~ JDK8 bug
  179. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  180. // `Object.prototype.propertyIsEnumerable` method implementation
  181. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  182. objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  183. var descriptor = getOwnPropertyDescriptor$1(this, V);
  184. return !!descriptor && descriptor.enumerable;
  185. } : $propertyIsEnumerable;
  186. var createPropertyDescriptor$3 = function (bitmap, value) {
  187. return {
  188. enumerable: !(bitmap & 1),
  189. configurable: !(bitmap & 2),
  190. writable: !(bitmap & 4),
  191. value: value
  192. };
  193. };
  194. var NATIVE_BIND$1 = functionBindNative;
  195. var FunctionPrototype$1 = Function.prototype;
  196. var call$7 = FunctionPrototype$1.call;
  197. var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$7, call$7);
  198. var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
  199. return function () {
  200. return call$7.apply(fn, arguments);
  201. };
  202. };
  203. var uncurryThis$f = functionUncurryThis;
  204. var toString$5 = uncurryThis$f({}.toString);
  205. var stringSlice$2 = uncurryThis$f(''.slice);
  206. var classofRaw$2 = function (it) {
  207. return stringSlice$2(toString$5(it), 8, -1);
  208. };
  209. var uncurryThis$e = functionUncurryThis;
  210. var fails$d = fails$g;
  211. var classof$6 = classofRaw$2;
  212. var $Object$3 = Object;
  213. var split = uncurryThis$e(''.split);
  214. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  215. var indexedObject = fails$d(function () {
  216. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  217. // eslint-disable-next-line no-prototype-builtins -- safe
  218. return !$Object$3('z').propertyIsEnumerable(0);
  219. }) ? function (it) {
  220. return classof$6(it) === 'String' ? split(it, '') : $Object$3(it);
  221. } : $Object$3;
  222. // we can't use just `it == null` since of `document.all` special case
  223. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
  224. var isNullOrUndefined$3 = function (it) {
  225. return it === null || it === undefined;
  226. };
  227. var isNullOrUndefined$2 = isNullOrUndefined$3;
  228. var $TypeError$7 = TypeError;
  229. // `RequireObjectCoercible` abstract operation
  230. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  231. var requireObjectCoercible$3 = function (it) {
  232. if (isNullOrUndefined$2(it)) throw new $TypeError$7("Can't call method on " + it);
  233. return it;
  234. };
  235. // toObject with fallback for non-array-like ES3 strings
  236. var IndexedObject$2 = indexedObject;
  237. var requireObjectCoercible$2 = requireObjectCoercible$3;
  238. var toIndexedObject$4 = function (it) {
  239. return IndexedObject$2(requireObjectCoercible$2(it));
  240. };
  241. var documentAll$2 = typeof document == 'object' && document.all;
  242. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
  243. // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
  244. var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
  245. var documentAll_1 = {
  246. all: documentAll$2,
  247. IS_HTMLDDA: IS_HTMLDDA
  248. };
  249. var $documentAll$1 = documentAll_1;
  250. var documentAll$1 = $documentAll$1.all;
  251. // `IsCallable` abstract operation
  252. // https://tc39.es/ecma262/#sec-iscallable
  253. var isCallable$d = $documentAll$1.IS_HTMLDDA ? function (argument) {
  254. return typeof argument == 'function' || argument === documentAll$1;
  255. } : function (argument) {
  256. return typeof argument == 'function';
  257. };
  258. var isCallable$c = isCallable$d;
  259. var $documentAll = documentAll_1;
  260. var documentAll = $documentAll.all;
  261. var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
  262. return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll;
  263. } : function (it) {
  264. return typeof it == 'object' ? it !== null : isCallable$c(it);
  265. };
  266. var global$d = global$e;
  267. var isCallable$b = isCallable$d;
  268. var aFunction = function (argument) {
  269. return isCallable$b(argument) ? argument : undefined;
  270. };
  271. var getBuiltIn$4 = function (namespace, method) {
  272. return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
  273. };
  274. var uncurryThis$d = functionUncurryThis;
  275. var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
  276. var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
  277. var global$c = global$e;
  278. var userAgent = engineUserAgent;
  279. var process = global$c.process;
  280. var Deno = global$c.Deno;
  281. var versions = process && process.versions || Deno && Deno.version;
  282. var v8 = versions && versions.v8;
  283. var match, version;
  284. if (v8) {
  285. match = v8.split('.');
  286. // in old Chrome, versions of V8 isn't V8 = Chrome / 10
  287. // but their correct versions are not interesting for us
  288. version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
  289. }
  290. // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
  291. // so check `userAgent` even if `.v8` exists, but 0
  292. if (!version && userAgent) {
  293. match = userAgent.match(/Edge\/(\d+)/);
  294. if (!match || match[1] >= 74) {
  295. match = userAgent.match(/Chrome\/(\d+)/);
  296. if (match) version = +match[1];
  297. }
  298. }
  299. var engineV8Version = version;
  300. /* eslint-disable es/no-symbol -- required for testing */
  301. var V8_VERSION$2 = engineV8Version;
  302. var fails$c = fails$g;
  303. var global$b = global$e;
  304. var $String$4 = global$b.String;
  305. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  306. var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
  307. var symbol = Symbol('symbol detection');
  308. // Chrome 38 Symbol has incorrect toString conversion
  309. // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  310. // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
  311. // of course, fail.
  312. return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) ||
  313. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  314. !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
  315. });
  316. /* eslint-disable es/no-symbol -- required for testing */
  317. var NATIVE_SYMBOL$1 = symbolConstructorDetection;
  318. var useSymbolAsUid = NATIVE_SYMBOL$1
  319. && !Symbol.sham
  320. && typeof Symbol.iterator == 'symbol';
  321. var getBuiltIn$3 = getBuiltIn$4;
  322. var isCallable$a = isCallable$d;
  323. var isPrototypeOf = objectIsPrototypeOf;
  324. var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
  325. var $Object$2 = Object;
  326. var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
  327. return typeof it == 'symbol';
  328. } : function (it) {
  329. var $Symbol = getBuiltIn$3('Symbol');
  330. return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
  331. };
  332. var $String$3 = String;
  333. var tryToString$1 = function (argument) {
  334. try {
  335. return $String$3(argument);
  336. } catch (error) {
  337. return 'Object';
  338. }
  339. };
  340. var isCallable$9 = isCallable$d;
  341. var tryToString = tryToString$1;
  342. var $TypeError$6 = TypeError;
  343. // `Assert: IsCallable(argument) is true`
  344. var aCallable$2 = function (argument) {
  345. if (isCallable$9(argument)) return argument;
  346. throw new $TypeError$6(tryToString(argument) + ' is not a function');
  347. };
  348. var aCallable$1 = aCallable$2;
  349. var isNullOrUndefined$1 = isNullOrUndefined$3;
  350. // `GetMethod` abstract operation
  351. // https://tc39.es/ecma262/#sec-getmethod
  352. var getMethod$2 = function (V, P) {
  353. var func = V[P];
  354. return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);
  355. };
  356. var call$6 = functionCall;
  357. var isCallable$8 = isCallable$d;
  358. var isObject$6 = isObject$7;
  359. var $TypeError$5 = TypeError;
  360. // `OrdinaryToPrimitive` abstract operation
  361. // https://tc39.es/ecma262/#sec-ordinarytoprimitive
  362. var ordinaryToPrimitive$1 = function (input, pref) {
  363. var fn, val;
  364. if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$6(fn, input))) return val;
  365. if (isCallable$8(fn = input.valueOf) && !isObject$6(val = call$6(fn, input))) return val;
  366. if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$6(fn, input))) return val;
  367. throw new $TypeError$5("Can't convert object to primitive value");
  368. };
  369. var shared$4 = {exports: {}};
  370. var global$a = global$e;
  371. // eslint-disable-next-line es/no-object-defineproperty -- safe
  372. var defineProperty$3 = Object.defineProperty;
  373. var defineGlobalProperty$3 = function (key, value) {
  374. try {
  375. defineProperty$3(global$a, key, { value: value, configurable: true, writable: true });
  376. } catch (error) {
  377. global$a[key] = value;
  378. } return value;
  379. };
  380. var global$9 = global$e;
  381. var defineGlobalProperty$2 = defineGlobalProperty$3;
  382. var SHARED = '__core-js_shared__';
  383. var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
  384. var sharedStore = store$3;
  385. var store$2 = sharedStore;
  386. (shared$4.exports = function (key, value) {
  387. return store$2[key] || (store$2[key] = value !== undefined ? value : {});
  388. })('versions', []).push({
  389. version: '3.34.0',
  390. mode: 'global',
  391. copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
  392. license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE',
  393. source: 'https://github.com/zloirock/core-js'
  394. });
  395. var sharedExports = shared$4.exports;
  396. var requireObjectCoercible$1 = requireObjectCoercible$3;
  397. var $Object$1 = Object;
  398. // `ToObject` abstract operation
  399. // https://tc39.es/ecma262/#sec-toobject
  400. var toObject$4 = function (argument) {
  401. return $Object$1(requireObjectCoercible$1(argument));
  402. };
  403. var uncurryThis$c = functionUncurryThis;
  404. var toObject$3 = toObject$4;
  405. var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
  406. // `HasOwnProperty` abstract operation
  407. // https://tc39.es/ecma262/#sec-hasownproperty
  408. // eslint-disable-next-line es/no-object-hasown -- safe
  409. var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
  410. return hasOwnProperty(toObject$3(it), key);
  411. };
  412. var uncurryThis$b = functionUncurryThis;
  413. var id = 0;
  414. var postfix = Math.random();
  415. var toString$4 = uncurryThis$b(1.0.toString);
  416. var uid$2 = function (key) {
  417. return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
  418. };
  419. var global$8 = global$e;
  420. var shared$3 = sharedExports;
  421. var hasOwn$6 = hasOwnProperty_1;
  422. var uid$1 = uid$2;
  423. var NATIVE_SYMBOL = symbolConstructorDetection;
  424. var USE_SYMBOL_AS_UID = useSymbolAsUid;
  425. var Symbol$1 = global$8.Symbol;
  426. var WellKnownSymbolsStore = shared$3('wks');
  427. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
  428. var wellKnownSymbol$8 = function (name) {
  429. if (!hasOwn$6(WellKnownSymbolsStore, name)) {
  430. WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
  431. ? Symbol$1[name]
  432. : createWellKnownSymbol('Symbol.' + name);
  433. } return WellKnownSymbolsStore[name];
  434. };
  435. var call$5 = functionCall;
  436. var isObject$5 = isObject$7;
  437. var isSymbol$1 = isSymbol$2;
  438. var getMethod$1 = getMethod$2;
  439. var ordinaryToPrimitive = ordinaryToPrimitive$1;
  440. var wellKnownSymbol$7 = wellKnownSymbol$8;
  441. var $TypeError$4 = TypeError;
  442. var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
  443. // `ToPrimitive` abstract operation
  444. // https://tc39.es/ecma262/#sec-toprimitive
  445. var toPrimitive$1 = function (input, pref) {
  446. if (!isObject$5(input) || isSymbol$1(input)) return input;
  447. var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
  448. var result;
  449. if (exoticToPrim) {
  450. if (pref === undefined) pref = 'default';
  451. result = call$5(exoticToPrim, input, pref);
  452. if (!isObject$5(result) || isSymbol$1(result)) return result;
  453. throw new $TypeError$4("Can't convert object to primitive value");
  454. }
  455. if (pref === undefined) pref = 'number';
  456. return ordinaryToPrimitive(input, pref);
  457. };
  458. var toPrimitive = toPrimitive$1;
  459. var isSymbol = isSymbol$2;
  460. // `ToPropertyKey` abstract operation
  461. // https://tc39.es/ecma262/#sec-topropertykey
  462. var toPropertyKey$3 = function (argument) {
  463. var key = toPrimitive(argument, 'string');
  464. return isSymbol(key) ? key : key + '';
  465. };
  466. var global$7 = global$e;
  467. var isObject$4 = isObject$7;
  468. var document$1 = global$7.document;
  469. // typeof document.createElement is 'object' in old IE
  470. var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
  471. var documentCreateElement$1 = function (it) {
  472. return EXISTS$1 ? document$1.createElement(it) : {};
  473. };
  474. var DESCRIPTORS$8 = descriptors;
  475. var fails$b = fails$g;
  476. var createElement = documentCreateElement$1;
  477. // Thanks to IE8 for its funny defineProperty
  478. var ie8DomDefine = !DESCRIPTORS$8 && !fails$b(function () {
  479. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  480. return Object.defineProperty(createElement('div'), 'a', {
  481. get: function () { return 7; }
  482. }).a !== 7;
  483. });
  484. var DESCRIPTORS$7 = descriptors;
  485. var call$4 = functionCall;
  486. var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
  487. var createPropertyDescriptor$2 = createPropertyDescriptor$3;
  488. var toIndexedObject$3 = toIndexedObject$4;
  489. var toPropertyKey$2 = toPropertyKey$3;
  490. var hasOwn$5 = hasOwnProperty_1;
  491. var IE8_DOM_DEFINE$1 = ie8DomDefine;
  492. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  493. var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  494. // `Object.getOwnPropertyDescriptor` method
  495. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  496. objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
  497. O = toIndexedObject$3(O);
  498. P = toPropertyKey$2(P);
  499. if (IE8_DOM_DEFINE$1) try {
  500. return $getOwnPropertyDescriptor$1(O, P);
  501. } catch (error) { /* empty */ }
  502. if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
  503. };
  504. var objectDefineProperty = {};
  505. var DESCRIPTORS$6 = descriptors;
  506. var fails$a = fails$g;
  507. // V8 ~ Chrome 36-
  508. // https://bugs.chromium.org/p/v8/issues/detail?id=3334
  509. var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$a(function () {
  510. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  511. return Object.defineProperty(function () { /* empty */ }, 'prototype', {
  512. value: 42,
  513. writable: false
  514. }).prototype !== 42;
  515. });
  516. var isObject$3 = isObject$7;
  517. var $String$2 = String;
  518. var $TypeError$3 = TypeError;
  519. // `Assert: Type(argument) is Object`
  520. var anObject$7 = function (argument) {
  521. if (isObject$3(argument)) return argument;
  522. throw new $TypeError$3($String$2(argument) + ' is not an object');
  523. };
  524. var DESCRIPTORS$5 = descriptors;
  525. var IE8_DOM_DEFINE = ie8DomDefine;
  526. var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
  527. var anObject$6 = anObject$7;
  528. var toPropertyKey$1 = toPropertyKey$3;
  529. var $TypeError$2 = TypeError;
  530. // eslint-disable-next-line es/no-object-defineproperty -- safe
  531. var $defineProperty = Object.defineProperty;
  532. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  533. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  534. var ENUMERABLE = 'enumerable';
  535. var CONFIGURABLE$1 = 'configurable';
  536. var WRITABLE = 'writable';
  537. // `Object.defineProperty` method
  538. // https://tc39.es/ecma262/#sec-object.defineproperty
  539. objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
  540. anObject$6(O);
  541. P = toPropertyKey$1(P);
  542. anObject$6(Attributes);
  543. if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
  544. var current = $getOwnPropertyDescriptor(O, P);
  545. if (current && current[WRITABLE]) {
  546. O[P] = Attributes.value;
  547. Attributes = {
  548. configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
  549. enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
  550. writable: false
  551. };
  552. }
  553. } return $defineProperty(O, P, Attributes);
  554. } : $defineProperty : function defineProperty(O, P, Attributes) {
  555. anObject$6(O);
  556. P = toPropertyKey$1(P);
  557. anObject$6(Attributes);
  558. if (IE8_DOM_DEFINE) try {
  559. return $defineProperty(O, P, Attributes);
  560. } catch (error) { /* empty */ }
  561. if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$2('Accessors not supported');
  562. if ('value' in Attributes) O[P] = Attributes.value;
  563. return O;
  564. };
  565. var DESCRIPTORS$4 = descriptors;
  566. var definePropertyModule$4 = objectDefineProperty;
  567. var createPropertyDescriptor$1 = createPropertyDescriptor$3;
  568. var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
  569. return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
  570. } : function (object, key, value) {
  571. object[key] = value;
  572. return object;
  573. };
  574. var makeBuiltIn$2 = {exports: {}};
  575. var DESCRIPTORS$3 = descriptors;
  576. var hasOwn$4 = hasOwnProperty_1;
  577. var FunctionPrototype = Function.prototype;
  578. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  579. var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
  580. var EXISTS = hasOwn$4(FunctionPrototype, 'name');
  581. // additional protection from minified / mangled / dropped function names
  582. var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
  583. var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
  584. var functionName = {
  585. EXISTS: EXISTS,
  586. PROPER: PROPER,
  587. CONFIGURABLE: CONFIGURABLE
  588. };
  589. var uncurryThis$a = functionUncurryThis;
  590. var isCallable$7 = isCallable$d;
  591. var store$1 = sharedStore;
  592. var functionToString = uncurryThis$a(Function.toString);
  593. // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
  594. if (!isCallable$7(store$1.inspectSource)) {
  595. store$1.inspectSource = function (it) {
  596. return functionToString(it);
  597. };
  598. }
  599. var inspectSource$2 = store$1.inspectSource;
  600. var global$6 = global$e;
  601. var isCallable$6 = isCallable$d;
  602. var WeakMap$1 = global$6.WeakMap;
  603. var weakMapBasicDetection = isCallable$6(WeakMap$1) && /native code/.test(String(WeakMap$1));
  604. var shared$2 = sharedExports;
  605. var uid = uid$2;
  606. var keys = shared$2('keys');
  607. var sharedKey$2 = function (key) {
  608. return keys[key] || (keys[key] = uid(key));
  609. };
  610. var hiddenKeys$4 = {};
  611. var NATIVE_WEAK_MAP = weakMapBasicDetection;
  612. var global$5 = global$e;
  613. var isObject$2 = isObject$7;
  614. var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
  615. var hasOwn$3 = hasOwnProperty_1;
  616. var shared$1 = sharedStore;
  617. var sharedKey$1 = sharedKey$2;
  618. var hiddenKeys$3 = hiddenKeys$4;
  619. var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
  620. var TypeError$1 = global$5.TypeError;
  621. var WeakMap = global$5.WeakMap;
  622. var set, get, has;
  623. var enforce = function (it) {
  624. return has(it) ? get(it) : set(it, {});
  625. };
  626. var getterFor = function (TYPE) {
  627. return function (it) {
  628. var state;
  629. if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
  630. throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
  631. } return state;
  632. };
  633. };
  634. if (NATIVE_WEAK_MAP || shared$1.state) {
  635. var store = shared$1.state || (shared$1.state = new WeakMap());
  636. /* eslint-disable no-self-assign -- prototype methods protection */
  637. store.get = store.get;
  638. store.has = store.has;
  639. store.set = store.set;
  640. /* eslint-enable no-self-assign -- prototype methods protection */
  641. set = function (it, metadata) {
  642. if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  643. metadata.facade = it;
  644. store.set(it, metadata);
  645. return metadata;
  646. };
  647. get = function (it) {
  648. return store.get(it) || {};
  649. };
  650. has = function (it) {
  651. return store.has(it);
  652. };
  653. } else {
  654. var STATE = sharedKey$1('state');
  655. hiddenKeys$3[STATE] = true;
  656. set = function (it, metadata) {
  657. if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  658. metadata.facade = it;
  659. createNonEnumerableProperty$2(it, STATE, metadata);
  660. return metadata;
  661. };
  662. get = function (it) {
  663. return hasOwn$3(it, STATE) ? it[STATE] : {};
  664. };
  665. has = function (it) {
  666. return hasOwn$3(it, STATE);
  667. };
  668. }
  669. var internalState = {
  670. set: set,
  671. get: get,
  672. has: has,
  673. enforce: enforce,
  674. getterFor: getterFor
  675. };
  676. var uncurryThis$9 = functionUncurryThis;
  677. var fails$9 = fails$g;
  678. var isCallable$5 = isCallable$d;
  679. var hasOwn$2 = hasOwnProperty_1;
  680. var DESCRIPTORS$2 = descriptors;
  681. var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
  682. var inspectSource$1 = inspectSource$2;
  683. var InternalStateModule = internalState;
  684. var enforceInternalState = InternalStateModule.enforce;
  685. var getInternalState$1 = InternalStateModule.get;
  686. var $String$1 = String;
  687. // eslint-disable-next-line es/no-object-defineproperty -- safe
  688. var defineProperty$2 = Object.defineProperty;
  689. var stringSlice$1 = uncurryThis$9(''.slice);
  690. var replace$1 = uncurryThis$9(''.replace);
  691. var join = uncurryThis$9([].join);
  692. var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$9(function () {
  693. return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
  694. });
  695. var TEMPLATE = String(String).split('String');
  696. var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
  697. if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {
  698. name = '[' + replace$1($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
  699. }
  700. if (options && options.getter) name = 'get ' + name;
  701. if (options && options.setter) name = 'set ' + name;
  702. if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
  703. if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true });
  704. else value.name = name;
  705. }
  706. if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
  707. defineProperty$2(value, 'length', { value: options.arity });
  708. }
  709. try {
  710. if (options && hasOwn$2(options, 'constructor') && options.constructor) {
  711. if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false });
  712. // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
  713. } else if (value.prototype) value.prototype = undefined;
  714. } catch (error) { /* empty */ }
  715. var state = enforceInternalState(value);
  716. if (!hasOwn$2(state, 'source')) {
  717. state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
  718. } return value;
  719. };
  720. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  721. // eslint-disable-next-line no-extend-native -- required
  722. Function.prototype.toString = makeBuiltIn$1(function toString() {
  723. return isCallable$5(this) && getInternalState$1(this).source || inspectSource$1(this);
  724. }, 'toString');
  725. var makeBuiltInExports = makeBuiltIn$2.exports;
  726. var isCallable$4 = isCallable$d;
  727. var definePropertyModule$3 = objectDefineProperty;
  728. var makeBuiltIn = makeBuiltInExports;
  729. var defineGlobalProperty$1 = defineGlobalProperty$3;
  730. var defineBuiltIn$3 = function (O, key, value, options) {
  731. if (!options) options = {};
  732. var simple = options.enumerable;
  733. var name = options.name !== undefined ? options.name : key;
  734. if (isCallable$4(value)) makeBuiltIn(value, name, options);
  735. if (options.global) {
  736. if (simple) O[key] = value;
  737. else defineGlobalProperty$1(key, value);
  738. } else {
  739. try {
  740. if (!options.unsafe) delete O[key];
  741. else if (O[key]) simple = true;
  742. } catch (error) { /* empty */ }
  743. if (simple) O[key] = value;
  744. else definePropertyModule$3.f(O, key, {
  745. value: value,
  746. enumerable: false,
  747. configurable: !options.nonConfigurable,
  748. writable: !options.nonWritable
  749. });
  750. } return O;
  751. };
  752. var objectGetOwnPropertyNames = {};
  753. var ceil = Math.ceil;
  754. var floor = Math.floor;
  755. // `Math.trunc` method
  756. // https://tc39.es/ecma262/#sec-math.trunc
  757. // eslint-disable-next-line es/no-math-trunc -- safe
  758. var mathTrunc = Math.trunc || function trunc(x) {
  759. var n = +x;
  760. return (n > 0 ? floor : ceil)(n);
  761. };
  762. var trunc = mathTrunc;
  763. // `ToIntegerOrInfinity` abstract operation
  764. // https://tc39.es/ecma262/#sec-tointegerorinfinity
  765. var toIntegerOrInfinity$2 = function (argument) {
  766. var number = +argument;
  767. // eslint-disable-next-line no-self-compare -- NaN check
  768. return number !== number || number === 0 ? 0 : trunc(number);
  769. };
  770. var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
  771. var max = Math.max;
  772. var min$1 = Math.min;
  773. // Helper for a popular repeating case of the spec:
  774. // Let integer be ? ToInteger(index).
  775. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  776. var toAbsoluteIndex$1 = function (index, length) {
  777. var integer = toIntegerOrInfinity$1(index);
  778. return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
  779. };
  780. var toIntegerOrInfinity = toIntegerOrInfinity$2;
  781. var min = Math.min;
  782. // `ToLength` abstract operation
  783. // https://tc39.es/ecma262/#sec-tolength
  784. var toLength$1 = function (argument) {
  785. return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  786. };
  787. var toLength = toLength$1;
  788. // `LengthOfArrayLike` abstract operation
  789. // https://tc39.es/ecma262/#sec-lengthofarraylike
  790. var lengthOfArrayLike$3 = function (obj) {
  791. return toLength(obj.length);
  792. };
  793. var toIndexedObject$2 = toIndexedObject$4;
  794. var toAbsoluteIndex = toAbsoluteIndex$1;
  795. var lengthOfArrayLike$2 = lengthOfArrayLike$3;
  796. // `Array.prototype.{ indexOf, includes }` methods implementation
  797. var createMethod$1 = function (IS_INCLUDES) {
  798. return function ($this, el, fromIndex) {
  799. var O = toIndexedObject$2($this);
  800. var length = lengthOfArrayLike$2(O);
  801. var index = toAbsoluteIndex(fromIndex, length);
  802. var value;
  803. // Array#includes uses SameValueZero equality algorithm
  804. // eslint-disable-next-line no-self-compare -- NaN check
  805. if (IS_INCLUDES && el !== el) while (length > index) {
  806. value = O[index++];
  807. // eslint-disable-next-line no-self-compare -- NaN check
  808. if (value !== value) return true;
  809. // Array#indexOf ignores holes, Array#includes - not
  810. } else for (;length > index; index++) {
  811. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  812. } return !IS_INCLUDES && -1;
  813. };
  814. };
  815. var arrayIncludes = {
  816. // `Array.prototype.includes` method
  817. // https://tc39.es/ecma262/#sec-array.prototype.includes
  818. includes: createMethod$1(true),
  819. // `Array.prototype.indexOf` method
  820. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  821. indexOf: createMethod$1(false)
  822. };
  823. var uncurryThis$8 = functionUncurryThis;
  824. var hasOwn$1 = hasOwnProperty_1;
  825. var toIndexedObject$1 = toIndexedObject$4;
  826. var indexOf$1 = arrayIncludes.indexOf;
  827. var hiddenKeys$2 = hiddenKeys$4;
  828. var push$1 = uncurryThis$8([].push);
  829. var objectKeysInternal = function (object, names) {
  830. var O = toIndexedObject$1(object);
  831. var i = 0;
  832. var result = [];
  833. var key;
  834. for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
  835. // Don't enum bug & hidden keys
  836. while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
  837. ~indexOf$1(result, key) || push$1(result, key);
  838. }
  839. return result;
  840. };
  841. // IE8- don't enum bug keys
  842. var enumBugKeys$3 = [
  843. 'constructor',
  844. 'hasOwnProperty',
  845. 'isPrototypeOf',
  846. 'propertyIsEnumerable',
  847. 'toLocaleString',
  848. 'toString',
  849. 'valueOf'
  850. ];
  851. var internalObjectKeys$1 = objectKeysInternal;
  852. var enumBugKeys$2 = enumBugKeys$3;
  853. var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
  854. // `Object.getOwnPropertyNames` method
  855. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  856. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  857. objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  858. return internalObjectKeys$1(O, hiddenKeys$1);
  859. };
  860. var objectGetOwnPropertySymbols = {};
  861. // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
  862. objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
  863. var getBuiltIn$2 = getBuiltIn$4;
  864. var uncurryThis$7 = functionUncurryThis;
  865. var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
  866. var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
  867. var anObject$5 = anObject$7;
  868. var concat$1 = uncurryThis$7([].concat);
  869. // all object keys, includes non-enumerable and symbols
  870. var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
  871. var keys = getOwnPropertyNamesModule.f(anObject$5(it));
  872. var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
  873. return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
  874. };
  875. var hasOwn = hasOwnProperty_1;
  876. var ownKeys = ownKeys$1;
  877. var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
  878. var definePropertyModule$2 = objectDefineProperty;
  879. var copyConstructorProperties$1 = function (target, source, exceptions) {
  880. var keys = ownKeys(source);
  881. var defineProperty = definePropertyModule$2.f;
  882. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  883. for (var i = 0; i < keys.length; i++) {
  884. var key = keys[i];
  885. if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
  886. defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  887. }
  888. }
  889. };
  890. var fails$8 = fails$g;
  891. var isCallable$3 = isCallable$d;
  892. var replacement = /#|\.prototype\./;
  893. var isForced$1 = function (feature, detection) {
  894. var value = data[normalize(feature)];
  895. return value === POLYFILL ? true
  896. : value === NATIVE ? false
  897. : isCallable$3(detection) ? fails$8(detection)
  898. : !!detection;
  899. };
  900. var normalize = isForced$1.normalize = function (string) {
  901. return String(string).replace(replacement, '.').toLowerCase();
  902. };
  903. var data = isForced$1.data = {};
  904. var NATIVE = isForced$1.NATIVE = 'N';
  905. var POLYFILL = isForced$1.POLYFILL = 'P';
  906. var isForced_1 = isForced$1;
  907. var global$4 = global$e;
  908. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  909. var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
  910. var defineBuiltIn$2 = defineBuiltIn$3;
  911. var defineGlobalProperty = defineGlobalProperty$3;
  912. var copyConstructorProperties = copyConstructorProperties$1;
  913. var isForced = isForced_1;
  914. /*
  915. options.target - name of the target object
  916. options.global - target is the global object
  917. options.stat - export as static methods of target
  918. options.proto - export as prototype methods of target
  919. options.real - real prototype method for the `pure` version
  920. options.forced - export even if the native feature is available
  921. options.bind - bind methods to the target, required for the `pure` version
  922. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  923. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  924. options.sham - add a flag to not completely full polyfills
  925. options.enumerable - export as enumerable property
  926. options.dontCallGetSet - prevent calling a getter on target
  927. options.name - the .name of the function if it does not match the key
  928. */
  929. var _export = function (options, source) {
  930. var TARGET = options.target;
  931. var GLOBAL = options.global;
  932. var STATIC = options.stat;
  933. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  934. if (GLOBAL) {
  935. target = global$4;
  936. } else if (STATIC) {
  937. target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
  938. } else {
  939. target = (global$4[TARGET] || {}).prototype;
  940. }
  941. if (target) for (key in source) {
  942. sourceProperty = source[key];
  943. if (options.dontCallGetSet) {
  944. descriptor = getOwnPropertyDescriptor(target, key);
  945. targetProperty = descriptor && descriptor.value;
  946. } else targetProperty = target[key];
  947. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  948. // contained in target
  949. if (!FORCED && targetProperty !== undefined) {
  950. if (typeof sourceProperty == typeof targetProperty) continue;
  951. copyConstructorProperties(sourceProperty, targetProperty);
  952. }
  953. // add a flag to not completely full polyfills
  954. if (options.sham || (targetProperty && targetProperty.sham)) {
  955. createNonEnumerableProperty$1(sourceProperty, 'sham', true);
  956. }
  957. defineBuiltIn$2(target, key, sourceProperty, options);
  958. }
  959. };
  960. var internalObjectKeys = objectKeysInternal;
  961. var enumBugKeys$1 = enumBugKeys$3;
  962. // `Object.keys` method
  963. // https://tc39.es/ecma262/#sec-object.keys
  964. // eslint-disable-next-line es/no-object-keys -- safe
  965. var objectKeys$2 = Object.keys || function keys(O) {
  966. return internalObjectKeys(O, enumBugKeys$1);
  967. };
  968. var DESCRIPTORS$1 = descriptors;
  969. var uncurryThis$6 = functionUncurryThis;
  970. var call$3 = functionCall;
  971. var fails$7 = fails$g;
  972. var objectKeys$1 = objectKeys$2;
  973. var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
  974. var propertyIsEnumerableModule = objectPropertyIsEnumerable;
  975. var toObject$2 = toObject$4;
  976. var IndexedObject$1 = indexedObject;
  977. // eslint-disable-next-line es/no-object-assign -- safe
  978. var $assign = Object.assign;
  979. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  980. var defineProperty$1 = Object.defineProperty;
  981. var concat = uncurryThis$6([].concat);
  982. // `Object.assign` method
  983. // https://tc39.es/ecma262/#sec-object.assign
  984. var objectAssign = !$assign || fails$7(function () {
  985. // should have correct order of operations (Edge bug)
  986. if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
  987. enumerable: true,
  988. get: function () {
  989. defineProperty$1(this, 'b', {
  990. value: 3,
  991. enumerable: false
  992. });
  993. }
  994. }), { b: 2 })).b !== 1) return true;
  995. // should work with symbols and should have deterministic property order (V8 bug)
  996. var A = {};
  997. var B = {};
  998. // eslint-disable-next-line es/no-symbol -- safe
  999. var symbol = Symbol('assign detection');
  1000. var alphabet = 'abcdefghijklmnopqrst';
  1001. A[symbol] = 7;
  1002. alphabet.split('').forEach(function (chr) { B[chr] = chr; });
  1003. return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
  1004. }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
  1005. var T = toObject$2(target);
  1006. var argumentsLength = arguments.length;
  1007. var index = 1;
  1008. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  1009. var propertyIsEnumerable = propertyIsEnumerableModule.f;
  1010. while (argumentsLength > index) {
  1011. var S = IndexedObject$1(arguments[index++]);
  1012. var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
  1013. var length = keys.length;
  1014. var j = 0;
  1015. var key;
  1016. while (length > j) {
  1017. key = keys[j++];
  1018. if (!DESCRIPTORS$1 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
  1019. }
  1020. } return T;
  1021. } : $assign;
  1022. var $$3 = _export;
  1023. var assign = objectAssign;
  1024. // `Object.assign` method
  1025. // https://tc39.es/ecma262/#sec-object.assign
  1026. // eslint-disable-next-line es/no-object-assign -- required for testing
  1027. $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
  1028. assign: assign
  1029. });
  1030. var classof$5 = classofRaw$2;
  1031. // `IsArray` abstract operation
  1032. // https://tc39.es/ecma262/#sec-isarray
  1033. // eslint-disable-next-line es/no-array-isarray -- safe
  1034. var isArray$2 = Array.isArray || function isArray(argument) {
  1035. return classof$5(argument) === 'Array';
  1036. };
  1037. var $TypeError$1 = TypeError;
  1038. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
  1039. var doesNotExceedSafeInteger$1 = function (it) {
  1040. if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');
  1041. return it;
  1042. };
  1043. var toPropertyKey = toPropertyKey$3;
  1044. var definePropertyModule$1 = objectDefineProperty;
  1045. var createPropertyDescriptor = createPropertyDescriptor$3;
  1046. var createProperty$1 = function (object, key, value) {
  1047. var propertyKey = toPropertyKey(key);
  1048. if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value));
  1049. else object[propertyKey] = value;
  1050. };
  1051. var wellKnownSymbol$6 = wellKnownSymbol$8;
  1052. var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
  1053. var test = {};
  1054. test[TO_STRING_TAG$1] = 'z';
  1055. var toStringTagSupport = String(test) === '[object z]';
  1056. var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
  1057. var isCallable$2 = isCallable$d;
  1058. var classofRaw$1 = classofRaw$2;
  1059. var wellKnownSymbol$5 = wellKnownSymbol$8;
  1060. var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
  1061. var $Object = Object;
  1062. // ES3 wrong here
  1063. var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
  1064. // fallback for IE11 Script Access Denied error
  1065. var tryGet = function (it, key) {
  1066. try {
  1067. return it[key];
  1068. } catch (error) { /* empty */ }
  1069. };
  1070. // getting tag from ES6+ `Object.prototype.toString`
  1071. var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {
  1072. var O, tag, result;
  1073. return it === undefined ? 'Undefined' : it === null ? 'Null'
  1074. // @@toStringTag case
  1075. : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
  1076. // builtinTag case
  1077. : CORRECT_ARGUMENTS ? classofRaw$1(O)
  1078. // ES3 arguments fallback
  1079. : (result = classofRaw$1(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
  1080. };
  1081. var uncurryThis$5 = functionUncurryThis;
  1082. var fails$6 = fails$g;
  1083. var isCallable$1 = isCallable$d;
  1084. var classof$3 = classof$4;
  1085. var getBuiltIn$1 = getBuiltIn$4;
  1086. var inspectSource = inspectSource$2;
  1087. var noop = function () { /* empty */ };
  1088. var empty = [];
  1089. var construct = getBuiltIn$1('Reflect', 'construct');
  1090. var constructorRegExp = /^\s*(?:class|function)\b/;
  1091. var exec$1 = uncurryThis$5(constructorRegExp.exec);
  1092. var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
  1093. var isConstructorModern = function isConstructor(argument) {
  1094. if (!isCallable$1(argument)) return false;
  1095. try {
  1096. construct(noop, empty, argument);
  1097. return true;
  1098. } catch (error) {
  1099. return false;
  1100. }
  1101. };
  1102. var isConstructorLegacy = function isConstructor(argument) {
  1103. if (!isCallable$1(argument)) return false;
  1104. switch (classof$3(argument)) {
  1105. case 'AsyncFunction':
  1106. case 'GeneratorFunction':
  1107. case 'AsyncGeneratorFunction': return false;
  1108. }
  1109. try {
  1110. // we can't check .prototype since constructors produced by .bind haven't it
  1111. // `Function#toString` throws on some built-it function in some legacy engines
  1112. // (for example, `DOMQuad` and similar in FF41-)
  1113. return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
  1114. } catch (error) {
  1115. return true;
  1116. }
  1117. };
  1118. isConstructorLegacy.sham = true;
  1119. // `IsConstructor` abstract operation
  1120. // https://tc39.es/ecma262/#sec-isconstructor
  1121. var isConstructor$1 = !construct || fails$6(function () {
  1122. var called;
  1123. return isConstructorModern(isConstructorModern.call)
  1124. || !isConstructorModern(Object)
  1125. || !isConstructorModern(function () { called = true; })
  1126. || called;
  1127. }) ? isConstructorLegacy : isConstructorModern;
  1128. var isArray$1 = isArray$2;
  1129. var isConstructor = isConstructor$1;
  1130. var isObject$1 = isObject$7;
  1131. var wellKnownSymbol$4 = wellKnownSymbol$8;
  1132. var SPECIES$2 = wellKnownSymbol$4('species');
  1133. var $Array = Array;
  1134. // a part of `ArraySpeciesCreate` abstract operation
  1135. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  1136. var arraySpeciesConstructor$1 = function (originalArray) {
  1137. var C;
  1138. if (isArray$1(originalArray)) {
  1139. C = originalArray.constructor;
  1140. // cross-realm fallback
  1141. if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
  1142. else if (isObject$1(C)) {
  1143. C = C[SPECIES$2];
  1144. if (C === null) C = undefined;
  1145. }
  1146. } return C === undefined ? $Array : C;
  1147. };
  1148. var arraySpeciesConstructor = arraySpeciesConstructor$1;
  1149. // `ArraySpeciesCreate` abstract operation
  1150. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  1151. var arraySpeciesCreate$2 = function (originalArray, length) {
  1152. return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
  1153. };
  1154. var fails$5 = fails$g;
  1155. var wellKnownSymbol$3 = wellKnownSymbol$8;
  1156. var V8_VERSION$1 = engineV8Version;
  1157. var SPECIES$1 = wellKnownSymbol$3('species');
  1158. var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
  1159. // We can't use this feature detection in V8 since it causes
  1160. // deoptimization and serious performance degradation
  1161. // https://github.com/zloirock/core-js/issues/677
  1162. return V8_VERSION$1 >= 51 || !fails$5(function () {
  1163. var array = [];
  1164. var constructor = array.constructor = {};
  1165. constructor[SPECIES$1] = function () {
  1166. return { foo: 1 };
  1167. };
  1168. return array[METHOD_NAME](Boolean).foo !== 1;
  1169. });
  1170. };
  1171. var $$2 = _export;
  1172. var fails$4 = fails$g;
  1173. var isArray = isArray$2;
  1174. var isObject = isObject$7;
  1175. var toObject$1 = toObject$4;
  1176. var lengthOfArrayLike$1 = lengthOfArrayLike$3;
  1177. var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
  1178. var createProperty = createProperty$1;
  1179. var arraySpeciesCreate$1 = arraySpeciesCreate$2;
  1180. var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
  1181. var wellKnownSymbol$2 = wellKnownSymbol$8;
  1182. var V8_VERSION = engineV8Version;
  1183. var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable');
  1184. // We can't use this feature detection in V8 since it causes
  1185. // deoptimization and serious performance degradation
  1186. // https://github.com/zloirock/core-js/issues/679
  1187. var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$4(function () {
  1188. var array = [];
  1189. array[IS_CONCAT_SPREADABLE] = false;
  1190. return array.concat()[0] !== array;
  1191. });
  1192. var isConcatSpreadable = function (O) {
  1193. if (!isObject(O)) return false;
  1194. var spreadable = O[IS_CONCAT_SPREADABLE];
  1195. return spreadable !== undefined ? !!spreadable : isArray(O);
  1196. };
  1197. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
  1198. // `Array.prototype.concat` method
  1199. // https://tc39.es/ecma262/#sec-array.prototype.concat
  1200. // with adding support of @@isConcatSpreadable and @@species
  1201. $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
  1202. // eslint-disable-next-line no-unused-vars -- required for `.length`
  1203. concat: function concat(arg) {
  1204. var O = toObject$1(this);
  1205. var A = arraySpeciesCreate$1(O, 0);
  1206. var n = 0;
  1207. var i, k, length, len, E;
  1208. for (i = -1, length = arguments.length; i < length; i++) {
  1209. E = i === -1 ? O : arguments[i];
  1210. if (isConcatSpreadable(E)) {
  1211. len = lengthOfArrayLike$1(E);
  1212. doesNotExceedSafeInteger(n + len);
  1213. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  1214. } else {
  1215. doesNotExceedSafeInteger(n + 1);
  1216. createProperty(A, n++, E);
  1217. }
  1218. }
  1219. A.length = n;
  1220. return A;
  1221. }
  1222. });
  1223. var classofRaw = classofRaw$2;
  1224. var uncurryThis$4 = functionUncurryThis;
  1225. var functionUncurryThisClause = function (fn) {
  1226. // Nashorn bug:
  1227. // https://github.com/zloirock/core-js/issues/1128
  1228. // https://github.com/zloirock/core-js/issues/1130
  1229. if (classofRaw(fn) === 'Function') return uncurryThis$4(fn);
  1230. };
  1231. var uncurryThis$3 = functionUncurryThisClause;
  1232. var aCallable = aCallable$2;
  1233. var NATIVE_BIND = functionBindNative;
  1234. var bind$1 = uncurryThis$3(uncurryThis$3.bind);
  1235. // optional / simple context binding
  1236. var functionBindContext = function (fn, that) {
  1237. aCallable(fn);
  1238. return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
  1239. return fn.apply(that, arguments);
  1240. };
  1241. };
  1242. var bind = functionBindContext;
  1243. var uncurryThis$2 = functionUncurryThis;
  1244. var IndexedObject = indexedObject;
  1245. var toObject = toObject$4;
  1246. var lengthOfArrayLike = lengthOfArrayLike$3;
  1247. var arraySpeciesCreate = arraySpeciesCreate$2;
  1248. var push = uncurryThis$2([].push);
  1249. // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
  1250. var createMethod = function (TYPE) {
  1251. var IS_MAP = TYPE === 1;
  1252. var IS_FILTER = TYPE === 2;
  1253. var IS_SOME = TYPE === 3;
  1254. var IS_EVERY = TYPE === 4;
  1255. var IS_FIND_INDEX = TYPE === 6;
  1256. var IS_FILTER_REJECT = TYPE === 7;
  1257. var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
  1258. return function ($this, callbackfn, that, specificCreate) {
  1259. var O = toObject($this);
  1260. var self = IndexedObject(O);
  1261. var length = lengthOfArrayLike(self);
  1262. var boundFunction = bind(callbackfn, that);
  1263. var index = 0;
  1264. var create = specificCreate || arraySpeciesCreate;
  1265. var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
  1266. var value, result;
  1267. for (;length > index; index++) if (NO_HOLES || index in self) {
  1268. value = self[index];
  1269. result = boundFunction(value, index, O);
  1270. if (TYPE) {
  1271. if (IS_MAP) target[index] = result; // map
  1272. else if (result) switch (TYPE) {
  1273. case 3: return true; // some
  1274. case 5: return value; // find
  1275. case 6: return index; // findIndex
  1276. case 2: push(target, value); // filter
  1277. } else switch (TYPE) {
  1278. case 4: return false; // every
  1279. case 7: push(target, value); // filterReject
  1280. }
  1281. }
  1282. }
  1283. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  1284. };
  1285. };
  1286. var arrayIteration = {
  1287. // `Array.prototype.forEach` method
  1288. // https://tc39.es/ecma262/#sec-array.prototype.foreach
  1289. forEach: createMethod(0),
  1290. // `Array.prototype.map` method
  1291. // https://tc39.es/ecma262/#sec-array.prototype.map
  1292. map: createMethod(1),
  1293. // `Array.prototype.filter` method
  1294. // https://tc39.es/ecma262/#sec-array.prototype.filter
  1295. filter: createMethod(2),
  1296. // `Array.prototype.some` method
  1297. // https://tc39.es/ecma262/#sec-array.prototype.some
  1298. some: createMethod(3),
  1299. // `Array.prototype.every` method
  1300. // https://tc39.es/ecma262/#sec-array.prototype.every
  1301. every: createMethod(4),
  1302. // `Array.prototype.find` method
  1303. // https://tc39.es/ecma262/#sec-array.prototype.find
  1304. find: createMethod(5),
  1305. // `Array.prototype.findIndex` method
  1306. // https://tc39.es/ecma262/#sec-array.prototype.findIndex
  1307. findIndex: createMethod(6),
  1308. // `Array.prototype.filterReject` method
  1309. // https://github.com/tc39/proposal-array-filtering
  1310. filterReject: createMethod(7)
  1311. };
  1312. var objectDefineProperties = {};
  1313. var DESCRIPTORS = descriptors;
  1314. var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
  1315. var definePropertyModule = objectDefineProperty;
  1316. var anObject$4 = anObject$7;
  1317. var toIndexedObject = toIndexedObject$4;
  1318. var objectKeys = objectKeys$2;
  1319. // `Object.defineProperties` method
  1320. // https://tc39.es/ecma262/#sec-object.defineproperties
  1321. // eslint-disable-next-line es/no-object-defineproperties -- safe
  1322. objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
  1323. anObject$4(O);
  1324. var props = toIndexedObject(Properties);
  1325. var keys = objectKeys(Properties);
  1326. var length = keys.length;
  1327. var index = 0;
  1328. var key;
  1329. while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
  1330. return O;
  1331. };
  1332. var getBuiltIn = getBuiltIn$4;
  1333. var html$1 = getBuiltIn('document', 'documentElement');
  1334. /* global ActiveXObject -- old IE, WSH */
  1335. var anObject$3 = anObject$7;
  1336. var definePropertiesModule = objectDefineProperties;
  1337. var enumBugKeys = enumBugKeys$3;
  1338. var hiddenKeys = hiddenKeys$4;
  1339. var html = html$1;
  1340. var documentCreateElement = documentCreateElement$1;
  1341. var sharedKey = sharedKey$2;
  1342. var GT = '>';
  1343. var LT = '<';
  1344. var PROTOTYPE = 'prototype';
  1345. var SCRIPT = 'script';
  1346. var IE_PROTO = sharedKey('IE_PROTO');
  1347. var EmptyConstructor = function () { /* empty */ };
  1348. var scriptTag = function (content) {
  1349. return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
  1350. };
  1351. // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
  1352. var NullProtoObjectViaActiveX = function (activeXDocument) {
  1353. activeXDocument.write(scriptTag(''));
  1354. activeXDocument.close();
  1355. var temp = activeXDocument.parentWindow.Object;
  1356. activeXDocument = null; // avoid memory leak
  1357. return temp;
  1358. };
  1359. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1360. var NullProtoObjectViaIFrame = function () {
  1361. // Thrash, waste and sodomy: IE GC bug
  1362. var iframe = documentCreateElement('iframe');
  1363. var JS = 'java' + SCRIPT + ':';
  1364. var iframeDocument;
  1365. iframe.style.display = 'none';
  1366. html.appendChild(iframe);
  1367. // https://github.com/zloirock/core-js/issues/475
  1368. iframe.src = String(JS);
  1369. iframeDocument = iframe.contentWindow.document;
  1370. iframeDocument.open();
  1371. iframeDocument.write(scriptTag('document.F=Object'));
  1372. iframeDocument.close();
  1373. return iframeDocument.F;
  1374. };
  1375. // Check for document.domain and active x support
  1376. // No need to use active x approach when document.domain is not set
  1377. // see https://github.com/es-shims/es5-shim/issues/150
  1378. // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
  1379. // avoid IE GC bug
  1380. var activeXDocument;
  1381. var NullProtoObject = function () {
  1382. try {
  1383. activeXDocument = new ActiveXObject('htmlfile');
  1384. } catch (error) { /* ignore */ }
  1385. NullProtoObject = typeof document != 'undefined'
  1386. ? document.domain && activeXDocument
  1387. ? NullProtoObjectViaActiveX(activeXDocument) // old IE
  1388. : NullProtoObjectViaIFrame()
  1389. : NullProtoObjectViaActiveX(activeXDocument); // WSH
  1390. var length = enumBugKeys.length;
  1391. while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  1392. return NullProtoObject();
  1393. };
  1394. hiddenKeys[IE_PROTO] = true;
  1395. // `Object.create` method
  1396. // https://tc39.es/ecma262/#sec-object.create
  1397. // eslint-disable-next-line es/no-object-create -- safe
  1398. var objectCreate = Object.create || function create(O, Properties) {
  1399. var result;
  1400. if (O !== null) {
  1401. EmptyConstructor[PROTOTYPE] = anObject$3(O);
  1402. result = new EmptyConstructor();
  1403. EmptyConstructor[PROTOTYPE] = null;
  1404. // add "__proto__" for Object.getPrototypeOf polyfill
  1405. result[IE_PROTO] = O;
  1406. } else result = NullProtoObject();
  1407. return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
  1408. };
  1409. var wellKnownSymbol$1 = wellKnownSymbol$8;
  1410. var create$1 = objectCreate;
  1411. var defineProperty = objectDefineProperty.f;
  1412. var UNSCOPABLES = wellKnownSymbol$1('unscopables');
  1413. var ArrayPrototype = Array.prototype;
  1414. // Array.prototype[@@unscopables]
  1415. // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
  1416. if (ArrayPrototype[UNSCOPABLES] === undefined) {
  1417. defineProperty(ArrayPrototype, UNSCOPABLES, {
  1418. configurable: true,
  1419. value: create$1(null)
  1420. });
  1421. }
  1422. // add a key to Array.prototype[@@unscopables]
  1423. var addToUnscopables$1 = function (key) {
  1424. ArrayPrototype[UNSCOPABLES][key] = true;
  1425. };
  1426. var $$1 = _export;
  1427. var $find = arrayIteration.find;
  1428. var addToUnscopables = addToUnscopables$1;
  1429. var FIND = 'find';
  1430. var SKIPS_HOLES = true;
  1431. // Shouldn't skip holes
  1432. // eslint-disable-next-line es/no-array-prototype-find -- testing
  1433. if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
  1434. // `Array.prototype.find` method
  1435. // https://tc39.es/ecma262/#sec-array.prototype.find
  1436. $$1({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
  1437. find: function find(callbackfn /* , that = undefined */) {
  1438. return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  1439. }
  1440. });
  1441. // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
  1442. addToUnscopables(FIND);
  1443. var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
  1444. var classof$2 = classof$4;
  1445. // `Object.prototype.toString` method implementation
  1446. // https://tc39.es/ecma262/#sec-object.prototype.tostring
  1447. var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
  1448. return '[object ' + classof$2(this) + ']';
  1449. };
  1450. var TO_STRING_TAG_SUPPORT = toStringTagSupport;
  1451. var defineBuiltIn$1 = defineBuiltIn$3;
  1452. var toString$3 = objectToString;
  1453. // `Object.prototype.toString` method
  1454. // https://tc39.es/ecma262/#sec-object.prototype.tostring
  1455. if (!TO_STRING_TAG_SUPPORT) {
  1456. defineBuiltIn$1(Object.prototype, 'toString', toString$3, { unsafe: true });
  1457. }
  1458. var classof$1 = classof$4;
  1459. var $String = String;
  1460. var toString$2 = function (argument) {
  1461. if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
  1462. return $String(argument);
  1463. };
  1464. var anObject$2 = anObject$7;
  1465. // `RegExp.prototype.flags` getter implementation
  1466. // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
  1467. var regexpFlags$1 = function () {
  1468. var that = anObject$2(this);
  1469. var result = '';
  1470. if (that.hasIndices) result += 'd';
  1471. if (that.global) result += 'g';
  1472. if (that.ignoreCase) result += 'i';
  1473. if (that.multiline) result += 'm';
  1474. if (that.dotAll) result += 's';
  1475. if (that.unicode) result += 'u';
  1476. if (that.unicodeSets) result += 'v';
  1477. if (that.sticky) result += 'y';
  1478. return result;
  1479. };
  1480. var fails$3 = fails$g;
  1481. var global$3 = global$e;
  1482. // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
  1483. var $RegExp$2 = global$3.RegExp;
  1484. var UNSUPPORTED_Y$1 = fails$3(function () {
  1485. var re = $RegExp$2('a', 'y');
  1486. re.lastIndex = 2;
  1487. return re.exec('abcd') !== null;
  1488. });
  1489. // UC Browser bug
  1490. // https://github.com/zloirock/core-js/issues/1008
  1491. var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$3(function () {
  1492. return !$RegExp$2('a', 'y').sticky;
  1493. });
  1494. var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
  1495. // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
  1496. var re = $RegExp$2('^r', 'gy');
  1497. re.lastIndex = 2;
  1498. return re.exec('str') !== null;
  1499. });
  1500. var regexpStickyHelpers = {
  1501. BROKEN_CARET: BROKEN_CARET,
  1502. MISSED_STICKY: MISSED_STICKY,
  1503. UNSUPPORTED_Y: UNSUPPORTED_Y$1
  1504. };
  1505. var fails$2 = fails$g;
  1506. var global$2 = global$e;
  1507. // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
  1508. var $RegExp$1 = global$2.RegExp;
  1509. var regexpUnsupportedDotAll = fails$2(function () {
  1510. var re = $RegExp$1('.', 's');
  1511. return !(re.dotAll && re.test('\n') && re.flags === 's');
  1512. });
  1513. var fails$1 = fails$g;
  1514. var global$1 = global$e;
  1515. // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
  1516. var $RegExp = global$1.RegExp;
  1517. var regexpUnsupportedNcg = fails$1(function () {
  1518. var re = $RegExp('(?<a>b)', 'g');
  1519. return re.exec('b').groups.a !== 'b' ||
  1520. 'b'.replace(re, '$<a>c') !== 'bc';
  1521. });
  1522. /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
  1523. /* eslint-disable regexp/no-useless-quantifier -- testing */
  1524. var call$2 = functionCall;
  1525. var uncurryThis$1 = functionUncurryThis;
  1526. var toString$1 = toString$2;
  1527. var regexpFlags = regexpFlags$1;
  1528. var stickyHelpers = regexpStickyHelpers;
  1529. var shared = sharedExports;
  1530. var create = objectCreate;
  1531. var getInternalState = internalState.get;
  1532. var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
  1533. var UNSUPPORTED_NCG = regexpUnsupportedNcg;
  1534. var nativeReplace = shared('native-string-replace', String.prototype.replace);
  1535. var nativeExec = RegExp.prototype.exec;
  1536. var patchedExec = nativeExec;
  1537. var charAt = uncurryThis$1(''.charAt);
  1538. var indexOf = uncurryThis$1(''.indexOf);
  1539. var replace = uncurryThis$1(''.replace);
  1540. var stringSlice = uncurryThis$1(''.slice);
  1541. var UPDATES_LAST_INDEX_WRONG = (function () {
  1542. var re1 = /a/;
  1543. var re2 = /b*/g;
  1544. call$2(nativeExec, re1, 'a');
  1545. call$2(nativeExec, re2, 'a');
  1546. return re1.lastIndex !== 0 || re2.lastIndex !== 0;
  1547. })();
  1548. var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
  1549. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  1550. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  1551. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
  1552. if (PATCH) {
  1553. patchedExec = function exec(string) {
  1554. var re = this;
  1555. var state = getInternalState(re);
  1556. var str = toString$1(string);
  1557. var raw = state.raw;
  1558. var result, reCopy, lastIndex, match, i, object, group;
  1559. if (raw) {
  1560. raw.lastIndex = re.lastIndex;
  1561. result = call$2(patchedExec, raw, str);
  1562. re.lastIndex = raw.lastIndex;
  1563. return result;
  1564. }
  1565. var groups = state.groups;
  1566. var sticky = UNSUPPORTED_Y && re.sticky;
  1567. var flags = call$2(regexpFlags, re);
  1568. var source = re.source;
  1569. var charsAdded = 0;
  1570. var strCopy = str;
  1571. if (sticky) {
  1572. flags = replace(flags, 'y', '');
  1573. if (indexOf(flags, 'g') === -1) {
  1574. flags += 'g';
  1575. }
  1576. strCopy = stringSlice(str, re.lastIndex);
  1577. // Support anchored sticky behavior.
  1578. if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
  1579. source = '(?: ' + source + ')';
  1580. strCopy = ' ' + strCopy;
  1581. charsAdded++;
  1582. }
  1583. // ^(? + rx + ) is needed, in combination with some str slicing, to
  1584. // simulate the 'y' flag.
  1585. reCopy = new RegExp('^(?:' + source + ')', flags);
  1586. }
  1587. if (NPCG_INCLUDED) {
  1588. reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
  1589. }
  1590. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
  1591. match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
  1592. if (sticky) {
  1593. if (match) {
  1594. match.input = stringSlice(match.input, charsAdded);
  1595. match[0] = stringSlice(match[0], charsAdded);
  1596. match.index = re.lastIndex;
  1597. re.lastIndex += match[0].length;
  1598. } else re.lastIndex = 0;
  1599. } else if (UPDATES_LAST_INDEX_WRONG && match) {
  1600. re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
  1601. }
  1602. if (NPCG_INCLUDED && match && match.length > 1) {
  1603. // Fix browsers whose `exec` methods don't consistently return `undefined`
  1604. // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
  1605. call$2(nativeReplace, match[0], reCopy, function () {
  1606. for (i = 1; i < arguments.length - 2; i++) {
  1607. if (arguments[i] === undefined) match[i] = undefined;
  1608. }
  1609. });
  1610. }
  1611. if (match && groups) {
  1612. match.groups = object = create(null);
  1613. for (i = 0; i < groups.length; i++) {
  1614. group = groups[i];
  1615. object[group[0]] = match[group[1]];
  1616. }
  1617. }
  1618. return match;
  1619. };
  1620. }
  1621. var regexpExec$2 = patchedExec;
  1622. var $ = _export;
  1623. var exec = regexpExec$2;
  1624. // `RegExp.prototype.exec` method
  1625. // https://tc39.es/ecma262/#sec-regexp.prototype.exec
  1626. $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
  1627. exec: exec
  1628. });
  1629. // TODO: Remove from `core-js@4` since it's moved to entry points
  1630. var uncurryThis = functionUncurryThisClause;
  1631. var defineBuiltIn = defineBuiltIn$3;
  1632. var regexpExec$1 = regexpExec$2;
  1633. var fails = fails$g;
  1634. var wellKnownSymbol = wellKnownSymbol$8;
  1635. var createNonEnumerableProperty = createNonEnumerableProperty$3;
  1636. var SPECIES = wellKnownSymbol('species');
  1637. var RegExpPrototype = RegExp.prototype;
  1638. var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
  1639. var SYMBOL = wellKnownSymbol(KEY);
  1640. var DELEGATES_TO_SYMBOL = !fails(function () {
  1641. // String methods call symbol-named RegEp methods
  1642. var O = {};
  1643. O[SYMBOL] = function () { return 7; };
  1644. return ''[KEY](O) !== 7;
  1645. });
  1646. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
  1647. // Symbol-named RegExp methods call .exec
  1648. var execCalled = false;
  1649. var re = /a/;
  1650. if (KEY === 'split') {
  1651. // We can't use real regex here since it causes deoptimization
  1652. // and serious performance degradation in V8
  1653. // https://github.com/zloirock/core-js/issues/306
  1654. re = {};
  1655. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  1656. // a new one. We need to return the patched regex when creating the new one.
  1657. re.constructor = {};
  1658. re.constructor[SPECIES] = function () { return re; };
  1659. re.flags = '';
  1660. re[SYMBOL] = /./[SYMBOL];
  1661. }
  1662. re.exec = function () {
  1663. execCalled = true;
  1664. return null;
  1665. };
  1666. re[SYMBOL]('');
  1667. return !execCalled;
  1668. });
  1669. if (
  1670. !DELEGATES_TO_SYMBOL ||
  1671. !DELEGATES_TO_EXEC ||
  1672. FORCED
  1673. ) {
  1674. var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
  1675. var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
  1676. var uncurriedNativeMethod = uncurryThis(nativeMethod);
  1677. var $exec = regexp.exec;
  1678. if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
  1679. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  1680. // The native String method already delegates to @@method (this
  1681. // polyfilled function), leasing to infinite recursion.
  1682. // We avoid it by directly calling the native @@method method.
  1683. return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
  1684. }
  1685. return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
  1686. }
  1687. return { done: false };
  1688. });
  1689. defineBuiltIn(String.prototype, KEY, methods[0]);
  1690. defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
  1691. }
  1692. if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
  1693. };
  1694. // `SameValue` abstract operation
  1695. // https://tc39.es/ecma262/#sec-samevalue
  1696. // eslint-disable-next-line es/no-object-is -- safe
  1697. var sameValue$1 = Object.is || function is(x, y) {
  1698. // eslint-disable-next-line no-self-compare -- NaN check
  1699. return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
  1700. };
  1701. var call$1 = functionCall;
  1702. var anObject$1 = anObject$7;
  1703. var isCallable = isCallable$d;
  1704. var classof = classofRaw$2;
  1705. var regexpExec = regexpExec$2;
  1706. var $TypeError = TypeError;
  1707. // `RegExpExec` abstract operation
  1708. // https://tc39.es/ecma262/#sec-regexpexec
  1709. var regexpExecAbstract = function (R, S) {
  1710. var exec = R.exec;
  1711. if (isCallable(exec)) {
  1712. var result = call$1(exec, R, S);
  1713. if (result !== null) anObject$1(result);
  1714. return result;
  1715. }
  1716. if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
  1717. throw new $TypeError('RegExp#exec called on incompatible receiver');
  1718. };
  1719. var call = functionCall;
  1720. var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
  1721. var anObject = anObject$7;
  1722. var isNullOrUndefined = isNullOrUndefined$3;
  1723. var requireObjectCoercible = requireObjectCoercible$3;
  1724. var sameValue = sameValue$1;
  1725. var toString = toString$2;
  1726. var getMethod = getMethod$2;
  1727. var regExpExec = regexpExecAbstract;
  1728. // @@search logic
  1729. fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
  1730. return [
  1731. // `String.prototype.search` method
  1732. // https://tc39.es/ecma262/#sec-string.prototype.search
  1733. function search(regexp) {
  1734. var O = requireObjectCoercible(this);
  1735. var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
  1736. return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
  1737. },
  1738. // `RegExp.prototype[@@search]` method
  1739. // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
  1740. function (string) {
  1741. var rx = anObject(this);
  1742. var S = toString(string);
  1743. var res = maybeCallNative(nativeSearch, rx, S);
  1744. if (res.done) return res.value;
  1745. var previousLastIndex = rx.lastIndex;
  1746. if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
  1747. var result = regExpExec(rx, S);
  1748. if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
  1749. return result === null ? -1 : result.index;
  1750. }
  1751. ];
  1752. });
  1753. /**
  1754. * @author: Dennis Hernández
  1755. * @update zhixin wen <wenzhixin2010@gmail.com>
  1756. */
  1757. var Utils = $$4.fn.bootstrapTable.utils;
  1758. Object.assign($$4.fn.bootstrapTable.defaults, {
  1759. keyEvents: false
  1760. });
  1761. $$4.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
  1762. _inherits(_class, _$$BootstrapTable);
  1763. var _super = _createSuper(_class);
  1764. function _class() {
  1765. _classCallCheck(this, _class);
  1766. return _super.apply(this, arguments);
  1767. }
  1768. _createClass(_class, [{
  1769. key: "init",
  1770. value: function init() {
  1771. var _get2;
  1772. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  1773. args[_key] = arguments[_key];
  1774. }
  1775. (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
  1776. if (this.options.keyEvents) {
  1777. this.initKeyEvents();
  1778. }
  1779. }
  1780. }, {
  1781. key: "initKeyEvents",
  1782. value: function initKeyEvents() {
  1783. var _this = this;
  1784. $$4(document).off('keydown').on('keydown', function (e) {
  1785. var $search = Utils.getSearchInput(_this);
  1786. var $refresh = _this.$toolbar.find('button[name="refresh"]');
  1787. var $toggle = _this.$toolbar.find('button[name="toggle"]');
  1788. var $paginationSwitch = _this.$toolbar.find('button[name="paginationSwitch"]');
  1789. if (document.activeElement === $search.get(0) || !$$4.contains(document.activeElement, _this.$toolbar.get(0))) {
  1790. return true;
  1791. }
  1792. switch (e.keyCode) {
  1793. case 83:
  1794. // s
  1795. if (!_this.options.search) {
  1796. return;
  1797. }
  1798. $search.focus();
  1799. return false;
  1800. case 82:
  1801. // r
  1802. if (!_this.options.showRefresh) {
  1803. return;
  1804. }
  1805. $refresh.click();
  1806. return false;
  1807. case 84:
  1808. // t
  1809. if (!_this.options.showToggle) {
  1810. return;
  1811. }
  1812. $toggle.click();
  1813. return false;
  1814. case 80:
  1815. // p
  1816. if (!_this.options.showPaginationSwitch) {
  1817. return;
  1818. }
  1819. $paginationSwitch.click();
  1820. return false;
  1821. case 37:
  1822. // left
  1823. if (!_this.options.pagination) {
  1824. return;
  1825. }
  1826. _this.prevPage();
  1827. return false;
  1828. case 39:
  1829. // right
  1830. if (!_this.options.pagination) {
  1831. return;
  1832. }
  1833. _this.nextPage();
  1834. return;
  1835. }
  1836. });
  1837. }
  1838. }]);
  1839. return _class;
  1840. }($$4.BootstrapTable);
  1841. }));