@bigbinary/neeto-molecules 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,16 @@
1
- import React, { useState } from 'react';
1
+ import React, { forwardRef, useRef, useState } from 'react';
2
2
  import { snakeToCamelCase, isNotEmpty } from '@bigbinary/neeto-commons-frontend/pure';
3
3
  import { useDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
4
- import { Tag, Button, Dropdown, Callout, Input, Pane, Typography, Label, PageLoader, Table, NoData, Alert } from '@bigbinary/neetoui';
5
- import { Container, Header, SubHeader } from '@bigbinary/neetoui/layouts';
4
+ import { Typography, Button, Input, Tag, Dropdown, Callout, Pane, Label, Table, NoData, Alert } from '@bigbinary/neetoui';
6
5
  import { useTranslation, Trans } from 'react-i18next';
6
+ import { Right, HamburgerMenu, Search, MenuHorizontal, Info, Copy, Check } from '@bigbinary/neeto-icons';
7
+ import { isEmpty } from 'ramda';
8
+ import { Link } from 'react-router-dom';
9
+ import { Neeto } from '@bigbinary/neeto-icons/logos';
7
10
  import { Formik, Form } from 'formik';
8
- import { MenuHorizontal, Info, Copy, Check } from '@bigbinary/neeto-icons';
9
11
  import { Input as Input$1 } from '@bigbinary/neetoui/formik';
10
12
  import { joinHyphenCase, copyToClipboard, timeFormat } from '@bigbinary/neeto-commons-frontend/utils';
11
- import { t } from 'i18next';
13
+ import { t as t$1 } from 'i18next';
12
14
  import * as Yup from 'yup';
13
15
  import { useQueryClient, useMutation, useQuery } from 'react-query';
14
16
  import axios from 'axios';
@@ -83,6 +85,1072 @@ function _slicedToArray(arr, i) {
83
85
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
84
86
  }
85
87
 
88
+ var classnames$1 = {exports: {}};
89
+
90
+ /*!
91
+ Copyright (c) 2018 Jed Watson.
92
+ Licensed under the MIT License (MIT), see
93
+ http://jedwatson.github.io/classnames
94
+ */
95
+
96
+ (function (module) {
97
+ /* global define */
98
+
99
+ (function () {
100
+
101
+ var hasOwn = {}.hasOwnProperty;
102
+
103
+ function classNames() {
104
+ var classes = [];
105
+
106
+ for (var i = 0; i < arguments.length; i++) {
107
+ var arg = arguments[i];
108
+ if (!arg) continue;
109
+
110
+ var argType = typeof arg;
111
+
112
+ if (argType === 'string' || argType === 'number') {
113
+ classes.push(arg);
114
+ } else if (Array.isArray(arg)) {
115
+ if (arg.length) {
116
+ var inner = classNames.apply(null, arg);
117
+ if (inner) {
118
+ classes.push(inner);
119
+ }
120
+ }
121
+ } else if (argType === 'object') {
122
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
123
+ classes.push(arg.toString());
124
+ continue;
125
+ }
126
+
127
+ for (var key in arg) {
128
+ if (hasOwn.call(arg, key) && arg[key]) {
129
+ classes.push(key);
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ return classes.join(' ');
136
+ }
137
+
138
+ if (module.exports) {
139
+ classNames.default = classNames;
140
+ module.exports = classNames;
141
+ } else {
142
+ window.classNames = classNames;
143
+ }
144
+ }());
145
+ } (classnames$1));
146
+
147
+ var classnames = classnames$1.exports;
148
+
149
+ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
150
+
151
+ var css$3 = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0 24px}.neeto-molecules-container--header-fixed{padding:0}.neeto-molecules-container--header-fixed>.neeto-molecules-header,.neeto-molecules-container--header-fixed>.neeto-molecules-scrollable,.neeto-molecules-container--header-fixed>.neeto-molecules-subheader{padding-left:24px;padding-right:24px}";
152
+ n(css$3,{});
153
+
154
+ function cov_1wwtrbg59n() {
155
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Container/index.jsx";
156
+ var hash = "c1b0310c50315373c62b26d910f4b47136a53d3d";
157
+ var global = new Function("return this")();
158
+ var gcv = "__coverage__";
159
+ var coverageData = {
160
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Container/index.jsx",
161
+ statementMap: {
162
+ "0": {
163
+ start: {
164
+ line: 7,
165
+ column: 18
166
+ },
167
+ end: {
168
+ line: 16,
169
+ column: 2
170
+ }
171
+ },
172
+ "1": {
173
+ start: {
174
+ line: 8,
175
+ column: 2
176
+ },
177
+ end: {
178
+ line: 15,
179
+ column: 8
180
+ }
181
+ },
182
+ "2": {
183
+ start: {
184
+ line: 18,
185
+ column: 0
186
+ },
187
+ end: {
188
+ line: 18,
189
+ column: 36
190
+ }
191
+ }
192
+ },
193
+ fnMap: {
194
+ "0": {
195
+ name: "(anonymous_0)",
196
+ decl: {
197
+ start: {
198
+ line: 7,
199
+ column: 29
200
+ },
201
+ end: {
202
+ line: 7,
203
+ column: 30
204
+ }
205
+ },
206
+ loc: {
207
+ start: {
208
+ line: 8,
209
+ column: 2
210
+ },
211
+ end: {
212
+ line: 15,
213
+ column: 8
214
+ }
215
+ },
216
+ line: 8
217
+ }
218
+ },
219
+ branchMap: {
220
+ "0": {
221
+ loc: {
222
+ start: {
223
+ line: 7,
224
+ column: 32
225
+ },
226
+ end: {
227
+ line: 7,
228
+ column: 53
229
+ }
230
+ },
231
+ type: "default-arg",
232
+ locations: [{
233
+ start: {
234
+ line: 7,
235
+ column: 48
236
+ },
237
+ end: {
238
+ line: 7,
239
+ column: 53
240
+ }
241
+ }],
242
+ line: 7
243
+ }
244
+ },
245
+ s: {
246
+ "0": 0,
247
+ "1": 0,
248
+ "2": 0
249
+ },
250
+ f: {
251
+ "0": 0
252
+ },
253
+ b: {
254
+ "0": [0]
255
+ },
256
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
257
+ hash: "c1b0310c50315373c62b26d910f4b47136a53d3d"
258
+ };
259
+ var coverage = global[gcv] || (global[gcv] = {});
260
+ if (!coverage[path] || coverage[path].hash !== hash) {
261
+ coverage[path] = coverageData;
262
+ }
263
+ var actualCoverage = coverage[path];
264
+ {
265
+ // @ts-ignore
266
+ cov_1wwtrbg59n = function () {
267
+ return actualCoverage;
268
+ };
269
+ }
270
+ return actualCoverage;
271
+ }
272
+ cov_1wwtrbg59n();
273
+ var Container = (cov_1wwtrbg59n().s[0]++, /*#__PURE__*/forwardRef(function (_ref, ref) {
274
+ var _ref$isHeaderFixed = _ref.isHeaderFixed,
275
+ isHeaderFixed = _ref$isHeaderFixed === void 0 ? (cov_1wwtrbg59n().b[0][0]++, false) : _ref$isHeaderFixed,
276
+ children = _ref.children;
277
+ cov_1wwtrbg59n().f[0]++;
278
+ cov_1wwtrbg59n().s[1]++;
279
+ return /*#__PURE__*/React.createElement("div", {
280
+ ref: ref,
281
+ className: classnames("neeto-molecules-container", {
282
+ "neeto-molecules-container--header-fixed": isHeaderFixed
283
+ })
284
+ }, children);
285
+ }));
286
+ cov_1wwtrbg59n().s[2]++;
287
+ Container.displayName = "Container";
288
+
289
+ var css$2 = ".neeto-molecules-header{align-items:center;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;min-height:var(--neeto-ui-main-header-height);padding:24px 0;width:100%}.neeto-molecules-header--has-breadcrumbs{min-height:var(--neeto-ui-main-header-with-breadcrumbs-height)}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.neeto-molecules-header .neeto-molecules-header__left-data-wrap{display:flex;flex-wrap:wrap}.neeto-molecules-header .neeto-molecules-header__page-title{display:block;width:100%}.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{display:flex}.neeto-molecules-header .neeto-molecules-header__breadcrumb{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;line-height:1}.neeto-molecules-header .neeto-molecules-header__breadcrumb a{text-decoration:none;transition:all .3s ease-in-out}.neeto-molecules-header .neeto-molecules-header__breadcrumb-separator{margin:0 4px}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}";
290
+ n(css$2,{});
291
+
292
+ function cov_2jdv1wna26() {
293
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Breadcrumbs.jsx";
294
+ var hash = "31c5f512542a62a23e3fc8e550878db0e1cd2a44";
295
+ var global = new Function("return this")();
296
+ var gcv = "__coverage__";
297
+ var coverageData = {
298
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Breadcrumbs.jsx",
299
+ statementMap: {
300
+ "0": {
301
+ start: {
302
+ line: 9,
303
+ column: 20
304
+ },
305
+ end: {
306
+ line: 32,
307
+ column: 1
308
+ }
309
+ },
310
+ "1": {
311
+ start: {
312
+ line: 10,
313
+ column: 2
314
+ },
315
+ end: {
316
+ line: 31,
317
+ column: 8
318
+ }
319
+ },
320
+ "2": {
321
+ start: {
322
+ line: 12,
323
+ column: 6
324
+ },
325
+ end: {
326
+ line: 29,
327
+ column: 12
328
+ }
329
+ }
330
+ },
331
+ fnMap: {
332
+ "0": {
333
+ name: "(anonymous_0)",
334
+ decl: {
335
+ start: {
336
+ line: 9,
337
+ column: 20
338
+ },
339
+ end: {
340
+ line: 9,
341
+ column: 21
342
+ }
343
+ },
344
+ loc: {
345
+ start: {
346
+ line: 10,
347
+ column: 2
348
+ },
349
+ end: {
350
+ line: 31,
351
+ column: 8
352
+ }
353
+ },
354
+ line: 10
355
+ },
356
+ "1": {
357
+ name: "(anonymous_1)",
358
+ decl: {
359
+ start: {
360
+ line: 11,
361
+ column: 21
362
+ },
363
+ end: {
364
+ line: 11,
365
+ column: 22
366
+ }
367
+ },
368
+ loc: {
369
+ start: {
370
+ line: 12,
371
+ column: 6
372
+ },
373
+ end: {
374
+ line: 29,
375
+ column: 12
376
+ }
377
+ },
378
+ line: 12
379
+ }
380
+ },
381
+ branchMap: {},
382
+ s: {
383
+ "0": 0,
384
+ "1": 0,
385
+ "2": 0
386
+ },
387
+ f: {
388
+ "0": 0,
389
+ "1": 0
390
+ },
391
+ b: {},
392
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
393
+ hash: "31c5f512542a62a23e3fc8e550878db0e1cd2a44"
394
+ };
395
+ var coverage = global[gcv] || (global[gcv] = {});
396
+ if (!coverage[path] || coverage[path].hash !== hash) {
397
+ coverage[path] = coverageData;
398
+ }
399
+ var actualCoverage = coverage[path];
400
+ {
401
+ // @ts-ignore
402
+ cov_2jdv1wna26 = function () {
403
+ return actualCoverage;
404
+ };
405
+ }
406
+ return actualCoverage;
407
+ }
408
+ cov_2jdv1wna26();
409
+ cov_2jdv1wna26().s[0]++;
410
+ var Breadcrumbs = function Breadcrumbs(_ref) {
411
+ var breadcrumbs = _ref.breadcrumbs;
412
+ cov_2jdv1wna26().f[0]++;
413
+ cov_2jdv1wna26().s[1]++;
414
+ return /*#__PURE__*/React.createElement("div", {
415
+ className: "neeto-molecules-header__breadcrumbs-wrap"
416
+ }, breadcrumbs.map(function (_ref2, index) {
417
+ var text = _ref2.text,
418
+ link = _ref2.link;
419
+ cov_2jdv1wna26().f[1]++;
420
+ cov_2jdv1wna26().s[2]++;
421
+ return /*#__PURE__*/React.createElement("div", {
422
+ className: "neeto-molecules-header__breadcrumb",
423
+ key: index
424
+ }, /*#__PURE__*/React.createElement(Link, {
425
+ to: link
426
+ }, /*#__PURE__*/React.createElement(Typography, {
427
+ className: "neeto-molecules-text-gray-700 hover:neeto-ui-text-gray-800 neeto-molecules-header__breadcrumb-link",
428
+ component: "span",
429
+ "data-cy": text,
430
+ "data-test-id": text,
431
+ style: "body2",
432
+ weight: "normal"
433
+ }, text)), /*#__PURE__*/React.createElement(Right, {
434
+ className: "neeto-molecules-header__breadcrumb-separator neeto-ui-text-gray-400",
435
+ size: 16
436
+ }));
437
+ }));
438
+ };
439
+
440
+ function cov_14lmkczjok() {
441
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/index.jsx";
442
+ var hash = "5942842597a7b0320330d704f35fd6318ddbbd60";
443
+ var global = new Function("return this")();
444
+ var gcv = "__coverage__";
445
+ var coverageData = {
446
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/index.jsx",
447
+ statementMap: {
448
+ "0": {
449
+ start: {
450
+ line: 11,
451
+ column: 15
452
+ },
453
+ end: {
454
+ line: 72,
455
+ column: 1
456
+ }
457
+ },
458
+ "1": {
459
+ start: {
460
+ line: 19,
461
+ column: 20
462
+ },
463
+ end: {
464
+ line: 19,
465
+ column: 32
466
+ }
467
+ },
468
+ "2": {
469
+ start: {
470
+ line: 21,
471
+ column: 2
472
+ },
473
+ end: {
474
+ line: 71,
475
+ column: 4
476
+ }
477
+ }
478
+ },
479
+ fnMap: {
480
+ "0": {
481
+ name: "(anonymous_0)",
482
+ decl: {
483
+ start: {
484
+ line: 11,
485
+ column: 15
486
+ },
487
+ end: {
488
+ line: 11,
489
+ column: 16
490
+ }
491
+ },
492
+ loc: {
493
+ start: {
494
+ line: 18,
495
+ column: 6
496
+ },
497
+ end: {
498
+ line: 72,
499
+ column: 1
500
+ }
501
+ },
502
+ line: 18
503
+ }
504
+ },
505
+ branchMap: {
506
+ "0": {
507
+ loc: {
508
+ start: {
509
+ line: 15,
510
+ column: 2
511
+ },
512
+ end: {
513
+ line: 15,
514
+ column: 16
515
+ }
516
+ },
517
+ type: "default-arg",
518
+ locations: [{
519
+ start: {
520
+ line: 15,
521
+ column: 14
522
+ },
523
+ end: {
524
+ line: 15,
525
+ column: 16
526
+ }
527
+ }],
528
+ line: 15
529
+ },
530
+ "1": {
531
+ loc: {
532
+ start: {
533
+ line: 17,
534
+ column: 2
535
+ },
536
+ end: {
537
+ line: 17,
538
+ column: 18
539
+ }
540
+ },
541
+ type: "default-arg",
542
+ locations: [{
543
+ start: {
544
+ line: 17,
545
+ column: 16
546
+ },
547
+ end: {
548
+ line: 17,
549
+ column: 18
550
+ }
551
+ }],
552
+ line: 17
553
+ },
554
+ "2": {
555
+ loc: {
556
+ start: {
557
+ line: 30,
558
+ column: 9
559
+ },
560
+ end: {
561
+ line: 39,
562
+ column: 9
563
+ }
564
+ },
565
+ type: "binary-expr",
566
+ locations: [{
567
+ start: {
568
+ line: 30,
569
+ column: 9
570
+ },
571
+ end: {
572
+ line: 30,
573
+ column: 22
574
+ }
575
+ }, {
576
+ start: {
577
+ line: 31,
578
+ column: 10
579
+ },
580
+ end: {
581
+ line: 38,
582
+ column: 12
583
+ }
584
+ }],
585
+ line: 30
586
+ },
587
+ "3": {
588
+ loc: {
589
+ start: {
590
+ line: 41,
591
+ column: 11
592
+ },
593
+ end: {
594
+ line: 41,
595
+ column: 67
596
+ }
597
+ },
598
+ type: "binary-expr",
599
+ locations: [{
600
+ start: {
601
+ line: 41,
602
+ column: 11
603
+ },
604
+ end: {
605
+ line: 41,
606
+ column: 22
607
+ }
608
+ }, {
609
+ start: {
610
+ line: 41,
611
+ column: 26
612
+ },
613
+ end: {
614
+ line: 41,
615
+ column: 67
616
+ }
617
+ }],
618
+ line: 41
619
+ },
620
+ "4": {
621
+ loc: {
622
+ start: {
623
+ line: 55,
624
+ column: 9
625
+ },
626
+ end: {
627
+ line: 67,
628
+ column: 9
629
+ }
630
+ },
631
+ type: "binary-expr",
632
+ locations: [{
633
+ start: {
634
+ line: 55,
635
+ column: 9
636
+ },
637
+ end: {
638
+ line: 55,
639
+ column: 20
640
+ }
641
+ }, {
642
+ start: {
643
+ line: 56,
644
+ column: 10
645
+ },
646
+ end: {
647
+ line: 66,
648
+ column: 12
649
+ }
650
+ }],
651
+ line: 55
652
+ }
653
+ },
654
+ s: {
655
+ "0": 0,
656
+ "1": 0,
657
+ "2": 0
658
+ },
659
+ f: {
660
+ "0": 0
661
+ },
662
+ b: {
663
+ "0": [0],
664
+ "1": [0],
665
+ "2": [0, 0],
666
+ "3": [0, 0],
667
+ "4": [0, 0]
668
+ },
669
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
670
+ hash: "5942842597a7b0320330d704f35fd6318ddbbd60"
671
+ };
672
+ var coverage = global[gcv] || (global[gcv] = {});
673
+ if (!coverage[path] || coverage[path].hash !== hash) {
674
+ coverage[path] = coverageData;
675
+ }
676
+ var actualCoverage = coverage[path];
677
+ {
678
+ // @ts-ignore
679
+ cov_14lmkczjok = function () {
680
+ return actualCoverage;
681
+ };
682
+ }
683
+ return actualCoverage;
684
+ }
685
+ cov_14lmkczjok();
686
+ cov_14lmkczjok().s[0]++;
687
+ var Header = function Header(_ref) {
688
+ var title = _ref.title,
689
+ menuBarToggle = _ref.menuBarToggle,
690
+ searchProps = _ref.searchProps,
691
+ _ref$className = _ref.className,
692
+ className = _ref$className === void 0 ? (cov_14lmkczjok().b[0][0]++, "") : _ref$className,
693
+ actionBlock = _ref.actionBlock,
694
+ _ref$breadcrumbs = _ref.breadcrumbs,
695
+ breadcrumbs = _ref$breadcrumbs === void 0 ? (cov_14lmkczjok().b[1][0]++, []) : _ref$breadcrumbs;
696
+ cov_14lmkczjok().f[0]++;
697
+ var searchRef = (cov_14lmkczjok().s[1]++, useRef(null));
698
+ cov_14lmkczjok().s[2]++;
699
+ return /*#__PURE__*/React.createElement("div", {
700
+ className: classnames(["neeto-molecules-header", {
701
+ "neeto-molecules-header--has-breadcrumbs": !isEmpty(breadcrumbs)
702
+ }, className])
703
+ }, /*#__PURE__*/React.createElement("div", {
704
+ className: "neeto-molecules-header__left"
705
+ }, (cov_14lmkczjok().b[2][0]++, menuBarToggle) && (cov_14lmkczjok().b[2][1]++, /*#__PURE__*/React.createElement(Button, {
706
+ "aria-label": "Toggle Menubar",
707
+ className: "neeto-molecules-header__toggle-menubar-btn",
708
+ "data-cy": "menubar-toggle-button",
709
+ icon: HamburgerMenu,
710
+ style: "text",
711
+ onClick: menuBarToggle
712
+ })), /*#__PURE__*/React.createElement("div", {
713
+ className: "neeto-molecules-header__left-data-wrap"
714
+ }, (cov_14lmkczjok().b[3][0]++, breadcrumbs) && (cov_14lmkczjok().b[3][1]++, /*#__PURE__*/React.createElement(Breadcrumbs, {
715
+ breadcrumbs: breadcrumbs
716
+ })), /*#__PURE__*/React.createElement(Typography, {
717
+ className: "neeto-molecules-header__page-title",
718
+ "data-cy": "main-header",
719
+ "data-test-id": "main-header",
720
+ lineHeight: "tight",
721
+ style: "h2",
722
+ weight: "semibold"
723
+ }, title))), /*#__PURE__*/React.createElement("div", {
724
+ className: "neeto-ui-gap-3 neeto-molecules-header__right"
725
+ }, (cov_14lmkczjok().b[4][0]++, searchProps) && (cov_14lmkczjok().b[4][1]++, /*#__PURE__*/React.createElement(Input, _extends({
726
+ placeholder: "Search",
727
+ prefix: /*#__PURE__*/React.createElement(Search, null),
728
+ ref: searchRef,
729
+ type: "search",
730
+ className: classnames(["neeto-molecules-header__search-input", searchProps.className])
731
+ }, searchProps))), actionBlock));
732
+ };
733
+
734
+ function _objectWithoutPropertiesLoose(source, excluded) {
735
+ if (source == null) return {};
736
+ var target = {};
737
+ var sourceKeys = Object.keys(source);
738
+ var key, i;
739
+ for (i = 0; i < sourceKeys.length; i++) {
740
+ key = sourceKeys[i];
741
+ if (excluded.indexOf(key) >= 0) continue;
742
+ target[key] = source[key];
743
+ }
744
+ return target;
745
+ }
746
+
747
+ function _objectWithoutProperties(source, excluded) {
748
+ if (source == null) return {};
749
+ var target = _objectWithoutPropertiesLoose(source, excluded);
750
+ var key, i;
751
+ if (Object.getOwnPropertySymbols) {
752
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
753
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
754
+ key = sourceSymbolKeys[i];
755
+ if (excluded.indexOf(key) >= 0) continue;
756
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
757
+ target[key] = source[key];
758
+ }
759
+ }
760
+ return target;
761
+ }
762
+
763
+ var css$1 = ".neeto-molecules-pageloader__wrapper{height:100%;position:relative;width:100%}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader{height:100%;left:0;position:absolute;top:0;width:100%}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader__content{height:66px;margin-bottom:16px;overflow:hidden;padding:8px;position:relative;width:66px}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader__text{color:rgb(var(--neeto-ui-gray-800));font-size:1.25rem;line-height:1.75rem;margin-bottom:4rem;text-align:center}.neeto-molecules-pageloader__spinner{display:flex;gap:2px;height:25px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.neeto-molecules-pageloader__spinner>div{animation:neeto-ui-stretch-delay 1.2s ease-in-out infinite;background-color:#fff;border-radius:2px;display:inline-flex;height:100%;width:2px}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect2{animation-delay:-1.1s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect3{animation-delay:-1s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect4{animation-delay:-.9s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect5{animation-delay:-.8s}@keyframes neeto-ui-stretch-delay{0%,40%,to{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}";
764
+ n(css$1,{});
765
+
766
+ var _excluded = ["text"];
767
+ function cov_1rnptrlqih() {
768
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/PageLoader/index.jsx";
769
+ var hash = "40cda882f932d7a0fcac6bc5ec150d93c0420b62";
770
+ var global = new Function("return this")();
771
+ var gcv = "__coverage__";
772
+ var coverageData = {
773
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/PageLoader/index.jsx",
774
+ statementMap: {
775
+ "0": {
776
+ start: {
777
+ line: 9,
778
+ column: 19
779
+ },
780
+ end: {
781
+ line: 29,
782
+ column: 1
783
+ }
784
+ },
785
+ "1": {
786
+ start: {
787
+ line: 10,
788
+ column: 2
789
+ },
790
+ end: {
791
+ line: 28,
792
+ column: 8
793
+ }
794
+ },
795
+ "2": {
796
+ start: {
797
+ line: 31,
798
+ column: 0
799
+ },
800
+ end: {
801
+ line: 36,
802
+ column: 2
803
+ }
804
+ }
805
+ },
806
+ fnMap: {
807
+ "0": {
808
+ name: "(anonymous_0)",
809
+ decl: {
810
+ start: {
811
+ line: 9,
812
+ column: 19
813
+ },
814
+ end: {
815
+ line: 9,
816
+ column: 20
817
+ }
818
+ },
819
+ loc: {
820
+ start: {
821
+ line: 10,
822
+ column: 2
823
+ },
824
+ end: {
825
+ line: 28,
826
+ column: 8
827
+ }
828
+ },
829
+ line: 10
830
+ }
831
+ },
832
+ branchMap: {
833
+ "0": {
834
+ loc: {
835
+ start: {
836
+ line: 9,
837
+ column: 22
838
+ },
839
+ end: {
840
+ line: 9,
841
+ column: 31
842
+ }
843
+ },
844
+ type: "default-arg",
845
+ locations: [{
846
+ start: {
847
+ line: 9,
848
+ column: 29
849
+ },
850
+ end: {
851
+ line: 9,
852
+ column: 31
853
+ }
854
+ }],
855
+ line: 9
856
+ },
857
+ "1": {
858
+ loc: {
859
+ start: {
860
+ line: 22,
861
+ column: 7
862
+ },
863
+ end: {
864
+ line: 26,
865
+ column: 7
866
+ }
867
+ },
868
+ type: "binary-expr",
869
+ locations: [{
870
+ start: {
871
+ line: 22,
872
+ column: 7
873
+ },
874
+ end: {
875
+ line: 22,
876
+ column: 11
877
+ }
878
+ }, {
879
+ start: {
880
+ line: 23,
881
+ column: 8
882
+ },
883
+ end: {
884
+ line: 25,
885
+ column: 21
886
+ }
887
+ }],
888
+ line: 22
889
+ }
890
+ },
891
+ s: {
892
+ "0": 0,
893
+ "1": 0,
894
+ "2": 0
895
+ },
896
+ f: {
897
+ "0": 0
898
+ },
899
+ b: {
900
+ "0": [0],
901
+ "1": [0, 0]
902
+ },
903
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
904
+ hash: "40cda882f932d7a0fcac6bc5ec150d93c0420b62"
905
+ };
906
+ var coverage = global[gcv] || (global[gcv] = {});
907
+ if (!coverage[path] || coverage[path].hash !== hash) {
908
+ coverage[path] = coverageData;
909
+ }
910
+ var actualCoverage = coverage[path];
911
+ {
912
+ // @ts-ignore
913
+ cov_1rnptrlqih = function () {
914
+ return actualCoverage;
915
+ };
916
+ }
917
+ return actualCoverage;
918
+ }
919
+ cov_1rnptrlqih();
920
+ cov_1rnptrlqih().s[0]++;
921
+ var PageLoader = function PageLoader(_ref) {
922
+ var _ref$text = _ref.text,
923
+ text = _ref$text === void 0 ? (cov_1rnptrlqih().b[0][0]++, "") : _ref$text,
924
+ otherProps = _objectWithoutProperties(_ref, _excluded);
925
+ cov_1rnptrlqih().f[0]++;
926
+ cov_1rnptrlqih().s[1]++;
927
+ return /*#__PURE__*/React.createElement("div", _extends({
928
+ className: "neeto-molecules-pageloader__wrapper"
929
+ }, otherProps), /*#__PURE__*/React.createElement("div", {
930
+ className: "neeto-molecules-pageloader neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-justify-center"
931
+ }, /*#__PURE__*/React.createElement("div", {
932
+ className: "neeto-molecules-pageloader__content neeto-ui-flex neeto-ui-flex-shrink-0 neeto-ui-items-center neeto-ui-justify-center"
933
+ }, /*#__PURE__*/React.createElement(Neeto, {
934
+ className: "neeto-molecules-pageloader__logo",
935
+ size: 50
936
+ }), /*#__PURE__*/React.createElement("div", {
937
+ className: "neeto-molecules-pageloader__spinner"
938
+ }, /*#__PURE__*/React.createElement("div", {
939
+ className: "neeto-molecules-pageloader__rect1"
940
+ }), /*#__PURE__*/React.createElement("div", {
941
+ className: "neeto-molecules-pageloader__rect2"
942
+ }), /*#__PURE__*/React.createElement("div", {
943
+ className: "neeto-molecules-pageloader__rect3"
944
+ }), /*#__PURE__*/React.createElement("div", {
945
+ className: "neeto-molecules-pageloader__rect4"
946
+ }), /*#__PURE__*/React.createElement("div", {
947
+ className: "neeto-molecules-pageloader__rect5"
948
+ }))), (cov_1rnptrlqih().b[1][0]++, text) && (cov_1rnptrlqih().b[1][1]++, /*#__PURE__*/React.createElement(Typography, {
949
+ style: "h5",
950
+ weight: "semibold"
951
+ }, text))));
952
+ };
953
+ cov_1rnptrlqih().s[2]++;
954
+
955
+ var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}";
956
+ n(css,{});
957
+
958
+ function cov_mkycqaehe() {
959
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
960
+ var hash = "add11ac729f682ff4016960d57fa604d2fbbbcaa";
961
+ var global = new Function("return this")();
962
+ var gcv = "__coverage__";
963
+ var coverageData = {
964
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx",
965
+ statementMap: {
966
+ "0": {
967
+ start: {
968
+ line: 7,
969
+ column: 18
970
+ },
971
+ end: {
972
+ line: 21,
973
+ column: 1
974
+ }
975
+ },
976
+ "1": {
977
+ start: {
978
+ line: 8,
979
+ column: 2
980
+ },
981
+ end: {
982
+ line: 20,
983
+ column: 8
984
+ }
985
+ }
986
+ },
987
+ fnMap: {
988
+ "0": {
989
+ name: "(anonymous_0)",
990
+ decl: {
991
+ start: {
992
+ line: 7,
993
+ column: 18
994
+ },
995
+ end: {
996
+ line: 7,
997
+ column: 19
998
+ }
999
+ },
1000
+ loc: {
1001
+ start: {
1002
+ line: 8,
1003
+ column: 2
1004
+ },
1005
+ end: {
1006
+ line: 20,
1007
+ column: 8
1008
+ }
1009
+ },
1010
+ line: 8
1011
+ }
1012
+ },
1013
+ branchMap: {
1014
+ "0": {
1015
+ loc: {
1016
+ start: {
1017
+ line: 7,
1018
+ column: 21
1019
+ },
1020
+ end: {
1021
+ line: 7,
1022
+ column: 35
1023
+ }
1024
+ },
1025
+ type: "default-arg",
1026
+ locations: [{
1027
+ start: {
1028
+ line: 7,
1029
+ column: 33
1030
+ },
1031
+ end: {
1032
+ line: 7,
1033
+ column: 35
1034
+ }
1035
+ }],
1036
+ line: 7
1037
+ },
1038
+ "1": {
1039
+ loc: {
1040
+ start: {
1041
+ line: 13,
1042
+ column: 7
1043
+ },
1044
+ end: {
1045
+ line: 15,
1046
+ column: 7
1047
+ }
1048
+ },
1049
+ type: "binary-expr",
1050
+ locations: [{
1051
+ start: {
1052
+ line: 13,
1053
+ column: 7
1054
+ },
1055
+ end: {
1056
+ line: 13,
1057
+ column: 22
1058
+ }
1059
+ }, {
1060
+ start: {
1061
+ line: 14,
1062
+ column: 8
1063
+ },
1064
+ end: {
1065
+ line: 14,
1066
+ column: 80
1067
+ }
1068
+ }],
1069
+ line: 13
1070
+ },
1071
+ "2": {
1072
+ loc: {
1073
+ start: {
1074
+ line: 17,
1075
+ column: 5
1076
+ },
1077
+ end: {
1078
+ line: 19,
1079
+ column: 5
1080
+ }
1081
+ },
1082
+ type: "binary-expr",
1083
+ locations: [{
1084
+ start: {
1085
+ line: 17,
1086
+ column: 5
1087
+ },
1088
+ end: {
1089
+ line: 17,
1090
+ column: 21
1091
+ }
1092
+ }, {
1093
+ start: {
1094
+ line: 18,
1095
+ column: 6
1096
+ },
1097
+ end: {
1098
+ line: 18,
1099
+ column: 80
1100
+ }
1101
+ }],
1102
+ line: 17
1103
+ }
1104
+ },
1105
+ s: {
1106
+ "0": 0,
1107
+ "1": 0
1108
+ },
1109
+ f: {
1110
+ "0": 0
1111
+ },
1112
+ b: {
1113
+ "0": [0],
1114
+ "1": [0, 0],
1115
+ "2": [0, 0]
1116
+ },
1117
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1118
+ hash: "add11ac729f682ff4016960d57fa604d2fbbbcaa"
1119
+ };
1120
+ var coverage = global[gcv] || (global[gcv] = {});
1121
+ if (!coverage[path] || coverage[path].hash !== hash) {
1122
+ coverage[path] = coverageData;
1123
+ }
1124
+ var actualCoverage = coverage[path];
1125
+ {
1126
+ // @ts-ignore
1127
+ cov_mkycqaehe = function () {
1128
+ return actualCoverage;
1129
+ };
1130
+ }
1131
+ return actualCoverage;
1132
+ }
1133
+ cov_mkycqaehe();
1134
+ cov_mkycqaehe().s[0]++;
1135
+ var SubHeader = function SubHeader(_ref) {
1136
+ var _ref$className = _ref.className,
1137
+ className = _ref$className === void 0 ? (cov_mkycqaehe().b[0][0]++, "") : _ref$className,
1138
+ leftActionBlock = _ref.leftActionBlock,
1139
+ rightActionBlock = _ref.rightActionBlock;
1140
+ cov_mkycqaehe().f[0]++;
1141
+ cov_mkycqaehe().s[1]++;
1142
+ return /*#__PURE__*/React.createElement("div", {
1143
+ className: classnames(["neeto-molecules-subheader", className]),
1144
+ "data-testid": "subheader"
1145
+ }, /*#__PURE__*/React.createElement("div", {
1146
+ className: "neeto-molecules-subheader__left-wrapper"
1147
+ }, (cov_mkycqaehe().b[1][0]++, leftActionBlock) && (cov_mkycqaehe().b[1][1]++, /*#__PURE__*/React.createElement("div", {
1148
+ className: "neeto-molecules-subheader__left"
1149
+ }, leftActionBlock))), (cov_mkycqaehe().b[2][0]++, rightActionBlock) && (cov_mkycqaehe().b[2][1]++, /*#__PURE__*/React.createElement("div", {
1150
+ className: "neeto-molecules-subheader__right"
1151
+ }, rightActionBlock)));
1152
+ };
1153
+
86
1154
  function cov_222iv29ng9() {
87
1155
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/constants.js";
88
1156
  var hash = "449c4fda611658c1696f37c3552077220c40c27d";
@@ -223,67 +1291,6 @@ var INITIAL_VALUES = (cov_1uqwnv9h7p().s[1]++, {
223
1291
  hostname: ""
224
1292
  });
225
1293
 
226
- var classnames$1 = {exports: {}};
227
-
228
- /*!
229
- Copyright (c) 2018 Jed Watson.
230
- Licensed under the MIT License (MIT), see
231
- http://jedwatson.github.io/classnames
232
- */
233
-
234
- (function (module) {
235
- /* global define */
236
-
237
- (function () {
238
-
239
- var hasOwn = {}.hasOwnProperty;
240
-
241
- function classNames() {
242
- var classes = [];
243
-
244
- for (var i = 0; i < arguments.length; i++) {
245
- var arg = arguments[i];
246
- if (!arg) continue;
247
-
248
- var argType = typeof arg;
249
-
250
- if (argType === 'string' || argType === 'number') {
251
- classes.push(arg);
252
- } else if (Array.isArray(arg)) {
253
- if (arg.length) {
254
- var inner = classNames.apply(null, arg);
255
- if (inner) {
256
- classes.push(inner);
257
- }
258
- }
259
- } else if (argType === 'object') {
260
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
261
- classes.push(arg.toString());
262
- continue;
263
- }
264
-
265
- for (var key in arg) {
266
- if (hasOwn.call(arg, key) && arg[key]) {
267
- classes.push(key);
268
- }
269
- }
270
- }
271
- }
272
-
273
- return classes.join(' ');
274
- }
275
-
276
- if (module.exports) {
277
- classNames.default = classNames;
278
- module.exports = classNames;
279
- } else {
280
- window.classNames = classNames;
281
- }
282
- }());
283
- } (classnames$1));
284
-
285
- var classnames = classnames$1.exports;
286
-
287
1294
  function cov_17zuzxiyk0() {
288
1295
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/Manage/TagBlock.jsx";
289
1296
  var hash = "914115c544ec8eaca6932fcb4bfc26ee13200ce8";
@@ -1266,13 +2273,13 @@ var renderColumnData = function renderColumnData(enableManagePane, enableDeleteA
1266
2273
  cov_20ap541pw6().f[0]++;
1267
2274
  cov_20ap541pw6().s[2]++;
1268
2275
  return [{
1269
- title: t("neetoMolecules.customDomain.customDomain", {
2276
+ title: t$1("neetoMolecules.customDomain.customDomain", {
1270
2277
  count: SINGULAR
1271
2278
  }),
1272
2279
  dataIndex: "hostname",
1273
2280
  key: "hostname"
1274
2281
  }, {
1275
- title: t("neetoMolecules.common.status"),
2282
+ title: t$1("neetoMolecules.common.status"),
1276
2283
  dataIndex: "status",
1277
2284
  key: "status",
1278
2285
  render: function render(status) {
@@ -1309,13 +2316,13 @@ var renderColumnData = function renderColumnData(enableManagePane, enableDeleteA
1309
2316
  cov_20ap541pw6().s[6]++;
1310
2317
  return enableManagePane(customDomain);
1311
2318
  }
1312
- }, t("neetoMolecules.common.actions.edit")), /*#__PURE__*/React.createElement(MenuItem.Button, {
2319
+ }, t$1("neetoMolecules.common.actions.edit")), /*#__PURE__*/React.createElement(MenuItem.Button, {
1313
2320
  onClick: function onClick() {
1314
2321
  cov_20ap541pw6().f[5]++;
1315
2322
  cov_20ap541pw6().s[7]++;
1316
2323
  return enableDeleteAlert(customDomain);
1317
2324
  }
1318
- }, t("neetoMolecules.common.actions.delete")))));
2325
+ }, t$1("neetoMolecules.common.actions.delete")))));
1319
2326
  }
