@dotcms/react 0.0.1-beta.1 → 0.0.1-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -3
- package/es.regexp.to-string.esm.js +1878 -0
- package/index.esm.js +79 -1951
- package/next.esm.d.ts +1 -0
- package/next.esm.js +738 -0
- package/package.json +24 -2
- package/src/index.d.ts +1 -7
- package/src/lib/{components → deprecated/components}/DotcmsLayout/DotcmsLayout.d.ts +1 -0
- package/src/lib/deprecated/deprecated_api.d.ts +7 -0
- package/src/lib/next/__test__/mock.d.ts +11 -0
- package/src/lib/next/components/Column/Column.d.ts +37 -0
- package/src/lib/next/components/Container/Container.d.ts +32 -0
- package/src/lib/next/components/Container/ContainerFallbacks.d.ts +24 -0
- package/src/lib/next/components/Contentlet/Contentlet.d.ts +32 -0
- package/src/lib/next/components/DotCMSLayoutBody/DotCMSLayoutBody.d.ts +26 -0
- package/src/lib/next/components/DotCMSLayoutBody/components/ErrorMessage.d.ts +9 -0
- package/src/lib/next/components/DotCMSShow/DotCMSShow.d.ts +49 -0
- package/src/lib/next/components/FallbackComponent/FallbackComponent.d.ts +41 -0
- package/src/lib/next/components/Row/Row.d.ts +21 -0
- package/src/lib/next/contexts/DotCMSPageContext.d.ts +23 -0
- package/src/lib/next/hooks/useCheckVisibleContent.d.ts +24 -0
- package/src/lib/next/hooks/useDotCMSShowWhen.d.ts +31 -0
- package/src/lib/next/hooks/useIsDevMode.d.ts +13 -0
- package/src/lib/next/types.d.ts +421 -0
- package/src/lib/next/utils/index.d.ts +136 -0
- package/src/next.d.ts +3 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/BlockEditorRenderer.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Code.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Contentlet.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Image.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Lists.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Table.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Texts.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/blocks/Video.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/BlockEditorRenderer/item/BlockEditorBlock.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/Column/Column.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/Container/Container.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/DotEditableText/DotEditableText.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/DotEditableText/utils.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/PageProvider/PageProvider.d.ts +0 -0
- /package/src/lib/{components → deprecated/components}/Row/Row.d.ts +0 -0
- /package/src/lib/{contexts → deprecated/contexts}/PageContext.d.ts +0 -0
- /package/src/lib/{hooks → deprecated/hooks}/useCheckHaveContent.d.ts +0 -0
- /package/src/lib/{hooks → deprecated/hooks}/useDotcmsEditor.d.ts +0 -0
- /package/src/lib/{hooks → deprecated/hooks}/useDotcmsPageContext.d.ts +0 -0
- /package/src/lib/{mocks → deprecated/mocks}/index.d.ts +0 -0
- /package/src/lib/{mocks → deprecated/mocks}/mockPageContext.d.ts +0 -0
- /package/src/lib/{models → deprecated/models}/blocks.interface.d.ts +0 -0
- /package/src/lib/{models → deprecated/models}/content-node.interface.d.ts +0 -0
- /package/src/lib/{models → deprecated/models}/index.d.ts +0 -0
- /package/src/lib/{utils → deprecated/utils}/utils.d.ts +0 -0
package/index.esm.js
CHANGED
|
@@ -1,1628 +1,12 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { s as styleInject, f as functionUncurryThis, t as toString$4, r as requireObjectCoercible$1, a as toIntegerOrInfinity$1, i as iteratorDefine, b as internalState, c as createIterResultObject$2, d as fails$2, w as wellKnownSymbol$4, e as descriptors, g as classofRaw$1, h as aCallable$2, j as functionBindNative, m as makeBuiltInExports, o as objectDefineProperty, k as objectIsPrototypeOf, l as functionCall, n as anObject$4, p as getMethod$2, q as iterators, u as getBuiltIn$1, v as isCallable$2, x as classof$3, y as inspectSource$1, z as createPropertyDescriptor$2, A as isNullOrUndefined$1, B as tryToString$1, C as toObject$1, D as lengthOfArrayLike$1, E as global$3, F as defineBuiltIn$5, G as arraySlice$2, _ as _export, H as setToStringTag$2, I as iteratorCreateConstructor, J as isObject$1, K as objectCreate, L as hasOwnProperty_1, M as objectAssign } from './es.regexp.to-string.esm.js';
|
|
3
|
+
import { useState, useEffect, createContext, useRef, useContext, createElement, forwardRef } from 'react';
|
|
4
|
+
import { isInsideEditor, initEditor, updateNavigation, destroyEditor, postMessageToEditor, CLIENT_ACTIONS, DotCmsClient, NOTIFY_CLIENT, initInlineEditing } from '@dotcms/client';
|
|
5
|
+
import { createUVESubscription } from '@dotcms/uve';
|
|
4
6
|
import { Editor } from '@tinymce/tinymce-react';
|
|
5
7
|
|
|
6
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
|
-
|
|
8
|
-
var fails$f = function (exec) {
|
|
9
|
-
try {
|
|
10
|
-
return !!exec();
|
|
11
|
-
} catch (error) {
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
var fails$e = fails$f;
|
|
17
|
-
|
|
18
|
-
var functionBindNative = !fails$e(function () {
|
|
19
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
20
|
-
var test = (function () { /* empty */ }).bind();
|
|
21
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
var NATIVE_BIND$3 = functionBindNative;
|
|
26
|
-
|
|
27
|
-
var FunctionPrototype$2 = Function.prototype;
|
|
28
|
-
var call$e = FunctionPrototype$2.call;
|
|
29
|
-
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$e, call$e);
|
|
30
|
-
|
|
31
|
-
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
32
|
-
return function () {
|
|
33
|
-
return call$e.apply(fn, arguments);
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
var uncurryThis$n = functionUncurryThis;
|
|
38
|
-
|
|
39
|
-
var toString$7 = uncurryThis$n({}.toString);
|
|
40
|
-
var stringSlice$4 = uncurryThis$n(''.slice);
|
|
41
|
-
|
|
42
|
-
var classofRaw$2 = function (it) {
|
|
43
|
-
return stringSlice$4(toString$7(it), 8, -1);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
var uncurryThis$m = functionUncurryThis;
|
|
47
|
-
var fails$d = fails$f;
|
|
48
|
-
var classof$7 = classofRaw$2;
|
|
49
|
-
|
|
50
|
-
var $Object$4 = Object;
|
|
51
|
-
var split$3 = uncurryThis$m(''.split);
|
|
52
|
-
|
|
53
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
54
|
-
var indexedObject = fails$d(function () {
|
|
55
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
56
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
57
|
-
return !$Object$4('z').propertyIsEnumerable(0);
|
|
58
|
-
}) ? function (it) {
|
|
59
|
-
return classof$7(it) === 'String' ? split$3(it, '') : $Object$4(it);
|
|
60
|
-
} : $Object$4;
|
|
61
|
-
|
|
62
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
63
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
64
|
-
var isNullOrUndefined$3 = function (it) {
|
|
65
|
-
return it === null || it === undefined;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
69
|
-
|
|
70
|
-
var $TypeError$9 = TypeError;
|
|
71
|
-
|
|
72
|
-
// `RequireObjectCoercible` abstract operation
|
|
73
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
74
|
-
var requireObjectCoercible$4 = function (it) {
|
|
75
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$9("Can't call method on " + it);
|
|
76
|
-
return it;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
80
|
-
var IndexedObject$1 = indexedObject;
|
|
81
|
-
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
82
|
-
|
|
83
|
-
var toIndexedObject$5 = function (it) {
|
|
84
|
-
return IndexedObject$1(requireObjectCoercible$3(it));
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
var check = function (it) {
|
|
88
|
-
return it && it.Math === Math && it;
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
92
|
-
var global$e =
|
|
93
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
94
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
95
|
-
check(typeof window == 'object' && window) ||
|
|
96
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
97
|
-
check(typeof self == 'object' && self) ||
|
|
98
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
99
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
100
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
101
|
-
(function () { return this; })() || Function('return this')();
|
|
102
|
-
|
|
103
|
-
var sharedStore = {exports: {}};
|
|
104
|
-
|
|
105
8
|
var isPure = false;
|
|
106
9
|
|
|
107
|
-
var global$d = global$e;
|
|
108
|
-
|
|
109
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
110
|
-
var defineProperty$6 = Object.defineProperty;
|
|
111
|
-
|
|
112
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
113
|
-
try {
|
|
114
|
-
defineProperty$6(global$d, key, { value: value, configurable: true, writable: true });
|
|
115
|
-
} catch (error) {
|
|
116
|
-
global$d[key] = value;
|
|
117
|
-
} return value;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
var globalThis$1 = global$e;
|
|
121
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
122
|
-
|
|
123
|
-
var SHARED = '__core-js_shared__';
|
|
124
|
-
var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
125
|
-
|
|
126
|
-
(store$3.versions || (store$3.versions = [])).push({
|
|
127
|
-
version: '3.36.1',
|
|
128
|
-
mode: 'global',
|
|
129
|
-
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
130
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
|
|
131
|
-
source: 'https://github.com/zloirock/core-js'
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
var sharedStoreExports = sharedStore.exports;
|
|
135
|
-
|
|
136
|
-
var store$2 = sharedStoreExports;
|
|
137
|
-
|
|
138
|
-
var shared$3 = function (key, value) {
|
|
139
|
-
return store$2[key] || (store$2[key] = value || {});
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
143
|
-
|
|
144
|
-
var $Object$3 = Object;
|
|
145
|
-
|
|
146
|
-
// `ToObject` abstract operation
|
|
147
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
148
|
-
var toObject$4 = function (argument) {
|
|
149
|
-
return $Object$3(requireObjectCoercible$2(argument));
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
var uncurryThis$l = functionUncurryThis;
|
|
153
|
-
var toObject$3 = toObject$4;
|
|
154
|
-
|
|
155
|
-
var hasOwnProperty = uncurryThis$l({}.hasOwnProperty);
|
|
156
|
-
|
|
157
|
-
// `HasOwnProperty` abstract operation
|
|
158
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
159
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
160
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
161
|
-
return hasOwnProperty(toObject$3(it), key);
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
var uncurryThis$k = functionUncurryThis;
|
|
165
|
-
|
|
166
|
-
var id = 0;
|
|
167
|
-
var postfix = Math.random();
|
|
168
|
-
var toString$6 = uncurryThis$k(1.0.toString);
|
|
169
|
-
|
|
170
|
-
var uid$2 = function (key) {
|
|
171
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
175
|
-
|
|
176
|
-
var global$c = global$e;
|
|
177
|
-
var userAgent = engineUserAgent;
|
|
178
|
-
|
|
179
|
-
var process = global$c.process;
|
|
180
|
-
var Deno = global$c.Deno;
|
|
181
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
182
|
-
var v8 = versions && versions.v8;
|
|
183
|
-
var match, version;
|
|
184
|
-
|
|
185
|
-
if (v8) {
|
|
186
|
-
match = v8.split('.');
|
|
187
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
188
|
-
// but their correct versions are not interesting for us
|
|
189
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
193
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
|
194
|
-
if (!version && userAgent) {
|
|
195
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
196
|
-
if (!match || match[1] >= 74) {
|
|
197
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
198
|
-
if (match) version = +match[1];
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
var engineV8Version = version;
|
|
203
|
-
|
|
204
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
205
|
-
var V8_VERSION = engineV8Version;
|
|
206
|
-
var fails$c = fails$f;
|
|
207
|
-
var global$b = global$e;
|
|
208
|
-
|
|
209
|
-
var $String$6 = global$b.String;
|
|
210
|
-
|
|
211
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
212
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
|
|
213
|
-
var symbol = Symbol('symbol detection');
|
|
214
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
215
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
216
|
-
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
217
|
-
// of course, fail.
|
|
218
|
-
return !$String$6(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
219
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
220
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
224
|
-
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
225
|
-
|
|
226
|
-
var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
227
|
-
&& !Symbol.sham
|
|
228
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
229
|
-
|
|
230
|
-
var global$a = global$e;
|
|
231
|
-
var shared$2 = shared$3;
|
|
232
|
-
var hasOwn$b = hasOwnProperty_1;
|
|
233
|
-
var uid$1 = uid$2;
|
|
234
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
235
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
236
|
-
|
|
237
|
-
var Symbol$1 = global$a.Symbol;
|
|
238
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
239
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
240
|
-
|
|
241
|
-
var wellKnownSymbol$c = function (name) {
|
|
242
|
-
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
243
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$b(Symbol$1, name)
|
|
244
|
-
? Symbol$1[name]
|
|
245
|
-
: createWellKnownSymbol('Symbol.' + name);
|
|
246
|
-
} return WellKnownSymbolsStore[name];
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
250
|
-
var documentAll = typeof document == 'object' && document.all;
|
|
251
|
-
|
|
252
|
-
// `IsCallable` abstract operation
|
|
253
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
254
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
255
|
-
var isCallable$i = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
256
|
-
return typeof argument == 'function' || argument === documentAll;
|
|
257
|
-
} : function (argument) {
|
|
258
|
-
return typeof argument == 'function';
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
var isCallable$h = isCallable$i;
|
|
262
|
-
|
|
263
|
-
var isObject$9 = function (it) {
|
|
264
|
-
return typeof it == 'object' ? it !== null : isCallable$h(it);
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
var isObject$8 = isObject$9;
|
|
268
|
-
|
|
269
|
-
var $String$5 = String;
|
|
270
|
-
var $TypeError$8 = TypeError;
|
|
271
|
-
|
|
272
|
-
// `Assert: Type(argument) is Object`
|
|
273
|
-
var anObject$a = function (argument) {
|
|
274
|
-
if (isObject$8(argument)) return argument;
|
|
275
|
-
throw new $TypeError$8($String$5(argument) + ' is not an object');
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
var objectDefineProperties = {};
|
|
279
|
-
|
|
280
|
-
var fails$b = fails$f;
|
|
281
|
-
|
|
282
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
283
|
-
var descriptors = !fails$b(function () {
|
|
284
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
285
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
286
|
-
});
|
|
287
|
-
|
|
288
|
-
var DESCRIPTORS$f = descriptors;
|
|
289
|
-
var fails$a = fails$f;
|
|
290
|
-
|
|
291
|
-
// V8 ~ Chrome 36-
|
|
292
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
293
|
-
var v8PrototypeDefineBug = DESCRIPTORS$f && fails$a(function () {
|
|
294
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
295
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
296
|
-
value: 42,
|
|
297
|
-
writable: false
|
|
298
|
-
}).prototype !== 42;
|
|
299
|
-
});
|
|
300
|
-
|
|
301
|
-
var objectDefineProperty = {};
|
|
302
|
-
|
|
303
|
-
var global$9 = global$e;
|
|
304
|
-
var isObject$7 = isObject$9;
|
|
305
|
-
|
|
306
|
-
var document$1 = global$9.document;
|
|
307
|
-
// typeof document.createElement is 'object' in old IE
|
|
308
|
-
var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
|
|
309
|
-
|
|
310
|
-
var documentCreateElement$2 = function (it) {
|
|
311
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
var DESCRIPTORS$e = descriptors;
|
|
315
|
-
var fails$9 = fails$f;
|
|
316
|
-
var createElement = documentCreateElement$2;
|
|
317
|
-
|
|
318
|
-
// Thanks to IE8 for its funny defineProperty
|
|
319
|
-
var ie8DomDefine = !DESCRIPTORS$e && !fails$9(function () {
|
|
320
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
321
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
322
|
-
get: function () { return 7; }
|
|
323
|
-
}).a !== 7;
|
|
324
|
-
});
|
|
325
|
-
|
|
326
|
-
var NATIVE_BIND$2 = functionBindNative;
|
|
327
|
-
|
|
328
|
-
var call$d = Function.prototype.call;
|
|
329
|
-
|
|
330
|
-
var functionCall = NATIVE_BIND$2 ? call$d.bind(call$d) : function () {
|
|
331
|
-
return call$d.apply(call$d, arguments);
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
var global$8 = global$e;
|
|
335
|
-
var isCallable$g = isCallable$i;
|
|
336
|
-
|
|
337
|
-
var aFunction = function (argument) {
|
|
338
|
-
return isCallable$g(argument) ? argument : undefined;
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
var getBuiltIn$5 = function (namespace, method) {
|
|
342
|
-
return arguments.length < 2 ? aFunction(global$8[namespace]) : global$8[namespace] && global$8[namespace][method];
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
var uncurryThis$j = functionUncurryThis;
|
|
346
|
-
|
|
347
|
-
var objectIsPrototypeOf = uncurryThis$j({}.isPrototypeOf);
|
|
348
|
-
|
|
349
|
-
var getBuiltIn$4 = getBuiltIn$5;
|
|
350
|
-
var isCallable$f = isCallable$i;
|
|
351
|
-
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
352
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
353
|
-
|
|
354
|
-
var $Object$2 = Object;
|
|
355
|
-
|
|
356
|
-
var isSymbol$3 = USE_SYMBOL_AS_UID ? function (it) {
|
|
357
|
-
return typeof it == 'symbol';
|
|
358
|
-
} : function (it) {
|
|
359
|
-
var $Symbol = getBuiltIn$4('Symbol');
|
|
360
|
-
return isCallable$f($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$2(it));
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
var $String$4 = String;
|
|
364
|
-
|
|
365
|
-
var tryToString$2 = function (argument) {
|
|
366
|
-
try {
|
|
367
|
-
return $String$4(argument);
|
|
368
|
-
} catch (error) {
|
|
369
|
-
return 'Object';
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
var isCallable$e = isCallable$i;
|
|
374
|
-
var tryToString$1 = tryToString$2;
|
|
375
|
-
|
|
376
|
-
var $TypeError$7 = TypeError;
|
|
377
|
-
|
|
378
|
-
// `Assert: IsCallable(argument) is true`
|
|
379
|
-
var aCallable$4 = function (argument) {
|
|
380
|
-
if (isCallable$e(argument)) return argument;
|
|
381
|
-
throw new $TypeError$7(tryToString$1(argument) + ' is not a function');
|
|
382
|
-
};
|
|
383
|
-
|
|
384
|
-
var aCallable$3 = aCallable$4;
|
|
385
|
-
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
386
|
-
|
|
387
|
-
// `GetMethod` abstract operation
|
|
388
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
389
|
-
var getMethod$3 = function (V, P) {
|
|
390
|
-
var func = V[P];
|
|
391
|
-
return isNullOrUndefined$1(func) ? undefined : aCallable$3(func);
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
var call$c = functionCall;
|
|
395
|
-
var isCallable$d = isCallable$i;
|
|
396
|
-
var isObject$6 = isObject$9;
|
|
397
|
-
|
|
398
|
-
var $TypeError$6 = TypeError;
|
|
399
|
-
|
|
400
|
-
// `OrdinaryToPrimitive` abstract operation
|
|
401
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
402
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
403
|
-
var fn, val;
|
|
404
|
-
if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$6(val = call$c(fn, input))) return val;
|
|
405
|
-
if (isCallable$d(fn = input.valueOf) && !isObject$6(val = call$c(fn, input))) return val;
|
|
406
|
-
if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$6(val = call$c(fn, input))) return val;
|
|
407
|
-
throw new $TypeError$6("Can't convert object to primitive value");
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
var call$b = functionCall;
|
|
411
|
-
var isObject$5 = isObject$9;
|
|
412
|
-
var isSymbol$2 = isSymbol$3;
|
|
413
|
-
var getMethod$2 = getMethod$3;
|
|
414
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
415
|
-
var wellKnownSymbol$b = wellKnownSymbol$c;
|
|
416
|
-
|
|
417
|
-
var $TypeError$5 = TypeError;
|
|
418
|
-
var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
|
|
419
|
-
|
|
420
|
-
// `ToPrimitive` abstract operation
|
|
421
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
422
|
-
var toPrimitive$1 = function (input, pref) {
|
|
423
|
-
if (!isObject$5(input) || isSymbol$2(input)) return input;
|
|
424
|
-
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
425
|
-
var result;
|
|
426
|
-
if (exoticToPrim) {
|
|
427
|
-
if (pref === undefined) pref = 'default';
|
|
428
|
-
result = call$b(exoticToPrim, input, pref);
|
|
429
|
-
if (!isObject$5(result) || isSymbol$2(result)) return result;
|
|
430
|
-
throw new $TypeError$5("Can't convert object to primitive value");
|
|
431
|
-
}
|
|
432
|
-
if (pref === undefined) pref = 'number';
|
|
433
|
-
return ordinaryToPrimitive(input, pref);
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
var toPrimitive = toPrimitive$1;
|
|
437
|
-
var isSymbol$1 = isSymbol$3;
|
|
438
|
-
|
|
439
|
-
// `ToPropertyKey` abstract operation
|
|
440
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
441
|
-
var toPropertyKey$2 = function (argument) {
|
|
442
|
-
var key = toPrimitive(argument, 'string');
|
|
443
|
-
return isSymbol$1(key) ? key : key + '';
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
var DESCRIPTORS$d = descriptors;
|
|
447
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
448
|
-
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
449
|
-
var anObject$9 = anObject$a;
|
|
450
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
451
|
-
|
|
452
|
-
var $TypeError$4 = TypeError;
|
|
453
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
454
|
-
var $defineProperty = Object.defineProperty;
|
|
455
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
456
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
457
|
-
var ENUMERABLE = 'enumerable';
|
|
458
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
459
|
-
var WRITABLE = 'writable';
|
|
460
|
-
|
|
461
|
-
// `Object.defineProperty` method
|
|
462
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
463
|
-
objectDefineProperty.f = DESCRIPTORS$d ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
464
|
-
anObject$9(O);
|
|
465
|
-
P = toPropertyKey$1(P);
|
|
466
|
-
anObject$9(Attributes);
|
|
467
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
468
|
-
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
469
|
-
if (current && current[WRITABLE]) {
|
|
470
|
-
O[P] = Attributes.value;
|
|
471
|
-
Attributes = {
|
|
472
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
473
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
474
|
-
writable: false
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
} return $defineProperty(O, P, Attributes);
|
|
478
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
479
|
-
anObject$9(O);
|
|
480
|
-
P = toPropertyKey$1(P);
|
|
481
|
-
anObject$9(Attributes);
|
|
482
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
483
|
-
return $defineProperty(O, P, Attributes);
|
|
484
|
-
} catch (error) { /* empty */ }
|
|
485
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
|
|
486
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
487
|
-
return O;
|
|
488
|
-
};
|
|
489
|
-
|
|
490
|
-
var ceil = Math.ceil;
|
|
491
|
-
var floor$3 = Math.floor;
|
|
492
|
-
|
|
493
|
-
// `Math.trunc` method
|
|
494
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
495
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
496
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
497
|
-
var n = +x;
|
|
498
|
-
return (n > 0 ? floor$3 : ceil)(n);
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
var trunc = mathTrunc;
|
|
502
|
-
|
|
503
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
504
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
505
|
-
var toIntegerOrInfinity$3 = function (argument) {
|
|
506
|
-
var number = +argument;
|
|
507
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
508
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
509
|
-
};
|
|
510
|
-
|
|
511
|
-
var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
|
|
512
|
-
|
|
513
|
-
var max = Math.max;
|
|
514
|
-
var min$1 = Math.min;
|
|
515
|
-
|
|
516
|
-
// Helper for a popular repeating case of the spec:
|
|
517
|
-
// Let integer be ? ToInteger(index).
|
|
518
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
519
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
520
|
-
var integer = toIntegerOrInfinity$2(index);
|
|
521
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
|
|
525
|
-
|
|
526
|
-
var min = Math.min;
|
|
527
|
-
|
|
528
|
-
// `ToLength` abstract operation
|
|
529
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
530
|
-
var toLength$1 = function (argument) {
|
|
531
|
-
var len = toIntegerOrInfinity$1(argument);
|
|
532
|
-
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
var toLength = toLength$1;
|
|
536
|
-
|
|
537
|
-
// `LengthOfArrayLike` abstract operation
|
|
538
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
539
|
-
var lengthOfArrayLike$2 = function (obj) {
|
|
540
|
-
return toLength(obj.length);
|
|
541
|
-
};
|
|
542
|
-
|
|
543
|
-
var toIndexedObject$4 = toIndexedObject$5;
|
|
544
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
545
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
546
|
-
|
|
547
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
548
|
-
var createMethod$1 = function (IS_INCLUDES) {
|
|
549
|
-
return function ($this, el, fromIndex) {
|
|
550
|
-
var O = toIndexedObject$4($this);
|
|
551
|
-
var length = lengthOfArrayLike$1(O);
|
|
552
|
-
if (length === 0) return !IS_INCLUDES && -1;
|
|
553
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
554
|
-
var value;
|
|
555
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
556
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
557
|
-
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
558
|
-
value = O[index++];
|
|
559
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
560
|
-
if (value !== value) return true;
|
|
561
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
562
|
-
} else for (;length > index; index++) {
|
|
563
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
564
|
-
} return !IS_INCLUDES && -1;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
var arrayIncludes = {
|
|
569
|
-
// `Array.prototype.includes` method
|
|
570
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
571
|
-
includes: createMethod$1(true),
|
|
572
|
-
// `Array.prototype.indexOf` method
|
|
573
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
574
|
-
indexOf: createMethod$1(false)
|
|
575
|
-
};
|
|
576
|
-
|
|
577
|
-
var hiddenKeys$4 = {};
|
|
578
|
-
|
|
579
|
-
var uncurryThis$i = functionUncurryThis;
|
|
580
|
-
var hasOwn$a = hasOwnProperty_1;
|
|
581
|
-
var toIndexedObject$3 = toIndexedObject$5;
|
|
582
|
-
var indexOf = arrayIncludes.indexOf;
|
|
583
|
-
var hiddenKeys$3 = hiddenKeys$4;
|
|
584
|
-
|
|
585
|
-
var push$5 = uncurryThis$i([].push);
|
|
586
|
-
|
|
587
|
-
var objectKeysInternal = function (object, names) {
|
|
588
|
-
var O = toIndexedObject$3(object);
|
|
589
|
-
var i = 0;
|
|
590
|
-
var result = [];
|
|
591
|
-
var key;
|
|
592
|
-
for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push$5(result, key);
|
|
593
|
-
// Don't enum bug & hidden keys
|
|
594
|
-
while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
|
|
595
|
-
~indexOf(result, key) || push$5(result, key);
|
|
596
|
-
}
|
|
597
|
-
return result;
|
|
598
|
-
};
|
|
599
|
-
|
|
600
|
-
// IE8- don't enum bug keys
|
|
601
|
-
var enumBugKeys$3 = [
|
|
602
|
-
'constructor',
|
|
603
|
-
'hasOwnProperty',
|
|
604
|
-
'isPrototypeOf',
|
|
605
|
-
'propertyIsEnumerable',
|
|
606
|
-
'toLocaleString',
|
|
607
|
-
'toString',
|
|
608
|
-
'valueOf'
|
|
609
|
-
];
|
|
610
|
-
|
|
611
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
612
|
-
var enumBugKeys$2 = enumBugKeys$3;
|
|
613
|
-
|
|
614
|
-
// `Object.keys` method
|
|
615
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
616
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
617
|
-
var objectKeys$2 = Object.keys || function keys(O) {
|
|
618
|
-
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
619
|
-
};
|
|
620
|
-
|
|
621
|
-
var DESCRIPTORS$c = descriptors;
|
|
622
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
623
|
-
var definePropertyModule$4 = objectDefineProperty;
|
|
624
|
-
var anObject$8 = anObject$a;
|
|
625
|
-
var toIndexedObject$2 = toIndexedObject$5;
|
|
626
|
-
var objectKeys$1 = objectKeys$2;
|
|
627
|
-
|
|
628
|
-
// `Object.defineProperties` method
|
|
629
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
630
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
631
|
-
objectDefineProperties.f = DESCRIPTORS$c && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
632
|
-
anObject$8(O);
|
|
633
|
-
var props = toIndexedObject$2(Properties);
|
|
634
|
-
var keys = objectKeys$1(Properties);
|
|
635
|
-
var length = keys.length;
|
|
636
|
-
var index = 0;
|
|
637
|
-
var key;
|
|
638
|
-
while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
|
|
639
|
-
return O;
|
|
640
|
-
};
|
|
641
|
-
|
|
642
|
-
var getBuiltIn$3 = getBuiltIn$5;
|
|
643
|
-
|
|
644
|
-
var html$1 = getBuiltIn$3('document', 'documentElement');
|
|
645
|
-
|
|
646
|
-
var shared$1 = shared$3;
|
|
647
|
-
var uid = uid$2;
|
|
648
|
-
|
|
649
|
-
var keys = shared$1('keys');
|
|
650
|
-
|
|
651
|
-
var sharedKey$3 = function (key) {
|
|
652
|
-
return keys[key] || (keys[key] = uid(key));
|
|
653
|
-
};
|
|
654
|
-
|
|
655
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
656
|
-
var anObject$7 = anObject$a;
|
|
657
|
-
var definePropertiesModule = objectDefineProperties;
|
|
658
|
-
var enumBugKeys$1 = enumBugKeys$3;
|
|
659
|
-
var hiddenKeys$2 = hiddenKeys$4;
|
|
660
|
-
var html = html$1;
|
|
661
|
-
var documentCreateElement$1 = documentCreateElement$2;
|
|
662
|
-
var sharedKey$2 = sharedKey$3;
|
|
663
|
-
|
|
664
|
-
var GT = '>';
|
|
665
|
-
var LT = '<';
|
|
666
|
-
var PROTOTYPE = 'prototype';
|
|
667
|
-
var SCRIPT = 'script';
|
|
668
|
-
var IE_PROTO$1 = sharedKey$2('IE_PROTO');
|
|
669
|
-
|
|
670
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
671
|
-
|
|
672
|
-
var scriptTag = function (content) {
|
|
673
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
674
|
-
};
|
|
675
|
-
|
|
676
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
677
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
678
|
-
activeXDocument.write(scriptTag(''));
|
|
679
|
-
activeXDocument.close();
|
|
680
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
681
|
-
activeXDocument = null; // avoid memory leak
|
|
682
|
-
return temp;
|
|
683
|
-
};
|
|
684
|
-
|
|
685
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
686
|
-
var NullProtoObjectViaIFrame = function () {
|
|
687
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
688
|
-
var iframe = documentCreateElement$1('iframe');
|
|
689
|
-
var JS = 'java' + SCRIPT + ':';
|
|
690
|
-
var iframeDocument;
|
|
691
|
-
iframe.style.display = 'none';
|
|
692
|
-
html.appendChild(iframe);
|
|
693
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
694
|
-
iframe.src = String(JS);
|
|
695
|
-
iframeDocument = iframe.contentWindow.document;
|
|
696
|
-
iframeDocument.open();
|
|
697
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
698
|
-
iframeDocument.close();
|
|
699
|
-
return iframeDocument.F;
|
|
700
|
-
};
|
|
701
|
-
|
|
702
|
-
// Check for document.domain and active x support
|
|
703
|
-
// No need to use active x approach when document.domain is not set
|
|
704
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
705
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
706
|
-
// avoid IE GC bug
|
|
707
|
-
var activeXDocument;
|
|
708
|
-
var NullProtoObject = function () {
|
|
709
|
-
try {
|
|
710
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
711
|
-
} catch (error) { /* ignore */ }
|
|
712
|
-
NullProtoObject = typeof document != 'undefined'
|
|
713
|
-
? document.domain && activeXDocument
|
|
714
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
715
|
-
: NullProtoObjectViaIFrame()
|
|
716
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
717
|
-
var length = enumBugKeys$1.length;
|
|
718
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
|
|
719
|
-
return NullProtoObject();
|
|
720
|
-
};
|
|
721
|
-
|
|
722
|
-
hiddenKeys$2[IE_PROTO$1] = true;
|
|
723
|
-
|
|
724
|
-
// `Object.create` method
|
|
725
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
726
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
727
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
728
|
-
var result;
|
|
729
|
-
if (O !== null) {
|
|
730
|
-
EmptyConstructor[PROTOTYPE] = anObject$7(O);
|
|
731
|
-
result = new EmptyConstructor();
|
|
732
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
733
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
734
|
-
result[IE_PROTO$1] = O;
|
|
735
|
-
} else result = NullProtoObject();
|
|
736
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
737
|
-
};
|
|
738
|
-
|
|
739
|
-
var wellKnownSymbol$a = wellKnownSymbol$c;
|
|
740
|
-
var create$2 = objectCreate;
|
|
741
|
-
var defineProperty$5 = objectDefineProperty.f;
|
|
742
|
-
|
|
743
|
-
var UNSCOPABLES = wellKnownSymbol$a('unscopables');
|
|
744
|
-
var ArrayPrototype$1 = Array.prototype;
|
|
745
|
-
|
|
746
|
-
// Array.prototype[@@unscopables]
|
|
747
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
748
|
-
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
749
|
-
defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
|
|
750
|
-
configurable: true,
|
|
751
|
-
value: create$2(null)
|
|
752
|
-
});
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
// add a key to Array.prototype[@@unscopables]
|
|
756
|
-
var addToUnscopables$1 = function (key) {
|
|
757
|
-
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
var iterators = {};
|
|
761
|
-
|
|
762
|
-
var global$7 = global$e;
|
|
763
|
-
var isCallable$c = isCallable$i;
|
|
764
|
-
|
|
765
|
-
var WeakMap$1 = global$7.WeakMap;
|
|
766
|
-
|
|
767
|
-
var weakMapBasicDetection = isCallable$c(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
768
|
-
|
|
769
|
-
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
770
|
-
return {
|
|
771
|
-
enumerable: !(bitmap & 1),
|
|
772
|
-
configurable: !(bitmap & 2),
|
|
773
|
-
writable: !(bitmap & 4),
|
|
774
|
-
value: value
|
|
775
|
-
};
|
|
776
|
-
};
|
|
777
|
-
|
|
778
|
-
var DESCRIPTORS$b = descriptors;
|
|
779
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
780
|
-
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
781
|
-
|
|
782
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$b ? function (object, key, value) {
|
|
783
|
-
return definePropertyModule$3.f(object, key, createPropertyDescriptor$4(1, value));
|
|
784
|
-
} : function (object, key, value) {
|
|
785
|
-
object[key] = value;
|
|
786
|
-
return object;
|
|
787
|
-
};
|
|
788
|
-
|
|
789
|
-
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
790
|
-
var global$6 = global$e;
|
|
791
|
-
var isObject$4 = isObject$9;
|
|
792
|
-
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
793
|
-
var hasOwn$9 = hasOwnProperty_1;
|
|
794
|
-
var shared = sharedStoreExports;
|
|
795
|
-
var sharedKey$1 = sharedKey$3;
|
|
796
|
-
var hiddenKeys$1 = hiddenKeys$4;
|
|
797
|
-
|
|
798
|
-
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
799
|
-
var TypeError$3 = global$6.TypeError;
|
|
800
|
-
var WeakMap = global$6.WeakMap;
|
|
801
|
-
var set, get, has;
|
|
802
|
-
|
|
803
|
-
var enforce = function (it) {
|
|
804
|
-
return has(it) ? get(it) : set(it, {});
|
|
805
|
-
};
|
|
806
|
-
|
|
807
|
-
var getterFor = function (TYPE) {
|
|
808
|
-
return function (it) {
|
|
809
|
-
var state;
|
|
810
|
-
if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
|
|
811
|
-
throw new TypeError$3('Incompatible receiver, ' + TYPE + ' required');
|
|
812
|
-
} return state;
|
|
813
|
-
};
|
|
814
|
-
};
|
|
815
|
-
|
|
816
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
|
817
|
-
var store$1 = shared.state || (shared.state = new WeakMap());
|
|
818
|
-
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
819
|
-
store$1.get = store$1.get;
|
|
820
|
-
store$1.has = store$1.has;
|
|
821
|
-
store$1.set = store$1.set;
|
|
822
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
823
|
-
set = function (it, metadata) {
|
|
824
|
-
if (store$1.has(it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
825
|
-
metadata.facade = it;
|
|
826
|
-
store$1.set(it, metadata);
|
|
827
|
-
return metadata;
|
|
828
|
-
};
|
|
829
|
-
get = function (it) {
|
|
830
|
-
return store$1.get(it) || {};
|
|
831
|
-
};
|
|
832
|
-
has = function (it) {
|
|
833
|
-
return store$1.has(it);
|
|
834
|
-
};
|
|
835
|
-
} else {
|
|
836
|
-
var STATE = sharedKey$1('state');
|
|
837
|
-
hiddenKeys$1[STATE] = true;
|
|
838
|
-
set = function (it, metadata) {
|
|
839
|
-
if (hasOwn$9(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
840
|
-
metadata.facade = it;
|
|
841
|
-
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
842
|
-
return metadata;
|
|
843
|
-
};
|
|
844
|
-
get = function (it) {
|
|
845
|
-
return hasOwn$9(it, STATE) ? it[STATE] : {};
|
|
846
|
-
};
|
|
847
|
-
has = function (it) {
|
|
848
|
-
return hasOwn$9(it, STATE);
|
|
849
|
-
};
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
var internalState = {
|
|
853
|
-
set: set,
|
|
854
|
-
get: get,
|
|
855
|
-
has: has,
|
|
856
|
-
enforce: enforce,
|
|
857
|
-
getterFor: getterFor
|
|
858
|
-
};
|
|
859
|
-
|
|
860
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
861
|
-
|
|
862
|
-
var objectPropertyIsEnumerable = {};
|
|
863
|
-
|
|
864
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
865
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
866
|
-
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
867
|
-
|
|
868
|
-
// Nashorn ~ JDK8 bug
|
|
869
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
870
|
-
|
|
871
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
872
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
873
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
874
|
-
var descriptor = getOwnPropertyDescriptor$2(this, V);
|
|
875
|
-
return !!descriptor && descriptor.enumerable;
|
|
876
|
-
} : $propertyIsEnumerable;
|
|
877
|
-
|
|
878
|
-
var DESCRIPTORS$a = descriptors;
|
|
879
|
-
var call$a = functionCall;
|
|
880
|
-
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
881
|
-
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
882
|
-
var toIndexedObject$1 = toIndexedObject$5;
|
|
883
|
-
var toPropertyKey = toPropertyKey$2;
|
|
884
|
-
var hasOwn$8 = hasOwnProperty_1;
|
|
885
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
886
|
-
|
|
887
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
888
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
889
|
-
|
|
890
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
891
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
892
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
893
|
-
O = toIndexedObject$1(O);
|
|
894
|
-
P = toPropertyKey(P);
|
|
895
|
-
if (IE8_DOM_DEFINE) try {
|
|
896
|
-
return $getOwnPropertyDescriptor(O, P);
|
|
897
|
-
} catch (error) { /* empty */ }
|
|
898
|
-
if (hasOwn$8(O, P)) return createPropertyDescriptor$3(!call$a(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
899
|
-
};
|
|
900
|
-
|
|
901
|
-
var makeBuiltIn$3 = {exports: {}};
|
|
902
|
-
|
|
903
|
-
var DESCRIPTORS$9 = descriptors;
|
|
904
|
-
var hasOwn$7 = hasOwnProperty_1;
|
|
905
|
-
|
|
906
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
907
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
908
|
-
var getDescriptor = DESCRIPTORS$9 && Object.getOwnPropertyDescriptor;
|
|
909
|
-
|
|
910
|
-
var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
|
|
911
|
-
// additional protection from minified / mangled / dropped function names
|
|
912
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
913
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$9 || (DESCRIPTORS$9 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
914
|
-
|
|
915
|
-
var functionName = {
|
|
916
|
-
EXISTS: EXISTS,
|
|
917
|
-
PROPER: PROPER,
|
|
918
|
-
CONFIGURABLE: CONFIGURABLE
|
|
919
|
-
};
|
|
920
|
-
|
|
921
|
-
var uncurryThis$h = functionUncurryThis;
|
|
922
|
-
var isCallable$b = isCallable$i;
|
|
923
|
-
var store = sharedStoreExports;
|
|
924
|
-
|
|
925
|
-
var functionToString = uncurryThis$h(Function.toString);
|
|
926
|
-
|
|
927
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
928
|
-
if (!isCallable$b(store.inspectSource)) {
|
|
929
|
-
store.inspectSource = function (it) {
|
|
930
|
-
return functionToString(it);
|
|
931
|
-
};
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
var inspectSource$2 = store.inspectSource;
|
|
935
|
-
|
|
936
|
-
var uncurryThis$g = functionUncurryThis;
|
|
937
|
-
var fails$8 = fails$f;
|
|
938
|
-
var isCallable$a = isCallable$i;
|
|
939
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
940
|
-
var DESCRIPTORS$8 = descriptors;
|
|
941
|
-
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
942
|
-
var inspectSource$1 = inspectSource$2;
|
|
943
|
-
var InternalStateModule$4 = internalState;
|
|
944
|
-
|
|
945
|
-
var enforceInternalState = InternalStateModule$4.enforce;
|
|
946
|
-
var getInternalState$2 = InternalStateModule$4.get;
|
|
947
|
-
var $String$3 = String;
|
|
948
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
949
|
-
var defineProperty$4 = Object.defineProperty;
|
|
950
|
-
var stringSlice$3 = uncurryThis$g(''.slice);
|
|
951
|
-
var replace$4 = uncurryThis$g(''.replace);
|
|
952
|
-
var join$3 = uncurryThis$g([].join);
|
|
953
|
-
|
|
954
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$8(function () {
|
|
955
|
-
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
956
|
-
});
|
|
957
|
-
|
|
958
|
-
var TEMPLATE = String(String).split('String');
|
|
959
|
-
|
|
960
|
-
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
961
|
-
if (stringSlice$3($String$3(name), 0, 7) === 'Symbol(') {
|
|
962
|
-
name = '[' + replace$4($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
963
|
-
}
|
|
964
|
-
if (options && options.getter) name = 'get ' + name;
|
|
965
|
-
if (options && options.setter) name = 'set ' + name;
|
|
966
|
-
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
967
|
-
if (DESCRIPTORS$8) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
968
|
-
else value.name = name;
|
|
969
|
-
}
|
|
970
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
971
|
-
defineProperty$4(value, 'length', { value: options.arity });
|
|
972
|
-
}
|
|
973
|
-
try {
|
|
974
|
-
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
975
|
-
if (DESCRIPTORS$8) defineProperty$4(value, 'prototype', { writable: false });
|
|
976
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
977
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
978
|
-
} catch (error) { /* empty */ }
|
|
979
|
-
var state = enforceInternalState(value);
|
|
980
|
-
if (!hasOwn$6(state, 'source')) {
|
|
981
|
-
state.source = join$3(TEMPLATE, typeof name == 'string' ? name : '');
|
|
982
|
-
} return value;
|
|
983
|
-
};
|
|
984
|
-
|
|
985
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
986
|
-
// eslint-disable-next-line no-extend-native -- required
|
|
987
|
-
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
988
|
-
return isCallable$a(this) && getInternalState$2(this).source || inspectSource$1(this);
|
|
989
|
-
}, 'toString');
|
|
990
|
-
|
|
991
|
-
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
992
|
-
|
|
993
|
-
var isCallable$9 = isCallable$i;
|
|
994
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
995
|
-
var makeBuiltIn$1 = makeBuiltInExports;
|
|
996
|
-
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
997
|
-
|
|
998
|
-
var defineBuiltIn$9 = function (O, key, value, options) {
|
|
999
|
-
if (!options) options = {};
|
|
1000
|
-
var simple = options.enumerable;
|
|
1001
|
-
var name = options.name !== undefined ? options.name : key;
|
|
1002
|
-
if (isCallable$9(value)) makeBuiltIn$1(value, name, options);
|
|
1003
|
-
if (options.global) {
|
|
1004
|
-
if (simple) O[key] = value;
|
|
1005
|
-
else defineGlobalProperty$1(key, value);
|
|
1006
|
-
} else {
|
|
1007
|
-
try {
|
|
1008
|
-
if (!options.unsafe) delete O[key];
|
|
1009
|
-
else if (O[key]) simple = true;
|
|
1010
|
-
} catch (error) { /* empty */ }
|
|
1011
|
-
if (simple) O[key] = value;
|
|
1012
|
-
else definePropertyModule$2.f(O, key, {
|
|
1013
|
-
value: value,
|
|
1014
|
-
enumerable: false,
|
|
1015
|
-
configurable: !options.nonConfigurable,
|
|
1016
|
-
writable: !options.nonWritable
|
|
1017
|
-
});
|
|
1018
|
-
} return O;
|
|
1019
|
-
};
|
|
1020
|
-
|
|
1021
|
-
var objectGetOwnPropertyNames = {};
|
|
1022
|
-
|
|
1023
|
-
var internalObjectKeys = objectKeysInternal;
|
|
1024
|
-
var enumBugKeys = enumBugKeys$3;
|
|
1025
|
-
|
|
1026
|
-
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
1027
|
-
|
|
1028
|
-
// `Object.getOwnPropertyNames` method
|
|
1029
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1030
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
1031
|
-
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1032
|
-
return internalObjectKeys(O, hiddenKeys);
|
|
1033
|
-
};
|
|
1034
|
-
|
|
1035
|
-
var objectGetOwnPropertySymbols = {};
|
|
1036
|
-
|
|
1037
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1038
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1039
|
-
|
|
1040
|
-
var getBuiltIn$2 = getBuiltIn$5;
|
|
1041
|
-
var uncurryThis$f = functionUncurryThis;
|
|
1042
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1043
|
-
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1044
|
-
var anObject$6 = anObject$a;
|
|
1045
|
-
|
|
1046
|
-
var concat$1 = uncurryThis$f([].concat);
|
|
1047
|
-
|
|
1048
|
-
// all object keys, includes non-enumerable and symbols
|
|
1049
|
-
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1050
|
-
var keys = getOwnPropertyNamesModule.f(anObject$6(it));
|
|
1051
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1052
|
-
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
1053
|
-
};
|
|
1054
|
-
|
|
1055
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
1056
|
-
var ownKeys = ownKeys$1;
|
|
1057
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1058
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
1059
|
-
|
|
1060
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1061
|
-
var keys = ownKeys(source);
|
|
1062
|
-
var defineProperty = definePropertyModule$1.f;
|
|
1063
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1064
|
-
for (var i = 0; i < keys.length; i++) {
|
|
1065
|
-
var key = keys[i];
|
|
1066
|
-
if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {
|
|
1067
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
};
|
|
1071
|
-
|
|
1072
|
-
var fails$7 = fails$f;
|
|
1073
|
-
var isCallable$8 = isCallable$i;
|
|
1074
|
-
|
|
1075
|
-
var replacement = /#|\.prototype\./;
|
|
1076
|
-
|
|
1077
|
-
var isForced$1 = function (feature, detection) {
|
|
1078
|
-
var value = data[normalize(feature)];
|
|
1079
|
-
return value === POLYFILL ? true
|
|
1080
|
-
: value === NATIVE ? false
|
|
1081
|
-
: isCallable$8(detection) ? fails$7(detection)
|
|
1082
|
-
: !!detection;
|
|
1083
|
-
};
|
|
1084
|
-
|
|
1085
|
-
var normalize = isForced$1.normalize = function (string) {
|
|
1086
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
var data = isForced$1.data = {};
|
|
1090
|
-
var NATIVE = isForced$1.NATIVE = 'N';
|
|
1091
|
-
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
1092
|
-
|
|
1093
|
-
var isForced_1 = isForced$1;
|
|
1094
|
-
|
|
1095
|
-
var global$5 = global$e;
|
|
1096
|
-
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1097
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
1098
|
-
var defineBuiltIn$8 = defineBuiltIn$9;
|
|
1099
|
-
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1100
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1101
|
-
var isForced = isForced_1;
|
|
1102
|
-
|
|
1103
|
-
/*
|
|
1104
|
-
options.target - name of the target object
|
|
1105
|
-
options.global - target is the global object
|
|
1106
|
-
options.stat - export as static methods of target
|
|
1107
|
-
options.proto - export as prototype methods of target
|
|
1108
|
-
options.real - real prototype method for the `pure` version
|
|
1109
|
-
options.forced - export even if the native feature is available
|
|
1110
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
1111
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1112
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1113
|
-
options.sham - add a flag to not completely full polyfills
|
|
1114
|
-
options.enumerable - export as enumerable property
|
|
1115
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
1116
|
-
options.name - the .name of the function if it does not match the key
|
|
1117
|
-
*/
|
|
1118
|
-
var _export = function (options, source) {
|
|
1119
|
-
var TARGET = options.target;
|
|
1120
|
-
var GLOBAL = options.global;
|
|
1121
|
-
var STATIC = options.stat;
|
|
1122
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1123
|
-
if (GLOBAL) {
|
|
1124
|
-
target = global$5;
|
|
1125
|
-
} else if (STATIC) {
|
|
1126
|
-
target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1127
|
-
} else {
|
|
1128
|
-
target = global$5[TARGET] && global$5[TARGET].prototype;
|
|
1129
|
-
}
|
|
1130
|
-
if (target) for (key in source) {
|
|
1131
|
-
sourceProperty = source[key];
|
|
1132
|
-
if (options.dontCallGetSet) {
|
|
1133
|
-
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
1134
|
-
targetProperty = descriptor && descriptor.value;
|
|
1135
|
-
} else targetProperty = target[key];
|
|
1136
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1137
|
-
// contained in target
|
|
1138
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
1139
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1140
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1141
|
-
}
|
|
1142
|
-
// add a flag to not completely full polyfills
|
|
1143
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1144
|
-
createNonEnumerableProperty$2(sourceProperty, 'sham', true);
|
|
1145
|
-
}
|
|
1146
|
-
defineBuiltIn$8(target, key, sourceProperty, options);
|
|
1147
|
-
}
|
|
1148
|
-
};
|
|
1149
|
-
|
|
1150
|
-
var fails$6 = fails$f;
|
|
1151
|
-
|
|
1152
|
-
var correctPrototypeGetter = !fails$6(function () {
|
|
1153
|
-
function F() { /* empty */ }
|
|
1154
|
-
F.prototype.constructor = null;
|
|
1155
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1156
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1157
|
-
});
|
|
1158
|
-
|
|
1159
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
1160
|
-
var isCallable$7 = isCallable$i;
|
|
1161
|
-
var toObject$2 = toObject$4;
|
|
1162
|
-
var sharedKey = sharedKey$3;
|
|
1163
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1164
|
-
|
|
1165
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1166
|
-
var $Object$1 = Object;
|
|
1167
|
-
var ObjectPrototype = $Object$1.prototype;
|
|
1168
|
-
|
|
1169
|
-
// `Object.getPrototypeOf` method
|
|
1170
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1171
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1172
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1173
|
-
var object = toObject$2(O);
|
|
1174
|
-
if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
|
|
1175
|
-
var constructor = object.constructor;
|
|
1176
|
-
if (isCallable$7(constructor) && object instanceof constructor) {
|
|
1177
|
-
return constructor.prototype;
|
|
1178
|
-
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1179
|
-
};
|
|
1180
|
-
|
|
1181
|
-
var fails$5 = fails$f;
|
|
1182
|
-
var isCallable$6 = isCallable$i;
|
|
1183
|
-
var isObject$3 = isObject$9;
|
|
1184
|
-
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1185
|
-
var defineBuiltIn$7 = defineBuiltIn$9;
|
|
1186
|
-
var wellKnownSymbol$9 = wellKnownSymbol$c;
|
|
1187
|
-
|
|
1188
|
-
var ITERATOR$6 = wellKnownSymbol$9('iterator');
|
|
1189
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1190
|
-
|
|
1191
|
-
// `%IteratorPrototype%` object
|
|
1192
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1193
|
-
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1194
|
-
|
|
1195
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1196
|
-
if ([].keys) {
|
|
1197
|
-
arrayIterator = [].keys();
|
|
1198
|
-
// Safari 8 has buggy iterators w/o `next`
|
|
1199
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1200
|
-
else {
|
|
1201
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
1202
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$5(function () {
|
|
1207
|
-
var test = {};
|
|
1208
|
-
// FF44- legacy iterators case
|
|
1209
|
-
return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
|
|
1210
|
-
});
|
|
1211
|
-
|
|
1212
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
1213
|
-
|
|
1214
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
1215
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1216
|
-
if (!isCallable$6(IteratorPrototype$2[ITERATOR$6])) {
|
|
1217
|
-
defineBuiltIn$7(IteratorPrototype$2, ITERATOR$6, function () {
|
|
1218
|
-
return this;
|
|
1219
|
-
});
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
var iteratorsCore = {
|
|
1223
|
-
IteratorPrototype: IteratorPrototype$2,
|
|
1224
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1225
|
-
};
|
|
1226
|
-
|
|
1227
|
-
var defineProperty$3 = objectDefineProperty.f;
|
|
1228
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
1229
|
-
var wellKnownSymbol$8 = wellKnownSymbol$c;
|
|
1230
|
-
|
|
1231
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
|
|
1232
|
-
|
|
1233
|
-
var setToStringTag$5 = function (target, TAG, STATIC) {
|
|
1234
|
-
if (target && !STATIC) target = target.prototype;
|
|
1235
|
-
if (target && !hasOwn$3(target, TO_STRING_TAG$2)) {
|
|
1236
|
-
defineProperty$3(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
1239
|
-
|
|
1240
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1241
|
-
var create$1 = objectCreate;
|
|
1242
|
-
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
1243
|
-
var setToStringTag$4 = setToStringTag$5;
|
|
1244
|
-
var Iterators$4 = iterators;
|
|
1245
|
-
|
|
1246
|
-
var returnThis$1 = function () { return this; };
|
|
1247
|
-
|
|
1248
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1249
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1250
|
-
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor$2(+!ENUMERABLE_NEXT, next) });
|
|
1251
|
-
setToStringTag$4(IteratorConstructor, TO_STRING_TAG, false);
|
|
1252
|
-
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1253
|
-
return IteratorConstructor;
|
|
1254
|
-
};
|
|
1255
|
-
|
|
1256
|
-
var uncurryThis$e = functionUncurryThis;
|
|
1257
|
-
var aCallable$2 = aCallable$4;
|
|
1258
|
-
|
|
1259
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1260
|
-
try {
|
|
1261
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1262
|
-
return uncurryThis$e(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1263
|
-
} catch (error) { /* empty */ }
|
|
1264
|
-
};
|
|
1265
|
-
|
|
1266
|
-
var isObject$2 = isObject$9;
|
|
1267
|
-
|
|
1268
|
-
var isPossiblePrototype$1 = function (argument) {
|
|
1269
|
-
return isObject$2(argument) || argument === null;
|
|
1270
|
-
};
|
|
1271
|
-
|
|
1272
|
-
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1273
|
-
|
|
1274
|
-
var $String$2 = String;
|
|
1275
|
-
var $TypeError$3 = TypeError;
|
|
1276
|
-
|
|
1277
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
1278
|
-
if (isPossiblePrototype(argument)) return argument;
|
|
1279
|
-
throw new $TypeError$3("Can't set " + $String$2(argument) + ' as a prototype');
|
|
1280
|
-
};
|
|
1281
|
-
|
|
1282
|
-
/* eslint-disable no-proto -- safe */
|
|
1283
|
-
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1284
|
-
var isObject$1 = isObject$9;
|
|
1285
|
-
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
1286
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1287
|
-
|
|
1288
|
-
// `Object.setPrototypeOf` method
|
|
1289
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1290
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1291
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1292
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1293
|
-
var CORRECT_SETTER = false;
|
|
1294
|
-
var test = {};
|
|
1295
|
-
var setter;
|
|
1296
|
-
try {
|
|
1297
|
-
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
1298
|
-
setter(test, []);
|
|
1299
|
-
CORRECT_SETTER = test instanceof Array;
|
|
1300
|
-
} catch (error) { /* empty */ }
|
|
1301
|
-
return function setPrototypeOf(O, proto) {
|
|
1302
|
-
requireObjectCoercible$1(O);
|
|
1303
|
-
aPossiblePrototype(proto);
|
|
1304
|
-
if (!isObject$1(O)) return O;
|
|
1305
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
1306
|
-
else O.__proto__ = proto;
|
|
1307
|
-
return O;
|
|
1308
|
-
};
|
|
1309
|
-
}() : undefined);
|
|
1310
|
-
|
|
1311
|
-
var $$5 = _export;
|
|
1312
|
-
var call$9 = functionCall;
|
|
1313
|
-
var FunctionName = functionName;
|
|
1314
|
-
var isCallable$5 = isCallable$i;
|
|
1315
|
-
var createIteratorConstructor$1 = iteratorCreateConstructor;
|
|
1316
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1317
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
1318
|
-
var setToStringTag$3 = setToStringTag$5;
|
|
1319
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1320
|
-
var defineBuiltIn$6 = defineBuiltIn$9;
|
|
1321
|
-
var wellKnownSymbol$7 = wellKnownSymbol$c;
|
|
1322
|
-
var Iterators$3 = iterators;
|
|
1323
|
-
var IteratorsCore = iteratorsCore;
|
|
1324
|
-
|
|
1325
|
-
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1326
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1327
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1328
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1329
|
-
var ITERATOR$5 = wellKnownSymbol$7('iterator');
|
|
1330
|
-
var KEYS = 'keys';
|
|
1331
|
-
var VALUES = 'values';
|
|
1332
|
-
var ENTRIES = 'entries';
|
|
1333
|
-
|
|
1334
|
-
var returnThis = function () { return this; };
|
|
1335
|
-
|
|
1336
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
1337
|
-
createIteratorConstructor$1(IteratorConstructor, NAME, next);
|
|
1338
|
-
|
|
1339
|
-
var getIterationMethod = function (KIND) {
|
|
1340
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1341
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1342
|
-
|
|
1343
|
-
switch (KIND) {
|
|
1344
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1345
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1346
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
return function () { return new IteratorConstructor(this); };
|
|
1350
|
-
};
|
|
1351
|
-
|
|
1352
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1353
|
-
var INCORRECT_VALUES_NAME = false;
|
|
1354
|
-
var IterablePrototype = Iterable.prototype;
|
|
1355
|
-
var nativeIterator = IterablePrototype[ITERATOR$5]
|
|
1356
|
-
|| IterablePrototype['@@iterator']
|
|
1357
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1358
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1359
|
-
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1360
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
1361
|
-
|
|
1362
|
-
// fix native
|
|
1363
|
-
if (anyNativeIterator) {
|
|
1364
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1365
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1366
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1367
|
-
if (setPrototypeOf) {
|
|
1368
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1369
|
-
} else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
1370
|
-
defineBuiltIn$6(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
1371
|
-
}
|
|
1372
|
-
}
|
|
1373
|
-
// Set @@toStringTag to native iterators
|
|
1374
|
-
setToStringTag$3(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1379
|
-
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1380
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1381
|
-
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
1382
|
-
} else {
|
|
1383
|
-
INCORRECT_VALUES_NAME = true;
|
|
1384
|
-
defaultIterator = function values() { return call$9(nativeIterator, this); };
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
// export additional methods
|
|
1389
|
-
if (DEFAULT) {
|
|
1390
|
-
methods = {
|
|
1391
|
-
values: getIterationMethod(VALUES),
|
|
1392
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1393
|
-
entries: getIterationMethod(ENTRIES)
|
|
1394
|
-
};
|
|
1395
|
-
if (FORCED) for (KEY in methods) {
|
|
1396
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1397
|
-
defineBuiltIn$6(IterablePrototype, KEY, methods[KEY]);
|
|
1398
|
-
}
|
|
1399
|
-
} else $$5({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
// define iterator
|
|
1403
|
-
if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
|
|
1404
|
-
defineBuiltIn$6(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
|
|
1405
|
-
}
|
|
1406
|
-
Iterators$3[NAME] = defaultIterator;
|
|
1407
|
-
|
|
1408
|
-
return methods;
|
|
1409
|
-
};
|
|
1410
|
-
|
|
1411
|
-
// `CreateIterResultObject` abstract operation
|
|
1412
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1413
|
-
var createIterResultObject$3 = function (value, done) {
|
|
1414
|
-
return { value: value, done: done };
|
|
1415
|
-
};
|
|
1416
|
-
|
|
1417
|
-
var toIndexedObject = toIndexedObject$5;
|
|
1418
|
-
var addToUnscopables = addToUnscopables$1;
|
|
1419
|
-
var Iterators$2 = iterators;
|
|
1420
|
-
var InternalStateModule$3 = internalState;
|
|
1421
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
1422
|
-
var defineIterator$1 = iteratorDefine;
|
|
1423
|
-
var createIterResultObject$2 = createIterResultObject$3;
|
|
1424
|
-
var DESCRIPTORS$7 = descriptors;
|
|
1425
|
-
|
|
1426
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1427
|
-
var setInternalState$3 = InternalStateModule$3.set;
|
|
1428
|
-
var getInternalState$1 = InternalStateModule$3.getterFor(ARRAY_ITERATOR);
|
|
1429
|
-
|
|
1430
|
-
// `Array.prototype.entries` method
|
|
1431
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
1432
|
-
// `Array.prototype.keys` method
|
|
1433
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
1434
|
-
// `Array.prototype.values` method
|
|
1435
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
1436
|
-
// `Array.prototype[@@iterator]` method
|
|
1437
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
1438
|
-
// `CreateArrayIterator` internal method
|
|
1439
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1440
|
-
var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
|
|
1441
|
-
setInternalState$3(this, {
|
|
1442
|
-
type: ARRAY_ITERATOR,
|
|
1443
|
-
target: toIndexedObject(iterated), // target
|
|
1444
|
-
index: 0, // next index
|
|
1445
|
-
kind: kind // kind
|
|
1446
|
-
});
|
|
1447
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
1448
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
1449
|
-
}, function () {
|
|
1450
|
-
var state = getInternalState$1(this);
|
|
1451
|
-
var target = state.target;
|
|
1452
|
-
var index = state.index++;
|
|
1453
|
-
if (!target || index >= target.length) {
|
|
1454
|
-
state.target = undefined;
|
|
1455
|
-
return createIterResultObject$2(undefined, true);
|
|
1456
|
-
}
|
|
1457
|
-
switch (state.kind) {
|
|
1458
|
-
case 'keys': return createIterResultObject$2(index, false);
|
|
1459
|
-
case 'values': return createIterResultObject$2(target[index], false);
|
|
1460
|
-
} return createIterResultObject$2([index, target[index]], false);
|
|
1461
|
-
}, 'values');
|
|
1462
|
-
|
|
1463
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1464
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1465
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1466
|
-
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
1467
|
-
|
|
1468
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1469
|
-
addToUnscopables('keys');
|
|
1470
|
-
addToUnscopables('values');
|
|
1471
|
-
addToUnscopables('entries');
|
|
1472
|
-
|
|
1473
|
-
// V8 ~ Chrome 45- bug
|
|
1474
|
-
if (DESCRIPTORS$7 && values.name !== 'values') try {
|
|
1475
|
-
defineProperty$2(values, 'name', { value: 'values' });
|
|
1476
|
-
} catch (error) { /* empty */ }
|
|
1477
|
-
|
|
1478
|
-
var DESCRIPTORS$6 = descriptors;
|
|
1479
|
-
var uncurryThis$d = functionUncurryThis;
|
|
1480
|
-
var call$8 = functionCall;
|
|
1481
|
-
var fails$4 = fails$f;
|
|
1482
|
-
var objectKeys = objectKeys$2;
|
|
1483
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1484
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1485
|
-
var toObject$1 = toObject$4;
|
|
1486
|
-
var IndexedObject = indexedObject;
|
|
1487
|
-
|
|
1488
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1489
|
-
var $assign = Object.assign;
|
|
1490
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1491
|
-
var defineProperty$1 = Object.defineProperty;
|
|
1492
|
-
var concat = uncurryThis$d([].concat);
|
|
1493
|
-
|
|
1494
|
-
// `Object.assign` method
|
|
1495
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1496
|
-
var objectAssign = !$assign || fails$4(function () {
|
|
1497
|
-
// should have correct order of operations (Edge bug)
|
|
1498
|
-
if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
1499
|
-
enumerable: true,
|
|
1500
|
-
get: function () {
|
|
1501
|
-
defineProperty$1(this, 'b', {
|
|
1502
|
-
value: 3,
|
|
1503
|
-
enumerable: false
|
|
1504
|
-
});
|
|
1505
|
-
}
|
|
1506
|
-
}), { b: 2 })).b !== 1) return true;
|
|
1507
|
-
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1508
|
-
var A = {};
|
|
1509
|
-
var B = {};
|
|
1510
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
|
1511
|
-
var symbol = Symbol('assign detection');
|
|
1512
|
-
var alphabet = 'abcdefghijklmnopqrst';
|
|
1513
|
-
A[symbol] = 7;
|
|
1514
|
-
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1515
|
-
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1516
|
-
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1517
|
-
var T = toObject$1(target);
|
|
1518
|
-
var argumentsLength = arguments.length;
|
|
1519
|
-
var index = 1;
|
|
1520
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1521
|
-
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1522
|
-
while (argumentsLength > index) {
|
|
1523
|
-
var S = IndexedObject(arguments[index++]);
|
|
1524
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1525
|
-
var length = keys.length;
|
|
1526
|
-
var j = 0;
|
|
1527
|
-
var key;
|
|
1528
|
-
while (length > j) {
|
|
1529
|
-
key = keys[j++];
|
|
1530
|
-
if (!DESCRIPTORS$6 || call$8(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1531
|
-
}
|
|
1532
|
-
} return T;
|
|
1533
|
-
} : $assign;
|
|
1534
|
-
|
|
1535
|
-
var $$4 = _export;
|
|
1536
|
-
var assign$1 = objectAssign;
|
|
1537
|
-
|
|
1538
|
-
// `Object.assign` method
|
|
1539
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1540
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1541
|
-
$$4({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
|
1542
|
-
assign: assign$1
|
|
1543
|
-
});
|
|
1544
|
-
|
|
1545
|
-
// iterable DOM collections
|
|
1546
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1547
|
-
var domIterables = {
|
|
1548
|
-
CSSRuleList: 0,
|
|
1549
|
-
CSSStyleDeclaration: 0,
|
|
1550
|
-
CSSValueList: 0,
|
|
1551
|
-
ClientRectList: 0,
|
|
1552
|
-
DOMRectList: 0,
|
|
1553
|
-
DOMStringList: 0,
|
|
1554
|
-
DOMTokenList: 1,
|
|
1555
|
-
DataTransferItemList: 0,
|
|
1556
|
-
FileList: 0,
|
|
1557
|
-
HTMLAllCollection: 0,
|
|
1558
|
-
HTMLCollection: 0,
|
|
1559
|
-
HTMLFormElement: 0,
|
|
1560
|
-
HTMLSelectElement: 0,
|
|
1561
|
-
MediaList: 0,
|
|
1562
|
-
MimeTypeArray: 0,
|
|
1563
|
-
NamedNodeMap: 0,
|
|
1564
|
-
NodeList: 1,
|
|
1565
|
-
PaintRequestList: 0,
|
|
1566
|
-
Plugin: 0,
|
|
1567
|
-
PluginArray: 0,
|
|
1568
|
-
SVGLengthList: 0,
|
|
1569
|
-
SVGNumberList: 0,
|
|
1570
|
-
SVGPathSegList: 0,
|
|
1571
|
-
SVGPointList: 0,
|
|
1572
|
-
SVGStringList: 0,
|
|
1573
|
-
SVGTransformList: 0,
|
|
1574
|
-
SourceBufferList: 0,
|
|
1575
|
-
StyleSheetList: 0,
|
|
1576
|
-
TextTrackCueList: 0,
|
|
1577
|
-
TextTrackList: 0,
|
|
1578
|
-
TouchList: 0
|
|
1579
|
-
};
|
|
1580
|
-
|
|
1581
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
1582
|
-
var documentCreateElement = documentCreateElement$2;
|
|
1583
|
-
|
|
1584
|
-
var classList = documentCreateElement('span').classList;
|
|
1585
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
1586
|
-
|
|
1587
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1588
|
-
|
|
1589
|
-
var global$4 = global$e;
|
|
1590
|
-
var DOMIterables = domIterables;
|
|
1591
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1592
|
-
var ArrayIteratorMethods = es_array_iterator;
|
|
1593
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1594
|
-
var setToStringTag$2 = setToStringTag$5;
|
|
1595
|
-
var wellKnownSymbol$6 = wellKnownSymbol$c;
|
|
1596
|
-
|
|
1597
|
-
var ITERATOR$4 = wellKnownSymbol$6('iterator');
|
|
1598
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
|
1599
|
-
|
|
1600
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1601
|
-
if (CollectionPrototype) {
|
|
1602
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1603
|
-
if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
|
|
1604
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR$4, ArrayValues);
|
|
1605
|
-
} catch (error) {
|
|
1606
|
-
CollectionPrototype[ITERATOR$4] = ArrayValues;
|
|
1607
|
-
}
|
|
1608
|
-
setToStringTag$2(CollectionPrototype, COLLECTION_NAME, true);
|
|
1609
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1610
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1611
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1612
|
-
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1613
|
-
} catch (error) {
|
|
1614
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
};
|
|
1619
|
-
|
|
1620
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
|
1621
|
-
handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1625
|
-
|
|
1626
10
|
/**
|
|
1627
11
|
* Custom Hook to handle the DotCMS editor interaction with the page.
|
|
1628
12
|
*
|
|
@@ -1666,12 +50,13 @@ const useDotcmsEditor = ({
|
|
|
1666
50
|
*/
|
|
1667
51
|
useEffect(() => {
|
|
1668
52
|
const insideEditor = isInsideEditor();
|
|
1669
|
-
const client = DotCmsClient.instance;
|
|
1670
53
|
if (!insideEditor || !onReload) {
|
|
1671
54
|
return;
|
|
1672
55
|
}
|
|
1673
|
-
|
|
1674
|
-
|
|
56
|
+
const {
|
|
57
|
+
unsubscribe
|
|
58
|
+
} = createUVESubscription('changes', () => onReload());
|
|
59
|
+
return () => unsubscribe();
|
|
1675
60
|
}, [onReload]);
|
|
1676
61
|
/**
|
|
1677
62
|
* Sends a message to the editor when the client is ready.
|
|
@@ -1686,20 +71,21 @@ const useDotcmsEditor = ({
|
|
|
1686
71
|
});
|
|
1687
72
|
}, [pathname, editor]);
|
|
1688
73
|
/**
|
|
1689
|
-
*
|
|
74
|
+
* Old
|
|
1690
75
|
*/
|
|
1691
76
|
useEffect(() => {
|
|
1692
77
|
if (!isInsideEditor()) {
|
|
1693
78
|
return;
|
|
1694
79
|
}
|
|
1695
|
-
const
|
|
1696
|
-
|
|
80
|
+
const {
|
|
81
|
+
unsubscribe
|
|
82
|
+
} = createUVESubscription('changes', data => {
|
|
1697
83
|
const pageAsset = data;
|
|
1698
84
|
setState(state => Object.assign({}, state, {
|
|
1699
85
|
pageAsset
|
|
1700
86
|
}));
|
|
1701
87
|
});
|
|
1702
|
-
return () =>
|
|
88
|
+
return () => unsubscribe();
|
|
1703
89
|
}, []);
|
|
1704
90
|
return state;
|
|
1705
91
|
};
|
|
@@ -1730,39 +116,12 @@ function PageProvider(props) {
|
|
|
1730
116
|
});
|
|
1731
117
|
}
|
|
1732
118
|
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
var insertAt = ref.insertAt;
|
|
1736
|
-
|
|
1737
|
-
if (!css || typeof document === 'undefined') { return; }
|
|
1738
|
-
|
|
1739
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
1740
|
-
var style = document.createElement('style');
|
|
1741
|
-
style.type = 'text/css';
|
|
1742
|
-
|
|
1743
|
-
if (insertAt === 'top') {
|
|
1744
|
-
if (head.firstChild) {
|
|
1745
|
-
head.insertBefore(style, head.firstChild);
|
|
1746
|
-
} else {
|
|
1747
|
-
head.appendChild(style);
|
|
1748
|
-
}
|
|
1749
|
-
} else {
|
|
1750
|
-
head.appendChild(style);
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
if (style.styleSheet) {
|
|
1754
|
-
style.styleSheet.cssText = css;
|
|
1755
|
-
} else {
|
|
1756
|
-
style.appendChild(document.createTextNode(css));
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
var css_248z$1 = ".Row-module_row__5JPdv {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n gap: 1rem;\n}\n";
|
|
1761
|
-
var styles$1 = {"row":"Row-module_row__5JPdv"};
|
|
119
|
+
var css_248z$1 = ".Row-module_row__1QEdR {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n gap: 1rem;\n}\n";
|
|
120
|
+
var styles$1 = {"row":"Row-module_row__1QEdR"};
|
|
1762
121
|
styleInject(css_248z$1);
|
|
1763
122
|
|
|
1764
|
-
var css_248z = ".Column-module_col-start-
|
|
1765
|
-
var styles = {"col-start-1":"Column-module_col-start-
|
|
123
|
+
var css_248z = ".Column-module_col-start-1__pAqyF {\n grid-column-start: 1;\n}\n\n.Column-module_col-start-2__WwVhl {\n grid-column-start: 2;\n}\n\n.Column-module_col-start-3__DAtqM {\n grid-column-start: 3;\n}\n\n.Column-module_col-start-4__KAXJl {\n grid-column-start: 4;\n}\n\n.Column-module_col-start-5__9yg8H {\n grid-column-start: 5;\n}\n\n.Column-module_col-start-6__L9Fl1 {\n grid-column-start: 6;\n}\n\n.Column-module_col-start-7__7GWMg {\n grid-column-start: 7;\n}\n\n.Column-module_col-start-8__VPNje {\n grid-column-start: 8;\n}\n\n.Column-module_col-start-9__TQinR {\n grid-column-start: 9;\n}\n\n.Column-module_col-start-10__WuD2n {\n grid-column-start: 10;\n}\n\n.Column-module_col-start-11__ZYzHu {\n grid-column-start: 11;\n}\n\n.Column-module_col-start-12__XupQX {\n grid-column-start: 12;\n}\n\n.Column-module_col-end-1__thNVg {\n grid-column-end: 1;\n}\n\n.Column-module_col-end-2__7vCsE {\n grid-column-end: 2;\n}\n\n.Column-module_col-end-3__TiQJe {\n grid-column-end: 3;\n}\n\n.Column-module_col-end-4__66z6K {\n grid-column-end: 4;\n}\n\n.Column-module_col-end-5__MLwPh {\n grid-column-end: 5;\n}\n\n.Column-module_col-end-6__dz6-q {\n grid-column-end: 6;\n}\n\n.Column-module_col-end-7__Loe0Q {\n grid-column-end: 7;\n}\n\n.Column-module_col-end-8__NePGi {\n grid-column-end: 8;\n}\n\n.Column-module_col-end-9__V0-is {\n grid-column-end: 9;\n}\n\n.Column-module_col-end-10__b-1ia {\n grid-column-end: 10;\n}\n\n.Column-module_col-end-11__QroWM {\n grid-column-end: 11;\n}\n\n.Column-module_col-end-12__j-YYw {\n grid-column-end: 12;\n}\n\n.Column-module_col-end-13__khBAA {\n grid-column-end: 13;\n}\n";
|
|
124
|
+
var styles = {"col-start-1":"Column-module_col-start-1__pAqyF","col-start-2":"Column-module_col-start-2__WwVhl","col-start-3":"Column-module_col-start-3__DAtqM","col-start-4":"Column-module_col-start-4__KAXJl","col-start-5":"Column-module_col-start-5__9yg8H","col-start-6":"Column-module_col-start-6__L9Fl1","col-start-7":"Column-module_col-start-7__7GWMg","col-start-8":"Column-module_col-start-8__VPNje","col-start-9":"Column-module_col-start-9__TQinR","col-start-10":"Column-module_col-start-10__WuD2n","col-start-11":"Column-module_col-start-11__ZYzHu","col-start-12":"Column-module_col-start-12__XupQX","col-end-1":"Column-module_col-end-1__thNVg","col-end-2":"Column-module_col-end-2__7vCsE","col-end-3":"Column-module_col-end-3__TiQJe","col-end-4":"Column-module_col-end-4__66z6K","col-end-5":"Column-module_col-end-5__MLwPh","col-end-6":"Column-module_col-end-6__dz6-q","col-end-7":"Column-module_col-end-7__Loe0Q","col-end-8":"Column-module_col-end-8__NePGi","col-end-9":"Column-module_col-end-9__V0-is","col-end-10":"Column-module_col-end-10__b-1ia","col-end-11":"Column-module_col-end-11__QroWM","col-end-12":"Column-module_col-end-12__j-YYw","col-end-13":"Column-module_col-end-13__khBAA"};
|
|
1766
125
|
styleInject(css_248z);
|
|
1767
126
|
|
|
1768
127
|
const endClassMap = {
|
|
@@ -1894,181 +253,6 @@ const isValidBlocks = blocks => {
|
|
|
1894
253
|
};
|
|
1895
254
|
};
|
|
1896
255
|
|
|
1897
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
1898
|
-
|
|
1899
|
-
var FunctionPrototype = Function.prototype;
|
|
1900
|
-
var apply$1 = FunctionPrototype.apply;
|
|
1901
|
-
var call$7 = FunctionPrototype.call;
|
|
1902
|
-
|
|
1903
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
1904
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$1) : function () {
|
|
1905
|
-
return call$7.apply(apply$1, arguments);
|
|
1906
|
-
});
|
|
1907
|
-
|
|
1908
|
-
var uncurryThis$c = functionUncurryThis;
|
|
1909
|
-
|
|
1910
|
-
var arraySlice$3 = uncurryThis$c([].slice);
|
|
1911
|
-
|
|
1912
|
-
var classof$6 = classofRaw$2;
|
|
1913
|
-
|
|
1914
|
-
// `IsArray` abstract operation
|
|
1915
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
1916
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1917
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
1918
|
-
return classof$6(argument) === 'Array';
|
|
1919
|
-
};
|
|
1920
|
-
|
|
1921
|
-
var wellKnownSymbol$5 = wellKnownSymbol$c;
|
|
1922
|
-
|
|
1923
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
1924
|
-
var test = {};
|
|
1925
|
-
|
|
1926
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
1927
|
-
|
|
1928
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
1929
|
-
|
|
1930
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1931
|
-
var isCallable$4 = isCallable$i;
|
|
1932
|
-
var classofRaw$1 = classofRaw$2;
|
|
1933
|
-
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
1934
|
-
|
|
1935
|
-
var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
|
|
1936
|
-
var $Object = Object;
|
|
1937
|
-
|
|
1938
|
-
// ES3 wrong here
|
|
1939
|
-
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1940
|
-
|
|
1941
|
-
// fallback for IE11 Script Access Denied error
|
|
1942
|
-
var tryGet = function (it, key) {
|
|
1943
|
-
try {
|
|
1944
|
-
return it[key];
|
|
1945
|
-
} catch (error) { /* empty */ }
|
|
1946
|
-
};
|
|
1947
|
-
|
|
1948
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
1949
|
-
var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1950
|
-
var O, tag, result;
|
|
1951
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1952
|
-
// @@toStringTag case
|
|
1953
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1954
|
-
// builtinTag case
|
|
1955
|
-
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1956
|
-
// ES3 arguments fallback
|
|
1957
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
|
|
1958
|
-
};
|
|
1959
|
-
|
|
1960
|
-
var classof$4 = classof$5;
|
|
1961
|
-
|
|
1962
|
-
var $String$1 = String;
|
|
1963
|
-
|
|
1964
|
-
var toString$5 = function (argument) {
|
|
1965
|
-
if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1966
|
-
return $String$1(argument);
|
|
1967
|
-
};
|
|
1968
|
-
|
|
1969
|
-
var uncurryThis$b = functionUncurryThis;
|
|
1970
|
-
var isArray = isArray$1;
|
|
1971
|
-
var isCallable$3 = isCallable$i;
|
|
1972
|
-
var classof$3 = classofRaw$2;
|
|
1973
|
-
var toString$4 = toString$5;
|
|
1974
|
-
|
|
1975
|
-
var push$4 = uncurryThis$b([].push);
|
|
1976
|
-
|
|
1977
|
-
var getJsonReplacerFunction = function (replacer) {
|
|
1978
|
-
if (isCallable$3(replacer)) return replacer;
|
|
1979
|
-
if (!isArray(replacer)) return;
|
|
1980
|
-
var rawLength = replacer.length;
|
|
1981
|
-
var keys = [];
|
|
1982
|
-
for (var i = 0; i < rawLength; i++) {
|
|
1983
|
-
var element = replacer[i];
|
|
1984
|
-
if (typeof element == 'string') push$4(keys, element);
|
|
1985
|
-
else if (typeof element == 'number' || classof$3(element) === 'Number' || classof$3(element) === 'String') push$4(keys, toString$4(element));
|
|
1986
|
-
}
|
|
1987
|
-
var keysLength = keys.length;
|
|
1988
|
-
var root = true;
|
|
1989
|
-
return function (key, value) {
|
|
1990
|
-
if (root) {
|
|
1991
|
-
root = false;
|
|
1992
|
-
return value;
|
|
1993
|
-
}
|
|
1994
|
-
if (isArray(this)) return value;
|
|
1995
|
-
for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
|
|
1996
|
-
};
|
|
1997
|
-
};
|
|
1998
|
-
|
|
1999
|
-
var $$3 = _export;
|
|
2000
|
-
var getBuiltIn$1 = getBuiltIn$5;
|
|
2001
|
-
var apply = functionApply;
|
|
2002
|
-
var call$6 = functionCall;
|
|
2003
|
-
var uncurryThis$a = functionUncurryThis;
|
|
2004
|
-
var fails$3 = fails$f;
|
|
2005
|
-
var isCallable$2 = isCallable$i;
|
|
2006
|
-
var isSymbol = isSymbol$3;
|
|
2007
|
-
var arraySlice$2 = arraySlice$3;
|
|
2008
|
-
var getReplacerFunction = getJsonReplacerFunction;
|
|
2009
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
2010
|
-
|
|
2011
|
-
var $String = String;
|
|
2012
|
-
var $stringify = getBuiltIn$1('JSON', 'stringify');
|
|
2013
|
-
var exec$3 = uncurryThis$a(/./.exec);
|
|
2014
|
-
var charAt$4 = uncurryThis$a(''.charAt);
|
|
2015
|
-
var charCodeAt$2 = uncurryThis$a(''.charCodeAt);
|
|
2016
|
-
var replace$3 = uncurryThis$a(''.replace);
|
|
2017
|
-
var numberToString$1 = uncurryThis$a(1.0.toString);
|
|
2018
|
-
|
|
2019
|
-
var tester = /[\uD800-\uDFFF]/g;
|
|
2020
|
-
var low = /^[\uD800-\uDBFF]$/;
|
|
2021
|
-
var hi = /^[\uDC00-\uDFFF]$/;
|
|
2022
|
-
|
|
2023
|
-
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$3(function () {
|
|
2024
|
-
var symbol = getBuiltIn$1('Symbol')('stringify detection');
|
|
2025
|
-
// MS Edge converts symbol values to JSON as {}
|
|
2026
|
-
return $stringify([symbol]) !== '[null]'
|
|
2027
|
-
// WebKit converts symbol values to JSON as null
|
|
2028
|
-
|| $stringify({ a: symbol }) !== '{}'
|
|
2029
|
-
// V8 throws on boxed symbols
|
|
2030
|
-
|| $stringify(Object(symbol)) !== '{}';
|
|
2031
|
-
});
|
|
2032
|
-
|
|
2033
|
-
// https://github.com/tc39/proposal-well-formed-stringify
|
|
2034
|
-
var ILL_FORMED_UNICODE = fails$3(function () {
|
|
2035
|
-
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|
|
2036
|
-
|| $stringify('\uDEAD') !== '"\\udead"';
|
|
2037
|
-
});
|
|
2038
|
-
|
|
2039
|
-
var stringifyWithSymbolsFix = function (it, replacer) {
|
|
2040
|
-
var args = arraySlice$2(arguments);
|
|
2041
|
-
var $replacer = getReplacerFunction(replacer);
|
|
2042
|
-
if (!isCallable$2($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
|
2043
|
-
args[1] = function (key, value) {
|
|
2044
|
-
// some old implementations (like WebKit) could pass numbers as keys
|
|
2045
|
-
if (isCallable$2($replacer)) value = call$6($replacer, this, $String(key), value);
|
|
2046
|
-
if (!isSymbol(value)) return value;
|
|
2047
|
-
};
|
|
2048
|
-
return apply($stringify, null, args);
|
|
2049
|
-
};
|
|
2050
|
-
|
|
2051
|
-
var fixIllFormed = function (match, offset, string) {
|
|
2052
|
-
var prev = charAt$4(string, offset - 1);
|
|
2053
|
-
var next = charAt$4(string, offset + 1);
|
|
2054
|
-
if ((exec$3(low, match) && !exec$3(hi, next)) || (exec$3(hi, match) && !exec$3(low, prev))) {
|
|
2055
|
-
return '\\u' + numberToString$1(charCodeAt$2(match, 0), 16);
|
|
2056
|
-
} return match;
|
|
2057
|
-
};
|
|
2058
|
-
|
|
2059
|
-
if ($stringify) {
|
|
2060
|
-
// `JSON.stringify` method
|
|
2061
|
-
// https://tc39.es/ecma262/#sec-json.stringify
|
|
2062
|
-
$$3({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
2063
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2064
|
-
stringify: function stringify(it, replacer, space) {
|
|
2065
|
-
var args = arraySlice$2(arguments);
|
|
2066
|
-
var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
|
|
2067
|
-
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$3(result, tester, fixIllFormed) : result;
|
|
2068
|
-
}
|
|
2069
|
-
});
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
256
|
const useCheckHaveContent = () => {
|
|
2073
257
|
const contentletDivRef = useRef(null);
|
|
2074
258
|
const [haveContent, setHaveContent] = useState(false);
|
|
@@ -2186,7 +370,7 @@ function Container({
|
|
|
2186
370
|
minHeight: haveContent ? undefined : '4rem'
|
|
2187
371
|
},
|
|
2188
372
|
children: jsx(Component, Object.assign({}, contentlet))
|
|
2189
|
-
}, contentlet.identifier) : (/*#__PURE__*/createElement
|
|
373
|
+
}, contentlet.identifier) : (/*#__PURE__*/createElement(Component, Object.assign({}, contentlet, {
|
|
2190
374
|
key: contentlet.identifier
|
|
2191
375
|
})));
|
|
2192
376
|
});
|
|
@@ -2281,6 +465,7 @@ const Row = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2281
465
|
* @category Components
|
|
2282
466
|
* @param {DotcmsPageProps} props - The properties for the DotCMS page.
|
|
2283
467
|
* @returns {JSX.Element} - A JSX element that represents the layout for a DotCMS page.
|
|
468
|
+
* @deprecated Use {@link https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/react/src/lib/next/components/DotCMSLayoutBody/DotCMSLayoutBody.tsx DotCMSLayoutBody} instead.
|
|
2284
469
|
*/
|
|
2285
470
|
function DotcmsLayout(dotPageProps) {
|
|
2286
471
|
var _pageContext$pageAsse;
|
|
@@ -2293,67 +478,10 @@ function DotcmsLayout(dotPageProps) {
|
|
|
2293
478
|
});
|
|
2294
479
|
}
|
|
2295
480
|
|
|
2296
|
-
var anObject$5 = anObject$a;
|
|
2297
|
-
|
|
2298
|
-
// `RegExp.prototype.flags` getter implementation
|
|
2299
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2300
|
-
var regexpFlags = function () {
|
|
2301
|
-
var that = anObject$5(this);
|
|
2302
|
-
var result = '';
|
|
2303
|
-
if (that.hasIndices) result += 'd';
|
|
2304
|
-
if (that.global) result += 'g';
|
|
2305
|
-
if (that.ignoreCase) result += 'i';
|
|
2306
|
-
if (that.multiline) result += 'm';
|
|
2307
|
-
if (that.dotAll) result += 's';
|
|
2308
|
-
if (that.unicode) result += 'u';
|
|
2309
|
-
if (that.unicodeSets) result += 'v';
|
|
2310
|
-
if (that.sticky) result += 'y';
|
|
2311
|
-
return result;
|
|
2312
|
-
};
|
|
2313
|
-
|
|
2314
|
-
var call$5 = functionCall;
|
|
2315
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
2316
|
-
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2317
|
-
var regExpFlags = regexpFlags;
|
|
2318
|
-
|
|
2319
|
-
var RegExpPrototype$1 = RegExp.prototype;
|
|
2320
|
-
|
|
2321
|
-
var regexpGetFlags = function (R) {
|
|
2322
|
-
var flags = R.flags;
|
|
2323
|
-
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$2(R, 'flags') && isPrototypeOf$1(RegExpPrototype$1, R)
|
|
2324
|
-
? call$5(regExpFlags, R) : flags;
|
|
2325
|
-
};
|
|
2326
|
-
|
|
2327
|
-
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
2328
|
-
var defineBuiltIn$5 = defineBuiltIn$9;
|
|
2329
|
-
var anObject$4 = anObject$a;
|
|
2330
|
-
var $toString$2 = toString$5;
|
|
2331
|
-
var fails$2 = fails$f;
|
|
2332
|
-
var getRegExpFlags = regexpGetFlags;
|
|
2333
|
-
|
|
2334
|
-
var TO_STRING = 'toString';
|
|
2335
|
-
var RegExpPrototype = RegExp.prototype;
|
|
2336
|
-
var nativeToString = RegExpPrototype[TO_STRING];
|
|
2337
|
-
|
|
2338
|
-
var NOT_GENERIC = fails$2(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
2339
|
-
// FF44- RegExp#toString has a wrong name
|
|
2340
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
2341
|
-
|
|
2342
|
-
// `RegExp.prototype.toString` method
|
|
2343
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2344
|
-
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2345
|
-
defineBuiltIn$5(RegExpPrototype, TO_STRING, function toString() {
|
|
2346
|
-
var R = anObject$4(this);
|
|
2347
|
-
var pattern = $toString$2(R.source);
|
|
2348
|
-
var flags = $toString$2(getRegExpFlags(R));
|
|
2349
|
-
return '/' + pattern + '/' + flags;
|
|
2350
|
-
}, { unsafe: true });
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
481
|
var uncurryThis$9 = functionUncurryThis;
|
|
2354
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$
|
|
2355
|
-
var toString$3 = toString$
|
|
2356
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
482
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$1;
|
|
483
|
+
var toString$3 = toString$4;
|
|
484
|
+
var requireObjectCoercible = requireObjectCoercible$1;
|
|
2357
485
|
|
|
2358
486
|
var charAt$3 = uncurryThis$9(''.charAt);
|
|
2359
487
|
var charCodeAt$1 = uncurryThis$9(''.charCodeAt);
|
|
@@ -2388,10 +516,10 @@ var stringMultibyte = {
|
|
|
2388
516
|
};
|
|
2389
517
|
|
|
2390
518
|
var charAt$2 = stringMultibyte.charAt;
|
|
2391
|
-
var toString$2 = toString$
|
|
519
|
+
var toString$2 = toString$4;
|
|
2392
520
|
var InternalStateModule$2 = internalState;
|
|
2393
521
|
var defineIterator = iteratorDefine;
|
|
2394
|
-
var createIterResultObject$1 = createIterResultObject$
|
|
522
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
2395
523
|
|
|
2396
524
|
var STRING_ITERATOR = 'String Iterator';
|
|
2397
525
|
var setInternalState$2 = InternalStateModule$2.set;
|
|
@@ -2418,8 +546,8 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
2418
546
|
return createIterResultObject$1(point, false);
|
|
2419
547
|
});
|
|
2420
548
|
|
|
2421
|
-
var fails$1 = fails$
|
|
2422
|
-
var wellKnownSymbol$3 = wellKnownSymbol$
|
|
549
|
+
var fails$1 = fails$2;
|
|
550
|
+
var wellKnownSymbol$3 = wellKnownSymbol$4;
|
|
2423
551
|
var DESCRIPTORS$5 = descriptors;
|
|
2424
552
|
var IS_PURE = isPure;
|
|
2425
553
|
|
|
@@ -2460,7 +588,7 @@ var urlConstructorDetection = !fails$1(function () {
|
|
|
2460
588
|
|| new URL('http://x', undefined).host !== 'x';
|
|
2461
589
|
});
|
|
2462
590
|
|
|
2463
|
-
var classofRaw = classofRaw$
|
|
591
|
+
var classofRaw = classofRaw$1;
|
|
2464
592
|
var uncurryThis$8 = functionUncurryThis;
|
|
2465
593
|
|
|
2466
594
|
var functionUncurryThisClause = function (fn) {
|
|
@@ -2471,7 +599,7 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2471
599
|
};
|
|
2472
600
|
|
|
2473
601
|
var uncurryThis$7 = functionUncurryThisClause;
|
|
2474
|
-
var aCallable$1 = aCallable$
|
|
602
|
+
var aCallable$1 = aCallable$2;
|
|
2475
603
|
var NATIVE_BIND = functionBindNative;
|
|
2476
604
|
|
|
2477
605
|
var bind$3 = uncurryThis$7(uncurryThis$7.bind);
|
|
@@ -2503,8 +631,8 @@ var anInstance$2 = function (it, Prototype) {
|
|
|
2503
631
|
};
|
|
2504
632
|
|
|
2505
633
|
var call$4 = functionCall;
|
|
2506
|
-
var anObject$3 = anObject$
|
|
2507
|
-
var getMethod$1 = getMethod$
|
|
634
|
+
var anObject$3 = anObject$4;
|
|
635
|
+
var getMethod$1 = getMethod$2;
|
|
2508
636
|
|
|
2509
637
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
2510
638
|
var innerResult, innerError;
|
|
@@ -2526,7 +654,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
2526
654
|
return value;
|
|
2527
655
|
};
|
|
2528
656
|
|
|
2529
|
-
var anObject$2 = anObject$
|
|
657
|
+
var anObject$2 = anObject$4;
|
|
2530
658
|
var iteratorClose = iteratorClose$1;
|
|
2531
659
|
|
|
2532
660
|
// call something on iterator step with safe closing on error
|
|
@@ -2538,7 +666,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
2538
666
|
}
|
|
2539
667
|
};
|
|
2540
668
|
|
|
2541
|
-
var wellKnownSymbol$2 = wellKnownSymbol$
|
|
669
|
+
var wellKnownSymbol$2 = wellKnownSymbol$4;
|
|
2542
670
|
var Iterators$1 = iterators;
|
|
2543
671
|
|
|
2544
672
|
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
@@ -2550,11 +678,11 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
2550
678
|
};
|
|
2551
679
|
|
|
2552
680
|
var uncurryThis$6 = functionUncurryThis;
|
|
2553
|
-
var fails = fails$
|
|
2554
|
-
var isCallable$1 = isCallable$
|
|
2555
|
-
var classof$2 = classof$
|
|
2556
|
-
var getBuiltIn = getBuiltIn$
|
|
2557
|
-
var inspectSource = inspectSource$
|
|
681
|
+
var fails = fails$2;
|
|
682
|
+
var isCallable$1 = isCallable$2;
|
|
683
|
+
var classof$2 = classof$3;
|
|
684
|
+
var getBuiltIn = getBuiltIn$1;
|
|
685
|
+
var inspectSource = inspectSource$1;
|
|
2558
686
|
|
|
2559
687
|
var noop = function () { /* empty */ };
|
|
2560
688
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
@@ -2603,18 +731,18 @@ var isConstructor$1 = !construct || fails(function () {
|
|
|
2603
731
|
|
|
2604
732
|
var DESCRIPTORS$4 = descriptors;
|
|
2605
733
|
var definePropertyModule = objectDefineProperty;
|
|
2606
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$
|
|
734
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
2607
735
|
|
|
2608
736
|
var createProperty$1 = function (object, key, value) {
|
|
2609
737
|
if (DESCRIPTORS$4) definePropertyModule.f(object, key, createPropertyDescriptor$1(0, value));
|
|
2610
738
|
else object[key] = value;
|
|
2611
739
|
};
|
|
2612
740
|
|
|
2613
|
-
var classof$1 = classof$
|
|
2614
|
-
var getMethod = getMethod$
|
|
2615
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
741
|
+
var classof$1 = classof$3;
|
|
742
|
+
var getMethod = getMethod$2;
|
|
743
|
+
var isNullOrUndefined = isNullOrUndefined$1;
|
|
2616
744
|
var Iterators = iterators;
|
|
2617
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
745
|
+
var wellKnownSymbol$1 = wellKnownSymbol$4;
|
|
2618
746
|
|
|
2619
747
|
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
2620
748
|
|
|
@@ -2625,9 +753,9 @@ var getIteratorMethod$3 = function (it) {
|
|
|
2625
753
|
};
|
|
2626
754
|
|
|
2627
755
|
var call$3 = functionCall;
|
|
2628
|
-
var aCallable = aCallable$
|
|
2629
|
-
var anObject$1 = anObject$
|
|
2630
|
-
var tryToString = tryToString$
|
|
756
|
+
var aCallable = aCallable$2;
|
|
757
|
+
var anObject$1 = anObject$4;
|
|
758
|
+
var tryToString = tryToString$1;
|
|
2631
759
|
var getIteratorMethod$2 = getIteratorMethod$3;
|
|
2632
760
|
|
|
2633
761
|
var $TypeError$1 = TypeError;
|
|
@@ -2640,11 +768,11 @@ var getIterator$2 = function (argument, usingIterator) {
|
|
|
2640
768
|
|
|
2641
769
|
var bind$2 = functionBindContext;
|
|
2642
770
|
var call$2 = functionCall;
|
|
2643
|
-
var toObject = toObject$
|
|
771
|
+
var toObject = toObject$1;
|
|
2644
772
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
2645
773
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2646
774
|
var isConstructor = isConstructor$1;
|
|
2647
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
775
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
2648
776
|
var createProperty = createProperty$1;
|
|
2649
777
|
var getIterator$1 = getIterator$2;
|
|
2650
778
|
var getIteratorMethod$1 = getIteratorMethod$3;
|
|
@@ -2872,7 +1000,7 @@ var validateArgumentsLength$4 = function (passed, required) {
|
|
|
2872
1000
|
return passed;
|
|
2873
1001
|
};
|
|
2874
1002
|
|
|
2875
|
-
var global$
|
|
1003
|
+
var global$2 = global$3;
|
|
2876
1004
|
var DESCRIPTORS$3 = descriptors;
|
|
2877
1005
|
|
|
2878
1006
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -2880,19 +1008,19 @@ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
2880
1008
|
|
|
2881
1009
|
// Avoid NodeJS experimental warning
|
|
2882
1010
|
var safeGetBuiltIn$1 = function (name) {
|
|
2883
|
-
if (!DESCRIPTORS$3) return global$
|
|
2884
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
1011
|
+
if (!DESCRIPTORS$3) return global$2[name];
|
|
1012
|
+
var descriptor = getOwnPropertyDescriptor(global$2, name);
|
|
2885
1013
|
return descriptor && descriptor.value;
|
|
2886
1014
|
};
|
|
2887
1015
|
|
|
2888
|
-
var defineBuiltIn$4 = defineBuiltIn$
|
|
1016
|
+
var defineBuiltIn$4 = defineBuiltIn$5;
|
|
2889
1017
|
|
|
2890
1018
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
2891
1019
|
for (var key in src) defineBuiltIn$4(target, key, src[key], options);
|
|
2892
1020
|
return target;
|
|
2893
1021
|
};
|
|
2894
1022
|
|
|
2895
|
-
var arraySlice$1 = arraySlice$
|
|
1023
|
+
var arraySlice$1 = arraySlice$2;
|
|
2896
1024
|
|
|
2897
1025
|
var floor$1 = Math.floor;
|
|
2898
1026
|
|
|
@@ -2937,33 +1065,33 @@ var arraySort$1 = sort;
|
|
|
2937
1065
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
2938
1066
|
|
|
2939
1067
|
var $$2 = _export;
|
|
2940
|
-
var global$
|
|
1068
|
+
var global$1 = global$3;
|
|
2941
1069
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
2942
1070
|
var call$1 = functionCall;
|
|
2943
1071
|
var uncurryThis$4 = functionUncurryThis;
|
|
2944
1072
|
var DESCRIPTORS$2 = descriptors;
|
|
2945
1073
|
var USE_NATIVE_URL$1 = urlConstructorDetection;
|
|
2946
|
-
var defineBuiltIn$3 = defineBuiltIn$
|
|
1074
|
+
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
2947
1075
|
var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
|
|
2948
1076
|
var defineBuiltIns = defineBuiltIns$1;
|
|
2949
|
-
var setToStringTag$1 = setToStringTag$
|
|
1077
|
+
var setToStringTag$1 = setToStringTag$2;
|
|
2950
1078
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2951
1079
|
var InternalStateModule$1 = internalState;
|
|
2952
1080
|
var anInstance$1 = anInstance$2;
|
|
2953
|
-
var isCallable = isCallable$
|
|
1081
|
+
var isCallable = isCallable$2;
|
|
2954
1082
|
var hasOwn$1 = hasOwnProperty_1;
|
|
2955
1083
|
var bind$1 = functionBindContext;
|
|
2956
|
-
var classof = classof$
|
|
2957
|
-
var anObject = anObject$
|
|
2958
|
-
var isObject = isObject$
|
|
2959
|
-
var $toString$1 = toString$
|
|
1084
|
+
var classof = classof$3;
|
|
1085
|
+
var anObject = anObject$4;
|
|
1086
|
+
var isObject = isObject$1;
|
|
1087
|
+
var $toString$1 = toString$4;
|
|
2960
1088
|
var create = objectCreate;
|
|
2961
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1089
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
2962
1090
|
var getIterator = getIterator$2;
|
|
2963
1091
|
var getIteratorMethod = getIteratorMethod$3;
|
|
2964
|
-
var createIterResultObject = createIterResultObject$
|
|
1092
|
+
var createIterResultObject = createIterResultObject$2;
|
|
2965
1093
|
var validateArgumentsLength$3 = validateArgumentsLength$4;
|
|
2966
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1094
|
+
var wellKnownSymbol = wellKnownSymbol$4;
|
|
2967
1095
|
var arraySort = arraySort$1;
|
|
2968
1096
|
|
|
2969
1097
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
@@ -2978,10 +1106,10 @@ var NativeRequest = safeGetBuiltIn('Request');
|
|
|
2978
1106
|
var Headers = safeGetBuiltIn('Headers');
|
|
2979
1107
|
var RequestPrototype = NativeRequest && NativeRequest.prototype;
|
|
2980
1108
|
var HeadersPrototype = Headers && Headers.prototype;
|
|
2981
|
-
var RegExp$1 = global$
|
|
2982
|
-
var TypeError$2 = global$
|
|
2983
|
-
var decodeURIComponent = global$
|
|
2984
|
-
var encodeURIComponent$1 = global$
|
|
1109
|
+
var RegExp$1 = global$1.RegExp;
|
|
1110
|
+
var TypeError$2 = global$1.TypeError;
|
|
1111
|
+
var decodeURIComponent = global$1.decodeURIComponent;
|
|
1112
|
+
var encodeURIComponent$1 = global$1.encodeURIComponent;
|
|
2985
1113
|
var charAt$1 = uncurryThis$4(''.charAt);
|
|
2986
1114
|
var join$1 = uncurryThis$4([].join);
|
|
2987
1115
|
var push$2 = uncurryThis$4([].push);
|
|
@@ -3355,20 +1483,20 @@ var web_urlSearchParams_constructor = {
|
|
|
3355
1483
|
var $$1 = _export;
|
|
3356
1484
|
var DESCRIPTORS$1 = descriptors;
|
|
3357
1485
|
var USE_NATIVE_URL = urlConstructorDetection;
|
|
3358
|
-
var global
|
|
1486
|
+
var global = global$3;
|
|
3359
1487
|
var bind = functionBindContext;
|
|
3360
1488
|
var uncurryThis$3 = functionUncurryThis;
|
|
3361
|
-
var defineBuiltIn$2 = defineBuiltIn$
|
|
1489
|
+
var defineBuiltIn$2 = defineBuiltIn$5;
|
|
3362
1490
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
|
|
3363
1491
|
var anInstance = anInstance$2;
|
|
3364
1492
|
var hasOwn = hasOwnProperty_1;
|
|
3365
1493
|
var assign = objectAssign;
|
|
3366
1494
|
var arrayFrom = arrayFrom$1;
|
|
3367
|
-
var arraySlice = arraySlice$
|
|
1495
|
+
var arraySlice = arraySlice$2;
|
|
3368
1496
|
var codeAt = stringMultibyte.codeAt;
|
|
3369
1497
|
var toASCII = stringPunycodeToAscii;
|
|
3370
|
-
var $toString = toString$
|
|
3371
|
-
var setToStringTag = setToStringTag$
|
|
1498
|
+
var $toString = toString$4;
|
|
1499
|
+
var setToStringTag = setToStringTag$2;
|
|
3372
1500
|
var validateArgumentsLength$2 = validateArgumentsLength$4;
|
|
3373
1501
|
var URLSearchParamsModule = web_urlSearchParams_constructor;
|
|
3374
1502
|
var InternalStateModule = internalState;
|
|
@@ -3378,9 +1506,9 @@ var getInternalURLState = InternalStateModule.getterFor('URL');
|
|
|
3378
1506
|
var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams;
|
|
3379
1507
|
var getInternalSearchParamsState = URLSearchParamsModule.getState;
|
|
3380
1508
|
|
|
3381
|
-
var NativeURL = global
|
|
3382
|
-
var TypeError$1 = global
|
|
3383
|
-
var parseInt = global
|
|
1509
|
+
var NativeURL = global.URL;
|
|
1510
|
+
var TypeError$1 = global.TypeError;
|
|
1511
|
+
var parseInt = global.parseInt;
|
|
3384
1512
|
var floor = Math.floor;
|
|
3385
1513
|
var pow = Math.pow;
|
|
3386
1514
|
var charAt = uncurryThis$3(''.charAt);
|
|
@@ -4409,9 +2537,9 @@ $({ target: 'URL', proto: true, enumerable: true }, {
|
|
|
4409
2537
|
}
|
|
4410
2538
|
});
|
|
4411
2539
|
|
|
4412
|
-
var defineBuiltIn$1 = defineBuiltIn$
|
|
2540
|
+
var defineBuiltIn$1 = defineBuiltIn$5;
|
|
4413
2541
|
var uncurryThis$2 = functionUncurryThis;
|
|
4414
|
-
var toString$1 = toString$
|
|
2542
|
+
var toString$1 = toString$4;
|
|
4415
2543
|
var validateArgumentsLength$1 = validateArgumentsLength$4;
|
|
4416
2544
|
|
|
4417
2545
|
var $URLSearchParams$1 = URLSearchParams;
|
|
@@ -4458,9 +2586,9 @@ if (params$1 + '' !== 'a=2') {
|
|
|
4458
2586
|
}, { enumerable: true, unsafe: true });
|
|
4459
2587
|
}
|
|
4460
2588
|
|
|
4461
|
-
var defineBuiltIn = defineBuiltIn$
|
|
2589
|
+
var defineBuiltIn = defineBuiltIn$5;
|
|
4462
2590
|
var uncurryThis$1 = functionUncurryThis;
|
|
4463
|
-
var toString = toString$
|
|
2591
|
+
var toString = toString$4;
|
|
4464
2592
|
var validateArgumentsLength = validateArgumentsLength$4;
|
|
4465
2593
|
|
|
4466
2594
|
var $URLSearchParams = URLSearchParams;
|