@bigbinary/neeto-commons-frontend 2.0.53 → 2.0.55

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/utils.cjs.js CHANGED
@@ -21,16 +21,181 @@ var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
21
21
  var relativeTime__default = /*#__PURE__*/_interopDefaultLegacy(relativeTime);
22
22
  var updateLocale__default = /*#__PURE__*/_interopDefaultLegacy(updateLocale);
23
23
 
24
- var HEADERS_KEYS = {
24
+ function cov_1ugerkjpgx() {
25
+ var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/constants/axios.js";
26
+ var hash = "9f00aa4e2bf0ed326253647f80a7e5bfd780ca7f";
27
+ var global = new Function("return this")();
28
+ var gcv = "__coverage__";
29
+ var coverageData = {
30
+ path: "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/constants/axios.js",
31
+ statementMap: {
32
+ "0": {
33
+ start: {
34
+ line: 1,
35
+ column: 28
36
+ },
37
+ end: {
38
+ line: 7,
39
+ column: 1
40
+ }
41
+ }
42
+ },
43
+ fnMap: {},
44
+ branchMap: {},
45
+ s: {
46
+ "0": 0
47
+ },
48
+ f: {},
49
+ b: {},
50
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
51
+ hash: "9f00aa4e2bf0ed326253647f80a7e5bfd780ca7f"
52
+ };
53
+ var coverage = global[gcv] || (global[gcv] = {});
54
+ if (!coverage[path] || coverage[path].hash !== hash) {
55
+ coverage[path] = coverageData;
56
+ }
57
+ var actualCoverage = coverage[path];
58
+ {
59
+ // @ts-ignore
60
+ cov_1ugerkjpgx = function () {
61
+ return actualCoverage;
62
+ };
63
+ }
64
+ return actualCoverage;
65
+ }
66
+ cov_1ugerkjpgx();
67
+ var HEADERS_KEYS = (cov_1ugerkjpgx().s[0]++, {
25
68
  xAuthEmail: "X-Auth-Email",
26
69
  xAuthToken: "X-Auth-Token",
27
70
  xCsrfToken: "X-CSRF-TOKEN",
28
71
  contentType: "Content-Type",
29
72
  accept: "Accept"
30
- };
73
+ });
31
74
 
75
+ function cov_i6tsm4dfx() {
76
+ var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/axios.js";
77
+ var hash = "9f3593f540b8e6b3008004a25cc3741a0fd7c1ad";
78
+ var global = new Function("return this")();
79
+ var gcv = "__coverage__";
80
+ var coverageData = {
81
+ path: "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/axios.js",
82
+ statementMap: {
83
+ "0": {
84
+ start: {
85
+ line: 6,
86
+ column: 24
87
+ },
88
+ end: {
89
+ line: 10,
90
+ column: 1
91
+ }
92
+ },
93
+ "1": {
94
+ start: {
95
+ line: 7,
96
+ column: 2
97
+ },
98
+ end: {
99
+ line: 9,
100
+ column: 5
101
+ }
102
+ },
103
+ "2": {
104
+ start: {
105
+ line: 8,
106
+ column: 4
107
+ },
108
+ end: {
109
+ line: 8,
110
+ column: 42
111
+ }
112
+ }
113
+ },
114
+ fnMap: {
115
+ "0": {
116
+ name: "(anonymous_0)",
117
+ decl: {
118
+ start: {
119
+ line: 6,
120
+ column: 24
121
+ },
122
+ end: {
123
+ line: 6,
124
+ column: 25
125
+ }
126
+ },
127
+ loc: {
128
+ start: {
129
+ line: 6,
130
+ column: 30
131
+ },
132
+ end: {
133
+ line: 10,
134
+ column: 1
135
+ }
136
+ },
137
+ line: 6
138
+ },
139
+ "1": {
140
+ name: "(anonymous_1)",
141
+ decl: {
142
+ start: {
143
+ line: 7,
144
+ column: 31
145
+ },
146
+ end: {
147
+ line: 7,
148
+ column: 32
149
+ }
150
+ },
151
+ loc: {
152
+ start: {
153
+ line: 7,
154
+ column: 41
155
+ },
156
+ end: {
157
+ line: 9,
158
+ column: 3
159
+ }
160
+ },
161
+ line: 7
162
+ }
163
+ },
164
+ branchMap: {},
165
+ s: {
166
+ "0": 0,
167
+ "1": 0,
168
+ "2": 0
169
+ },
170
+ f: {
171
+ "0": 0,
172
+ "1": 0
173
+ },
174
+ b: {},
175
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
176
+ hash: "9f3593f540b8e6b3008004a25cc3741a0fd7c1ad"
177
+ };
178
+ var coverage = global[gcv] || (global[gcv] = {});
179
+ if (!coverage[path] || coverage[path].hash !== hash) {
180
+ coverage[path] = coverageData;
181
+ }
182
+ var actualCoverage = coverage[path];
183
+ {
184
+ // @ts-ignore
185
+ cov_i6tsm4dfx = function () {
186
+ return actualCoverage;
187
+ };
188
+ }
189
+ return actualCoverage;
190
+ }
191
+ cov_i6tsm4dfx();
192
+ cov_i6tsm4dfx().s[0]++;
32
193
  var resetAuthTokens = function resetAuthTokens() {
194
+ cov_i6tsm4dfx().f[0]++;
195
+ cov_i6tsm4dfx().s[1]++;
33
196
  ramda.values(HEADERS_KEYS).forEach(function (header) {
197
+ cov_i6tsm4dfx().f[1]++;
198
+ cov_i6tsm4dfx().s[2]++;
34
199
  delete axios__default["default"].defaults.headers[header];
35
200
  });
36
201
  };
@@ -2534,29 +2699,1415 @@ var lib = {
2534
2699
  };
2535
2700
 
2536
2701
  var _this = undefined;
