@bigbinary/neeto-commons-frontend 2.0.68 → 2.0.69

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