@pie-element/multiple-choice 5.11.0-print.7 → 5.11.0-ps.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,7 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
1
3
  /** Used for built-in method references. */
4
+
2
5
  var objectProto$c = Object.prototype;
3
6
 
4
7
  /**
@@ -8,14 +11,14 @@ var objectProto$c = Object.prototype;
8
11
  * @param {*} value The value to check.
9
12
  * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
10
13
  */
11
- function isPrototype(value) {
14
+ function isPrototype$2(value) {
12
15
  var Ctor = value && value.constructor,
13
16
  proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$c;
14
17
 
15
18
  return value === proto;
16
19
  }
17
20
 
18
- var _isPrototype = isPrototype;
21
+ var _isPrototype = isPrototype$2;
19
22
 
20
23
  /**
21
24
  * Creates a unary function that invokes `func` with its argument transformed.
@@ -25,18 +28,24 @@ var _isPrototype = isPrototype;
25
28
  * @param {Function} transform The argument transform.
26
29
  * @returns {Function} Returns the new function.
27
30
  */
28
- function overArg(func, transform) {
31
+
32
+ function overArg$1(func, transform) {
29
33
  return function(arg) {
30
34
  return func(transform(arg));
31
35
  };
32
36
  }
33
37
 
34
- var _overArg = overArg;
38
+ var _overArg = overArg$1;
39
+
40
+ var overArg = _overArg;
35
41
 
36
42
  /* Built-in method references for those with the same name as other `lodash` methods. */
37
- var nativeKeys = _overArg(Object.keys, Object);
43
+ var nativeKeys$1 = overArg(Object.keys, Object);
38
44
 
39
- var _nativeKeys = nativeKeys;
45
+ var _nativeKeys = nativeKeys$1;
46
+
47
+ var isPrototype$1 = _isPrototype,
48
+ nativeKeys = _nativeKeys;
40
49
 
41
50
  /** Used for built-in method references. */
42
51
  var objectProto$b = Object.prototype;
@@ -51,9 +60,9 @@ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
51
60
  * @param {Object} object The object to query.
52
61
  * @returns {Array} Returns the array of property names.
53
62
  */
54
- function baseKeys(object) {
55
- if (!_isPrototype(object)) {
56
- return _nativeKeys(object);
63
+ function baseKeys$2(object) {
64
+ if (!isPrototype$1(object)) {
65
+ return nativeKeys(object);
57
66
  }
58
67
  var result = [];
59
68
  for (var key in Object(object)) {
@@ -64,31 +73,32 @@ function baseKeys(object) {
64
73
  return result;
65
74
  }
66
75
 
67
- var _baseKeys = baseKeys;
76
+ var _baseKeys = baseKeys$2;
68
77
 
69
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
78
+ /** Detect free variable `global` from Node.js. */
70
79
 
71
- function createCommonjsModule(fn, module) {
72
- return module = { exports: {} }, fn(module, module.exports), module.exports;
73
- }
80
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
74
81
 
75
- /** Detect free variable `global` from Node.js. */
76
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
82
+ var _freeGlobal = freeGlobal$1;
77
83
 
78
- var _freeGlobal = freeGlobal;
84
+ var freeGlobal = _freeGlobal;
79
85
 
80
86
  /** Detect free variable `self`. */
81
87
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
82
88
 
83
89
  /** Used as a reference to the global object. */
84
- var root = _freeGlobal || freeSelf || Function('return this')();
90
+ var root$8 = freeGlobal || freeSelf || Function('return this')();
91
+
92
+ var _root = root$8;
85
93
 
86
- var _root = root;
94
+ var root$7 = _root;
87
95
 
88
96
  /** Built-in value references. */
89
- var Symbol = _root.Symbol;
97
+ var Symbol$4 = root$7.Symbol;
90
98
 
91
- var _Symbol = Symbol;
99
+ var _Symbol = Symbol$4;
100
+
101
+ var Symbol$3 = _Symbol;
92
102
 
93
103
  /** Used for built-in method references. */
94
104
  var objectProto$a = Object.prototype;
@@ -104,7 +114,7 @@ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
104
114
  var nativeObjectToString$1 = objectProto$a.toString;
105
115
 
106
116
  /** Built-in value references. */
107
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
117
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : undefined;
108
118
 
109
119
  /**
110
120
  * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
@@ -113,7 +123,7 @@ var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
113
123
  * @param {*} value The value to query.
114
124
  * @returns {string} Returns the raw `toStringTag`.
115
125
  */
116
- function getRawTag(value) {
126
+ function getRawTag$1(value) {
117
127
  var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
118
128
  tag = value[symToStringTag$1];
119
129
 
@@ -133,9 +143,10 @@ function getRawTag(value) {
133
143
  return result;
134
144
  }
135
145
 
136
- var _getRawTag = getRawTag;
146
+ var _getRawTag = getRawTag$1;
137
147
 
138
148
  /** Used for built-in method references. */
149
+
139
150
  var objectProto$9 = Object.prototype;
140
151
 
141
152
  /**
@@ -152,18 +163,22 @@ var nativeObjectToString = objectProto$9.toString;
152
163
  * @param {*} value The value to convert.
153
164
  * @returns {string} Returns the converted string.
154
165
  */
155
- function objectToString(value) {
166
+ function objectToString$1(value) {
156
167
  return nativeObjectToString.call(value);
157
168
  }
158
169
 
159
- var _objectToString = objectToString;
170
+ var _objectToString = objectToString$1;
171
+
172
+ var Symbol$2 = _Symbol,
173
+ getRawTag = _getRawTag,
174
+ objectToString = _objectToString;
160
175
 
161
176
  /** `Object#toString` result references. */
162
177
  var nullTag = '[object Null]',
163
178
  undefinedTag = '[object Undefined]';
164
179
 
165
180
  /** Built-in value references. */
166
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
181
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : undefined;
167
182
 
168
183
  /**
169
184
  * The base implementation of `getTag` without fallbacks for buggy environments.
@@ -172,16 +187,16 @@ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
172
187
  * @param {*} value The value to query.
173
188
  * @returns {string} Returns the `toStringTag`.
174
189
  */
175
- function baseGetTag(value) {
190
+ function baseGetTag$5(value) {
176
191
  if (value == null) {
177
192
  return value === undefined ? undefinedTag : nullTag;
178
193
  }
179
194
  return (symToStringTag && symToStringTag in Object(value))
180
- ? _getRawTag(value)
181
- : _objectToString(value);
195
+ ? getRawTag(value)
196
+ : objectToString(value);
182
197
  }
183
198
 
184
- var _baseGetTag = baseGetTag;
199
+ var _baseGetTag = baseGetTag$5;
185
200
 
186
201
  /**
187
202
  * Checks if `value` is the
@@ -208,12 +223,16 @@ var _baseGetTag = baseGetTag;
208
223
  * _.isObject(null);
209
224
  * // => false
210
225
  */
211
- function isObject(value) {
226
+
227
+ function isObject$2(value) {
212
228
  var type = typeof value;
213
229
  return value != null && (type == 'object' || type == 'function');
214
230
  }
215
231
 
216
- var isObject_1 = isObject;
232
+ var isObject_1 = isObject$2;
233
+
234
+ var baseGetTag$4 = _baseGetTag,
235
+ isObject$1 = isObject_1;
217
236
 
218
237
  /** `Object#toString` result references. */
219
238
  var asyncTag = '[object AsyncFunction]',
@@ -238,26 +257,30 @@ var asyncTag = '[object AsyncFunction]',
238
257
  * _.isFunction(/abc/);
239
258
  * // => false
240
259
  */
241
- function isFunction(value) {
242
- if (!isObject_1(value)) {
260
+ function isFunction$2(value) {
261
+ if (!isObject$1(value)) {
243
262
  return false;
244
263
  }
245
264
  // The use of `Object#toString` avoids issues with the `typeof` operator
246
265
  // in Safari 9 which returns 'object' for typed arrays and other constructors.
247
- var tag = _baseGetTag(value);
266
+ var tag = baseGetTag$4(value);
248
267
  return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
249
268
  }
250
269
 
251
- var isFunction_1 = isFunction;
270
+ var isFunction_1 = isFunction$2;
271
+
272
+ var root$6 = _root;
252
273
 
253
274
  /** Used to detect overreaching core-js shims. */
254
- var coreJsData = _root['__core-js_shared__'];
275
+ var coreJsData$1 = root$6['__core-js_shared__'];
255
276
 
256
- var _coreJsData = coreJsData;
277
+ var _coreJsData = coreJsData$1;
278
+
279
+ var coreJsData = _coreJsData;
257
280
 
258
281
  /** Used to detect methods masquerading as native. */
259
282
  var maskSrcKey = (function() {
260
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
283
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
261
284
  return uid ? ('Symbol(src)_1.' + uid) : '';
262
285
  }());
263
286
 
@@ -268,13 +291,14 @@ var maskSrcKey = (function() {
268
291
  * @param {Function} func The function to check.
269
292
  * @returns {boolean} Returns `true` if `func` is masked, else `false`.
270
293
  */
271
- function isMasked(func) {
294
+ function isMasked$1(func) {
272
295
  return !!maskSrcKey && (maskSrcKey in func);
273
296
  }
274
297
 
275
- var _isMasked = isMasked;
298
+ var _isMasked = isMasked$1;
276
299
 
277
300
  /** Used for built-in method references. */
301
+
278
302
  var funcProto$1 = Function.prototype;
279
303
 
280
304
  /** Used to resolve the decompiled source of functions. */
@@ -287,7 +311,7 @@ var funcToString$1 = funcProto$1.toString;
287
311
  * @param {Function} func The function to convert.
288
312
  * @returns {string} Returns the source code.
289
313
  */
290
- function toSource(func) {
314
+ function toSource$2(func) {
291
315
  if (func != null) {
292
316
  try {
293
317
  return funcToString$1.call(func);
@@ -299,7 +323,12 @@ function toSource(func) {
299
323
  return '';
300
324
  }
301
325
 
302
- var _toSource = toSource;
326
+ var _toSource = toSource$2;
327
+
328
+ var isFunction$1 = isFunction_1,
329
+ isMasked = _isMasked,
330
+ isObject = isObject_1,
331
+ toSource$1 = _toSource;
303
332
 
304
333
  /**
305
334
  * Used to match `RegExp`
@@ -334,15 +363,15 @@ var reIsNative = RegExp('^' +
334
363
  * @returns {boolean} Returns `true` if `value` is a native function,
335
364
  * else `false`.
336
365
  */
337
- function baseIsNative(value) {
338
- if (!isObject_1(value) || _isMasked(value)) {
366
+ function baseIsNative$1(value) {
367
+ if (!isObject(value) || isMasked(value)) {
339
368
  return false;
340
369
  }
341
- var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
342
- return pattern.test(_toSource(value));
370
+ var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
371
+ return pattern.test(toSource$1(value));
343
372
  }
344
373
 
345
- var _baseIsNative = baseIsNative;
374
+ var _baseIsNative = baseIsNative$1;
346
375
 
347
376
  /**
348
377
  * Gets the value at `key` of `object`.
@@ -352,11 +381,15 @@ var _baseIsNative = baseIsNative;
352
381
  * @param {string} key The key of the property to get.
353
382
  * @returns {*} Returns the property value.
354
383
  */
355
- function getValue(object, key) {
384
+
385
+ function getValue$1(object, key) {
356
386
  return object == null ? undefined : object[key];
357
387
  }
358
388
 
359
- var _getValue = getValue;
389
+ var _getValue = getValue$1;
390
+
391
+ var baseIsNative = _baseIsNative,
392
+ getValue = _getValue;
360
393
 
361
394
  /**
362
395
  * Gets the native function at `key` of `object`.
@@ -366,37 +399,60 @@ var _getValue = getValue;
366
399
  * @param {string} key The key of the method to get.
367
400
  * @returns {*} Returns the function if it's native, else `undefined`.
368
401
  */
369
- function getNative(object, key) {
370
- var value = _getValue(object, key);
371
- return _baseIsNative(value) ? value : undefined;
402
+ function getNative$6(object, key) {
403
+ var value = getValue(object, key);
404
+ return baseIsNative(value) ? value : undefined;
372
405
  }
373
406
 
374
- var _getNative = getNative;
407
+ var _getNative = getNative$6;
408
+
409
+ var getNative$5 = _getNative,
410
+ root$5 = _root;
375
411
 
376
412
  /* Built-in method references that are verified to be native. */
377
- var DataView = _getNative(_root, 'DataView');
413
+ var DataView$1 = getNative$5(root$5, 'DataView');
414
+
415
+ var _DataView = DataView$1;
378
416
 
379
- var _DataView = DataView;
417
+ var getNative$4 = _getNative,
418
+ root$4 = _root;
380
419
 
381
420
  /* Built-in method references that are verified to be native. */
382
- var Map = _getNative(_root, 'Map');
421
+ var Map$3 = getNative$4(root$4, 'Map');
383
422
 
384
- var _Map = Map;
423
+ var _Map = Map$3;
424
+
425
+ var getNative$3 = _getNative,
426
+ root$3 = _root;
385
427
 
386
428
  /* Built-in method references that are verified to be native. */
387
- var Promise$1 = _getNative(_root, 'Promise');
429
+ var Promise$2 = getNative$3(root$3, 'Promise');
430
+
431
+ var _Promise = Promise$2;
388
432
 
389
- var _Promise = Promise$1;
433
+ var getNative$2 = _getNative,
434
+ root$2 = _root;
390
435
 
391
436
  /* Built-in method references that are verified to be native. */
392
- var Set = _getNative(_root, 'Set');
437
+ var Set$1 = getNative$2(root$2, 'Set');
393
438
 
394
- var _Set = Set;
439
+ var _Set = Set$1;
440
+
441
+ var getNative$1 = _getNative,
442
+ root$1 = _root;
395
443
 
396
444
  /* Built-in method references that are verified to be native. */
397
- var WeakMap = _getNative(_root, 'WeakMap');
445
+ var WeakMap$1 = getNative$1(root$1, 'WeakMap');
446
+
447
+ var _WeakMap = WeakMap$1;
398
448
 
399
- var _WeakMap = WeakMap;
449
+ var DataView = _DataView,
450
+ Map$2 = _Map,
451
+ Promise$1 = _Promise,
452
+ Set = _Set,
453
+ WeakMap = _WeakMap,
454
+ baseGetTag$3 = _baseGetTag,
455
+ toSource = _toSource;
400
456
 
401
457
  /** `Object#toString` result references. */
402
458
  var mapTag$3 = '[object Map]',
@@ -408,11 +464,11 @@ var mapTag$3 = '[object Map]',
408
464
  var dataViewTag$2 = '[object DataView]';
409
465
 
410
466
  /** Used to detect maps, sets, and weakmaps. */
411
- var dataViewCtorString = _toSource(_DataView),
412
- mapCtorString = _toSource(_Map),
413
- promiseCtorString = _toSource(_Promise),
414
- setCtorString = _toSource(_Set),
415
- weakMapCtorString = _toSource(_WeakMap);
467
+ var dataViewCtorString = toSource(DataView),
468
+ mapCtorString = toSource(Map$2),
469
+ promiseCtorString = toSource(Promise$1),
470
+ setCtorString = toSource(Set),
471
+ weakMapCtorString = toSource(WeakMap);
416
472
 
417
473
  /**
418
474
  * Gets the `toStringTag` of `value`.
@@ -421,18 +477,18 @@ var dataViewCtorString = _toSource(_DataView),
421
477
  * @param {*} value The value to query.
422
478
  * @returns {string} Returns the `toStringTag`.
423
479
  */
424
- var getTag = _baseGetTag;
480
+ var getTag$2 = baseGetTag$3;
425
481
 
426
482
  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
427
- if ((_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
428
- (_Map && getTag(new _Map) != mapTag$3) ||
429
- (_Promise && getTag(_Promise.resolve()) != promiseTag) ||
430
- (_Set && getTag(new _Set) != setTag$3) ||
431
- (_WeakMap && getTag(new _WeakMap) != weakMapTag$1)) {
432
- getTag = function(value) {
433
- var result = _baseGetTag(value),
483
+ if ((DataView && getTag$2(new DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
484
+ (Map$2 && getTag$2(new Map$2) != mapTag$3) ||
485
+ (Promise$1 && getTag$2(Promise$1.resolve()) != promiseTag) ||
486
+ (Set && getTag$2(new Set) != setTag$3) ||
487
+ (WeakMap && getTag$2(new WeakMap) != weakMapTag$1)) {
488
+ getTag$2 = function(value) {
489
+ var result = baseGetTag$3(value),
434
490
  Ctor = result == objectTag$2 ? value.constructor : undefined,
435
- ctorString = Ctor ? _toSource(Ctor) : '';
491
+ ctorString = Ctor ? toSource(Ctor) : '';
436
492
 
437
493
  if (ctorString) {
438
494
  switch (ctorString) {
@@ -447,7 +503,7 @@ if ((_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
447
503
  };
448
504
  }
449
505
 
450
- var _getTag = getTag;
506
+ var _getTag = getTag$2;
451
507
 
452
508
  /**
453
509
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -473,11 +529,15 @@ var _getTag = getTag;
473
529
  * _.isObjectLike(null);
474
530
  * // => false
475
531
  */
476
- function isObjectLike(value) {
532
+
533
+ function isObjectLike$5(value) {
477
534
  return value != null && typeof value == 'object';
478
535
  }
479
536
 
480
- var isObjectLike_1 = isObjectLike;
537
+ var isObjectLike_1 = isObjectLike$5;
538
+
539
+ var baseGetTag$2 = _baseGetTag,
540
+ isObjectLike$4 = isObjectLike_1;
481
541
 
482
542
  /** `Object#toString` result references. */
483
543
  var argsTag$2 = '[object Arguments]';
@@ -489,11 +549,14 @@ var argsTag$2 = '[object Arguments]';
489
549
  * @param {*} value The value to check.
490
550
  * @returns {boolean} Returns `true` if `value` is an `arguments` object,
491
551
  */
492
- function baseIsArguments(value) {
493
- return isObjectLike_1(value) && _baseGetTag(value) == argsTag$2;
552
+ function baseIsArguments$1(value) {
553
+ return isObjectLike$4(value) && baseGetTag$2(value) == argsTag$2;
494
554
  }
495
555
 
496
- var _baseIsArguments = baseIsArguments;
556
+ var _baseIsArguments = baseIsArguments$1;
557
+
558
+ var baseIsArguments = _baseIsArguments,
559
+ isObjectLike$3 = isObjectLike_1;
497
560
 
498
561
  /** Used for built-in method references. */
499
562
  var objectProto$7 = Object.prototype;
@@ -522,12 +585,12 @@ var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
522
585
  * _.isArguments([1, 2, 3]);
523
586
  * // => false
524
587
  */
525
- var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
526
- return isObjectLike_1(value) && hasOwnProperty$6.call(value, 'callee') &&
588
+ var isArguments$2 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
589
+ return isObjectLike$3(value) && hasOwnProperty$6.call(value, 'callee') &&
527
590
  !propertyIsEnumerable$1.call(value, 'callee');
528
591
  };
529
592
 
530
- var isArguments_1 = isArguments;
593
+ var isArguments_1 = isArguments$2;
531
594
 
532
595
  /**
533
596
  * Checks if `value` is classified as an `Array` object.
@@ -552,11 +615,13 @@ var isArguments_1 = isArguments;
552
615
  * _.isArray(_.noop);
553
616
  * // => false
554
617
  */
555
- var isArray = Array.isArray;
556
618
 
557
- var isArray_1 = isArray;
619
+ var isArray$8 = Array.isArray;
620
+
621
+ var isArray_1 = isArray$8;
558
622
 
559
623
  /** Used as references for various `Number` constants. */
624
+
560
625
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
561
626
 
562
627
  /**
@@ -585,12 +650,15 @@ var MAX_SAFE_INTEGER$1 = 9007199254740991;
585
650
  * _.isLength('3');
586
651
  * // => false
587
652
  */
588
- function isLength(value) {
653
+ function isLength$2(value) {
589
654
  return typeof value == 'number' &&
590
655
  value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
591
656
  }
592
657
 
593
- var isLength_1 = isLength;
658
+ var isLength_1 = isLength$2;
659
+
660
+ var isFunction = isFunction_1,
661
+ isLength$1 = isLength_1;
594
662
 
595
663
  /**
596
664
  * Checks if `value` is array-like. A value is considered array-like if it's
@@ -617,11 +685,13 @@ var isLength_1 = isLength;
617
685
  * _.isArrayLike(_.noop);
618
686
  * // => false
619
687
  */
620
- function isArrayLike(value) {
621
- return value != null && isLength_1(value.length) && !isFunction_1(value);
688
+ function isArrayLike$2(value) {
689
+ return value != null && isLength$1(value.length) && !isFunction(value);
622
690
  }
623
691
 
624
- var isArrayLike_1 = isArrayLike;
692
+ var isArrayLike_1 = isArrayLike$2;
693
+
694
+ var isBuffer$3 = {exports: {}};
625
695
 
626
696
  /**
627
697
  * This method returns `false`.
@@ -636,13 +706,17 @@ var isArrayLike_1 = isArrayLike;
636
706
  * _.times(2, _.stubFalse);
637
707
  * // => [false, false]
638
708
  */
709
+
639
710
  function stubFalse() {
640
711
  return false;
641
712
  }
642
713
 
643
714
  var stubFalse_1 = stubFalse;
644
715
 
645
- var isBuffer_1 = createCommonjsModule(function (module, exports) {
716
+ (function (module, exports) {
717
+ var root = _root,
718
+ stubFalse = stubFalse_1;
719
+
646
720
  /** Detect free variable `exports`. */
647
721
  var freeExports = exports && !exports.nodeType && exports;
648
722
 
@@ -653,7 +727,7 @@ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeTy
653
727
  var moduleExports = freeModule && freeModule.exports === freeExports;
654
728
 
655
729
  /** Built-in value references. */
656
- var Buffer = moduleExports ? _root.Buffer : undefined;
730
+ var Buffer = moduleExports ? root.Buffer : undefined;
657
731
 
658
732
  /* Built-in method references for those with the same name as other `lodash` methods. */
659
733
  var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
@@ -675,10 +749,14 @@ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
675
749
  * _.isBuffer(new Uint8Array(2));
676
750
  * // => false
677
751
  */
678
- var isBuffer = nativeIsBuffer || stubFalse_1;
752
+ var isBuffer = nativeIsBuffer || stubFalse;
679
753
 
680
754
  module.exports = isBuffer;
681
- });
755
+ }(isBuffer$3, isBuffer$3.exports));
756
+
757
+ var baseGetTag$1 = _baseGetTag,
758
+ isLength = isLength_1,
759
+ isObjectLike$2 = isObjectLike_1;
682
760
 
683
761
  /** `Object#toString` result references. */
684
762
  var argsTag$1 = '[object Arguments]',
@@ -730,12 +808,12 @@ typedArrayTags[weakMapTag] = false;
730
808
  * @param {*} value The value to check.
731
809
  * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
732
810
  */
733
- function baseIsTypedArray(value) {
734
- return isObjectLike_1(value) &&
735
- isLength_1(value.length) && !!typedArrayTags[_baseGetTag(value)];
811
+ function baseIsTypedArray$1(value) {
812
+ return isObjectLike$2(value) &&
813
+ isLength(value.length) && !!typedArrayTags[baseGetTag$1(value)];
736
814
  }
737
815
 
738
- var _baseIsTypedArray = baseIsTypedArray;
816
+ var _baseIsTypedArray = baseIsTypedArray$1;
739
817
 
740
818
  /**
741
819
  * The base implementation of `_.unary` without support for storing metadata.
@@ -744,15 +822,20 @@ var _baseIsTypedArray = baseIsTypedArray;
744
822
  * @param {Function} func The function to cap arguments for.
745
823
  * @returns {Function} Returns the new capped function.
746
824
  */
747
- function baseUnary(func) {
825
+
826
+ function baseUnary$1(func) {
748
827
  return function(value) {
749
828
  return func(value);
750
829
  };
751
830
  }
752
831
 
753
- var _baseUnary = baseUnary;
832
+ var _baseUnary = baseUnary$1;
833
+
834
+ var _nodeUtil = {exports: {}};
835
+
836
+ (function (module, exports) {
837
+ var freeGlobal = _freeGlobal;
754
838
 
755
- var _nodeUtil = createCommonjsModule(function (module, exports) {
756
839
  /** Detect free variable `exports`. */
757
840
  var freeExports = exports && !exports.nodeType && exports;
758
841
 
@@ -763,7 +846,7 @@ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeTy
763
846
  var moduleExports = freeModule && freeModule.exports === freeExports;
764
847
 
765
848
  /** Detect free variable `process` from Node.js. */
766
- var freeProcess = moduleExports && _freeGlobal.process;
849
+ var freeProcess = moduleExports && freeGlobal.process;
767
850
 
768
851
  /** Used to access faster Node.js helpers. */
769
852
  var nodeUtil = (function() {
@@ -781,10 +864,14 @@ var nodeUtil = (function() {
781
864
  }());
782
865
 
783
866
  module.exports = nodeUtil;
784
- });
867
+ }(_nodeUtil, _nodeUtil.exports));
868
+
869
+ var baseIsTypedArray = _baseIsTypedArray,
870
+ baseUnary = _baseUnary,
871
+ nodeUtil = _nodeUtil.exports;
785
872
 
786
873
  /* Node.js helper references. */
787
- var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray;
874
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
788
875
 
789
876
  /**
790
877
  * Checks if `value` is classified as a typed array.
@@ -803,9 +890,18 @@ var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray;
803
890
  * _.isTypedArray([]);
804
891
  * // => false
805
892
  */
806
- var isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsTypedArray;
893
+ var isTypedArray$3 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
894
+
895
+ var isTypedArray_1 = isTypedArray$3;
807
896
 
808
- var isTypedArray_1 = isTypedArray;
897
+ var baseKeys$1 = _baseKeys,
898
+ getTag$1 = _getTag,
899
+ isArguments$1 = isArguments_1,
900
+ isArray$7 = isArray_1,
901
+ isArrayLike$1 = isArrayLike_1,
902
+ isBuffer$2 = isBuffer$3.exports,
903
+ isPrototype = _isPrototype,
904
+ isTypedArray$2 = isTypedArray_1;
809
905
 
810
906
  /** `Object#toString` result references. */
811
907
  var mapTag$1 = '[object Map]',
@@ -854,17 +950,17 @@ function isEmpty(value) {
854
950
  if (value == null) {
855
951
  return true;
856
952
  }
857
- if (isArrayLike_1(value) &&
858
- (isArray_1(value) || typeof value == 'string' || typeof value.splice == 'function' ||
859
- isBuffer_1(value) || isTypedArray_1(value) || isArguments_1(value))) {
953
+ if (isArrayLike$1(value) &&
954
+ (isArray$7(value) || typeof value == 'string' || typeof value.splice == 'function' ||
955
+ isBuffer$2(value) || isTypedArray$2(value) || isArguments$1(value))) {
860
956
  return !value.length;
861
957
  }
862
- var tag = _getTag(value);
958
+ var tag = getTag$1(value);
863
959
  if (tag == mapTag$1 || tag == setTag$1) {
864
960
  return !value.size;
865
961
  }
866
- if (_isPrototype(value)) {
867
- return !_baseKeys(value).length;
962
+ if (isPrototype(value)) {
963
+ return !baseKeys$1(value).length;
868
964
  }
869
965
  for (var key in value) {
870
966
  if (hasOwnProperty$5.call(value, key)) {
@@ -883,12 +979,13 @@ var isEmpty_1 = isEmpty;
883
979
  * @name clear
884
980
  * @memberOf ListCache
885
981
  */
886
- function listCacheClear() {
982
+
983
+ function listCacheClear$1() {
887
984
  this.__data__ = [];
888
985
  this.size = 0;
889
986
  }
890
987
 
891
- var _listCacheClear = listCacheClear;
988
+ var _listCacheClear = listCacheClear$1;
892
989
 
893
990
  /**
894
991
  * Performs a
@@ -922,11 +1019,14 @@ var _listCacheClear = listCacheClear;
922
1019
  * _.eq(NaN, NaN);
923
1020
  * // => true
924
1021
  */
925
- function eq(value, other) {
1022
+
1023
+ function eq$2(value, other) {
926
1024
  return value === other || (value !== value && other !== other);
927
1025
  }
928
1026
 
929
- var eq_1 = eq;
1027
+ var eq_1 = eq$2;
1028
+
1029
+ var eq$1 = eq_1;
930
1030
 
931
1031
  /**
932
1032
  * Gets the index at which the `key` is found in `array` of key-value pairs.
@@ -936,17 +1036,19 @@ var eq_1 = eq;
936
1036
  * @param {*} key The key to search for.
937
1037
  * @returns {number} Returns the index of the matched value, else `-1`.
938
1038
  */
939
- function assocIndexOf(array, key) {
1039
+ function assocIndexOf$4(array, key) {
940
1040
  var length = array.length;
941
1041
  while (length--) {
942
- if (eq_1(array[length][0], key)) {
1042
+ if (eq$1(array[length][0], key)) {
943
1043
  return length;
944
1044
  }
945
1045
  }
946
1046
  return -1;
947
1047
  }
948
1048
 
949
- var _assocIndexOf = assocIndexOf;
1049
+ var _assocIndexOf = assocIndexOf$4;
1050
+
1051
+ var assocIndexOf$3 = _assocIndexOf;
950
1052
 
951
1053
  /** Used for built-in method references. */
952
1054
  var arrayProto = Array.prototype;
@@ -963,9 +1065,9 @@ var splice = arrayProto.splice;
963
1065
  * @param {string} key The key of the value to remove.
964
1066
  * @returns {boolean} Returns `true` if the entry was removed, else `false`.
965
1067
  */
966
- function listCacheDelete(key) {
1068
+ function listCacheDelete$1(key) {
967
1069
  var data = this.__data__,
968
- index = _assocIndexOf(data, key);
1070
+ index = assocIndexOf$3(data, key);
969
1071
 
970
1072
  if (index < 0) {
971
1073
  return false;
@@ -980,7 +1082,9 @@ function listCacheDelete(key) {
980
1082
  return true;
981
1083
  }
982
1084
 
983
- var _listCacheDelete = listCacheDelete;
1085
+ var _listCacheDelete = listCacheDelete$1;
1086
+
1087
+ var assocIndexOf$2 = _assocIndexOf;
984
1088
 
985
1089
  /**
986
1090
  * Gets the list cache value for `key`.
@@ -991,14 +1095,16 @@ var _listCacheDelete = listCacheDelete;
991
1095
  * @param {string} key The key of the value to get.
992
1096
  * @returns {*} Returns the entry value.
993
1097
  */
994
- function listCacheGet(key) {
1098
+ function listCacheGet$1(key) {
995
1099
  var data = this.__data__,
996
- index = _assocIndexOf(data, key);
1100
+ index = assocIndexOf$2(data, key);
997
1101
 
998
1102
  return index < 0 ? undefined : data[index][1];
999
1103
  }
1000
1104
 
1001
- var _listCacheGet = listCacheGet;
1105
+ var _listCacheGet = listCacheGet$1;
1106
+
1107
+ var assocIndexOf$1 = _assocIndexOf;
1002
1108
 
1003
1109
  /**
1004
1110
  * Checks if a list cache value for `key` exists.
@@ -1009,11 +1115,13 @@ var _listCacheGet = listCacheGet;
1009
1115
  * @param {string} key The key of the entry to check.
1010
1116
  * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1011
1117
  */
1012
- function listCacheHas(key) {
1013
- return _assocIndexOf(this.__data__, key) > -1;
1118
+ function listCacheHas$1(key) {
1119
+ return assocIndexOf$1(this.__data__, key) > -1;
1014
1120
  }
1015
1121
 
1016
- var _listCacheHas = listCacheHas;
1122
+ var _listCacheHas = listCacheHas$1;
1123
+
1124
+ var assocIndexOf = _assocIndexOf;
1017
1125
 
1018
1126
  /**
1019
1127
  * Sets the list cache `key` to `value`.
@@ -1025,9 +1133,9 @@ var _listCacheHas = listCacheHas;
1025
1133
  * @param {*} value The value to set.
1026
1134
  * @returns {Object} Returns the list cache instance.
1027
1135
  */
1028
- function listCacheSet(key, value) {
1136
+ function listCacheSet$1(key, value) {
1029
1137
  var data = this.__data__,
1030
- index = _assocIndexOf(data, key);
1138
+ index = assocIndexOf(data, key);
1031
1139
 
1032
1140
  if (index < 0) {
1033
1141
  ++this.size;
@@ -1038,7 +1146,13 @@ function listCacheSet(key, value) {
1038
1146
  return this;
1039
1147
  }
1040
1148
 
1041
- var _listCacheSet = listCacheSet;
1149
+ var _listCacheSet = listCacheSet$1;
1150
+
1151
+ var listCacheClear = _listCacheClear,
1152
+ listCacheDelete = _listCacheDelete,
1153
+ listCacheGet = _listCacheGet,
1154
+ listCacheHas = _listCacheHas,
1155
+ listCacheSet = _listCacheSet;
1042
1156
 
1043
1157
  /**
1044
1158
  * Creates an list cache object.
@@ -1047,7 +1161,7 @@ var _listCacheSet = listCacheSet;
1047
1161
  * @constructor
1048
1162
  * @param {Array} [entries] The key-value pairs to cache.
1049
1163
  */
1050
- function ListCache(entries) {
1164
+ function ListCache$4(entries) {
1051
1165
  var index = -1,
1052
1166
  length = entries == null ? 0 : entries.length;
1053
1167
 
@@ -1059,13 +1173,15 @@ function ListCache(entries) {
1059
1173
  }
1060
1174
 
1061
1175
  // Add methods to `ListCache`.
1062
- ListCache.prototype.clear = _listCacheClear;
1063
- ListCache.prototype['delete'] = _listCacheDelete;
1064
- ListCache.prototype.get = _listCacheGet;
1065
- ListCache.prototype.has = _listCacheHas;
1066
- ListCache.prototype.set = _listCacheSet;
1176
+ ListCache$4.prototype.clear = listCacheClear;
1177
+ ListCache$4.prototype['delete'] = listCacheDelete;
1178
+ ListCache$4.prototype.get = listCacheGet;
1179
+ ListCache$4.prototype.has = listCacheHas;
1180
+ ListCache$4.prototype.set = listCacheSet;
1067
1181
 
1068
- var _ListCache = ListCache;
1182
+ var _ListCache = ListCache$4;
1183
+
1184
+ var ListCache$3 = _ListCache;
1069
1185
 
1070
1186
  /**
1071
1187
  * Removes all key-value entries from the stack.
@@ -1074,12 +1190,12 @@ var _ListCache = ListCache;
1074
1190
  * @name clear
1075
1191
  * @memberOf Stack
1076
1192
  */
1077
- function stackClear() {
1078
- this.__data__ = new _ListCache;
1193
+ function stackClear$1() {
1194
+ this.__data__ = new ListCache$3;
1079
1195
  this.size = 0;
1080
1196
  }
1081
1197
 
1082
- var _stackClear = stackClear;
1198
+ var _stackClear = stackClear$1;
1083
1199
 
1084
1200
  /**
1085
1201
  * Removes `key` and its value from the stack.
@@ -1090,7 +1206,8 @@ var _stackClear = stackClear;
1090
1206
  * @param {string} key The key of the value to remove.
1091
1207
  * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1092
1208
  */
1093
- function stackDelete(key) {
1209
+
1210
+ function stackDelete$1(key) {
1094
1211
  var data = this.__data__,
1095
1212
  result = data['delete'](key);
1096
1213
 
@@ -1098,7 +1215,7 @@ function stackDelete(key) {
1098
1215
  return result;
1099
1216
  }
1100
1217
 
1101
- var _stackDelete = stackDelete;
1218
+ var _stackDelete = stackDelete$1;
1102
1219
 
1103
1220
  /**
1104
1221
  * Gets the stack value for `key`.
@@ -1109,11 +1226,12 @@ var _stackDelete = stackDelete;
1109
1226
  * @param {string} key The key of the value to get.
1110
1227
  * @returns {*} Returns the entry value.
1111
1228
  */
1112
- function stackGet(key) {
1229
+
1230
+ function stackGet$1(key) {
1113
1231
  return this.__data__.get(key);
1114
1232
  }
1115
1233
 
1116
- var _stackGet = stackGet;
1234
+ var _stackGet = stackGet$1;
1117
1235
 
1118
1236
  /**
1119
1237
  * Checks if a stack value for `key` exists.
@@ -1124,16 +1242,21 @@ var _stackGet = stackGet;
1124
1242
  * @param {string} key The key of the entry to check.
1125
1243
  * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1126
1244
  */
1127
- function stackHas(key) {
1245
+
1246
+ function stackHas$1(key) {
1128
1247
  return this.__data__.has(key);
1129
1248
  }
1130
1249
 
1131
- var _stackHas = stackHas;
1250
+ var _stackHas = stackHas$1;
1251
+
1252
+ var getNative = _getNative;
1132
1253
 
1133
1254
  /* Built-in method references that are verified to be native. */
1134
- var nativeCreate = _getNative(Object, 'create');
1255
+ var nativeCreate$4 = getNative(Object, 'create');
1256
+
1257
+ var _nativeCreate = nativeCreate$4;
1135
1258
 
1136
- var _nativeCreate = nativeCreate;
1259
+ var nativeCreate$3 = _nativeCreate;
1137
1260
 
1138
1261
  /**
1139
1262
  * Removes all key-value entries from the hash.
@@ -1142,12 +1265,12 @@ var _nativeCreate = nativeCreate;
1142
1265
  * @name clear
1143
1266
  * @memberOf Hash
1144
1267
  */
1145
- function hashClear() {
1146
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
1268
+ function hashClear$1() {
1269
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
1147
1270
  this.size = 0;
1148
1271
  }
1149
1272
 
1150
- var _hashClear = hashClear;
1273
+ var _hashClear = hashClear$1;
1151
1274
 
1152
1275
  /**
1153
1276
  * Removes `key` and its value from the hash.
@@ -1159,13 +1282,16 @@ var _hashClear = hashClear;
1159
1282
  * @param {string} key The key of the value to remove.
1160
1283
  * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1161
1284
  */
1162
- function hashDelete(key) {
1285
+
1286
+ function hashDelete$1(key) {
1163
1287
  var result = this.has(key) && delete this.__data__[key];
1164
1288
  this.size -= result ? 1 : 0;
1165
1289
  return result;
1166
1290
  }
1167
1291
 
1168
- var _hashDelete = hashDelete;
1292
+ var _hashDelete = hashDelete$1;
1293
+
1294
+ var nativeCreate$2 = _nativeCreate;
1169
1295
 
1170
1296
  /** Used to stand-in for `undefined` hash values. */
1171
1297
  var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
@@ -1185,16 +1311,18 @@ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1185
1311
  * @param {string} key The key of the value to get.
1186
1312
  * @returns {*} Returns the entry value.
1187
1313
  */
1188
- function hashGet(key) {
1314
+ function hashGet$1(key) {
1189
1315
  var data = this.__data__;
1190
- if (_nativeCreate) {
1316
+ if (nativeCreate$2) {
1191
1317
  var result = data[key];
1192
1318
  return result === HASH_UNDEFINED$2 ? undefined : result;
1193
1319
  }
1194
1320
  return hasOwnProperty$4.call(data, key) ? data[key] : undefined;
1195
1321
  }
1196
1322
 
1197
- var _hashGet = hashGet;
1323
+ var _hashGet = hashGet$1;
1324
+
1325
+ var nativeCreate$1 = _nativeCreate;
1198
1326
 
1199
1327
  /** Used for built-in method references. */
1200
1328
  var objectProto$4 = Object.prototype;
@@ -1211,12 +1339,14 @@ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1211
1339
  * @param {string} key The key of the entry to check.
1212
1340
  * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1213
1341
  */
1214
- function hashHas(key) {
1342
+ function hashHas$1(key) {
1215
1343
  var data = this.__data__;
1216
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
1344
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
1217
1345
  }
1218
1346
 
1219
- var _hashHas = hashHas;
1347
+ var _hashHas = hashHas$1;
1348
+
1349
+ var nativeCreate = _nativeCreate;
1220
1350
 
1221
1351
  /** Used to stand-in for `undefined` hash values. */
1222
1352
  var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
@@ -1231,14 +1361,20 @@ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1231
1361
  * @param {*} value The value to set.
1232
1362
  * @returns {Object} Returns the hash instance.
1233
1363
  */
1234
- function hashSet(key, value) {
1364
+ function hashSet$1(key, value) {
1235
1365
  var data = this.__data__;
1236
1366
  this.size += this.has(key) ? 0 : 1;
1237
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1367
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1238
1368
  return this;
1239
1369
  }
1240
1370
 
1241
- var _hashSet = hashSet;
1371
+ var _hashSet = hashSet$1;
1372
+
1373
+ var hashClear = _hashClear,
1374
+ hashDelete = _hashDelete,
1375
+ hashGet = _hashGet,
1376
+ hashHas = _hashHas,
1377
+ hashSet = _hashSet;
1242
1378
 
1243
1379
  /**
1244
1380
  * Creates a hash object.
@@ -1247,7 +1383,7 @@ var _hashSet = hashSet;
1247
1383
  * @constructor
1248
1384
  * @param {Array} [entries] The key-value pairs to cache.
1249
1385
  */
1250
- function Hash(entries) {
1386
+ function Hash$1(entries) {
1251
1387
  var index = -1,
1252
1388
  length = entries == null ? 0 : entries.length;
1253
1389
 
@@ -1259,13 +1395,17 @@ function Hash(entries) {
1259
1395
  }
1260
1396
 
1261
1397
  // Add methods to `Hash`.
1262
- Hash.prototype.clear = _hashClear;
1263
- Hash.prototype['delete'] = _hashDelete;
1264
- Hash.prototype.get = _hashGet;
1265
- Hash.prototype.has = _hashHas;
1266
- Hash.prototype.set = _hashSet;
1398
+ Hash$1.prototype.clear = hashClear;
1399
+ Hash$1.prototype['delete'] = hashDelete;
1400
+ Hash$1.prototype.get = hashGet;
1401
+ Hash$1.prototype.has = hashHas;
1402
+ Hash$1.prototype.set = hashSet;
1403
+
1404
+ var _Hash = Hash$1;
1267
1405
 
1268
- var _Hash = Hash;
1406
+ var Hash = _Hash,
1407
+ ListCache$2 = _ListCache,
1408
+ Map$1 = _Map;
1269
1409
 
1270
1410
  /**
1271
1411
  * Removes all key-value entries from the map.
@@ -1274,16 +1414,16 @@ var _Hash = Hash;
1274
1414
  * @name clear
1275
1415
  * @memberOf MapCache
1276
1416
  */
1277
- function mapCacheClear() {
1417
+ function mapCacheClear$1() {
1278
1418
  this.size = 0;
1279
1419
  this.__data__ = {
1280
- 'hash': new _Hash,
1281
- 'map': new (_Map || _ListCache),
1282
- 'string': new _Hash
1420
+ 'hash': new Hash,
1421
+ 'map': new (Map$1 || ListCache$2),
1422
+ 'string': new Hash
1283
1423
  };
1284
1424
  }
1285
1425
 
1286
- var _mapCacheClear = mapCacheClear;
1426
+ var _mapCacheClear = mapCacheClear$1;
1287
1427
 
1288
1428
  /**
1289
1429
  * Checks if `value` is suitable for use as unique object key.
@@ -1292,14 +1432,17 @@ var _mapCacheClear = mapCacheClear;
1292
1432
  * @param {*} value The value to check.
1293
1433
  * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1294
1434
  */
1295
- function isKeyable(value) {
1435
+
1436
+ function isKeyable$1(value) {
1296
1437
  var type = typeof value;
1297
1438
  return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1298
1439
  ? (value !== '__proto__')
1299
1440
  : (value === null);
1300
1441
  }
1301
1442
 
1302
- var _isKeyable = isKeyable;
1443
+ var _isKeyable = isKeyable$1;
1444
+
1445
+ var isKeyable = _isKeyable;
1303
1446
 
1304
1447
  /**
1305
1448
  * Gets the data for `map`.
@@ -1309,14 +1452,16 @@ var _isKeyable = isKeyable;
1309
1452
  * @param {string} key The reference key.
1310
1453
  * @returns {*} Returns the map data.
1311
1454
  */
1312
- function getMapData(map, key) {
1455
+ function getMapData$4(map, key) {
1313
1456
  var data = map.__data__;
1314
- return _isKeyable(key)
1457
+ return isKeyable(key)
1315
1458
  ? data[typeof key == 'string' ? 'string' : 'hash']
1316
1459
  : data.map;
1317
1460
  }
1318
1461
 
1319
- var _getMapData = getMapData;
1462
+ var _getMapData = getMapData$4;
1463
+
1464
+ var getMapData$3 = _getMapData;
1320
1465
 
1321
1466
  /**
1322
1467
  * Removes `key` and its value from the map.
@@ -1327,13 +1472,15 @@ var _getMapData = getMapData;
1327
1472
  * @param {string} key The key of the value to remove.
1328
1473
  * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1329
1474
  */
1330
- function mapCacheDelete(key) {
1331
- var result = _getMapData(this, key)['delete'](key);
1475
+ function mapCacheDelete$1(key) {
1476
+ var result = getMapData$3(this, key)['delete'](key);
1332
1477
  this.size -= result ? 1 : 0;
1333
1478
  return result;
1334
1479
  }
1335
1480
 
1336
- var _mapCacheDelete = mapCacheDelete;
1481
+ var _mapCacheDelete = mapCacheDelete$1;
1482
+
1483
+ var getMapData$2 = _getMapData;
1337
1484
 
1338
1485
  /**
1339
1486
  * Gets the map value for `key`.
@@ -1344,11 +1491,13 @@ var _mapCacheDelete = mapCacheDelete;
1344
1491
  * @param {string} key The key of the value to get.
1345
1492
  * @returns {*} Returns the entry value.
1346
1493
  */
1347
- function mapCacheGet(key) {
1348
- return _getMapData(this, key).get(key);
1494
+ function mapCacheGet$1(key) {
1495
+ return getMapData$2(this, key).get(key);
1349
1496
  }
1350
1497
 
1351
- var _mapCacheGet = mapCacheGet;
1498
+ var _mapCacheGet = mapCacheGet$1;
1499
+
1500
+ var getMapData$1 = _getMapData;
1352
1501
 
1353
1502
  /**
1354
1503
  * Checks if a map value for `key` exists.
@@ -1359,11 +1508,13 @@ var _mapCacheGet = mapCacheGet;
1359
1508
  * @param {string} key The key of the entry to check.
1360
1509
  * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1361
1510
  */
1362
- function mapCacheHas(key) {
1363
- return _getMapData(this, key).has(key);
1511
+ function mapCacheHas$1(key) {
1512
+ return getMapData$1(this, key).has(key);
1364
1513
  }
1365
1514
 
1366
- var _mapCacheHas = mapCacheHas;
1515
+ var _mapCacheHas = mapCacheHas$1;
1516
+
1517
+ var getMapData = _getMapData;
1367
1518
 
1368
1519
  /**
1369
1520
  * Sets the map `key` to `value`.
@@ -1375,8 +1526,8 @@ var _mapCacheHas = mapCacheHas;
1375
1526
  * @param {*} value The value to set.
1376
1527
  * @returns {Object} Returns the map cache instance.
1377
1528
  */
1378
- function mapCacheSet(key, value) {
1379
- var data = _getMapData(this, key),
1529
+ function mapCacheSet$1(key, value) {
1530
+ var data = getMapData(this, key),
1380
1531
  size = data.size;
1381
1532
 
1382
1533
  data.set(key, value);
@@ -1384,7 +1535,13 @@ function mapCacheSet(key, value) {
1384
1535
  return this;
1385
1536
  }
1386
1537
 
1387
- var _mapCacheSet = mapCacheSet;
1538
+ var _mapCacheSet = mapCacheSet$1;
1539
+
1540
+ var mapCacheClear = _mapCacheClear,
1541
+ mapCacheDelete = _mapCacheDelete,
1542
+ mapCacheGet = _mapCacheGet,
1543
+ mapCacheHas = _mapCacheHas,
1544
+ mapCacheSet = _mapCacheSet;
1388
1545
 
1389
1546
  /**
1390
1547
  * Creates a map cache object to store key-value pairs.
@@ -1393,7 +1550,7 @@ var _mapCacheSet = mapCacheSet;
1393
1550
  * @constructor
1394
1551
  * @param {Array} [entries] The key-value pairs to cache.
1395
1552
  */
1396
- function MapCache(entries) {
1553
+ function MapCache$3(entries) {
1397
1554
  var index = -1,
1398
1555
  length = entries == null ? 0 : entries.length;
1399
1556
 
@@ -1405,13 +1562,17 @@ function MapCache(entries) {
1405
1562
  }
1406
1563
 
1407
1564
  // Add methods to `MapCache`.
1408
- MapCache.prototype.clear = _mapCacheClear;
1409
- MapCache.prototype['delete'] = _mapCacheDelete;
1410
- MapCache.prototype.get = _mapCacheGet;
1411
- MapCache.prototype.has = _mapCacheHas;
1412
- MapCache.prototype.set = _mapCacheSet;
1565
+ MapCache$3.prototype.clear = mapCacheClear;
1566
+ MapCache$3.prototype['delete'] = mapCacheDelete;
1567
+ MapCache$3.prototype.get = mapCacheGet;
1568
+ MapCache$3.prototype.has = mapCacheHas;
1569
+ MapCache$3.prototype.set = mapCacheSet;
1413
1570
 
1414
- var _MapCache = MapCache;
1571
+ var _MapCache = MapCache$3;
1572
+
1573
+ var ListCache$1 = _ListCache,
1574
+ Map = _Map,
1575
+ MapCache$2 = _MapCache;
1415
1576
 
1416
1577
  /** Used as the size to enable large array optimizations. */
1417
1578
  var LARGE_ARRAY_SIZE = 200;
@@ -1426,23 +1587,30 @@ var LARGE_ARRAY_SIZE = 200;
1426
1587
  * @param {*} value The value to set.
1427
1588
  * @returns {Object} Returns the stack cache instance.
1428
1589
  */
1429
- function stackSet(key, value) {
1590
+ function stackSet$1(key, value) {
1430
1591
  var data = this.__data__;
1431
- if (data instanceof _ListCache) {
1592
+ if (data instanceof ListCache$1) {
1432
1593
  var pairs = data.__data__;
1433
- if (!_Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1594
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1434
1595
  pairs.push([key, value]);
1435
1596
  this.size = ++data.size;
1436
1597
  return this;
1437
1598
  }
1438
- data = this.__data__ = new _MapCache(pairs);
1599
+ data = this.__data__ = new MapCache$2(pairs);
1439
1600
  }
1440
1601
  data.set(key, value);
1441
1602
  this.size = data.size;
1442
1603
  return this;
1443
1604
  }
1444
1605
 
1445
- var _stackSet = stackSet;
1606
+ var _stackSet = stackSet$1;
1607
+
1608
+ var ListCache = _ListCache,
1609
+ stackClear = _stackClear,
1610
+ stackDelete = _stackDelete,
1611
+ stackGet = _stackGet,
1612
+ stackHas = _stackHas,
1613
+ stackSet = _stackSet;
1446
1614
 
1447
1615
  /**
1448
1616
  * Creates a stack cache object to store key-value pairs.
@@ -1451,21 +1619,22 @@ var _stackSet = stackSet;
1451
1619
  * @constructor
1452
1620
  * @param {Array} [entries] The key-value pairs to cache.
1453
1621
  */
1454
- function Stack(entries) {
1455
- var data = this.__data__ = new _ListCache(entries);
1622
+ function Stack$1(entries) {
1623
+ var data = this.__data__ = new ListCache(entries);
1456
1624
  this.size = data.size;
1457
1625
  }
1458
1626
 
1459
1627
  // Add methods to `Stack`.
1460
- Stack.prototype.clear = _stackClear;
1461
- Stack.prototype['delete'] = _stackDelete;
1462
- Stack.prototype.get = _stackGet;
1463
- Stack.prototype.has = _stackHas;
1464
- Stack.prototype.set = _stackSet;
1628
+ Stack$1.prototype.clear = stackClear;
1629
+ Stack$1.prototype['delete'] = stackDelete;
1630
+ Stack$1.prototype.get = stackGet;
1631
+ Stack$1.prototype.has = stackHas;
1632
+ Stack$1.prototype.set = stackSet;
1465
1633
 
1466
- var _Stack = Stack;
1634
+ var _Stack = Stack$1;
1467
1635
 
1468
1636
  /** Used to stand-in for `undefined` hash values. */
1637
+
1469
1638
  var HASH_UNDEFINED = '__lodash_hash_undefined__';
1470
1639
 
1471
1640
  /**
@@ -1478,12 +1647,12 @@ var HASH_UNDEFINED = '__lodash_hash_undefined__';
1478
1647
  * @param {*} value The value to cache.
1479
1648
  * @returns {Object} Returns the cache instance.
1480
1649
  */
1481
- function setCacheAdd(value) {
1650
+ function setCacheAdd$1(value) {
1482
1651
  this.__data__.set(value, HASH_UNDEFINED);
1483
1652
  return this;
1484
1653
  }
1485
1654
 
1486
- var _setCacheAdd = setCacheAdd;
1655
+ var _setCacheAdd = setCacheAdd$1;
1487
1656
 
1488
1657
  /**
1489
1658
  * Checks if `value` is in the array cache.
@@ -1494,11 +1663,16 @@ var _setCacheAdd = setCacheAdd;
1494
1663
  * @param {*} value The value to search for.
1495
1664
  * @returns {number} Returns `true` if `value` is found, else `false`.
1496
1665
  */
1497
- function setCacheHas(value) {
1666
+
1667
+ function setCacheHas$1(value) {
1498
1668
  return this.__data__.has(value);
1499
1669
  }
1500
1670
 
1501
- var _setCacheHas = setCacheHas;
1671
+ var _setCacheHas = setCacheHas$1;
1672
+
1673
+ var MapCache$1 = _MapCache,
1674
+ setCacheAdd = _setCacheAdd,
1675
+ setCacheHas = _setCacheHas;
1502
1676
 
1503
1677
  /**
1504
1678
  *
@@ -1508,21 +1682,21 @@ var _setCacheHas = setCacheHas;
1508
1682
  * @constructor
1509
1683
  * @param {Array} [values] The values to cache.
1510
1684
  */
1511
- function SetCache(values) {
1685
+ function SetCache$1(values) {
1512
1686
  var index = -1,
1513
1687
  length = values == null ? 0 : values.length;
1514
1688
 
1515
- this.__data__ = new _MapCache;
1689
+ this.__data__ = new MapCache$1;
1516
1690
  while (++index < length) {
1517
1691
  this.add(values[index]);
1518
1692
  }
1519
1693
  }
1520
1694
 
1521
1695
  // Add methods to `SetCache`.
1522
- SetCache.prototype.add = SetCache.prototype.push = _setCacheAdd;
1523
- SetCache.prototype.has = _setCacheHas;
1696
+ SetCache$1.prototype.add = SetCache$1.prototype.push = setCacheAdd;
1697
+ SetCache$1.prototype.has = setCacheHas;
1524
1698
 
1525
- var _SetCache = SetCache;
1699
+ var _SetCache = SetCache$1;
1526
1700
 
1527
1701
  /**
1528
1702
  * A specialized version of `_.some` for arrays without support for iteratee
@@ -1534,7 +1708,8 @@ var _SetCache = SetCache;
1534
1708
  * @returns {boolean} Returns `true` if any element passes the predicate check,
1535
1709
  * else `false`.
1536
1710
  */
1537
- function arraySome(array, predicate) {
1711
+
1712
+ function arraySome$1(array, predicate) {
1538
1713
  var index = -1,
1539
1714
  length = array == null ? 0 : array.length;
1540
1715
 
@@ -1546,7 +1721,7 @@ function arraySome(array, predicate) {
1546
1721
  return false;
1547
1722
  }
1548
1723
 
1549
- var _arraySome = arraySome;
1724
+ var _arraySome = arraySome$1;
1550
1725
 
1551
1726
  /**
1552
1727
  * Checks if a `cache` value for `key` exists.
@@ -1556,11 +1731,16 @@ var _arraySome = arraySome;
1556
1731
  * @param {string} key The key of the entry to check.
1557
1732
  * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1558
1733
  */
1559
- function cacheHas(cache, key) {
1734
+
1735
+ function cacheHas$1(cache, key) {
1560
1736
  return cache.has(key);
1561
1737
  }
1562
1738
 
1563
- var _cacheHas = cacheHas;
1739
+ var _cacheHas = cacheHas$1;
1740
+
1741
+ var SetCache = _SetCache,
1742
+ arraySome = _arraySome,
1743
+ cacheHas = _cacheHas;
1564
1744
 
1565
1745
  /** Used to compose bitmasks for value comparisons. */
1566
1746
  var COMPARE_PARTIAL_FLAG$3 = 1,
@@ -1579,7 +1759,7 @@ var COMPARE_PARTIAL_FLAG$3 = 1,
1579
1759
  * @param {Object} stack Tracks traversed `array` and `other` objects.
1580
1760
  * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
1581
1761
  */
1582
- function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1762
+ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
1583
1763
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
1584
1764
  arrLength = array.length,
1585
1765
  othLength = other.length;
@@ -1595,7 +1775,7 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1595
1775
  }
1596
1776
  var index = -1,
1597
1777
  result = true,
1598
- seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new _SetCache : undefined;
1778
+ seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new SetCache : undefined;
1599
1779
 
1600
1780
  stack.set(array, other);
1601
1781
  stack.set(other, array);
@@ -1619,8 +1799,8 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1619
1799
  }
1620
1800
  // Recursively compare arrays (susceptible to call stack limits).
1621
1801
  if (seen) {
1622
- if (!_arraySome(other, function(othValue, othIndex) {
1623
- if (!_cacheHas(seen, othIndex) &&
1802
+ if (!arraySome(other, function(othValue, othIndex) {
1803
+ if (!cacheHas(seen, othIndex) &&
1624
1804
  (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
1625
1805
  return seen.push(othIndex);
1626
1806
  }
@@ -1641,12 +1821,14 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1641
1821
  return result;
1642
1822
  }
1643
1823
 
1644
- var _equalArrays = equalArrays;
1824
+ var _equalArrays = equalArrays$2;
1825
+
1826
+ var root = _root;
1645
1827
 
1646
1828
  /** Built-in value references. */
1647
- var Uint8Array = _root.Uint8Array;
1829
+ var Uint8Array$1 = root.Uint8Array;
1648
1830
 
1649
- var _Uint8Array = Uint8Array;
1831
+ var _Uint8Array = Uint8Array$1;
1650
1832
 
1651
1833
  /**
1652
1834
  * Converts `map` to its key-value pairs.
@@ -1655,7 +1837,8 @@ var _Uint8Array = Uint8Array;
1655
1837
  * @param {Object} map The map to convert.
1656
1838
  * @returns {Array} Returns the key-value pairs.
1657
1839
  */
1658
- function mapToArray(map) {
1840
+
1841
+ function mapToArray$1(map) {
1659
1842
  var index = -1,
1660
1843
  result = Array(map.size);
1661
1844
 
@@ -1665,7 +1848,7 @@ function mapToArray(map) {
1665
1848
  return result;
1666
1849
  }
1667
1850
 
1668
- var _mapToArray = mapToArray;
1851
+ var _mapToArray = mapToArray$1;
1669
1852
 
1670
1853
  /**
1671
1854
  * Converts `set` to an array of its values.
@@ -1674,7 +1857,8 @@ var _mapToArray = mapToArray;
1674
1857
  * @param {Object} set The set to convert.
1675
1858
  * @returns {Array} Returns the values.
1676
1859
  */
1677
- function setToArray(set) {
1860
+
1861
+ function setToArray$1(set) {
1678
1862
  var index = -1,
1679
1863
  result = Array(set.size);
1680
1864
 
@@ -1684,7 +1868,14 @@ function setToArray(set) {
1684
1868
  return result;
1685
1869
  }
1686
1870
 
1687
- var _setToArray = setToArray;
1871
+ var _setToArray = setToArray$1;
1872
+
1873
+ var Symbol$1 = _Symbol,
1874
+ Uint8Array = _Uint8Array,
1875
+ eq = eq_1,
1876
+ equalArrays$1 = _equalArrays,
1877
+ mapToArray = _mapToArray,
1878
+ setToArray = _setToArray;
1688
1879
 
1689
1880
  /** Used to compose bitmasks for value comparisons. */
1690
1881
  var COMPARE_PARTIAL_FLAG$2 = 1,
@@ -1705,7 +1896,7 @@ var arrayBufferTag = '[object ArrayBuffer]',
1705
1896
  dataViewTag = '[object DataView]';
1706
1897
 
1707
1898
  /** Used to convert symbols to primitives and strings. */
1708
- var symbolProto$1 = _Symbol ? _Symbol.prototype : undefined,
1899
+ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
1709
1900
  symbolValueOf = symbolProto$1 ? symbolProto$1.valueOf : undefined;
1710
1901
 
1711
1902
  /**
@@ -1725,7 +1916,7 @@ var symbolProto$1 = _Symbol ? _Symbol.prototype : undefined,
1725
1916
  * @param {Object} stack Tracks traversed `object` and `other` objects.
1726
1917
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
1727
1918
  */
1728
- function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1919
+ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack) {
1729
1920
  switch (tag) {
1730
1921
  case dataViewTag:
1731
1922
  if ((object.byteLength != other.byteLength) ||
@@ -1737,7 +1928,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1737
1928
 
1738
1929
  case arrayBufferTag:
1739
1930
  if ((object.byteLength != other.byteLength) ||
1740
- !equalFunc(new _Uint8Array(object), new _Uint8Array(other))) {
1931
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
1741
1932
  return false;
1742
1933
  }
1743
1934
  return true;
@@ -1747,7 +1938,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1747
1938
  case numberTag:
1748
1939
  // Coerce booleans to `1` or `0` and dates to milliseconds.
1749
1940
  // Invalid dates are coerced to `NaN`.
1750
- return eq_1(+object, +other);
1941
+ return eq(+object, +other);
1751
1942
 
1752
1943
  case errorTag:
1753
1944
  return object.name == other.name && object.message == other.message;
@@ -1760,11 +1951,11 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1760
1951
  return object == (other + '');
1761
1952
 
1762
1953
  case mapTag:
1763
- var convert = _mapToArray;
1954
+ var convert = mapToArray;
1764
1955
 
1765
1956
  case setTag:
1766
1957
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
1767
- convert || (convert = _setToArray);
1958
+ convert || (convert = setToArray);
1768
1959
 
1769
1960
  if (object.size != other.size && !isPartial) {
1770
1961
  return false;
@@ -1778,7 +1969,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1778
1969
 
1779
1970
  // Recursively compare objects (susceptible to call stack limits).
1780
1971
  stack.set(object, other);
1781
- var result = _equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
1972
+ var result = equalArrays$1(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
1782
1973
  stack['delete'](object);
1783
1974
  return result;
1784
1975
 
@@ -1790,7 +1981,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1790
1981
  return false;
1791
1982
  }
1792
1983
 
1793
- var _equalByTag = equalByTag;
1984
+ var _equalByTag = equalByTag$1;
1794
1985
 
1795
1986
  /**
1796
1987
  * Appends the elements of `values` to `array`.
@@ -1800,7 +1991,8 @@ var _equalByTag = equalByTag;
1800
1991
  * @param {Array} values The values to append.
1801
1992
  * @returns {Array} Returns `array`.
1802
1993
  */
1803
- function arrayPush(array, values) {
1994
+
1995
+ function arrayPush$1(array, values) {
1804
1996
  var index = -1,
1805
1997
  length = values.length,
1806
1998
  offset = array.length;
@@ -1811,7 +2003,10 @@ function arrayPush(array, values) {
1811
2003
  return array;
1812
2004
  }
1813
2005
 
1814
- var _arrayPush = arrayPush;
2006
+ var _arrayPush = arrayPush$1;
2007
+
2008
+ var arrayPush = _arrayPush,
2009
+ isArray$6 = isArray_1;
1815
2010
 
1816
2011
  /**
1817
2012
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
@@ -1824,12 +2019,12 @@ var _arrayPush = arrayPush;
1824
2019
  * @param {Function} symbolsFunc The function to get the symbols of `object`.
1825
2020
  * @returns {Array} Returns the array of property names and symbols.
1826
2021
  */
1827
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
2022
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
1828
2023
  var result = keysFunc(object);
1829
- return isArray_1(object) ? result : _arrayPush(result, symbolsFunc(object));
2024
+ return isArray$6(object) ? result : arrayPush(result, symbolsFunc(object));
1830
2025
  }
1831
2026
 
1832
- var _baseGetAllKeys = baseGetAllKeys;
2027
+ var _baseGetAllKeys = baseGetAllKeys$1;
1833
2028
 
1834
2029
  /**
1835
2030
  * A specialized version of `_.filter` for arrays without support for
@@ -1840,7 +2035,8 @@ var _baseGetAllKeys = baseGetAllKeys;
1840
2035
  * @param {Function} predicate The function invoked per iteration.
1841
2036
  * @returns {Array} Returns the new filtered array.
1842
2037
  */
1843
- function arrayFilter(array, predicate) {
2038
+
2039
+ function arrayFilter$1(array, predicate) {
1844
2040
  var index = -1,
1845
2041
  length = array == null ? 0 : array.length,
1846
2042
  resIndex = 0,
@@ -1855,7 +2051,7 @@ function arrayFilter(array, predicate) {
1855
2051
  return result;
1856
2052
  }
1857
2053
 
1858
- var _arrayFilter = arrayFilter;
2054
+ var _arrayFilter = arrayFilter$1;
1859
2055
 
1860
2056
  /**
1861
2057
  * This method returns a new empty array.
@@ -1875,11 +2071,15 @@ var _arrayFilter = arrayFilter;
1875
2071
  * console.log(arrays[0] === arrays[1]);
1876
2072
  * // => false
1877
2073
  */
1878
- function stubArray() {
2074
+
2075
+ function stubArray$1() {
1879
2076
  return [];
1880
2077
  }
1881
2078
 
1882
- var stubArray_1 = stubArray;
2079
+ var stubArray_1 = stubArray$1;
2080
+
2081
+ var arrayFilter = _arrayFilter,
2082
+ stubArray = stubArray_1;
1883
2083
 
1884
2084
  /** Used for built-in method references. */
1885
2085
  var objectProto$3 = Object.prototype;
@@ -1897,17 +2097,17 @@ var nativeGetSymbols = Object.getOwnPropertySymbols;
1897
2097
  * @param {Object} object The object to query.
1898
2098
  * @returns {Array} Returns the array of symbols.
1899
2099
  */
1900
- var getSymbols = !nativeGetSymbols ? stubArray_1 : function(object) {
2100
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
1901
2101
  if (object == null) {
1902
2102
  return [];
1903
2103
  }
1904
2104
  object = Object(object);
1905
- return _arrayFilter(nativeGetSymbols(object), function(symbol) {
2105
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1906
2106
  return propertyIsEnumerable.call(object, symbol);
1907
2107
  });
1908
2108
  };
1909
2109
 
1910
- var _getSymbols = getSymbols;
2110
+ var _getSymbols = getSymbols$1;
1911
2111
 
1912
2112
  /**
1913
2113
  * The base implementation of `_.times` without support for iteratee shorthands
@@ -1918,7 +2118,8 @@ var _getSymbols = getSymbols;
1918
2118
  * @param {Function} iteratee The function invoked per iteration.
1919
2119
  * @returns {Array} Returns the array of results.
1920
2120
  */
1921
- function baseTimes(n, iteratee) {
2121
+
2122
+ function baseTimes$1(n, iteratee) {
1922
2123
  var index = -1,
1923
2124
  result = Array(n);
1924
2125
 
@@ -1928,9 +2129,10 @@ function baseTimes(n, iteratee) {
1928
2129
  return result;
1929
2130
  }
1930
2131
 
1931
- var _baseTimes = baseTimes;
2132
+ var _baseTimes = baseTimes$1;
1932
2133
 
1933
2134
  /** Used as references for various `Number` constants. */
2135
+
1934
2136
  var MAX_SAFE_INTEGER = 9007199254740991;
1935
2137
 
1936
2138
  /** Used to detect unsigned integer values. */
@@ -1944,7 +2146,7 @@ var reIsUint = /^(?:0|[1-9]\d*)$/;
1944
2146
  * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1945
2147
  * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1946
2148
  */
1947
- function isIndex(value, length) {
2149
+ function isIndex$1(value, length) {
1948
2150
  var type = typeof value;
1949
2151
  length = length == null ? MAX_SAFE_INTEGER : length;
1950
2152
 
@@ -1954,7 +2156,14 @@ function isIndex(value, length) {
1954
2156
  (value > -1 && value % 1 == 0 && value < length);
1955
2157
  }
1956
2158
 
1957
- var _isIndex = isIndex;
2159
+ var _isIndex = isIndex$1;
2160
+
2161
+ var baseTimes = _baseTimes,
2162
+ isArguments = isArguments_1,
2163
+ isArray$5 = isArray_1,
2164
+ isBuffer$1 = isBuffer$3.exports,
2165
+ isIndex = _isIndex,
2166
+ isTypedArray$1 = isTypedArray_1;
1958
2167
 
1959
2168
  /** Used for built-in method references. */
1960
2169
  var objectProto$2 = Object.prototype;
@@ -1970,13 +2179,13 @@ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
1970
2179
  * @param {boolean} inherited Specify returning inherited property names.
1971
2180
  * @returns {Array} Returns the array of property names.
1972
2181
  */
1973
- function arrayLikeKeys(value, inherited) {
1974
- var isArr = isArray_1(value),
1975
- isArg = !isArr && isArguments_1(value),
1976
- isBuff = !isArr && !isArg && isBuffer_1(value),
1977
- isType = !isArr && !isArg && !isBuff && isTypedArray_1(value),
2182
+ function arrayLikeKeys$1(value, inherited) {
2183
+ var isArr = isArray$5(value),
2184
+ isArg = !isArr && isArguments(value),
2185
+ isBuff = !isArr && !isArg && isBuffer$1(value),
2186
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
1978
2187
  skipIndexes = isArr || isArg || isBuff || isType,
1979
- result = skipIndexes ? _baseTimes(value.length, String) : [],
2188
+ result = skipIndexes ? baseTimes(value.length, String) : [],
1980
2189
  length = result.length;
1981
2190
 
1982
2191
  for (var key in value) {
@@ -1989,7 +2198,7 @@ function arrayLikeKeys(value, inherited) {
1989
2198
  // PhantomJS 2 has enumerable non-index properties on typed arrays.
1990
2199
  (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
1991
2200
  // Skip index properties.
1992
- _isIndex(key, length)
2201
+ isIndex(key, length)
1993
2202
  ))) {
1994
2203
  result.push(key);
1995
2204
  }
@@ -1997,7 +2206,11 @@ function arrayLikeKeys(value, inherited) {
1997
2206
  return result;
1998
2207
  }
1999
2208
 
2000
- var _arrayLikeKeys = arrayLikeKeys;
2209
+ var _arrayLikeKeys = arrayLikeKeys$1;
2210
+
2211
+ var arrayLikeKeys = _arrayLikeKeys,
2212
+ baseKeys = _baseKeys,
2213
+ isArrayLike = isArrayLike_1;
2001
2214
 
2002
2215
  /**
2003
2216
  * Creates an array of the own enumerable property names of `object`.
@@ -2027,11 +2240,15 @@ var _arrayLikeKeys = arrayLikeKeys;
2027
2240
  * _.keys('hi');
2028
2241
  * // => ['0', '1']
2029
2242
  */
2030
- function keys(object) {
2031
- return isArrayLike_1(object) ? _arrayLikeKeys(object) : _baseKeys(object);
2243
+ function keys$2(object) {
2244
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
2032
2245
  }
2033
2246
 
2034
- var keys_1 = keys;
2247
+ var keys_1 = keys$2;
2248
+
2249
+ var baseGetAllKeys = _baseGetAllKeys,
2250
+ getSymbols = _getSymbols,
2251
+ keys$1 = keys_1;
2035
2252
 
2036
2253
  /**
2037
2254
  * Creates an array of own enumerable property names and symbols of `object`.
@@ -2040,11 +2257,13 @@ var keys_1 = keys;
2040
2257
  * @param {Object} object The object to query.
2041
2258
  * @returns {Array} Returns the array of property names and symbols.
2042
2259
  */
2043
- function getAllKeys(object) {
2044
- return _baseGetAllKeys(object, keys_1, _getSymbols);
2260
+ function getAllKeys$1(object) {
2261
+ return baseGetAllKeys(object, keys$1, getSymbols);
2045
2262
  }
2046
2263
 
2047
- var _getAllKeys = getAllKeys;
2264
+ var _getAllKeys = getAllKeys$1;
2265
+
2266
+ var getAllKeys = _getAllKeys;
2048
2267
 
2049
2268
  /** Used to compose bitmasks for value comparisons. */
2050
2269
  var COMPARE_PARTIAL_FLAG$1 = 1;
@@ -2068,11 +2287,11 @@ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2068
2287
  * @param {Object} stack Tracks traversed `object` and `other` objects.
2069
2288
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2070
2289
  */
2071
- function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2290
+ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
2072
2291
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1,
2073
- objProps = _getAllKeys(object),
2292
+ objProps = getAllKeys(object),
2074
2293
  objLength = objProps.length,
2075
- othProps = _getAllKeys(other),
2294
+ othProps = getAllKeys(other),
2076
2295
  othLength = othProps.length;
2077
2296
 
2078
2297
  if (objLength != othLength && !isPartial) {
@@ -2133,7 +2352,16 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2133
2352
  return result;
2134
2353
  }
2135
2354
 
2136
- var _equalObjects = equalObjects;
2355
+ var _equalObjects = equalObjects$1;
2356
+
2357
+ var Stack = _Stack,
2358
+ equalArrays = _equalArrays,
2359
+ equalByTag = _equalByTag,
2360
+ equalObjects = _equalObjects,
2361
+ getTag = _getTag,
2362
+ isArray$4 = isArray_1,
2363
+ isBuffer = isBuffer$3.exports,
2364
+ isTypedArray = isTypedArray_1;
2137
2365
 
2138
2366
  /** Used to compose bitmasks for value comparisons. */
2139
2367
  var COMPARE_PARTIAL_FLAG = 1;
@@ -2163,11 +2391,11 @@ var hasOwnProperty = objectProto.hasOwnProperty;
2163
2391
  * @param {Object} [stack] Tracks traversed `object` and `other` objects.
2164
2392
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2165
2393
  */
2166
- function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2167
- var objIsArr = isArray_1(object),
2168
- othIsArr = isArray_1(other),
2169
- objTag = objIsArr ? arrayTag : _getTag(object),
2170
- othTag = othIsArr ? arrayTag : _getTag(other);
2394
+ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
2395
+ var objIsArr = isArray$4(object),
2396
+ othIsArr = isArray$4(other),
2397
+ objTag = objIsArr ? arrayTag : getTag(object),
2398
+ othTag = othIsArr ? arrayTag : getTag(other);
2171
2399
 
2172
2400
  objTag = objTag == argsTag ? objectTag : objTag;
2173
2401
  othTag = othTag == argsTag ? objectTag : othTag;
@@ -2176,18 +2404,18 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2176
2404
  othIsObj = othTag == objectTag,
2177
2405
  isSameTag = objTag == othTag;
2178
2406
 
2179
- if (isSameTag && isBuffer_1(object)) {
2180
- if (!isBuffer_1(other)) {
2407
+ if (isSameTag && isBuffer(object)) {
2408
+ if (!isBuffer(other)) {
2181
2409
  return false;
2182
2410
  }
2183
2411
  objIsArr = true;
2184
2412
  objIsObj = false;
2185
2413
  }
2186
2414
  if (isSameTag && !objIsObj) {
2187
- stack || (stack = new _Stack);
2188
- return (objIsArr || isTypedArray_1(object))
2189
- ? _equalArrays(object, other, bitmask, customizer, equalFunc, stack)
2190
- : _equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2415
+ stack || (stack = new Stack);
2416
+ return (objIsArr || isTypedArray(object))
2417
+ ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
2418
+ : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2191
2419
  }
2192
2420
  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
2193
2421
  var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
@@ -2197,18 +2425,21 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2197
2425
  var objUnwrapped = objIsWrapped ? object.value() : object,
2198
2426
  othUnwrapped = othIsWrapped ? other.value() : other;
2199
2427
 
2200
- stack || (stack = new _Stack);
2428
+ stack || (stack = new Stack);
2201
2429
  return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2202
2430
  }
2203
2431
  }
2204
2432
  if (!isSameTag) {
2205
2433
  return false;
2206
2434
  }
2207
- stack || (stack = new _Stack);
2208
- return _equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2435
+ stack || (stack = new Stack);
2436
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2209
2437
  }
2210
2438
 
2211
- var _baseIsEqualDeep = baseIsEqualDeep;
2439
+ var _baseIsEqualDeep = baseIsEqualDeep$1;
2440
+
2441
+ var baseIsEqualDeep = _baseIsEqualDeep,
2442
+ isObjectLike$1 = isObjectLike_1;
2212
2443
 
2213
2444
  /**
2214
2445
  * The base implementation of `_.isEqual` which supports partial comparisons
@@ -2224,17 +2455,19 @@ var _baseIsEqualDeep = baseIsEqualDeep;
2224
2455
  * @param {Object} [stack] Tracks traversed `value` and `other` objects.
2225
2456
  * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2226
2457
  */
2227
- function baseIsEqual(value, other, bitmask, customizer, stack) {
2458
+ function baseIsEqual$1(value, other, bitmask, customizer, stack) {
2228
2459
  if (value === other) {
2229
2460
  return true;
2230
2461
  }
2231
- if (value == null || other == null || (!isObjectLike_1(value) && !isObjectLike_1(other))) {
2462
+ if (value == null || other == null || (!isObjectLike$1(value) && !isObjectLike$1(other))) {
2232
2463
  return value !== value && other !== other;
2233
2464
  }
2234
- return _baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
2465
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$1, stack);
2235
2466
  }
2236
2467
 
2237
- var _baseIsEqual = baseIsEqual;
2468
+ var _baseIsEqual = baseIsEqual$1;
2469
+
2470
+ var baseIsEqual = _baseIsEqual;
2238
2471
 
2239
2472
  /**
2240
2473
  * Performs a deep comparison between two values to determine if they are
@@ -2265,7 +2498,7 @@ var _baseIsEqual = baseIsEqual;
2265
2498
  * // => false
2266
2499
  */
2267
2500
  function isEqual(value, other) {
2268
- return _baseIsEqual(value, other);
2501
+ return baseIsEqual(value, other);
2269
2502
  }
2270
2503
 
2271
2504
  var isEqual_1 = isEqual;
@@ -2297,7 +2530,18 @@ var defaults = {
2297
2530
  gridColumns: '2'
2298
2531
  };
2299
2532
 
2300
- var lodash = createCommonjsModule(function (module, exports) {
2533
+ var lodash = {exports: {}};
2534
+
2535
+ /**
2536
+ * @license
2537
+ * Lodash <https://lodash.com/>
2538
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
2539
+ * Released under MIT license <https://lodash.com/license>
2540
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
2541
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
2542
+ */
2543
+
2544
+ (function (module, exports) {
2301
2545
  (function() {
2302
2546
 
2303
2547
  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
@@ -19485,7 +19729,9 @@ var lodash = createCommonjsModule(function (module, exports) {
19485
19729
  root._ = _;
19486
19730
  }
19487
19731
  }.call(commonjsGlobal));
19488
- });
19732
+ }(lodash, lodash.exports));
19733
+
19734
+ var _ = lodash.exports;
19489
19735
 
19490
19736
  const enabled = (config, env, defaultValue) => {
19491
19737
  // if model.partialScoring = false
@@ -19504,9 +19750,12 @@ const enabled = (config, env, defaultValue) => {
19504
19750
  return false;
19505
19751
  }
19506
19752
 
19507
- return lodash.isBoolean(defaultValue) ? defaultValue : true;
19753
+ return _.isBoolean(defaultValue) ? defaultValue : true;
19508
19754
  };
19509
19755
 
19756
+ var baseGetTag = _baseGetTag,
19757
+ isObjectLike = isObjectLike_1;
19758
+
19510
19759
  /** `Object#toString` result references. */
19511
19760
  var symbolTag = '[object Symbol]';
19512
19761
 
@@ -19527,12 +19776,15 @@ var symbolTag = '[object Symbol]';
19527
19776
  * _.isSymbol('abc');
19528
19777
  * // => false
19529
19778
  */
19530
- function isSymbol(value) {
19779
+ function isSymbol$3(value) {
19531
19780
  return typeof value == 'symbol' ||
19532
- (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
19781
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
19533
19782
  }
19534
19783
 
19535
- var isSymbol_1 = isSymbol;
19784
+ var isSymbol_1 = isSymbol$3;
19785
+
19786
+ var isArray$3 = isArray_1,
19787
+ isSymbol$2 = isSymbol_1;
19536
19788
 
19537
19789
  /** Used to match property names within property paths. */
19538
19790
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
@@ -19546,20 +19798,22 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
19546
19798
  * @param {Object} [object] The object to query keys on.
19547
19799
  * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
19548
19800
  */
19549
- function isKey(value, object) {
19550
- if (isArray_1(value)) {
19801
+ function isKey$1(value, object) {
19802
+ if (isArray$3(value)) {
19551
19803
  return false;
19552
19804
  }
19553
19805
  var type = typeof value;
19554
19806
  if (type == 'number' || type == 'symbol' || type == 'boolean' ||
19555
- value == null || isSymbol_1(value)) {
19807
+ value == null || isSymbol$2(value)) {
19556
19808
  return true;
19557
19809
  }
19558
19810
  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
19559
19811
  (object != null && value in Object(object));
19560
19812
  }
19561
19813
 
19562
- var _isKey = isKey;
19814
+ var _isKey = isKey$1;
19815
+
19816
+ var MapCache = _MapCache;
19563
19817
 
19564
19818
  /** Error message constants. */
19565
19819
  var FUNC_ERROR_TEXT = 'Expected a function';
@@ -19608,7 +19862,7 @@ var FUNC_ERROR_TEXT = 'Expected a function';
19608
19862
  * // Replace `_.memoize.Cache`.
19609
19863
  * _.memoize.Cache = WeakMap;
19610
19864
  */
19611
- function memoize(func, resolver) {
19865
+ function memoize$1(func, resolver) {
19612
19866
  if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
19613
19867
  throw new TypeError(FUNC_ERROR_TEXT);
19614
19868
  }
@@ -19624,14 +19878,16 @@ function memoize(func, resolver) {
19624
19878
  memoized.cache = cache.set(key, result) || cache;
19625
19879
  return result;
19626
19880
  };
19627
- memoized.cache = new (memoize.Cache || _MapCache);
19881
+ memoized.cache = new (memoize$1.Cache || MapCache);
19628
19882
  return memoized;
19629
19883
  }
19630
19884
 
19631
19885
  // Expose `MapCache`.
19632
- memoize.Cache = _MapCache;
19886
+ memoize$1.Cache = MapCache;
19887
+
19888
+ var memoize_1 = memoize$1;
19633
19889
 
19634
- var memoize_1 = memoize;
19890
+ var memoize = memoize_1;
19635
19891
 
19636
19892
  /** Used as the maximum memoize cache size. */
19637
19893
  var MAX_MEMOIZE_SIZE = 500;
@@ -19644,8 +19900,8 @@ var MAX_MEMOIZE_SIZE = 500;
19644
19900
  * @param {Function} func The function to have its output memoized.
19645
19901
  * @returns {Function} Returns the new memoized function.
19646
19902
  */
19647
- function memoizeCapped(func) {
19648
- var result = memoize_1(func, function(key) {
19903
+ function memoizeCapped$1(func) {
19904
+ var result = memoize(func, function(key) {
19649
19905
  if (cache.size === MAX_MEMOIZE_SIZE) {
19650
19906
  cache.clear();
19651
19907
  }
@@ -19656,7 +19912,9 @@ function memoizeCapped(func) {
19656
19912
  return result;
19657
19913
  }
19658
19914
 
19659
- var _memoizeCapped = memoizeCapped;
19915
+ var _memoizeCapped = memoizeCapped$1;
19916
+
19917
+ var memoizeCapped = _memoizeCapped;
19660
19918
 
19661
19919
  /** Used to match property names within property paths. */
19662
19920
  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
@@ -19671,7 +19929,7 @@ var reEscapeChar = /\\(\\)?/g;
19671
19929
  * @param {string} string The string to convert.
19672
19930
  * @returns {Array} Returns the property path array.
19673
19931
  */
19674
- var stringToPath = _memoizeCapped(function(string) {
19932
+ var stringToPath$1 = memoizeCapped(function(string) {
19675
19933
  var result = [];
19676
19934
  if (string.charCodeAt(0) === 46 /* . */) {
19677
19935
  result.push('');
@@ -19682,7 +19940,7 @@ var stringToPath = _memoizeCapped(function(string) {
19682
19940
  return result;
19683
19941
  });
19684
19942
 
19685
- var _stringToPath = stringToPath;
19943
+ var _stringToPath = stringToPath$1;
19686
19944
 
19687
19945
  /**
19688
19946
  * A specialized version of `_.map` for arrays without support for iteratee
@@ -19693,7 +19951,8 @@ var _stringToPath = stringToPath;
19693
19951
  * @param {Function} iteratee The function invoked per iteration.
19694
19952
  * @returns {Array} Returns the new mapped array.
19695
19953
  */
19696
- function arrayMap(array, iteratee) {
19954
+
19955
+ function arrayMap$2(array, iteratee) {
19697
19956
  var index = -1,
19698
19957
  length = array == null ? 0 : array.length,
19699
19958
  result = Array(length);
@@ -19704,13 +19963,18 @@ function arrayMap(array, iteratee) {
19704
19963
  return result;
19705
19964
  }
19706
19965
 
19707
- var _arrayMap = arrayMap;
19966
+ var _arrayMap = arrayMap$2;
19967
+
19968
+ var Symbol = _Symbol,
19969
+ arrayMap$1 = _arrayMap,
19970
+ isArray$2 = isArray_1,
19971
+ isSymbol$1 = isSymbol_1;
19708
19972
 
19709
19973
  /** Used as references for various `Number` constants. */
19710
19974
  var INFINITY$1 = 1 / 0;
19711
19975
 
19712
19976
  /** Used to convert symbols to primitives and strings. */
19713
- var symbolProto = _Symbol ? _Symbol.prototype : undefined,
19977
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
19714
19978
  symbolToString = symbolProto ? symbolProto.toString : undefined;
19715
19979
 
19716
19980
  /**
@@ -19721,23 +19985,25 @@ var symbolProto = _Symbol ? _Symbol.prototype : undefined,
19721
19985
  * @param {*} value The value to process.
19722
19986
  * @returns {string} Returns the string.
19723
19987
  */
19724
- function baseToString(value) {
19988
+ function baseToString$1(value) {
19725
19989
  // Exit early for strings to avoid a performance hit in some environments.
19726
19990
  if (typeof value == 'string') {
19727
19991
  return value;
19728
19992
  }
19729
- if (isArray_1(value)) {
19993
+ if (isArray$2(value)) {
19730
19994
  // Recursively convert values (susceptible to call stack limits).
19731
- return _arrayMap(value, baseToString) + '';
19995
+ return arrayMap$1(value, baseToString$1) + '';
19732
19996
  }
19733
- if (isSymbol_1(value)) {
19997
+ if (isSymbol$1(value)) {
19734
19998
  return symbolToString ? symbolToString.call(value) : '';
19735
19999
  }
19736
20000
  var result = (value + '');
19737
20001
  return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
19738
20002
  }
19739
20003
 
19740
- var _baseToString = baseToString;
20004
+ var _baseToString = baseToString$1;
20005
+
20006
+ var baseToString = _baseToString;
19741
20007
 
19742
20008
  /**
19743
20009
  * Converts `value` to a string. An empty string is returned for `null`
@@ -19760,11 +20026,16 @@ var _baseToString = baseToString;
19760
20026
  * _.toString([1, 2, 3]);
19761
20027
  * // => '1,2,3'
19762
20028
  */
19763
- function toString(value) {
19764
- return value == null ? '' : _baseToString(value);
20029
+ function toString$1(value) {
20030
+ return value == null ? '' : baseToString(value);
19765
20031
  }
19766
20032
 
19767
- var toString_1 = toString;
20033
+ var toString_1 = toString$1;
20034
+
20035
+ var isArray$1 = isArray_1,
20036
+ isKey = _isKey,
20037
+ stringToPath = _stringToPath,
20038
+ toString = toString_1;
19768
20039
 
19769
20040
  /**
19770
20041
  * Casts `value` to a path array if it's not one.
@@ -19774,14 +20045,16 @@ var toString_1 = toString;
19774
20045
  * @param {Object} [object] The object to query keys on.
19775
20046
  * @returns {Array} Returns the cast property path array.
19776
20047
  */
19777
- function castPath(value, object) {
19778
- if (isArray_1(value)) {
20048
+ function castPath$1(value, object) {
20049
+ if (isArray$1(value)) {
19779
20050
  return value;
19780
20051
  }
19781
- return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
20052
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
19782
20053
  }
19783
20054
 
19784
- var _castPath = castPath;
20055
+ var _castPath = castPath$1;
20056
+
20057
+ var isSymbol = isSymbol_1;
19785
20058
 
19786
20059
  /** Used as references for various `Number` constants. */
19787
20060
  var INFINITY = 1 / 0;
@@ -19793,15 +20066,18 @@ var INFINITY = 1 / 0;
19793
20066
  * @param {*} value The value to inspect.
19794
20067
  * @returns {string|symbol} Returns the key.
19795
20068
  */
19796
- function toKey(value) {
19797
- if (typeof value == 'string' || isSymbol_1(value)) {
20069
+ function toKey$1(value) {
20070
+ if (typeof value == 'string' || isSymbol(value)) {
19798
20071
  return value;
19799
20072
  }
19800
20073
  var result = (value + '');
19801
20074
  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
19802
20075
  }
19803
20076
 
19804
- var _toKey = toKey;
20077
+ var _toKey = toKey$1;
20078
+
20079
+ var castPath = _castPath,
20080
+ toKey = _toKey;
19805
20081
 
19806
20082
  /**
19807
20083
  * The base implementation of `_.get` without support for default values.
@@ -19811,19 +20087,21 @@ var _toKey = toKey;
19811
20087
  * @param {Array|string} path The path of the property to get.
19812
20088
  * @returns {*} Returns the resolved value.
19813
20089
  */
19814
- function baseGet(object, path) {
19815
- path = _castPath(path, object);
20090
+ function baseGet$1(object, path) {
20091
+ path = castPath(path, object);
19816
20092
 
19817
20093
  var index = 0,
19818
20094
  length = path.length;
19819
20095
 
19820
20096
  while (object != null && index < length) {
19821
- object = object[_toKey(path[index++])];
20097
+ object = object[toKey(path[index++])];
19822
20098
  }
19823
20099
  return (index && index == length) ? object : undefined;
19824
20100
  }
19825
20101
 
19826
- var _baseGet = baseGet;
20102
+ var _baseGet = baseGet$1;
20103
+
20104
+ var baseGet = _baseGet;
19827
20105
 
19828
20106
  /**
19829
20107
  * Gets the value at `path` of `object`. If the resolved value is
@@ -19851,7 +20129,7 @@ var _baseGet = baseGet;
19851
20129
  * // => 'default'
19852
20130
  */
19853
20131
  function get(object, path, defaultValue) {
19854
- var result = object == null ? undefined : _baseGet(object, path);
20132
+ var result = object == null ? undefined : baseGet(object, path);
19855
20133
  return result === undefined ? defaultValue : result;
19856
20134
  }
19857
20135
 
@@ -19865,7 +20143,8 @@ var get_1 = get;
19865
20143
  * @param {Array} [array=[]] The array to copy values to.
19866
20144
  * @returns {Array} Returns `array`.
19867
20145
  */
19868
- function copyArray(source, array) {
20146
+
20147
+ function copyArray$1(source, array) {
19869
20148
  var index = -1,
19870
20149
  length = source.length;
19871
20150
 
@@ -19876,9 +20155,10 @@ function copyArray(source, array) {
19876
20155
  return array;
19877
20156
  }
19878
20157
 
19879
- var _copyArray = copyArray;
20158
+ var _copyArray = copyArray$1;
19880
20159
 
19881
20160
  /* Built-in method references for those with the same name as other `lodash` methods. */
20161
+
19882
20162
  var nativeFloor = Math.floor,
19883
20163
  nativeRandom = Math.random;
19884
20164
 
@@ -19891,11 +20171,13 @@ var nativeFloor = Math.floor,
19891
20171
  * @param {number} upper The upper bound.
19892
20172
  * @returns {number} Returns the random number.
19893
20173
  */
19894
- function baseRandom(lower, upper) {
20174
+ function baseRandom$1(lower, upper) {
19895
20175
  return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
19896
20176
  }
19897
20177
 
19898
- var _baseRandom = baseRandom;
20178
+ var _baseRandom = baseRandom$1;
20179
+
20180
+ var baseRandom = _baseRandom;
19899
20181
 
19900
20182
  /**
19901
20183
  * A specialized version of `_.shuffle` which mutates and sets the size of `array`.
@@ -19905,14 +20187,14 @@ var _baseRandom = baseRandom;
19905
20187
  * @param {number} [size=array.length] The size of `array`.
19906
20188
  * @returns {Array} Returns `array`.
19907
20189
  */
19908
- function shuffleSelf(array, size) {
20190
+ function shuffleSelf$2(array, size) {
19909
20191
  var index = -1,
19910
20192
  length = array.length,
19911
20193
  lastIndex = length - 1;
19912
20194
 
19913
20195
  size = size === undefined ? length : size;
19914
20196
  while (++index < size) {
19915
- var rand = _baseRandom(index, lastIndex),
20197
+ var rand = baseRandom(index, lastIndex),
19916
20198
  value = array[rand];
19917
20199
 
19918
20200
  array[rand] = array[index];
@@ -19922,7 +20204,10 @@ function shuffleSelf(array, size) {
19922
20204
  return array;
19923
20205
  }
19924
20206
 
19925
- var _shuffleSelf = shuffleSelf;
20207
+ var _shuffleSelf = shuffleSelf$2;
20208
+
20209
+ var copyArray = _copyArray,
20210
+ shuffleSelf$1 = _shuffleSelf;
19926
20211
 
19927
20212
  /**
19928
20213
  * A specialized version of `_.shuffle` for arrays.
@@ -19931,11 +20216,13 @@ var _shuffleSelf = shuffleSelf;
19931
20216
  * @param {Array} array The array to shuffle.
19932
20217
  * @returns {Array} Returns the new shuffled array.
19933
20218
  */
19934
- function arrayShuffle(array) {
19935
- return _shuffleSelf(_copyArray(array));
20219
+ function arrayShuffle$1(array) {
20220
+ return shuffleSelf$1(copyArray(array));
19936
20221
  }
19937
20222
 
19938
- var _arrayShuffle = arrayShuffle;
20223
+ var _arrayShuffle = arrayShuffle$1;
20224
+
20225
+ var arrayMap = _arrayMap;
19939
20226
 
19940
20227
  /**
19941
20228
  * The base implementation of `_.values` and `_.valuesIn` which creates an
@@ -19947,13 +20234,16 @@ var _arrayShuffle = arrayShuffle;
19947
20234
  * @param {Array} props The property names to get values for.
19948
20235
  * @returns {Object} Returns the array of property values.
19949
20236
  */
19950
- function baseValues(object, props) {
19951
- return _arrayMap(props, function(key) {
20237
+ function baseValues$1(object, props) {
20238
+ return arrayMap(props, function(key) {
19952
20239
  return object[key];
19953
20240
  });
19954
20241
  }
19955
20242
 
19956
- var _baseValues = baseValues;
20243
+ var _baseValues = baseValues$1;
20244
+
20245
+ var baseValues = _baseValues,
20246
+ keys = keys_1;
19957
20247
 
19958
20248
  /**
19959
20249
  * Creates an array of the own enumerable string keyed property values of `object`.
@@ -19981,11 +20271,14 @@ var _baseValues = baseValues;
19981
20271
  * _.values('hi');
19982
20272
  * // => ['h', 'i']
19983
20273
  */
19984
- function values(object) {
19985
- return object == null ? [] : _baseValues(object, keys_1(object));
20274
+ function values$1(object) {
20275
+ return object == null ? [] : baseValues(object, keys(object));
19986
20276
  }
19987
20277
 
19988
- var values_1 = values;
20278
+ var values_1 = values$1;
20279
+
20280
+ var shuffleSelf = _shuffleSelf,
20281
+ values = values_1;
19989
20282
 
19990
20283
  /**
19991
20284
  * The base implementation of `_.shuffle`.
@@ -19994,11 +20287,15 @@ var values_1 = values;
19994
20287
  * @param {Array|Object} collection The collection to shuffle.
19995
20288
  * @returns {Array} Returns the new shuffled array.
19996
20289
  */
19997
- function baseShuffle(collection) {
19998
- return _shuffleSelf(values_1(collection));
20290
+ function baseShuffle$1(collection) {
20291
+ return shuffleSelf(values(collection));
19999
20292
  }
20000
20293
 
20001
- var _baseShuffle = baseShuffle;
20294
+ var _baseShuffle = baseShuffle$1;
20295
+
20296
+ var arrayShuffle = _arrayShuffle,
20297
+ baseShuffle = _baseShuffle,
20298
+ isArray = isArray_1;
20002
20299
 
20003
20300
  /**
20004
20301
  * Creates an array of shuffled values, using a version of the
@@ -20016,7 +20313,7 @@ var _baseShuffle = baseShuffle;
20016
20313
  * // => [4, 1, 3, 2]
20017
20314
  */
20018
20315
  function shuffle(collection) {
20019
- var func = isArray_1(collection) ? _arrayShuffle : _baseShuffle;
20316
+ var func = isArray(collection) ? arrayShuffle : baseShuffle;
20020
20317
  return func(collection);
20021
20318
  }
20022
20319
 
@@ -20039,6 +20336,7 @@ var shuffle_1 = shuffle;
20039
20336
  * _.isNull(void 0);
20040
20337
  * // => false
20041
20338
  */
20339
+
20042
20340
  function isNull(value) {
20043
20341
  return value === null;
20044
20342
  }
@@ -20062,6 +20360,7 @@ var isNull_1 = isNull;
20062
20360
  * _.isUndefined(null);
20063
20361
  * // => false
20064
20362
  */
20363
+
20065
20364
  function isUndefined(value) {
20066
20365
  return value === undefined;
20067
20366
  }
@@ -20177,7 +20476,7 @@ const prepareChoice = (model, env, defaultFeedback) => choice => {
20177
20476
  value: choice.value,
20178
20477
  };
20179
20478
 
20180
- if(model.accessibilityLabelsEnabled){
20479
+ if (model.accessibilityLabelsEnabled) {
20181
20480
  out.accessibility = parseHTML(choice.accessibility).textContent || choice.value;
20182
20481
  }
20183
20482
 
@@ -20208,7 +20507,17 @@ function createDefaultModel(model = {}) {
20208
20507
  return new Promise(resolve => resolve({ ...defaults, ...model }));
20209
20508
  }
20210
20509
 
20211
- const normalize = question => ({ ...defaults, ...question });
20510
+ const normalize = question => {
20511
+ const { verticalMode, choicesLayout, ...questionProps } = question || {};
20512
+
20513
+ return {
20514
+ ...defaults,
20515
+ ...questionProps,
20516
+ // This is used for offering support for old models which have the property verticalMode
20517
+ // Same thing is set in authoring : packages/multiple-choice/configure/src/index.jsx - createDefaultModel
20518
+ choicesLayout: choicesLayout || (verticalMode === false && 'horizontal') || defaults.choicesLayout
20519
+ };
20520
+ };
20212
20521
 
20213
20522
  /**
20214
20523
  *
@@ -20219,6 +20528,7 @@ const normalize = question => ({ ...defaults, ...question });
20219
20528
  */
20220
20529
  async function model(question, session, env, updateSession) {
20221
20530
  const normalizedQuestion = normalize(question);
20531
+
20222
20532
  const defaultFeedback = Object.assign(
20223
20533
  { correct: 'Correct', incorrect: 'Incorrect' },
20224
20534
  normalizedQuestion.defaultFeedback
@@ -20239,18 +20549,11 @@ async function model(question, session, env, updateSession) {
20239
20549
  );
20240
20550
  }
20241
20551
 
20242
- // This is used for offering support for old models which have the property verticalMode
20243
- // Same thing is set in authoring : packages/multiple-choice/configure/src/main.jsx - componentDidMount
20244
- let layout = '';
20245
- if(normalizedQuestion.verticalMode !== undefined) {
20246
- layout = normalizedQuestion.verticalMode === false ? 'horizontal': 'vertical';
20247
- }
20248
-
20249
20552
  const out = {
20250
20553
  disabled: env.mode !== 'gather',
20251
20554
  mode: env.mode,
20252
20555
  prompt: normalizedQuestion.promptEnabled ? normalizedQuestion.prompt : null,
20253
- choicesLayout: normalizedQuestion.choicesLayout || layout,
20556
+ choicesLayout: normalizedQuestion.choicesLayout,
20254
20557
  gridColumns: normalizedQuestion.gridColumns,
20255
20558
  choiceMode: normalizedQuestion.choiceMode,
20256
20559
  keyMode: normalizedQuestion.choicePrefix,