2702
+ function cov_21fmbrrwg() {
2703
+ var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/general.js";
2704
+ var hash = "9b8866fdcba942237d2f340ff28e1a3491bfaabd";
2705
+ var global = new Function("return this")();
2706
+ var gcv = "__coverage__";
2707
+ var coverageData = {
2708
+ path: "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/general.js",
2709
+ statementMap: {
2710
+ "0": {
2711
+ start: {
2712
+ line: 10,
2713
+ column: 50
2714
+ },
2715
+ end: {
2716
+ line: 12,
2717
+ column: 1
2718
+ }
2719
+ },
2720
+ "1": {
2721
+ start: {
2722
+ line: 11,
2723
+ column: 2
2724
+ },
2725
+ end: {
2726
+ line: 11,
2727
+ column: 26
2728
+ }
2729
+ },
2730
+ "2": {
2731
+ start: {
2732
+ line: 14,
2733
+ column: 28
2734
+ },
2735
+ end: {
2736
+ line: 19,
2737
+ column: 1
2738
+ }
2739
+ },
2740
+ "3": {
2741
+ start: {
2742
+ line: 15,
2743
+ column: 15
2744
+ },
2745
+ end: {
2746
+ line: 15,
2747
+ column: 35
2748
+ }
2749
+ },
2750
+ "4": {
2751
+ start: {
2752
+ line: 16,
2753
+ column: 16
2754
+ },
2755
+ end: {
2756
+ line: 16,
2757
+ column: 31
2758
+ }
2759
+ },
2760
+ "5": {
2761
+ start: {
2762
+ line: 18,
2763
+ column: 2
2764
+ },
2765
+ end: {
2766
+ line: 18,
2767
+ column: 43
2768
+ }
2769
+ },
2770
+ "6": {
2771
+ start: {
2772
+ line: 21,
2773
+ column: 31
2774
+ },
2775
+ end: {
2776
+ line: 38,
2777
+ column: 3
2778
+ }
2779
+ },
2780
+ "7": {
2781
+ start: {
2782
+ line: 27,
2783
+ column: 2
2784
+ },
2785
+ end: {
2786
+ line: 38,
2787
+ column: 3
2788
+ }
2789
+ },
2790
+ "8": {
2791
+ start: {
2792
+ line: 28,
2793
+ column: 4
2794
+ },
2795
+ end: {
2796
+ line: 37,
2797
+ column: 13
2798
+ }
2799
+ },
2800
+ "9": {
2801
+ start: {
2802
+ line: 29,
2803
+ column: 30
2804
+ },
2805
+ end: {
2806
+ line: 32,
2807
+ column: 7
2808
+ }
2809
+ },
2810
+ "10": {
2811
+ start: {
2812
+ line: 34,
2813
+ column: 6
2814
+ },
2815
+ end: {
2816
+ line: 36,
2817
+ column: 26
2818
+ }
2819
+ },
2820
+ "11": {
2821
+ start: {
2822
+ line: 40,
2823
+ column: 31
2824
+ },
2825
+ end: {
2826
+ line: 70,
2827
+ column: 1
2828
+ }
2829
+ },
2830
+ "12": {
2831
+ start: {
2832
+ line: 47,
2833
+ column: 2
2834
+ },
2835
+ end: {
2836
+ line: 69,
2837
+ column: 3
2838
+ }
2839
+ },
2840
+ "13": {
2841
+ start: {
2842
+ line: 48,
2843
+ column: 4
2844
+ },
2845
+ end: {
2846
+ line: 64,
2847
+ column: 5
2848
+ }
2849
+ },
2850
+ "14": {
2851
+ start: {
2852
+ line: 49,
2853
+ column: 6
2854
+ },
2855
+ end: {
2856
+ line: 49,
2857
+ column: 48
2858
+ }
2859
+ },
2860
+ "15": {
2861
+ start: {
2862
+ line: 51,
2863
+ column: 23
2864
+ },
2865
+ end: {
2866
+ line: 51,
2867
+ column: 57
2868
+ }
2869
+ },
2870
+ "16": {
2871
+ start: {
2872
+ line: 52,
2873
+ column: 6
2874
+ },
2875
+ end: {
2876
+ line: 52,
2877
+ column: 28
2878
+ }
2879
+ },
2880
+ "17": {
2881
+ start: {
2882
+ line: 54,
2883
+ column: 6
2884
+ },
2885
+ end: {
2886
+ line: 54,
2887
+ column: 31
2888
+ }
2889
+ },
2890
+ "18": {
2891
+ start: {
2892
+ line: 55,
2893
+ column: 6
2894
+ },
2895
+ end: {
2896
+ line: 55,
2897
+ column: 32
2898
+ }
2899
+ },
2900
+ "19": {
2901
+ start: {
2902
+ line: 56,
2903
+ column: 6
2904
+ },
2905
+ end: {
2906
+ line: 56,
2907
+ column: 40
2908
+ }
2909
+ },
2910
+ "20": {
2911
+ start: {
2912
+ line: 58,
2913
+ column: 6
2914
+ },
2915
+ end: {
2916
+ line: 58,
2917
+ column: 42
2918
+ }
2919
+ },
2920
+ "21": {
2921
+ start: {
2922
+ line: 59,
2923
+ column: 6
2924
+ },
2925
+ end: {
2926
+ line: 59,
2927
+ column: 23
2928
+ }
2929
+ },
2930
+ "22": {
2931
+ start: {
2932
+ line: 60,
2933
+ column: 6
2934
+ },
2935
+ end: {
2936
+ line: 60,
2937
+ column: 24
2938
+ }
2939
+ },
2940
+ "23": {
2941
+ start: {
2942
+ line: 62,
2943
+ column: 6
2944
+ },
2945
+ end: {
2946
+ line: 62,
2947
+ column: 35
2948
+ }
2949
+ },
2950
+ "24": {
2951
+ start: {
2952
+ line: 63,
2953
+ column: 6
2954
+ },
2955
+ end: {
2956
+ line: 63,
2957
+ column: 42
2958
+ }
2959
+ },
2960
+ "25": {
2961
+ start: {
2962
+ line: 66,
2963
+ column: 4
2964
+ },
2965
+ end: {
2966
+ line: 66,
2967
+ column: 42
2968
+ }
2969
+ },
2970
+ "26": {
2971
+ start: {
2972
+ line: 68,
2973
+ column: 4
2974
+ },
2975
+ end: {
2976
+ line: 68,
2977
+ column: 24
2978
+ }
2979
+ },
2980
+ "27": {
2981
+ start: {
2982
+ line: 72,
2983
+ column: 24
2984
+ },
2985
+ end: {
2986
+ line: 88,
2987
+ column: 1
2988
+ }
2989
+ },
2990
+ "28": {
2991
+ start: {
2992
+ line: 73,
2993
+ column: 23
2994
+ },
2995
+ end: {
2996
+ line: 73,
2997
+ column: 25
2998
+ }
2999
+ },
3000
+ "29": {
3001
+ start: {
3002
+ line: 74,
3003
+ column: 2
3004
+ },
3005
+ end: {
3006
+ line: 79,
3007
+ column: 5
3008
+ }
3009
+ },
3010
+ "30": {
3011
+ start: {
3012
+ line: 75,
3013
+ column: 4
3014
+ },
3015
+ end: {
3016
+ line: 78,
3017
+ column: 5
3018
+ }
3019
+ },
3020
+ "31": {
3021
+ start: {
3022
+ line: 76,
3023
+ column: 6
3024
+ },
3025
+ end: {
3026
+ line: 76,
3027
+ column: 29
3028
+ }
3029
+ },
3030
+ "32": {
3031
+ start: {
3032
+ line: 77,
3033
+ column: 6
3034
+ },
3035
+ end: {
3036
+ line: 77,
3037
+ column: 66
3038
+ }
3039
+ },
3040
+ "33": {
3041
+ start: {
3042
+ line: 81,
3043
+ column: 22
3044
+ },
3045
+ end: {
3046
+ line: 85,
3047
+ column: 11
3048
+ }
3049
+ },
3050
+ "34": {
3051
+ start: {
3052
+ line: 87,
3053
+ column: 2
3054
+ },
3055
+ end: {
3056
+ line: 87,
3057
+ column: 66
3058
+ }
3059
+ },
3060
+ "35": {
3061
+ start: {
3062
+ line: 90,
3063
+ column: 24
3064
+ },
3065
+ end: {
3066
+ line: 96,
3067
+ column: 3
3068
+ }
3069
+ },
3070
+ "36": {
3071
+ start: {
3072
+ line: 91,
3073
+ column: 2
3074
+ },
3075
+ end: {
3076
+ line: 96,
3077
+ column: 3
3078
+ }
3079
+ },
3080
+ "37": {
3081
+ start: {
3082
+ line: 98,
3083
+ column: 30
3084
+ },
3085
+ end: {
3086
+ line: 99,
3087
+ column: 65
3088
+ }
3089
+ },
3090
+ "38": {
3091
+ start: {
3092
+ line: 99,
3093
+ column: 2
3094
+ },
3095
+ end: {
3096
+ line: 99,
3097
+ column: 65
3098
+ }
3099
+ },
3100
+ "39": {
3101
+ start: {
3102
+ line: 101,
3103
+ column: 30
3104
+ },
3105
+ end: {
3106
+ line: 102,
3107
+ column: 51
3108
+ }
3109
+ },
3110
+ "40": {
3111
+ start: {
3112
+ line: 102,
3113
+ column: 2
3114
+ },
3115
+ end: {
3116
+ line: 102,
3117
+ column: 51
3118
+ }
3119
+ },
3120
+ "41": {
3121
+ start: {
3122
+ line: 104,
3123
+ column: 24
3124
+ },
3125
+ end: {
3126
+ line: 111,
3127
+ column: 1
3128
+ }
3129
+ },
3130
+ "42": {
3131
+ start: {
3132
+ line: 107,
3133
+ column: 2
3134
+ },
3135
+ end: {
3136
+ line: 110,
3137
+ column: 4
3138
+ }
3139
+ },
3140
+ "43": {
3141
+ start: {
3142
+ line: 108,
3143
+ column: 4
3144
+ },
3145
+ end: {
3146
+ line: 108,
3147
+ column: 24
3148
+ }
3149
+ },
3150
+ "44": {
3151
+ start: {
3152
+ line: 109,
3153
+ column: 4
3154
+ },
3155
+ end: {
3156
+ line: 109,
3157
+ column: 60
3158
+ }
3159
+ },
3160
+ "45": {
3161
+ start: {
3162
+ line: 109,
3163
+ column: 29
3164
+ },
3165
+ end: {
3166
+ line: 109,
3167
+ column: 51
3168
+ }
3169
+ }
3170
+ },
3171
+ fnMap: {
3172
+ "0": {
3173
+ name: "(anonymous_0)",
3174
+ decl: {
3175
+ start: {
3176
+ line: 10,
3177
+ column: 56
3178
+ },
3179
+ end: {
3180
+ line: 10,
3181
+ column: 57
3182
+ }
3183
+ },
3184
+ loc: {
3185
+ start: {
3186
+ line: 11,
3187
+ column: 2
3188
+ },
3189
+ end: {
3190
+ line: 11,
3191
+ column: 26
3192
+ }
3193
+ },
3194
+ line: 11
3195
+ },
3196
+ "1": {
3197
+ name: "(anonymous_1)",
3198
+ decl: {
3199
+ start: {
3200
+ line: 14,
3201
+ column: 28
3202
+ },
3203
+ end: {
3204
+ line: 14,
3205
+ column: 29
3206
+ }
3207
+ },
3208
+ loc: {
3209
+ start: {
3210
+ line: 14,
3211
+ column: 34
3212
+ },
3213
+ end: {
3214
+ line: 19,
3215
+ column: 1
3216
+ }
3217
+ },
3218
+ line: 14
3219
+ },
3220
+ "2": {
3221
+ name: "(anonymous_2)",
3222
+ decl: {
3223
+ start: {
3224
+ line: 21,
3225
+ column: 31
3226
+ },
3227
+ end: {
3228
+ line: 21,
3229
+ column: 32
3230
+ }
3231
+ },
3232
+ loc: {
3233
+ start: {
3234
+ line: 27,
3235
+ column: 2
3236
+ },
3237
+ end: {
3238
+ line: 38,
3239
+ column: 3
3240
+ }
3241
+ },
3242
+ line: 27
3243
+ },
3244
+ "3": {
3245
+ name: "(anonymous_3)",
3246
+ decl: {
3247
+ start: {
3248
+ line: 27,
3249
+ column: 14
3250
+ },
3251
+ end: {
3252
+ line: 27,
3253
+ column: 15
3254
+ }
3255
+ },
3256
+ loc: {
3257
+ start: {
3258
+ line: 28,
3259
+ column: 4
3260
+ },
3261
+ end: {
3262
+ line: 37,
3263
+ column: 13
3264
+ }
3265
+ },
3266
+ line: 28
3267
+ },
3268
+ "4": {
3269
+ name: "(anonymous_4)",
3270
+ decl: {
3271
+ start: {
3272
+ line: 28,
3273
+ column: 15
3274
+ },
3275
+ end: {
3276
+ line: 28,
3277
+ column: 16
3278
+ }
3279
+ },
3280
+ loc: {
3281
+ start: {
3282
+ line: 28,
3283
+ column: 21
3284
+ },
3285
+ end: {
3286
+ line: 37,
3287
+ column: 5
3288
+ }
3289
+ },
3290
+ line: 28
3291
+ },
3292
+ "5": {
3293
+ name: "(anonymous_5)",
3294
+ decl: {
3295
+ start: {
3296
+ line: 40,
3297
+ column: 31
3298
+ },
3299
+ end: {
3300
+ line: 40,
3301
+ column: 32
3302
+ }
3303
+ },
3304
+ loc: {
3305
+ start: {
3306
+ line: 46,
3307
+ column: 5
3308
+ },
3309
+ end: {
3310
+ line: 70,
3311
+ column: 1
3312
+ }
3313
+ },
3314
+ line: 46
3315
+ },
3316
+ "6": {
3317
+ name: "(anonymous_6)",
3318
+ decl: {
3319
+ start: {
3320
+ line: 72,
3321
+ column: 24
3322
+ },
3323
+ end: {
3324
+ line: 72,
3325
+ column: 25
3326
+ }
3327
+ },
3328
+ loc: {
3329
+ start: {
3330
+ line: 72,
3331
+ column: 43
3332
+ },
3333
+ end: {
3334
+ line: 88,
3335
+ column: 1
3336
+ }
3337
+ },
3338
+ line: 72
3339
+ },
3340
+ "7": {
3341
+ name: "(anonymous_7)",
3342
+ decl: {
3343
+ start: {
3344
+ line: 74,
3345
+ column: 26
3346
+ },
3347
+ end: {
3348
+ line: 74,
3349
+ column: 27
3350
+ }
3351
+ },
3352
+ loc: {
3353
+ start: {
3354
+ line: 74,
3355
+ column: 44
3356
+ },
3357
+ end: {
3358
+ line: 79,
3359
+ column: 3
3360
+ }
3361
+ },
3362
+ line: 74
3363
+ },
3364
+ "8": {
3365
+ name: "(anonymous_8)",
3366
+ decl: {
3367
+ start: {
3368
+ line: 90,
3369
+ column: 24
3370
+ },
3371
+ end: {
3372
+ line: 90,
3373
+ column: 25
3374
+ }
3375
+ },
3376
+ loc: {
3377
+ start: {
3378
+ line: 91,
3379
+ column: 2
3380
+ },
3381
+ end: {
3382
+ line: 96,
3383
+ column: 3
3384
+ }
3385
+ },
3386
+ line: 91
3387
+ },
3388
+ "9": {
3389
+ name: "(anonymous_9)",
3390
+ decl: {
3391
+ start: {
3392
+ line: 98,
3393
+ column: 30
3394
+ },
3395
+ end: {
3396
+ line: 98,
3397
+ column: 31
3398
+ }
3399
+ },
3400
+ loc: {
3401
+ start: {
3402
+ line: 99,
3403
+ column: 2
3404
+ },
3405
+ end: {
3406
+ line: 99,
3407
+ column: 65
3408
+ }
3409
+ },
3410
+ line: 99
3411
+ },
3412
+ "10": {
3413
+ name: "(anonymous_10)",
3414
+ decl: {
3415
+ start: {
3416
+ line: 101,
3417
+ column: 30
3418
+ },
3419
+ end: {
3420
+ line: 101,
3421
+ column: 31
3422
+ }
3423
+ },
3424
+ loc: {
3425
+ start: {
3426
+ line: 102,
3427
+ column: 2
3428
+ },
3429
+ end: {
3430
+ line: 102,
3431
+ column: 51
3432
+ }
3433
+ },
3434
+ line: 102
3435
+ },
3436
+ "11": {
3437
+ name: "(anonymous_11)",
3438
+ decl: {
3439
+ start: {
3440
+ line: 104,
3441
+ column: 24
3442
+ },
3443
+ end: {
3444
+ line: 104,
3445
+ column: 25
3446
+ }
3447
+ },
3448
+ loc: {
3449
+ start: {
3450
+ line: 104,
3451
+ column: 47
3452
+ },
3453
+ end: {
3454
+ line: 111,
3455
+ column: 1
3456
+ }
3457
+ },
3458
+ line: 104
3459
+ },
3460
+ "12": {
3461
+ name: "(anonymous_12)",
3462
+ decl: {
3463
+ start: {
3464
+ line: 107,
3465
+ column: 9
3466
+ },
3467
+ end: {
3468
+ line: 107,
3469
+ column: 10
3470
+ }
3471
+ },
3472
+ loc: {
3473
+ start: {
3474
+ line: 107,
3475
+ column: 22
3476
+ },
3477
+ end: {
3478
+ line: 110,
3479
+ column: 3
3480
+ }
3481
+ },
3482
+ line: 107
3483
+ },
3484
+ "13": {
3485
+ name: "(anonymous_13)",
3486
+ decl: {
3487
+ start: {
3488
+ line: 109,
3489
+ column: 23
3490
+ },
3491
+ end: {
3492
+ line: 109,
3493
+ column: 24
3494
+ }
3495
+ },
3496
+ loc: {
3497
+ start: {
3498
+ line: 109,
3499
+ column: 29
3500
+ },
3501
+ end: {
3502
+ line: 109,
3503
+ column: 51
3504
+ }
3505
+ },
3506
+ line: 109
3507
+ }
3508
+ },
3509
+ branchMap: {
3510
+ "0": {
3511
+ loc: {
3512
+ start: {
3513
+ line: 18,
3514
+ column: 9
3515
+ },
3516
+ end: {
3517
+ line: 18,
3518
+ column: 42
3519
+ }
3520
+ },
3521
+ type: "cond-expr",
3522
+ locations: [{
3523
+ start: {
3524
+ line: 18,
3525
+ column: 29
3526
+ },
3527
+ end: {
3528
+ line: 18,
3529
+ column: 37
3530
+ }
3531
+ }, {
3532
+ start: {
3533
+ line: 18,
3534
+ column: 40
3535
+ },
3536
+ end: {
3537
+ line: 18,
3538
+ column: 42
3539
+ }
3540
+ }],
3541
+ line: 18
3542
+ },
3543
+ "1": {
3544
+ loc: {
3545
+ start: {
3546
+ line: 24,
3547
+ column: 2
3548
+ },
3549
+ end: {
3550
+ line: 24,
3551
+ column: 24
3552
+ }
3553
+ },
3554
+ type: "default-arg",
3555
+ locations: [{
3556
+ start: {
3557
+ line: 24,
3558
+ column: 21
3559
+ },
3560
+ end: {
3561
+ line: 24,
3562
+ column: 24
3563
+ }
3564
+ }],
3565
+ line: 24
3566
+ },
3567
+ "2": {
3568
+ loc: {
3569
+ start: {
3570
+ line: 25,
3571
+ column: 2
3572
+ },
3573
+ end: {
3574
+ line: 25,
3575
+ column: 33
3576
+ }
3577
+ },
3578
+ type: "default-arg",
3579
+ locations: [{
3580
+ start: {
3581
+ line: 25,
3582
+ column: 10
3583
+ },
3584
+ end: {
3585
+ line: 25,
3586
+ column: 33
3587
+ }
3588
+ }],
3589
+ line: 25
3590
+ },
3591
+ "3": {
3592
+ loc: {
3593
+ start: {
3594
+ line: 34,
3595
+ column: 6
3596
+ },
3597
+ end: {
3598
+ line: 36,
3599
+ column: 25
3600
+ }
3601
+ },
3602
+ type: "cond-expr",
3603
+ locations: [{
3604
+ start: {
3605
+ line: 35,
3606
+ column: 10
3607
+ },
3608
+ end: {
3609
+ line: 35,
3610
+ column: 50
3611
+ }
3612
+ }, {
3613
+ start: {
3614
+ line: 36,
3615
+ column: 10
3616
+ },
3617
+ end: {
3618
+ line: 36,
3619
+ column: 25
3620
+ }
3621
+ }],
3622
+ line: 34
3623
+ },
3624
+ "4": {
3625
+ loc: {
3626
+ start: {
3627
+ line: 42,
3628
+ column: 2
3629
+ },
3630
+ end: {
3631
+ line: 45,
3632
+ column: 8
3633
+ }
3634
+ },
3635
+ type: "default-arg",
3636
+ locations: [{
3637
+ start: {
3638
+ line: 45,
3639
+ column: 6
3640
+ },
3641
+ end: {
3642
+ line: 45,
3643
+ column: 8
3644
+ }
3645
+ }],
3646
+ line: 42
3647
+ },
3648
+ "5": {
3649
+ loc: {
3650
+ start: {
3651
+ line: 43,
3652
+ column: 4
3653
+ },
3654
+ end: {
3655
+ line: 43,
3656
+ column: 21
3657
+ }
3658
+ },
3659
+ type: "default-arg",
3660
+ locations: [{
3661
+ start: {
3662
+ line: 43,
3663
+ column: 17
3664
+ },
3665
+ end: {
3666
+ line: 43,
3667
+ column: 21
3668
+ }
3669
+ }],
3670
+ line: 43
3671
+ },
3672
+ "6": {
3673
+ loc: {
3674
+ start: {
3675
+ line: 44,
3676
+ column: 4
3677
+ },
3678
+ end: {
3679
+ line: 44,
3680
+ column: 72
3681
+ }
3682
+ },
3683
+ type: "default-arg",
3684
+ locations: [{
3685
+ start: {
3686
+ line: 44,
3687
+ column: 14
3688
+ },
3689
+ end: {
3690
+ line: 44,
3691
+ column: 72
3692
+ }
3693
+ }],
3694
+ line: 44
3695
+ },
3696
+ "7": {
3697
+ loc: {
3698
+ start: {
3699
+ line: 48,
3700
+ column: 4
3701
+ },
3702
+ end: {
3703
+ line: 64,
3704
+ column: 5
3705
+ }
3706
+ },
3707
+ type: "if",
3708
+ locations: [{
3709
+ start: {
3710
+ line: 48,
3711
+ column: 4
3712
+ },
3713
+ end: {
3714
+ line: 64,
3715
+ column: 5
3716
+ }
3717
+ }, {
3718
+ start: {
3719
+ line: 50,
3720
+ column: 11
3721
+ },
3722
+ end: {
3723
+ line: 64,
3724
+ column: 5
3725
+ }
3726
+ }],
3727
+ line: 48
3728
+ },
3729
+ "8": {
3730
+ loc: {
3731
+ start: {
3732
+ line: 48,
3733
+ column: 8
3734
+ },
3735
+ end: {
3736
+ line: 48,
3737
+ column: 53
3738
+ }
3739
+ },
3740
+ type: "binary-expr",
3741
+ locations: [{
3742
+ start: {
3743
+ line: 48,
3744
+ column: 8
3745
+ },
3746
+ end: {
3747
+ line: 48,
3748
+ column: 27
3749
+ }
3750
+ }, {
3751
+ start: {
3752
+ line: 48,
3753
+ column: 31
3754
+ },
3755
+ end: {
3756
+ line: 48,
3757
+ column: 53
3758
+ }
3759
+ }],
3760
+ line: 48
3761
+ },
3762
+ "9": {
3763
+ loc: {
3764
+ start: {
3765
+ line: 66,
3766
+ column: 4
3767
+ },
3768
+ end: {
3769
+ line: 66,
3770
+ column: 41
3771
+ }
3772
+ },
3773
+ type: "binary-expr",
3774
+ locations: [{
3775
+ start: {
3776
+ line: 66,
3777
+ column: 4
3778
+ },
3779
+ end: {
3780
+ line: 66,
3781
+ column: 14
3782
+ }
3783
+ }, {
3784
+ start: {
3785
+ line: 66,
3786
+ column: 18
3787
+ },
3788
+ end: {
3789
+ line: 66,
3790
+ column: 41
3791
+ }
3792
+ }],
3793
+ line: 66
3794
+ },
3795
+ "10": {
3796
+ loc: {
3797
+ start: {
3798
+ line: 75,
3799
+ column: 4
3800
+ },
3801
+ end: {
3802
+ line: 78,
3803
+ column: 5
3804
+ }
3805
+ },
3806
+ type: "if",
3807
+ locations: [{
3808
+ start: {
3809
+ line: 75,
3810
+ column: 4
3811
+ },
3812
+ end: {
3813
+ line: 78,
3814
+ column: 5
3815
+ }
3816
+ }, {
3817
+ start: {
3818
+ line: undefined,
3819
+ column: undefined
3820
+ },
3821
+ end: {
3822
+ line: undefined,
3823
+ column: undefined
3824
+ }
3825
+ }],
3826
+ line: 75
3827
+ },
3828
+ "11": {
3829
+ loc: {
3830
+ start: {
3831
+ line: 87,
3832
+ column: 9
3833
+ },
3834
+ end: {
3835
+ line: 87,
3836
+ column: 65
3837
+ }
3838
+ },
3839
+ type: "cond-expr",
3840
+ locations: [{
3841
+ start: {
3842
+ line: 87,
3843
+ column: 32
3844
+ },
3845
+ end: {
3846
+ line: 87,
3847
+ column: 37
3848
+ }
3849
+ }, {
3850
+ start: {
3851
+ line: 87,
3852
+ column: 40
3853
+ },
3854
+ end: {
3855
+ line: 87,
3856
+ column: 65
3857
+ }
3858
+ }],
3859
+ line: 87
3860
+ },
3861
+ "12": {
3862
+ loc: {
3863
+ start: {
3864
+ line: 90,
3865
+ column: 33
3866
+ },
3867
+ end: {
3868
+ line: 90,
3869
+ column: 52
3870
+ }
3871
+ },
3872
+ type: "default-arg",
3873
+ locations: [{
3874
+ start: {
3875
+ line: 90,
3876
+ column: 43
3877
+ },
3878
+ end: {
3879
+ line: 90,
3880
+ column: 52
3881
+ }
3882
+ }],
3883
+ line: 90
3884
+ },
3885
+ "13": {
3886
+ loc: {
3887
+ start: {
3888
+ line: 92,
3889
+ column: 4
3890
+ },
3891
+ end: {
3892
+ line: 94,
3893
+ column: 28
3894
+ }
3895
+ },
3896
+ type: "binary-expr",
3897
+ locations: [{
3898
+ start: {
3899
+ line: 92,
3900
+ column: 4
3901
+ },
3902
+ end: {
3903
+ line: 92,
3904
+ column: 36
3905
+ }
3906
+ }, {
3907
+ start: {
3908
+ line: 93,
3909
+ column: 6
3910
+ },
3911
+ end: {
3912
+ line: 93,
3913
+ column: 24
3914
+ }
3915
+ }, {
3916
+ start: {
3917
+ line: 94,
3918
+ column: 6
3919
+ },
3920
+ end: {
3921
+ line: 94,
3922
+ column: 28
3923
+ }
3924
+ }],
3925
+ line: 92
3926
+ },
3927
+ "14": {
3928
+ loc: {
3929
+ start: {
3930
+ line: 98,
3931
+ column: 31
3932
+ },
3933
+ end: {
3934
+ line: 98,
3935
+ column: 43
3936
+ }
3937
+ },
3938
+ type: "default-arg",
3939
+ locations: [{
3940
+ start: {
3941
+ line: 98,
3942
+ column: 41
3943
+ },
3944
+ end: {
3945
+ line: 98,
3946
+ column: 43
3947
+ }
3948
+ }],
3949
+ line: 98
3950
+ },
3951
+ "15": {
3952
+ loc: {
3953
+ start: {
3954
+ line: 104,
3955
+ column: 31
3956
+ },
3957
+ end: {
3958
+ line: 104,
3959
+ column: 42
3960
+ }
3961
+ },
3962
+ type: "default-arg",
3963
+ locations: [{
3964
+ start: {
3965
+ line: 104,
3966
+ column: 39
3967
+ },
3968
+ end: {
3969
+ line: 104,
3970
+ column: 42
3971
+ }
3972
+ }],
3973
+ line: 104
3974
+ }
3975
+ },
3976
+ s: {
3977
+ "0": 0,
3978
+ "1": 0,
3979
+ "2": 0,
3980
+ "3": 0,
3981
+ "4": 0,
3982
+ "5": 0,
3983
+ "6": 0,
3984
+ "7": 0,
3985
+ "8": 0,
3986
+ "9": 0,
3987
+ "10": 0,
3988
+ "11": 0,
3989
+ "12": 0,
3990
+ "13": 0,
3991
+ "14": 0,
3992
+ "15": 0,
3993
+ "16": 0,
3994
+ "17": 0,
3995
+ "18": 0,
3996
+ "19": 0,
3997
+ "20": 0,
3998
+ "21": 0,
3999
+ "22": 0,
4000
+ "23": 0,
4001
+ "24": 0,
4002
+ "25": 0,
4003
+ "26": 0,
4004
+ "27": 0,
4005
+ "28": 0,
4006
+ "29": 0,
4007
+ "30": 0,
4008
+ "31": 0,
4009
+ "32": 0,
4010
+ "33": 0,
4011
+ "34": 0,
4012
+ "35": 0,
4013
+ "36": 0,
4014
+ "37": 0,
4015
+ "38": 0,
4016
+ "39": 0,
4017
+ "40": 0,
4018
+ "41": 0,
4019
+ "42": 0,
4020
+ "43": 0,
4021
+ "44": 0,
4022
+ "45": 0
4023
+ },
4024
+ f: {
4025
+ "0": 0,
4026
+ "1": 0,
4027
+ "2": 0,
4028
+ "3": 0,
4029
+ "4": 0,
4030
+ "5": 0,
4031
+ "6": 0,
4032
+ "7": 0,
4033
+ "8": 0,
4034
+ "9": 0,
4035
+ "10": 0,
4036
+ "11": 0,
4037
+ "12": 0,
4038
+ "13": 0
4039
+ },
4040
+ b: {
4041
+ "0": [0, 0],
4042
+ "1": [0],
4043
+ "2": [0],
4044
+ "3": [0, 0],
4045
+ "4": [0],
4046
+ "5": [0],
4047
+ "6": [0],
4048
+ "7": [0, 0],
4049
+ "8": [0, 0],
4050
+ "9": [0, 0],
4051
+ "10": [0, 0],
4052
+ "11": [0, 0],
4053
+ "12": [0],
4054
+ "13": [0, 0, 0],
4055
+ "14": [0],
4056
+ "15": [0]
4057
+ },
4058
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4059
+ hash: "9b8866fdcba942237d2f340ff28e1a3491bfaabd"
4060
+ };
4061
+ var coverage = global[gcv] || (global[gcv] = {});
4062
+ if (!coverage[path] || coverage[path].hash !== hash) {
4063
+ coverage[path] = coverageData;
4064
+ }
4065
+ var actualCoverage = coverage[path];
4066
+ {
4067
+ // @ts-ignore
4068
+ cov_21fmbrrwg = function () {
4069
+ return actualCoverage;
4070
+ };
4071
+ }
4072
+ return actualCoverage;
4073
+ }
4074
+ cov_21fmbrrwg();
2537
4075
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2538
4076
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2539
- var withEventTargetValue = /*#__PURE__*/ramda.curry(function (func, event) {
4077
+ var withEventTargetValue = ( cov_21fmbrrwg().s[0]++, ramda.curry(function (func, event) {
4078
+ cov_21fmbrrwg().f[0]++;
4079
+ cov_21fmbrrwg().s[1]++;
2540
4080
  return func(event.target.value);
2541
- });
4081
+ }));
4082
+ cov_21fmbrrwg().s[2]++;
2542
4083
  var getSubdomain = function getSubdomain() {
2543
- var host = window.location.host;
2544
- var parts = host.split(".");
2545
- return parts.length >= 3 ? parts[0] : "";
4084
+ cov_21fmbrrwg().f[1]++;
4085
+ var host = (cov_21fmbrrwg().s[3]++, window.location.host);
4086
+ var parts = (cov_21fmbrrwg().s[4]++, host.split("."));
4087
+ cov_21fmbrrwg().s[5]++;
4088
+ return parts.length >= 3 ? (cov_21fmbrrwg().b[0][0]++, parts[0]) : (cov_21fmbrrwg().b[0][1]++, "");
2546
4089
  };
