@mjhls/mjh-framework 1.0.237 → 1.0.238
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 +1 -1
- package/dist/cjs/{AdSlot-d87cef08.js → AdSlot-1fe1c231.js} +5 -5
- package/dist/cjs/DeckContent.js +26 -19
- package/dist/cjs/DeckQueue.js +24 -18
- package/dist/cjs/{Dfp-f62b16e1.js → Dfp-045b016b.js} +10 -7
- package/dist/cjs/{GridContent-6dae5d6a.js → GridContent-53e78cbf.js} +23 -20
- package/dist/cjs/GridContent.js +18 -12
- package/dist/cjs/IssueContentDeck.js +3 -3
- package/dist/cjs/IssueDeck.js +3 -3
- package/dist/cjs/MasterDeck-91c6ad85.js +917 -0
- package/dist/cjs/MasterDeck.js +18 -329
- package/dist/cjs/{Normal-821546cd.js → Normal-a94a1ec8.js} +34 -21
- package/dist/cjs/PublicationDeck.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +21 -16
- package/dist/cjs/{TaxonomyCard-d97685e2.js → TaxonomyCard-b5074d6e.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +6 -5
- package/dist/cjs/TemplateNormal.js +11 -8
- package/dist/cjs/ThumbnailCard.js +4 -4
- package/dist/cjs/{Ustream-0d3dd953.js → Ustream-85b14a8d.js} +3 -5
- package/dist/cjs/Ustream.js +6 -2
- package/dist/cjs/VideoSeriesListing.js +19 -15
- package/dist/cjs/{YoutubeGroup-ad994d02.js → YoutubeGroup-fd44f8a0.js} +2 -2
- package/dist/cjs/YoutubeGroup.js +3 -3
- package/dist/cjs/{_commonjsHelpers-3fc1f64e.js → _commonjsHelpers-06173234.js} +5 -0
- package/dist/cjs/_to-object-329a650b.js +348 -0
- package/dist/cjs/core.get-iterator-method-e049ca4a.js +39 -0
- package/dist/cjs/{debounce-a963b136.js → debounce-bbca43c4.js} +1 -1
- package/dist/cjs/{entities-3e0b4a16.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/extends-e94dbea5.js +98 -0
- package/dist/cjs/{get-126b1712.js → get-af2516a4.js} +1 -1
- package/dist/cjs/{index-a4c53ff4.js → index-39beccb3.js} +1 -1
- package/dist/cjs/{index-0d0efcfa.js → index-fa0fb52c.js} +1 -1
- package/dist/cjs/{index-0322e486.js → index-fa3cec70.js} +1 -1
- package/dist/cjs/index.js +3127 -286
- package/dist/cjs/inherits-5b5ca8db.js +650 -0
- package/dist/cjs/{main-58839f4e.js → main-d9a1b014.js} +1 -1
- package/dist/cjs/slicedToArray-e38fb29d.js +95 -0
- package/dist/cjs/toConsumableArray-7e4caf3c.js +123 -0
- package/dist/cjs/{visibility-sensor-8936e703.js → visibility-sensor-b72d9527.js} +1 -1
- package/dist/cjs/web.dom.iterable-0998bdc3.js +254 -0
- package/dist/esm/{AdSlot-0ea49f7e.js → AdSlot-017b8051.js} +5 -5
- package/dist/esm/DeckContent.js +24 -17
- package/dist/esm/DeckQueue.js +22 -16
- package/dist/esm/{Dfp-f026ab16.js → Dfp-01f14ae3.js} +10 -7
- package/dist/esm/{GridContent-7990f509.js → GridContent-f5bc4d75.js} +21 -18
- package/dist/esm/GridContent.js +18 -12
- package/dist/esm/IssueContentDeck.js +3 -3
- package/dist/esm/IssueDeck.js +3 -3
- package/dist/esm/MasterDeck-5dd97a66.js +910 -0
- package/dist/esm/MasterDeck.js +17 -328
- package/dist/esm/{Normal-20ff5bf5.js → Normal-357f00d1.js} +34 -21
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +19 -14
- package/dist/esm/{TaxonomyCard-f9c93953.js → TaxonomyCard-f74512cb.js} +3 -3
- package/dist/esm/TaxonomyCard.js +6 -5
- package/dist/esm/TemplateNormal.js +11 -8
- package/dist/esm/ThumbnailCard.js +4 -4
- package/dist/esm/{Ustream-6bb45fe7.js → Ustream-62a07a32.js} +3 -5
- package/dist/esm/Ustream.js +6 -2
- package/dist/esm/VideoSeriesListing.js +16 -12
- package/dist/esm/{YoutubeGroup-1368335c.js → YoutubeGroup-1b3eca73.js} +2 -2
- package/dist/esm/YoutubeGroup.js +3 -3
- package/dist/esm/{_commonjsHelpers-ae1b5db5.js → _commonjsHelpers-0c4b6f40.js} +5 -1
- package/dist/esm/_to-object-86553f76.js +318 -0
- package/dist/esm/core.get-iterator-method-709061dc.js +36 -0
- package/dist/esm/{debounce-dc0c02e5.js → debounce-fa7fbf11.js} +1 -1
- package/dist/esm/{entities-e85d3a4a.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/extends-7f88fa22.js +94 -0
- package/dist/esm/{get-b074314b.js → get-8d382479.js} +1 -1
- package/dist/esm/{index-ca4ff5cb.js → index-3849e3fe.js} +1 -1
- package/dist/esm/{index-3c1ee9ab.js → index-5f9f807a.js} +1 -1
- package/dist/esm/{index-70f7c966.js → index-fa84ea96.js} +1 -1
- package/dist/esm/index.js +3128 -287
- package/dist/esm/inherits-a82a4471.js +642 -0
- package/dist/esm/{main-cd81c243.js → main-eecf7b27.js} +1 -1
- package/dist/esm/slicedToArray-eb7eca9e.js +93 -0
- package/dist/esm/toConsumableArray-08d50169.js +117 -0
- package/dist/esm/{visibility-sensor-71e50a91.js → visibility-sensor-336093e1.js} +1 -1
- package/dist/esm/web.dom.iterable-f05d2f57.js +246 -0
- package/package.json +4 -1
- package/dist/cjs/_babelHelpers-f321c258.js +0 -119
- package/dist/esm/_babelHelpers-67c05996.js +0 -111
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { _ as _core, n as _export, o as _fails, b as _toObject, m as _objectDp, l as _descriptors, p as _uid, j as _isObject, q as _has, a as _objectKeys, h as _cof, r as _objectKeysInternal, s as _enumBugKeys, t as _toIobject, u as _toPrimitive, v as _ie8DomDefine, w as _propertyDesc, g as _global, x as _shared, k as _hide, e as _anObject, c as _ctx } from './_to-object-86553f76.js';
|
|
3
|
+
import { c as _objectGpo, _ as _wks, d as _redefine, b as _setToStringTag, e as _objectCreate } from './web.dom.iterable-f05d2f57.js';
|
|
4
|
+
import { a as _objectGops, b as _objectPie } from './extends-7f88fa22.js';
|
|
5
|
+
|
|
6
|
+
var _library = true;
|
|
7
|
+
|
|
8
|
+
// most Object methods by ES6 should accept primitives
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _objectSap = function (KEY, exec) {
|
|
13
|
+
var fn = (_core.Object || {})[KEY] || Object[KEY];
|
|
14
|
+
var exp = {};
|
|
15
|
+
exp[KEY] = exec(fn);
|
|
16
|
+
_export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
_objectSap('getPrototypeOf', function () {
|
|
24
|
+
return function getPrototypeOf(it) {
|
|
25
|
+
return _objectGpo(_toObject(it));
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
var getPrototypeOf = _core.Object.getPrototypeOf;
|
|
30
|
+
|
|
31
|
+
var getPrototypeOf$1 = createCommonjsModule(function (module) {
|
|
32
|
+
module.exports = { "default": getPrototypeOf, __esModule: true };
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
var _Object$getPrototypeOf = unwrapExports(getPrototypeOf$1);
|
|
36
|
+
|
|
37
|
+
var classCallCheck = createCommonjsModule(function (module, exports) {
|
|
38
|
+
|
|
39
|
+
exports.__esModule = true;
|
|
40
|
+
|
|
41
|
+
exports.default = function (instance, Constructor) {
|
|
42
|
+
if (!(instance instanceof Constructor)) {
|
|
43
|
+
throw new TypeError("Cannot call a class as a function");
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
var _classCallCheck = unwrapExports(classCallCheck);
|
|
49
|
+
|
|
50
|
+
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
51
|
+
_export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
52
|
+
|
|
53
|
+
var $Object = _core.Object;
|
|
54
|
+
var defineProperty = function defineProperty(it, key, desc) {
|
|
55
|
+
return $Object.defineProperty(it, key, desc);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var defineProperty$1 = createCommonjsModule(function (module) {
|
|
59
|
+
module.exports = { "default": defineProperty, __esModule: true };
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
unwrapExports(defineProperty$1);
|
|
63
|
+
|
|
64
|
+
var createClass = createCommonjsModule(function (module, exports) {
|
|
65
|
+
|
|
66
|
+
exports.__esModule = true;
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
var _defineProperty2 = _interopRequireDefault(defineProperty$1);
|
|
71
|
+
|
|
72
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
73
|
+
|
|
74
|
+
exports.default = function () {
|
|
75
|
+
function defineProperties(target, props) {
|
|
76
|
+
for (var i = 0; i < props.length; i++) {
|
|
77
|
+
var descriptor = props[i];
|
|
78
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
79
|
+
descriptor.configurable = true;
|
|
80
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
81
|
+
(0, _defineProperty2.default)(target, descriptor.key, descriptor);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return function (Constructor, protoProps, staticProps) {
|
|
86
|
+
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
|
87
|
+
if (staticProps) defineProperties(Constructor, staticProps);
|
|
88
|
+
return Constructor;
|
|
89
|
+
};
|
|
90
|
+
}();
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
var _createClass = unwrapExports(createClass);
|
|
94
|
+
|
|
95
|
+
var f = _wks;
|
|
96
|
+
|
|
97
|
+
var _wksExt = {
|
|
98
|
+
f: f
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
var iterator = _wksExt.f('iterator');
|
|
102
|
+
|
|
103
|
+
var iterator$1 = createCommonjsModule(function (module) {
|
|
104
|
+
module.exports = { "default": iterator, __esModule: true };
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
unwrapExports(iterator$1);
|
|
108
|
+
|
|
109
|
+
var _meta = createCommonjsModule(function (module) {
|
|
110
|
+
var META = _uid('meta');
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
var setDesc = _objectDp.f;
|
|
114
|
+
var id = 0;
|
|
115
|
+
var isExtensible = Object.isExtensible || function () {
|
|
116
|
+
return true;
|
|
117
|
+
};
|
|
118
|
+
var FREEZE = !_fails(function () {
|
|
119
|
+
return isExtensible(Object.preventExtensions({}));
|
|
120
|
+
});
|
|
121
|
+
var setMeta = function (it) {
|
|
122
|
+
setDesc(it, META, { value: {
|
|
123
|
+
i: 'O' + ++id, // object ID
|
|
124
|
+
w: {} // weak collections IDs
|
|
125
|
+
} });
|
|
126
|
+
};
|
|
127
|
+
var fastKey = function (it, create) {
|
|
128
|
+
// return primitive with prefix
|
|
129
|
+
if (!_isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
130
|
+
if (!_has(it, META)) {
|
|
131
|
+
// can't set metadata to uncaught frozen object
|
|
132
|
+
if (!isExtensible(it)) return 'F';
|
|
133
|
+
// not necessary to add metadata
|
|
134
|
+
if (!create) return 'E';
|
|
135
|
+
// add missing metadata
|
|
136
|
+
setMeta(it);
|
|
137
|
+
// return object ID
|
|
138
|
+
} return it[META].i;
|
|
139
|
+
};
|
|
140
|
+
var getWeak = function (it, create) {
|
|
141
|
+
if (!_has(it, META)) {
|
|
142
|
+
// can't set metadata to uncaught frozen object
|
|
143
|
+
if (!isExtensible(it)) return true;
|
|
144
|
+
// not necessary to add metadata
|
|
145
|
+
if (!create) return false;
|
|
146
|
+
// add missing metadata
|
|
147
|
+
setMeta(it);
|
|
148
|
+
// return hash weak collections IDs
|
|
149
|
+
} return it[META].w;
|
|
150
|
+
};
|
|
151
|
+
// add metadata on freeze-family methods calling
|
|
152
|
+
var onFreeze = function (it) {
|
|
153
|
+
if (FREEZE && meta.NEED && isExtensible(it) && !_has(it, META)) setMeta(it);
|
|
154
|
+
return it;
|
|
155
|
+
};
|
|
156
|
+
var meta = module.exports = {
|
|
157
|
+
KEY: META,
|
|
158
|
+
NEED: false,
|
|
159
|
+
fastKey: fastKey,
|
|
160
|
+
getWeak: getWeak,
|
|
161
|
+
onFreeze: onFreeze
|
|
162
|
+
};
|
|
163
|
+
});
|
|
164
|
+
var _meta_1 = _meta.KEY;
|
|
165
|
+
var _meta_2 = _meta.NEED;
|
|
166
|
+
var _meta_3 = _meta.fastKey;
|
|
167
|
+
var _meta_4 = _meta.getWeak;
|
|
168
|
+
var _meta_5 = _meta.onFreeze;
|
|
169
|
+
|
|
170
|
+
var defineProperty$2 = _objectDp.f;
|
|
171
|
+
var _wksDefine = function (name) {
|
|
172
|
+
var $Symbol = _core.Symbol || (_core.Symbol = {} );
|
|
173
|
+
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$2($Symbol, name, { value: _wksExt.f(name) });
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
// all enumerable object keys, includes symbols
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
var _enumKeys = function (it) {
|
|
181
|
+
var result = _objectKeys(it);
|
|
182
|
+
var getSymbols = _objectGops.f;
|
|
183
|
+
if (getSymbols) {
|
|
184
|
+
var symbols = getSymbols(it);
|
|
185
|
+
var isEnum = _objectPie.f;
|
|
186
|
+
var i = 0;
|
|
187
|
+
var key;
|
|
188
|
+
while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
|
|
189
|
+
} return result;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
// 7.2.2 IsArray(argument)
|
|
193
|
+
|
|
194
|
+
var _isArray = Array.isArray || function isArray(arg) {
|
|
195
|
+
return _cof(arg) == 'Array';
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
|
199
|
+
|
|
200
|
+
var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
|
|
201
|
+
|
|
202
|
+
var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
203
|
+
return _objectKeysInternal(O, hiddenKeys);
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
var _objectGopn = {
|
|
207
|
+
f: f$1
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
211
|
+
|
|
212
|
+
var gOPN = _objectGopn.f;
|
|
213
|
+
var toString = {}.toString;
|
|
214
|
+
|
|
215
|
+
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
|
216
|
+
? Object.getOwnPropertyNames(window) : [];
|
|
217
|
+
|
|
218
|
+
var getWindowNames = function (it) {
|
|
219
|
+
try {
|
|
220
|
+
return gOPN(it);
|
|
221
|
+
} catch (e) {
|
|
222
|
+
return windowNames.slice();
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
var f$2 = function getOwnPropertyNames(it) {
|
|
227
|
+
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(_toIobject(it));
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
var _objectGopnExt = {
|
|
231
|
+
f: f$2
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
235
|
+
|
|
236
|
+
var f$3 = _descriptors ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
|
237
|
+
O = _toIobject(O);
|
|
238
|
+
P = _toPrimitive(P, true);
|
|
239
|
+
if (_ie8DomDefine) try {
|
|
240
|
+
return gOPD(O, P);
|
|
241
|
+
} catch (e) { /* empty */ }
|
|
242
|
+
if (_has(O, P)) return _propertyDesc(!_objectPie.f.call(O, P), O[P]);
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
var _objectGopd = {
|
|
246
|
+
f: f$3
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
// ECMAScript 6 symbols shim
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
var META = _meta.KEY;
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
var gOPD$1 = _objectGopd.f;
|
|
278
|
+
var dP = _objectDp.f;
|
|
279
|
+
var gOPN$1 = _objectGopnExt.f;
|
|
280
|
+
var $Symbol = _global.Symbol;
|
|
281
|
+
var $JSON = _global.JSON;
|
|
282
|
+
var _stringify = $JSON && $JSON.stringify;
|
|
283
|
+
var PROTOTYPE = 'prototype';
|
|
284
|
+
var HIDDEN = _wks('_hidden');
|
|
285
|
+
var TO_PRIMITIVE = _wks('toPrimitive');
|
|
286
|
+
var isEnum = {}.propertyIsEnumerable;
|
|
287
|
+
var SymbolRegistry = _shared('symbol-registry');
|
|
288
|
+
var AllSymbols = _shared('symbols');
|
|
289
|
+
var OPSymbols = _shared('op-symbols');
|
|
290
|
+
var ObjectProto = Object[PROTOTYPE];
|
|
291
|
+
var USE_NATIVE = typeof $Symbol == 'function' && !!_objectGops.f;
|
|
292
|
+
var QObject = _global.QObject;
|
|
293
|
+
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
|
294
|
+
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
295
|
+
|
|
296
|
+
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
297
|
+
var setSymbolDesc = _descriptors && _fails(function () {
|
|
298
|
+
return _objectCreate(dP({}, 'a', {
|
|
299
|
+
get: function () { return dP(this, 'a', { value: 7 }).a; }
|
|
300
|
+
})).a != 7;
|
|
301
|
+
}) ? function (it, key, D) {
|
|
302
|
+
var protoDesc = gOPD$1(ObjectProto, key);
|
|
303
|
+
if (protoDesc) delete ObjectProto[key];
|
|
304
|
+
dP(it, key, D);
|
|
305
|
+
if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
|
|
306
|
+
} : dP;
|
|
307
|
+
|
|
308
|
+
var wrap = function (tag) {
|
|
309
|
+
var sym = AllSymbols[tag] = _objectCreate($Symbol[PROTOTYPE]);
|
|
310
|
+
sym._k = tag;
|
|
311
|
+
return sym;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
|
|
315
|
+
return typeof it == 'symbol';
|
|
316
|
+
} : function (it) {
|
|
317
|
+
return it instanceof $Symbol;
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
var $defineProperty = function defineProperty(it, key, D) {
|
|
321
|
+
if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
|
|
322
|
+
_anObject(it);
|
|
323
|
+
key = _toPrimitive(key, true);
|
|
324
|
+
_anObject(D);
|
|
325
|
+
if (_has(AllSymbols, key)) {
|
|
326
|
+
if (!D.enumerable) {
|
|
327
|
+
if (!_has(it, HIDDEN)) dP(it, HIDDEN, _propertyDesc(1, {}));
|
|
328
|
+
it[HIDDEN][key] = true;
|
|
329
|
+
} else {
|
|
330
|
+
if (_has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
|
|
331
|
+
D = _objectCreate(D, { enumerable: _propertyDesc(0, false) });
|
|
332
|
+
} return setSymbolDesc(it, key, D);
|
|
333
|
+
} return dP(it, key, D);
|
|
334
|
+
};
|
|
335
|
+
var $defineProperties = function defineProperties(it, P) {
|
|
336
|
+
_anObject(it);
|
|
337
|
+
var keys = _enumKeys(P = _toIobject(P));
|
|
338
|
+
var i = 0;
|
|
339
|
+
var l = keys.length;
|
|
340
|
+
var key;
|
|
341
|
+
while (l > i) $defineProperty(it, key = keys[i++], P[key]);
|
|
342
|
+
return it;
|
|
343
|
+
};
|
|
344
|
+
var $create = function create(it, P) {
|
|
345
|
+
return P === undefined ? _objectCreate(it) : $defineProperties(_objectCreate(it), P);
|
|
346
|
+
};
|
|
347
|
+
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
|
|
348
|
+
var E = isEnum.call(this, key = _toPrimitive(key, true));
|
|
349
|
+
if (this === ObjectProto && _has(AllSymbols, key) && !_has(OPSymbols, key)) return false;
|
|
350
|
+
return E || !_has(this, key) || !_has(AllSymbols, key) || _has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
|
|
351
|
+
};
|
|
352
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
|
|
353
|
+
it = _toIobject(it);
|
|
354
|
+
key = _toPrimitive(key, true);
|
|
355
|
+
if (it === ObjectProto && _has(AllSymbols, key) && !_has(OPSymbols, key)) return;
|
|
356
|
+
var D = gOPD$1(it, key);
|
|
357
|
+
if (D && _has(AllSymbols, key) && !(_has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
|
|
358
|
+
return D;
|
|
359
|
+
};
|
|
360
|
+
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
|
361
|
+
var names = gOPN$1(_toIobject(it));
|
|
362
|
+
var result = [];
|
|
363
|
+
var i = 0;
|
|
364
|
+
var key;
|
|
365
|
+
while (names.length > i) {
|
|
366
|
+
if (!_has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
|
|
367
|
+
} return result;
|
|
368
|
+
};
|
|
369
|
+
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
|
|
370
|
+
var IS_OP = it === ObjectProto;
|
|
371
|
+
var names = gOPN$1(IS_OP ? OPSymbols : _toIobject(it));
|
|
372
|
+
var result = [];
|
|
373
|
+
var i = 0;
|
|
374
|
+
var key;
|
|
375
|
+
while (names.length > i) {
|
|
376
|
+
if (_has(AllSymbols, key = names[i++]) && (IS_OP ? _has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
|
|
377
|
+
} return result;
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
// 19.4.1.1 Symbol([description])
|
|
381
|
+
if (!USE_NATIVE) {
|
|
382
|
+
$Symbol = function Symbol() {
|
|
383
|
+
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
|
|
384
|
+
var tag = _uid(arguments.length > 0 ? arguments[0] : undefined);
|
|
385
|
+
var $set = function (value) {
|
|
386
|
+
if (this === ObjectProto) $set.call(OPSymbols, value);
|
|
387
|
+
if (_has(this, HIDDEN) && _has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
|
|
388
|
+
setSymbolDesc(this, tag, _propertyDesc(1, value));
|
|
389
|
+
};
|
|
390
|
+
if (_descriptors && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
|
|
391
|
+
return wrap(tag);
|
|
392
|
+
};
|
|
393
|
+
_redefine($Symbol[PROTOTYPE], 'toString', function toString() {
|
|
394
|
+
return this._k;
|
|
395
|
+
});
|
|
396
|
+
|
|
397
|
+
_objectGopd.f = $getOwnPropertyDescriptor;
|
|
398
|
+
_objectDp.f = $defineProperty;
|
|
399
|
+
_objectGopn.f = _objectGopnExt.f = $getOwnPropertyNames;
|
|
400
|
+
_objectPie.f = $propertyIsEnumerable;
|
|
401
|
+
_objectGops.f = $getOwnPropertySymbols;
|
|
402
|
+
|
|
403
|
+
if (_descriptors && !_library) {
|
|
404
|
+
_redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
_wksExt.f = function (name) {
|
|
408
|
+
return wrap(_wks(name));
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
413
|
+
|
|
414
|
+
for (var es6Symbols = (
|
|
415
|
+
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
|
|
416
|
+
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
|
|
417
|
+
).split(','), j = 0; es6Symbols.length > j;)_wks(es6Symbols[j++]);
|
|
418
|
+
|
|
419
|
+
for (var wellKnownSymbols = _objectKeys(_wks.store), k = 0; wellKnownSymbols.length > k;) _wksDefine(wellKnownSymbols[k++]);
|
|
420
|
+
|
|
421
|
+
_export(_export.S + _export.F * !USE_NATIVE, 'Symbol', {
|
|
422
|
+
// 19.4.2.1 Symbol.for(key)
|
|
423
|
+
'for': function (key) {
|
|
424
|
+
return _has(SymbolRegistry, key += '')
|
|
425
|
+
? SymbolRegistry[key]
|
|
426
|
+
: SymbolRegistry[key] = $Symbol(key);
|
|
427
|
+
},
|
|
428
|
+
// 19.4.2.5 Symbol.keyFor(sym)
|
|
429
|
+
keyFor: function keyFor(sym) {
|
|
430
|
+
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
|
|
431
|
+
for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
|
|
432
|
+
},
|
|
433
|
+
useSetter: function () { setter = true; },
|
|
434
|
+
useSimple: function () { setter = false; }
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
_export(_export.S + _export.F * !USE_NATIVE, 'Object', {
|
|
438
|
+
// 19.1.2.2 Object.create(O [, Properties])
|
|
439
|
+
create: $create,
|
|
440
|
+
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
|
441
|
+
defineProperty: $defineProperty,
|
|
442
|
+
// 19.1.2.3 Object.defineProperties(O, Properties)
|
|
443
|
+
defineProperties: $defineProperties,
|
|
444
|
+
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
445
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
|
446
|
+
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
447
|
+
getOwnPropertyNames: $getOwnPropertyNames,
|
|
448
|
+
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
|
449
|
+
getOwnPropertySymbols: $getOwnPropertySymbols
|
|
450
|
+
});
|
|
451
|
+
|
|
452
|
+
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
|
|
453
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
|
|
454
|
+
var FAILS_ON_PRIMITIVES = _fails(function () { _objectGops.f(1); });
|
|
455
|
+
|
|
456
|
+
_export(_export.S + _export.F * FAILS_ON_PRIMITIVES, 'Object', {
|
|
457
|
+
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
458
|
+
return _objectGops.f(_toObject(it));
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
463
|
+
$JSON && _export(_export.S + _export.F * (!USE_NATIVE || _fails(function () {
|
|
464
|
+
var S = $Symbol();
|
|
465
|
+
// MS Edge converts symbol values to JSON as {}
|
|
466
|
+
// WebKit converts symbol values to JSON as null
|
|
467
|
+
// V8 throws on boxed symbols
|
|
468
|
+
return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
|
|
469
|
+
})), 'JSON', {
|
|
470
|
+
stringify: function stringify(it) {
|
|
471
|
+
var args = [it];
|
|
472
|
+
var i = 1;
|
|
473
|
+
var replacer, $replacer;
|
|
474
|
+
while (arguments.length > i) args.push(arguments[i++]);
|
|
475
|
+
$replacer = replacer = args[1];
|
|
476
|
+
if (!_isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
|
|
477
|
+
if (!_isArray(replacer)) replacer = function (key, value) {
|
|
478
|
+
if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
|
|
479
|
+
if (!isSymbol(value)) return value;
|
|
480
|
+
};
|
|
481
|
+
args[1] = replacer;
|
|
482
|
+
return _stringify.apply($JSON, args);
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
|
|
487
|
+
$Symbol[PROTOTYPE][TO_PRIMITIVE] || _hide($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
|
|
488
|
+
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
|
489
|
+
_setToStringTag($Symbol, 'Symbol');
|
|
490
|
+
// 20.2.1.9 Math[@@toStringTag]
|
|
491
|
+
_setToStringTag(Math, 'Math', true);
|
|
492
|
+
// 24.3.3 JSON[@@toStringTag]
|
|
493
|
+
_setToStringTag(_global.JSON, 'JSON', true);
|
|
494
|
+
|
|
495
|
+
_wksDefine('asyncIterator');
|
|
496
|
+
|
|
497
|
+
_wksDefine('observable');
|
|
498
|
+
|
|
499
|
+
var symbol = _core.Symbol;
|
|
500
|
+
|
|
501
|
+
var symbol$1 = createCommonjsModule(function (module) {
|
|
502
|
+
module.exports = { "default": symbol, __esModule: true };
|
|
503
|
+
});
|
|
504
|
+
|
|
505
|
+
unwrapExports(symbol$1);
|
|
506
|
+
|
|
507
|
+
var _typeof_1 = createCommonjsModule(function (module, exports) {
|
|
508
|
+
|
|
509
|
+
exports.__esModule = true;
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
var _iterator2 = _interopRequireDefault(iterator$1);
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
var _symbol2 = _interopRequireDefault(symbol$1);
|
|
518
|
+
|
|
519
|
+
var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };
|
|
520
|
+
|
|
521
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
522
|
+
|
|
523
|
+
exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
|
|
524
|
+
return typeof obj === "undefined" ? "undefined" : _typeof(obj);
|
|
525
|
+
} : function (obj) {
|
|
526
|
+
return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
|
|
527
|
+
};
|
|
528
|
+
});
|
|
529
|
+
|
|
530
|
+
unwrapExports(_typeof_1);
|
|
531
|
+
|
|
532
|
+
var possibleConstructorReturn = createCommonjsModule(function (module, exports) {
|
|
533
|
+
|
|
534
|
+
exports.__esModule = true;
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
var _typeof3 = _interopRequireDefault(_typeof_1);
|
|
539
|
+
|
|
540
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
541
|
+
|
|
542
|
+
exports.default = function (self, call) {
|
|
543
|
+
if (!self) {
|
|
544
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
|
|
548
|
+
};
|
|
549
|
+
});
|
|
550
|
+
|
|
551
|
+
var _possibleConstructorReturn = unwrapExports(possibleConstructorReturn);
|
|
552
|
+
|
|
553
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
554
|
+
/* eslint-disable no-proto */
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
var check = function (O, proto) {
|
|
558
|
+
_anObject(O);
|
|
559
|
+
if (!_isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
|
|
560
|
+
};
|
|
561
|
+
var _setProto = {
|
|
562
|
+
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
|
563
|
+
function (test, buggy, set) {
|
|
564
|
+
try {
|
|
565
|
+
set = _ctx(Function.call, _objectGopd.f(Object.prototype, '__proto__').set, 2);
|
|
566
|
+
set(test, []);
|
|
567
|
+
buggy = !(test instanceof Array);
|
|
568
|
+
} catch (e) { buggy = true; }
|
|
569
|
+
return function setPrototypeOf(O, proto) {
|
|
570
|
+
check(O, proto);
|
|
571
|
+
if (buggy) O.__proto__ = proto;
|
|
572
|
+
else set(O, proto);
|
|
573
|
+
return O;
|
|
574
|
+
};
|
|
575
|
+
}({}, false) : undefined),
|
|
576
|
+
check: check
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
// 19.1.3.19 Object.setPrototypeOf(O, proto)
|
|
580
|
+
|
|
581
|
+
_export(_export.S, 'Object', { setPrototypeOf: _setProto.set });
|
|
582
|
+
|
|
583
|
+
var setPrototypeOf = _core.Object.setPrototypeOf;
|
|
584
|
+
|
|
585
|
+
var setPrototypeOf$1 = createCommonjsModule(function (module) {
|
|
586
|
+
module.exports = { "default": setPrototypeOf, __esModule: true };
|
|
587
|
+
});
|
|
588
|
+
|
|
589
|
+
unwrapExports(setPrototypeOf$1);
|
|
590
|
+
|
|
591
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
592
|
+
_export(_export.S, 'Object', { create: _objectCreate });
|
|
593
|
+
|
|
594
|
+
var $Object$1 = _core.Object;
|
|
595
|
+
var create = function create(P, D) {
|
|
596
|
+
return $Object$1.create(P, D);
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
var create$1 = createCommonjsModule(function (module) {
|
|
600
|
+
module.exports = { "default": create, __esModule: true };
|
|
601
|
+
});
|
|
602
|
+
|
|
603
|
+
unwrapExports(create$1);
|
|
604
|
+
|
|
605
|
+
var inherits = createCommonjsModule(function (module, exports) {
|
|
606
|
+
|
|
607
|
+
exports.__esModule = true;
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
var _setPrototypeOf2 = _interopRequireDefault(setPrototypeOf$1);
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
var _create2 = _interopRequireDefault(create$1);
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
var _typeof3 = _interopRequireDefault(_typeof_1);
|
|
620
|
+
|
|
621
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
622
|
+
|
|
623
|
+
exports.default = function (subClass, superClass) {
|
|
624
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
625
|
+
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
|
|
629
|
+
constructor: {
|
|
630
|
+
value: subClass,
|
|
631
|
+
enumerable: false,
|
|
632
|
+
writable: true,
|
|
633
|
+
configurable: true
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
|
|
637
|
+
};
|
|
638
|
+
});
|
|
639
|
+
|
|
640
|
+
var _inherits = unwrapExports(inherits);
|
|
641
|
+
|
|
642
|
+
export { _objectSap as _, _inherits as a, _classCallCheck as b, _possibleConstructorReturn as c, _Object$getPrototypeOf as d, _createClass as e, _library as f };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
|
-
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-ae1b5db5.js';
|
|
3
3
|
|
|
4
4
|
var uaParser_min = createCommonjsModule(function (module, exports) {
|
|
5
5
|
/*!
|