extra-react-hooks 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es2015/index.min.mjs +2 -2
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +1180 -447
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +1180 -447
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +3 -3
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +2 -2
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +1180 -447
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +1180 -447
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +3 -3
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/use-increment.js +5 -5
- package/lib/es2015/use-increment.js.map +1 -1
- package/lib/es2015/use-state-cycle.js +5 -5
- package/lib/es2015/use-state-cycle.js.map +1 -1
- package/lib/es2015/use-step.js +21 -23
- package/lib/es2015/use-step.js.map +1 -1
- package/lib/es2015/use-toggle.js +3 -1
- package/lib/es2015/use-toggle.js.map +1 -1
- package/lib/es2018/use-increment.js +5 -5
- package/lib/es2018/use-increment.js.map +1 -1
- package/lib/es2018/use-state-cycle.js +5 -5
- package/lib/es2018/use-state-cycle.js.map +1 -1
- package/lib/es2018/use-step.js +21 -23
- package/lib/es2018/use-step.js.map +1 -1
- package/lib/es2018/use-toggle.js +3 -1
- package/lib/es2018/use-toggle.js.map +1 -1
- package/package.json +3 -2
package/dist/es2015/index.umd.js
CHANGED
|
@@ -2491,13 +2491,13 @@
|
|
|
2491
2491
|
|
|
2492
2492
|
function useIncrement(initialValue) {
|
|
2493
2493
|
const [value, setValue] = react.exports.useState(initialValue);
|
|
2494
|
-
|
|
2494
|
+
return [value, increment, reset];
|
|
2495
|
+
function increment(step = 1) {
|
|
2495
2496
|
setValue(value => value + step);
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2497
|
+
}
|
|
2498
|
+
function reset() {
|
|
2498
2499
|
setValue(initialValue);
|
|
2499
|
-
}
|
|
2500
|
-
return [value, increment, reset];
|
|
2500
|
+
}
|
|
2501
2501
|
}
|
|
2502
2502
|
|
|
2503
2503
|
function useMount(effect) {
|
|
@@ -2550,227 +2550,227 @@
|
|
|
2550
2550
|
}, deps);
|
|
2551
2551
|
}
|
|
2552
2552
|
|
|
2553
|
-
var es2018$
|
|
2553
|
+
var es2018$9 = {};
|
|
2554
2554
|
|
|
2555
|
-
var array = {};
|
|
2555
|
+
var array$2 = {};
|
|
2556
2556
|
|
|
2557
|
-
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
2558
|
-
function isArray$
|
|
2557
|
+
array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
|
|
2558
|
+
function isArray$5(val) {
|
|
2559
2559
|
return Array.isArray(val);
|
|
2560
2560
|
}
|
|
2561
|
-
array.isArray = isArray$
|
|
2562
|
-
function isntArray(val) {
|
|
2563
|
-
return !isArray$
|
|
2561
|
+
array$2.isArray = isArray$5;
|
|
2562
|
+
function isntArray$2(val) {
|
|
2563
|
+
return !isArray$5(val);
|
|
2564
2564
|
}
|
|
2565
|
-
array.isntArray = isntArray;
|
|
2566
|
-
function isEmptyArray(val) {
|
|
2565
|
+
array$2.isntArray = isntArray$2;
|
|
2566
|
+
function isEmptyArray$2(val) {
|
|
2567
2567
|
return val.length === 0;
|
|
2568
2568
|
}
|
|
2569
|
-
array.isEmptyArray = isEmptyArray;
|
|
2570
|
-
function isntEmptyArray(val) {
|
|
2569
|
+
array$2.isEmptyArray = isEmptyArray$2;
|
|
2570
|
+
function isntEmptyArray$2(val) {
|
|
2571
2571
|
return val.length !== 0;
|
|
2572
2572
|
}
|
|
2573
|
-
array.isntEmptyArray = isntEmptyArray;
|
|
2573
|
+
array$2.isntEmptyArray = isntEmptyArray$2;
|
|
2574
2574
|
|
|
2575
|
-
var asyncIterable = {};
|
|
2575
|
+
var asyncIterable$2 = {};
|
|
2576
2576
|
|
|
2577
|
-
var _null = {};
|
|
2577
|
+
var _null$2 = {};
|
|
2578
2578
|
|
|
2579
|
-
_null.isntNull = _null.isNull = void 0;
|
|
2580
|
-
function isNull(val) {
|
|
2579
|
+
_null$2.isntNull = _null$2.isNull = void 0;
|
|
2580
|
+
function isNull$2(val) {
|
|
2581
2581
|
return val === null;
|
|
2582
2582
|
}
|
|
2583
|
-
_null.isNull = isNull;
|
|
2584
|
-
function isntNull(val) {
|
|
2585
|
-
return !isNull(val);
|
|
2583
|
+
_null$2.isNull = isNull$2;
|
|
2584
|
+
function isntNull$2(val) {
|
|
2585
|
+
return !isNull$2(val);
|
|
2586
2586
|
}
|
|
2587
|
-
_null.isntNull = isntNull;
|
|
2587
|
+
_null$2.isntNull = isntNull$2;
|
|
2588
2588
|
|
|
2589
|
-
var _undefined = {};
|
|
2589
|
+
var _undefined$2 = {};
|
|
2590
2590
|
|
|
2591
|
-
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
2592
|
-
function isUndefined(val) {
|
|
2591
|
+
_undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
|
|
2592
|
+
function isUndefined$2(val) {
|
|
2593
2593
|
return val === undefined;
|
|
2594
2594
|
}
|
|
2595
|
-
_undefined.isUndefined = isUndefined;
|
|
2596
|
-
function isntUndefined(val) {
|
|
2597
|
-
return !isUndefined(val);
|
|
2595
|
+
_undefined$2.isUndefined = isUndefined$2;
|
|
2596
|
+
function isntUndefined$2(val) {
|
|
2597
|
+
return !isUndefined$2(val);
|
|
2598
2598
|
}
|
|
2599
|
-
_undefined.isntUndefined = isntUndefined;
|
|
2599
|
+
_undefined$2.isntUndefined = isntUndefined$2;
|
|
2600
2600
|
|
|
2601
|
-
var _function = {};
|
|
2601
|
+
var _function$2 = {};
|
|
2602
2602
|
|
|
2603
|
-
_function.isntFunction = _function.isFunction = void 0;
|
|
2604
|
-
function isFunction$
|
|
2603
|
+
_function$2.isntFunction = _function$2.isFunction = void 0;
|
|
2604
|
+
function isFunction$4(val) {
|
|
2605
2605
|
return typeof val === 'function';
|
|
2606
2606
|
}
|
|
2607
|
-
_function.isFunction = isFunction$
|
|
2608
|
-
function isntFunction(val) {
|
|
2609
|
-
return !isFunction$
|
|
2607
|
+
_function$2.isFunction = isFunction$4;
|
|
2608
|
+
function isntFunction$2(val) {
|
|
2609
|
+
return !isFunction$4(val);
|
|
2610
2610
|
}
|
|
2611
|
-
_function.isntFunction = isntFunction;
|
|
2611
|
+
_function$2.isntFunction = isntFunction$2;
|
|
2612
2612
|
|
|
2613
|
-
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
2614
|
-
const null_1$
|
|
2615
|
-
const undefined_1$
|
|
2616
|
-
const function_1$
|
|
2617
|
-
function isAsyncIterable$
|
|
2618
|
-
return (0, null_1$
|
|
2619
|
-
&& (0, undefined_1$
|
|
2620
|
-
&& (0, function_1$
|
|
2613
|
+
asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
|
|
2614
|
+
const null_1$8 = _null$2;
|
|
2615
|
+
const undefined_1$5 = _undefined$2;
|
|
2616
|
+
const function_1$8 = _function$2;
|
|
2617
|
+
function isAsyncIterable$4(val) {
|
|
2618
|
+
return (0, null_1$8.isntNull)(val)
|
|
2619
|
+
&& (0, undefined_1$5.isntUndefined)(val)
|
|
2620
|
+
&& (0, function_1$8.isFunction)(val[Symbol.asyncIterator]);
|
|
2621
2621
|
}
|
|
2622
|
-
asyncIterable.isAsyncIterable = isAsyncIterable$
|
|
2623
|
-
function isntAsyncIterable(val) {
|
|
2624
|
-
return !isAsyncIterable$
|
|
2622
|
+
asyncIterable$2.isAsyncIterable = isAsyncIterable$4;
|
|
2623
|
+
function isntAsyncIterable$2(val) {
|
|
2624
|
+
return !isAsyncIterable$4(val);
|
|
2625
2625
|
}
|
|
2626
|
-
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
2626
|
+
asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
|
|
2627
2627
|
|
|
2628
|
-
var bigint = {};
|
|
2628
|
+
var bigint$2 = {};
|
|
2629
2629
|
|
|
2630
|
-
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
2631
|
-
function isBigInt(val) {
|
|
2630
|
+
bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
|
|
2631
|
+
function isBigInt$2(val) {
|
|
2632
2632
|
return typeof val === 'bigint';
|
|
2633
2633
|
}
|
|
2634
|
-
bigint.isBigInt = isBigInt;
|
|
2635
|
-
function isntBigInt(val) {
|
|
2636
|
-
return !isBigInt(val);
|
|
2634
|
+
bigint$2.isBigInt = isBigInt$2;
|
|
2635
|
+
function isntBigInt$2(val) {
|
|
2636
|
+
return !isBigInt$2(val);
|
|
2637
2637
|
}
|
|
2638
|
-
bigint.isntBigInt = isntBigInt;
|
|
2638
|
+
bigint$2.isntBigInt = isntBigInt$2;
|
|
2639
2639
|
|
|
2640
|
-
var boolean = {};
|
|
2640
|
+
var boolean$2 = {};
|
|
2641
2641
|
|
|
2642
|
-
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
2643
|
-
function isBoolean(val) {
|
|
2642
|
+
boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
|
|
2643
|
+
function isBoolean$2(val) {
|
|
2644
2644
|
return typeof val === 'boolean';
|
|
2645
2645
|
}
|
|
2646
|
-
boolean.isBoolean = isBoolean;
|
|
2647
|
-
function isntBoolean(val) {
|
|
2648
|
-
return !isBoolean(val);
|
|
2646
|
+
boolean$2.isBoolean = isBoolean$2;
|
|
2647
|
+
function isntBoolean$2(val) {
|
|
2648
|
+
return !isBoolean$2(val);
|
|
2649
2649
|
}
|
|
2650
|
-
boolean.isntBoolean = isntBoolean;
|
|
2650
|
+
boolean$2.isntBoolean = isntBoolean$2;
|
|
2651
2651
|
|
|
2652
|
-
var char = {};
|
|
2652
|
+
var char$2 = {};
|
|
2653
2653
|
|
|
2654
|
-
var string = {};
|
|
2654
|
+
var string$2 = {};
|
|
2655
2655
|
|
|
2656
|
-
string.isntString = string.isString = void 0;
|
|
2657
|
-
function isString(val) {
|
|
2656
|
+
string$2.isntString = string$2.isString = void 0;
|
|
2657
|
+
function isString$2(val) {
|
|
2658
2658
|
return typeof val === 'string';
|
|
2659
2659
|
}
|
|
2660
|
-
string.isString = isString;
|
|
2661
|
-
function isntString(val) {
|
|
2662
|
-
return !isString(val);
|
|
2660
|
+
string$2.isString = isString$2;
|
|
2661
|
+
function isntString$2(val) {
|
|
2662
|
+
return !isString$2(val);
|
|
2663
2663
|
}
|
|
2664
|
-
string.isntString = isntString;
|
|
2664
|
+
string$2.isntString = isntString$2;
|
|
2665
2665
|
|
|
2666
|
-
char.isntChar = char.isChar = void 0;
|
|
2667
|
-
const string_1$
|
|
2668
|
-
function isChar(val) {
|
|
2669
|
-
return (0, string_1$
|
|
2666
|
+
char$2.isntChar = char$2.isChar = void 0;
|
|
2667
|
+
const string_1$5 = string$2;
|
|
2668
|
+
function isChar$2(val) {
|
|
2669
|
+
return (0, string_1$5.isString)(val)
|
|
2670
2670
|
&& val.length === 1;
|
|
2671
2671
|
}
|
|
2672
|
-
char.isChar = isChar;
|
|
2673
|
-
function isntChar(val) {
|
|
2674
|
-
return !isChar(val);
|
|
2672
|
+
char$2.isChar = isChar$2;
|
|
2673
|
+
function isntChar$2(val) {
|
|
2674
|
+
return !isChar$2(val);
|
|
2675
2675
|
}
|
|
2676
|
-
char.isntChar = isntChar;
|
|
2676
|
+
char$2.isntChar = isntChar$2;
|
|
2677
2677
|
|
|
2678
|
-
var date = {};
|
|
2678
|
+
var date$2 = {};
|
|
2679
2679
|
|
|
2680
|
-
date.isntDate = date.isDate = void 0;
|
|
2681
|
-
function isDate$
|
|
2680
|
+
date$2.isntDate = date$2.isDate = void 0;
|
|
2681
|
+
function isDate$3(val) {
|
|
2682
2682
|
return val instanceof Date;
|
|
2683
2683
|
}
|
|
2684
|
-
date.isDate = isDate$
|
|
2685
|
-
function isntDate(val) {
|
|
2686
|
-
return !isDate$
|
|
2684
|
+
date$2.isDate = isDate$3;
|
|
2685
|
+
function isntDate$2(val) {
|
|
2686
|
+
return !isDate$3(val);
|
|
2687
2687
|
}
|
|
2688
|
-
date.isntDate = isntDate;
|
|
2688
|
+
date$2.isntDate = isntDate$2;
|
|
2689
2689
|
|
|
2690
|
-
var _enum = {};
|
|
2690
|
+
var _enum$2 = {};
|
|
2691
2691
|
|
|
2692
|
-
_enum.inEnum = void 0;
|
|
2693
|
-
function inEnum(val, _enum) {
|
|
2692
|
+
_enum$2.inEnum = void 0;
|
|
2693
|
+
function inEnum$2(val, _enum) {
|
|
2694
2694
|
return Object.values(_enum).includes(val);
|
|
2695
2695
|
}
|
|
2696
|
-
_enum.inEnum = inEnum;
|
|
2696
|
+
_enum$2.inEnum = inEnum$2;
|
|
2697
2697
|
|
|
2698
|
-
var error = {};
|
|
2698
|
+
var error$2 = {};
|
|
2699
2699
|
|
|
2700
|
-
error.isntError = error.isError = void 0;
|
|
2701
|
-
function isError(val) {
|
|
2700
|
+
error$2.isntError = error$2.isError = void 0;
|
|
2701
|
+
function isError$2(val) {
|
|
2702
2702
|
return val instanceof Error;
|
|
2703
2703
|
}
|
|
2704
|
-
error.isError = isError;
|
|
2705
|
-
function isntError(val) {
|
|
2706
|
-
return !isError(val);
|
|
2704
|
+
error$2.isError = isError$2;
|
|
2705
|
+
function isntError$2(val) {
|
|
2706
|
+
return !isError$2(val);
|
|
2707
2707
|
}
|
|
2708
|
-
error.isntError = isntError;
|
|
2708
|
+
error$2.isntError = isntError$2;
|
|
2709
2709
|
|
|
2710
|
-
var falsy = {};
|
|
2710
|
+
var falsy$2 = {};
|
|
2711
2711
|
|
|
2712
|
-
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
2713
|
-
function isFalsy(val) {
|
|
2712
|
+
falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
|
|
2713
|
+
function isFalsy$2(val) {
|
|
2714
2714
|
return !val;
|
|
2715
2715
|
}
|
|
2716
|
-
falsy.isFalsy = isFalsy;
|
|
2717
|
-
function isntFalsy(val) {
|
|
2718
|
-
return !isFalsy(val);
|
|
2716
|
+
falsy$2.isFalsy = isFalsy$2;
|
|
2717
|
+
function isntFalsy$2(val) {
|
|
2718
|
+
return !isFalsy$2(val);
|
|
2719
2719
|
}
|
|
2720
|
-
falsy.isntFalsy = isntFalsy;
|
|
2720
|
+
falsy$2.isntFalsy = isntFalsy$2;
|
|
2721
2721
|
|
|
2722
|
-
var iterable = {};
|
|
2722
|
+
var iterable$2 = {};
|
|
2723
2723
|
|
|
2724
|
-
iterable.isntIterable = iterable.isIterable = void 0;
|
|
2725
|
-
const null_1$
|
|
2726
|
-
const undefined_1 = _undefined;
|
|
2727
|
-
const function_1$
|
|
2728
|
-
function isIterable$
|
|
2729
|
-
return (0, null_1$
|
|
2730
|
-
&& (0, undefined_1.isntUndefined)(val)
|
|
2731
|
-
&& (0, function_1$
|
|
2724
|
+
iterable$2.isntIterable = iterable$2.isIterable = void 0;
|
|
2725
|
+
const null_1$7 = _null$2;
|
|
2726
|
+
const undefined_1$4 = _undefined$2;
|
|
2727
|
+
const function_1$7 = _function$2;
|
|
2728
|
+
function isIterable$4(val) {
|
|
2729
|
+
return (0, null_1$7.isntNull)(val)
|
|
2730
|
+
&& (0, undefined_1$4.isntUndefined)(val)
|
|
2731
|
+
&& (0, function_1$7.isFunction)(val[Symbol.iterator]);
|
|
2732
2732
|
}
|
|
2733
|
-
iterable.isIterable = isIterable$
|
|
2734
|
-
function isntIterable(val) {
|
|
2735
|
-
return !isIterable$
|
|
2733
|
+
iterable$2.isIterable = isIterable$4;
|
|
2734
|
+
function isntIterable$2(val) {
|
|
2735
|
+
return !isIterable$4(val);
|
|
2736
2736
|
}
|
|
2737
|
-
iterable.isntIterable = isntIterable;
|
|
2737
|
+
iterable$2.isntIterable = isntIterable$2;
|
|
2738
2738
|
|
|
2739
|
-
var json = {};
|
|
2739
|
+
var json$2 = {};
|
|
2740
2740
|
|
|
2741
|
-
var number = {};
|
|
2741
|
+
var number$2 = {};
|
|
2742
2742
|
|
|
2743
|
-
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
2744
|
-
function isNumber(val) {
|
|
2743
|
+
number$2.isntNaN = number$2.isNaN = number$2.isNegativeInfinity = number$2.isPositiveInfinity = number$2.isFinite = number$2.isntNumber = number$2.isNumber = void 0;
|
|
2744
|
+
function isNumber$2(val) {
|
|
2745
2745
|
return typeof val === 'number';
|
|
2746
2746
|
}
|
|
2747
|
-
number.isNumber = isNumber;
|
|
2748
|
-
function isntNumber(val) {
|
|
2749
|
-
return !isNumber(val);
|
|
2747
|
+
number$2.isNumber = isNumber$2;
|
|
2748
|
+
function isntNumber$2(val) {
|
|
2749
|
+
return !isNumber$2(val);
|
|
2750
2750
|
}
|
|
2751
|
-
number.isntNumber = isntNumber;
|
|
2752
|
-
function isFinite(val) {
|
|
2751
|
+
number$2.isntNumber = isntNumber$2;
|
|
2752
|
+
function isFinite$2(val) {
|
|
2753
2753
|
return Number.isFinite(val);
|
|
2754
2754
|
}
|
|
2755
|
-
number.isFinite = isFinite;
|
|
2756
|
-
function isPositiveInfinity(val) {
|
|
2755
|
+
number$2.isFinite = isFinite$2;
|
|
2756
|
+
function isPositiveInfinity$2(val) {
|
|
2757
2757
|
return val === Infinity;
|
|
2758
2758
|
}
|
|
2759
|
-
number.isPositiveInfinity = isPositiveInfinity;
|
|
2760
|
-
function isNegativeInfinity(val) {
|
|
2759
|
+
number$2.isPositiveInfinity = isPositiveInfinity$2;
|
|
2760
|
+
function isNegativeInfinity$2(val) {
|
|
2761
2761
|
return val === -Infinity;
|
|
2762
2762
|
}
|
|
2763
|
-
number.isNegativeInfinity = isNegativeInfinity;
|
|
2764
|
-
function isNaN$
|
|
2763
|
+
number$2.isNegativeInfinity = isNegativeInfinity$2;
|
|
2764
|
+
function isNaN$3(val) {
|
|
2765
2765
|
return Number.isNaN(val);
|
|
2766
2766
|
}
|
|
2767
|
-
number.isNaN = isNaN$
|
|
2768
|
-
function isntNaN(val) {
|
|
2769
|
-
return !isNaN$
|
|
2767
|
+
number$2.isNaN = isNaN$3;
|
|
2768
|
+
function isntNaN$2(val) {
|
|
2769
|
+
return !isNaN$3(val);
|
|
2770
2770
|
}
|
|
2771
|
-
number.isntNaN = isntNaN;
|
|
2771
|
+
number$2.isntNaN = isntNaN$2;
|
|
2772
2772
|
|
|
2773
|
-
var object = {};
|
|
2773
|
+
var object$2 = {};
|
|
2774
2774
|
|
|
2775
2775
|
/** Detect free variable `global` from Node.js. */
|
|
2776
2776
|
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
* _.isPlainObject(Object.create(null));
|
|
2999
2999
|
* // => true
|
|
3000
3000
|
*/
|
|
3001
|
-
function isPlainObject$
|
|
3001
|
+
function isPlainObject$3(value) {
|
|
3002
3002
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
3003
3003
|
return false;
|
|
3004
3004
|
}
|
|
@@ -3011,59 +3011,59 @@
|
|
|
3011
3011
|
funcToString.call(Ctor) == objectCtorString;
|
|
3012
3012
|
}
|
|
3013
3013
|
|
|
3014
|
-
var isPlainObject_1$
|
|
3014
|
+
var isPlainObject_1$3 = isPlainObject$3;
|
|
3015
3015
|
|
|
3016
|
-
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3016
|
+
var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3017
3017
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3018
|
-
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
3019
|
-
const isPlainObject_1 = __importDefault(isPlainObject_1$
|
|
3020
|
-
function isObject(val) {
|
|
3018
|
+
};object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
|
|
3019
|
+
const isPlainObject_1$2 = __importDefault$2(isPlainObject_1$3);
|
|
3020
|
+
function isObject$2(val) {
|
|
3021
3021
|
return val !== null
|
|
3022
3022
|
&& typeof val === 'object';
|
|
3023
3023
|
}
|
|
3024
|
-
object.isObject = isObject;
|
|
3025
|
-
function isntObject(val) {
|
|
3026
|
-
return !isObject(val);
|
|
3024
|
+
object$2.isObject = isObject$2;
|
|
3025
|
+
function isntObject$2(val) {
|
|
3026
|
+
return !isObject$2(val);
|
|
3027
3027
|
}
|
|
3028
|
-
object.isntObject = isntObject;
|
|
3029
|
-
function isPlainObject(val) {
|
|
3030
|
-
return (0, isPlainObject_1.default)(val);
|
|
3028
|
+
object$2.isntObject = isntObject$2;
|
|
3029
|
+
function isPlainObject$2(val) {
|
|
3030
|
+
return (0, isPlainObject_1$2.default)(val);
|
|
3031
3031
|
}
|
|
3032
|
-
object.isPlainObject = isPlainObject;
|
|
3033
|
-
function isntPlainObject(val) {
|
|
3034
|
-
return !isPlainObject(val);
|
|
3032
|
+
object$2.isPlainObject = isPlainObject$2;
|
|
3033
|
+
function isntPlainObject$2(val) {
|
|
3034
|
+
return !isPlainObject$2(val);
|
|
3035
3035
|
}
|
|
3036
|
-
object.isntPlainObject = isntPlainObject;
|
|
3037
|
-
function isEmptyObject(val) {
|
|
3036
|
+
object$2.isntPlainObject = isntPlainObject$2;
|
|
3037
|
+
function isEmptyObject$2(val) {
|
|
3038
3038
|
return Object.keys(val).length === 0;
|
|
3039
3039
|
}
|
|
3040
|
-
object.isEmptyObject = isEmptyObject;
|
|
3041
|
-
function isntEmptyObject(val) {
|
|
3040
|
+
object$2.isEmptyObject = isEmptyObject$2;
|
|
3041
|
+
function isntEmptyObject$2(val) {
|
|
3042
3042
|
return Object.keys(val).length !== 0;
|
|
3043
3043
|
}
|
|
3044
|
-
object.isntEmptyObject = isntEmptyObject;
|
|
3045
|
-
|
|
3046
|
-
json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
|
|
3047
|
-
const null_1 = _null;
|
|
3048
|
-
const boolean_1 = boolean;
|
|
3049
|
-
const string_1 = string;
|
|
3050
|
-
const number_1 = number;
|
|
3051
|
-
const array_1 = array;
|
|
3052
|
-
const object_1$
|
|
3053
|
-
function isJson(val) {
|
|
3054
|
-
return (0, null_1.isNull)(val)
|
|
3055
|
-
|| (0, boolean_1.isBoolean)(val)
|
|
3056
|
-
|| (0, string_1.isString)(val)
|
|
3057
|
-
|| (0, number_1.isNumber)(val)
|
|
3058
|
-
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
3059
|
-
|| ((0, object_1$
|
|
3060
|
-
}
|
|
3061
|
-
json.isJson = isJson;
|
|
3062
|
-
function isntJson(val) {
|
|
3063
|
-
return !isJson(val);
|
|
3064
|
-
}
|
|
3065
|
-
json.isntJson = isntJson;
|
|
3066
|
-
function isJsonable(val) {
|
|
3044
|
+
object$2.isntEmptyObject = isntEmptyObject$2;
|
|
3045
|
+
|
|
3046
|
+
json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
|
|
3047
|
+
const null_1$6 = _null$2;
|
|
3048
|
+
const boolean_1$2 = boolean$2;
|
|
3049
|
+
const string_1$4 = string$2;
|
|
3050
|
+
const number_1$2 = number$2;
|
|
3051
|
+
const array_1$2 = array$2;
|
|
3052
|
+
const object_1$5 = object$2;
|
|
3053
|
+
function isJson$2(val) {
|
|
3054
|
+
return (0, null_1$6.isNull)(val)
|
|
3055
|
+
|| (0, boolean_1$2.isBoolean)(val)
|
|
3056
|
+
|| (0, string_1$4.isString)(val)
|
|
3057
|
+
|| (0, number_1$2.isNumber)(val)
|
|
3058
|
+
|| ((0, array_1$2.isArray)(val) && val.every(isJson$2))
|
|
3059
|
+
|| ((0, object_1$5.isPlainObject)(val) && Object.values(val).every(isJson$2));
|
|
3060
|
+
}
|
|
3061
|
+
json$2.isJson = isJson$2;
|
|
3062
|
+
function isntJson$2(val) {
|
|
3063
|
+
return !isJson$2(val);
|
|
3064
|
+
}
|
|
3065
|
+
json$2.isntJson = isntJson$2;
|
|
3066
|
+
function isJsonable$2(val) {
|
|
3067
3067
|
try {
|
|
3068
3068
|
JSON.stringify(val);
|
|
3069
3069
|
return true;
|
|
@@ -3072,39 +3072,39 @@
|
|
|
3072
3072
|
return false;
|
|
3073
3073
|
}
|
|
3074
3074
|
}
|
|
3075
|
-
json.isJsonable = isJsonable;
|
|
3076
|
-
function isntJsonable(val) {
|
|
3077
|
-
return !isntJsonable();
|
|
3075
|
+
json$2.isJsonable = isJsonable$2;
|
|
3076
|
+
function isntJsonable$2(val) {
|
|
3077
|
+
return !isntJsonable$2();
|
|
3078
3078
|
}
|
|
3079
|
-
json.isntJsonable = isntJsonable;
|
|
3079
|
+
json$2.isntJsonable = isntJsonable$2;
|
|
3080
3080
|
|
|
3081
|
-
var promise = {};
|
|
3081
|
+
var promise$2 = {};
|
|
3082
3082
|
|
|
3083
|
-
promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
|
|
3084
|
-
const object_1 = object;
|
|
3085
|
-
const function_1 = _function;
|
|
3086
|
-
function isPromise$
|
|
3083
|
+
promise$2.isPromiseLike = promise$2.isntPromiseLike = promise$2.isntPromise = promise$2.isPromise = void 0;
|
|
3084
|
+
const object_1$4 = object$2;
|
|
3085
|
+
const function_1$6 = _function$2;
|
|
3086
|
+
function isPromise$4(val) {
|
|
3087
3087
|
return val instanceof Promise;
|
|
3088
3088
|
}
|
|
3089
|
-
promise.isPromise = isPromise$
|
|
3090
|
-
function isntPromise(val) {
|
|
3091
|
-
return !isPromise$
|
|
3089
|
+
promise$2.isPromise = isPromise$4;
|
|
3090
|
+
function isntPromise$2(val) {
|
|
3091
|
+
return !isPromise$4(val);
|
|
3092
3092
|
}
|
|
3093
|
-
promise.isntPromise = isntPromise;
|
|
3094
|
-
function isntPromiseLike(val) {
|
|
3095
|
-
return !isPromiseLike(val);
|
|
3093
|
+
promise$2.isntPromise = isntPromise$2;
|
|
3094
|
+
function isntPromiseLike$2(val) {
|
|
3095
|
+
return !isPromiseLike$2(val);
|
|
3096
3096
|
}
|
|
3097
|
-
promise.isntPromiseLike = isntPromiseLike;
|
|
3098
|
-
function isPromiseLike(val) {
|
|
3099
|
-
return (0, object_1.isObject)(val)
|
|
3100
|
-
&& (0, function_1.isFunction)(val.then);
|
|
3097
|
+
promise$2.isntPromiseLike = isntPromiseLike$2;
|
|
3098
|
+
function isPromiseLike$2(val) {
|
|
3099
|
+
return (0, object_1$4.isObject)(val)
|
|
3100
|
+
&& (0, function_1$6.isFunction)(val.then);
|
|
3101
3101
|
}
|
|
3102
|
-
promise.isPromiseLike = isPromiseLike;
|
|
3102
|
+
promise$2.isPromiseLike = isPromiseLike$2;
|
|
3103
3103
|
|
|
3104
|
-
var url = {};
|
|
3104
|
+
var url$2 = {};
|
|
3105
3105
|
|
|
3106
|
-
url.isAbsoluteURL = void 0;
|
|
3107
|
-
function isAbsoluteURL(str) {
|
|
3106
|
+
url$2.isAbsoluteURL = void 0;
|
|
3107
|
+
function isAbsoluteURL$2(str) {
|
|
3108
3108
|
try {
|
|
3109
3109
|
new URL(str);
|
|
3110
3110
|
return true;
|
|
@@ -3113,7 +3113,19 @@
|
|
|
3113
3113
|
return false;
|
|
3114
3114
|
}
|
|
3115
3115
|
}
|
|
3116
|
-
url.isAbsoluteURL = isAbsoluteURL;
|
|
3116
|
+
url$2.isAbsoluteURL = isAbsoluteURL$2;
|
|
3117
|
+
|
|
3118
|
+
var regexp = {};
|
|
3119
|
+
|
|
3120
|
+
regexp.isntRegExp = regexp.isRegExp = void 0;
|
|
3121
|
+
function isRegExp(val) {
|
|
3122
|
+
return val instanceof RegExp;
|
|
3123
|
+
}
|
|
3124
|
+
regexp.isRegExp = isRegExp;
|
|
3125
|
+
function isntRegExp(val) {
|
|
3126
|
+
return !isRegExp(val);
|
|
3127
|
+
}
|
|
3128
|
+
regexp.isntRegExp = isntRegExp;
|
|
3117
3129
|
|
|
3118
3130
|
(function (exports) {
|
|
3119
3131
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3129,39 +3141,40 @@
|
|
|
3129
3141
|
}));
|
|
3130
3142
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3131
3143
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3132
|
-
};__exportStar(array, exports);
|
|
3133
|
-
__exportStar(asyncIterable, exports);
|
|
3134
|
-
__exportStar(bigint, exports);
|
|
3135
|
-
__exportStar(boolean, exports);
|
|
3136
|
-
__exportStar(char, exports);
|
|
3137
|
-
__exportStar(date, exports);
|
|
3138
|
-
__exportStar(_enum, exports);
|
|
3139
|
-
__exportStar(error, exports);
|
|
3140
|
-
__exportStar(falsy, exports);
|
|
3141
|
-
__exportStar(_function, exports);
|
|
3142
|
-
__exportStar(iterable, exports);
|
|
3143
|
-
__exportStar(json, exports);
|
|
3144
|
-
__exportStar(_null, exports);
|
|
3145
|
-
__exportStar(number, exports);
|
|
3146
|
-
__exportStar(object, exports);
|
|
3147
|
-
__exportStar(promise, exports);
|
|
3148
|
-
__exportStar(string, exports);
|
|
3149
|
-
__exportStar(_undefined, exports);
|
|
3150
|
-
__exportStar(url, exports);
|
|
3144
|
+
};__exportStar(array$2, exports);
|
|
3145
|
+
__exportStar(asyncIterable$2, exports);
|
|
3146
|
+
__exportStar(bigint$2, exports);
|
|
3147
|
+
__exportStar(boolean$2, exports);
|
|
3148
|
+
__exportStar(char$2, exports);
|
|
3149
|
+
__exportStar(date$2, exports);
|
|
3150
|
+
__exportStar(_enum$2, exports);
|
|
3151
|
+
__exportStar(error$2, exports);
|
|
3152
|
+
__exportStar(falsy$2, exports);
|
|
3153
|
+
__exportStar(_function$2, exports);
|
|
3154
|
+
__exportStar(iterable$2, exports);
|
|
3155
|
+
__exportStar(json$2, exports);
|
|
3156
|
+
__exportStar(_null$2, exports);
|
|
3157
|
+
__exportStar(number$2, exports);
|
|
3158
|
+
__exportStar(object$2, exports);
|
|
3159
|
+
__exportStar(promise$2, exports);
|
|
3160
|
+
__exportStar(string$2, exports);
|
|
3161
|
+
__exportStar(_undefined$2, exports);
|
|
3162
|
+
__exportStar(url$2, exports);
|
|
3163
|
+
__exportStar(regexp, exports);
|
|
3151
3164
|
|
|
3152
|
-
} (es2018$
|
|
3165
|
+
} (es2018$9));
|
|
3153
3166
|
|
|
3154
|
-
var es2018$
|
|
3167
|
+
var es2018$8 = {};
|
|
3155
3168
|
|
|
3156
3169
|
var customError = {};
|
|
3157
3170
|
|
|
3158
|
-
var es2018$
|
|
3171
|
+
var es2018$7 = {};
|
|
3159
3172
|
|
|
3160
3173
|
var middleware = {};
|
|
3161
3174
|
|
|
3162
3175
|
var chunkAsync = {};
|
|
3163
3176
|
|
|
3164
|
-
var es2018$
|
|
3177
|
+
var es2018$6 = {};
|
|
3165
3178
|
|
|
3166
3179
|
var go$1 = {};
|
|
3167
3180
|
|
|
@@ -3183,7 +3196,7 @@
|
|
|
3183
3196
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3184
3197
|
};__exportStar(go$1, exports);
|
|
3185
3198
|
|
|
3186
|
-
} (es2018$
|
|
3199
|
+
} (es2018$6));
|
|
3187
3200
|
|
|
3188
3201
|
var hasRequiredChunkAsync;
|
|
3189
3202
|
|
|
@@ -3191,7 +3204,7 @@
|
|
|
3191
3204
|
if (hasRequiredChunkAsync) return chunkAsync;
|
|
3192
3205
|
hasRequiredChunkAsync = 1;
|
|
3193
3206
|
chunkAsync.chunkAsync = void 0;
|
|
3194
|
-
const go_1 = es2018$
|
|
3207
|
+
const go_1 = es2018$6;
|
|
3195
3208
|
const errors_1 = requireEs2018();
|
|
3196
3209
|
function chunkAsync$1(iterable, size) {
|
|
3197
3210
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3216,50 +3229,410 @@
|
|
|
3216
3229
|
|
|
3217
3230
|
var chunkByAsync$1 = {};
|
|
3218
3231
|
|
|
3219
|
-
|
|
3220
|
-
const types_1$j = es2018$7;
|
|
3221
|
-
function chunkByAsync(iterable, predicate) {
|
|
3222
|
-
if ((0, types_1$j.isAsyncIterable)(iterable)) {
|
|
3223
|
-
return chunkByAsyncIterable(iterable);
|
|
3224
|
-
}
|
|
3225
|
-
else {
|
|
3226
|
-
return chunkByIterable(iterable);
|
|
3227
|
-
}
|
|
3228
|
-
async function* chunkByAsyncIterable(iterable) {
|
|
3229
|
-
let buffer = [];
|
|
3230
|
-
let index = 0;
|
|
3231
|
-
for await (const element of iterable) {
|
|
3232
|
-
buffer.push(element);
|
|
3233
|
-
if (await predicate(element, index)) {
|
|
3234
|
-
yield buffer;
|
|
3235
|
-
buffer = [];
|
|
3236
|
-
}
|
|
3237
|
-
index++;
|
|
3238
|
-
}
|
|
3239
|
-
if (buffer.length)
|
|
3240
|
-
yield buffer;
|
|
3241
|
-
}
|
|
3242
|
-
async function* chunkByIterable(iterable) {
|
|
3243
|
-
let buffer = [];
|
|
3244
|
-
let index = 0;
|
|
3245
|
-
for (const element of iterable) {
|
|
3246
|
-
buffer.push(element);
|
|
3247
|
-
if (await predicate(element, index)) {
|
|
3248
|
-
yield buffer;
|
|
3249
|
-
buffer = [];
|
|
3250
|
-
}
|
|
3251
|
-
index++;
|
|
3252
|
-
}
|
|
3253
|
-
if (buffer.length)
|
|
3254
|
-
yield buffer;
|
|
3255
|
-
}
|
|
3256
|
-
}
|
|
3257
|
-
chunkByAsync$1.chunkByAsync = chunkByAsync;
|
|
3232
|
+
var es2018$5 = {};
|
|
3258
3233
|
|
|
3259
|
-
var
|
|
3234
|
+
var array$1 = {};
|
|
3260
3235
|
|
|
3261
|
-
|
|
3262
|
-
function
|
|
3236
|
+
array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
|
|
3237
|
+
function isArray$4(val) {
|
|
3238
|
+
return Array.isArray(val);
|
|
3239
|
+
}
|
|
3240
|
+
array$1.isArray = isArray$4;
|
|
3241
|
+
function isntArray$1(val) {
|
|
3242
|
+
return !isArray$4(val);
|
|
3243
|
+
}
|
|
3244
|
+
array$1.isntArray = isntArray$1;
|
|
3245
|
+
function isEmptyArray$1(val) {
|
|
3246
|
+
return val.length === 0;
|
|
3247
|
+
}
|
|
3248
|
+
array$1.isEmptyArray = isEmptyArray$1;
|
|
3249
|
+
function isntEmptyArray$1(val) {
|
|
3250
|
+
return val.length !== 0;
|
|
3251
|
+
}
|
|
3252
|
+
array$1.isntEmptyArray = isntEmptyArray$1;
|
|
3253
|
+
|
|
3254
|
+
var asyncIterable$1 = {};
|
|
3255
|
+
|
|
3256
|
+
var _null$1 = {};
|
|
3257
|
+
|
|
3258
|
+
_null$1.isntNull = _null$1.isNull = void 0;
|
|
3259
|
+
function isNull$1(val) {
|
|
3260
|
+
return val === null;
|
|
3261
|
+
}
|
|
3262
|
+
_null$1.isNull = isNull$1;
|
|
3263
|
+
function isntNull$1(val) {
|
|
3264
|
+
return !isNull$1(val);
|
|
3265
|
+
}
|
|
3266
|
+
_null$1.isntNull = isntNull$1;
|
|
3267
|
+
|
|
3268
|
+
var _undefined$1 = {};
|
|
3269
|
+
|
|
3270
|
+
_undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
|
|
3271
|
+
function isUndefined$1(val) {
|
|
3272
|
+
return val === undefined;
|
|
3273
|
+
}
|
|
3274
|
+
_undefined$1.isUndefined = isUndefined$1;
|
|
3275
|
+
function isntUndefined$1(val) {
|
|
3276
|
+
return !isUndefined$1(val);
|
|
3277
|
+
}
|
|
3278
|
+
_undefined$1.isntUndefined = isntUndefined$1;
|
|
3279
|
+
|
|
3280
|
+
var _function$1 = {};
|
|
3281
|
+
|
|
3282
|
+
_function$1.isntFunction = _function$1.isFunction = void 0;
|
|
3283
|
+
function isFunction$3(val) {
|
|
3284
|
+
return typeof val === 'function';
|
|
3285
|
+
}
|
|
3286
|
+
_function$1.isFunction = isFunction$3;
|
|
3287
|
+
function isntFunction$1(val) {
|
|
3288
|
+
return !isFunction$3(val);
|
|
3289
|
+
}
|
|
3290
|
+
_function$1.isntFunction = isntFunction$1;
|
|
3291
|
+
|
|
3292
|
+
asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
|
|
3293
|
+
const null_1$5 = _null$1;
|
|
3294
|
+
const undefined_1$3 = _undefined$1;
|
|
3295
|
+
const function_1$5 = _function$1;
|
|
3296
|
+
function isAsyncIterable$3(val) {
|
|
3297
|
+
return (0, null_1$5.isntNull)(val)
|
|
3298
|
+
&& (0, undefined_1$3.isntUndefined)(val)
|
|
3299
|
+
&& (0, function_1$5.isFunction)(val[Symbol.asyncIterator]);
|
|
3300
|
+
}
|
|
3301
|
+
asyncIterable$1.isAsyncIterable = isAsyncIterable$3;
|
|
3302
|
+
function isntAsyncIterable$1(val) {
|
|
3303
|
+
return !isAsyncIterable$3(val);
|
|
3304
|
+
}
|
|
3305
|
+
asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
|
|
3306
|
+
|
|
3307
|
+
var bigint$1 = {};
|
|
3308
|
+
|
|
3309
|
+
bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
|
|
3310
|
+
function isBigInt$1(val) {
|
|
3311
|
+
return typeof val === 'bigint';
|
|
3312
|
+
}
|
|
3313
|
+
bigint$1.isBigInt = isBigInt$1;
|
|
3314
|
+
function isntBigInt$1(val) {
|
|
3315
|
+
return !isBigInt$1(val);
|
|
3316
|
+
}
|
|
3317
|
+
bigint$1.isntBigInt = isntBigInt$1;
|
|
3318
|
+
|
|
3319
|
+
var boolean$1 = {};
|
|
3320
|
+
|
|
3321
|
+
boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
|
|
3322
|
+
function isBoolean$1(val) {
|
|
3323
|
+
return typeof val === 'boolean';
|
|
3324
|
+
}
|
|
3325
|
+
boolean$1.isBoolean = isBoolean$1;
|
|
3326
|
+
function isntBoolean$1(val) {
|
|
3327
|
+
return !isBoolean$1(val);
|
|
3328
|
+
}
|
|
3329
|
+
boolean$1.isntBoolean = isntBoolean$1;
|
|
3330
|
+
|
|
3331
|
+
var char$1 = {};
|
|
3332
|
+
|
|
3333
|
+
var string$1 = {};
|
|
3334
|
+
|
|
3335
|
+
string$1.isntString = string$1.isString = void 0;
|
|
3336
|
+
function isString$1(val) {
|
|
3337
|
+
return typeof val === 'string';
|
|
3338
|
+
}
|
|
3339
|
+
string$1.isString = isString$1;
|
|
3340
|
+
function isntString$1(val) {
|
|
3341
|
+
return !isString$1(val);
|
|
3342
|
+
}
|
|
3343
|
+
string$1.isntString = isntString$1;
|
|
3344
|
+
|
|
3345
|
+
char$1.isntChar = char$1.isChar = void 0;
|
|
3346
|
+
const string_1$3 = string$1;
|
|
3347
|
+
function isChar$1(val) {
|
|
3348
|
+
return (0, string_1$3.isString)(val)
|
|
3349
|
+
&& val.length === 1;
|
|
3350
|
+
}
|
|
3351
|
+
char$1.isChar = isChar$1;
|
|
3352
|
+
function isntChar$1(val) {
|
|
3353
|
+
return !isChar$1(val);
|
|
3354
|
+
}
|
|
3355
|
+
char$1.isntChar = isntChar$1;
|
|
3356
|
+
|
|
3357
|
+
var date$1 = {};
|
|
3358
|
+
|
|
3359
|
+
date$1.isntDate = date$1.isDate = void 0;
|
|
3360
|
+
function isDate$2(val) {
|
|
3361
|
+
return val instanceof Date;
|
|
3362
|
+
}
|
|
3363
|
+
date$1.isDate = isDate$2;
|
|
3364
|
+
function isntDate$1(val) {
|
|
3365
|
+
return !isDate$2(val);
|
|
3366
|
+
}
|
|
3367
|
+
date$1.isntDate = isntDate$1;
|
|
3368
|
+
|
|
3369
|
+
var _enum$1 = {};
|
|
3370
|
+
|
|
3371
|
+
_enum$1.inEnum = void 0;
|
|
3372
|
+
function inEnum$1(val, _enum) {
|
|
3373
|
+
return Object.values(_enum).includes(val);
|
|
3374
|
+
}
|
|
3375
|
+
_enum$1.inEnum = inEnum$1;
|
|
3376
|
+
|
|
3377
|
+
var error$1 = {};
|
|
3378
|
+
|
|
3379
|
+
error$1.isntError = error$1.isError = void 0;
|
|
3380
|
+
function isError$1(val) {
|
|
3381
|
+
return val instanceof Error;
|
|
3382
|
+
}
|
|
3383
|
+
error$1.isError = isError$1;
|
|
3384
|
+
function isntError$1(val) {
|
|
3385
|
+
return !isError$1(val);
|
|
3386
|
+
}
|
|
3387
|
+
error$1.isntError = isntError$1;
|
|
3388
|
+
|
|
3389
|
+
var falsy$1 = {};
|
|
3390
|
+
|
|
3391
|
+
falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
|
|
3392
|
+
function isFalsy$1(val) {
|
|
3393
|
+
return !val;
|
|
3394
|
+
}
|
|
3395
|
+
falsy$1.isFalsy = isFalsy$1;
|
|
3396
|
+
function isntFalsy$1(val) {
|
|
3397
|
+
return !isFalsy$1(val);
|
|
3398
|
+
}
|
|
3399
|
+
falsy$1.isntFalsy = isntFalsy$1;
|
|
3400
|
+
|
|
3401
|
+
var iterable$1 = {};
|
|
3402
|
+
|
|
3403
|
+
iterable$1.isntIterable = iterable$1.isIterable = void 0;
|
|
3404
|
+
const null_1$4 = _null$1;
|
|
3405
|
+
const undefined_1$2 = _undefined$1;
|
|
3406
|
+
const function_1$4 = _function$1;
|
|
3407
|
+
function isIterable$3(val) {
|
|
3408
|
+
return (0, null_1$4.isntNull)(val)
|
|
3409
|
+
&& (0, undefined_1$2.isntUndefined)(val)
|
|
3410
|
+
&& (0, function_1$4.isFunction)(val[Symbol.iterator]);
|
|
3411
|
+
}
|
|
3412
|
+
iterable$1.isIterable = isIterable$3;
|
|
3413
|
+
function isntIterable$1(val) {
|
|
3414
|
+
return !isIterable$3(val);
|
|
3415
|
+
}
|
|
3416
|
+
iterable$1.isntIterable = isntIterable$1;
|
|
3417
|
+
|
|
3418
|
+
var json$1 = {};
|
|
3419
|
+
|
|
3420
|
+
var number$1 = {};
|
|
3421
|
+
|
|
3422
|
+
number$1.isntNaN = number$1.isNaN = number$1.isNegativeInfinity = number$1.isPositiveInfinity = number$1.isFinite = number$1.isntNumber = number$1.isNumber = void 0;
|
|
3423
|
+
function isNumber$1(val) {
|
|
3424
|
+
return typeof val === 'number';
|
|
3425
|
+
}
|
|
3426
|
+
number$1.isNumber = isNumber$1;
|
|
3427
|
+
function isntNumber$1(val) {
|
|
3428
|
+
return !isNumber$1(val);
|
|
3429
|
+
}
|
|
3430
|
+
number$1.isntNumber = isntNumber$1;
|
|
3431
|
+
function isFinite$1(val) {
|
|
3432
|
+
return Number.isFinite(val);
|
|
3433
|
+
}
|
|
3434
|
+
number$1.isFinite = isFinite$1;
|
|
3435
|
+
function isPositiveInfinity$1(val) {
|
|
3436
|
+
return val === Infinity;
|
|
3437
|
+
}
|
|
3438
|
+
number$1.isPositiveInfinity = isPositiveInfinity$1;
|
|
3439
|
+
function isNegativeInfinity$1(val) {
|
|
3440
|
+
return val === -Infinity;
|
|
3441
|
+
}
|
|
3442
|
+
number$1.isNegativeInfinity = isNegativeInfinity$1;
|
|
3443
|
+
function isNaN$2(val) {
|
|
3444
|
+
return Number.isNaN(val);
|
|
3445
|
+
}
|
|
3446
|
+
number$1.isNaN = isNaN$2;
|
|
3447
|
+
function isntNaN$1(val) {
|
|
3448
|
+
return !isNaN$2(val);
|
|
3449
|
+
}
|
|
3450
|
+
number$1.isntNaN = isntNaN$1;
|
|
3451
|
+
|
|
3452
|
+
var object$1 = {};
|
|
3453
|
+
|
|
3454
|
+
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3455
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3456
|
+
};object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
|
|
3457
|
+
const isPlainObject_1$1 = __importDefault$1(isPlainObject_1$3);
|
|
3458
|
+
function isObject$1(val) {
|
|
3459
|
+
return val !== null
|
|
3460
|
+
&& typeof val === 'object';
|
|
3461
|
+
}
|
|
3462
|
+
object$1.isObject = isObject$1;
|
|
3463
|
+
function isntObject$1(val) {
|
|
3464
|
+
return !isObject$1(val);
|
|
3465
|
+
}
|
|
3466
|
+
object$1.isntObject = isntObject$1;
|
|
3467
|
+
function isPlainObject$1(val) {
|
|
3468
|
+
return (0, isPlainObject_1$1.default)(val);
|
|
3469
|
+
}
|
|
3470
|
+
object$1.isPlainObject = isPlainObject$1;
|
|
3471
|
+
function isntPlainObject$1(val) {
|
|
3472
|
+
return !isPlainObject$1(val);
|
|
3473
|
+
}
|
|
3474
|
+
object$1.isntPlainObject = isntPlainObject$1;
|
|
3475
|
+
function isEmptyObject$1(val) {
|
|
3476
|
+
return Object.keys(val).length === 0;
|
|
3477
|
+
}
|
|
3478
|
+
object$1.isEmptyObject = isEmptyObject$1;
|
|
3479
|
+
function isntEmptyObject$1(val) {
|
|
3480
|
+
return Object.keys(val).length !== 0;
|
|
3481
|
+
}
|
|
3482
|
+
object$1.isntEmptyObject = isntEmptyObject$1;
|
|
3483
|
+
|
|
3484
|
+
json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
|
|
3485
|
+
const null_1$3 = _null$1;
|
|
3486
|
+
const boolean_1$1 = boolean$1;
|
|
3487
|
+
const string_1$2 = string$1;
|
|
3488
|
+
const number_1$1 = number$1;
|
|
3489
|
+
const array_1$1 = array$1;
|
|
3490
|
+
const object_1$3 = object$1;
|
|
3491
|
+
function isJson$1(val) {
|
|
3492
|
+
return (0, null_1$3.isNull)(val)
|
|
3493
|
+
|| (0, boolean_1$1.isBoolean)(val)
|
|
3494
|
+
|| (0, string_1$2.isString)(val)
|
|
3495
|
+
|| (0, number_1$1.isNumber)(val)
|
|
3496
|
+
|| ((0, array_1$1.isArray)(val) && val.every(isJson$1))
|
|
3497
|
+
|| ((0, object_1$3.isPlainObject)(val) && Object.values(val).every(isJson$1));
|
|
3498
|
+
}
|
|
3499
|
+
json$1.isJson = isJson$1;
|
|
3500
|
+
function isntJson$1(val) {
|
|
3501
|
+
return !isJson$1(val);
|
|
3502
|
+
}
|
|
3503
|
+
json$1.isntJson = isntJson$1;
|
|
3504
|
+
function isJsonable$1(val) {
|
|
3505
|
+
try {
|
|
3506
|
+
JSON.stringify(val);
|
|
3507
|
+
return true;
|
|
3508
|
+
}
|
|
3509
|
+
catch (_a) {
|
|
3510
|
+
return false;
|
|
3511
|
+
}
|
|
3512
|
+
}
|
|
3513
|
+
json$1.isJsonable = isJsonable$1;
|
|
3514
|
+
function isntJsonable$1(val) {
|
|
3515
|
+
return !isntJsonable$1();
|
|
3516
|
+
}
|
|
3517
|
+
json$1.isntJsonable = isntJsonable$1;
|
|
3518
|
+
|
|
3519
|
+
var promise$1 = {};
|
|
3520
|
+
|
|
3521
|
+
promise$1.isPromiseLike = promise$1.isntPromiseLike = promise$1.isntPromise = promise$1.isPromise = void 0;
|
|
3522
|
+
const object_1$2 = object$1;
|
|
3523
|
+
const function_1$3 = _function$1;
|
|
3524
|
+
function isPromise$3(val) {
|
|
3525
|
+
return val instanceof Promise;
|
|
3526
|
+
}
|
|
3527
|
+
promise$1.isPromise = isPromise$3;
|
|
3528
|
+
function isntPromise$1(val) {
|
|
3529
|
+
return !isPromise$3(val);
|
|
3530
|
+
}
|
|
3531
|
+
promise$1.isntPromise = isntPromise$1;
|
|
3532
|
+
function isntPromiseLike$1(val) {
|
|
3533
|
+
return !isPromiseLike$1(val);
|
|
3534
|
+
}
|
|
3535
|
+
promise$1.isntPromiseLike = isntPromiseLike$1;
|
|
3536
|
+
function isPromiseLike$1(val) {
|
|
3537
|
+
return (0, object_1$2.isObject)(val)
|
|
3538
|
+
&& (0, function_1$3.isFunction)(val.then);
|
|
3539
|
+
}
|
|
3540
|
+
promise$1.isPromiseLike = isPromiseLike$1;
|
|
3541
|
+
|
|
3542
|
+
var url$1 = {};
|
|
3543
|
+
|
|
3544
|
+
url$1.isAbsoluteURL = void 0;
|
|
3545
|
+
function isAbsoluteURL$1(str) {
|
|
3546
|
+
try {
|
|
3547
|
+
new URL(str);
|
|
3548
|
+
return true;
|
|
3549
|
+
}
|
|
3550
|
+
catch (_a) {
|
|
3551
|
+
return false;
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
url$1.isAbsoluteURL = isAbsoluteURL$1;
|
|
3555
|
+
|
|
3556
|
+
(function (exports) {
|
|
3557
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3558
|
+
if (k2 === undefined) k2 = k;
|
|
3559
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3560
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3561
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3562
|
+
}
|
|
3563
|
+
Object.defineProperty(o, k2, desc);
|
|
3564
|
+
}) : (function(o, m, k, k2) {
|
|
3565
|
+
if (k2 === undefined) k2 = k;
|
|
3566
|
+
o[k2] = m[k];
|
|
3567
|
+
}));
|
|
3568
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3569
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3570
|
+
};__exportStar(array$1, exports);
|
|
3571
|
+
__exportStar(asyncIterable$1, exports);
|
|
3572
|
+
__exportStar(bigint$1, exports);
|
|
3573
|
+
__exportStar(boolean$1, exports);
|
|
3574
|
+
__exportStar(char$1, exports);
|
|
3575
|
+
__exportStar(date$1, exports);
|
|
3576
|
+
__exportStar(_enum$1, exports);
|
|
3577
|
+
__exportStar(error$1, exports);
|
|
3578
|
+
__exportStar(falsy$1, exports);
|
|
3579
|
+
__exportStar(_function$1, exports);
|
|
3580
|
+
__exportStar(iterable$1, exports);
|
|
3581
|
+
__exportStar(json$1, exports);
|
|
3582
|
+
__exportStar(_null$1, exports);
|
|
3583
|
+
__exportStar(number$1, exports);
|
|
3584
|
+
__exportStar(object$1, exports);
|
|
3585
|
+
__exportStar(promise$1, exports);
|
|
3586
|
+
__exportStar(string$1, exports);
|
|
3587
|
+
__exportStar(_undefined$1, exports);
|
|
3588
|
+
__exportStar(url$1, exports);
|
|
3589
|
+
|
|
3590
|
+
} (es2018$5));
|
|
3591
|
+
|
|
3592
|
+
chunkByAsync$1.chunkByAsync = void 0;
|
|
3593
|
+
const types_1$j = es2018$5;
|
|
3594
|
+
function chunkByAsync(iterable, predicate) {
|
|
3595
|
+
if ((0, types_1$j.isAsyncIterable)(iterable)) {
|
|
3596
|
+
return chunkByAsyncIterable(iterable);
|
|
3597
|
+
}
|
|
3598
|
+
else {
|
|
3599
|
+
return chunkByIterable(iterable);
|
|
3600
|
+
}
|
|
3601
|
+
async function* chunkByAsyncIterable(iterable) {
|
|
3602
|
+
let buffer = [];
|
|
3603
|
+
let index = 0;
|
|
3604
|
+
for await (const element of iterable) {
|
|
3605
|
+
buffer.push(element);
|
|
3606
|
+
if (await predicate(element, index)) {
|
|
3607
|
+
yield buffer;
|
|
3608
|
+
buffer = [];
|
|
3609
|
+
}
|
|
3610
|
+
index++;
|
|
3611
|
+
}
|
|
3612
|
+
if (buffer.length)
|
|
3613
|
+
yield buffer;
|
|
3614
|
+
}
|
|
3615
|
+
async function* chunkByIterable(iterable) {
|
|
3616
|
+
let buffer = [];
|
|
3617
|
+
let index = 0;
|
|
3618
|
+
for (const element of iterable) {
|
|
3619
|
+
buffer.push(element);
|
|
3620
|
+
if (await predicate(element, index)) {
|
|
3621
|
+
yield buffer;
|
|
3622
|
+
buffer = [];
|
|
3623
|
+
}
|
|
3624
|
+
index++;
|
|
3625
|
+
}
|
|
3626
|
+
if (buffer.length)
|
|
3627
|
+
yield buffer;
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
chunkByAsync$1.chunkByAsync = chunkByAsync;
|
|
3631
|
+
|
|
3632
|
+
var chunkBy$1 = {};
|
|
3633
|
+
|
|
3634
|
+
chunkBy$1.chunkBy = void 0;
|
|
3635
|
+
function* chunkBy(iterable, predicate) {
|
|
3263
3636
|
let buffer = [];
|
|
3264
3637
|
let index = 0;
|
|
3265
3638
|
for (const element of iterable) {
|
|
@@ -3283,7 +3656,7 @@
|
|
|
3283
3656
|
if (hasRequiredChunk) return chunk;
|
|
3284
3657
|
hasRequiredChunk = 1;
|
|
3285
3658
|
chunk.chunk = void 0;
|
|
3286
|
-
const go_1 = es2018$
|
|
3659
|
+
const go_1 = es2018$6;
|
|
3287
3660
|
const errors_1 = requireEs2018();
|
|
3288
3661
|
function chunk$1(iterable, size) {
|
|
3289
3662
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3309,8 +3682,8 @@
|
|
|
3309
3682
|
var concatAsync$1 = {};
|
|
3310
3683
|
|
|
3311
3684
|
concatAsync$1.concatAsync = void 0;
|
|
3312
|
-
const types_1$i = es2018$
|
|
3313
|
-
const go_1$1 = es2018$
|
|
3685
|
+
const types_1$i = es2018$5;
|
|
3686
|
+
const go_1$1 = es2018$6;
|
|
3314
3687
|
function concatAsync(iterable, ...otherIterables) {
|
|
3315
3688
|
return (0, go_1$1.go)(async function* () {
|
|
3316
3689
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3332,7 +3705,7 @@
|
|
|
3332
3705
|
var concat$5 = {};
|
|
3333
3706
|
|
|
3334
3707
|
concat$5.concat = void 0;
|
|
3335
|
-
const go_1 = es2018$
|
|
3708
|
+
const go_1 = es2018$6;
|
|
3336
3709
|
function concat$4(iterable, ...otherIterables) {
|
|
3337
3710
|
return (0, go_1.go)(function* () {
|
|
3338
3711
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3366,7 +3739,7 @@
|
|
|
3366
3739
|
if (hasRequiredDropAsync) return dropAsync;
|
|
3367
3740
|
hasRequiredDropAsync = 1;
|
|
3368
3741
|
dropAsync.dropAsync = void 0;
|
|
3369
|
-
const go_1 = es2018$
|
|
3742
|
+
const go_1 = es2018$6;
|
|
3370
3743
|
const utils_1 = utils;
|
|
3371
3744
|
const errors_1 = requireEs2018();
|
|
3372
3745
|
function dropAsync$1(iterable, count) {
|
|
@@ -3409,7 +3782,7 @@
|
|
|
3409
3782
|
if (hasRequiredDropRightAsync) return dropRightAsync;
|
|
3410
3783
|
hasRequiredDropRightAsync = 1;
|
|
3411
3784
|
dropRightAsync.dropRightAsync = void 0;
|
|
3412
|
-
const go_1 = es2018$
|
|
3785
|
+
const go_1 = es2018$6;
|
|
3413
3786
|
const utils_1 = utils;
|
|
3414
3787
|
const errors_1 = requireEs2018();
|
|
3415
3788
|
function dropRightAsync$1(iterable, count) {
|
|
@@ -3445,7 +3818,7 @@
|
|
|
3445
3818
|
if (hasRequiredDropRight) return dropRight;
|
|
3446
3819
|
hasRequiredDropRight = 1;
|
|
3447
3820
|
dropRight.dropRight = void 0;
|
|
3448
|
-
const go_1 = es2018$
|
|
3821
|
+
const go_1 = es2018$6;
|
|
3449
3822
|
const utils_1 = utils;
|
|
3450
3823
|
const errors_1 = requireEs2018();
|
|
3451
3824
|
function dropRight$1(iterable, count) {
|
|
@@ -3466,7 +3839,7 @@
|
|
|
3466
3839
|
var dropUntilAsync$1 = {};
|
|
3467
3840
|
|
|
3468
3841
|
dropUntilAsync$1.dropUntilAsync = void 0;
|
|
3469
|
-
const types_1$h = es2018$
|
|
3842
|
+
const types_1$h = es2018$5;
|
|
3470
3843
|
function dropUntilAsync(iterable, predicate) {
|
|
3471
3844
|
if ((0, types_1$h.isAsyncIterable)(iterable)) {
|
|
3472
3845
|
return dropUntilAsyncIterable(iterable);
|
|
@@ -3553,7 +3926,7 @@
|
|
|
3553
3926
|
if (hasRequiredDrop) return drop;
|
|
3554
3927
|
hasRequiredDrop = 1;
|
|
3555
3928
|
drop.drop = void 0;
|
|
3556
|
-
const go_1 = es2018$
|
|
3929
|
+
const go_1 = es2018$6;
|
|
3557
3930
|
const utils_1 = utils;
|
|
3558
3931
|
const errors_1 = requireEs2018();
|
|
3559
3932
|
function drop$1(iterable, count) {
|
|
@@ -3591,7 +3964,7 @@
|
|
|
3591
3964
|
var filterAsync$1 = {};
|
|
3592
3965
|
|
|
3593
3966
|
filterAsync$1.filterAsync = void 0;
|
|
3594
|
-
const types_1$g = es2018$
|
|
3967
|
+
const types_1$g = es2018$5;
|
|
3595
3968
|
function filterAsync(iterable, predicate) {
|
|
3596
3969
|
if ((0, types_1$g.isAsyncIterable)(iterable)) {
|
|
3597
3970
|
return filterAsyncIterable(iterable);
|
|
@@ -3638,7 +4011,7 @@
|
|
|
3638
4011
|
var flattenByAsync$1 = {};
|
|
3639
4012
|
|
|
3640
4013
|
flattenByAsync$1.flattenByAsync = void 0;
|
|
3641
|
-
const types_1$f = es2018$
|
|
4014
|
+
const types_1$f = es2018$5;
|
|
3642
4015
|
function flattenByAsync(iterable, predicate) {
|
|
3643
4016
|
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
3644
4017
|
return flattenByAsyncIterable(iterable);
|
|
@@ -3712,7 +4085,7 @@
|
|
|
3712
4085
|
var flattenBy$1 = {};
|
|
3713
4086
|
|
|
3714
4087
|
flattenBy$1.flattenBy = void 0;
|
|
3715
|
-
const types_1$e = es2018$
|
|
4088
|
+
const types_1$e = es2018$5;
|
|
3716
4089
|
function flattenBy(iterable, predicate) {
|
|
3717
4090
|
return flatten(iterable, 1);
|
|
3718
4091
|
function* flatten(iterable, level) {
|
|
@@ -3771,7 +4144,7 @@
|
|
|
3771
4144
|
var mapAsync$1 = {};
|
|
3772
4145
|
|
|
3773
4146
|
mapAsync$1.mapAsync = void 0;
|
|
3774
|
-
const types_1$d = es2018$
|
|
4147
|
+
const types_1$d = es2018$5;
|
|
3775
4148
|
function mapAsync(iterable, fn) {
|
|
3776
4149
|
if ((0, types_1$d.isAsyncIterable)(iterable)) {
|
|
3777
4150
|
return mapAsyncIterable(iterable);
|
|
@@ -3816,7 +4189,7 @@
|
|
|
3816
4189
|
if (hasRequiredRepeatAsync) return repeatAsync;
|
|
3817
4190
|
hasRequiredRepeatAsync = 1;
|
|
3818
4191
|
repeatAsync.repeatAsync = void 0;
|
|
3819
|
-
const go_1 = es2018$
|
|
4192
|
+
const go_1 = es2018$6;
|
|
3820
4193
|
const errors_1 = requireEs2018();
|
|
3821
4194
|
function repeatAsync$1(iterable, times) {
|
|
3822
4195
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3859,7 +4232,7 @@
|
|
|
3859
4232
|
if (hasRequiredRepeat) return repeat$2;
|
|
3860
4233
|
hasRequiredRepeat = 1;
|
|
3861
4234
|
repeat$2.repeat = void 0;
|
|
3862
|
-
const go_1 = es2018$
|
|
4235
|
+
const go_1 = es2018$6;
|
|
3863
4236
|
const errors_1 = requireEs2018();
|
|
3864
4237
|
function repeat(iterable, times) {
|
|
3865
4238
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3902,7 +4275,7 @@
|
|
|
3902
4275
|
if (hasRequiredSliceAsync) return sliceAsync;
|
|
3903
4276
|
hasRequiredSliceAsync = 1;
|
|
3904
4277
|
sliceAsync.sliceAsync = void 0;
|
|
3905
|
-
const go_1 = es2018$
|
|
4278
|
+
const go_1 = es2018$6;
|
|
3906
4279
|
const errors_1 = requireEs2018();
|
|
3907
4280
|
function sliceAsync$1(iterable, start, end = Infinity) {
|
|
3908
4281
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -3933,7 +4306,7 @@
|
|
|
3933
4306
|
if (hasRequiredSlice) return slice;
|
|
3934
4307
|
hasRequiredSlice = 1;
|
|
3935
4308
|
slice.slice = void 0;
|
|
3936
|
-
const go_1 = es2018$
|
|
4309
|
+
const go_1 = es2018$6;
|
|
3937
4310
|
const errors_1 = requireEs2018();
|
|
3938
4311
|
function slice$1(iterable, start, end = Infinity) {
|
|
3939
4312
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -3977,7 +4350,7 @@
|
|
|
3977
4350
|
var splitByAsync$1 = {};
|
|
3978
4351
|
|
|
3979
4352
|
splitByAsync$1.splitByAsync = void 0;
|
|
3980
|
-
const types_1$c = es2018$
|
|
4353
|
+
const types_1$c = es2018$5;
|
|
3981
4354
|
function splitByAsync(iterable, predicate) {
|
|
3982
4355
|
if ((0, types_1$c.isAsyncIterable)(iterable)) {
|
|
3983
4356
|
return splitByAsyncIterable(iterable);
|
|
@@ -4064,7 +4437,7 @@
|
|
|
4064
4437
|
if (hasRequiredTakeAsync) return takeAsync;
|
|
4065
4438
|
hasRequiredTakeAsync = 1;
|
|
4066
4439
|
takeAsync.takeAsync = void 0;
|
|
4067
|
-
const go_1 = es2018$
|
|
4440
|
+
const go_1 = es2018$6;
|
|
4068
4441
|
const errors_1 = requireEs2018();
|
|
4069
4442
|
function takeAsync$1(iterable, count) {
|
|
4070
4443
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4093,7 +4466,7 @@
|
|
|
4093
4466
|
if (hasRequiredTakeRightAsync) return takeRightAsync;
|
|
4094
4467
|
hasRequiredTakeRightAsync = 1;
|
|
4095
4468
|
takeRightAsync.takeRightAsync = void 0;
|
|
4096
|
-
const go_1 = es2018$
|
|
4469
|
+
const go_1 = es2018$6;
|
|
4097
4470
|
const errors_1 = requireEs2018();
|
|
4098
4471
|
function takeRightAsync$1(iterable, count) {
|
|
4099
4472
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4131,7 +4504,7 @@
|
|
|
4131
4504
|
if (hasRequiredTakeRight) return takeRight;
|
|
4132
4505
|
hasRequiredTakeRight = 1;
|
|
4133
4506
|
takeRight.takeRight = void 0;
|
|
4134
|
-
const go_1 = es2018$
|
|
4507
|
+
const go_1 = es2018$6;
|
|
4135
4508
|
const errors_1 = requireEs2018();
|
|
4136
4509
|
function takeRight$1(iterable, count) {
|
|
4137
4510
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4164,7 +4537,7 @@
|
|
|
4164
4537
|
var takeUntilAsync$1 = {};
|
|
4165
4538
|
|
|
4166
4539
|
takeUntilAsync$1.takeUntilAsync = void 0;
|
|
4167
|
-
const types_1$b = es2018$
|
|
4540
|
+
const types_1$b = es2018$5;
|
|
4168
4541
|
function takeUntilAsync(iterable, predicate) {
|
|
4169
4542
|
if ((0, types_1$b.isAsyncIterable)(iterable)) {
|
|
4170
4543
|
return takeUntilAsyncIterable(iterable);
|
|
@@ -4215,7 +4588,7 @@
|
|
|
4215
4588
|
if (hasRequiredTake) return take$2;
|
|
4216
4589
|
hasRequiredTake = 1;
|
|
4217
4590
|
take$2.take = void 0;
|
|
4218
|
-
const go_1 = es2018$
|
|
4591
|
+
const go_1 = es2018$6;
|
|
4219
4592
|
const errors_1 = requireEs2018();
|
|
4220
4593
|
function take(iterable, count) {
|
|
4221
4594
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4239,7 +4612,7 @@
|
|
|
4239
4612
|
var tapAsync$1 = {};
|
|
4240
4613
|
|
|
4241
4614
|
tapAsync$1.tapAsync = void 0;
|
|
4242
|
-
const types_1$a = es2018$
|
|
4615
|
+
const types_1$a = es2018$5;
|
|
4243
4616
|
function tapAsync(iterable, fn) {
|
|
4244
4617
|
if ((0, types_1$a.isAsyncIterable)(iterable)) {
|
|
4245
4618
|
return tapAsyncIterable(iterable);
|
|
@@ -4322,7 +4695,7 @@
|
|
|
4322
4695
|
var uniqByAsync$1 = {};
|
|
4323
4696
|
|
|
4324
4697
|
uniqByAsync$1.uniqByAsync = void 0;
|
|
4325
|
-
const types_1$9 = es2018$
|
|
4698
|
+
const types_1$9 = es2018$5;
|
|
4326
4699
|
function uniqByAsync(iterable, fn) {
|
|
4327
4700
|
if ((0, types_1$9.isAsyncIterable)(iterable)) {
|
|
4328
4701
|
return uniqByAsyncIterable(iterable);
|
|
@@ -4391,7 +4764,7 @@
|
|
|
4391
4764
|
var zipAsync$1 = {};
|
|
4392
4765
|
|
|
4393
4766
|
zipAsync$1.zipAsync = void 0;
|
|
4394
|
-
const types_1$8 = es2018$
|
|
4767
|
+
const types_1$8 = es2018$5;
|
|
4395
4768
|
var Kind;
|
|
4396
4769
|
(function (Kind) {
|
|
4397
4770
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4562,7 +4935,7 @@
|
|
|
4562
4935
|
var eachAsync$1 = {};
|
|
4563
4936
|
|
|
4564
4937
|
eachAsync$1.eachAsync = void 0;
|
|
4565
|
-
const types_1$7 = es2018$
|
|
4938
|
+
const types_1$7 = es2018$5;
|
|
4566
4939
|
function eachAsync(iterable, fn) {
|
|
4567
4940
|
if ((0, types_1$7.isAsyncIterable)(iterable)) {
|
|
4568
4941
|
return eachAsyncIterable(iterable);
|
|
@@ -4602,7 +4975,7 @@
|
|
|
4602
4975
|
var everyAsync$1 = {};
|
|
4603
4976
|
|
|
4604
4977
|
everyAsync$1.everyAsync = void 0;
|
|
4605
|
-
const types_1$6 = es2018$
|
|
4978
|
+
const types_1$6 = es2018$5;
|
|
4606
4979
|
function everyAsync(iterable, predicate) {
|
|
4607
4980
|
if ((0, types_1$6.isAsyncIterable)(iterable)) {
|
|
4608
4981
|
return everyAsyncIterable(iterable);
|
|
@@ -4648,7 +5021,7 @@
|
|
|
4648
5021
|
var findAsync$1 = {};
|
|
4649
5022
|
|
|
4650
5023
|
findAsync$1.findAsync = void 0;
|
|
4651
|
-
const types_1$5 = es2018$
|
|
5024
|
+
const types_1$5 = es2018$5;
|
|
4652
5025
|
function findAsync(iterable, predicate) {
|
|
4653
5026
|
if ((0, types_1$5.isAsyncIterable)(iterable)) {
|
|
4654
5027
|
return findAsyncIterable(iterable);
|
|
@@ -4772,7 +5145,7 @@
|
|
|
4772
5145
|
var reduceAsync$1 = {};
|
|
4773
5146
|
|
|
4774
5147
|
reduceAsync$1.reduceAsync = void 0;
|
|
4775
|
-
const types_1$4 = es2018$
|
|
5148
|
+
const types_1$4 = es2018$5;
|
|
4776
5149
|
function reduceAsync(iterable, fn, initialValue) {
|
|
4777
5150
|
if ((0, types_1$4.isUndefined)(initialValue)) {
|
|
4778
5151
|
return reduceAsyncWithoutInitialValue(iterable, fn);
|
|
@@ -4868,7 +5241,7 @@
|
|
|
4868
5241
|
var reduce$3 = {};
|
|
4869
5242
|
|
|
4870
5243
|
reduce$3.reduce = void 0;
|
|
4871
|
-
const types_1$3 = es2018$
|
|
5244
|
+
const types_1$3 = es2018$5;
|
|
4872
5245
|
function reduce$2(iterable, fn, initialValue) {
|
|
4873
5246
|
if ((0, types_1$3.isUndefined)(initialValue)) {
|
|
4874
5247
|
return reduceWithoutInitialValue(iterable, fn);
|
|
@@ -4915,7 +5288,7 @@
|
|
|
4915
5288
|
var someAsync$1 = {};
|
|
4916
5289
|
|
|
4917
5290
|
someAsync$1.someAsync = void 0;
|
|
4918
|
-
const types_1$2 = es2018$
|
|
5291
|
+
const types_1$2 = es2018$5;
|
|
4919
5292
|
function someAsync(iterable, predicate) {
|
|
4920
5293
|
if ((0, types_1$2.isAsyncIterable)(iterable)) {
|
|
4921
5294
|
return someAsyncIterable(iterable);
|
|
@@ -5119,7 +5492,7 @@
|
|
|
5119
5492
|
var hasRequiredEs2018$1;
|
|
5120
5493
|
|
|
5121
5494
|
function requireEs2018$1 () {
|
|
5122
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
5495
|
+
if (hasRequiredEs2018$1) return es2018$7;
|
|
5123
5496
|
hasRequiredEs2018$1 = 1;
|
|
5124
5497
|
(function (exports) {
|
|
5125
5498
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5138,8 +5511,8 @@
|
|
|
5138
5511
|
};__exportStar(requireMiddleware(), exports);
|
|
5139
5512
|
__exportStar(output, exports);
|
|
5140
5513
|
|
|
5141
|
-
} (es2018$
|
|
5142
|
-
return es2018$
|
|
5514
|
+
} (es2018$7));
|
|
5515
|
+
return es2018$7;
|
|
5143
5516
|
}
|
|
5144
5517
|
|
|
5145
5518
|
var getErrorNames$1 = {};
|
|
@@ -5158,7 +5531,7 @@
|
|
|
5158
5531
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
5159
5532
|
|
|
5160
5533
|
getErrorNames$1.getErrorNames = void 0;
|
|
5161
|
-
const types_1$1 = es2018$
|
|
5534
|
+
const types_1$1 = es2018$9;
|
|
5162
5535
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
5163
5536
|
function* getErrorNames(err) {
|
|
5164
5537
|
var _a;
|
|
@@ -5179,7 +5552,7 @@
|
|
|
5179
5552
|
var serializableError = {};
|
|
5180
5553
|
|
|
5181
5554
|
serializableError.isSerializableError = void 0;
|
|
5182
|
-
const types_1 = es2018$
|
|
5555
|
+
const types_1 = es2018$9;
|
|
5183
5556
|
function isSerializableError(val) {
|
|
5184
5557
|
return (0, types_1.isObject)(val)
|
|
5185
5558
|
&& (0, types_1.isString)(val.name)
|
|
@@ -5197,7 +5570,7 @@
|
|
|
5197
5570
|
customError.CustomError = void 0;
|
|
5198
5571
|
const iterable_operator_1 = requireEs2018$1();
|
|
5199
5572
|
const get_error_names_1 = getErrorNames$1;
|
|
5200
|
-
const types_1 = es2018$
|
|
5573
|
+
const types_1 = es2018$9;
|
|
5201
5574
|
const serializable_error_1 = serializableError;
|
|
5202
5575
|
class CustomError extends Error {
|
|
5203
5576
|
get name() {
|
|
@@ -5267,7 +5640,7 @@
|
|
|
5267
5640
|
|
|
5268
5641
|
var hydrate$1 = {};
|
|
5269
5642
|
|
|
5270
|
-
var es2018$
|
|
5643
|
+
var es2018$4 = {};
|
|
5271
5644
|
|
|
5272
5645
|
var pass$1 = {};
|
|
5273
5646
|
|
|
@@ -5287,10 +5660,10 @@
|
|
|
5287
5660
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
5288
5661
|
};__exportStar(pass$1, exports);
|
|
5289
5662
|
|
|
5290
|
-
} (es2018$
|
|
5663
|
+
} (es2018$4));
|
|
5291
5664
|
|
|
5292
5665
|
hydrate$1.hydrate = void 0;
|
|
5293
|
-
const pass_1 = es2018$
|
|
5666
|
+
const pass_1 = es2018$4;
|
|
5294
5667
|
function hydrate(err) {
|
|
5295
5668
|
var _a;
|
|
5296
5669
|
const errorNames = [err.name, ...err.ancestors]
|
|
@@ -5336,7 +5709,7 @@
|
|
|
5336
5709
|
var hasRequiredEs2018;
|
|
5337
5710
|
|
|
5338
5711
|
function requireEs2018 () {
|
|
5339
|
-
if (hasRequiredEs2018) return es2018$
|
|
5712
|
+
if (hasRequiredEs2018) return es2018$8;
|
|
5340
5713
|
hasRequiredEs2018 = 1;
|
|
5341
5714
|
(function (exports) {
|
|
5342
5715
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5361,20 +5734,20 @@
|
|
|
5361
5734
|
__exportStar(getErrorNames$1, exports);
|
|
5362
5735
|
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
5363
5736
|
|
|
5364
|
-
} (es2018$
|
|
5365
|
-
return es2018$
|
|
5737
|
+
} (es2018$8));
|
|
5738
|
+
return es2018$8;
|
|
5366
5739
|
}
|
|
5367
5740
|
|
|
5368
5741
|
var es2018Exports$1 = requireEs2018();
|
|
5369
5742
|
|
|
5370
5743
|
function useSingleSelection(values, defaultSelectedIndex) {
|
|
5371
5744
|
es2018Exports$1.assert(values.length > 0, 'The parameter values must be a non-empty array');
|
|
5372
|
-
if (es2018$
|
|
5745
|
+
if (es2018$9.isntUndefined(defaultSelectedIndex)) {
|
|
5373
5746
|
es2018Exports$1.assert(defaultSelectedIndex >= 0 && defaultSelectedIndex < values.length, 'The parameter defaultSelectedIndex must be in the range of 0 to values.length');
|
|
5374
5747
|
}
|
|
5375
5748
|
const [selectedIndex, setSelectedIndex] = react.exports.useState(defaultSelectedIndex);
|
|
5376
5749
|
return react.exports.useMemo(() => ({
|
|
5377
|
-
selectedValue: es2018$
|
|
5750
|
+
selectedValue: es2018$9.isUndefined(selectedIndex) ? undefined : values[selectedIndex],
|
|
5378
5751
|
options: values.map((value, index) => ({
|
|
5379
5752
|
value,
|
|
5380
5753
|
index,
|
|
@@ -5420,23 +5793,25 @@
|
|
|
5420
5793
|
|
|
5421
5794
|
function useStateCycle(stateList, initialStateIndex = 0) {
|
|
5422
5795
|
const [index, setIndex] = react.exports.useState(initialStateIndex);
|
|
5423
|
-
return [
|
|
5424
|
-
|
|
5425
|
-
|
|
5796
|
+
return [stateList[index], next];
|
|
5797
|
+
function next() {
|
|
5798
|
+
setIndex(index => {
|
|
5426
5799
|
if (index + 1 < stateList.length) {
|
|
5427
5800
|
return index + 1;
|
|
5428
5801
|
}
|
|
5429
5802
|
else {
|
|
5430
5803
|
return 0;
|
|
5431
5804
|
}
|
|
5432
|
-
})
|
|
5433
|
-
|
|
5805
|
+
});
|
|
5806
|
+
}
|
|
5434
5807
|
}
|
|
5435
5808
|
|
|
5436
5809
|
function useToggle(initialState = false) {
|
|
5437
5810
|
const [state, setState] = react.exports.useState(initialState);
|
|
5438
|
-
const toggle = () => setState(state => !state);
|
|
5439
5811
|
return [state, toggle];
|
|
5812
|
+
function toggle() {
|
|
5813
|
+
setState(state => !state);
|
|
5814
|
+
}
|
|
5440
5815
|
}
|
|
5441
5816
|
|
|
5442
5817
|
function useResizeObserver(callback, refs) {
|
|
@@ -5445,7 +5820,7 @@
|
|
|
5445
5820
|
const observer = new ResizeObserver(callback);
|
|
5446
5821
|
refs
|
|
5447
5822
|
.map(x => x.current)
|
|
5448
|
-
.filter(es2018$
|
|
5823
|
+
.filter(es2018$9.isntNull)
|
|
5449
5824
|
.forEach(x => observer.observe(x));
|
|
5450
5825
|
return () => observer.disconnect();
|
|
5451
5826
|
}, deps);
|
|
@@ -5453,29 +5828,27 @@
|
|
|
5453
5828
|
|
|
5454
5829
|
function useStep(steps, initialStepIndex = 0) {
|
|
5455
5830
|
const [index, setIndex] = react.exports.useState(initialStepIndex);
|
|
5456
|
-
return [
|
|
5457
|
-
|
|
5458
|
-
(
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
(
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
}
|
|
5478
|
-
];
|
|
5831
|
+
return [steps[index], next, previous];
|
|
5832
|
+
function next() {
|
|
5833
|
+
setIndex(index => {
|
|
5834
|
+
if (index === steps.length - 1) {
|
|
5835
|
+
return index;
|
|
5836
|
+
}
|
|
5837
|
+
else {
|
|
5838
|
+
return index + 1;
|
|
5839
|
+
}
|
|
5840
|
+
});
|
|
5841
|
+
}
|
|
5842
|
+
function previous() {
|
|
5843
|
+
setIndex(index => {
|
|
5844
|
+
if (index === 0) {
|
|
5845
|
+
return index;
|
|
5846
|
+
}
|
|
5847
|
+
else {
|
|
5848
|
+
return index - 1;
|
|
5849
|
+
}
|
|
5850
|
+
});
|
|
5851
|
+
}
|
|
5479
5852
|
}
|
|
5480
5853
|
|
|
5481
5854
|
function useForceUpdate() {
|
|
@@ -5483,7 +5856,7 @@
|
|
|
5483
5856
|
return () => setState({});
|
|
5484
5857
|
}
|
|
5485
5858
|
|
|
5486
|
-
var es2018$
|
|
5859
|
+
var es2018$3 = {};
|
|
5487
5860
|
|
|
5488
5861
|
var box = {};
|
|
5489
5862
|
|
|
@@ -5717,11 +6090,11 @@
|
|
|
5717
6090
|
|
|
5718
6091
|
var expirableMap = {};
|
|
5719
6092
|
|
|
5720
|
-
var es2018$
|
|
6093
|
+
var es2018$2 = {};
|
|
5721
6094
|
|
|
5722
6095
|
var exponentialBackoff = {};
|
|
5723
6096
|
|
|
5724
|
-
var es2018 = {};
|
|
6097
|
+
var es2018$1 = {};
|
|
5725
6098
|
|
|
5726
6099
|
var random$1 = {};
|
|
5727
6100
|
|
|
@@ -5765,10 +6138,10 @@
|
|
|
5765
6138
|
__exportStar(randomInt$1, exports);
|
|
5766
6139
|
__exportStar(randomIntInclusive$1, exports);
|
|
5767
6140
|
|
|
5768
|
-
} (es2018));
|
|
6141
|
+
} (es2018$1));
|
|
5769
6142
|
|
|
5770
6143
|
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
5771
|
-
const extra_rand_1 = es2018;
|
|
6144
|
+
const extra_rand_1 = es2018$1;
|
|
5772
6145
|
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
5773
6146
|
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
5774
6147
|
if (jitter) {
|
|
@@ -5883,10 +6256,10 @@
|
|
|
5883
6256
|
__exportStar(setTimeoutLoop$1, exports);
|
|
5884
6257
|
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
5885
6258
|
|
|
5886
|
-
} (es2018$
|
|
6259
|
+
} (es2018$2));
|
|
5887
6260
|
|
|
5888
6261
|
expirableMap.ExpirableMap = void 0;
|
|
5889
|
-
const extra_timers_1$1 = es2018$
|
|
6262
|
+
const extra_timers_1$1 = es2018$2;
|
|
5890
6263
|
class ExpirableMap {
|
|
5891
6264
|
constructor() {
|
|
5892
6265
|
this.map = new Map();
|
|
@@ -5984,7 +6357,7 @@
|
|
|
5984
6357
|
tlruMap.TLRUMap = void 0;
|
|
5985
6358
|
const errors_1$1 = requireEs2018();
|
|
5986
6359
|
const iterable_operator_1$1 = requireEs2018$1();
|
|
5987
|
-
const extra_timers_1 = es2018$
|
|
6360
|
+
const extra_timers_1 = es2018$2;
|
|
5988
6361
|
class TLRUMap {
|
|
5989
6362
|
constructor(limit) {
|
|
5990
6363
|
this.map = new Map();
|
|
@@ -6223,13 +6596,13 @@
|
|
|
6223
6596
|
|
|
6224
6597
|
var Subscriber = {};
|
|
6225
6598
|
|
|
6226
|
-
var isFunction$
|
|
6599
|
+
var isFunction$2 = {};
|
|
6227
6600
|
|
|
6228
|
-
isFunction$
|
|
6229
|
-
function isFunction(value) {
|
|
6601
|
+
isFunction$2.isFunction = void 0;
|
|
6602
|
+
function isFunction$1(value) {
|
|
6230
6603
|
return typeof value === 'function';
|
|
6231
6604
|
}
|
|
6232
|
-
isFunction$
|
|
6605
|
+
isFunction$2.isFunction = isFunction$1;
|
|
6233
6606
|
|
|
6234
6607
|
var Subscription$1 = {};
|
|
6235
6608
|
|
|
@@ -6306,7 +6679,7 @@
|
|
|
6306
6679
|
to[j] = from[i];
|
|
6307
6680
|
return to;
|
|
6308
6681
|
};Subscription$1.isSubscription = Subscription$1.EMPTY_SUBSCRIPTION = Subscription$1.Subscription = void 0;
|
|
6309
|
-
var isFunction_1$p = isFunction$
|
|
6682
|
+
var isFunction_1$p = isFunction$2;
|
|
6310
6683
|
var UnsubscriptionError_1 = UnsubscriptionError;
|
|
6311
6684
|
var arrRemove_1$7 = arrRemove$1;
|
|
6312
6685
|
var Subscription = (function () {
|
|
@@ -6599,7 +6972,7 @@
|
|
|
6599
6972
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6600
6973
|
};
|
|
6601
6974
|
})();exports.EMPTY_OBSERVER = exports.SafeSubscriber = exports.Subscriber = void 0;
|
|
6602
|
-
var isFunction_1 = isFunction$
|
|
6975
|
+
var isFunction_1 = isFunction$2;
|
|
6603
6976
|
var Subscription_1 = Subscription$1;
|
|
6604
6977
|
var config_1 = config;
|
|
6605
6978
|
var reportUnhandledError_1 = reportUnhandledError$1;
|
|
@@ -6828,7 +7201,7 @@
|
|
|
6828
7201
|
var observable_1$2 = observable;
|
|
6829
7202
|
var pipe_1$2 = pipe$1;
|
|
6830
7203
|
var config_1 = config;
|
|
6831
|
-
var isFunction_1$o = isFunction$
|
|
7204
|
+
var isFunction_1$o = isFunction$2;
|
|
6832
7205
|
var errorContext_1$1 = errorContext$1;
|
|
6833
7206
|
var Observable = (function () {
|
|
6834
7207
|
function Observable(subscribe) {
|
|
@@ -6932,7 +7305,7 @@
|
|
|
6932
7305
|
var lift = {};
|
|
6933
7306
|
|
|
6934
7307
|
lift.operate = lift.hasLift = void 0;
|
|
6935
|
-
var isFunction_1$n = isFunction$
|
|
7308
|
+
var isFunction_1$n = isFunction$2;
|
|
6936
7309
|
function hasLift(source) {
|
|
6937
7310
|
return isFunction_1$n.isFunction(source === null || source === void 0 ? void 0 : source.lift);
|
|
6938
7311
|
}
|
|
@@ -8427,14 +8800,14 @@
|
|
|
8427
8800
|
var isScheduler$1 = {};
|
|
8428
8801
|
|
|
8429
8802
|
isScheduler$1.isScheduler = void 0;
|
|
8430
|
-
var isFunction_1$m = isFunction$
|
|
8803
|
+
var isFunction_1$m = isFunction$2;
|
|
8431
8804
|
function isScheduler(value) {
|
|
8432
8805
|
return value && isFunction_1$m.isFunction(value.schedule);
|
|
8433
8806
|
}
|
|
8434
8807
|
isScheduler$1.isScheduler = isScheduler;
|
|
8435
8808
|
|
|
8436
8809
|
args.popNumber = args.popScheduler = args.popResultSelector = void 0;
|
|
8437
|
-
var isFunction_1$l = isFunction$
|
|
8810
|
+
var isFunction_1$l = isFunction$2;
|
|
8438
8811
|
var isScheduler_1$3 = isScheduler$1;
|
|
8439
8812
|
function last$2(arr) {
|
|
8440
8813
|
return arr[arr.length - 1];
|
|
@@ -8465,33 +8838,33 @@
|
|
|
8465
8838
|
isArrayLike.isArrayLike = void 0;
|
|
8466
8839
|
isArrayLike.isArrayLike = (function (x) { return x && typeof x.length === 'number' && typeof x !== 'function'; });
|
|
8467
8840
|
|
|
8468
|
-
var isPromise$
|
|
8841
|
+
var isPromise$2 = {};
|
|
8469
8842
|
|
|
8470
|
-
isPromise$
|
|
8471
|
-
var isFunction_1$k = isFunction$
|
|
8472
|
-
function isPromise(value) {
|
|
8843
|
+
isPromise$2.isPromise = void 0;
|
|
8844
|
+
var isFunction_1$k = isFunction$2;
|
|
8845
|
+
function isPromise$1(value) {
|
|
8473
8846
|
return isFunction_1$k.isFunction(value === null || value === void 0 ? void 0 : value.then);
|
|
8474
8847
|
}
|
|
8475
|
-
isPromise$
|
|
8848
|
+
isPromise$2.isPromise = isPromise$1;
|
|
8476
8849
|
|
|
8477
8850
|
var isInteropObservable$1 = {};
|
|
8478
8851
|
|
|
8479
8852
|
isInteropObservable$1.isInteropObservable = void 0;
|
|
8480
8853
|
var observable_1$1 = observable;
|
|
8481
|
-
var isFunction_1$j = isFunction$
|
|
8854
|
+
var isFunction_1$j = isFunction$2;
|
|
8482
8855
|
function isInteropObservable(input) {
|
|
8483
8856
|
return isFunction_1$j.isFunction(input[observable_1$1.observable]);
|
|
8484
8857
|
}
|
|
8485
8858
|
isInteropObservable$1.isInteropObservable = isInteropObservable;
|
|
8486
8859
|
|
|
8487
|
-
var isAsyncIterable$
|
|
8860
|
+
var isAsyncIterable$2 = {};
|
|
8488
8861
|
|
|
8489
|
-
isAsyncIterable$
|
|
8490
|
-
var isFunction_1$i = isFunction$
|
|
8491
|
-
function isAsyncIterable(obj) {
|
|
8862
|
+
isAsyncIterable$2.isAsyncIterable = void 0;
|
|
8863
|
+
var isFunction_1$i = isFunction$2;
|
|
8864
|
+
function isAsyncIterable$1(obj) {
|
|
8492
8865
|
return Symbol.asyncIterator && isFunction_1$i.isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
|
|
8493
8866
|
}
|
|
8494
|
-
isAsyncIterable$
|
|
8867
|
+
isAsyncIterable$2.isAsyncIterable = isAsyncIterable$1;
|
|
8495
8868
|
|
|
8496
8869
|
var throwUnobservableError = {};
|
|
8497
8870
|
|
|
@@ -8501,7 +8874,7 @@
|
|
|
8501
8874
|
}
|
|
8502
8875
|
throwUnobservableError.createInvalidObservableTypeError = createInvalidObservableTypeError;
|
|
8503
8876
|
|
|
8504
|
-
var isIterable$
|
|
8877
|
+
var isIterable$2 = {};
|
|
8505
8878
|
|
|
8506
8879
|
var iterator = {};
|
|
8507
8880
|
|
|
@@ -8515,13 +8888,13 @@
|
|
|
8515
8888
|
iterator.getSymbolIterator = getSymbolIterator;
|
|
8516
8889
|
iterator.iterator = getSymbolIterator();
|
|
8517
8890
|
|
|
8518
|
-
isIterable$
|
|
8891
|
+
isIterable$2.isIterable = void 0;
|
|
8519
8892
|
var iterator_1$1 = iterator;
|
|
8520
|
-
var isFunction_1$h = isFunction$
|
|
8521
|
-
function isIterable(input) {
|
|
8893
|
+
var isFunction_1$h = isFunction$2;
|
|
8894
|
+
function isIterable$1(input) {
|
|
8522
8895
|
return isFunction_1$h.isFunction(input === null || input === void 0 ? void 0 : input[iterator_1$1.iterator]);
|
|
8523
8896
|
}
|
|
8524
|
-
isIterable$
|
|
8897
|
+
isIterable$2.isIterable = isIterable$1;
|
|
8525
8898
|
|
|
8526
8899
|
var isReadableStreamLike$1 = {};
|
|
8527
8900
|
|
|
@@ -8564,7 +8937,7 @@
|
|
|
8564
8937
|
function reject(value) { resume("throw", value); }
|
|
8565
8938
|
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
8566
8939
|
};isReadableStreamLike$1.isReadableStreamLike = isReadableStreamLike$1.readableStreamLikeToAsyncGenerator = void 0;
|
|
8567
|
-
var isFunction_1$g = isFunction$
|
|
8940
|
+
var isFunction_1$g = isFunction$2;
|
|
8568
8941
|
function readableStreamLikeToAsyncGenerator(readableStream) {
|
|
8569
8942
|
return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
|
|
8570
8943
|
var reader, _a, value, done;
|
|
@@ -8658,14 +9031,14 @@
|
|
|
8658
9031
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
8659
9032
|
};innerFrom$1.fromReadableStreamLike = innerFrom$1.fromAsyncIterable = innerFrom$1.fromIterable = innerFrom$1.fromPromise = innerFrom$1.fromArrayLike = innerFrom$1.fromInteropObservable = innerFrom$1.innerFrom = void 0;
|
|
8660
9033
|
var isArrayLike_1$2 = isArrayLike;
|
|
8661
|
-
var isPromise_1$1 = isPromise$
|
|
9034
|
+
var isPromise_1$1 = isPromise$2;
|
|
8662
9035
|
var Observable_1$j = Observable$1;
|
|
8663
9036
|
var isInteropObservable_1$1 = isInteropObservable$1;
|
|
8664
|
-
var isAsyncIterable_1$1 = isAsyncIterable$
|
|
9037
|
+
var isAsyncIterable_1$1 = isAsyncIterable$2;
|
|
8665
9038
|
var throwUnobservableError_1$1 = throwUnobservableError;
|
|
8666
|
-
var isIterable_1$1 = isIterable$
|
|
9039
|
+
var isIterable_1$1 = isIterable$2;
|
|
8667
9040
|
var isReadableStreamLike_1$2 = isReadableStreamLike$1;
|
|
8668
|
-
var isFunction_1$f = isFunction$
|
|
9041
|
+
var isFunction_1$f = isFunction$2;
|
|
8669
9042
|
var reportUnhandledError_1 = reportUnhandledError$1;
|
|
8670
9043
|
var observable_1 = observable;
|
|
8671
9044
|
function innerFrom(input) {
|
|
@@ -8901,7 +9274,7 @@
|
|
|
8901
9274
|
scheduleIterable$1.scheduleIterable = void 0;
|
|
8902
9275
|
var Observable_1$h = Observable$1;
|
|
8903
9276
|
var iterator_1 = iterator;
|
|
8904
|
-
var isFunction_1$e = isFunction$
|
|
9277
|
+
var isFunction_1$e = isFunction$2;
|
|
8905
9278
|
var executeSchedule_1$5 = executeSchedule$1;
|
|
8906
9279
|
function scheduleIterable(input, scheduler) {
|
|
8907
9280
|
return new Observable_1$h.Observable(function (subscriber) {
|
|
@@ -8976,10 +9349,10 @@
|
|
|
8976
9349
|
var scheduleIterable_1$1 = scheduleIterable$1;
|
|
8977
9350
|
var scheduleAsyncIterable_1 = scheduleAsyncIterable$1;
|
|
8978
9351
|
var isInteropObservable_1 = isInteropObservable$1;
|
|
8979
|
-
var isPromise_1 = isPromise$
|
|
9352
|
+
var isPromise_1 = isPromise$2;
|
|
8980
9353
|
var isArrayLike_1$1 = isArrayLike;
|
|
8981
|
-
var isIterable_1 = isIterable$
|
|
8982
|
-
var isAsyncIterable_1 = isAsyncIterable$
|
|
9354
|
+
var isIterable_1 = isIterable$2;
|
|
9355
|
+
var isAsyncIterable_1 = isAsyncIterable$2;
|
|
8983
9356
|
var throwUnobservableError_1 = throwUnobservableError;
|
|
8984
9357
|
var isReadableStreamLike_1 = isReadableStreamLike$1;
|
|
8985
9358
|
var scheduleReadableStreamLike_1 = scheduleReadableStreamLike$1;
|
|
@@ -9033,7 +9406,7 @@
|
|
|
9033
9406
|
|
|
9034
9407
|
throwError$1.throwError = void 0;
|
|
9035
9408
|
var Observable_1$f = Observable$1;
|
|
9036
|
-
var isFunction_1$d = isFunction$
|
|
9409
|
+
var isFunction_1$d = isFunction$2;
|
|
9037
9410
|
function throwError(errorOrErrorFactory, scheduler) {
|
|
9038
9411
|
var errorFactory = isFunction_1$d.isFunction(errorOrErrorFactory) ? errorOrErrorFactory : function () { return errorOrErrorFactory; };
|
|
9039
9412
|
var init = function (subscriber) { return subscriber.error(errorFactory()); };
|
|
@@ -9046,7 +9419,7 @@
|
|
|
9046
9419
|
var empty_1 = empty;
|
|
9047
9420
|
var of_1 = of$1;
|
|
9048
9421
|
var throwError_1 = throwError$1;
|
|
9049
|
-
var isFunction_1 = isFunction$
|
|
9422
|
+
var isFunction_1 = isFunction$2;
|
|
9050
9423
|
(function (NotificationKind) {
|
|
9051
9424
|
NotificationKind["NEXT"] = "N";
|
|
9052
9425
|
NotificationKind["ERROR"] = "E";
|
|
@@ -9121,7 +9494,7 @@
|
|
|
9121
9494
|
|
|
9122
9495
|
isObservable$1.isObservable = void 0;
|
|
9123
9496
|
var Observable_1$e = Observable$1;
|
|
9124
|
-
var isFunction_1$c = isFunction$
|
|
9497
|
+
var isFunction_1$c = isFunction$2;
|
|
9125
9498
|
function isObservable(obj) {
|
|
9126
9499
|
return !!obj && (obj instanceof Observable_1$e.Observable || (isFunction_1$c.isFunction(obj.lift) && isFunction_1$c.isFunction(obj.subscribe)));
|
|
9127
9500
|
}
|
|
@@ -9234,18 +9607,18 @@
|
|
|
9234
9607
|
|
|
9235
9608
|
var timeout = {};
|
|
9236
9609
|
|
|
9237
|
-
var isDate = {};
|
|
9610
|
+
var isDate$1 = {};
|
|
9238
9611
|
|
|
9239
|
-
isDate.isValidDate = void 0;
|
|
9612
|
+
isDate$1.isValidDate = void 0;
|
|
9240
9613
|
function isValidDate(value) {
|
|
9241
9614
|
return value instanceof Date && !isNaN(value);
|
|
9242
9615
|
}
|
|
9243
|
-
isDate.isValidDate = isValidDate;
|
|
9616
|
+
isDate$1.isValidDate = isValidDate;
|
|
9244
9617
|
|
|
9245
9618
|
(function (exports) {
|
|
9246
9619
|
exports.timeout = exports.TimeoutError = void 0;
|
|
9247
9620
|
var async_1 = async;
|
|
9248
|
-
var isDate_1 = isDate;
|
|
9621
|
+
var isDate_1 = isDate$1;
|
|
9249
9622
|
var lift_1 = lift;
|
|
9250
9623
|
var innerFrom_1 = innerFrom$1;
|
|
9251
9624
|
var createErrorClass_1 = createErrorClass$1;
|
|
@@ -9349,9 +9722,9 @@
|
|
|
9349
9722
|
return to;
|
|
9350
9723
|
};mapOneOrManyArgs$1.mapOneOrManyArgs = void 0;
|
|
9351
9724
|
var map_1$5 = map$1;
|
|
9352
|
-
var isArray$
|
|
9725
|
+
var isArray$3 = Array.isArray;
|
|
9353
9726
|
function callOrApply(fn, args) {
|
|
9354
|
-
return isArray$
|
|
9727
|
+
return isArray$3(args) ? fn.apply(void 0, __spreadArray$f([], __read$g(args))) : fn(args);
|
|
9355
9728
|
}
|
|
9356
9729
|
function mapOneOrManyArgs(fn) {
|
|
9357
9730
|
return map_1$5.map(function (args) { return callOrApply(fn, args); });
|
|
@@ -9479,12 +9852,12 @@
|
|
|
9479
9852
|
var argsArgArrayOrObject$1 = {};
|
|
9480
9853
|
|
|
9481
9854
|
argsArgArrayOrObject$1.argsArgArrayOrObject = void 0;
|
|
9482
|
-
var isArray$
|
|
9855
|
+
var isArray$2 = Array.isArray;
|
|
9483
9856
|
var getPrototypeOf = Object.getPrototypeOf, objectProto = Object.prototype, getKeys = Object.keys;
|
|
9484
9857
|
function argsArgArrayOrObject(args) {
|
|
9485
9858
|
if (args.length === 1) {
|
|
9486
9859
|
var first_1 = args[0];
|
|
9487
|
-
if (isArray$
|
|
9860
|
+
if (isArray$2(first_1)) {
|
|
9488
9861
|
return { args: first_1, keys: null };
|
|
9489
9862
|
}
|
|
9490
9863
|
if (isPOJO(first_1)) {
|
|
@@ -9661,7 +10034,7 @@
|
|
|
9661
10034
|
var innerFrom_1$p = innerFrom$1;
|
|
9662
10035
|
var lift_1$10 = lift;
|
|
9663
10036
|
var mergeInternals_1$2 = mergeInternals$1;
|
|
9664
|
-
var isFunction_1$b = isFunction$
|
|
10037
|
+
var isFunction_1$b = isFunction$2;
|
|
9665
10038
|
function mergeMap(project, resultSelector, concurrent) {
|
|
9666
10039
|
if (concurrent === void 0) { concurrent = Infinity; }
|
|
9667
10040
|
if (isFunction_1$b.isFunction(resultSelector)) {
|
|
@@ -9819,7 +10192,7 @@
|
|
|
9819
10192
|
var Observable_1$8 = Observable$1;
|
|
9820
10193
|
var mergeMap_1$5 = mergeMap$1;
|
|
9821
10194
|
var isArrayLike_1 = isArrayLike;
|
|
9822
|
-
var isFunction_1$a = isFunction$
|
|
10195
|
+
var isFunction_1$a = isFunction$2;
|
|
9823
10196
|
var mapOneOrManyArgs_1$3 = mapOneOrManyArgs$1;
|
|
9824
10197
|
var nodeEventEmitterMethods = ['addListener', 'removeListener'];
|
|
9825
10198
|
var eventTargetMethods = ['addEventListener', 'removeEventListener'];
|
|
@@ -9878,7 +10251,7 @@
|
|
|
9878
10251
|
|
|
9879
10252
|
fromEventPattern$1.fromEventPattern = void 0;
|
|
9880
10253
|
var Observable_1$7 = Observable$1;
|
|
9881
|
-
var isFunction_1$9 = isFunction$
|
|
10254
|
+
var isFunction_1$9 = isFunction$2;
|
|
9882
10255
|
var mapOneOrManyArgs_1$2 = mapOneOrManyArgs$1;
|
|
9883
10256
|
function fromEventPattern(addHandler, removeHandler, resultSelector) {
|
|
9884
10257
|
if (resultSelector) {
|
|
@@ -9993,7 +10366,7 @@
|
|
|
9993
10366
|
var Observable_1$6 = Observable$1;
|
|
9994
10367
|
var async_1$a = async;
|
|
9995
10368
|
var isScheduler_1 = isScheduler$1;
|
|
9996
|
-
var isDate_1$1 = isDate;
|
|
10369
|
+
var isDate_1$1 = isDate$1;
|
|
9997
10370
|
function timer(dueTime, intervalOrScheduler, scheduler) {
|
|
9998
10371
|
if (dueTime === void 0) { dueTime = 0; }
|
|
9999
10372
|
if (scheduler === void 0) { scheduler = async_1$a.async; }
|
|
@@ -10088,9 +10461,9 @@
|
|
|
10088
10461
|
var argsOrArgArray$1 = {};
|
|
10089
10462
|
|
|
10090
10463
|
argsOrArgArray$1.argsOrArgArray = void 0;
|
|
10091
|
-
var isArray = Array.isArray;
|
|
10464
|
+
var isArray$1 = Array.isArray;
|
|
10092
10465
|
function argsOrArgArray(args) {
|
|
10093
|
-
return args.length === 1 && isArray(args[0]) ? args[0] : args;
|
|
10466
|
+
return args.length === 1 && isArray$1(args[0]) ? args[0] : args;
|
|
10094
10467
|
}
|
|
10095
10468
|
argsOrArgArray$1.argsOrArgArray = argsOrArgArray;
|
|
10096
10469
|
|
|
@@ -10901,7 +11274,7 @@
|
|
|
10901
11274
|
|
|
10902
11275
|
concatMap$1.concatMap = void 0;
|
|
10903
11276
|
var mergeMap_1$3 = mergeMap$1;
|
|
10904
|
-
var isFunction_1$8 = isFunction$
|
|
11277
|
+
var isFunction_1$8 = isFunction$2;
|
|
10905
11278
|
function concatMap(project, resultSelector) {
|
|
10906
11279
|
return isFunction_1$8.isFunction(resultSelector) ? mergeMap_1$3.mergeMap(project, resultSelector, 1) : mergeMap_1$3.mergeMap(project, 1);
|
|
10907
11280
|
}
|
|
@@ -10911,7 +11284,7 @@
|
|
|
10911
11284
|
|
|
10912
11285
|
concatMapTo$1.concatMapTo = void 0;
|
|
10913
11286
|
var concatMap_1 = concatMap$1;
|
|
10914
|
-
var isFunction_1$7 = isFunction$
|
|
11287
|
+
var isFunction_1$7 = isFunction$2;
|
|
10915
11288
|
function concatMapTo(innerObservable, resultSelector) {
|
|
10916
11289
|
return isFunction_1$7.isFunction(resultSelector) ? concatMap_1.concatMap(function () { return innerObservable; }, resultSelector) : concatMap_1.concatMap(function () { return innerObservable; });
|
|
10917
11290
|
}
|
|
@@ -11699,7 +12072,7 @@
|
|
|
11699
12072
|
|
|
11700
12073
|
max$1.max = void 0;
|
|
11701
12074
|
var reduce_1$1 = reduce$1;
|
|
11702
|
-
var isFunction_1$6 = isFunction$
|
|
12075
|
+
var isFunction_1$6 = isFunction$2;
|
|
11703
12076
|
function max(comparer) {
|
|
11704
12077
|
return reduce_1$1.reduce(isFunction_1$6.isFunction(comparer) ? function (x, y) { return (comparer(x, y) > 0 ? x : y); } : function (x, y) { return (x > y ? x : y); });
|
|
11705
12078
|
}
|
|
@@ -11715,7 +12088,7 @@
|
|
|
11715
12088
|
|
|
11716
12089
|
mergeMapTo$1.mergeMapTo = void 0;
|
|
11717
12090
|
var mergeMap_1 = mergeMap$1;
|
|
11718
|
-
var isFunction_1$5 = isFunction$
|
|
12091
|
+
var isFunction_1$5 = isFunction$2;
|
|
11719
12092
|
function mergeMapTo(innerObservable, resultSelector, concurrent) {
|
|
11720
12093
|
if (concurrent === void 0) { concurrent = Infinity; }
|
|
11721
12094
|
if (isFunction_1$5.isFunction(resultSelector)) {
|
|
@@ -11823,7 +12196,7 @@
|
|
|
11823
12196
|
|
|
11824
12197
|
min$1.min = void 0;
|
|
11825
12198
|
var reduce_1 = reduce$1;
|
|
11826
|
-
var isFunction_1$4 = isFunction$
|
|
12199
|
+
var isFunction_1$4 = isFunction$2;
|
|
11827
12200
|
function min(comparer) {
|
|
11828
12201
|
return reduce_1.reduce(isFunction_1$4.isFunction(comparer) ? function (x, y) { return (comparer(x, y) < 0 ? x : y); } : function (x, y) { return (x < y ? x : y); });
|
|
11829
12202
|
}
|
|
@@ -11833,7 +12206,7 @@
|
|
|
11833
12206
|
|
|
11834
12207
|
multicast$1.multicast = void 0;
|
|
11835
12208
|
var ConnectableObservable_1$2 = ConnectableObservable$1;
|
|
11836
|
-
var isFunction_1$3 = isFunction$
|
|
12209
|
+
var isFunction_1$3 = isFunction$2;
|
|
11837
12210
|
var connect_1$1 = connect$1;
|
|
11838
12211
|
function multicast(subjectOrSubjectFactory, selector) {
|
|
11839
12212
|
var subjectFactory = isFunction_1$3.isFunction(subjectOrSubjectFactory) ? subjectOrSubjectFactory : function () { return subjectOrSubjectFactory; };
|
|
@@ -11936,7 +12309,7 @@
|
|
|
11936
12309
|
publishReplay$1.publishReplay = void 0;
|
|
11937
12310
|
var ReplaySubject_1$1 = ReplaySubject$1;
|
|
11938
12311
|
var multicast_1 = multicast$1;
|
|
11939
|
-
var isFunction_1$2 = isFunction$
|
|
12312
|
+
var isFunction_1$2 = isFunction$2;
|
|
11940
12313
|
function publishReplay(bufferSize, windowTime, selectorOrScheduler, timestampProvider) {
|
|
11941
12314
|
if (selectorOrScheduler && !isFunction_1$2.isFunction(selectorOrScheduler)) {
|
|
11942
12315
|
timestampProvider = selectorOrScheduler;
|
|
@@ -12593,7 +12966,7 @@
|
|
|
12593
12966
|
|
|
12594
12967
|
switchMapTo$1.switchMapTo = void 0;
|
|
12595
12968
|
var switchMap_1$1 = switchMap$1;
|
|
12596
|
-
var isFunction_1$1 = isFunction$
|
|
12969
|
+
var isFunction_1$1 = isFunction$2;
|
|
12597
12970
|
function switchMapTo(innerObservable, resultSelector) {
|
|
12598
12971
|
return isFunction_1$1.isFunction(resultSelector) ? switchMap_1$1.switchMap(function () { return innerObservable; }, resultSelector) : switchMap_1$1.switchMap(function () { return innerObservable; });
|
|
12599
12972
|
}
|
|
@@ -12651,7 +13024,7 @@
|
|
|
12651
13024
|
var tap$1 = {};
|
|
12652
13025
|
|
|
12653
13026
|
tap$1.tap = void 0;
|
|
12654
|
-
var isFunction_1 = isFunction$
|
|
13027
|
+
var isFunction_1 = isFunction$2;
|
|
12655
13028
|
var lift_1$8 = lift;
|
|
12656
13029
|
var OperatorSubscriber_1$7 = OperatorSubscriber$1;
|
|
12657
13030
|
var identity_1$1 = identity$1;
|
|
@@ -12795,7 +13168,7 @@
|
|
|
12795
13168
|
|
|
12796
13169
|
timeoutWith$1.timeoutWith = void 0;
|
|
12797
13170
|
var async_1$1 = async;
|
|
12798
|
-
var isDate_1 = isDate;
|
|
13171
|
+
var isDate_1 = isDate$1;
|
|
12799
13172
|
var timeout_1 = timeout;
|
|
12800
13173
|
function timeoutWith(due, withObservable, scheduler) {
|
|
12801
13174
|
var first;
|
|
@@ -13624,32 +13997,392 @@
|
|
|
13624
13997
|
|
|
13625
13998
|
} (cjs));
|
|
13626
13999
|
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
|
|
13646
|
-
|
|
13647
|
-
|
|
13648
|
-
|
|
13649
|
-
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
|
|
14000
|
+
var es2018 = {};
|
|
14001
|
+
|
|
14002
|
+
var array = {};
|
|
14003
|
+
|
|
14004
|
+
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
14005
|
+
function isArray(val) {
|
|
14006
|
+
return Array.isArray(val);
|
|
14007
|
+
}
|
|
14008
|
+
array.isArray = isArray;
|
|
14009
|
+
function isntArray(val) {
|
|
14010
|
+
return !isArray(val);
|
|
14011
|
+
}
|
|
14012
|
+
array.isntArray = isntArray;
|
|
14013
|
+
function isEmptyArray(val) {
|
|
14014
|
+
return val.length === 0;
|
|
14015
|
+
}
|
|
14016
|
+
array.isEmptyArray = isEmptyArray;
|
|
14017
|
+
function isntEmptyArray(val) {
|
|
14018
|
+
return val.length !== 0;
|
|
14019
|
+
}
|
|
14020
|
+
array.isntEmptyArray = isntEmptyArray;
|
|
14021
|
+
|
|
14022
|
+
var asyncIterable = {};
|
|
14023
|
+
|
|
14024
|
+
var _null = {};
|
|
14025
|
+
|
|
14026
|
+
_null.isntNull = _null.isNull = void 0;
|
|
14027
|
+
function isNull(val) {
|
|
14028
|
+
return val === null;
|
|
14029
|
+
}
|
|
14030
|
+
_null.isNull = isNull;
|
|
14031
|
+
function isntNull(val) {
|
|
14032
|
+
return !isNull(val);
|
|
14033
|
+
}
|
|
14034
|
+
_null.isntNull = isntNull;
|
|
14035
|
+
|
|
14036
|
+
var _undefined = {};
|
|
14037
|
+
|
|
14038
|
+
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
14039
|
+
function isUndefined(val) {
|
|
14040
|
+
return val === undefined;
|
|
14041
|
+
}
|
|
14042
|
+
_undefined.isUndefined = isUndefined;
|
|
14043
|
+
function isntUndefined(val) {
|
|
14044
|
+
return !isUndefined(val);
|
|
14045
|
+
}
|
|
14046
|
+
_undefined.isntUndefined = isntUndefined;
|
|
14047
|
+
|
|
14048
|
+
var _function = {};
|
|
14049
|
+
|
|
14050
|
+
_function.isntFunction = _function.isFunction = void 0;
|
|
14051
|
+
function isFunction(val) {
|
|
14052
|
+
return typeof val === 'function';
|
|
14053
|
+
}
|
|
14054
|
+
_function.isFunction = isFunction;
|
|
14055
|
+
function isntFunction(val) {
|
|
14056
|
+
return !isFunction(val);
|
|
14057
|
+
}
|
|
14058
|
+
_function.isntFunction = isntFunction;
|
|
14059
|
+
|
|
14060
|
+
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
14061
|
+
const null_1$2 = _null;
|
|
14062
|
+
const undefined_1$1 = _undefined;
|
|
14063
|
+
const function_1$2 = _function;
|
|
14064
|
+
function isAsyncIterable(val) {
|
|
14065
|
+
return (0, null_1$2.isntNull)(val)
|
|
14066
|
+
&& (0, undefined_1$1.isntUndefined)(val)
|
|
14067
|
+
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
14068
|
+
}
|
|
14069
|
+
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
14070
|
+
function isntAsyncIterable(val) {
|
|
14071
|
+
return !isAsyncIterable(val);
|
|
14072
|
+
}
|
|
14073
|
+
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
14074
|
+
|
|
14075
|
+
var bigint = {};
|
|
14076
|
+
|
|
14077
|
+
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
14078
|
+
function isBigInt(val) {
|
|
14079
|
+
return typeof val === 'bigint';
|
|
14080
|
+
}
|
|
14081
|
+
bigint.isBigInt = isBigInt;
|
|
14082
|
+
function isntBigInt(val) {
|
|
14083
|
+
return !isBigInt(val);
|
|
14084
|
+
}
|
|
14085
|
+
bigint.isntBigInt = isntBigInt;
|
|
14086
|
+
|
|
14087
|
+
var boolean = {};
|
|
14088
|
+
|
|
14089
|
+
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
14090
|
+
function isBoolean(val) {
|
|
14091
|
+
return typeof val === 'boolean';
|
|
14092
|
+
}
|
|
14093
|
+
boolean.isBoolean = isBoolean;
|
|
14094
|
+
function isntBoolean(val) {
|
|
14095
|
+
return !isBoolean(val);
|
|
14096
|
+
}
|
|
14097
|
+
boolean.isntBoolean = isntBoolean;
|
|
14098
|
+
|
|
14099
|
+
var char = {};
|
|
14100
|
+
|
|
14101
|
+
var string = {};
|
|
14102
|
+
|
|
14103
|
+
string.isntString = string.isString = void 0;
|
|
14104
|
+
function isString(val) {
|
|
14105
|
+
return typeof val === 'string';
|
|
14106
|
+
}
|
|
14107
|
+
string.isString = isString;
|
|
14108
|
+
function isntString(val) {
|
|
14109
|
+
return !isString(val);
|
|
14110
|
+
}
|
|
14111
|
+
string.isntString = isntString;
|
|
14112
|
+
|
|
14113
|
+
char.isntChar = char.isChar = void 0;
|
|
14114
|
+
const string_1$1 = string;
|
|
14115
|
+
function isChar(val) {
|
|
14116
|
+
return (0, string_1$1.isString)(val)
|
|
14117
|
+
&& val.length === 1;
|
|
14118
|
+
}
|
|
14119
|
+
char.isChar = isChar;
|
|
14120
|
+
function isntChar(val) {
|
|
14121
|
+
return !isChar(val);
|
|
14122
|
+
}
|
|
14123
|
+
char.isntChar = isntChar;
|
|
14124
|
+
|
|
14125
|
+
var date = {};
|
|
14126
|
+
|
|
14127
|
+
date.isntDate = date.isDate = void 0;
|
|
14128
|
+
function isDate(val) {
|
|
14129
|
+
return val instanceof Date;
|
|
14130
|
+
}
|
|
14131
|
+
date.isDate = isDate;
|
|
14132
|
+
function isntDate(val) {
|
|
14133
|
+
return !isDate(val);
|
|
14134
|
+
}
|
|
14135
|
+
date.isntDate = isntDate;
|
|
14136
|
+
|
|
14137
|
+
var _enum = {};
|
|
14138
|
+
|
|
14139
|
+
_enum.inEnum = void 0;
|
|
14140
|
+
function inEnum(val, _enum) {
|
|
14141
|
+
return Object.values(_enum).includes(val);
|
|
14142
|
+
}
|
|
14143
|
+
_enum.inEnum = inEnum;
|
|
14144
|
+
|
|
14145
|
+
var error = {};
|
|
14146
|
+
|
|
14147
|
+
error.isntError = error.isError = void 0;
|
|
14148
|
+
function isError(val) {
|
|
14149
|
+
return val instanceof Error;
|
|
14150
|
+
}
|
|
14151
|
+
error.isError = isError;
|
|
14152
|
+
function isntError(val) {
|
|
14153
|
+
return !isError(val);
|
|
14154
|
+
}
|
|
14155
|
+
error.isntError = isntError;
|
|
14156
|
+
|
|
14157
|
+
var falsy = {};
|
|
14158
|
+
|
|
14159
|
+
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
14160
|
+
function isFalsy(val) {
|
|
14161
|
+
return !val;
|
|
14162
|
+
}
|
|
14163
|
+
falsy.isFalsy = isFalsy;
|
|
14164
|
+
function isntFalsy(val) {
|
|
14165
|
+
return !isFalsy(val);
|
|
14166
|
+
}
|
|
14167
|
+
falsy.isntFalsy = isntFalsy;
|
|
14168
|
+
|
|
14169
|
+
var iterable = {};
|
|
14170
|
+
|
|
14171
|
+
iterable.isntIterable = iterable.isIterable = void 0;
|
|
14172
|
+
const null_1$1 = _null;
|
|
14173
|
+
const undefined_1 = _undefined;
|
|
14174
|
+
const function_1$1 = _function;
|
|
14175
|
+
function isIterable(val) {
|
|
14176
|
+
return (0, null_1$1.isntNull)(val)
|
|
14177
|
+
&& (0, undefined_1.isntUndefined)(val)
|
|
14178
|
+
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
14179
|
+
}
|
|
14180
|
+
iterable.isIterable = isIterable;
|
|
14181
|
+
function isntIterable(val) {
|
|
14182
|
+
return !isIterable(val);
|
|
14183
|
+
}
|
|
14184
|
+
iterable.isntIterable = isntIterable;
|
|
14185
|
+
|
|
14186
|
+
var json = {};
|
|
14187
|
+
|
|
14188
|
+
var number = {};
|
|
14189
|
+
|
|
14190
|
+
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
14191
|
+
function isNumber(val) {
|
|
14192
|
+
return typeof val === 'number';
|
|
14193
|
+
}
|
|
14194
|
+
number.isNumber = isNumber;
|
|
14195
|
+
function isntNumber(val) {
|
|
14196
|
+
return !isNumber(val);
|
|
14197
|
+
}
|
|
14198
|
+
number.isntNumber = isntNumber;
|
|
14199
|
+
function isFinite(val) {
|
|
14200
|
+
return Number.isFinite(val);
|
|
14201
|
+
}
|
|
14202
|
+
number.isFinite = isFinite;
|
|
14203
|
+
function isPositiveInfinity(val) {
|
|
14204
|
+
return val === Infinity;
|
|
14205
|
+
}
|
|
14206
|
+
number.isPositiveInfinity = isPositiveInfinity;
|
|
14207
|
+
function isNegativeInfinity(val) {
|
|
14208
|
+
return val === -Infinity;
|
|
14209
|
+
}
|
|
14210
|
+
number.isNegativeInfinity = isNegativeInfinity;
|
|
14211
|
+
function isNaN$1(val) {
|
|
14212
|
+
return Number.isNaN(val);
|
|
14213
|
+
}
|
|
14214
|
+
number.isNaN = isNaN$1;
|
|
14215
|
+
function isntNaN(val) {
|
|
14216
|
+
return !isNaN$1(val);
|
|
14217
|
+
}
|
|
14218
|
+
number.isntNaN = isntNaN;
|
|
14219
|
+
|
|
14220
|
+
var object = {};
|
|
14221
|
+
|
|
14222
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
14223
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14224
|
+
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
14225
|
+
const isPlainObject_1 = __importDefault(isPlainObject_1$3);
|
|
14226
|
+
function isObject(val) {
|
|
14227
|
+
return val !== null
|
|
14228
|
+
&& typeof val === 'object';
|
|
14229
|
+
}
|
|
14230
|
+
object.isObject = isObject;
|
|
14231
|
+
function isntObject(val) {
|
|
14232
|
+
return !isObject(val);
|
|
14233
|
+
}
|
|
14234
|
+
object.isntObject = isntObject;
|
|
14235
|
+
function isPlainObject(val) {
|
|
14236
|
+
return (0, isPlainObject_1.default)(val);
|
|
14237
|
+
}
|
|
14238
|
+
object.isPlainObject = isPlainObject;
|
|
14239
|
+
function isntPlainObject(val) {
|
|
14240
|
+
return !isPlainObject(val);
|
|
14241
|
+
}
|
|
14242
|
+
object.isntPlainObject = isntPlainObject;
|
|
14243
|
+
function isEmptyObject(val) {
|
|
14244
|
+
return Object.keys(val).length === 0;
|
|
14245
|
+
}
|
|
14246
|
+
object.isEmptyObject = isEmptyObject;
|
|
14247
|
+
function isntEmptyObject(val) {
|
|
14248
|
+
return Object.keys(val).length !== 0;
|
|
14249
|
+
}
|
|
14250
|
+
object.isntEmptyObject = isntEmptyObject;
|
|
14251
|
+
|
|
14252
|
+
json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
|
|
14253
|
+
const null_1 = _null;
|
|
14254
|
+
const boolean_1 = boolean;
|
|
14255
|
+
const string_1 = string;
|
|
14256
|
+
const number_1 = number;
|
|
14257
|
+
const array_1 = array;
|
|
14258
|
+
const object_1$1 = object;
|
|
14259
|
+
function isJson(val) {
|
|
14260
|
+
return (0, null_1.isNull)(val)
|
|
14261
|
+
|| (0, boolean_1.isBoolean)(val)
|
|
14262
|
+
|| (0, string_1.isString)(val)
|
|
14263
|
+
|| (0, number_1.isNumber)(val)
|
|
14264
|
+
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
14265
|
+
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
14266
|
+
}
|
|
14267
|
+
json.isJson = isJson;
|
|
14268
|
+
function isntJson(val) {
|
|
14269
|
+
return !isJson(val);
|
|
14270
|
+
}
|
|
14271
|
+
json.isntJson = isntJson;
|
|
14272
|
+
function isJsonable(val) {
|
|
14273
|
+
try {
|
|
14274
|
+
JSON.stringify(val);
|
|
14275
|
+
return true;
|
|
14276
|
+
}
|
|
14277
|
+
catch (_a) {
|
|
14278
|
+
return false;
|
|
14279
|
+
}
|
|
14280
|
+
}
|
|
14281
|
+
json.isJsonable = isJsonable;
|
|
14282
|
+
function isntJsonable(val) {
|
|
14283
|
+
return !isntJsonable();
|
|
14284
|
+
}
|
|
14285
|
+
json.isntJsonable = isntJsonable;
|
|
14286
|
+
|
|
14287
|
+
var promise = {};
|
|
14288
|
+
|
|
14289
|
+
promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
|
|
14290
|
+
const object_1 = object;
|
|
14291
|
+
const function_1 = _function;
|
|
14292
|
+
function isPromise(val) {
|
|
14293
|
+
return val instanceof Promise;
|
|
14294
|
+
}
|
|
14295
|
+
promise.isPromise = isPromise;
|
|
14296
|
+
function isntPromise(val) {
|
|
14297
|
+
return !isPromise(val);
|
|
14298
|
+
}
|
|
14299
|
+
promise.isntPromise = isntPromise;
|
|
14300
|
+
function isntPromiseLike(val) {
|
|
14301
|
+
return !isPromiseLike(val);
|
|
14302
|
+
}
|
|
14303
|
+
promise.isntPromiseLike = isntPromiseLike;
|
|
14304
|
+
function isPromiseLike(val) {
|
|
14305
|
+
return (0, object_1.isObject)(val)
|
|
14306
|
+
&& (0, function_1.isFunction)(val.then);
|
|
14307
|
+
}
|
|
14308
|
+
promise.isPromiseLike = isPromiseLike;
|
|
14309
|
+
|
|
14310
|
+
var url = {};
|
|
14311
|
+
|
|
14312
|
+
url.isAbsoluteURL = void 0;
|
|
14313
|
+
function isAbsoluteURL(str) {
|
|
14314
|
+
try {
|
|
14315
|
+
new URL(str);
|
|
14316
|
+
return true;
|
|
14317
|
+
}
|
|
14318
|
+
catch (_a) {
|
|
14319
|
+
return false;
|
|
14320
|
+
}
|
|
14321
|
+
}
|
|
14322
|
+
url.isAbsoluteURL = isAbsoluteURL;
|
|
14323
|
+
|
|
14324
|
+
(function (exports) {
|
|
14325
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14326
|
+
if (k2 === undefined) k2 = k;
|
|
14327
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
14328
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
14329
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14330
|
+
}
|
|
14331
|
+
Object.defineProperty(o, k2, desc);
|
|
14332
|
+
}) : (function(o, m, k, k2) {
|
|
14333
|
+
if (k2 === undefined) k2 = k;
|
|
14334
|
+
o[k2] = m[k];
|
|
14335
|
+
}));
|
|
14336
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
14337
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
14338
|
+
};__exportStar(array, exports);
|
|
14339
|
+
__exportStar(asyncIterable, exports);
|
|
14340
|
+
__exportStar(bigint, exports);
|
|
14341
|
+
__exportStar(boolean, exports);
|
|
14342
|
+
__exportStar(char, exports);
|
|
14343
|
+
__exportStar(date, exports);
|
|
14344
|
+
__exportStar(_enum, exports);
|
|
14345
|
+
__exportStar(error, exports);
|
|
14346
|
+
__exportStar(falsy, exports);
|
|
14347
|
+
__exportStar(_function, exports);
|
|
14348
|
+
__exportStar(iterable, exports);
|
|
14349
|
+
__exportStar(json, exports);
|
|
14350
|
+
__exportStar(_null, exports);
|
|
14351
|
+
__exportStar(number, exports);
|
|
14352
|
+
__exportStar(object, exports);
|
|
14353
|
+
__exportStar(promise, exports);
|
|
14354
|
+
__exportStar(string, exports);
|
|
14355
|
+
__exportStar(_undefined, exports);
|
|
14356
|
+
__exportStar(url, exports);
|
|
14357
|
+
|
|
14358
|
+
} (es2018));
|
|
14359
|
+
|
|
14360
|
+
(function (exports) {
|
|
14361
|
+
exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
|
|
14362
|
+
const finite_state_machine_1 = finiteStateMachine;
|
|
14363
|
+
const rxjs_1 = cjs;
|
|
14364
|
+
const types_1 = es2018;
|
|
14365
|
+
class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
|
|
14366
|
+
constructor() {
|
|
14367
|
+
super(...arguments);
|
|
14368
|
+
this.stateChanges = new rxjs_1.Subject();
|
|
14369
|
+
}
|
|
14370
|
+
observeStateChanges() {
|
|
14371
|
+
return this.stateChanges;
|
|
14372
|
+
}
|
|
14373
|
+
send(event) {
|
|
14374
|
+
const oldState = this.state;
|
|
14375
|
+
super.send(event);
|
|
14376
|
+
const newState = this.state;
|
|
14377
|
+
this.stateChanges.next({ event, oldState, newState });
|
|
14378
|
+
if ((0, types_1.isEmptyObject)(this.schema[newState])) {
|
|
14379
|
+
this.stateChanges.complete();
|
|
14380
|
+
}
|
|
14381
|
+
}
|
|
14382
|
+
}
|
|
14383
|
+
exports.ObservableFiniteStateMachine = ObservableFiniteStateMachine;
|
|
14384
|
+
var finite_state_machine_2 = finiteStateMachine;
|
|
14385
|
+
Object.defineProperty(exports, "BadEventError", { enumerable: true, get: function () { return finite_state_machine_2.BadEventError; } });
|
|
13653
14386
|
|
|
13654
14387
|
} (observableFiniteStateMachine));
|
|
13655
14388
|
|
|
@@ -13680,11 +14413,11 @@
|
|
|
13680
14413
|
__exportStar(finiteStateMachine, exports);
|
|
13681
14414
|
__exportStar(observableFiniteStateMachine, exports);
|
|
13682
14415
|
|
|
13683
|
-
} (es2018$
|
|
14416
|
+
} (es2018$3));
|
|
13684
14417
|
|
|
13685
14418
|
function useFiniteStateMachine(schema, initialState) {
|
|
13686
14419
|
const forceUpdate = useForceUpdate();
|
|
13687
|
-
const fsm = react.exports.useMemo(() => new es2018$
|
|
14420
|
+
const fsm = react.exports.useMemo(() => new es2018$3.ObservableFiniteStateMachine(schema, initialState), [schema]);
|
|
13688
14421
|
react.exports.useEffect(() => {
|
|
13689
14422
|
const observable = fsm.observeStateChanges();
|
|
13690
14423
|
const subscription = observable.subscribe(() => forceUpdate());
|
|
@@ -13693,7 +14426,7 @@
|
|
|
13693
14426
|
return fsm;
|
|
13694
14427
|
}
|
|
13695
14428
|
|
|
13696
|
-
exports.ObservableFiniteStateMachine = es2018$
|
|
14429
|
+
exports.ObservableFiniteStateMachine = es2018$3.ObservableFiniteStateMachine;
|
|
13697
14430
|
exports.useFiniteStateMachine = useFiniteStateMachine;
|
|
13698
14431
|
exports.useForceUpdate = useForceUpdate;
|
|
13699
14432
|
exports.useIncrement = useIncrement;
|