4090
+ cov_21fmbrrwg().s[6]++;
2547
4091
  var simulateApiCall = function simulateApiCall(result, error) {
2548
- var errorProbability = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0.1;
2549
- var delay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : pure.getRandomInt(350, 1000);
4092
+ var errorProbability = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (cov_21fmbrrwg().b[1][0]++, 0.1);
4093
+ var delay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : (cov_21fmbrrwg().b[2][0]++, pure.getRandomInt(350, 1000));
4094
+ cov_21fmbrrwg().f[2]++;
4095
+ cov_21fmbrrwg().s[7]++;
2550
4096
  return new Promise(function (resolve, reject) {
4097
+ cov_21fmbrrwg().f[3]++;
4098
+ cov_21fmbrrwg().s[8]++;
2551
4099
  return setTimeout(function () {
2552
- var defaultErrorObj = {
4100
+ cov_21fmbrrwg().f[4]++;
4101
+ var defaultErrorObj = (cov_21fmbrrwg().s[9]++, {
2553
4102
  success: false,
2554
4103
  notice: i18next__default["default"].t("neetoCommons.notice.errorOccurred")
2555
- };
2556
- Math.random() < errorProbability ? reject(_objectSpread(_objectSpread({}, defaultErrorObj), error)) : resolve(result);
4104
+ });
4105
+ cov_21fmbrrwg().s[10]++;
4106
+ Math.random() < errorProbability ? (cov_21fmbrrwg().b[3][0]++, reject(_objectSpread(_objectSpread({}, defaultErrorObj), error))) : (cov_21fmbrrwg().b[3][1]++, resolve(result));
2557
4107
  }, delay);
2558
4108
  });
2559
4109
  };