1320
2327
  }];
1321
2328
  };
@@ -1330,17 +2337,17 @@ var recordData = function recordData(customDomain) {
1330
2337
  var isDomainValidated = (cov_20ap541pw6().s[10]++, (cov_20ap541pw6().b[0][0]++, status === "active") || (cov_20ap541pw6().b[0][1]++, status === "pending_cname_validation"));
1331
2338
  var recordName = (cov_20ap541pw6().s[11]++, isDomainValidated ? (cov_20ap541pw6().b[1][0]++, hostname) : (cov_20ap541pw6().b[1][1]++, cnameValidationParams === null || cnameValidationParams === void 0 ? void 0 : cnameValidationParams.name));
1332
2339
  var recordValue = (cov_20ap541pw6().s[12]++, isDomainValidated ? (cov_20ap541pw6().b[2][0]++, dnsTarget) : (cov_20ap541pw6().b[2][1]++, cnameValidationParams === null || cnameValidationParams === void 0 ? void 0 : cnameValidationParams.value));
1333
- var recordType = (cov_20ap541pw6().s[13]++, isDomainValidated ? (cov_20ap541pw6().b[3][0]++, t("neetoMolecules.customDomain.cname")) : (cov_20ap541pw6().b[3][1]++, t("neetoMolecules.customDomain.domainValidationCname")));
1334
- var recordDescription = (cov_20ap541pw6().s[14]++, t("neetoMolecules.customDomain.validation.desc", {
2340
+ var recordType = (cov_20ap541pw6().s[13]++, isDomainValidated ? (cov_20ap541pw6().b[3][0]++, t$1("neetoMolecules.customDomain.cname")) : (cov_20ap541pw6().b[3][1]++, t$1("neetoMolecules.customDomain.domainValidationCname")));
2341
+ var recordDescription = (cov_20ap541pw6().s[14]++, t$1("neetoMolecules.customDomain.validation.desc", {
1335
2342
  record: recordType
1336
2343
  }));
1337
- var recordNameLabel = (cov_20ap541pw6().s[15]++, t("neetoMolecules.customDomain.validation.record", {
2344
+ var recordNameLabel = (cov_20ap541pw6().s[15]++, t$1("neetoMolecules.customDomain.validation.record", {
1338
2345
  record: recordType,
1339
- type: t("neetoMolecules.common.name")
2346
+ type: t$1("neetoMolecules.common.name")
1340
2347
  }));
1341
- var recordValueLabel = (cov_20ap541pw6().s[16]++, t("neetoMolecules.customDomain.validation.record", {
2348
+ var recordValueLabel = (cov_20ap541pw6().s[16]++, t$1("neetoMolecules.customDomain.validation.record", {
1342
2349
  record: recordType,
1343
- type: t("neetoMolecules.common.value")
2350
+ type: t$1("neetoMolecules.common.value")
1344
2351
  }));
1345
2352
  cov_20ap541pw6().s[17]++;
1346
2353
  return {
@@ -1802,7 +2809,7 @@ var getCustomDomainValidationSchema = function getCustomDomainValidationSchema()
1802
2809
  cov_1z686a3obo().f[0]++;
1803
2810
  cov_1z686a3obo().s[1]++;
1804
2811
  return Yup.object().shape({
1805
- hostname: Yup.string().required(t("neetoMolecules.customDomain.formikValidation.required")).matches(HOSTNAME_REGEX, t("neetoMolecules.customDomain.formikValidation.valid"))
2812
+ hostname: Yup.string().required(t$1("neetoMolecules.customDomain.formikValidation.required")).matches(HOSTNAME_REGEX, t$1("neetoMolecules.customDomain.formikValidation.valid"))
1806
2813
  });
1807
2814
  };
1808
2815
 
@@ -4281,7 +5288,7 @@ var Manage = function Manage(_ref) {
4281
5288
 
4282
5289
  function cov_24yn1i4hss() {
4283
5290
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/index.jsx";
4284
- var hash = "03181283110946a79481992e57f4ccd92f829d35";
5291
+ var hash = "5caef41e1d8996e19c7466d523b463232b464d80";
4285
5292
  var global = new Function("return this")();
4286
5293
  var gcv = "__coverage__";
4287
5294
  var coverageData = {
@@ -4289,231 +5296,231 @@ function cov_24yn1i4hss() {
4289
5296
  statementMap: {
4290
5297
  "0": {
4291
5298
  start: {
4292
- line: 17,
5299
+ line: 21,
4293
5300
  column: 21
4294
5301
  },
4295
5302
  end: {
4296
- line: 133,
5303
+ line: 137,
4297
5304
  column: 1
4298
5305
  }
4299
5306
  },
4300
5307
  "1": {
4301
5308
  start: {
4302
- line: 18,
5309
+ line: 22,
4303
5310
  column: 38
4304
5311
  },
4305
5312
  end: {
4306
- line: 18,
5313
+ line: 22,
4307
5314
  column: 50
4308
5315
  }
4309
5316
  },
4310
5317
  "2": {
4311
5318
  start: {
4312
- line: 19,
5319
+ line: 23,
4313
5320
  column: 38
4314
5321
  },
4315
5322
  end: {
4316
- line: 19,
5323
+ line: 23,
4317
5324
  column: 53
4318
5325
  }
4319
5326
  },
4320
5327
  "3": {
4321
5328
  start: {
4322
- line: 20,
5329
+ line: 24,
4323
5330
  column: 42
4324
5331
  },
4325
5332
  end: {
4326
- line: 20,
5333
+ line: 24,
4327
5334
  column: 56
4328
5335
  }
4329
5336
  },
4330
5337
  "4": {
4331
5338
  start: {
4332
- line: 21,
5339
+ line: 25,
4333
5340
  column: 40
4334
5341
  },
4335
5342
  end: {
4336
- line: 21,
5343
+ line: 25,
4337
5344
  column: 55
4338
5345
  }
4339
5346
  },
4340
5347
  "5": {
4341
5348
  start: {
4342
- line: 22,
5349
+ line: 26,
4343
5350
  column: 16
4344
5351
  },
4345
5352
  end: {
4346
- line: 22,
5353
+ line: 26,
4347
5354
  column: 32
4348
5355
  }
4349
5356
  },
4350
5357
  "6": {
4351
5358
  start: {
4352
- line: 23,
5359
+ line: 27,
4353
5360
  column: 30
4354
5361
  },
4355
5362
  end: {
4356
- line: 23,
5363
+ line: 27,
4357
5364
  column: 58
4358
5365
  }
4359
5366
  },
4360
5367
  "7": {
4361
5368
  start: {
4362
- line: 25,
5369
+ line: 29,
4363
5370
  column: 36
4364
5371
  },
4365
5372
  end: {
4366
- line: 27,
5373
+ line: 31,
4367
5374
  column: 4
4368
5375
  }
4369
5376
  },
4370
5377
  "8": {
4371
5378
  start: {
4372
- line: 30,
5379
+ line: 34,
4373
5380
  column: 4
4374
5381
  },
4375
5382
  end: {
4376
- line: 32,
5383
+ line: 36,
4377
5384
  column: 6
4378
5385
  }
4379
5386
  },
4380
5387
  "9": {
4381
5388
  start: {
4382
- line: 31,
5389
+ line: 35,
4383
5390
  column: 23
4384
5391
  },
4385
5392
  end: {
4386
- line: 31,
5393
+ line: 35,
4387
5394
  column: 44
4388
5395
  }
4389
5396
  },
4390
5397
  "10": {
4391
5398
  start: {
4392
- line: 34,
5399
+ line: 38,
4393
5400
  column: 27
4394
5401
  },
4395
5402
  end: {
4396
- line: 37,
5403
+ line: 41,
4397
5404
  column: 3
4398
5405
  }
4399
5406
  },
4400
5407
  "11": {
4401
5408
  start: {
4402
- line: 35,
5409
+ line: 39,
4403
5410
  column: 4
4404
5411
  },
4405
5412
  end: {
4406
- line: 35,
5413
+ line: 39,
4407
5414
  column: 34
4408
5415
  }
4409
5416
  },
4410
5417
  "12": {
4411
5418
  start: {
4412
- line: 36,
5419
+ line: 40,
4413
5420
  column: 4
4414
5421
  },
4415
5422
  end: {
4416
- line: 36,
5423
+ line: 40,
4417
5424
  column: 24
4418
5425
  }
4419
5426
  },
4420
5427
  "13": {
4421
5428
  start: {
4422
- line: 39,
5429
+ line: 43,
4423
5430
  column: 28
4424
5431
  },
4425
5432
  end: {
4426
- line: 42,
5433
+ line: 46,
4427
5434
  column: 3
4428
5435
  }
4429
5436
  },
4430
5437
  "14": {
4431
5438
  start: {
4432
- line: 40,
5439
+ line: 44,
4433
5440
  column: 4
4434
5441
  },
4435
5442
  end: {
4436
- line: 40,
5443
+ line: 44,
4437
5444
  column: 34
4438
5445
  }
4439
5446
  },
4440
5447
  "15": {
4441
5448
  start: {
4442
- line: 41,
5449
+ line: 45,
4443
5450
  column: 4
4444
5451
  },
4445
5452
  end: {
4446
- line: 41,
5453
+ line: 45,
4447
5454
  column: 25
4448
5455
  }
4449
5456
  },
4450
5457
  "16": {
4451
5458
  start: {
4452
- line: 44,
5459
+ line: 48,
4453
5460
  column: 2
4454
5461
  },
4455
5462
  end: {
4456
- line: 132,
5463
+ line: 136,
4457
5464
  column: 4
4458
5465
  }
4459
5466
  },
4460
5467
  "17": {
4461
5468
  start: {
4462
- line: 52,
5469
+ line: 56,
4463
5470
  column: 29
4464
5471
  },
4465
5472
  end: {
4466
- line: 52,
5473
+ line: 56,
4467
5474
  column: 51
4468
5475
  }
4469
5476
  },
4470
5477
  "18": {
4471
5478
  start: {
4472
- line: 57,
5479
+ line: 61,
4473
5480
  column: 27
4474
5481
  },
4475
5482
  end: {
4476
- line: 57,
5483
+ line: 61,
4477
5484
  column: 56
4478
5485
  }
4479
5486
  },
4480
5487
  "19": {
4481
5488
  start: {
4482
- line: 104,
5489
+ line: 108,
4483
5490
  column: 33
4484
5491
  },
4485
5492
  end: {
4486
- line: 104,
5493
+ line: 108,
4487
5494
  column: 55
4488
5495
  }
4489
5496
  },
4490
5497
  "20": {
4491
5498
  start: {
4492
- line: 114,
5499
+ line: 118,
4493
5500
  column: 23
4494
5501
  },
4495
5502
  end: {
4496
- line: 114,
5503
+ line: 118,
4497
5504
  column: 43
4498
5505
  }
4499
5506
  },
4500
5507
  "21": {
4501
5508
  start: {
4502
- line: 128,
5509
+ line: 132,
4503
5510
  column: 23
4504
5511
  },
4505
5512
  end: {
4506
- line: 128,
5513
+ line: 132,
4507
5514
  column: 44
4508
5515
  }
4509
5516
  },
4510
5517
  "22": {
4511
5518
  start: {
4512
- line: 129,
5519
+ line: 133,
4513
5520
  column: 24
4514
5521
  },
4515
5522
  end: {
4516
- line: 129,
5523
+ line: 133,
4517
5524
  column: 60
4518
5525
  }
4519
5526
  }
@@ -4523,342 +5530,342 @@ function cov_24yn1i4hss() {
4523
5530
  name: "(anonymous_0)",
4524
5531
  decl: {
4525
5532
  start: {
4526
- line: 17,
5533
+ line: 21,
4527
5534
  column: 21
4528
5535
  },
4529
5536
  end: {
4530
- line: 17,
5537
+ line: 21,
4531
5538
  column: 22
4532
5539
  }
4533
5540
  },
4534
5541
  loc: {
4535
5542
  start: {
4536
- line: 17,
5543
+ line: 21,
4537
5544
  column: 42
4538
5545
  },
4539
5546
  end: {
4540
- line: 133,
5547
+ line: 137,
4541
5548
  column: 1
4542
5549
  }
4543
5550
  },
4544
- line: 17
5551
+ line: 21
4545
5552
  },
4546
5553
  "1": {
4547
5554
  name: "(anonymous_1)",
4548
5555
  decl: {
4549
5556
  start: {
4550
- line: 31,
5557
+ line: 35,
4551
5558
  column: 17
4552
5559
  },
4553
5560
  end: {
4554
- line: 31,
5561
+ line: 35,
4555
5562
  column: 18
4556
5563
  }
4557
5564
  },
4558
5565
  loc: {
4559
5566
  start: {
4560
- line: 31,
5567
+ line: 35,
4561
5568
  column: 23
4562
5569
  },
4563
5570
  end: {
4564
- line: 31,
5571
+ line: 35,
4565
5572
  column: 44
4566
5573
  }
4567
5574
  },
4568
- line: 31
5575
+ line: 35
4569
5576
  },
4570
5577
  "2": {
4571
5578
  name: "(anonymous_2)",
4572
5579
  decl: {
4573
5580
  start: {
4574
- line: 34,
5581
+ line: 38,
4575
5582
  column: 27
4576
5583
  },
4577
5584
  end: {
4578
- line: 34,
5585
+ line: 38,
4579
5586
  column: 28
4580
5587
  }
4581
5588
  },
4582
5589
  loc: {
4583
5590
  start: {
4584
- line: 34,
5591
+ line: 38,
4585
5592
  column: 43
4586
5593
  },
4587
5594
  end: {
4588
- line: 37,
5595
+ line: 41,
4589
5596
  column: 3
4590
5597
  }
4591
5598
  },
4592
- line: 34
5599
+ line: 38
4593
5600
  },
4594
5601
  "3": {
4595
5602
  name: "(anonymous_3)",
4596
5603
  decl: {
4597
5604
  start: {
4598
- line: 39,
5605
+ line: 43,
4599
5606
  column: 28
4600
5607
  },
4601
5608
  end: {
4602
- line: 39,
5609
+ line: 43,
4603
5610
  column: 29
4604
5611
  }
4605
5612
  },
4606
5613
  loc: {
4607
5614
  start: {
4608
- line: 39,
5615
+ line: 43,
4609
5616
  column: 44
4610
5617
  },
4611
5618
  end: {
4612
- line: 42,
5619
+ line: 46,
4613
5620
  column: 3
4614
5621
  }
4615
5622
  },
4616
- line: 39
5623
+ line: 43
4617
5624
  },
4618
5625
  "4": {
4619
5626
  name: "(anonymous_4)",
4620
5627
  decl: {
4621
5628
  start: {
4622
- line: 52,
5629
+ line: 56,
4623
5630
  column: 23
4624
5631
  },
4625
5632
  end: {
4626
- line: 52,
5633
+ line: 56,
4627
5634
  column: 24
4628
5635
  }
4629
5636
  },
4630
5637
  loc: {
4631
5638
  start: {
4632
- line: 52,
5639
+ line: 56,
4633
5640
  column: 29
4634
5641
  },
4635
5642
  end: {
4636
- line: 52,
5643
+ line: 56,
4637
5644
  column: 51
4638
5645
  }
4639
5646
  },
4640
- line: 52
5647
+ line: 56
4641
5648
  },
4642
5649
  "5": {
4643
5650
  name: "(anonymous_5)",
4644
5651
  decl: {
4645
5652
  start: {
4646
- line: 57,
5653
+ line: 61,
4647
5654
  column: 22
4648
5655
  },
4649
5656
  end: {
4650
- line: 57,
5657
+ line: 61,
4651
5658
  column: 23
4652
5659
  }
4653
5660
  },
4654
5661
  loc: {
4655
5662
  start: {
4656
- line: 57,
5663
+ line: 61,
4657
5664
  column: 27
4658
5665
  },
4659
5666
  end: {
4660
- line: 57,
5667
+ line: 61,
4661
5668
  column: 56
4662
5669
  }
4663
5670
  },
4664
- line: 57
5671
+ line: 61
4665
5672
  },
4666
5673
  "6": {
4667
5674
  name: "(anonymous_6)",
4668
5675
  decl: {
4669
5676
  start: {
4670
- line: 104,
5677
+ line: 108,
4671
5678
  column: 27
4672
5679
  },
4673
5680
  end: {
4674
- line: 104,
5681
+ line: 108,
4675
5682
  column: 28
4676
5683
  }
4677
5684
  },
4678
5685
  loc: {
4679
5686
  start: {
4680
- line: 104,
5687
+ line: 108,
4681
5688
  column: 33
4682
5689
  },
4683
5690
  end: {
4684
- line: 104,
5691
+ line: 108,
4685
5692
  column: 55
4686
5693
  }
4687
5694
  },
4688
- line: 104
5695
+ line: 108
4689
5696
  },
4690
5697
  "7": {
4691
5698
  name: "(anonymous_7)",
4692
5699
  decl: {
4693
5700
  start: {
4694
- line: 114,
5701
+ line: 118,
4695
5702
  column: 17
4696
5703
  },
4697
5704
  end: {
4698
- line: 114,
5705
+ line: 118,
4699
5706
  column: 18
4700
5707
  }
4701
5708
  },
4702
5709
  loc: {
4703
5710
  start: {
4704
- line: 114,
5711
+ line: 118,
4705
5712
  column: 23
4706
5713
  },
4707
5714
  end: {
4708
- line: 114,
5715
+ line: 118,
4709
5716
  column: 43
4710
5717
  }
4711
5718
  },
4712
- line: 114
5719
+ line: 118
4713
5720
  },
4714
5721
  "8": {
4715
5722
  name: "(anonymous_8)",
4716
5723
  decl: {
4717
5724
  start: {
4718
- line: 128,
5725
+ line: 132,
4719
5726
  column: 17
4720
5727
  },
4721
5728
  end: {
4722
- line: 128,
5729
+ line: 132,
4723
5730
  column: 18
4724
5731
  }
4725
5732
  },
4726
5733
  loc: {
4727
5734
  start: {
4728
- line: 128,
5735
+ line: 132,
4729
5736
  column: 23
4730
5737
  },
4731
5738
  end: {
4732
- line: 128,
5739
+ line: 132,
4733
5740
  column: 44
4734
5741
  }
4735
5742
  },
4736
- line: 128
5743
+ line: 132
4737
5744
  },
4738
5745
  "9": {
4739
5746
  name: "(anonymous_9)",
4740
5747
  decl: {
4741
5748
  start: {
4742
- line: 129,
5749
+ line: 133,
4743
5750
  column: 18
4744
5751
  },
4745
5752
  end: {
4746
- line: 129,
5753
+ line: 133,
4747
5754
  column: 19
4748
5755
  }
4749
5756
  },
4750
5757
  loc: {
4751
5758
  start: {
4752
- line: 129,
5759
+ line: 133,
4753
5760
  column: 24
4754
5761
  },
4755
5762
  end: {
4756
- line: 129,
5763
+ line: 133,
4757
5764
  column: 60
4758
5765
  }
4759
5766
  },
4760
- line: 129
5767
+ line: 133
4761
5768
  }
4762
5769
  },
4763
5770
  branchMap: {
4764
5771
  "0": {
4765
5772
  loc: {
4766
5773
  start: {
4767
- line: 66,
5774
+ line: 70,
4768
5775
  column: 9
4769
5776
  },
4770
5777
  end: {
4771
- line: 70,
5778
+ line: 74,
4772
5779
  column: 9
4773
5780
  }
4774
5781
  },
4775
5782
  type: "binary-expr",
4776
5783
  locations: [{
4777
5784
  start: {
4778
- line: 66,
5785
+ line: 70,
4779
5786
  column: 9
4780
5787
  },
4781
5788
  end: {
4782
- line: 66,
5789
+ line: 70,
4783
5790
  column: 18
4784
5791
  }
4785
5792
  }, {
4786
5793
  start: {
4787
- line: 67,
5794
+ line: 71,
4788
5795
  column: 10
4789
5796
  },
4790
5797
  end: {
4791
- line: 69,
5798
+ line: 73,
4792
5799
  column: 16
4793
5800
  }
4794
5801
  }],
4795
- line: 66
5802
+ line: 70
4796
5803
  },
4797
5804
  "1": {
4798
5805
  loc: {
4799
5806
  start: {
4800
- line: 71,
5807
+ line: 75,
4801
5808
  column: 9
4802
5809
  },
4803
5810
  end: {
4804
- line: 108,
5811
+ line: 112,
4805
5812
  column: 12
4806
5813
  }
4807
5814
  },
4808
5815
  type: "binary-expr",
4809
5816
  locations: [{
4810
5817
  start: {
4811
- line: 71,
5818
+ line: 75,
4812
5819
  column: 9
4813
5820
  },
4814
5821
  end: {
4815
- line: 71,
5822
+ line: 75,
4816
5823
  column: 19
4817
5824
  }
4818
5825
  }, {
4819
5826
  start: {
4820
- line: 72,
5827
+ line: 76,
4821
5828
  column: 11
4822
5829
  },
4823
5830
  end: {
4824
- line: 108,
5831
+ line: 112,
4825
5832
  column: 11
4826
5833
  }
4827
5834
  }],
4828
- line: 71
5835
+ line: 75
4829
5836
  },
4830
5837
  "2": {
4831
5838
  loc: {
4832
5839
  start: {
4833
- line: 72,
5840
+ line: 76,
4834
5841
  column: 11
4835
5842
  },
4836
5843
  end: {
4837
- line: 108,
5844
+ line: 112,
4838
5845
  column: 11
4839
5846
  }
4840
5847
  },
4841
5848
  type: "cond-expr",
4842
5849
  locations: [{
4843
5850
  start: {
4844
- line: 73,
5851
+ line: 77,
4845
5852
  column: 12
4846
5853
  },
4847
5854
  end: {
4848
- line: 97,
5855
+ line: 101,
4849
5856
  column: 18
4850
5857
  }
4851
5858
  }, {
4852
5859
  start: {
4853
- line: 99,
5860
+ line: 103,
4854
5861
  column: 12
4855
5862
  },
4856
5863
  end: {
4857
- line: 107,
5864
+ line: 111,
4858
5865
  column: 18
4859
5866
  }
4860
5867
  }],
4861
- line: 72
5868
+ line: 76
4862
5869
  }
4863
5870
  },
4864
5871
  s: {
@@ -4904,7 +5911,7 @@ function cov_24yn1i4hss() {
4904
5911
  "2": [0, 0]
4905
5912
  },
4906
5913
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4907
- hash: "03181283110946a79481992e57f4ccd92f829d35"
5914
+ hash: "5caef41e1d8996e19c7466d523b463232b464d80"
4908
5915
  };
4909
5916
  var coverage = global[gcv] || (global[gcv] = {});
4910
5917
  if (!coverage[path] || coverage[path].hash !== hash) {