bootstrap-table-rails 1.18.3 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +1 -1
- data/bootstrap-table-rails.gemspec +2 -2
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +939 -357
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +947 -392
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +953 -396
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +3 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +3034 -2119
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1017 -430
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +564 -249
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1488 -961
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +579 -260
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +574 -258
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +486 -189
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +909 -538
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +921 -501
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2712 -1132
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1326 -747
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +586 -275
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +892 -425
- data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +670 -357
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +590 -252
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +820 -386
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +549 -240
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +557 -251
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +773 -304
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +586 -258
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +547 -205
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +487 -189
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +559 -247
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +901 -551
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +600 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +480 -191
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +492 -203
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +490 -200
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +475 -185
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +497 -207
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +511 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +511 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +472 -183
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +2 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +564 -258
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +2 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +560 -238
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +2 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +564 -242
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +2 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +562 -255
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +2 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +558 -236
- metadata +8 -6
@@ -2,7 +2,7 @@
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
|
3
3
|
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
|
5
|
-
}(this, (function ($) { 'use strict';
|
5
|
+
})(this, (function ($) { 'use strict';
|
6
6
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
8
8
|
|
@@ -20,9 +20,10 @@
|
|
20
20
|
|
21
21
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
22
22
|
var global_1 =
|
23
|
-
|
23
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
24
24
|
check(typeof globalThis == 'object' && globalThis) ||
|
25
25
|
check(typeof window == 'object' && window) ||
|
26
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
26
27
|
check(typeof self == 'object' && self) ||
|
27
28
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
28
29
|
// eslint-disable-next-line no-new-func -- fallback
|
@@ -38,21 +39,35 @@
|
|
38
39
|
|
39
40
|
// Detect IE8's incomplete defineProperty implementation
|
40
41
|
var descriptors = !fails(function () {
|
42
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
41
43
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
42
44
|
});
|
43
45
|
|
44
|
-
var
|
46
|
+
var functionBindNative = !fails(function () {
|
47
|
+
var test = (function () { /* empty */ }).bind();
|
48
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
49
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
50
|
+
});
|
51
|
+
|
52
|
+
var call$1 = Function.prototype.call;
|
53
|
+
|
54
|
+
var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
|
55
|
+
return call$1.apply(call$1, arguments);
|
56
|
+
};
|
57
|
+
|
58
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
59
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
45
60
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
46
61
|
|
47
62
|
// Nashorn ~ JDK8 bug
|
48
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 &&
|
63
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
49
64
|
|
50
65
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
51
66
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
52
67
|
var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
53
68
|
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
54
69
|
return !!descriptor && descriptor.enumerable;
|
55
|
-
} :
|
70
|
+
} : $propertyIsEnumerable;
|
56
71
|
|
57
72
|
var objectPropertyIsEnumerable = {
|
58
73
|
f: f$4
|
@@ -67,27 +82,44 @@
|
|
67
82
|
};
|
68
83
|
};
|
69
84
|
|
70
|
-
var
|
85
|
+
var FunctionPrototype$1 = Function.prototype;
|
86
|
+
var bind = FunctionPrototype$1.bind;
|
87
|
+
var call = FunctionPrototype$1.call;
|
88
|
+
var uncurryThis = functionBindNative && bind.bind(call, call);
|
89
|
+
|
90
|
+
var functionUncurryThis = functionBindNative ? function (fn) {
|
91
|
+
return fn && uncurryThis(fn);
|
92
|
+
} : function (fn) {
|
93
|
+
return fn && function () {
|
94
|
+
return call.apply(fn, arguments);
|
95
|
+
};
|
96
|
+
};
|
97
|
+
|
98
|
+
var toString$1 = functionUncurryThis({}.toString);
|
99
|
+
var stringSlice = functionUncurryThis(''.slice);
|
71
100
|
|
72
101
|
var classofRaw = function (it) {
|
73
|
-
return toString
|
102
|
+
return stringSlice(toString$1(it), 8, -1);
|
74
103
|
};
|
75
104
|
|
76
|
-
var
|
105
|
+
var Object$4 = global_1.Object;
|
106
|
+
var split = functionUncurryThis(''.split);
|
77
107
|
|
78
108
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
79
109
|
var indexedObject = fails(function () {
|
80
110
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
81
111
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
82
|
-
return !Object('z').propertyIsEnumerable(0);
|
112
|
+
return !Object$4('z').propertyIsEnumerable(0);
|
83
113
|
}) ? function (it) {
|
84
|
-
return classofRaw(it) == 'String' ? split
|
85
|
-
} : Object;
|
114
|
+
return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
|
115
|
+
} : Object$4;
|
116
|
+
|
117
|
+
var TypeError$7 = global_1.TypeError;
|
86
118
|
|
87
119
|
// `RequireObjectCoercible` abstract operation
|
88
120
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
89
121
|
var requireObjectCoercible = function (it) {
|
90
|
-
if (it == undefined) throw TypeError("Can't call method on " + it);
|
122
|
+
if (it == undefined) throw TypeError$7("Can't call method on " + it);
|
91
123
|
return it;
|
92
124
|
};
|
93
125
|
|
@@ -99,79 +131,303 @@
|
|
99
131
|
return indexedObject(requireObjectCoercible(it));
|
100
132
|
};
|
101
133
|
|
134
|
+
// `IsCallable` abstract operation
|
135
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
136
|
+
var isCallable = function (argument) {
|
137
|
+
return typeof argument == 'function';
|
138
|
+
};
|
139
|
+
|
102
140
|
var isObject = function (it) {
|
103
|
-
return typeof it
|
141
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
104
142
|
};
|
105
143
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
var
|
111
|
-
|
144
|
+
var aFunction = function (argument) {
|
145
|
+
return isCallable(argument) ? argument : undefined;
|
146
|
+
};
|
147
|
+
|
148
|
+
var getBuiltIn = function (namespace, method) {
|
149
|
+
return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
|
150
|
+
};
|
151
|
+
|
152
|
+
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
153
|
+
|
154
|
+
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
155
|
+
|
156
|
+
var process = global_1.process;
|
157
|
+
var Deno = global_1.Deno;
|
158
|
+
var versions = process && process.versions || Deno && Deno.version;
|
159
|
+
var v8 = versions && versions.v8;
|
160
|
+
var match, version;
|
161
|
+
|
162
|
+
if (v8) {
|
163
|
+
match = v8.split('.');
|
164
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
165
|
+
// but their correct versions are not interesting for us
|
166
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
167
|
+
}
|
168
|
+
|
169
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
170
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
171
|
+
if (!version && engineUserAgent) {
|
172
|
+
match = engineUserAgent.match(/Edge\/(\d+)/);
|
173
|
+
if (!match || match[1] >= 74) {
|
174
|
+
match = engineUserAgent.match(/Chrome\/(\d+)/);
|
175
|
+
if (match) version = +match[1];
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
var engineV8Version = version;
|
180
|
+
|
181
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
186
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
187
|
+
var symbol = Symbol();
|
188
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
189
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
190
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
191
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
192
|
+
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
193
|
+
});
|
194
|
+
|
195
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
196
|
+
|
197
|
+
|
198
|
+
var useSymbolAsUid = nativeSymbol
|
199
|
+
&& !Symbol.sham
|
200
|
+
&& typeof Symbol.iterator == 'symbol';
|
201
|
+
|
202
|
+
var Object$3 = global_1.Object;
|
203
|
+
|
204
|
+
var isSymbol = useSymbolAsUid ? function (it) {
|
205
|
+
return typeof it == 'symbol';
|
206
|
+
} : function (it) {
|
207
|
+
var $Symbol = getBuiltIn('Symbol');
|
208
|
+
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
|
209
|
+
};
|
210
|
+
|
211
|
+
var String$2 = global_1.String;
|
212
|
+
|
213
|
+
var tryToString = function (argument) {
|
214
|
+
try {
|
215
|
+
return String$2(argument);
|
216
|
+
} catch (error) {
|
217
|
+
return 'Object';
|
218
|
+
}
|
219
|
+
};
|
220
|
+
|
221
|
+
var TypeError$6 = global_1.TypeError;
|
222
|
+
|
223
|
+
// `Assert: IsCallable(argument) is true`
|
224
|
+
var aCallable = function (argument) {
|
225
|
+
if (isCallable(argument)) return argument;
|
226
|
+
throw TypeError$6(tryToString(argument) + ' is not a function');
|
227
|
+
};
|
228
|
+
|
229
|
+
// `GetMethod` abstract operation
|
230
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
231
|
+
var getMethod = function (V, P) {
|
232
|
+
var func = V[P];
|
233
|
+
return func == null ? undefined : aCallable(func);
|
234
|
+
};
|
235
|
+
|
236
|
+
var TypeError$5 = global_1.TypeError;
|
237
|
+
|
238
|
+
// `OrdinaryToPrimitive` abstract operation
|
239
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
240
|
+
var ordinaryToPrimitive = function (input, pref) {
|
112
241
|
var fn, val;
|
113
|
-
if (
|
114
|
-
if (
|
115
|
-
if (
|
116
|
-
throw TypeError("Can't convert object to primitive value");
|
242
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
243
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
244
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
245
|
+
throw TypeError$5("Can't convert object to primitive value");
|
246
|
+
};
|
247
|
+
|
248
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
249
|
+
var defineProperty = Object.defineProperty;
|
250
|
+
|
251
|
+
var setGlobal = function (key, value) {
|
252
|
+
try {
|
253
|
+
defineProperty(global_1, key, { value: value, configurable: true, writable: true });
|
254
|
+
} catch (error) {
|
255
|
+
global_1[key] = value;
|
256
|
+
} return value;
|
117
257
|
};
|
118
258
|
|
119
|
-
var
|
259
|
+
var SHARED = '__core-js_shared__';
|
260
|
+
var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
|
261
|
+
|
262
|
+
var sharedStore = store$1;
|
263
|
+
|
264
|
+
var shared = createCommonjsModule(function (module) {
|
265
|
+
(module.exports = function (key, value) {
|
266
|
+
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
267
|
+
})('versions', []).push({
|
268
|
+
version: '3.21.1',
|
269
|
+
mode: 'global',
|
270
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
271
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
|
272
|
+
source: 'https://github.com/zloirock/core-js'
|
273
|
+
});
|
274
|
+
});
|
275
|
+
|
276
|
+
var Object$2 = global_1.Object;
|
277
|
+
|
278
|
+
// `ToObject` abstract operation
|
279
|
+
// https://tc39.es/ecma262/#sec-toobject
|
280
|
+
var toObject = function (argument) {
|
281
|
+
return Object$2(requireObjectCoercible(argument));
|
282
|
+
};
|
283
|
+
|
284
|
+
var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
285
|
+
|
286
|
+
// `HasOwnProperty` abstract operation
|
287
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
288
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
289
|
+
return hasOwnProperty(toObject(it), key);
|
290
|
+
};
|
291
|
+
|
292
|
+
var id = 0;
|
293
|
+
var postfix = Math.random();
|
294
|
+
var toString = functionUncurryThis(1.0.toString);
|
295
|
+
|
296
|
+
var uid = function (key) {
|
297
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
298
|
+
};
|
299
|
+
|
300
|
+
var WellKnownSymbolsStore = shared('wks');
|
301
|
+
var Symbol$1 = global_1.Symbol;
|
302
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
303
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
304
|
+
|
305
|
+
var wellKnownSymbol = function (name) {
|
306
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
307
|
+
var description = 'Symbol.' + name;
|
308
|
+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
309
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
310
|
+
} else if (useSymbolAsUid && symbolFor) {
|
311
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
312
|
+
} else {
|
313
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
314
|
+
}
|
315
|
+
} return WellKnownSymbolsStore[name];
|
316
|
+
};
|
317
|
+
|
318
|
+
var TypeError$4 = global_1.TypeError;
|
319
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
320
|
+
|
321
|
+
// `ToPrimitive` abstract operation
|
322
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
323
|
+
var toPrimitive = function (input, pref) {
|
324
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
325
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
326
|
+
var result;
|
327
|
+
if (exoticToPrim) {
|
328
|
+
if (pref === undefined) pref = 'default';
|
329
|
+
result = functionCall(exoticToPrim, input, pref);
|
330
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
331
|
+
throw TypeError$4("Can't convert object to primitive value");
|
332
|
+
}
|
333
|
+
if (pref === undefined) pref = 'number';
|
334
|
+
return ordinaryToPrimitive(input, pref);
|
335
|
+
};
|
120
336
|
|
121
|
-
|
122
|
-
|
337
|
+
// `ToPropertyKey` abstract operation
|
338
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
339
|
+
var toPropertyKey = function (argument) {
|
340
|
+
var key = toPrimitive(argument, 'string');
|
341
|
+
return isSymbol(key) ? key : key + '';
|
123
342
|
};
|
124
343
|
|
125
344
|
var document = global_1.document;
|
126
345
|
// typeof document.createElement is 'object' in old IE
|
127
|
-
var EXISTS = isObject(document) && isObject(document.createElement);
|
346
|
+
var EXISTS$1 = isObject(document) && isObject(document.createElement);
|
128
347
|
|
129
348
|
var documentCreateElement = function (it) {
|
130
|
-
return EXISTS ? document.createElement(it) : {};
|
349
|
+
return EXISTS$1 ? document.createElement(it) : {};
|
131
350
|
};
|
132
351
|
|
133
|
-
//
|
352
|
+
// Thanks to IE8 for its funny defineProperty
|
134
353
|
var ie8DomDefine = !descriptors && !fails(function () {
|
354
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
135
355
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
136
356
|
get: function () { return 7; }
|
137
357
|
}).a != 7;
|
138
358
|
});
|
139
359
|
|
140
|
-
|
360
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
361
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
141
362
|
|
142
363
|
// `Object.getOwnPropertyDescriptor` method
|
143
364
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
144
|
-
var f$3 = descriptors ?
|
365
|
+
var f$3 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
145
366
|
O = toIndexedObject(O);
|
146
|
-
P =
|
367
|
+
P = toPropertyKey(P);
|
147
368
|
if (ie8DomDefine) try {
|
148
|
-
return
|
369
|
+
return $getOwnPropertyDescriptor$1(O, P);
|
149
370
|
} catch (error) { /* empty */ }
|
150
|
-
if (
|
371
|
+
if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
|
151
372
|
};
|
152
373
|
|
153
374
|
var objectGetOwnPropertyDescriptor = {
|
154
375
|
f: f$3
|
155
376
|
};
|
156
377
|
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
378
|
+
// V8 ~ Chrome 36-
|
379
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
380
|
+
var v8PrototypeDefineBug = descriptors && fails(function () {
|
381
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
382
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
383
|
+
value: 42,
|
384
|
+
writable: false
|
385
|
+
}).prototype != 42;
|
386
|
+
});
|
387
|
+
|
388
|
+
var String$1 = global_1.String;
|
389
|
+
var TypeError$3 = global_1.TypeError;
|
390
|
+
|
391
|
+
// `Assert: Type(argument) is Object`
|
392
|
+
var anObject = function (argument) {
|
393
|
+
if (isObject(argument)) return argument;
|
394
|
+
throw TypeError$3(String$1(argument) + ' is not an object');
|
161
395
|
};
|
162
396
|
|
163
|
-
var
|
397
|
+
var TypeError$2 = global_1.TypeError;
|
398
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
399
|
+
var $defineProperty = Object.defineProperty;
|
400
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
401
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
402
|
+
var ENUMERABLE = 'enumerable';
|
403
|
+
var CONFIGURABLE$1 = 'configurable';
|
404
|
+
var WRITABLE = 'writable';
|
164
405
|
|
165
406
|
// `Object.defineProperty` method
|
166
407
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
167
|
-
var f$2 = descriptors ?
|
408
|
+
var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
|
409
|
+
anObject(O);
|
410
|
+
P = toPropertyKey(P);
|
411
|
+
anObject(Attributes);
|
412
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
413
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
414
|
+
if (current && current[WRITABLE]) {
|
415
|
+
O[P] = Attributes.value;
|
416
|
+
Attributes = {
|
417
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
418
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
419
|
+
writable: false
|
420
|
+
};
|
421
|
+
}
|
422
|
+
} return $defineProperty(O, P, Attributes);
|
423
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
168
424
|
anObject(O);
|
169
|
-
P =
|
425
|
+
P = toPropertyKey(P);
|
170
426
|
anObject(Attributes);
|
171
427
|
if (ie8DomDefine) try {
|
172
|
-
return
|
428
|
+
return $defineProperty(O, P, Attributes);
|
173
429
|
} catch (error) { /* empty */ }
|
174
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
430
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
|
175
431
|
if ('value' in Attributes) O[P] = Attributes.value;
|
176
432
|
return O;
|
177
433
|
};
|
@@ -187,25 +443,12 @@
|
|
187
443
|
return object;
|
188
444
|
};
|
189
445
|
|
190
|
-
var
|
191
|
-
try {
|
192
|
-
createNonEnumerableProperty(global_1, key, value);
|
193
|
-
} catch (error) {
|
194
|
-
global_1[key] = value;
|
195
|
-
} return value;
|
196
|
-
};
|
197
|
-
|
198
|
-
var SHARED = '__core-js_shared__';
|
199
|
-
var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
|
200
|
-
|
201
|
-
var sharedStore = store$1;
|
202
|
-
|
203
|
-
var functionToString = Function.toString;
|
446
|
+
var functionToString = functionUncurryThis(Function.toString);
|
204
447
|
|
205
|
-
// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
|
206
|
-
if (
|
448
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
449
|
+
if (!isCallable(sharedStore.inspectSource)) {
|
207
450
|
sharedStore.inspectSource = function (it) {
|
208
|
-
return functionToString
|
451
|
+
return functionToString(it);
|
209
452
|
};
|
210
453
|
}
|
211
454
|
|
@@ -213,24 +456,7 @@
|
|
213
456
|
|
214
457
|
var WeakMap$1 = global_1.WeakMap;
|
215
458
|
|
216
|
-
var nativeWeakMap =
|
217
|
-
|
218
|
-
var shared = createCommonjsModule(function (module) {
|
219
|
-
(module.exports = function (key, value) {
|
220
|
-
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
221
|
-
})('versions', []).push({
|
222
|
-
version: '3.9.1',
|
223
|
-
mode: 'global',
|
224
|
-
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
225
|
-
});
|
226
|
-
});
|
227
|
-
|
228
|
-
var id = 0;
|
229
|
-
var postfix = Math.random();
|
230
|
-
|
231
|
-
var uid = function (key) {
|
232
|
-
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
|
233
|
-
};
|
459
|
+
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
234
460
|
|
235
461
|
var keys = shared('keys');
|
236
462
|
|
@@ -240,6 +466,8 @@
|
|
240
466
|
|
241
467
|
var hiddenKeys$1 = {};
|
242
468
|
|
469
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
470
|
+
var TypeError$1 = global_1.TypeError;
|
243
471
|
var WeakMap = global_1.WeakMap;
|
244
472
|
var set, get, has;
|
245
473
|
|
@@ -251,40 +479,42 @@
|
|
251
479
|
return function (it) {
|
252
480
|
var state;
|
253
481
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
254
|
-
throw TypeError('Incompatible receiver, ' + TYPE + ' required');
|
482
|
+
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
255
483
|
} return state;
|
256
484
|
};
|
257
485
|
};
|
258
486
|
|
259
|
-
if (nativeWeakMap) {
|
487
|
+
if (nativeWeakMap || sharedStore.state) {
|
260
488
|
var store = sharedStore.state || (sharedStore.state = new WeakMap());
|
261
|
-
var wmget = store.get;
|
262
|
-
var wmhas = store.has;
|
263
|
-
var wmset = store.set;
|
489
|
+
var wmget = functionUncurryThis(store.get);
|
490
|
+
var wmhas = functionUncurryThis(store.has);
|
491
|
+
var wmset = functionUncurryThis(store.set);
|
264
492
|
set = function (it, metadata) {
|
493
|
+
if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
265
494
|
metadata.facade = it;
|
266
|
-
wmset
|
495
|
+
wmset(store, it, metadata);
|
267
496
|
return metadata;
|
268
497
|
};
|
269
498
|
get = function (it) {
|
270
|
-
return wmget
|
499
|
+
return wmget(store, it) || {};
|
271
500
|
};
|
272
501
|
has = function (it) {
|
273
|
-
return wmhas
|
502
|
+
return wmhas(store, it);
|
274
503
|
};
|
275
504
|
} else {
|
276
505
|
var STATE = sharedKey('state');
|
277
506
|
hiddenKeys$1[STATE] = true;
|
278
507
|
set = function (it, metadata) {
|
508
|
+
if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
279
509
|
metadata.facade = it;
|
280
510
|
createNonEnumerableProperty(it, STATE, metadata);
|
281
511
|
return metadata;
|
282
512
|
};
|
283
513
|
get = function (it) {
|
284
|
-
return
|
514
|
+
return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
|
285
515
|
};
|
286
516
|
has = function (it) {
|
287
|
-
return
|
517
|
+
return hasOwnProperty_1(it, STATE);
|
288
518
|
};
|
289
519
|
}
|
290
520
|
|
@@ -296,7 +526,24 @@
|
|
296
526
|
getterFor: getterFor
|
297
527
|
};
|
298
528
|
|
529
|
+
var FunctionPrototype = Function.prototype;
|
530
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
531
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
532
|
+
|
533
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
534
|
+
// additional protection from minified / mangled / dropped function names
|
535
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
536
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
537
|
+
|
538
|
+
var functionName = {
|
539
|
+
EXISTS: EXISTS,
|
540
|
+
PROPER: PROPER,
|
541
|
+
CONFIGURABLE: CONFIGURABLE
|
542
|
+
};
|
543
|
+
|
299
544
|
var redefine = createCommonjsModule(function (module) {
|
545
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
546
|
+
|
300
547
|
var getInternalState = internalState.get;
|
301
548
|
var enforceInternalState = internalState.enforce;
|
302
549
|
var TEMPLATE = String(String).split('String');
|
@@ -305,14 +552,18 @@
|
|
305
552
|
var unsafe = options ? !!options.unsafe : false;
|
306
553
|
var simple = options ? !!options.enumerable : false;
|
307
554
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
555
|
+
var name = options && options.name !== undefined ? options.name : key;
|
308
556
|
var state;
|
309
|
-
if (
|
310
|
-
if (
|
311
|
-
|
557
|
+
if (isCallable(value)) {
|
558
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
559
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
560
|
+
}
|
561
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
562
|
+
createNonEnumerableProperty(value, 'name', name);
|
312
563
|
}
|
313
564
|
state = enforceInternalState(value);
|
314
565
|
if (!state.source) {
|
315
|
-
state.source = TEMPLATE.join(typeof
|
566
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
316
567
|
}
|
317
568
|
}
|
318
569
|
if (O === global_1) {
|
@@ -328,54 +579,51 @@
|
|
328
579
|
else createNonEnumerableProperty(O, key, value);
|
329
580
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
330
581
|
})(Function.prototype, 'toString', function toString() {
|
331
|
-
return
|
582
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
332
583
|
});
|
333
584
|
});
|
334
585
|
|
335
|
-
var path = global_1;
|
336
|
-
|
337
|
-
var aFunction = function (variable) {
|
338
|
-
return typeof variable == 'function' ? variable : undefined;
|
339
|
-
};
|
340
|
-
|
341
|
-
var getBuiltIn = function (namespace, method) {
|
342
|
-
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
|
343
|
-
: path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
|
344
|
-
};
|
345
|
-
|
346
586
|
var ceil = Math.ceil;
|
347
587
|
var floor = Math.floor;
|
348
588
|
|
349
|
-
// `
|
350
|
-
// https://tc39.es/ecma262/#sec-
|
351
|
-
var
|
352
|
-
|
589
|
+
// `ToIntegerOrInfinity` abstract operation
|
590
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
591
|
+
var toIntegerOrInfinity = function (argument) {
|
592
|
+
var number = +argument;
|
593
|
+
// eslint-disable-next-line no-self-compare -- safe
|
594
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
353
595
|
};
|
354
596
|
|
597
|
+
var max = Math.max;
|
355
598
|
var min$1 = Math.min;
|
356
599
|
|
600
|
+
// Helper for a popular repeating case of the spec:
|
601
|
+
// Let integer be ? ToInteger(index).
|
602
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
603
|
+
var toAbsoluteIndex = function (index, length) {
|
604
|
+
var integer = toIntegerOrInfinity(index);
|
605
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
606
|
+
};
|
607
|
+
|
608
|
+
var min = Math.min;
|
609
|
+
|
357
610
|
// `ToLength` abstract operation
|
358
611
|
// https://tc39.es/ecma262/#sec-tolength
|
359
612
|
var toLength = function (argument) {
|
360
|
-
return argument > 0 ? min
|
613
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
361
614
|
};
|
362
615
|
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
// Let integer be ? ToInteger(index).
|
368
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
369
|
-
var toAbsoluteIndex = function (index, length) {
|
370
|
-
var integer = toInteger(index);
|
371
|
-
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
616
|
+
// `LengthOfArrayLike` abstract operation
|
617
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
618
|
+
var lengthOfArrayLike = function (obj) {
|
619
|
+
return toLength(obj.length);
|
372
620
|
};
|
373
621
|
|
374
622
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
375
623
|
var createMethod = function (IS_INCLUDES) {
|
376
624
|
return function ($this, el, fromIndex) {
|
377
625
|
var O = toIndexedObject($this);
|
378
|
-
var length =
|
626
|
+
var length = lengthOfArrayLike(O);
|
379
627
|
var index = toAbsoluteIndex(fromIndex, length);
|
380
628
|
var value;
|
381
629
|
// Array#includes uses SameValueZero equality algorithm
|
@@ -403,15 +651,17 @@
|
|
403
651
|
var indexOf = arrayIncludes.indexOf;
|
404
652
|
|
405
653
|
|
654
|
+
var push = functionUncurryThis([].push);
|
655
|
+
|
406
656
|
var objectKeysInternal = function (object, names) {
|
407
657
|
var O = toIndexedObject(object);
|
408
658
|
var i = 0;
|
409
659
|
var result = [];
|
410
660
|
var key;
|
411
|
-
for (key in O) !
|
661
|
+
for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push(result, key);
|
412
662
|
// Don't enum bug & hidden keys
|
413
|
-
while (names.length > i) if (
|
414
|
-
~indexOf(result, key) ||
|
663
|
+
while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
|
664
|
+
~indexOf(result, key) || push(result, key);
|
415
665
|
}
|
416
666
|
return result;
|
417
667
|
};
|
@@ -431,6 +681,7 @@
|
|
431
681
|
|
432
682
|
// `Object.getOwnPropertyNames` method
|
433
683
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
684
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
434
685
|
var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
435
686
|
return objectKeysInternal(O, hiddenKeys);
|
436
687
|
};
|
@@ -439,26 +690,31 @@
|
|
439
690
|
f: f$1
|
440
691
|
};
|
441
692
|
|
693
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
442
694
|
var f = Object.getOwnPropertySymbols;
|
443
695
|
|
444
696
|
var objectGetOwnPropertySymbols = {
|
445
697
|
f: f
|
446
698
|
};
|
447
699
|
|
700
|
+
var concat = functionUncurryThis([].concat);
|
701
|
+
|
448
702
|
// all object keys, includes non-enumerable and symbols
|
449
703
|
var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
450
704
|
var keys = objectGetOwnPropertyNames.f(anObject(it));
|
451
705
|
var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
|
452
|
-
return getOwnPropertySymbols ?
|
706
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
453
707
|
};
|
454
708
|
|
455
|
-
var copyConstructorProperties = function (target, source) {
|
709
|
+
var copyConstructorProperties = function (target, source, exceptions) {
|
456
710
|
var keys = ownKeys(source);
|
457
711
|
var defineProperty = objectDefineProperty.f;
|
458
712
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
459
713
|
for (var i = 0; i < keys.length; i++) {
|
460
714
|
var key = keys[i];
|
461
|
-
if (!
|
715
|
+
if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
|
716
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
717
|
+
}
|
462
718
|
}
|
463
719
|
};
|
464
720
|
|
@@ -468,7 +724,7 @@
|
|
468
724
|
var value = data[normalize(feature)];
|
469
725
|
return value == POLYFILL ? true
|
470
726
|
: value == NATIVE ? false
|
471
|
-
:
|
727
|
+
: isCallable(detection) ? fails(detection)
|
472
728
|
: !!detection;
|
473
729
|
};
|
474
730
|
|
@@ -502,6 +758,7 @@
|
|
502
758
|
options.sham - add a flag to not completely full polyfills
|
503
759
|
options.enumerable - export as enumerable property
|
504
760
|
options.noTargetGet - prevent calling a getter on target
|
761
|
+
options.name - the .name of the function if it does not match the key
|
505
762
|
*/
|
506
763
|
var _export = function (options, source) {
|
507
764
|
var TARGET = options.target;
|
@@ -524,7 +781,7 @@
|
|
524
781
|
FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
525
782
|
// contained in target
|
526
783
|
if (!FORCED && targetProperty !== undefined) {
|
527
|
-
if (typeof sourceProperty
|
784
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
528
785
|
copyConstructorProperties(sourceProperty, targetProperty);
|
529
786
|
}
|
530
787
|
// add a flag to not completely full polyfills
|
@@ -538,86 +795,117 @@
|
|
538
795
|
|
539
796
|
// `IsArray` abstract operation
|
540
797
|
// https://tc39.es/ecma262/#sec-isarray
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
// `ToObject` abstract operation
|
546
|
-
// https://tc39.es/ecma262/#sec-toobject
|
547
|
-
var toObject = function (argument) {
|
548
|
-
return Object(requireObjectCoercible(argument));
|
798
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
799
|
+
var isArray = Array.isArray || function isArray(argument) {
|
800
|
+
return classofRaw(argument) == 'Array';
|
549
801
|
};
|
550
802
|
|
551
803
|
var createProperty = function (object, key, value) {
|
552
|
-
var propertyKey =
|
804
|
+
var propertyKey = toPropertyKey(key);
|
553
805
|
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
|
554
806
|
else object[propertyKey] = value;
|
555
807
|
};
|
556
808
|
|
557
|
-
var
|
809
|
+
var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
810
|
+
var test = {};
|
558
811
|
|
559
|
-
|
812
|
+
test[TO_STRING_TAG$1] = 'z';
|
560
813
|
|
561
|
-
var
|
562
|
-
var versions = process && process.versions;
|
563
|
-
var v8 = versions && versions.v8;
|
564
|
-
var match, version;
|
814
|
+
var toStringTagSupport = String(test) === '[object z]';
|
565
815
|
|
566
|
-
|
567
|
-
|
568
|
-
version = match[0] + match[1];
|
569
|
-
} else if (engineUserAgent) {
|
570
|
-
match = engineUserAgent.match(/Edge\/(\d+)/);
|
571
|
-
if (!match || match[1] >= 74) {
|
572
|
-
match = engineUserAgent.match(/Chrome\/(\d+)/);
|
573
|
-
if (match) version = match[1];
|
574
|
-
}
|
575
|
-
}
|
816
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
817
|
+
var Object$1 = global_1.Object;
|
576
818
|
|
577
|
-
|
819
|
+
// ES3 wrong here
|
820
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
578
821
|
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
});
|
822
|
+
// fallback for IE11 Script Access Denied error
|
823
|
+
var tryGet = function (it, key) {
|
824
|
+
try {
|
825
|
+
return it[key];
|
826
|
+
} catch (error) { /* empty */ }
|
827
|
+
};
|
586
828
|
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
829
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
830
|
+
var classof = toStringTagSupport ? classofRaw : function (it) {
|
831
|
+
var O, tag, result;
|
832
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
833
|
+
// @@toStringTag case
|
834
|
+
: typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
835
|
+
// builtinTag case
|
836
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
837
|
+
// ES3 arguments fallback
|
838
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
839
|
+
};
|
591
840
|
|
592
|
-
var
|
593
|
-
var
|
594
|
-
var
|
841
|
+
var noop = function () { /* empty */ };
|
842
|
+
var empty = [];
|
843
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
844
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
845
|
+
var exec = functionUncurryThis(constructorRegExp.exec);
|
846
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
595
847
|
|
596
|
-
var
|
597
|
-
if (!
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
}
|
848
|
+
var isConstructorModern = function isConstructor(argument) {
|
849
|
+
if (!isCallable(argument)) return false;
|
850
|
+
try {
|
851
|
+
construct(noop, empty, argument);
|
852
|
+
return true;
|
853
|
+
} catch (error) {
|
854
|
+
return false;
|
855
|
+
}
|
604
856
|
};
|
605
857
|
|
858
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
859
|
+
if (!isCallable(argument)) return false;
|
860
|
+
switch (classof(argument)) {
|
861
|
+
case 'AsyncFunction':
|
862
|
+
case 'GeneratorFunction':
|
863
|
+
case 'AsyncGeneratorFunction': return false;
|
864
|
+
}
|
865
|
+
try {
|
866
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
867
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
868
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
869
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
870
|
+
} catch (error) {
|
871
|
+
return true;
|
872
|
+
}
|
873
|
+
};
|
874
|
+
|
875
|
+
isConstructorLegacy.sham = true;
|
876
|
+
|
877
|
+
// `IsConstructor` abstract operation
|
878
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
879
|
+
var isConstructor = !construct || fails(function () {
|
880
|
+
var called;
|
881
|
+
return isConstructorModern(isConstructorModern.call)
|
882
|
+
|| !isConstructorModern(Object)
|
883
|
+
|| !isConstructorModern(function () { called = true; })
|
884
|
+
|| called;
|
885
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
886
|
+
|
606
887
|
var SPECIES$1 = wellKnownSymbol('species');
|
888
|
+
var Array$1 = global_1.Array;
|
607
889
|
|
608
|
-
// `ArraySpeciesCreate` abstract operation
|
890
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
609
891
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
610
|
-
var
|
892
|
+
var arraySpeciesConstructor = function (originalArray) {
|
611
893
|
var C;
|
612
894
|
if (isArray(originalArray)) {
|
613
895
|
C = originalArray.constructor;
|
614
896
|
// cross-realm fallback
|
615
|
-
if (
|
897
|
+
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
616
898
|
else if (isObject(C)) {
|
617
899
|
C = C[SPECIES$1];
|
618
900
|
if (C === null) C = undefined;
|
619
901
|
}
|
620
|
-
} return
|
902
|
+
} return C === undefined ? Array$1 : C;
|
903
|
+
};
|
904
|
+
|
905
|
+
// `ArraySpeciesCreate` abstract operation
|
906
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
907
|
+
var arraySpeciesCreate = function (originalArray, length) {
|
908
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
621
909
|
};
|
622
910
|
|
623
911
|
var SPECIES = wellKnownSymbol('species');
|
@@ -639,6 +927,7 @@
|
|
639
927
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
640
928
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
641
929
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
930
|
+
var TypeError = global_1.TypeError;
|
642
931
|
|
643
932
|
// We can't use this feature detection in V8 since it causes
|
644
933
|
// deoptimization and serious performance degradation
|
@@ -672,7 +961,7 @@
|
|
672
961
|
for (i = -1, length = arguments.length; i < length; i++) {
|
673
962
|
E = i === -1 ? O : arguments[i];
|
674
963
|
if (isConcatSpreadable(E)) {
|
675
|
-
len =
|
964
|
+
len = lengthOfArrayLike(E);
|
676
965
|
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
677
966
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
678
967
|
} else {
|
@@ -690,7 +979,7 @@
|
|
690
979
|
* Author: Nabijon Masharipov <mnabijonz@gmail.com>
|
691
980
|
*/
|
692
981
|
|
693
|
-
$__default[
|
982
|
+
$__default["default"].fn.bootstrapTable.locales['uz-Latn-UZ'] = $__default["default"].fn.bootstrapTable.locales['uz'] = {
|
694
983
|
formatCopyRows: function formatCopyRows() {
|
695
984
|
return 'Copy Rows';
|
696
985
|
},
|
@@ -789,6 +1078,6 @@
|
|
789
1078
|
return 'Show controls';
|
790
1079
|
}
|
791
1080
|
};
|
792
|
-
$__default[
|
1081
|
+
$__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales['uz-Latn-UZ']);
|
793
1082
|
|
794
|
-
}))
|
1083
|
+
}));
|