4110
+ cov_21fmbrrwg().s[11]++;
2560
4111
  var copyToClipboard = /*#__PURE__*/function () {
2561
4112
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(text) {
2562
4113
  var _ref2,
@@ -2569,139 +4120,805 @@ var copyToClipboard = /*#__PURE__*/function () {
2569
4120
  return regenerator.wrap(function _callee$(_context) {
2570
4121
  while (1) switch (_context.prev = _context.next) {
2571
4122
  case 0:
2572
- _ref2 = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}, _ref2$showToastr = _ref2.showToastr, showToastr = _ref2$showToastr === void 0 ? true : _ref2$showToastr, _ref2$message = _ref2.message, message = _ref2$message === void 0 ? i18next__default["default"].t("neetoCommons.toastr.success.copiedToClipboard") : _ref2$message;
2573
- _context.prev = 1;
2574
- if (!(navigator.clipboard && window.isSecureContext)) {
2575
- _context.next = 7;
4123
+ _ref2 = _args.length > 1 && _args[1] !== undefined ? _args[1] : (cov_21fmbrrwg().b[4][0]++, {}), _ref2$showToastr = _ref2.showToastr, showToastr = _ref2$showToastr === void 0 ? (cov_21fmbrrwg().b[5][0]++, true) : _ref2$showToastr, _ref2$message = _ref2.message, message = _ref2$message === void 0 ? (cov_21fmbrrwg().b[6][0]++, i18next__default["default"].t("neetoCommons.toastr.success.copiedToClipboard")) : _ref2$message;
4124
+ cov_21fmbrrwg().f[5]++;
4125
+ cov_21fmbrrwg().s[12]++;
4126
+ _context.prev = 3;
4127
+ cov_21fmbrrwg().s[13]++;
4128
+ if (!((cov_21fmbrrwg().b[8][0]++, navigator.clipboard) && (cov_21fmbrrwg().b[8][1]++, window.isSecureContext))) {
4129
+ _context.next = 12;
2576
4130
  break;
2577
4131
  }
2578
- _context.next = 5;
4132
+ cov_21fmbrrwg().b[7][0]++;
4133
+ cov_21fmbrrwg().s[14]++;
4134
+ _context.next = 10;
2579
4135
  return navigator.clipboard.writeText(text);
2580
- case 5:
2581
- _context.next = 17;
4136
+ case 10:
4137
+ _context.next = 32;
2582
4138
  break;
2583
- case 7:
2584
- textArea = document.createElement("textarea");
4139
+ case 12:
4140
+ cov_21fmbrrwg().b[7][1]++;
4141
+ textArea = (cov_21fmbrrwg().s[15]++, document.createElement("textarea"));
4142
+ cov_21fmbrrwg().s[16]++;
2585
4143
  textArea.value = text;
4144
+ cov_21fmbrrwg().s[17]++;
2586
4145
  textArea.style.top = "0";
4146
+ cov_21fmbrrwg().s[18]++;
2587
4147
  textArea.style.left = "0";
4148
+ cov_21fmbrrwg().s[19]++;
2588
4149
  textArea.style.position = "fixed";
4150
+ cov_21fmbrrwg().s[20]++;
2589
4151
  document.body.appendChild(textArea);
4152
+ cov_21fmbrrwg().s[21]++;
2590
4153
  textArea.focus();
4154
+ cov_21fmbrrwg().s[22]++;
2591
4155
  textArea.select();
4156
+ cov_21fmbrrwg().s[23]++;
2592
4157
  document.execCommand("copy");
4158
+ cov_21fmbrrwg().s[24]++;
2593
4159
  document.body.removeChild(textArea);
2594
- case 17:
2595
- showToastr && neetoui.Toastr.success(message);
2596
- _context.next = 23;
4160
+ case 32:
4161
+ cov_21fmbrrwg().s[25]++;
4162
+ (cov_21fmbrrwg().b[9][0]++, showToastr) && (cov_21fmbrrwg().b[9][1]++, neetoui.Toastr.success(message));
4163
+ _context.next = 40;
2597
4164
  break;
2598
- case 20:
2599
- _context.prev = 20;
2600
- _context.t0 = _context["catch"](1);
4165
+ case 36:
4166
+ _context.prev = 36;
4167
+ _context.t0 = _context["catch"](3);
4168
+ cov_21fmbrrwg().s[26]++;
2601
4169
  neetoui.Toastr.error(_context.t0);
2602
- case 23:
4170
+ case 40:
2603
4171
  case "end":
2604
4172
  return _context.stop();
2605
4173
  }
2606
- }, _callee, null, [[1, 20]]);
4174
+ }, _callee, null, [[3, 36]]);
2607
4175
  }));
