@pnkx-lib/ui 1.6.5 → 1.6.7

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