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