2608
4176
  return function copyToClipboard(_x) {
2609
4177
  return _ref.apply(this, arguments);
2610
4178
  };
2611
4179
  }();
4180
+ cov_21fmbrrwg().s[27]++;
2612
4181
  var buildUrl = function buildUrl(route, params) {
2613
- var placeHolders = [];
4182
+ cov_21fmbrrwg().f[6]++;
4183
+ var placeHolders = (cov_21fmbrrwg().s[28]++, []);
4184
+ cov_21fmbrrwg().s[29]++;
2614
4185
  ramda.toPairs(params).forEach(function (_ref3) {
2615
4186
  var _ref4 = _slicedToArray(_ref3, 2),
2616
4187
  key = _ref4[0],
2617
4188
  value = _ref4[1];
4189
+ cov_21fmbrrwg().f[7]++;
4190
+ cov_21fmbrrwg().s[30]++;
2618
4191
  if (route.includes(":".concat(key))) {
4192
+ cov_21fmbrrwg().b[10][0]++;
4193
+ cov_21fmbrrwg().s[31]++;
2619
4194
  placeHolders.push(key);
4195
+ cov_21fmbrrwg().s[32]++;
2620
4196
  route = route.replace(":".concat(key), encodeURIComponent(value));
4197
+ } else {
4198
+ cov_21fmbrrwg().b[10][1]++;
2621
4199
  }
2622
4200
  });
2623
- var queryParams = ramda.pipe(ramda.omit(placeHolders), pure.preprocessForSerialization, lib.stringify)(params);
2624
- return ramda.isEmpty(queryParams) ? route : "".concat(route, "?").concat(queryParams);
4201
+ var queryParams = (cov_21fmbrrwg().s[33]++, ramda.pipe(ramda.omit(placeHolders), pure.preprocessForSerialization, lib.stringify)(params));
4202
+ cov_21fmbrrwg().s[34]++;
4203
+ return ramda.isEmpty(queryParams) ? (cov_21fmbrrwg().b[11][0]++, route) : (cov_21fmbrrwg().b[11][1]++, "".concat(route, "?").concat(queryParams));
2625
4204
  };
