@pnkx-lib/ui 1.9.83 → 1.9.85

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,1255 +0,0 @@
1
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
-
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
- /**
8
- * Checks if `value` is classified as an `Array` object.
9
- *
10
- * @static
11
- * @memberOf _
12
- * @since 0.1.0
13
- * @category Lang
14
- * @param {*} value The value to check.
15
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
16
- * @example
17
- *
18
- * _.isArray([1, 2, 3]);
19
- * // => true
20
- *
21
- * _.isArray(document.body.children);
22
- * // => false
23
- *
24
- * _.isArray('abc');
25
- * // => false
26
- *
27
- * _.isArray(_.noop);
28
- * // => false
29
- */
30
-
31
- var isArray_1;
32
- var hasRequiredIsArray;
33
-
34
- function requireIsArray () {
35
- if (hasRequiredIsArray) return isArray_1;
36
- hasRequiredIsArray = 1;
37
- var isArray = Array.isArray;
38
-
39
- isArray_1 = isArray;
40
- return isArray_1;
41
- }
42
-
43
- /** Detect free variable `global` from Node.js. */
44
-
45
- var _freeGlobal;
46
- var hasRequired_freeGlobal;
47
-
48
- function require_freeGlobal () {
49
- if (hasRequired_freeGlobal) return _freeGlobal;
50
- hasRequired_freeGlobal = 1;
51
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
52
-
53
- _freeGlobal = freeGlobal;
54
- return _freeGlobal;
55
- }
56
-
57
- var _root;
58
- var hasRequired_root;
59
-
60
- function require_root () {
61
- if (hasRequired_root) return _root;
62
- hasRequired_root = 1;
63
- var freeGlobal = require_freeGlobal();
64
-
65
- /** Detect free variable `self`. */
66
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
67
-
68
- /** Used as a reference to the global object. */
69
- var root = freeGlobal || freeSelf || Function('return this')();
70
-
71
- _root = root;
72
- return _root;
73
- }
74
-
75
- var _Symbol;
76
- var hasRequired_Symbol;
77
-
78
- function require_Symbol () {
79
- if (hasRequired_Symbol) return _Symbol;
80
- hasRequired_Symbol = 1;
81
- var root = require_root();
82
-
83
- /** Built-in value references. */
84
- var Symbol = root.Symbol;
85
-
86
- _Symbol = Symbol;
87
- return _Symbol;
88
- }
89
-
90
- var _getRawTag;
91
- var hasRequired_getRawTag;
92
-
93
- function require_getRawTag () {
94
- if (hasRequired_getRawTag) return _getRawTag;
95
- hasRequired_getRawTag = 1;
96
- var Symbol = require_Symbol();
97
-
98
- /** Used for built-in method references. */
99
- var objectProto = Object.prototype;
100
-
101
- /** Used to check objects for own properties. */
102
- var hasOwnProperty = objectProto.hasOwnProperty;
103
-
104
- /**
105
- * Used to resolve the
106
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
107
- * of values.
108
- */
109
- var nativeObjectToString = objectProto.toString;
110
-
111
- /** Built-in value references. */
112
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
113
-
114
- /**
115
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
116
- *
117
- * @private
118
- * @param {*} value The value to query.
119
- * @returns {string} Returns the raw `toStringTag`.
120
- */
121
- function getRawTag(value) {
122
- var isOwn = hasOwnProperty.call(value, symToStringTag),
123
- tag = value[symToStringTag];
124
-
125
- try {
126
- value[symToStringTag] = undefined;
127
- var unmasked = true;
128
- } catch (e) {}
129
-
130
- var result = nativeObjectToString.call(value);
131
- if (unmasked) {
132
- if (isOwn) {
133
- value[symToStringTag] = tag;
134
- } else {
135
- delete value[symToStringTag];
136
- }
137
- }
138
- return result;
139
- }
140
-
141
- _getRawTag = getRawTag;
142
- return _getRawTag;
143
- }
144
-
145
- /** Used for built-in method references. */
146
-
147
- var _objectToString;
148
- var hasRequired_objectToString;
149
-
150
- function require_objectToString () {
151
- if (hasRequired_objectToString) return _objectToString;
152
- hasRequired_objectToString = 1;
153
- var objectProto = Object.prototype;
154
-
155
- /**
156
- * Used to resolve the
157
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
158
- * of values.
159
- */
160
- var nativeObjectToString = objectProto.toString;
161
-
162
- /**
163
- * Converts `value` to a string using `Object.prototype.toString`.
164
- *
165
- * @private
166
- * @param {*} value The value to convert.
167
- * @returns {string} Returns the converted string.
168
- */
169
- function objectToString(value) {
170
- return nativeObjectToString.call(value);
171
- }
172
-
173
- _objectToString = objectToString;
174
- return _objectToString;
175
- }
176
-
177
- var _baseGetTag;
178
- var hasRequired_baseGetTag;
179
-
180
- function require_baseGetTag () {
181
- if (hasRequired_baseGetTag) return _baseGetTag;
182
- hasRequired_baseGetTag = 1;
183
- var Symbol = require_Symbol(),
184
- getRawTag = require_getRawTag(),
185
- objectToString = require_objectToString();
186
-
187
- /** `Object#toString` result references. */
188
- var nullTag = '[object Null]',
189
- undefinedTag = '[object Undefined]';
190
-
191
- /** Built-in value references. */
192
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
193
-
194
- /**
195
- * The base implementation of `getTag` without fallbacks for buggy environments.
196
- *
197
- * @private
198
- * @param {*} value The value to query.
199
- * @returns {string} Returns the `toStringTag`.
200
- */
201
- function baseGetTag(value) {
202
- if (value == null) {
203
- return value === undefined ? undefinedTag : nullTag;
204
- }
205
- return (symToStringTag && symToStringTag in Object(value))
206
- ? getRawTag(value)
207
- : objectToString(value);
208
- }
209
-
210
- _baseGetTag = baseGetTag;
211
- return _baseGetTag;
212
- }
213
-
214
- /**
215
- * Checks if `value` is object-like. A value is object-like if it's not `null`
216
- * and has a `typeof` result of "object".
217
- *
218
- * @static
219
- * @memberOf _
220
- * @since 4.0.0
221
- * @category Lang
222
- * @param {*} value The value to check.
223
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
224
- * @example
225
- *
226
- * _.isObjectLike({});
227
- * // => true
228
- *
229
- * _.isObjectLike([1, 2, 3]);
230
- * // => true
231
- *
232
- * _.isObjectLike(_.noop);
233
- * // => false
234
- *
235
- * _.isObjectLike(null);
236
- * // => false
237
- */
238
-
239
- var isObjectLike_1;
240
- var hasRequiredIsObjectLike;
241
-
242
- function requireIsObjectLike () {
243
- if (hasRequiredIsObjectLike) return isObjectLike_1;
244
- hasRequiredIsObjectLike = 1;
245
- function isObjectLike(value) {
246
- return value != null && typeof value == 'object';
247
- }
248
-
249
- isObjectLike_1 = isObjectLike;
250
- return isObjectLike_1;
251
- }
252
-
253
- /**
254
- * Checks if `value` is the
255
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
256
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
257
- *
258
- * @static
259
- * @memberOf _
260
- * @since 0.1.0
261
- * @category Lang
262
- * @param {*} value The value to check.
263
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
264
- * @example
265
- *
266
- * _.isObject({});
267
- * // => true
268
- *
269
- * _.isObject([1, 2, 3]);
270
- * // => true
271
- *
272
- * _.isObject(_.noop);
273
- * // => true
274
- *
275
- * _.isObject(null);
276
- * // => false
277
- */
278
-
279
- var isObject_1;
280
- var hasRequiredIsObject;
281
-
282
- function requireIsObject () {
283
- if (hasRequiredIsObject) return isObject_1;
284
- hasRequiredIsObject = 1;
285
- function isObject(value) {
286
- var type = typeof value;
287
- return value != null && (type == 'object' || type == 'function');
288
- }
289
-
290
- isObject_1 = isObject;
291
- return isObject_1;
292
- }
293
-
294
- var isFunction_1;
295
- var hasRequiredIsFunction;
296
-
297
- function requireIsFunction () {
298
- if (hasRequiredIsFunction) return isFunction_1;
299
- hasRequiredIsFunction = 1;
300
- var baseGetTag = require_baseGetTag(),
301
- isObject = requireIsObject();
302
-
303
- /** `Object#toString` result references. */
304
- var asyncTag = '[object AsyncFunction]',
305
- funcTag = '[object Function]',
306
- genTag = '[object GeneratorFunction]',
307
- proxyTag = '[object Proxy]';
308
-
309
- /**
310
- * Checks if `value` is classified as a `Function` object.
311
- *
312
- * @static
313
- * @memberOf _
314
- * @since 0.1.0
315
- * @category Lang
316
- * @param {*} value The value to check.
317
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
318
- * @example
319
- *
320
- * _.isFunction(_);
321
- * // => true
322
- *
323
- * _.isFunction(/abc/);
324
- * // => false
325
- */
326
- function isFunction(value) {
327
- if (!isObject(value)) {
328
- return false;
329
- }
330
- // The use of `Object#toString` avoids issues with the `typeof` operator
331
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
332
- var tag = baseGetTag(value);
333
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
334
- }
335
-
336
- isFunction_1 = isFunction;
337
- return isFunction_1;
338
- }
339
-
340
- var _coreJsData;
341
- var hasRequired_coreJsData;
342
-
343
- function require_coreJsData () {
344
- if (hasRequired_coreJsData) return _coreJsData;
345
- hasRequired_coreJsData = 1;
346
- var root = require_root();
347
-
348
- /** Used to detect overreaching core-js shims. */
349
- var coreJsData = root['__core-js_shared__'];
350
-
351
- _coreJsData = coreJsData;
352
- return _coreJsData;
353
- }
354
-
355
- var _isMasked;
356
- var hasRequired_isMasked;
357
-
358
- function require_isMasked () {
359
- if (hasRequired_isMasked) return _isMasked;
360
- hasRequired_isMasked = 1;
361
- var coreJsData = require_coreJsData();
362
-
363
- /** Used to detect methods masquerading as native. */
364
- var maskSrcKey = (function() {
365
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
366
- return uid ? ('Symbol(src)_1.' + uid) : '';
367
- }());
368
-
369
- /**
370
- * Checks if `func` has its source masked.
371
- *
372
- * @private
373
- * @param {Function} func The function to check.
374
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
375
- */
376
- function isMasked(func) {
377
- return !!maskSrcKey && (maskSrcKey in func);
378
- }
379
-
380
- _isMasked = isMasked;
381
- return _isMasked;
382
- }
383
-
384
- /** Used for built-in method references. */
385
-
386
- var _toSource;
387
- var hasRequired_toSource;
388
-
389
- function require_toSource () {
390
- if (hasRequired_toSource) return _toSource;
391
- hasRequired_toSource = 1;
392
- var funcProto = Function.prototype;
393
-
394
- /** Used to resolve the decompiled source of functions. */
395
- var funcToString = funcProto.toString;
396
-
397
- /**
398
- * Converts `func` to its source code.
399
- *
400
- * @private
401
- * @param {Function} func The function to convert.
402
- * @returns {string} Returns the source code.
403
- */
404
- function toSource(func) {
405
- if (func != null) {
406
- try {
407
- return funcToString.call(func);
408
- } catch (e) {}
409
- try {
410
- return (func + '');
411
- } catch (e) {}
412
- }
413
- return '';
414
- }
415
-
416
- _toSource = toSource;
417
- return _toSource;
418
- }
419
-
420
- var _baseIsNative;
421
- var hasRequired_baseIsNative;
422
-
423
- function require_baseIsNative () {
424
- if (hasRequired_baseIsNative) return _baseIsNative;
425
- hasRequired_baseIsNative = 1;
426
- var isFunction = requireIsFunction(),
427
- isMasked = require_isMasked(),
428
- isObject = requireIsObject(),
429
- toSource = require_toSource();
430
-
431
- /**
432
- * Used to match `RegExp`
433
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
434
- */
435
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
436
-
437
- /** Used to detect host constructors (Safari). */
438
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
439
-
440
- /** Used for built-in method references. */
441
- var funcProto = Function.prototype,
442
- objectProto = Object.prototype;
443
-
444
- /** Used to resolve the decompiled source of functions. */
445
- var funcToString = funcProto.toString;
446
-
447
- /** Used to check objects for own properties. */
448
- var hasOwnProperty = objectProto.hasOwnProperty;
449
-
450
- /** Used to detect if a method is native. */
451
- var reIsNative = RegExp('^' +
452
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
453
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
454
- );
455
-
456
- /**
457
- * The base implementation of `_.isNative` without bad shim checks.
458
- *
459
- * @private
460
- * @param {*} value The value to check.
461
- * @returns {boolean} Returns `true` if `value` is a native function,
462
- * else `false`.
463
- */
464
- function baseIsNative(value) {
465
- if (!isObject(value) || isMasked(value)) {
466
- return false;
467
- }
468
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
469
- return pattern.test(toSource(value));
470
- }
471
-
472
- _baseIsNative = baseIsNative;
473
- return _baseIsNative;
474
- }
475
-
476
- /**
477
- * Gets the value at `key` of `object`.
478
- *
479
- * @private
480
- * @param {Object} [object] The object to query.
481
- * @param {string} key The key of the property to get.
482
- * @returns {*} Returns the property value.
483
- */
484
-
485
- var _getValue;
486
- var hasRequired_getValue;
487
-
488
- function require_getValue () {
489
- if (hasRequired_getValue) return _getValue;
490
- hasRequired_getValue = 1;
491
- function getValue(object, key) {
492
- return object == null ? undefined : object[key];
493
- }
494
-
495
- _getValue = getValue;
496
- return _getValue;
497
- }
498
-
499
- var _getNative;
500
- var hasRequired_getNative;
501
-
502
- function require_getNative () {
503
- if (hasRequired_getNative) return _getNative;
504
- hasRequired_getNative = 1;
505
- var baseIsNative = require_baseIsNative(),
506
- getValue = require_getValue();
507
-
508
- /**
509
- * Gets the native function at `key` of `object`.
510
- *
511
- * @private
512
- * @param {Object} object The object to query.
513
- * @param {string} key The key of the method to get.
514
- * @returns {*} Returns the function if it's native, else `undefined`.
515
- */
516
- function getNative(object, key) {
517
- var value = getValue(object, key);
518
- return baseIsNative(value) ? value : undefined;
519
- }
520
-
521
- _getNative = getNative;
522
- return _getNative;
523
- }
524
-
525
- var _nativeCreate;
526
- var hasRequired_nativeCreate;
527
-
528
- function require_nativeCreate () {
529
- if (hasRequired_nativeCreate) return _nativeCreate;
530
- hasRequired_nativeCreate = 1;
531
- var getNative = require_getNative();
532
-
533
- /* Built-in method references that are verified to be native. */
534
- var nativeCreate = getNative(Object, 'create');
535
-
536
- _nativeCreate = nativeCreate;
537
- return _nativeCreate;
538
- }
539
-
540
- var _hashClear;
541
- var hasRequired_hashClear;
542
-
543
- function require_hashClear () {
544
- if (hasRequired_hashClear) return _hashClear;
545
- hasRequired_hashClear = 1;
546
- var nativeCreate = require_nativeCreate();
547
-
548
- /**
549
- * Removes all key-value entries from the hash.
550
- *
551
- * @private
552
- * @name clear
553
- * @memberOf Hash
554
- */
555
- function hashClear() {
556
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
557
- this.size = 0;
558
- }
559
-
560
- _hashClear = hashClear;
561
- return _hashClear;
562
- }
563
-
564
- /**
565
- * Removes `key` and its value from the hash.
566
- *
567
- * @private
568
- * @name delete
569
- * @memberOf Hash
570
- * @param {Object} hash The hash to modify.
571
- * @param {string} key The key of the value to remove.
572
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
573
- */
574
-
575
- var _hashDelete;
576
- var hasRequired_hashDelete;
577
-
578
- function require_hashDelete () {
579
- if (hasRequired_hashDelete) return _hashDelete;
580
- hasRequired_hashDelete = 1;
581
- function hashDelete(key) {
582
- var result = this.has(key) && delete this.__data__[key];
583
- this.size -= result ? 1 : 0;
584
- return result;
585
- }
586
-
587
- _hashDelete = hashDelete;
588
- return _hashDelete;
589
- }
590
-
591
- var _hashGet;
592
- var hasRequired_hashGet;
593
-
594
- function require_hashGet () {
595
- if (hasRequired_hashGet) return _hashGet;
596
- hasRequired_hashGet = 1;
597
- var nativeCreate = require_nativeCreate();
598
-
599
- /** Used to stand-in for `undefined` hash values. */
600
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
601
-
602
- /** Used for built-in method references. */
603
- var objectProto = Object.prototype;
604
-
605
- /** Used to check objects for own properties. */
606
- var hasOwnProperty = objectProto.hasOwnProperty;
607
-
608
- /**
609
- * Gets the hash value for `key`.
610
- *
611
- * @private
612
- * @name get
613
- * @memberOf Hash
614
- * @param {string} key The key of the value to get.
615
- * @returns {*} Returns the entry value.
616
- */
617
- function hashGet(key) {
618
- var data = this.__data__;
619
- if (nativeCreate) {
620
- var result = data[key];
621
- return result === HASH_UNDEFINED ? undefined : result;
622
- }
623
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
624
- }
625
-
626
- _hashGet = hashGet;
627
- return _hashGet;
628
- }
629
-
630
- var _hashHas;
631
- var hasRequired_hashHas;
632
-
633
- function require_hashHas () {
634
- if (hasRequired_hashHas) return _hashHas;
635
- hasRequired_hashHas = 1;
636
- var nativeCreate = require_nativeCreate();
637
-
638
- /** Used for built-in method references. */
639
- var objectProto = Object.prototype;
640
-
641
- /** Used to check objects for own properties. */
642
- var hasOwnProperty = objectProto.hasOwnProperty;
643
-
644
- /**
645
- * Checks if a hash value for `key` exists.
646
- *
647
- * @private
648
- * @name has
649
- * @memberOf Hash
650
- * @param {string} key The key of the entry to check.
651
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
652
- */
653
- function hashHas(key) {
654
- var data = this.__data__;
655
- return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
656
- }
657
-
658
- _hashHas = hashHas;
659
- return _hashHas;
660
- }
661
-
662
- var _hashSet;
663
- var hasRequired_hashSet;
664
-
665
- function require_hashSet () {
666
- if (hasRequired_hashSet) return _hashSet;
667
- hasRequired_hashSet = 1;
668
- var nativeCreate = require_nativeCreate();
669
-
670
- /** Used to stand-in for `undefined` hash values. */
671
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
672
-
673
- /**
674
- * Sets the hash `key` to `value`.
675
- *
676
- * @private
677
- * @name set
678
- * @memberOf Hash
679
- * @param {string} key The key of the value to set.
680
- * @param {*} value The value to set.
681
- * @returns {Object} Returns the hash instance.
682
- */
683
- function hashSet(key, value) {
684
- var data = this.__data__;
685
- this.size += this.has(key) ? 0 : 1;
686
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
687
- return this;
688
- }
689
-
690
- _hashSet = hashSet;
691
- return _hashSet;
692
- }
693
-
694
- var _Hash;
695
- var hasRequired_Hash;
696
-
697
- function require_Hash () {
698
- if (hasRequired_Hash) return _Hash;
699
- hasRequired_Hash = 1;
700
- var hashClear = require_hashClear(),
701
- hashDelete = require_hashDelete(),
702
- hashGet = require_hashGet(),
703
- hashHas = require_hashHas(),
704
- hashSet = require_hashSet();
705
-
706
- /**
707
- * Creates a hash object.
708
- *
709
- * @private
710
- * @constructor
711
- * @param {Array} [entries] The key-value pairs to cache.
712
- */
713
- function Hash(entries) {
714
- var index = -1,
715
- length = entries == null ? 0 : entries.length;
716
-
717
- this.clear();
718
- while (++index < length) {
719
- var entry = entries[index];
720
- this.set(entry[0], entry[1]);
721
- }
722
- }
723
-
724
- // Add methods to `Hash`.
725
- Hash.prototype.clear = hashClear;
726
- Hash.prototype['delete'] = hashDelete;
727
- Hash.prototype.get = hashGet;
728
- Hash.prototype.has = hashHas;
729
- Hash.prototype.set = hashSet;
730
-
731
- _Hash = Hash;
732
- return _Hash;
733
- }
734
-
735
- /**
736
- * Removes all key-value entries from the list cache.
737
- *
738
- * @private
739
- * @name clear
740
- * @memberOf ListCache
741
- */
742
-
743
- var _listCacheClear;
744
- var hasRequired_listCacheClear;
745
-
746
- function require_listCacheClear () {
747
- if (hasRequired_listCacheClear) return _listCacheClear;
748
- hasRequired_listCacheClear = 1;
749
- function listCacheClear() {
750
- this.__data__ = [];
751
- this.size = 0;
752
- }
753
-
754
- _listCacheClear = listCacheClear;
755
- return _listCacheClear;
756
- }
757
-
758
- /**
759
- * Performs a
760
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
761
- * comparison between two values to determine if they are equivalent.
762
- *
763
- * @static
764
- * @memberOf _
765
- * @since 4.0.0
766
- * @category Lang
767
- * @param {*} value The value to compare.
768
- * @param {*} other The other value to compare.
769
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
770
- * @example
771
- *
772
- * var object = { 'a': 1 };
773
- * var other = { 'a': 1 };
774
- *
775
- * _.eq(object, object);
776
- * // => true
777
- *
778
- * _.eq(object, other);
779
- * // => false
780
- *
781
- * _.eq('a', 'a');
782
- * // => true
783
- *
784
- * _.eq('a', Object('a'));
785
- * // => false
786
- *
787
- * _.eq(NaN, NaN);
788
- * // => true
789
- */
790
-
791
- var eq_1;
792
- var hasRequiredEq;
793
-
794
- function requireEq () {
795
- if (hasRequiredEq) return eq_1;
796
- hasRequiredEq = 1;
797
- function eq(value, other) {
798
- return value === other || (value !== value && other !== other);
799
- }
800
-
801
- eq_1 = eq;
802
- return eq_1;
803
- }
804
-
805
- var _assocIndexOf;
806
- var hasRequired_assocIndexOf;
807
-
808
- function require_assocIndexOf () {
809
- if (hasRequired_assocIndexOf) return _assocIndexOf;
810
- hasRequired_assocIndexOf = 1;
811
- var eq = requireEq();
812
-
813
- /**
814
- * Gets the index at which the `key` is found in `array` of key-value pairs.
815
- *
816
- * @private
817
- * @param {Array} array The array to inspect.
818
- * @param {*} key The key to search for.
819
- * @returns {number} Returns the index of the matched value, else `-1`.
820
- */
821
- function assocIndexOf(array, key) {
822
- var length = array.length;
823
- while (length--) {
824
- if (eq(array[length][0], key)) {
825
- return length;
826
- }
827
- }
828
- return -1;
829
- }
830
-
831
- _assocIndexOf = assocIndexOf;
832
- return _assocIndexOf;
833
- }
834
-
835
- var _listCacheDelete;
836
- var hasRequired_listCacheDelete;
837
-
838
- function require_listCacheDelete () {
839
- if (hasRequired_listCacheDelete) return _listCacheDelete;
840
- hasRequired_listCacheDelete = 1;
841
- var assocIndexOf = require_assocIndexOf();
842
-
843
- /** Used for built-in method references. */
844
- var arrayProto = Array.prototype;
845
-
846
- /** Built-in value references. */
847
- var splice = arrayProto.splice;
848
-
849
- /**
850
- * Removes `key` and its value from the list cache.
851
- *
852
- * @private
853
- * @name delete
854
- * @memberOf ListCache
855
- * @param {string} key The key of the value to remove.
856
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
857
- */
858
- function listCacheDelete(key) {
859
- var data = this.__data__,
860
- index = assocIndexOf(data, key);
861
-
862
- if (index < 0) {
863
- return false;
864
- }
865
- var lastIndex = data.length - 1;
866
- if (index == lastIndex) {
867
- data.pop();
868
- } else {
869
- splice.call(data, index, 1);
870
- }
871
- --this.size;
872
- return true;
873
- }
874
-
875
- _listCacheDelete = listCacheDelete;
876
- return _listCacheDelete;
877
- }
878
-
879
- var _listCacheGet;
880
- var hasRequired_listCacheGet;
881
-
882
- function require_listCacheGet () {
883
- if (hasRequired_listCacheGet) return _listCacheGet;
884
- hasRequired_listCacheGet = 1;
885
- var assocIndexOf = require_assocIndexOf();
886
-
887
- /**
888
- * Gets the list cache value for `key`.
889
- *
890
- * @private
891
- * @name get
892
- * @memberOf ListCache
893
- * @param {string} key The key of the value to get.
894
- * @returns {*} Returns the entry value.
895
- */
896
- function listCacheGet(key) {
897
- var data = this.__data__,
898
- index = assocIndexOf(data, key);
899
-
900
- return index < 0 ? undefined : data[index][1];
901
- }
902
-
903
- _listCacheGet = listCacheGet;
904
- return _listCacheGet;
905
- }
906
-
907
- var _listCacheHas;
908
- var hasRequired_listCacheHas;
909
-
910
- function require_listCacheHas () {
911
- if (hasRequired_listCacheHas) return _listCacheHas;
912
- hasRequired_listCacheHas = 1;
913
- var assocIndexOf = require_assocIndexOf();
914
-
915
- /**
916
- * Checks if a list cache value for `key` exists.
917
- *
918
- * @private
919
- * @name has
920
- * @memberOf ListCache
921
- * @param {string} key The key of the entry to check.
922
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
923
- */
924
- function listCacheHas(key) {
925
- return assocIndexOf(this.__data__, key) > -1;
926
- }
927
-
928
- _listCacheHas = listCacheHas;
929
- return _listCacheHas;
930
- }
931
-
932
- var _listCacheSet;
933
- var hasRequired_listCacheSet;
934
-
935
- function require_listCacheSet () {
936
- if (hasRequired_listCacheSet) return _listCacheSet;
937
- hasRequired_listCacheSet = 1;
938
- var assocIndexOf = require_assocIndexOf();
939
-
940
- /**
941
- * Sets the list cache `key` to `value`.
942
- *
943
- * @private
944
- * @name set
945
- * @memberOf ListCache
946
- * @param {string} key The key of the value to set.
947
- * @param {*} value The value to set.
948
- * @returns {Object} Returns the list cache instance.
949
- */
950
- function listCacheSet(key, value) {
951
- var data = this.__data__,
952
- index = assocIndexOf(data, key);
953
-
954
- if (index < 0) {
955
- ++this.size;
956
- data.push([key, value]);
957
- } else {
958
- data[index][1] = value;
959
- }
960
- return this;
961
- }
962
-
963
- _listCacheSet = listCacheSet;
964
- return _listCacheSet;
965
- }
966
-
967
- var _ListCache;
968
- var hasRequired_ListCache;
969
-
970
- function require_ListCache () {
971
- if (hasRequired_ListCache) return _ListCache;
972
- hasRequired_ListCache = 1;
973
- var listCacheClear = require_listCacheClear(),
974
- listCacheDelete = require_listCacheDelete(),
975
- listCacheGet = require_listCacheGet(),
976
- listCacheHas = require_listCacheHas(),
977
- listCacheSet = require_listCacheSet();
978
-
979
- /**
980
- * Creates an list cache object.
981
- *
982
- * @private
983
- * @constructor
984
- * @param {Array} [entries] The key-value pairs to cache.
985
- */
986
- function ListCache(entries) {
987
- var index = -1,
988
- length = entries == null ? 0 : entries.length;
989
-
990
- this.clear();
991
- while (++index < length) {
992
- var entry = entries[index];
993
- this.set(entry[0], entry[1]);
994
- }
995
- }
996
-
997
- // Add methods to `ListCache`.
998
- ListCache.prototype.clear = listCacheClear;
999
- ListCache.prototype['delete'] = listCacheDelete;
1000
- ListCache.prototype.get = listCacheGet;
1001
- ListCache.prototype.has = listCacheHas;
1002
- ListCache.prototype.set = listCacheSet;
1003
-
1004
- _ListCache = ListCache;
1005
- return _ListCache;
1006
- }
1007
-
1008
- var _Map;
1009
- var hasRequired_Map;
1010
-
1011
- function require_Map () {
1012
- if (hasRequired_Map) return _Map;
1013
- hasRequired_Map = 1;
1014
- var getNative = require_getNative(),
1015
- root = require_root();
1016
-
1017
- /* Built-in method references that are verified to be native. */
1018
- var Map = getNative(root, 'Map');
1019
-
1020
- _Map = Map;
1021
- return _Map;
1022
- }
1023
-
1024
- var _mapCacheClear;
1025
- var hasRequired_mapCacheClear;
1026
-
1027
- function require_mapCacheClear () {
1028
- if (hasRequired_mapCacheClear) return _mapCacheClear;
1029
- hasRequired_mapCacheClear = 1;
1030
- var Hash = require_Hash(),
1031
- ListCache = require_ListCache(),
1032
- Map = require_Map();
1033
-
1034
- /**
1035
- * Removes all key-value entries from the map.
1036
- *
1037
- * @private
1038
- * @name clear
1039
- * @memberOf MapCache
1040
- */
1041
- function mapCacheClear() {
1042
- this.size = 0;
1043
- this.__data__ = {
1044
- 'hash': new Hash,
1045
- 'map': new (Map || ListCache),
1046
- 'string': new Hash
1047
- };
1048
- }
1049
-
1050
- _mapCacheClear = mapCacheClear;
1051
- return _mapCacheClear;
1052
- }
1053
-
1054
- /**
1055
- * Checks if `value` is suitable for use as unique object key.
1056
- *
1057
- * @private
1058
- * @param {*} value The value to check.
1059
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1060
- */
1061
-
1062
- var _isKeyable;
1063
- var hasRequired_isKeyable;
1064
-
1065
- function require_isKeyable () {
1066
- if (hasRequired_isKeyable) return _isKeyable;
1067
- hasRequired_isKeyable = 1;
1068
- function isKeyable(value) {
1069
- var type = typeof value;
1070
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1071
- ? (value !== '__proto__')
1072
- : (value === null);
1073
- }
1074
-
1075
- _isKeyable = isKeyable;
1076
- return _isKeyable;
1077
- }
1078
-
1079
- var _getMapData;
1080
- var hasRequired_getMapData;
1081
-
1082
- function require_getMapData () {
1083
- if (hasRequired_getMapData) return _getMapData;
1084
- hasRequired_getMapData = 1;
1085
- var isKeyable = require_isKeyable();
1086
-
1087
- /**
1088
- * Gets the data for `map`.
1089
- *
1090
- * @private
1091
- * @param {Object} map The map to query.
1092
- * @param {string} key The reference key.
1093
- * @returns {*} Returns the map data.
1094
- */
1095
- function getMapData(map, key) {
1096
- var data = map.__data__;
1097
- return isKeyable(key)
1098
- ? data[typeof key == 'string' ? 'string' : 'hash']
1099
- : data.map;
1100
- }
1101
-
1102
- _getMapData = getMapData;
1103
- return _getMapData;
1104
- }
1105
-
1106
- var _mapCacheDelete;
1107
- var hasRequired_mapCacheDelete;
1108
-
1109
- function require_mapCacheDelete () {
1110
- if (hasRequired_mapCacheDelete) return _mapCacheDelete;
1111
- hasRequired_mapCacheDelete = 1;
1112
- var getMapData = require_getMapData();
1113
-
1114
- /**
1115
- * Removes `key` and its value from the map.
1116
- *
1117
- * @private
1118
- * @name delete
1119
- * @memberOf MapCache
1120
- * @param {string} key The key of the value to remove.
1121
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1122
- */
1123
- function mapCacheDelete(key) {
1124
- var result = getMapData(this, key)['delete'](key);
1125
- this.size -= result ? 1 : 0;
1126
- return result;
1127
- }
1128
-
1129
- _mapCacheDelete = mapCacheDelete;
1130
- return _mapCacheDelete;
1131
- }
1132
-
1133
- var _mapCacheGet;
1134
- var hasRequired_mapCacheGet;
1135
-
1136
- function require_mapCacheGet () {
1137
- if (hasRequired_mapCacheGet) return _mapCacheGet;
1138
- hasRequired_mapCacheGet = 1;
1139
- var getMapData = require_getMapData();
1140
-
1141
- /**
1142
- * Gets the map value for `key`.
1143
- *
1144
- * @private
1145
- * @name get
1146
- * @memberOf MapCache
1147
- * @param {string} key The key of the value to get.
1148
- * @returns {*} Returns the entry value.
1149
- */
1150
- function mapCacheGet(key) {
1151
- return getMapData(this, key).get(key);
1152
- }
1153
-
1154
- _mapCacheGet = mapCacheGet;
1155
- return _mapCacheGet;
1156
- }
1157
-
1158
- var _mapCacheHas;
1159
- var hasRequired_mapCacheHas;
1160
-
1161
- function require_mapCacheHas () {
1162
- if (hasRequired_mapCacheHas) return _mapCacheHas;
1163
- hasRequired_mapCacheHas = 1;
1164
- var getMapData = require_getMapData();
1165
-
1166
- /**
1167
- * Checks if a map value for `key` exists.
1168
- *
1169
- * @private
1170
- * @name has
1171
- * @memberOf MapCache
1172
- * @param {string} key The key of the entry to check.
1173
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1174
- */
1175
- function mapCacheHas(key) {
1176
- return getMapData(this, key).has(key);
1177
- }
1178
-
1179
- _mapCacheHas = mapCacheHas;
1180
- return _mapCacheHas;
1181
- }
1182
-
1183
- var _mapCacheSet;
1184
- var hasRequired_mapCacheSet;
1185
-
1186
- function require_mapCacheSet () {
1187
- if (hasRequired_mapCacheSet) return _mapCacheSet;
1188
- hasRequired_mapCacheSet = 1;
1189
- var getMapData = require_getMapData();
1190
-
1191
- /**
1192
- * Sets the map `key` to `value`.
1193
- *
1194
- * @private
1195
- * @name set
1196
- * @memberOf MapCache
1197
- * @param {string} key The key of the value to set.
1198
- * @param {*} value The value to set.
1199
- * @returns {Object} Returns the map cache instance.
1200
- */
1201
- function mapCacheSet(key, value) {
1202
- var data = getMapData(this, key),
1203
- size = data.size;
1204
-
1205
- data.set(key, value);
1206
- this.size += data.size == size ? 0 : 1;
1207
- return this;
1208
- }
1209
-
1210
- _mapCacheSet = mapCacheSet;
1211
- return _mapCacheSet;
1212
- }
1213
-
1214
- var _MapCache;
1215
- var hasRequired_MapCache;
1216
-
1217
- function require_MapCache () {
1218
- if (hasRequired_MapCache) return _MapCache;
1219
- hasRequired_MapCache = 1;
1220
- var mapCacheClear = require_mapCacheClear(),
1221
- mapCacheDelete = require_mapCacheDelete(),
1222
- mapCacheGet = require_mapCacheGet(),
1223
- mapCacheHas = require_mapCacheHas(),
1224
- mapCacheSet = require_mapCacheSet();
1225
-
1226
- /**
1227
- * Creates a map cache object to store key-value pairs.
1228
- *
1229
- * @private
1230
- * @constructor
1231
- * @param {Array} [entries] The key-value pairs to cache.
1232
- */
1233
- function MapCache(entries) {
1234
- var index = -1,
1235
- length = entries == null ? 0 : entries.length;
1236
-
1237
- this.clear();
1238
- while (++index < length) {
1239
- var entry = entries[index];
1240
- this.set(entry[0], entry[1]);
1241
- }
1242
- }
1243
-
1244
- // Add methods to `MapCache`.
1245
- MapCache.prototype.clear = mapCacheClear;
1246
- MapCache.prototype['delete'] = mapCacheDelete;
1247
- MapCache.prototype.get = mapCacheGet;
1248
- MapCache.prototype.has = mapCacheHas;
1249
- MapCache.prototype.set = mapCacheSet;
1250
-
1251
- _MapCache = MapCache;
1252
- return _MapCache;
1253
- }
1254
-
1255
- export { require_Map as a, require_MapCache as b, require_getNative as c, requireEq as d, require_baseGetTag as e, requireIsObjectLike as f, require_root as g, require_freeGlobal as h, requireIsArray as i, requireIsFunction as j, requireIsObject as k, require_toSource as l, require_Symbol as m, getDefaultExportFromCjs as n, commonjsGlobal as o, require_ListCache as r };