@tailor-cms/ce-accordion-display 0.0.14 → 0.0.15

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/dist/index.js CHANGED
@@ -44,11 +44,19 @@ function v4(options, buf, offset) {
44
44
  }
45
45
  return unsafeStringify(rnds);
46
46
  }
47
+ var id = v4();
47
48
  var type = "ACCORDION";
48
49
  var name = "Accordion";
49
50
  var initState = () => ({
50
51
  embeds: {},
51
- items: [{ id: v4(), title: "Accordion Item Title", elementIds: [] }]
52
+ items: {
53
+ [id]: {
54
+ id,
55
+ header: "Accordion Item Title",
56
+ body: {},
57
+ position: 1
58
+ }
59
+ }
52
60
  });
53
61
  var ui = {
54
62
  // Display icon, https://pictogrammers.com/library/mdi/
@@ -71,14 +79,41 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
71
79
  function getDefaultExportFromCjs(x) {
72
80
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
73
81
  }
74
- function arrayPush$2(array, values) {
75
- var index = -1, length = values.length, offset = array.length;
82
+ function arrayReduce$1(array, iteratee, accumulator, initAccum) {
83
+ var index = -1, length = array == null ? 0 : array.length;
84
+ if (initAccum && length) {
85
+ accumulator = array[++index];
86
+ }
76
87
  while (++index < length) {
77
- array[offset + index] = values[index];
88
+ accumulator = iteratee(accumulator, array[index], index, array);
78
89
  }
79
- return array;
90
+ return accumulator;
80
91
  }
81
- var _arrayPush = arrayPush$2;
92
+ var _arrayReduce = arrayReduce$1;
93
+ function createBaseFor$1(fromRight) {
94
+ return function(object, iteratee, keysFunc) {
95
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
96
+ while (length--) {
97
+ var key = props[fromRight ? length : ++index];
98
+ if (iteratee(iterable[key], key, iterable) === false) {
99
+ break;
100
+ }
101
+ }
102
+ return object;
103
+ };
104
+ }
105
+ var _createBaseFor = createBaseFor$1;
106
+ var createBaseFor = _createBaseFor;
107
+ var baseFor$1 = createBaseFor();
108
+ var _baseFor = baseFor$1;
109
+ function baseTimes$1(n, iteratee) {
110
+ var index = -1, result = Array(n);
111
+ while (++index < n) {
112
+ result[index] = iteratee(index);
113
+ }
114
+ return result;
115
+ }
116
+ var _baseTimes = baseTimes$1;
82
117
  var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
83
118
  var _freeGlobal = freeGlobal$1;
84
119
  var freeGlobal = _freeGlobal;
@@ -147,76 +182,275 @@ var isArguments$3 = baseIsArguments(function() {
147
182
  return isObjectLike$3(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
148
183
  };
149
184
  var isArguments_1 = isArguments$3;
150
- var isArray$a = Array.isArray;
151
- var isArray_1 = isArray$a;
152
- var Symbol$3 = _Symbol, isArguments$2 = isArguments_1, isArray$9 = isArray_1;
153
- var spreadableSymbol = Symbol$3 ? Symbol$3.isConcatSpreadable : void 0;
154
- function isFlattenable$1(value) {
155
- return isArray$9(value) || isArguments$2(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
185
+ var isArray$b = Array.isArray;
186
+ var isArray_1 = isArray$b;
187
+ var isBuffer$2 = { exports: {} };
188
+ function stubFalse() {
189
+ return false;
156
190
  }
157
- var _isFlattenable = isFlattenable$1;
158
- var arrayPush$1 = _arrayPush, isFlattenable = _isFlattenable;
159
- function baseFlatten$1(array, depth, predicate, isStrict, result) {
160
- var index = -1, length = array.length;
161
- predicate || (predicate = isFlattenable);
162
- result || (result = []);
163
- while (++index < length) {
164
- var value = array[index];
165
- if (depth > 0 && predicate(value)) {
166
- if (depth > 1) {
167
- baseFlatten$1(value, depth - 1, predicate, isStrict, result);
168
- } else {
169
- arrayPush$1(result, value);
191
+ var stubFalse_1 = stubFalse;
192
+ isBuffer$2.exports;
193
+ (function(module, exports) {
194
+ var root2 = _root, stubFalse2 = stubFalse_1;
195
+ var freeExports = exports && !exports.nodeType && exports;
196
+ var freeModule = freeExports && true && module && !module.nodeType && module;
197
+ var moduleExports = freeModule && freeModule.exports === freeExports;
198
+ var Buffer = moduleExports ? root2.Buffer : void 0;
199
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
200
+ var isBuffer2 = nativeIsBuffer || stubFalse2;
201
+ module.exports = isBuffer2;
202
+ })(isBuffer$2, isBuffer$2.exports);
203
+ var isBufferExports = isBuffer$2.exports;
204
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
205
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
206
+ function isIndex$3(value, length) {
207
+ var type2 = typeof value;
208
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
209
+ return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
210
+ }
211
+ var _isIndex = isIndex$3;
212
+ var MAX_SAFE_INTEGER = 9007199254740991;
213
+ function isLength$3(value) {
214
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
215
+ }
216
+ var isLength_1 = isLength$3;
217
+ var baseGetTag$3 = _baseGetTag, isLength$2 = isLength_1, isObjectLike$2 = isObjectLike_1;
218
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
219
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
220
+ var typedArrayTags = {};
221
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
222
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
223
+ function baseIsTypedArray$1(value) {
224
+ return isObjectLike$2(value) && isLength$2(value.length) && !!typedArrayTags[baseGetTag$3(value)];
225
+ }
226
+ var _baseIsTypedArray = baseIsTypedArray$1;
227
+ function baseUnary$2(func) {
228
+ return function(value) {
229
+ return func(value);
230
+ };
231
+ }
232
+ var _baseUnary = baseUnary$2;
233
+ var _nodeUtil = { exports: {} };
234
+ _nodeUtil.exports;
235
+ (function(module, exports) {
236
+ var freeGlobal2 = _freeGlobal;
237
+ var freeExports = exports && !exports.nodeType && exports;
238
+ var freeModule = freeExports && true && module && !module.nodeType && module;
239
+ var moduleExports = freeModule && freeModule.exports === freeExports;
240
+ var freeProcess = moduleExports && freeGlobal2.process;
241
+ var nodeUtil2 = function() {
242
+ try {
243
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
244
+ if (types) {
245
+ return types;
170
246
  }
171
- } else if (!isStrict) {
172
- result[result.length] = value;
247
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
248
+ } catch (e) {
249
+ }
250
+ }();
251
+ module.exports = nodeUtil2;
252
+ })(_nodeUtil, _nodeUtil.exports);
253
+ var _nodeUtilExports = _nodeUtil.exports;
254
+ var baseIsTypedArray = _baseIsTypedArray, baseUnary$1 = _baseUnary, nodeUtil = _nodeUtilExports;
255
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
256
+ var isTypedArray$2 = nodeIsTypedArray ? baseUnary$1(nodeIsTypedArray) : baseIsTypedArray;
257
+ var isTypedArray_1 = isTypedArray$2;
258
+ var baseTimes = _baseTimes, isArguments$2 = isArguments_1, isArray$a = isArray_1, isBuffer$1 = isBufferExports, isIndex$2 = _isIndex, isTypedArray$1 = isTypedArray_1;
259
+ var objectProto$8 = Object.prototype;
260
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
261
+ function arrayLikeKeys$1(value, inherited) {
262
+ var isArr = isArray$a(value), isArg = !isArr && isArguments$2(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
263
+ for (var key in value) {
264
+ if ((inherited || hasOwnProperty$6.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
265
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
266
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
267
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
268
+ isIndex$2(key, length)))) {
269
+ result.push(key);
173
270
  }
174
271
  }
175
272
  return result;
176
273
  }
177
- var _baseFlatten = baseFlatten$1;
178
- function arrayMap$2(array, iteratee) {
179
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
180
- while (++index < length) {
181
- result[index] = iteratee(array[index], index, array);
182
- }
183
- return result;
274
+ var _arrayLikeKeys = arrayLikeKeys$1;
275
+ var objectProto$7 = Object.prototype;
276
+ function isPrototype$1(value) {
277
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$7;
278
+ return value === proto;
184
279
  }
185
- var _arrayMap = arrayMap$2;
186
- var baseGetTag$3 = _baseGetTag, isObjectLike$2 = isObjectLike_1;
187
- var symbolTag$1 = "[object Symbol]";
188
- function isSymbol$4(value) {
189
- return typeof value == "symbol" || isObjectLike$2(value) && baseGetTag$3(value) == symbolTag$1;
280
+ var _isPrototype = isPrototype$1;
281
+ function overArg$1(func, transform) {
282
+ return function(arg) {
283
+ return func(transform(arg));
284
+ };
190
285
  }
191
- var isSymbol_1 = isSymbol$4;
192
- var isArray$8 = isArray_1, isSymbol$3 = isSymbol_1;
193
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
194
- function isKey$3(value, object) {
195
- if (isArray$8(value)) {
196
- return false;
286
+ var _overArg = overArg$1;
287
+ var overArg = _overArg;
288
+ var nativeKeys$1 = overArg(Object.keys, Object);
289
+ var _nativeKeys = nativeKeys$1;
290
+ var isPrototype = _isPrototype, nativeKeys = _nativeKeys;
291
+ var objectProto$6 = Object.prototype;
292
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
293
+ function baseKeys$1(object) {
294
+ if (!isPrototype(object)) {
295
+ return nativeKeys(object);
197
296
  }
198
- var type2 = typeof value;
199
- if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value == null || isSymbol$3(value)) {
200
- return true;
297
+ var result = [];
298
+ for (var key in Object(object)) {
299
+ if (hasOwnProperty$5.call(object, key) && key != "constructor") {
300
+ result.push(key);
301
+ }
201
302
  }
202
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
303
+ return result;
203
304
  }
204
- var _isKey = isKey$3;
305
+ var _baseKeys = baseKeys$1;
205
306
  function isObject$4(value) {
206
307
  var type2 = typeof value;
207
308
  return value != null && (type2 == "object" || type2 == "function");
208
309
  }
209
310
  var isObject_1 = isObject$4;
210
311
  var baseGetTag$2 = _baseGetTag, isObject$3 = isObject_1;
211
- var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
312
+ var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
212
313
  function isFunction$2(value) {
213
314
  if (!isObject$3(value)) {
214
315
  return false;
215
316
  }
216
317
  var tag = baseGetTag$2(value);
217
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
318
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
218
319
  }
219
320
  var isFunction_1 = isFunction$2;
321
+ var isFunction$1 = isFunction_1, isLength$1 = isLength_1;
322
+ function isArrayLike$4(value) {
323
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
324
+ }
325
+ var isArrayLike_1 = isArrayLike$4;
326
+ var arrayLikeKeys = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$3 = isArrayLike_1;
327
+ function keys$3(object) {
328
+ return isArrayLike$3(object) ? arrayLikeKeys(object) : baseKeys(object);
329
+ }
330
+ var keys_1 = keys$3;
331
+ var baseFor = _baseFor, keys$2 = keys_1;
332
+ function baseForOwn$1(object, iteratee) {
333
+ return object && baseFor(object, iteratee, keys$2);
334
+ }
335
+ var _baseForOwn = baseForOwn$1;
336
+ var isArrayLike$2 = isArrayLike_1;
337
+ function createBaseEach$1(eachFunc, fromRight) {
338
+ return function(collection, iteratee) {
339
+ if (collection == null) {
340
+ return collection;
341
+ }
342
+ if (!isArrayLike$2(collection)) {
343
+ return eachFunc(collection, iteratee);
344
+ }
345
+ var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
346
+ while (fromRight ? index-- : ++index < length) {
347
+ if (iteratee(iterable[index], index, iterable) === false) {
348
+ break;
349
+ }
350
+ }
351
+ return collection;
352
+ };
353
+ }
354
+ var _createBaseEach = createBaseEach$1;
355
+ var baseForOwn = _baseForOwn, createBaseEach = _createBaseEach;
356
+ var baseEach$2 = createBaseEach(baseForOwn);
357
+ var _baseEach = baseEach$2;
358
+ function listCacheClear$1() {
359
+ this.__data__ = [];
360
+ this.size = 0;
361
+ }
362
+ var _listCacheClear = listCacheClear$1;
363
+ function eq$3(value, other) {
364
+ return value === other || value !== value && other !== other;
365
+ }
366
+ var eq_1 = eq$3;
367
+ var eq$2 = eq_1;
368
+ function assocIndexOf$4(array, key) {
369
+ var length = array.length;
370
+ while (length--) {
371
+ if (eq$2(array[length][0], key)) {
372
+ return length;
373
+ }
374
+ }
375
+ return -1;
376
+ }
377
+ var _assocIndexOf = assocIndexOf$4;
378
+ var assocIndexOf$3 = _assocIndexOf;
379
+ var arrayProto = Array.prototype;
380
+ var splice = arrayProto.splice;
381
+ function listCacheDelete$1(key) {
382
+ var data = this.__data__, index = assocIndexOf$3(data, key);
383
+ if (index < 0) {
384
+ return false;
385
+ }
386
+ var lastIndex = data.length - 1;
387
+ if (index == lastIndex) {
388
+ data.pop();
389
+ } else {
390
+ splice.call(data, index, 1);
391
+ }
392
+ --this.size;
393
+ return true;
394
+ }
395
+ var _listCacheDelete = listCacheDelete$1;
396
+ var assocIndexOf$2 = _assocIndexOf;
397
+ function listCacheGet$1(key) {
398
+ var data = this.__data__, index = assocIndexOf$2(data, key);
399
+ return index < 0 ? void 0 : data[index][1];
400
+ }
401
+ var _listCacheGet = listCacheGet$1;
402
+ var assocIndexOf$1 = _assocIndexOf;
403
+ function listCacheHas$1(key) {
404
+ return assocIndexOf$1(this.__data__, key) > -1;
405
+ }
406
+ var _listCacheHas = listCacheHas$1;
407
+ var assocIndexOf = _assocIndexOf;
408
+ function listCacheSet$1(key, value) {
409
+ var data = this.__data__, index = assocIndexOf(data, key);
410
+ if (index < 0) {
411
+ ++this.size;
412
+ data.push([key, value]);
413
+ } else {
414
+ data[index][1] = value;
415
+ }
416
+ return this;
417
+ }
418
+ var _listCacheSet = listCacheSet$1;
419
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
420
+ function ListCache$4(entries) {
421
+ var index = -1, length = entries == null ? 0 : entries.length;
422
+ this.clear();
423
+ while (++index < length) {
424
+ var entry = entries[index];
425
+ this.set(entry[0], entry[1]);
426
+ }
427
+ }
428
+ ListCache$4.prototype.clear = listCacheClear;
429
+ ListCache$4.prototype["delete"] = listCacheDelete;
430
+ ListCache$4.prototype.get = listCacheGet;
431
+ ListCache$4.prototype.has = listCacheHas;
432
+ ListCache$4.prototype.set = listCacheSet;
433
+ var _ListCache = ListCache$4;
434
+ var ListCache$3 = _ListCache;
435
+ function stackClear$1() {
436
+ this.__data__ = new ListCache$3();
437
+ this.size = 0;
438
+ }
439
+ var _stackClear = stackClear$1;
440
+ function stackDelete$1(key) {
441
+ var data = this.__data__, result = data["delete"](key);
442
+ this.size = data.size;
443
+ return result;
444
+ }
445
+ var _stackDelete = stackDelete$1;
446
+ function stackGet$1(key) {
447
+ return this.__data__.get(key);
448
+ }
449
+ var _stackGet = stackGet$1;
450
+ function stackHas$1(key) {
451
+ return this.__data__.has(key);
452
+ }
453
+ var _stackHas = stackHas$1;
220
454
  var root$6 = _root;
221
455
  var coreJsData$1 = root$6["__core-js_shared__"];
222
456
  var _coreJsData = coreJsData$1;
@@ -245,20 +479,20 @@ function toSource$2(func) {
245
479
  return "";
246
480
  }
247
481
  var _toSource = toSource$2;
248
- var isFunction$1 = isFunction_1, isMasked = _isMasked, isObject$2 = isObject_1, toSource$1 = _toSource;
482
+ var isFunction = isFunction_1, isMasked = _isMasked, isObject$2 = isObject_1, toSource$1 = _toSource;
249
483
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
250
484
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
251
- var funcProto = Function.prototype, objectProto$8 = Object.prototype;
485
+ var funcProto = Function.prototype, objectProto$5 = Object.prototype;
252
486
  var funcToString = funcProto.toString;
253
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
487
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
254
488
  var reIsNative = RegExp(
255
- "^" + funcToString.call(hasOwnProperty$6).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
489
+ "^" + funcToString.call(hasOwnProperty$4).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
256
490
  );
257
491
  function baseIsNative$1(value) {
258
492
  if (!isObject$2(value) || isMasked(value)) {
259
493
  return false;
260
494
  }
261
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
495
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
262
496
  return pattern.test(toSource$1(value));
263
497
  }
264
498
  var _baseIsNative = baseIsNative$1;
@@ -272,8 +506,11 @@ function getNative$7(object, key) {
272
506
  return baseIsNative(value) ? value : void 0;
273
507
  }
274
508
  var _getNative = getNative$7;
275
- var getNative$6 = _getNative;
276
- var nativeCreate$4 = getNative$6(Object, "create");
509
+ var getNative$6 = _getNative, root$5 = _root;
510
+ var Map$3 = getNative$6(root$5, "Map");
511
+ var _Map = Map$3;
512
+ var getNative$5 = _getNative;
513
+ var nativeCreate$4 = getNative$5(Object, "create");
277
514
  var _nativeCreate = nativeCreate$4;
278
515
  var nativeCreate$3 = _nativeCreate;
279
516
  function hashClear$1() {
@@ -289,112 +526,36 @@ function hashDelete$1(key) {
289
526
  var _hashDelete = hashDelete$1;
290
527
  var nativeCreate$2 = _nativeCreate;
291
528
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
292
- var objectProto$7 = Object.prototype;
293
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
529
+ var objectProto$4 = Object.prototype;
530
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
294
531
  function hashGet$1(key) {
295
532
  var data = this.__data__;
296
533
  if (nativeCreate$2) {
297
534
  var result = data[key];
298
535
  return result === HASH_UNDEFINED$2 ? void 0 : result;
299
- }
300
- return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
301
- }
302
- var _hashGet = hashGet$1;
303
- var nativeCreate$1 = _nativeCreate;
304
- var objectProto$6 = Object.prototype;
305
- var hasOwnProperty$4 = objectProto$6.hasOwnProperty;
306
- function hashHas$1(key) {
307
- var data = this.__data__;
308
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
309
- }
310
- var _hashHas = hashHas$1;
311
- var nativeCreate = _nativeCreate;
312
- var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
313
- function hashSet$1(key, value) {
314
- var data = this.__data__;
315
- this.size += this.has(key) ? 0 : 1;
316
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
317
- return this;
318
- }
319
- var _hashSet = hashSet$1;
320
- var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
321
- function Hash$1(entries) {
322
- var index = -1, length = entries == null ? 0 : entries.length;
323
- this.clear();
324
- while (++index < length) {
325
- var entry = entries[index];
326
- this.set(entry[0], entry[1]);
327
- }
328
- }
329
- Hash$1.prototype.clear = hashClear;
330
- Hash$1.prototype["delete"] = hashDelete;
331
- Hash$1.prototype.get = hashGet;
332
- Hash$1.prototype.has = hashHas;
333
- Hash$1.prototype.set = hashSet;
334
- var _Hash = Hash$1;
335
- function listCacheClear$1() {
336
- this.__data__ = [];
337
- this.size = 0;
338
- }
339
- var _listCacheClear = listCacheClear$1;
340
- function eq$3(value, other) {
341
- return value === other || value !== value && other !== other;
342
- }
343
- var eq_1 = eq$3;
344
- var eq$2 = eq_1;
345
- function assocIndexOf$4(array, key) {
346
- var length = array.length;
347
- while (length--) {
348
- if (eq$2(array[length][0], key)) {
349
- return length;
350
- }
351
- }
352
- return -1;
353
- }
354
- var _assocIndexOf = assocIndexOf$4;
355
- var assocIndexOf$3 = _assocIndexOf;
356
- var arrayProto = Array.prototype;
357
- var splice = arrayProto.splice;
358
- function listCacheDelete$1(key) {
359
- var data = this.__data__, index = assocIndexOf$3(data, key);
360
- if (index < 0) {
361
- return false;
362
- }
363
- var lastIndex = data.length - 1;
364
- if (index == lastIndex) {
365
- data.pop();
366
- } else {
367
- splice.call(data, index, 1);
368
- }
369
- --this.size;
370
- return true;
371
- }
372
- var _listCacheDelete = listCacheDelete$1;
373
- var assocIndexOf$2 = _assocIndexOf;
374
- function listCacheGet$1(key) {
375
- var data = this.__data__, index = assocIndexOf$2(data, key);
376
- return index < 0 ? void 0 : data[index][1];
536
+ }
537
+ return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
377
538
  }
378
- var _listCacheGet = listCacheGet$1;
379
- var assocIndexOf$1 = _assocIndexOf;
380
- function listCacheHas$1(key) {
381
- return assocIndexOf$1(this.__data__, key) > -1;
539
+ var _hashGet = hashGet$1;
540
+ var nativeCreate$1 = _nativeCreate;
541
+ var objectProto$3 = Object.prototype;
542
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
543
+ function hashHas$1(key) {
544
+ var data = this.__data__;
545
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
382
546
  }
383
- var _listCacheHas = listCacheHas$1;
384
- var assocIndexOf = _assocIndexOf;
385
- function listCacheSet$1(key, value) {
386
- var data = this.__data__, index = assocIndexOf(data, key);
387
- if (index < 0) {
388
- ++this.size;
389
- data.push([key, value]);
390
- } else {
391
- data[index][1] = value;
392
- }
547
+ var _hashHas = hashHas$1;
548
+ var nativeCreate = _nativeCreate;
549
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
550
+ function hashSet$1(key, value) {
551
+ var data = this.__data__;
552
+ this.size += this.has(key) ? 0 : 1;
553
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
393
554
  return this;
394
555
  }
395
- var _listCacheSet = listCacheSet$1;
396
- var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
397
- function ListCache$4(entries) {
556
+ var _hashSet = hashSet$1;
557
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
558
+ function Hash$1(entries) {
398
559
  var index = -1, length = entries == null ? 0 : entries.length;
399
560
  this.clear();
400
561
  while (++index < length) {
@@ -402,21 +563,18 @@ function ListCache$4(entries) {
402
563
  this.set(entry[0], entry[1]);
403
564
  }
404
565
  }
405
- ListCache$4.prototype.clear = listCacheClear;
406
- ListCache$4.prototype["delete"] = listCacheDelete;
407
- ListCache$4.prototype.get = listCacheGet;
408
- ListCache$4.prototype.has = listCacheHas;
409
- ListCache$4.prototype.set = listCacheSet;
410
- var _ListCache = ListCache$4;
411
- var getNative$5 = _getNative, root$5 = _root;
412
- var Map$3 = getNative$5(root$5, "Map");
413
- var _Map = Map$3;
414
- var Hash = _Hash, ListCache$3 = _ListCache, Map$2 = _Map;
566
+ Hash$1.prototype.clear = hashClear;
567
+ Hash$1.prototype["delete"] = hashDelete;
568
+ Hash$1.prototype.get = hashGet;
569
+ Hash$1.prototype.has = hashHas;
570
+ Hash$1.prototype.set = hashSet;
571
+ var _Hash = Hash$1;
572
+ var Hash = _Hash, ListCache$2 = _ListCache, Map$2 = _Map;
415
573
  function mapCacheClear$1() {
416
574
  this.size = 0;
417
575
  this.__data__ = {
418
576
  "hash": new Hash(),
419
- "map": new (Map$2 || ListCache$3)(),
577
+ "map": new (Map$2 || ListCache$2)(),
420
578
  "string": new Hash()
421
579
  };
422
580
  }
@@ -472,124 +630,7 @@ MapCache$3.prototype.get = mapCacheGet;
472
630
  MapCache$3.prototype.has = mapCacheHas;
473
631
  MapCache$3.prototype.set = mapCacheSet;
474
632
  var _MapCache = MapCache$3;
475
- var MapCache$2 = _MapCache;
476
- var FUNC_ERROR_TEXT = "Expected a function";
477
- function memoize$1(func, resolver) {
478
- if (typeof func != "function" || resolver != null && typeof resolver != "function") {
479
- throw new TypeError(FUNC_ERROR_TEXT);
480
- }
481
- var memoized = function() {
482
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
483
- if (cache.has(key)) {
484
- return cache.get(key);
485
- }
486
- var result = func.apply(this, args);
487
- memoized.cache = cache.set(key, result) || cache;
488
- return result;
489
- };
490
- memoized.cache = new (memoize$1.Cache || MapCache$2)();
491
- return memoized;
492
- }
493
- memoize$1.Cache = MapCache$2;
494
- var memoize_1 = memoize$1;
495
- var memoize = memoize_1;
496
- var MAX_MEMOIZE_SIZE = 500;
497
- function memoizeCapped$1(func) {
498
- var result = memoize(func, function(key) {
499
- if (cache.size === MAX_MEMOIZE_SIZE) {
500
- cache.clear();
501
- }
502
- return key;
503
- });
504
- var cache = result.cache;
505
- return result;
506
- }
507
- var _memoizeCapped = memoizeCapped$1;
508
- var memoizeCapped = _memoizeCapped;
509
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
510
- var reEscapeChar = /\\(\\)?/g;
511
- var stringToPath$1 = memoizeCapped(function(string) {
512
- var result = [];
513
- if (string.charCodeAt(0) === 46) {
514
- result.push("");
515
- }
516
- string.replace(rePropName, function(match, number, quote, subString) {
517
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
518
- });
519
- return result;
520
- });
521
- var _stringToPath = stringToPath$1;
522
- var Symbol$2 = _Symbol, arrayMap$1 = _arrayMap, isArray$7 = isArray_1, isSymbol$2 = isSymbol_1;
523
- var INFINITY$1 = 1 / 0;
524
- var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
525
- function baseToString$1(value) {
526
- if (typeof value == "string") {
527
- return value;
528
- }
529
- if (isArray$7(value)) {
530
- return arrayMap$1(value, baseToString$1) + "";
531
- }
532
- if (isSymbol$2(value)) {
533
- return symbolToString ? symbolToString.call(value) : "";
534
- }
535
- var result = value + "";
536
- return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
537
- }
538
- var _baseToString = baseToString$1;
539
- var baseToString = _baseToString;
540
- function toString$1(value) {
541
- return value == null ? "" : baseToString(value);
542
- }
543
- var toString_1 = toString$1;
544
- var isArray$6 = isArray_1, isKey$2 = _isKey, stringToPath = _stringToPath, toString = toString_1;
545
- function castPath$2(value, object) {
546
- if (isArray$6(value)) {
547
- return value;
548
- }
549
- return isKey$2(value, object) ? [value] : stringToPath(toString(value));
550
- }
551
- var _castPath = castPath$2;
552
- var isSymbol$1 = isSymbol_1;
553
- var INFINITY = 1 / 0;
554
- function toKey$4(value) {
555
- if (typeof value == "string" || isSymbol$1(value)) {
556
- return value;
557
- }
558
- var result = value + "";
559
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
560
- }
561
- var _toKey = toKey$4;
562
- var castPath$1 = _castPath, toKey$3 = _toKey;
563
- function baseGet$3(object, path) {
564
- path = castPath$1(path, object);
565
- var index = 0, length = path.length;
566
- while (object != null && index < length) {
567
- object = object[toKey$3(path[index++])];
568
- }
569
- return index && index == length ? object : void 0;
570
- }
571
- var _baseGet = baseGet$3;
572
- var ListCache$2 = _ListCache;
573
- function stackClear$1() {
574
- this.__data__ = new ListCache$2();
575
- this.size = 0;
576
- }
577
- var _stackClear = stackClear$1;
578
- function stackDelete$1(key) {
579
- var data = this.__data__, result = data["delete"](key);
580
- this.size = data.size;
581
- return result;
582
- }
583
- var _stackDelete = stackDelete$1;
584
- function stackGet$1(key) {
585
- return this.__data__.get(key);
586
- }
587
- var _stackGet = stackGet$1;
588
- function stackHas$1(key) {
589
- return this.__data__.has(key);
590
- }
591
- var _stackHas = stackHas$1;
592
- var ListCache$1 = _ListCache, Map$1 = _Map, MapCache$1 = _MapCache;
633
+ var ListCache$1 = _ListCache, Map$1 = _Map, MapCache$2 = _MapCache;
593
634
  var LARGE_ARRAY_SIZE = 200;
594
635
  function stackSet$1(key, value) {
595
636
  var data = this.__data__;
@@ -600,7 +641,7 @@ function stackSet$1(key, value) {
600
641
  this.size = ++data.size;
601
642
  return this;
602
643
  }
603
- data = this.__data__ = new MapCache$1(pairs);
644
+ data = this.__data__ = new MapCache$2(pairs);
604
645
  }
605
646
  data.set(key, value);
606
647
  this.size = data.size;
@@ -628,10 +669,10 @@ function setCacheHas$1(value) {
628
669
  return this.__data__.has(value);
629
670
  }
630
671
  var _setCacheHas = setCacheHas$1;
631
- var MapCache = _MapCache, setCacheAdd = _setCacheAdd, setCacheHas = _setCacheHas;
672
+ var MapCache$1 = _MapCache, setCacheAdd = _setCacheAdd, setCacheHas = _setCacheHas;
632
673
  function SetCache$1(values) {
633
674
  var index = -1, length = values == null ? 0 : values.length;
634
- this.__data__ = new MapCache();
675
+ this.__data__ = new MapCache$1();
635
676
  while (++index < length) {
636
677
  this.add(values[index]);
637
678
  }
@@ -718,36 +759,36 @@ function setToArray$1(set) {
718
759
  return result;
719
760
  }
720
761
  var _setToArray = setToArray$1;
721
- var Symbol$1 = _Symbol, Uint8Array$1 = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
762
+ var Symbol$3 = _Symbol, Uint8Array$1 = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
722
763
  var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
723
- var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag = "[object Symbol]";
724
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]";
725
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
764
+ var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag$1 = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", symbolTag$1 = "[object Symbol]";
765
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]";
766
+ var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : void 0, symbolValueOf = symbolProto$1 ? symbolProto$1.valueOf : void 0;
726
767
  function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack) {
727
768
  switch (tag) {
728
- case dataViewTag$2:
769
+ case dataViewTag$1:
729
770
  if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
730
771
  return false;
731
772
  }
732
773
  object = object.buffer;
733
774
  other = other.buffer;
734
- case arrayBufferTag$1:
775
+ case arrayBufferTag:
735
776
  if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
736
777
  return false;
737
778
  }
738
779
  return true;
739
- case boolTag$1:
740
- case dateTag$1:
741
- case numberTag$1:
780
+ case boolTag:
781
+ case dateTag:
782
+ case numberTag:
742
783
  return eq$1(+object, +other);
743
- case errorTag$1:
784
+ case errorTag:
744
785
  return object.name == other.name && object.message == other.message;
745
- case regexpTag$1:
746
- case stringTag$1:
786
+ case regexpTag:
787
+ case stringTag:
747
788
  return object == other + "";
748
- case mapTag$2:
789
+ case mapTag$1:
749
790
  var convert = mapToArray;
750
- case setTag$2:
791
+ case setTag$1:
751
792
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
752
793
  convert || (convert = setToArray);
753
794
  if (object.size != other.size && !isPartial) {
@@ -761,190 +802,61 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
761
802
  stack.set(object, other);
762
803
  var result = equalArrays$1(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
763
804
  stack["delete"](object);
764
- return result;
765
- case symbolTag:
766
- if (symbolValueOf) {
767
- return symbolValueOf.call(object) == symbolValueOf.call(other);
768
- }
769
- }
770
- return false;
771
- }
772
- var _equalByTag = equalByTag$1;
773
- var arrayPush = _arrayPush, isArray$5 = isArray_1;
774
- function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
775
- var result = keysFunc(object);
776
- return isArray$5(object) ? result : arrayPush(result, symbolsFunc(object));
777
- }
778
- var _baseGetAllKeys = baseGetAllKeys$1;
779
- function arrayFilter$1(array, predicate) {
780
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
781
- while (++index < length) {
782
- var value = array[index];
783
- if (predicate(value, index, array)) {
784
- result[resIndex++] = value;
785
- }
786
- }
787
- return result;
788
- }
789
- var _arrayFilter = arrayFilter$1;
790
- function stubArray$1() {
791
- return [];
792
- }
793
- var stubArray_1 = stubArray$1;
794
- var arrayFilter = _arrayFilter, stubArray = stubArray_1;
795
- var objectProto$5 = Object.prototype;
796
- var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
797
- var nativeGetSymbols = Object.getOwnPropertySymbols;
798
- var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
799
- if (object == null) {
800
- return [];
801
- }
802
- object = Object(object);
803
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
804
- return propertyIsEnumerable.call(object, symbol);
805
- });
806
- };
807
- var _getSymbols = getSymbols$1;
808
- function baseTimes$1(n, iteratee) {
809
- var index = -1, result = Array(n);
810
- while (++index < n) {
811
- result[index] = iteratee(index);
812
- }
813
- return result;
814
- }
815
- var _baseTimes = baseTimes$1;
816
- var isBuffer$2 = { exports: {} };
817
- function stubFalse() {
818
- return false;
819
- }
820
- var stubFalse_1 = stubFalse;
821
- isBuffer$2.exports;
822
- (function(module, exports) {
823
- var root2 = _root, stubFalse2 = stubFalse_1;
824
- var freeExports = exports && !exports.nodeType && exports;
825
- var freeModule = freeExports && true && module && !module.nodeType && module;
826
- var moduleExports = freeModule && freeModule.exports === freeExports;
827
- var Buffer = moduleExports ? root2.Buffer : void 0;
828
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
829
- var isBuffer2 = nativeIsBuffer || stubFalse2;
830
- module.exports = isBuffer2;
831
- })(isBuffer$2, isBuffer$2.exports);
832
- var isBufferExports = isBuffer$2.exports;
833
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
834
- var reIsUint = /^(?:0|[1-9]\d*)$/;
835
- function isIndex$3(value, length) {
836
- var type2 = typeof value;
837
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
838
- return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
839
- }
840
- var _isIndex = isIndex$3;
841
- var MAX_SAFE_INTEGER = 9007199254740991;
842
- function isLength$3(value) {
843
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
844
- }
845
- var isLength_1 = isLength$3;
846
- var baseGetTag$1 = _baseGetTag, isLength$2 = isLength_1, isObjectLike$1 = isObjectLike_1;
847
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag$1 = "[object Map]", numberTag = "[object Number]", objectTag$2 = "[object Object]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", weakMapTag$1 = "[object WeakMap]";
848
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
849
- var typedArrayTags = {};
850
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
851
- typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag$1] = typedArrayTags[numberTag] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag] = typedArrayTags[setTag$1] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag$1] = false;
852
- function baseIsTypedArray$1(value) {
853
- return isObjectLike$1(value) && isLength$2(value.length) && !!typedArrayTags[baseGetTag$1(value)];
854
- }
855
- var _baseIsTypedArray = baseIsTypedArray$1;
856
- function baseUnary$2(func) {
857
- return function(value) {
858
- return func(value);
859
- };
860
- }
861
- var _baseUnary = baseUnary$2;
862
- var _nodeUtil = { exports: {} };
863
- _nodeUtil.exports;
864
- (function(module, exports) {
865
- var freeGlobal2 = _freeGlobal;
866
- var freeExports = exports && !exports.nodeType && exports;
867
- var freeModule = freeExports && true && module && !module.nodeType && module;
868
- var moduleExports = freeModule && freeModule.exports === freeExports;
869
- var freeProcess = moduleExports && freeGlobal2.process;
870
- var nodeUtil2 = function() {
871
- try {
872
- var types = freeModule && freeModule.require && freeModule.require("util").types;
873
- if (types) {
874
- return types;
805
+ return result;
806
+ case symbolTag$1:
807
+ if (symbolValueOf) {
808
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
875
809
  }
876
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
877
- } catch (e) {
878
- }
879
- }();
880
- module.exports = nodeUtil2;
881
- })(_nodeUtil, _nodeUtil.exports);
882
- var _nodeUtilExports = _nodeUtil.exports;
883
- var baseIsTypedArray = _baseIsTypedArray, baseUnary$1 = _baseUnary, nodeUtil = _nodeUtilExports;
884
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
885
- var isTypedArray$2 = nodeIsTypedArray ? baseUnary$1(nodeIsTypedArray) : baseIsTypedArray;
886
- var isTypedArray_1 = isTypedArray$2;
887
- var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$4 = isArray_1, isBuffer$1 = isBufferExports, isIndex$2 = _isIndex, isTypedArray$1 = isTypedArray_1;
888
- var objectProto$4 = Object.prototype;
889
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
890
- function arrayLikeKeys$1(value, inherited) {
891
- var isArr = isArray$4(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
892
- for (var key in value) {
893
- if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
894
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
895
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
896
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
897
- isIndex$2(key, length)))) {
898
- result.push(key);
899
- }
900
810
  }
901
- return result;
811
+ return false;
902
812
  }
903
- var _arrayLikeKeys = arrayLikeKeys$1;
904
- var objectProto$3 = Object.prototype;
905
- function isPrototype$1(value) {
906
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$3;
907
- return value === proto;
813
+ var _equalByTag = equalByTag$1;
814
+ function arrayPush$2(array, values) {
815
+ var index = -1, length = values.length, offset = array.length;
816
+ while (++index < length) {
817
+ array[offset + index] = values[index];
818
+ }
819
+ return array;
908
820
  }
909
- var _isPrototype = isPrototype$1;
910
- function overArg$1(func, transform) {
911
- return function(arg) {
912
- return func(transform(arg));
913
- };
821
+ var _arrayPush = arrayPush$2;
822
+ var arrayPush$1 = _arrayPush, isArray$9 = isArray_1;
823
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
824
+ var result = keysFunc(object);
825
+ return isArray$9(object) ? result : arrayPush$1(result, symbolsFunc(object));
914
826
  }
915
- var _overArg = overArg$1;
916
- var overArg = _overArg;
917
- var nativeKeys$1 = overArg(Object.keys, Object);
918
- var _nativeKeys = nativeKeys$1;
919
- var isPrototype = _isPrototype, nativeKeys = _nativeKeys;
920
- var objectProto$2 = Object.prototype;
921
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
922
- function baseKeys$1(object) {
923
- if (!isPrototype(object)) {
924
- return nativeKeys(object);
925
- }
926
- var result = [];
927
- for (var key in Object(object)) {
928
- if (hasOwnProperty$2.call(object, key) && key != "constructor") {
929
- result.push(key);
827
+ var _baseGetAllKeys = baseGetAllKeys$1;
828
+ function arrayFilter$1(array, predicate) {
829
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
830
+ while (++index < length) {
831
+ var value = array[index];
832
+ if (predicate(value, index, array)) {
833
+ result[resIndex++] = value;
930
834
  }
931
835
  }
932
836
  return result;
933
837
  }
934
- var _baseKeys = baseKeys$1;
935
- var isFunction = isFunction_1, isLength$1 = isLength_1;
936
- function isArrayLike$4(value) {
937
- return value != null && isLength$1(value.length) && !isFunction(value);
938
- }
939
- var isArrayLike_1 = isArrayLike$4;
940
- var arrayLikeKeys = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$3 = isArrayLike_1;
941
- function keys$3(object) {
942
- return isArrayLike$3(object) ? arrayLikeKeys(object) : baseKeys(object);
838
+ var _arrayFilter = arrayFilter$1;
839
+ function stubArray$1() {
840
+ return [];
943
841
  }
944
- var keys_1 = keys$3;
945
- var baseGetAllKeys = _baseGetAllKeys, getSymbols = _getSymbols, keys$2 = keys_1;
842
+ var stubArray_1 = stubArray$1;
843
+ var arrayFilter = _arrayFilter, stubArray = stubArray_1;
844
+ var objectProto$2 = Object.prototype;
845
+ var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
846
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
847
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
848
+ if (object == null) {
849
+ return [];
850
+ }
851
+ object = Object(object);
852
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
853
+ return propertyIsEnumerable.call(object, symbol);
854
+ });
855
+ };
856
+ var _getSymbols = getSymbols$1;
857
+ var baseGetAllKeys = _baseGetAllKeys, getSymbols = _getSymbols, keys$1 = keys_1;
946
858
  function getAllKeys$1(object) {
947
- return baseGetAllKeys(object, keys$2, getSymbols);
859
+ return baseGetAllKeys(object, keys$1, getSymbols);
948
860
  }
949
861
  var _getAllKeys = getAllKeys$1;
950
862
  var getAllKeys = _getAllKeys;
@@ -1007,14 +919,14 @@ var _Set = Set$1;
1007
919
  var getNative$1 = _getNative, root = _root;
1008
920
  var WeakMap$1 = getNative$1(root, "WeakMap");
1009
921
  var _WeakMap = WeakMap$1;
1010
- var DataView = _DataView, Map = _Map, Promise$1 = _Promise, Set = _Set, WeakMap = _WeakMap, baseGetTag = _baseGetTag, toSource = _toSource;
922
+ var DataView = _DataView, Map = _Map, Promise$1 = _Promise, Set = _Set, WeakMap = _WeakMap, baseGetTag$1 = _baseGetTag, toSource = _toSource;
1011
923
  var mapTag = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]";
1012
924
  var dataViewTag = "[object DataView]";
1013
925
  var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1014
- var getTag$1 = baseGetTag;
926
+ var getTag$1 = baseGetTag$1;
1015
927
  if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag$1(new Map()) != mapTag || Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag || Set && getTag$1(new Set()) != setTag || WeakMap && getTag$1(new WeakMap()) != weakMapTag) {
1016
928
  getTag$1 = function(value) {
1017
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
929
+ var result = baseGetTag$1(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
1018
930
  if (ctorString) {
1019
931
  switch (ctorString) {
1020
932
  case dataViewCtorString:
@@ -1033,13 +945,13 @@ if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map
1033
945
  };
1034
946
  }
1035
947
  var _getTag = getTag$1;
1036
- var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$3 = isArray_1, isBuffer = isBufferExports, isTypedArray = isTypedArray_1;
948
+ var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$8 = isArray_1, isBuffer = isBufferExports, isTypedArray = isTypedArray_1;
1037
949
  var COMPARE_PARTIAL_FLAG$2 = 1;
1038
950
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
1039
951
  var objectProto = Object.prototype;
1040
952
  var hasOwnProperty = objectProto.hasOwnProperty;
1041
953
  function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
1042
- var objIsArr = isArray$3(object), othIsArr = isArray$3(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
954
+ var objIsArr = isArray$8(object), othIsArr = isArray$8(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
1043
955
  objTag = objTag == argsTag ? objectTag : objTag;
1044
956
  othTag = othTag == argsTag ? objectTag : othTag;
1045
957
  var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
@@ -1069,12 +981,12 @@ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack)
1069
981
  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
1070
982
  }
1071
983
  var _baseIsEqualDeep = baseIsEqualDeep$1;
1072
- var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike = isObjectLike_1;
984
+ var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike$1 = isObjectLike_1;
1073
985
  function baseIsEqual$2(value, other, bitmask, customizer, stack) {
1074
986
  if (value === other) {
1075
987
  return true;
1076
988
  }
1077
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
989
+ if (value == null || other == null || !isObjectLike$1(value) && !isObjectLike$1(other)) {
1078
990
  return value !== value && other !== other;
1079
991
  }
1080
992
  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$2, stack);
@@ -1119,9 +1031,9 @@ function isStrictComparable$2(value) {
1119
1031
  return value === value && !isObject$1(value);
1120
1032
  }
1121
1033
  var _isStrictComparable = isStrictComparable$2;
1122
- var isStrictComparable$1 = _isStrictComparable, keys$1 = keys_1;
1034
+ var isStrictComparable$1 = _isStrictComparable, keys = keys_1;
1123
1035
  function getMatchData$1(object) {
1124
- var result = keys$1(object), length = result.length;
1036
+ var result = keys(object), length = result.length;
1125
1037
  while (length--) {
1126
1038
  var key = result[length], value = object[key];
1127
1039
  result[length] = [key, value, isStrictComparable$1(value)];
@@ -1149,6 +1061,130 @@ function baseMatches$1(source) {
1149
1061
  };
1150
1062
  }
1151
1063
  var _baseMatches = baseMatches$1;
1064
+ var baseGetTag = _baseGetTag, isObjectLike = isObjectLike_1;
1065
+ var symbolTag = "[object Symbol]";
1066
+ function isSymbol$4(value) {
1067
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
1068
+ }
1069
+ var isSymbol_1 = isSymbol$4;
1070
+ var isArray$7 = isArray_1, isSymbol$3 = isSymbol_1;
1071
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
1072
+ function isKey$3(value, object) {
1073
+ if (isArray$7(value)) {
1074
+ return false;
1075
+ }
1076
+ var type2 = typeof value;
1077
+ if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value == null || isSymbol$3(value)) {
1078
+ return true;
1079
+ }
1080
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
1081
+ }
1082
+ var _isKey = isKey$3;
1083
+ var MapCache = _MapCache;
1084
+ var FUNC_ERROR_TEXT = "Expected a function";
1085
+ function memoize$1(func, resolver) {
1086
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
1087
+ throw new TypeError(FUNC_ERROR_TEXT);
1088
+ }
1089
+ var memoized = function() {
1090
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
1091
+ if (cache.has(key)) {
1092
+ return cache.get(key);
1093
+ }
1094
+ var result = func.apply(this, args);
1095
+ memoized.cache = cache.set(key, result) || cache;
1096
+ return result;
1097
+ };
1098
+ memoized.cache = new (memoize$1.Cache || MapCache)();
1099
+ return memoized;
1100
+ }
1101
+ memoize$1.Cache = MapCache;
1102
+ var memoize_1 = memoize$1;
1103
+ var memoize = memoize_1;
1104
+ var MAX_MEMOIZE_SIZE = 500;
1105
+ function memoizeCapped$1(func) {
1106
+ var result = memoize(func, function(key) {
1107
+ if (cache.size === MAX_MEMOIZE_SIZE) {
1108
+ cache.clear();
1109
+ }
1110
+ return key;
1111
+ });
1112
+ var cache = result.cache;
1113
+ return result;
1114
+ }
1115
+ var _memoizeCapped = memoizeCapped$1;
1116
+ var memoizeCapped = _memoizeCapped;
1117
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1118
+ var reEscapeChar = /\\(\\)?/g;
1119
+ var stringToPath$1 = memoizeCapped(function(string) {
1120
+ var result = [];
1121
+ if (string.charCodeAt(0) === 46) {
1122
+ result.push("");
1123
+ }
1124
+ string.replace(rePropName, function(match, number, quote, subString) {
1125
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
1126
+ });
1127
+ return result;
1128
+ });
1129
+ var _stringToPath = stringToPath$1;
1130
+ function arrayMap$2(array, iteratee) {
1131
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
1132
+ while (++index < length) {
1133
+ result[index] = iteratee(array[index], index, array);
1134
+ }
1135
+ return result;
1136
+ }
1137
+ var _arrayMap = arrayMap$2;
1138
+ var Symbol$2 = _Symbol, arrayMap$1 = _arrayMap, isArray$6 = isArray_1, isSymbol$2 = isSymbol_1;
1139
+ var INFINITY$1 = 1 / 0;
1140
+ var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
1141
+ function baseToString$1(value) {
1142
+ if (typeof value == "string") {
1143
+ return value;
1144
+ }
1145
+ if (isArray$6(value)) {
1146
+ return arrayMap$1(value, baseToString$1) + "";
1147
+ }
1148
+ if (isSymbol$2(value)) {
1149
+ return symbolToString ? symbolToString.call(value) : "";
1150
+ }
1151
+ var result = value + "";
1152
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
1153
+ }
1154
+ var _baseToString = baseToString$1;
1155
+ var baseToString = _baseToString;
1156
+ function toString$1(value) {
1157
+ return value == null ? "" : baseToString(value);
1158
+ }
1159
+ var toString_1 = toString$1;
1160
+ var isArray$5 = isArray_1, isKey$2 = _isKey, stringToPath = _stringToPath, toString = toString_1;
1161
+ function castPath$2(value, object) {
1162
+ if (isArray$5(value)) {
1163
+ return value;
1164
+ }
1165
+ return isKey$2(value, object) ? [value] : stringToPath(toString(value));
1166
+ }
1167
+ var _castPath = castPath$2;
1168
+ var isSymbol$1 = isSymbol_1;
1169
+ var INFINITY = 1 / 0;
1170
+ function toKey$4(value) {
1171
+ if (typeof value == "string" || isSymbol$1(value)) {
1172
+ return value;
1173
+ }
1174
+ var result = value + "";
1175
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
1176
+ }
1177
+ var _toKey = toKey$4;
1178
+ var castPath$1 = _castPath, toKey$3 = _toKey;
1179
+ function baseGet$3(object, path) {
1180
+ path = castPath$1(path, object);
1181
+ var index = 0, length = path.length;
1182
+ while (object != null && index < length) {
1183
+ object = object[toKey$3(path[index++])];
1184
+ }
1185
+ return index && index == length ? object : void 0;
1186
+ }
1187
+ var _baseGet = baseGet$3;
1152
1188
  var baseGet$2 = _baseGet;
1153
1189
  function get$1(object, path, defaultValue) {
1154
1190
  var result = object == null ? void 0 : baseGet$2(object, path);
@@ -1159,7 +1195,7 @@ function baseHasIn$1(object, key) {
1159
1195
  return object != null && key in Object(object);
1160
1196
  }
1161
1197
  var _baseHasIn = baseHasIn$1;
1162
- var castPath = _castPath, isArguments = isArguments_1, isArray$2 = isArray_1, isIndex$1 = _isIndex, isLength = isLength_1, toKey$2 = _toKey;
1198
+ var castPath = _castPath, isArguments$1 = isArguments_1, isArray$4 = isArray_1, isIndex$1 = _isIndex, isLength = isLength_1, toKey$2 = _toKey;
1163
1199
  function hasPath$1(object, path, hasFunc) {
1164
1200
  path = castPath(path, object);
1165
1201
  var index = -1, length = path.length, result = false;
@@ -1174,7 +1210,7 @@ function hasPath$1(object, path, hasFunc) {
1174
1210
  return result;
1175
1211
  }
1176
1212
  length = object == null ? 0 : object.length;
1177
- return !!length && isLength(length) && isIndex$1(key, length) && (isArray$2(object) || isArguments(object));
1213
+ return !!length && isLength(length) && isIndex$1(key, length) && (isArray$4(object) || isArguments$1(object));
1178
1214
  }
1179
1215
  var _hasPath = hasPath$1;
1180
1216
  var baseHasIn = _baseHasIn, hasPath = _hasPath;
@@ -1216,8 +1252,8 @@ function property$1(path) {
1216
1252
  return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
1217
1253
  }
1218
1254
  var property_1 = property$1;
1219
- var baseMatches = _baseMatches, baseMatchesProperty = _baseMatchesProperty, identity$3 = identity_1, isArray$1 = isArray_1, property = property_1;
1220
- function baseIteratee$1(value) {
1255
+ var baseMatches = _baseMatches, baseMatchesProperty = _baseMatchesProperty, identity$3 = identity_1, isArray$3 = isArray_1, property = property_1;
1256
+ function baseIteratee$2(value) {
1221
1257
  if (typeof value == "function") {
1222
1258
  return value;
1223
1259
  }
@@ -1225,54 +1261,51 @@ function baseIteratee$1(value) {
1225
1261
  return identity$3;
1226
1262
  }
1227
1263
  if (typeof value == "object") {
1228
- return isArray$1(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1264
+ return isArray$3(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1229
1265
  }
1230
1266
  return property(value);
1231
1267
  }
1232
- var _baseIteratee = baseIteratee$1;
1233
- function createBaseFor$1(fromRight) {
1234
- return function(object, iteratee, keysFunc) {
1235
- var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1236
- while (length--) {
1237
- var key = props[fromRight ? length : ++index];
1238
- if (iteratee(iterable[key], key, iterable) === false) {
1239
- break;
1240
- }
1241
- }
1242
- return object;
1243
- };
1244
- }
1245
- var _createBaseFor = createBaseFor$1;
1246
- var createBaseFor = _createBaseFor;
1247
- var baseFor$1 = createBaseFor();
1248
- var _baseFor = baseFor$1;
1249
- var baseFor = _baseFor, keys = keys_1;
1250
- function baseForOwn$1(object, iteratee) {
1251
- return object && baseFor(object, iteratee, keys);
1268
+ var _baseIteratee = baseIteratee$2;
1269
+ function baseReduce$1(collection, iteratee, accumulator, initAccum, eachFunc) {
1270
+ eachFunc(collection, function(value, index, collection2) {
1271
+ accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection2);
1272
+ });
1273
+ return accumulator;
1274
+ }
1275
+ var _baseReduce = baseReduce$1;
1276
+ var arrayReduce = _arrayReduce, baseEach$1 = _baseEach, baseIteratee$1 = _baseIteratee, baseReduce = _baseReduce, isArray$2 = isArray_1;
1277
+ function reduce(collection, iteratee, accumulator) {
1278
+ var func = isArray$2(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
1279
+ return func(collection, baseIteratee$1(iteratee), accumulator, initAccum, baseEach$1);
1280
+ }
1281
+ var reduce_1 = reduce;
1282
+ const reduce$1 = /* @__PURE__ */ getDefaultExportFromCjs(reduce_1);
1283
+ var Symbol$1 = _Symbol, isArguments = isArguments_1, isArray$1 = isArray_1;
1284
+ var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
1285
+ function isFlattenable$1(value) {
1286
+ return isArray$1(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
1252
1287
  }
1253
- var _baseForOwn = baseForOwn$1;
1254
- var isArrayLike$2 = isArrayLike_1;
1255
- function createBaseEach$1(eachFunc, fromRight) {
1256
- return function(collection, iteratee) {
1257
- if (collection == null) {
1258
- return collection;
1259
- }
1260
- if (!isArrayLike$2(collection)) {
1261
- return eachFunc(collection, iteratee);
1262
- }
1263
- var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
1264
- while (fromRight ? index-- : ++index < length) {
1265
- if (iteratee(iterable[index], index, iterable) === false) {
1266
- break;
1288
+ var _isFlattenable = isFlattenable$1;
1289
+ var arrayPush = _arrayPush, isFlattenable = _isFlattenable;
1290
+ function baseFlatten$1(array, depth, predicate, isStrict, result) {
1291
+ var index = -1, length = array.length;
1292
+ predicate || (predicate = isFlattenable);
1293
+ result || (result = []);
1294
+ while (++index < length) {
1295
+ var value = array[index];
1296
+ if (depth > 0 && predicate(value)) {
1297
+ if (depth > 1) {
1298
+ baseFlatten$1(value, depth - 1, predicate, isStrict, result);
1299
+ } else {
1300
+ arrayPush(result, value);
1267
1301
  }
1302
+ } else if (!isStrict) {
1303
+ result[result.length] = value;
1268
1304
  }
1269
- return collection;
1270
- };
1305
+ }
1306
+ return result;
1271
1307
  }
1272
- var _createBaseEach = createBaseEach$1;
1273
- var baseForOwn = _baseForOwn, createBaseEach = _createBaseEach;
1274
- var baseEach$1 = createBaseEach(baseForOwn);
1275
- var _baseEach = baseEach$1;
1308
+ var _baseFlatten = baseFlatten$1;
1276
1309
  var baseEach = _baseEach, isArrayLike$1 = isArrayLike_1;
1277
1310
  function baseMap$1(collection, iteratee) {
1278
1311
  var index = -1, result = isArrayLike$1(collection) ? Array(collection.length) : [];
@@ -1471,11 +1504,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1471
1504
  emits: ["interaction"],
1472
1505
  setup(__props) {
1473
1506
  const props = __props;
1507
+ const accordionItems = computed(() => sortBy$1(props.data.items, "position"));
1474
1508
  const embeds = computed(() => {
1475
1509
  const { items, embeds: embeds2 } = props.data;
1476
- return items.reduce(
1510
+ return reduce$1(
1511
+ items,
1477
1512
  (acc, item) => {
1478
- const itemEmbeds = item.elementIds.map((id) => embeds2[id]);
1513
+ const itemEmbeds = Object.keys(item.body).map((id2) => embeds2[id2]);
1479
1514
  acc[item.id] = sortBy$1(itemEmbeds, "position");
1480
1515
  return acc;
1481
1516
  },
@@ -1495,14 +1530,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1495
1530
  default: withCtx(() => [
1496
1531
  createVNode(_component_VExpandTransition, { group: "" }, {
1497
1532
  default: withCtx(() => [
1498
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data.items, (item) => {
1533
+ (openBlock(true), createElementBlock(Fragment, null, renderList(accordionItems.value, (item) => {
1499
1534
  return openBlock(), createBlock(_component_VExpansionPanel, {
1500
1535
  key: item.id
1501
1536
  }, {
1502
1537
  default: withCtx(() => [
1503
1538
  createVNode(_component_VExpansionPanelTitle, null, {
1504
1539
  default: withCtx(() => [
1505
- createTextVNode(toDisplayString(item.title), 1)
1540
+ createTextVNode(toDisplayString(item.header), 1)
1506
1541
  ]),
1507
1542
  _: 2
1508
1543
  }, 1024),
@@ -1538,7 +1573,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1538
1573
  };
1539
1574
  }
1540
1575
  });
1541
- const Display_vue_vue_type_style_index_0_scoped_b7380478_lang = "";
1576
+ const Display_vue_vue_type_style_index_0_scoped_2eba39f0_lang = "";
1542
1577
  const _export_sfc = (sfc, props) => {
1543
1578
  const target = sfc.__vccOpts || sfc;
1544
1579
  for (const [key, val] of props) {
@@ -1546,7 +1581,7 @@ const _export_sfc = (sfc, props) => {
1546
1581
  }
1547
1582
  return target;
1548
1583
  };
1549
- const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b7380478"]]);
1584
+ const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2eba39f0"]]);
1550
1585
  const manifest = {
1551
1586
  ...src_default,
1552
1587
  Display