4205
+ cov_21fmbrrwg().s[35]++;
2626
4206
  var toLocale = function toLocale(number) {
2627
4207
  var _window$globalProps, _window$globalProps$u;
2628
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
2629
- return Number(number).toLocaleString(((_window$globalProps = window.globalProps) === null || _window$globalProps === void 0 ? void 0 : (_window$globalProps$u = _window$globalProps.user) === null || _window$globalProps$u === void 0 ? void 0 : _window$globalProps$u.locale) || navigator.language || navigator.languages[0], options);
4208
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_21fmbrrwg().b[12][0]++, undefined);
4209
+ cov_21fmbrrwg().f[8]++;
4210
+ cov_21fmbrrwg().s[36]++;
4211
+ return Number(number).toLocaleString((cov_21fmbrrwg().b[13][0]++, (_window$globalProps = window.globalProps) === null || _window$globalProps === void 0 ? void 0 : (_window$globalProps$u = _window$globalProps.user) === null || _window$globalProps$u === void 0 ? void 0 : _window$globalProps$u.locale) || (cov_21fmbrrwg().b[13][1]++, navigator.language) || (cov_21fmbrrwg().b[13][2]++, navigator.languages[0]), options);
2630
4212
  };
4213
+ cov_21fmbrrwg().s[37]++;
2631
4214
  var getQueryParams = function getQueryParams() {
2632
- var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4215
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (cov_21fmbrrwg().b[14][0]++, {});
4216
+ cov_21fmbrrwg().f[9]++;
4217
+ cov_21fmbrrwg().s[38]++;
2633
4218
  return lib.parse(location.search, _objectSpread({
2634
4219
  ignoreQueryPrefix: true
2635
4220
  }, options));
2636
4221
  };
4222
+ cov_21fmbrrwg().s[39]++;
2637
4223
  var joinHyphenCase = function joinHyphenCase() {
4224
+ cov_21fmbrrwg().f[10]++;
4225
+ cov_21fmbrrwg().s[40]++;
2638
4226
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2639
4227
  args[_key] = arguments[_key];
2640
4228
  }
2641
4229
  return args.join(" ").replace(/\s+/g, "-").toLowerCase();
2642
4230
  };
4231
+ cov_21fmbrrwg().s[41]++;
2643
4232
  var debounce = function debounce(func) {
2644
- var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
4233
+ var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (cov_21fmbrrwg().b[15][0]++, 350);
4234
+ cov_21fmbrrwg().f[11]++;
2645
4235
  var timer;
4236
+ cov_21fmbrrwg().s[42]++;
2646
4237
  return function () {
2647
4238
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2648
4239
  args[_key2] = arguments[_key2];
2649
4240
  }
4241
+ cov_21fmbrrwg().f[12]++;
4242
+ cov_21fmbrrwg().s[43]++;
2650
4243
  clearTimeout(timer);
4244
+ cov_21fmbrrwg().s[44]++;
2651
4245
  timer = setTimeout(function () {
4246
+ cov_21fmbrrwg().f[13]++;
4247
+ cov_21fmbrrwg().s[45]++;
2652
4248
  return func.apply(_this, args);
2653
4249
  }, delay);
2654
4250
  };
2655
4251
  };
2656
4252
 
4253
+ function cov_2g6pb6fenj() {
4254
+ var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/datetime.js";
4255
+ var hash = "b87e294303948abc4a85ef310811baabe20803f6";
4256
+ var global = new Function("return this")();
4257
+ var gcv = "__coverage__";
4258
+ var coverageData = {
4259
+ path: "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/datetime.js",
4260
+ statementMap: {
4261
+ "0": {
4262
+ start: {
4263
+ line: 5,
4264
+ column: 0
4265
+ },
4266
+ end: {
4267
+ line: 5,
4268
+ column: 27
4269
+ }
4270
+ },
4271
+ "1": {
4272
+ start: {
4273
+ line: 6,
4274
+ column: 0
4275
+ },
4276
+ end: {
4277
+ line: 6,
4278
+ column: 27
4279
+ }
4280
+ },
4281
+ "2": {
4282
+ start: {
4283
+ line: 8,
4284
+ column: 26
4285
+ },
4286
+ end: {
4287
+ line: 22,
4288
+ column: 1
4289
+ }
4290
+ },
4291
+ "3": {
4292
+ start: {
4293
+ line: 9,
4294
+ column: 19
4295
+ },
4296
+ end: {
4297
+ line: 9,
4298
+ column: 40
4299
+ }
4300
+ },
4301
+ "4": {
4302
+ start: {
4303
+ line: 10,
4304
+ column: 16
4305
+ },
4306
+ end: {
4307
+ line: 10,
4308
+ column: 44
4309
+ }
4310
+ },
4311
+ "5": {
4312
+ start: {
4313
+ line: 11,
4314
+ column: 16
4315
+ },
4316
+ end: {
4317
+ line: 11,
4318
+ column: 49
4319
+ }
4320
+ },
4321
+ "6": {
4322
+ start: {
4323
+ line: 12,
4324
+ column: 20
4325
+ },
4326
+ end: {
4327
+ line: 12,
4328
+ column: 57
4329
+ }
4330
+ },
4331
+ "7": {
4332
+ start: {
4333
+ line: 13,
4334
+ column: 31
4335
+ },
4336
+ end: {
4337
+ line: 13,
4338
+ column: 63
4339
+ }
4340
+ },
4341
+ "8": {
4342
+ start: {
4343
+ line: 14,
4344
+ column: 20
4345
+ },
4346
+ end: {
4347
+ line: 14,
4348
+ column: 60
4349
+ }
4350
+ },
4351
+ "9": {
4352
+ start: {
4353
+ line: 15,
4354
+ column: 24
4355
+ },
4356
+ end: {
4357
+ line: 15,
4358
+ column: 68
4359
+ }
4360
+ },
4361
+ "10": {
4362
+ start: {
4363
+ line: 17,
4364
+ column: 21
4365
+ },
4366
+ end: {
4367
+ line: 17,
4368
+ column: 67
4369
+ }
4370
+ },
4371
+ "11": {
4372
+ start: {
4373
+ line: 18,
4374
+ column: 20
4375
+ },
4376
+ end: {
4377
+ line: 18,
4378
+ column: 41
4379
+ }
4380
+ },
4381
+ "12": {
4382
+ start: {
4383
+ line: 20,
4384
+ column: 4
4385
+ },
4386
+ end: {
4387
+ line: 20,
4388
+ column: 38
4389
+ }
4390
+ },
4391
+ "13": {
4392
+ start: {
4393
+ line: 24,
4394
+ column: 26
4395
+ },
4396
+ end: {
4397
+ line: 24,
4398
+ column: 36
4399
+ }
4400
+ }
4401
+ },
4402
+ fnMap: {
4403
+ "0": {
4404
+ name: "(anonymous_0)",
4405
+ decl: {
4406
+ start: {
4407
+ line: 9,
4408
+ column: 11
4409
+ },
4410
+ end: {
4411
+ line: 9,
4412
+ column: 12
4413
+ }
4414
+ },
4415
+ loc: {
4416
+ start: {
4417
+ line: 9,
4418
+ column: 19
4419
+ },
4420
+ end: {
4421
+ line: 9,
4422
+ column: 40
4423
+ }
4424
+ },
4425
+ line: 9
4426
+ },
4427
+ "1": {
4428
+ name: "(anonymous_1)",
4429
+ decl: {
4430
+ start: {
4431
+ line: 10,
4432
+ column: 8
4433
+ },
4434
+ end: {
4435
+ line: 10,
4436
+ column: 9
4437
+ }
4438
+ },
4439
+ loc: {
4440
+ start: {
4441
+ line: 10,
4442
+ column: 16
4443
+ },
4444
+ end: {
4445
+ line: 10,
4446
+ column: 44
4447
+ }
4448
+ },
4449
+ line: 10
4450
+ },
4451
+ "2": {
4452
+ name: "(anonymous_2)",
4453
+ decl: {
4454
+ start: {
4455
+ line: 11,
4456
+ column: 8
4457
+ },
4458
+ end: {
4459
+ line: 11,
4460
+ column: 9
4461
+ }
4462
+ },
4463
+ loc: {
4464
+ start: {
4465
+ line: 11,
4466
+ column: 16
4467
+ },
4468
+ end: {
4469
+ line: 11,
4470
+ column: 49
4471
+ }
4472
+ },
4473
+ line: 11
4474
+ },
4475
+ "3": {
4476
+ name: "(anonymous_3)",
4477
+ decl: {
4478
+ start: {
4479
+ line: 12,
4480
+ column: 12
4481
+ },
4482
+ end: {
4483
+ line: 12,
4484
+ column: 13
4485
+ }
4486
+ },
4487
+ loc: {
4488
+ start: {
4489
+ line: 12,
4490
+ column: 20
4491
+ },
4492
+ end: {
4493
+ line: 12,
4494
+ column: 57
4495
+ }
4496
+ },
4497
+ line: 12
4498
+ },
4499
+ "4": {
4500
+ name: "(anonymous_4)",
4501
+ decl: {
4502
+ start: {
4503
+ line: 13,
4504
+ column: 23
4505
+ },
4506
+ end: {
4507
+ line: 13,
4508
+ column: 24
4509
+ }
4510
+ },
4511
+ loc: {
4512
+ start: {
4513
+ line: 13,
4514
+ column: 31
4515
+ },
4516
+ end: {
4517
+ line: 13,
4518
+ column: 63
4519
+ }
4520
+ },
4521
+ line: 13
4522
+ },
4523
+ "5": {
4524
+ name: "(anonymous_5)",
4525
+ decl: {
4526
+ start: {
4527
+ line: 14,
4528
+ column: 12
4529
+ },
4530
+ end: {
4531
+ line: 14,
4532
+ column: 13
4533
+ }
4534
+ },
4535
+ loc: {
4536
+ start: {
4537
+ line: 14,
4538
+ column: 20
4539
+ },
4540
+ end: {
4541
+ line: 14,
4542
+ column: 60
4543
+ }
4544
+ },
4545
+ line: 14
4546
+ },
4547
+ "6": {
4548
+ name: "(anonymous_6)",
4549
+ decl: {
4550
+ start: {
4551
+ line: 15,
4552
+ column: 16
4553
+ },
4554
+ end: {
4555
+ line: 15,
4556
+ column: 17
4557
+ }
4558
+ },
4559
+ loc: {
4560
+ start: {
4561
+ line: 15,
4562
+ column: 24
4563
+ },
4564
+ end: {
4565
+ line: 15,
4566
+ column: 68
4567
+ }
4568
+ },
4569
+ line: 15
4570
+ },
4571
+ "7": {
4572
+ name: "(anonymous_7)",
4573
+ decl: {
4574
+ start: {
4575
+ line: 16,
4576
+ column: 12
4577
+ },
4578
+ end: {
4579
+ line: 16,
4580
+ column: 13
4581
+ }
4582
+ },
4583
+ loc: {
4584
+ start: {
4585
+ line: 16,
4586
+ column: 20
4587
+ },
4588
+ end: {
4589
+ line: 21,
4590
+ column: 3
4591
+ }
4592
+ },
4593
+ line: 16
4594
+ }
4595
+ },
4596
+ branchMap: {},
4597
+ s: {
4598
+ "0": 0,
4599
+ "1": 0,
4600
+ "2": 0,
4601
+ "3": 0,
4602
+ "4": 0,
4603
+ "5": 0,
4604
+ "6": 0,
4605
+ "7": 0,
4606
+ "8": 0,
4607
+ "9": 0,
4608
+ "10": 0,
4609
+ "11": 0,
4610
+ "12": 0,
4611
+ "13": 0
4612
+ },
4613
+ f: {
4614
+ "0": 0,
4615
+ "1": 0,
4616
+ "2": 0,
4617
+ "3": 0,
4618
+ "4": 0,
4619
+ "5": 0,
4620
+ "6": 0,
4621
+ "7": 0
4622
+ },
4623
+ b: {},
4624
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4625
+ hash: "b87e294303948abc4a85ef310811baabe20803f6"
4626
+ };
4627
+ var coverage = global[gcv] || (global[gcv] = {});
4628
+ if (!coverage[path] || coverage[path].hash !== hash) {
4629
+ coverage[path] = coverageData;
4630
+ }
4631
+ var actualCoverage = coverage[path];
4632
+ {
4633
+ // @ts-ignore
4634
+ cov_2g6pb6fenj = function () {
4635
+ return actualCoverage;
4636
+ };
4637
+ }
4638
+ return actualCoverage;
4639
+ }
4640
+ cov_2g6pb6fenj();
4641
+ cov_2g6pb6fenj().s[0]++;
2657
4642
  dayjs__default["default"].extend(relativeTime__default["default"]);
4643
+ cov_2g6pb6fenj().s[1]++;
2658
4644
  dayjs__default["default"].extend(updateLocale__default["default"]);
2659
- var timeFormat = {
4645
+ var timeFormat = (cov_2g6pb6fenj().s[2]++, {
2660
4646
  fromNow: function fromNow(time) {
4647
+ cov_2g6pb6fenj().f[0]++;
4648
+ cov_2g6pb6fenj().s[3]++;
2661
4649
  return dayjs__default["default"](time).fromNow();
2662
4650
  },
2663
4651
  time: function time(_time) {
4652
+ cov_2g6pb6fenj().f[1]++;
4653
+ cov_2g6pb6fenj().s[4]++;
2664
4654
  return dayjs__default["default"](_time).format("h:mm A");
2665
4655
  },
2666
4656
  date: function date(time) {
4657
+ cov_2g6pb6fenj().f[2]++;
4658
+ cov_2g6pb6fenj().s[5]++;
2667
4659
  return dayjs__default["default"](time).format("MMM D, YYYY");
2668
4660
  },
2669
4661
  dateWeek: function dateWeek(time) {
4662
+ cov_2g6pb6fenj().f[3]++;
4663
+ cov_2g6pb6fenj().s[6]++;
2670
4664
  return dayjs__default["default"](time).format("MMM D, YYYY ddd");
2671
4665
  },
2672
4666
  dateWeekWithoutYear: function dateWeekWithoutYear(time) {
4667
+ cov_2g6pb6fenj().f[4]++;
4668
+ cov_2g6pb6fenj().s[7]++;
2673
4669
  return dayjs__default["default"](time).format("MMM D, ddd");
2674
4670
  },
2675
4671
  dateTime: function dateTime(time) {
4672
+ cov_2g6pb6fenj().f[5]++;
4673
+ cov_2g6pb6fenj().s[8]++;
2676
4674
  return dayjs__default["default"](time).format("MMM D, YYYY h:mm A");
2677
4675
  },
2678
4676
  dateWeekTime: function dateWeekTime(time) {
4677
+ cov_2g6pb6fenj().f[6]++;
4678
+ cov_2g6pb6fenj().s[9]++;
2679
4679
  return dayjs__default["default"](time).format("MMM D, YYYY ddd h:mm A");
2680
4680
  },
2681
4681
  extended: function extended(time) {
2682
- var dateTime = dayjs__default["default"](time).format("dddd MMMM D, YYYY h:mm A");
2683
- var fromNow = dayjs__default["default"](time).fromNow();
4682
+ cov_2g6pb6fenj().f[7]++;
4683
+ var dateTime = (cov_2g6pb6fenj().s[10]++, dayjs__default["default"](time).format("dddd MMMM D, YYYY h:mm A"));
4684
+ var fromNow = (cov_2g6pb6fenj().s[11]++, dayjs__default["default"](time).fromNow());
4685
+ cov_2g6pb6fenj().s[12]++;
2684
4686
  return "".concat(dateTime, " (").concat(fromNow, ")");
2685
4687
  }
2686
- };
2687
- var dateFormat = timeFormat;
2688
-
4688
+ });
4689
+ var dateFormat = (cov_2g6pb6fenj().s[13]++, timeFormat);
4690
+
4691
+ function cov_ro756b6vn() {
4692
+ var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/permissions.js";
4693
+ var hash = "2beee7eabece2f43a16b326e262b43caf3f198cc";
4694
+ var global = new Function("return this")();
4695
+ var gcv = "__coverage__";
4696
+ var coverageData = {
4697
+ path: "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/permissions.js",
4698
+ statementMap: {
4699
+ "0": {
4700
+ start: {
4701
+ line: 1,
4702
+ column: 29
4703
+ },
4704
+ end: {
4705
+ line: 2,
4706
+ column: 46
4707
+ }
4708
+ },
4709
+ "1": {
4710
+ start: {
4711
+ line: 2,
4712
+ column: 2
4713
+ },
4714
+ end: {
4715
+ line: 2,
4716
+ column: 46
4717
+ }
4718
+ },
4719
+ "2": {
4720
+ start: {
4721
+ line: 4,
4722
+ column: 32
4723
+ },
4724
+ end: {
4725
+ line: 5,
4726
+ column: 33
4727
+ }
4728
+ },
4729
+ "3": {
4730
+ start: {
4731
+ line: 5,
4732
+ column: 2
4733
+ },
4734
+ end: {
4735
+ line: 5,
4736
+ column: 33
4737
+ }
4738
+ },
4739
+ "4": {
4740
+ start: {
4741
+ line: 7,
4742
+ column: 33
4743
+ },
4744
+ end: {
4745
+ line: 8,
4746
+ column: 34
4747
+ }
4748
+ },
4749
+ "5": {
4750
+ start: {
4751
+ line: 8,
4752
+ column: 2
4753
+ },
4754
+ end: {
4755
+ line: 8,
4756
+ column: 34
4757
+ }
4758
+ }
4759
+ },
4760
+ fnMap: {
4761
+ "0": {
4762
+ name: "(anonymous_0)",
4763
+ decl: {
4764
+ start: {
4765
+ line: 1,
4766
+ column: 29
4767
+ },
4768
+ end: {
4769
+ line: 1,
4770
+ column: 30
4771
+ }
4772
+ },
4773
+ loc: {
4774
+ start: {
4775
+ line: 2,
4776
+ column: 2
4777
+ },
4778
+ end: {
4779
+ line: 2,
4780
+ column: 46
4781
+ }
4782
+ },
4783
+ line: 2
4784
+ },
4785
+ "1": {
4786
+ name: "(anonymous_1)",
4787
+ decl: {
4788
+ start: {
4789
+ line: 4,
4790
+ column: 32
4791
+ },
4792
+ end: {
4793
+ line: 4,
4794
+ column: 33
4795
+ }
4796
+ },
4797
+ loc: {
4798
+ start: {
4799
+ line: 5,
4800
+ column: 2
4801
+ },
4802
+ end: {
4803
+ line: 5,
4804
+ column: 33
4805
+ }
4806
+ },
4807
+ line: 5
4808
+ },
4809
+ "2": {
4810
+ name: "(anonymous_2)",
4811
+ decl: {
4812
+ start: {
4813
+ line: 7,
4814
+ column: 33
4815
+ },
4816
+ end: {
4817
+ line: 7,
4818
+ column: 34
4819
+ }
4820
+ },
4821
+ loc: {
4822
+ start: {
4823
+ line: 8,
4824
+ column: 2
4825
+ },
4826
+ end: {
4827
+ line: 8,
4828
+ column: 34
4829
+ }
4830
+ },
4831
+ line: 8
4832
+ }
4833
+ },
4834
+ branchMap: {},
4835
+ s: {
4836
+ "0": 0,
4837
+ "1": 0,
4838
+ "2": 0,
4839
+ "3": 0,
4840
+ "4": 0,
4841
+ "5": 0
4842
+ },
4843
+ f: {
4844
+ "0": 0,
4845
+ "1": 0,
4846
+ "2": 0
4847
+ },
4848
+ b: {},
4849
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4850
+ hash: "2beee7eabece2f43a16b326e262b43caf3f198cc"
4851
+ };
4852
+ var coverage = global[gcv] || (global[gcv] = {});
4853
+ if (!coverage[path] || coverage[path].hash !== hash) {
4854
+ coverage[path] = coverageData;
4855
+ }
4856
+ var actualCoverage = coverage[path];
4857
+ {
4858
+ // @ts-ignore
4859
+ cov_ro756b6vn = function () {
4860
+ return actualCoverage;
4861
+ };
4862
+ }
4863
+ return actualCoverage;
4864
+ }
4865
+ cov_ro756b6vn();
4866
+ cov_ro756b6vn().s[0]++;
2689
4867
  var hasPermission = function hasPermission(permission) {
4868
+ cov_ro756b6vn().f[0]++;
4869
+ cov_ro756b6vn().s[1]++;
2690
4870
  return globalProps.permissions.includes(permission);
2691
4871
  };
4872
+ cov_ro756b6vn().s[2]++;
2692
4873
  var hasAnyPermission = function hasAnyPermission() {
4874
+ cov_ro756b6vn().f[1]++;
4875
+ cov_ro756b6vn().s[3]++;
2693
4876
  for (var _len = arguments.length, permissions = new Array(_len), _key = 0; _key < _len; _key++) {
2694
4877
  permissions[_key] = arguments[_key];
2695
4878
  }
2696
4879
  return permissions.some(hasPermission);
2697
4880
  };
4881
+ cov_ro756b6vn().s[4]++;
2698
4882
  var hasAllPermissions = function hasAllPermissions() {
4883
+ cov_ro756b6vn().f[2]++;
4884
+ cov_ro756b6vn().s[5]++;
2699
4885
  for (var _len2 = arguments.length, permissions = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2700
4886
  permissions[_key2] = arguments[_key2];
2701
4887
  }
2702
4888
  return permissions.every(hasPermission);
2703
4889
  };
2704
4890
 
4891
+ function cov_4in8ul7j9() {
4892
+ var path = "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/index.js";
4893
+ var hash = "ce59561817642aef031a381b0cfa08fefaec6c67";
4894
+ var global = new Function("return this")();
4895
+ var gcv = "__coverage__";
4896
+ var coverageData = {
4897
+ path: "/home/runner/work/neeto-commons-frontend/neeto-commons-frontend/src/utils/index.js",
4898
+ statementMap: {},
4899
+ fnMap: {},
4900
+ branchMap: {},
4901
+ s: {},
4902
+ f: {},
4903
+ b: {},
4904
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4905
+ hash: "ce59561817642aef031a381b0cfa08fefaec6c67"
4906
+ };
4907
+ var coverage = global[gcv] || (global[gcv] = {});
4908
+ if (!coverage[path] || coverage[path].hash !== hash) {
4909
+ coverage[path] = coverageData;
4910
+ }
4911
+ var actualCoverage = coverage[path];
4912
+ {
4913
+ // @ts-ignore
4914
+ cov_4in8ul7j9 = function () {
4915
+ return actualCoverage;
4916
+ };
4917
+ }
4918
+ return actualCoverage;
4919
+ }
4920
+ cov_4in8ul7j9();
4921
+
2705
4922
  exports.buildUrl = buildUrl;
2706
4923
  exports.copyToClipboard = copyToClipboard;
2707
4924
  exports.dateFormat = dateFormat;