@bigbinary/neeto-molecules 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BrowserSupport.cjs.js +22 -1221
- package/dist/BrowserSupport.cjs.js.map +1 -1
- package/dist/BrowserSupport.js +22 -1221
- package/dist/BrowserSupport.js.map +1 -1
- package/dist/Columns.cjs.js +39 -976
- package/dist/Columns.cjs.js.map +1 -1
- package/dist/Columns.js +39 -976
- package/dist/Columns.js.map +1 -1
- package/dist/Container.cjs.js +3 -125
- package/dist/Container.cjs.js.map +1 -1
- package/dist/Container.js +3 -125
- package/dist/Container.js.map +1 -1
- package/dist/CustomDomain.cjs.js +156 -6060
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +156 -6060
- package/dist/CustomDomain.js.map +1 -1
- package/dist/DateFormat.cjs.js +9 -264
- package/dist/DateFormat.cjs.js.map +1 -1
- package/dist/DateFormat.js +9 -264
- package/dist/DateFormat.js.map +1 -1
- package/dist/DateRangeFilter.cjs.js +35 -715
- package/dist/DateRangeFilter.cjs.js.map +1 -1
- package/dist/DateRangeFilter.js +35 -715
- package/dist/DateRangeFilter.js.map +1 -1
- package/dist/DynamicVariables.cjs.js +26 -908
- package/dist/DynamicVariables.cjs.js.map +1 -1
- package/dist/DynamicVariables.js +26 -908
- package/dist/DynamicVariables.js.map +1 -1
- package/dist/EmailPreview.cjs.js +14 -349
- package/dist/EmailPreview.cjs.js.map +1 -1
- package/dist/EmailPreview.js +14 -349
- package/dist/EmailPreview.js.map +1 -1
- package/dist/ErrorPage.cjs.js +13 -541
- package/dist/ErrorPage.cjs.js.map +1 -1
- package/dist/ErrorPage.js +13 -541
- package/dist/ErrorPage.js.map +1 -1
- package/dist/Header.cjs.js +13 -513
- package/dist/Header.cjs.js.map +1 -1
- package/dist/Header.js +13 -513
- package/dist/Header.js.map +1 -1
- package/dist/IpRestriction.cjs.js +134 -4226
- package/dist/IpRestriction.cjs.js.map +1 -1
- package/dist/IpRestriction.js +134 -4226
- package/dist/IpRestriction.js.map +1 -1
- package/dist/KeyboardShortcuts.cjs.js +51 -2129
- package/dist/KeyboardShortcuts.cjs.js.map +1 -1
- package/dist/KeyboardShortcuts.js +51 -2129
- package/dist/KeyboardShortcuts.js.map +1 -1
- package/dist/LoginPage.cjs.js +32 -752
- package/dist/LoginPage.cjs.js.map +1 -1
- package/dist/LoginPage.js +32 -752
- package/dist/LoginPage.js.map +1 -1
- package/dist/MenuBar.cjs.js +28 -1501
- package/dist/MenuBar.cjs.js.map +1 -1
- package/dist/MenuBar.js +28 -1501
- package/dist/MenuBar.js.map +1 -1
- package/dist/NeetoWidget.cjs.js +170 -6756
- package/dist/NeetoWidget.cjs.js.map +1 -1
- package/dist/NeetoWidget.js +171 -6757
- package/dist/NeetoWidget.js.map +1 -1
- package/dist/PageLoader.cjs.js +3 -160
- package/dist/PageLoader.cjs.js.map +1 -1
- package/dist/PageLoader.js +3 -160
- package/dist/PageLoader.js.map +1 -1
- package/dist/PhoneNumber.cjs.js +64 -2291
- package/dist/PhoneNumber.cjs.js.map +1 -1
- package/dist/PhoneNumber.js +64 -2291
- package/dist/PhoneNumber.js.map +1 -1
- package/dist/PublishBlock.cjs.js +19 -512
- package/dist/PublishBlock.cjs.js.map +1 -1
- package/dist/PublishBlock.js +19 -512
- package/dist/PublishBlock.js.map +1 -1
- package/dist/Rename.cjs.js +46 -1090
- package/dist/Rename.cjs.js.map +1 -1
- package/dist/Rename.js +48 -1092
- package/dist/Rename.js.map +1 -1
- package/dist/ResponsiveDevicePicker.cjs.js +9 -296
- package/dist/ResponsiveDevicePicker.cjs.js.map +1 -1
- package/dist/ResponsiveDevicePicker.js +9 -296
- package/dist/ResponsiveDevicePicker.js.map +1 -1
- package/dist/Schedule.cjs.js +356 -7305
- package/dist/Schedule.cjs.js.map +1 -1
- package/dist/Schedule.js +356 -7305
- package/dist/Schedule.js.map +1 -1
- package/dist/Scrollable.cjs.js +4 -183
- package/dist/Scrollable.cjs.js.map +1 -1
- package/dist/Scrollable.js +4 -183
- package/dist/Scrollable.js.map +1 -1
- package/dist/ShareViaEmail.cjs.js +68 -2481
- package/dist/ShareViaEmail.cjs.js.map +1 -1
- package/dist/ShareViaEmail.js +68 -2481
- package/dist/ShareViaEmail.js.map +1 -1
- package/dist/ShareViaLink.cjs.js +57 -1640
- package/dist/ShareViaLink.cjs.js.map +1 -1
- package/dist/ShareViaLink.js +57 -1640
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/Sidebar.cjs.js +99 -4367
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +99 -4367
- package/dist/Sidebar.js.map +1 -1
- package/dist/SubHeader.cjs.js +17 -781
- package/dist/SubHeader.cjs.js.map +1 -1
- package/dist/SubHeader.js +17 -781
- package/dist/SubHeader.js.map +1 -1
- package/dist/TableWrapper.cjs.js +2 -150
- package/dist/TableWrapper.cjs.js.map +1 -1
- package/dist/TableWrapper.js +2 -150
- package/dist/TableWrapper.js.map +1 -1
- package/dist/TimeFormat.cjs.js +1 -44
- package/dist/TimeFormat.cjs.js.map +1 -1
- package/dist/TimeFormat.js +1 -44
- package/dist/TimeFormat.js.map +1 -1
- package/dist/TimezoneMismatchModal.cjs.js +18 -905
- package/dist/TimezoneMismatchModal.cjs.js.map +1 -1
- package/dist/TimezoneMismatchModal.js +18 -905
- package/dist/TimezoneMismatchModal.js.map +1 -1
- package/package.json +3 -2
package/dist/Sidebar.js
CHANGED
|
@@ -31532,93 +31532,9 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
31532
31532
|
}
|
|
31533
31533
|
|
|
31534
31534
|
var _excluded$3 = ["children"];
|
|
31535
|
-
function cov_1xx0yifdwy() {
|
|
31536
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/Backdrop.jsx";
|
|
31537
|
-
var hash = "4e2f0eb6d3c1050b9ed28bf10ddf842b0c36c14c";
|
|
31538
|
-
var global = new Function("return this")();
|
|
31539
|
-
var gcv = "__coverage__";
|
|
31540
|
-
var coverageData = {
|
|
31541
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/Backdrop.jsx",
|
|
31542
|
-
statementMap: {
|
|
31543
|
-
"0": {
|
|
31544
|
-
start: {
|
|
31545
|
-
line: 3,
|
|
31546
|
-
column: 17
|
|
31547
|
-
},
|
|
31548
|
-
end: {
|
|
31549
|
-
line: 7,
|
|
31550
|
-
column: 1
|
|
31551
|
-
}
|
|
31552
|
-
},
|
|
31553
|
-
"1": {
|
|
31554
|
-
start: {
|
|
31555
|
-
line: 4,
|
|
31556
|
-
column: 2
|
|
31557
|
-
},
|
|
31558
|
-
end: {
|
|
31559
|
-
line: 6,
|
|
31560
|
-
column: 8
|
|
31561
|
-
}
|
|
31562
|
-
}
|
|
31563
|
-
},
|
|
31564
|
-
fnMap: {
|
|
31565
|
-
"0": {
|
|
31566
|
-
name: "(anonymous_0)",
|
|
31567
|
-
decl: {
|
|
31568
|
-
start: {
|
|
31569
|
-
line: 3,
|
|
31570
|
-
column: 17
|
|
31571
|
-
},
|
|
31572
|
-
end: {
|
|
31573
|
-
line: 3,
|
|
31574
|
-
column: 18
|
|
31575
|
-
}
|
|
31576
|
-
},
|
|
31577
|
-
loc: {
|
|
31578
|
-
start: {
|
|
31579
|
-
line: 4,
|
|
31580
|
-
column: 2
|
|
31581
|
-
},
|
|
31582
|
-
end: {
|
|
31583
|
-
line: 6,
|
|
31584
|
-
column: 8
|
|
31585
|
-
}
|
|
31586
|
-
},
|
|
31587
|
-
line: 4
|
|
31588
|
-
}
|
|
31589
|
-
},
|
|
31590
|
-
branchMap: {},
|
|
31591
|
-
s: {
|
|
31592
|
-
"0": 0,
|
|
31593
|
-
"1": 0
|
|
31594
|
-
},
|
|
31595
|
-
f: {
|
|
31596
|
-
"0": 0
|
|
31597
|
-
},
|
|
31598
|
-
b: {},
|
|
31599
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31600
|
-
hash: "4e2f0eb6d3c1050b9ed28bf10ddf842b0c36c14c"
|
|
31601
|
-
};
|
|
31602
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
31603
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
31604
|
-
coverage[path] = coverageData;
|
|
31605
|
-
}
|
|
31606
|
-
var actualCoverage = coverage[path];
|
|
31607
|
-
{
|
|
31608
|
-
// @ts-ignore
|
|
31609
|
-
cov_1xx0yifdwy = function () {
|
|
31610
|
-
return actualCoverage;
|
|
31611
|
-
};
|
|
31612
|
-
}
|
|
31613
|
-
return actualCoverage;
|
|
31614
|
-
}
|
|
31615
|
-
cov_1xx0yifdwy();
|
|
31616
|
-
cov_1xx0yifdwy().s[0]++;
|
|
31617
31535
|
var Backdrop = function Backdrop(_ref, ref) {
|
|
31618
31536
|
var children = _ref.children,
|
|
31619
31537
|
otherProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
31620
|
-
cov_1xx0yifdwy().f[0]++;
|
|
31621
|
-
cov_1xx0yifdwy().s[1]++;
|
|
31622
31538
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
31623
31539
|
"data-testid": "neeto-backdrop",
|
|
31624
31540
|
ref: ref
|
|
@@ -31626,154 +31542,12 @@ var Backdrop = function Backdrop(_ref, ref) {
|
|
|
31626
31542
|
};
|
|
31627
31543
|
var Backdrop$1 = /*#__PURE__*/forwardRef(Backdrop);
|
|
31628
31544
|
|
|
31629
|
-
function cov_1tkreblzme() {
|
|
31630
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/AppLink.jsx";
|
|
31631
|
-
var hash = "8b56f4f543b936ae419c11d1ca8ef6d6a905b452";
|
|
31632
|
-
var global = new Function("return this")();
|
|
31633
|
-
var gcv = "__coverage__";
|
|
31634
|
-
var coverageData = {
|
|
31635
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/AppLink.jsx",
|
|
31636
|
-
statementMap: {
|
|
31637
|
-
"0": {
|
|
31638
|
-
start: {
|
|
31639
|
-
line: 11,
|
|
31640
|
-
column: 16
|
|
31641
|
-
},
|
|
31642
|
-
end: {
|
|
31643
|
-
line: 54,
|
|
31644
|
-
column: 1
|
|
31645
|
-
}
|
|
31646
|
-
},
|
|
31647
|
-
"1": {
|
|
31648
|
-
start: {
|
|
31649
|
-
line: 12,
|
|
31650
|
-
column: 18
|
|
31651
|
-
},
|
|
31652
|
-
end: {
|
|
31653
|
-
line: 12,
|
|
31654
|
-
column: 72
|
|
31655
|
-
}
|
|
31656
|
-
},
|
|
31657
|
-
"2": {
|
|
31658
|
-
start: {
|
|
31659
|
-
line: 13,
|
|
31660
|
-
column: 18
|
|
31661
|
-
},
|
|
31662
|
-
end: {
|
|
31663
|
-
line: 13,
|
|
31664
|
-
column: 35
|
|
31665
|
-
}
|
|
31666
|
-
},
|
|
31667
|
-
"3": {
|
|
31668
|
-
start: {
|
|
31669
|
-
line: 15,
|
|
31670
|
-
column: 2
|
|
31671
|
-
},
|
|
31672
|
-
end: {
|
|
31673
|
-
line: 53,
|
|
31674
|
-
column: 4
|
|
31675
|
-
}
|
|
31676
|
-
}
|
|
31677
|
-
},
|
|
31678
|
-
fnMap: {
|
|
31679
|
-
"0": {
|
|
31680
|
-
name: "(anonymous_0)",
|
|
31681
|
-
decl: {
|
|
31682
|
-
start: {
|
|
31683
|
-
line: 11,
|
|
31684
|
-
column: 16
|
|
31685
|
-
},
|
|
31686
|
-
end: {
|
|
31687
|
-
line: 11,
|
|
31688
|
-
column: 17
|
|
31689
|
-
}
|
|
31690
|
-
},
|
|
31691
|
-
loc: {
|
|
31692
|
-
start: {
|
|
31693
|
-
line: 11,
|
|
31694
|
-
column: 48
|
|
31695
|
-
},
|
|
31696
|
-
end: {
|
|
31697
|
-
line: 54,
|
|
31698
|
-
column: 1
|
|
31699
|
-
}
|
|
31700
|
-
},
|
|
31701
|
-
line: 11
|
|
31702
|
-
}
|
|
31703
|
-
},
|
|
31704
|
-
branchMap: {
|
|
31705
|
-
"0": {
|
|
31706
|
-
loc: {
|
|
31707
|
-
start: {
|
|
31708
|
-
line: 33,
|
|
31709
|
-
column: 9
|
|
31710
|
-
},
|
|
31711
|
-
end: {
|
|
31712
|
-
line: 37,
|
|
31713
|
-
column: 9
|
|
31714
|
-
}
|
|
31715
|
-
},
|
|
31716
|
-
type: "cond-expr",
|
|
31717
|
-
locations: [{
|
|
31718
|
-
start: {
|
|
31719
|
-
line: 34,
|
|
31720
|
-
column: 10
|
|
31721
|
-
},
|
|
31722
|
-
end: {
|
|
31723
|
-
line: 34,
|
|
31724
|
-
column: 31
|
|
31725
|
-
}
|
|
31726
|
-
}, {
|
|
31727
|
-
start: {
|
|
31728
|
-
line: 36,
|
|
31729
|
-
column: 10
|
|
31730
|
-
},
|
|
31731
|
-
end: {
|
|
31732
|
-
line: 36,
|
|
31733
|
-
column: 47
|
|
31734
|
-
}
|
|
31735
|
-
}],
|
|
31736
|
-
line: 33
|
|
31737
|
-
}
|
|
31738
|
-
},
|
|
31739
|
-
s: {
|
|
31740
|
-
"0": 0,
|
|
31741
|
-
"1": 0,
|
|
31742
|
-
"2": 0,
|
|
31743
|
-
"3": 0
|
|
31744
|
-
},
|
|
31745
|
-
f: {
|
|
31746
|
-
"0": 0
|
|
31747
|
-
},
|
|
31748
|
-
b: {
|
|
31749
|
-
"0": [0, 0]
|
|
31750
|
-
},
|
|
31751
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31752
|
-
hash: "8b56f4f543b936ae419c11d1ca8ef6d6a905b452"
|
|
31753
|
-
};
|
|
31754
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
31755
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
31756
|
-
coverage[path] = coverageData;
|
|
31757
|
-
}
|
|
31758
|
-
var actualCoverage = coverage[path];
|
|
31759
|
-
{
|
|
31760
|
-
// @ts-ignore
|
|
31761
|
-
cov_1tkreblzme = function () {
|
|
31762
|
-
return actualCoverage;
|
|
31763
|
-
};
|
|
31764
|
-
}
|
|
31765
|
-
return actualCoverage;
|
|
31766
|
-
}
|
|
31767
|
-
cov_1tkreblzme();
|
|
31768
|
-
cov_1tkreblzme().s[0]++;
|
|
31769
31545
|
var AppLink = function AppLink(_ref) {
|
|
31770
31546
|
var name = _ref.name,
|
|
31771
31547
|
description = _ref.description,
|
|
31772
31548
|
url = _ref.url;
|
|
31773
|
-
|
|
31774
|
-
var
|
|
31775
|
-
var AppIcon = (cov_1tkreblzme().s[2]++, AppIcons[appName]);
|
|
31776
|
-
cov_1tkreblzme().s[3]++;
|
|
31549
|
+
var appName = "Neeto".concat(name.charAt(0)).concat(name.slice(1).toLowerCase());
|
|
31550
|
+
var AppIcon = AppIcons[appName];
|
|
31777
31551
|
return /*#__PURE__*/React.createElement("a", {
|
|
31778
31552
|
"data-cy": "".concat(name, "-app-link"),
|
|
31779
31553
|
"data-test-id": "neetoapp-link-".concat(name),
|
|
@@ -31787,12 +31561,12 @@ var AppLink = function AppLink(_ref) {
|
|
|
31787
31561
|
className: classnames("neeto-molecules-app-switcher-link__icon-holder", {
|
|
31788
31562
|
"neeto-ui-bg-primary-500": !AppIcon
|
|
31789
31563
|
})
|
|
31790
|
-
}, AppIcon ?
|
|
31564
|
+
}, AppIcon ? /*#__PURE__*/React.createElement(AppIcon, {
|
|
31791
31565
|
size: 42
|
|
31792
|
-
})
|
|
31566
|
+
}) : /*#__PURE__*/React.createElement(NeetoIcon, {
|
|
31793
31567
|
color: "white",
|
|
31794
31568
|
size: 42
|
|
31795
|
-
}))
|
|
31569
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
31796
31570
|
className: "neeto-molecules-app-switcher-link__content"
|
|
31797
31571
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
31798
31572
|
component: "span",
|
|
@@ -31806,299 +31580,22 @@ var AppLink = function AppLink(_ref) {
|
|
|
31806
31580
|
}, description)));
|
|
31807
31581
|
};
|
|
31808
31582
|
|
|
31809
|
-
function cov_27z8cils1c() {
|
|
31810
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/Body.jsx";
|
|
31811
|
-
var hash = "fe3ae13ab4ac97133f4164d3b43f927ef80f01b7";
|
|
31812
|
-
var global = new Function("return this")();
|
|
31813
|
-
var gcv = "__coverage__";
|
|
31814
|
-
var coverageData = {
|
|
31815
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/Body.jsx",
|
|
31816
|
-
statementMap: {
|
|
31817
|
-
"0": {
|
|
31818
|
-
start: {
|
|
31819
|
-
line: 10,
|
|
31820
|
-
column: 13
|
|
31821
|
-
},
|
|
31822
|
-
end: {
|
|
31823
|
-
line: 65,
|
|
31824
|
-
column: 1
|
|
31825
|
-
}
|
|
31826
|
-
},
|
|
31827
|
-
"1": {
|
|
31828
|
-
start: {
|
|
31829
|
-
line: 11,
|
|
31830
|
-
column: 16
|
|
31831
|
-
},
|
|
31832
|
-
end: {
|
|
31833
|
-
line: 11,
|
|
31834
|
-
column: 32
|
|
31835
|
-
}
|
|
31836
|
-
},
|
|
31837
|
-
"2": {
|
|
31838
|
-
start: {
|
|
31839
|
-
line: 12,
|
|
31840
|
-
column: 38
|
|
31841
|
-
},
|
|
31842
|
-
end: {
|
|
31843
|
-
line: 12,
|
|
31844
|
-
column: 50
|
|
31845
|
-
}
|
|
31846
|
-
},
|
|
31847
|
-
"3": {
|
|
31848
|
-
start: {
|
|
31849
|
-
line: 14,
|
|
31850
|
-
column: 23
|
|
31851
|
-
},
|
|
31852
|
-
end: {
|
|
31853
|
-
line: 16,
|
|
31854
|
-
column: 3
|
|
31855
|
-
}
|
|
31856
|
-
},
|
|
31857
|
-
"4": {
|
|
31858
|
-
start: {
|
|
31859
|
-
line: 15,
|
|
31860
|
-
column: 4
|
|
31861
|
-
},
|
|
31862
|
-
end: {
|
|
31863
|
-
line: 15,
|
|
31864
|
-
column: 76
|
|
31865
|
-
}
|
|
31866
|
-
},
|
|
31867
|
-
"5": {
|
|
31868
|
-
start: {
|
|
31869
|
-
line: 18,
|
|
31870
|
-
column: 23
|
|
31871
|
-
},
|
|
31872
|
-
end: {
|
|
31873
|
-
line: 18,
|
|
31874
|
-
column: 57
|
|
31875
|
-
}
|
|
31876
|
-
},
|
|
31877
|
-
"6": {
|
|
31878
|
-
start: {
|
|
31879
|
-
line: 18,
|
|
31880
|
-
column: 28
|
|
31881
|
-
},
|
|
31882
|
-
end: {
|
|
31883
|
-
line: 18,
|
|
31884
|
-
column: 57
|
|
31885
|
-
}
|
|
31886
|
-
},
|
|
31887
|
-
"7": {
|
|
31888
|
-
start: {
|
|
31889
|
-
line: 20,
|
|
31890
|
-
column: 2
|
|
31891
|
-
},
|
|
31892
|
-
end: {
|
|
31893
|
-
line: 64,
|
|
31894
|
-
column: 4
|
|
31895
|
-
}
|
|
31896
|
-
},
|
|
31897
|
-
"8": {
|
|
31898
|
-
start: {
|
|
31899
|
-
line: 54,
|
|
31900
|
-
column: 14
|
|
31901
|
-
},
|
|
31902
|
-
end: {
|
|
31903
|
-
line: 54,
|
|
31904
|
-
column: 49
|
|
31905
|
-
}
|
|
31906
|
-
}
|
|
31907
|
-
},
|
|
31908
|
-
fnMap: {
|
|
31909
|
-
"0": {
|
|
31910
|
-
name: "(anonymous_0)",
|
|
31911
|
-
decl: {
|
|
31912
|
-
start: {
|
|
31913
|
-
line: 10,
|
|
31914
|
-
column: 13
|
|
31915
|
-
},
|
|
31916
|
-
end: {
|
|
31917
|
-
line: 10,
|
|
31918
|
-
column: 14
|
|
31919
|
-
}
|
|
31920
|
-
},
|
|
31921
|
-
loc: {
|
|
31922
|
-
start: {
|
|
31923
|
-
line: 10,
|
|
31924
|
-
column: 30
|
|
31925
|
-
},
|
|
31926
|
-
end: {
|
|
31927
|
-
line: 65,
|
|
31928
|
-
column: 1
|
|
31929
|
-
}
|
|
31930
|
-
},
|
|
31931
|
-
line: 10
|
|
31932
|
-
},
|
|
31933
|
-
"1": {
|
|
31934
|
-
name: "(anonymous_1)",
|
|
31935
|
-
decl: {
|
|
31936
|
-
start: {
|
|
31937
|
-
line: 14,
|
|
31938
|
-
column: 53
|
|
31939
|
-
},
|
|
31940
|
-
end: {
|
|
31941
|
-
line: 14,
|
|
31942
|
-
column: 54
|
|
31943
|
-
}
|
|
31944
|
-
},
|
|
31945
|
-
loc: {
|
|
31946
|
-
start: {
|
|
31947
|
-
line: 15,
|
|
31948
|
-
column: 4
|
|
31949
|
-
},
|
|
31950
|
-
end: {
|
|
31951
|
-
line: 15,
|
|
31952
|
-
column: 76
|
|
31953
|
-
}
|
|
31954
|
-
},
|
|
31955
|
-
line: 15
|
|
31956
|
-
},
|
|
31957
|
-
"2": {
|
|
31958
|
-
name: "(anonymous_2)",
|
|
31959
|
-
decl: {
|
|
31960
|
-
start: {
|
|
31961
|
-
line: 18,
|
|
31962
|
-
column: 23
|
|
31963
|
-
},
|
|
31964
|
-
end: {
|
|
31965
|
-
line: 18,
|
|
31966
|
-
column: 24
|
|
31967
|
-
}
|
|
31968
|
-
},
|
|
31969
|
-
loc: {
|
|
31970
|
-
start: {
|
|
31971
|
-
line: 18,
|
|
31972
|
-
column: 28
|
|
31973
|
-
},
|
|
31974
|
-
end: {
|
|
31975
|
-
line: 18,
|
|
31976
|
-
column: 57
|
|
31977
|
-
}
|
|
31978
|
-
},
|
|
31979
|
-
line: 18
|
|
31980
|
-
},
|
|
31981
|
-
"3": {
|
|
31982
|
-
name: "(anonymous_3)",
|
|
31983
|
-
decl: {
|
|
31984
|
-
start: {
|
|
31985
|
-
line: 53,
|
|
31986
|
-
column: 30
|
|
31987
|
-
},
|
|
31988
|
-
end: {
|
|
31989
|
-
line: 53,
|
|
31990
|
-
column: 31
|
|
31991
|
-
}
|
|
31992
|
-
},
|
|
31993
|
-
loc: {
|
|
31994
|
-
start: {
|
|
31995
|
-
line: 54,
|
|
31996
|
-
column: 14
|
|
31997
|
-
},
|
|
31998
|
-
end: {
|
|
31999
|
-
line: 54,
|
|
32000
|
-
column: 49
|
|
32001
|
-
}
|
|
32002
|
-
},
|
|
32003
|
-
line: 54
|
|
32004
|
-
}
|
|
32005
|
-
},
|
|
32006
|
-
branchMap: {
|
|
32007
|
-
"0": {
|
|
32008
|
-
loc: {
|
|
32009
|
-
start: {
|
|
32010
|
-
line: 51,
|
|
32011
|
-
column: 9
|
|
32012
|
-
},
|
|
32013
|
-
end: {
|
|
32014
|
-
line: 61,
|
|
32015
|
-
column: 9
|
|
32016
|
-
}
|
|
32017
|
-
},
|
|
32018
|
-
type: "cond-expr",
|
|
32019
|
-
locations: [{
|
|
32020
|
-
start: {
|
|
32021
|
-
line: 52,
|
|
32022
|
-
column: 10
|
|
32023
|
-
},
|
|
32024
|
-
end: {
|
|
32025
|
-
line: 56,
|
|
32026
|
-
column: 16
|
|
32027
|
-
}
|
|
32028
|
-
}, {
|
|
32029
|
-
start: {
|
|
32030
|
-
line: 58,
|
|
32031
|
-
column: 10
|
|
32032
|
-
},
|
|
32033
|
-
end: {
|
|
32034
|
-
line: 60,
|
|
32035
|
-
column: 23
|
|
32036
|
-
}
|
|
32037
|
-
}],
|
|
32038
|
-
line: 51
|
|
32039
|
-
}
|
|
32040
|
-
},
|
|
32041
|
-
s: {
|
|
32042
|
-
"0": 0,
|
|
32043
|
-
"1": 0,
|
|
32044
|
-
"2": 0,
|
|
32045
|
-
"3": 0,
|
|
32046
|
-
"4": 0,
|
|
32047
|
-
"5": 0,
|
|
32048
|
-
"6": 0,
|
|
32049
|
-
"7": 0,
|
|
32050
|
-
"8": 0
|
|
32051
|
-
},
|
|
32052
|
-
f: {
|
|
32053
|
-
"0": 0,
|
|
32054
|
-
"1": 0,
|
|
32055
|
-
"2": 0,
|
|
32056
|
-
"3": 0
|
|
32057
|
-
},
|
|
32058
|
-
b: {
|
|
32059
|
-
"0": [0, 0]
|
|
32060
|
-
},
|
|
32061
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
32062
|
-
hash: "fe3ae13ab4ac97133f4164d3b43f927ef80f01b7"
|
|
32063
|
-
};
|
|
32064
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
32065
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
32066
|
-
coverage[path] = coverageData;
|
|
32067
|
-
}
|
|
32068
|
-
var actualCoverage = coverage[path];
|
|
32069
|
-
{
|
|
32070
|
-
// @ts-ignore
|
|
32071
|
-
cov_27z8cils1c = function () {
|
|
32072
|
-
return actualCoverage;
|
|
32073
|
-
};
|
|
32074
|
-
}
|
|
32075
|
-
return actualCoverage;
|
|
32076
|
-
}
|
|
32077
|
-
cov_27z8cils1c();
|
|
32078
|
-
cov_27z8cils1c().s[0]++;
|
|
32079
31583
|
var Body = function Body(_ref) {
|
|
32080
31584
|
var _globalProps$neetoApp;
|
|
32081
31585
|
var onClose = _ref.onClose;
|
|
32082
|
-
|
|
32083
|
-
|
|
32084
|
-
|
|
32085
|
-
|
|
32086
|
-
|
|
32087
|
-
|
|
32088
|
-
|
|
32089
|
-
|
|
32090
|
-
var name = _ref5.name;
|
|
32091
|
-
cov_27z8cils1c().f[1]++;
|
|
32092
|
-
cov_27z8cils1c().s[4]++;
|
|
31586
|
+
var _useTranslation = useTranslation(),
|
|
31587
|
+
t = _useTranslation.t;
|
|
31588
|
+
var _useState = useState(""),
|
|
31589
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
31590
|
+
searchTerm = _useState2[0],
|
|
31591
|
+
setSearchTerm = _useState2[1];
|
|
31592
|
+
var filteredApps = (_globalProps$neetoApp = globalProps.neetoApps) === null || _globalProps$neetoApp === void 0 ? void 0 : _globalProps$neetoApp.filter(function (_ref2) {
|
|
31593
|
+
var name = _ref2.name;
|
|
32093
31594
|
return name === null || name === void 0 ? void 0 : name.toLowerCase().includes(searchTerm.replace(/ /g, "").toLowerCase());
|
|
32094
|
-
})
|
|
32095
|
-
cov_27z8cils1c().s[5]++;
|
|
31595
|
+
});
|
|
32096
31596
|
var handleSearch = function handleSearch(e) {
|
|
32097
|
-
cov_27z8cils1c().f[2]++;
|
|
32098
|
-
cov_27z8cils1c().s[6]++;
|
|
32099
31597
|
return setSearchTerm(e.target.value);
|
|
32100
31598
|
};
|
|
32101
|
-
cov_27z8cils1c().s[7]++;
|
|
32102
31599
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
|
|
32103
31600
|
className: "neeto-molecules-app-switcher__close-btn",
|
|
32104
31601
|
"data-cy": "app-switcher-back-button",
|
|
@@ -32124,1087 +31621,75 @@ var Body = function Body(_ref) {
|
|
|
32124
31621
|
onChange: handleSearch
|
|
32125
31622
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
32126
31623
|
className: "neeto-molecules-app-switcher__body"
|
|
32127
|
-
}, (filteredApps === null || filteredApps === void 0 ? void 0 : filteredApps.length) > 0 ?
|
|
31624
|
+
}, (filteredApps === null || filteredApps === void 0 ? void 0 : filteredApps.length) > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
32128
31625
|
className: "neeto-molecules-app-switcher__grid"
|
|
32129
31626
|
}, filteredApps.map(function (app) {
|
|
32130
|
-
cov_27z8cils1c().f[3]++;
|
|
32131
|
-
cov_27z8cils1c().s[8]++;
|
|
32132
31627
|
return /*#__PURE__*/React.createElement(AppLink, _extends({
|
|
32133
31628
|
key: app.name
|
|
32134
31629
|
}, app));
|
|
32135
|
-
}))
|
|
31630
|
+
})) : /*#__PURE__*/React.createElement(Typography, {
|
|
32136
31631
|
className: "neeto-ui-text-center",
|
|
32137
31632
|
style: "body1"
|
|
32138
|
-
}, t("neetoMolecules.appSwitcher.noApps"))))
|
|
31633
|
+
}, t("neetoMolecules.appSwitcher.noApps"))));
|
|
32139
31634
|
};
|
|
32140
31635
|
|
|
32141
|
-
function cov_35z1n6fmv() {
|
|
32142
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/Portal.js";
|
|
32143
|
-
var hash = "f10fb766667ac687c3ecb60cc21511a69af63b57";
|
|
32144
|
-
var global = new Function("return this")();
|
|
32145
|
-
var gcv = "__coverage__";
|
|
32146
|
-
var coverageData = {
|
|
32147
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/Portal.js",
|
|
32148
|
-
statementMap: {
|
|
32149
|
-
"0": {
|
|
32150
|
-
start: {
|
|
32151
|
-
line: 5,
|
|
32152
|
-
column: 15
|
|
32153
|
-
},
|
|
32154
|
-
end: {
|
|
32155
|
-
line: 31,
|
|
32156
|
-
column: 1
|
|
32157
|
-
}
|
|
32158
|
-
},
|
|
32159
|
-
"1": {
|
|
32160
|
-
start: {
|
|
32161
|
-
line: 6,
|
|
32162
|
-
column: 17
|
|
32163
|
-
},
|
|
32164
|
-
end: {
|
|
32165
|
-
line: 6,
|
|
32166
|
-
column: 29
|
|
32167
|
-
}
|
|
32168
|
-
},
|
|
32169
|
-
"2": {
|
|
32170
|
-
start: {
|
|
32171
|
-
line: 8,
|
|
32172
|
-
column: 2
|
|
32173
|
-
},
|
|
32174
|
-
end: {
|
|
32175
|
-
line: 24,
|
|
32176
|
-
column: 15
|
|
32177
|
-
}
|
|
32178
|
-
},
|
|
32179
|
-
"3": {
|
|
32180
|
-
start: {
|
|
32181
|
-
line: 9,
|
|
32182
|
-
column: 20
|
|
32183
|
-
},
|
|
32184
|
-
end: {
|
|
32185
|
-
line: 9,
|
|
32186
|
-
column: 51
|
|
32187
|
-
}
|
|
32188
|
-
},
|
|
32189
|
-
"4": {
|
|
32190
|
-
start: {
|
|
32191
|
-
line: 10,
|
|
32192
|
-
column: 4
|
|
32193
|
-
},
|
|
32194
|
-
end: {
|
|
32195
|
-
line: 14,
|
|
32196
|
-
column: 5
|
|
32197
|
-
}
|
|
32198
|
-
},
|
|
32199
|
-
"5": {
|
|
32200
|
-
start: {
|
|
32201
|
-
line: 11,
|
|
32202
|
-
column: 6
|
|
32203
|
-
},
|
|
32204
|
-
end: {
|
|
32205
|
-
line: 11,
|
|
32206
|
-
column: 48
|
|
32207
|
-
}
|
|
32208
|
-
},
|
|
32209
|
-
"6": {
|
|
32210
|
-
start: {
|
|
32211
|
-
line: 12,
|
|
32212
|
-
column: 6
|
|
32213
|
-
},
|
|
32214
|
-
end: {
|
|
32215
|
-
line: 12,
|
|
32216
|
-
column: 43
|
|
32217
|
-
}
|
|
32218
|
-
},
|
|
32219
|
-
"7": {
|
|
32220
|
-
start: {
|
|
32221
|
-
line: 13,
|
|
32222
|
-
column: 6
|
|
32223
|
-
},
|
|
32224
|
-
end: {
|
|
32225
|
-
line: 13,
|
|
32226
|
-
column: 43
|
|
32227
|
-
}
|
|
32228
|
-
},
|
|
32229
|
-
"8": {
|
|
32230
|
-
start: {
|
|
32231
|
-
line: 16,
|
|
32232
|
-
column: 4
|
|
32233
|
-
},
|
|
32234
|
-
end: {
|
|
32235
|
-
line: 16,
|
|
32236
|
-
column: 42
|
|
32237
|
-
}
|
|
32238
|
-
},
|
|
32239
|
-
"9": {
|
|
32240
|
-
start: {
|
|
32241
|
-
line: 18,
|
|
32242
|
-
column: 4
|
|
32243
|
-
},
|
|
32244
|
-
end: {
|
|
32245
|
-
line: 23,
|
|
32246
|
-
column: 6
|
|
32247
|
-
}
|
|
32248
|
-
},
|
|
32249
|
-
"10": {
|
|
32250
|
-
start: {
|
|
32251
|
-
line: 19,
|
|
32252
|
-
column: 6
|
|
32253
|
-
},
|
|
32254
|
-
end: {
|
|
32255
|
-
line: 19,
|
|
32256
|
-
column: 30
|
|
32257
|
-
}
|
|
32258
|
-
},
|
|
32259
|
-
"11": {
|
|
32260
|
-
start: {
|
|
32261
|
-
line: 20,
|
|
32262
|
-
column: 6
|
|
32263
|
-
},
|
|
32264
|
-
end: {
|
|
32265
|
-
line: 22,
|
|
32266
|
-
column: 7
|
|
32267
|
-
}
|
|
32268
|
-
},
|
|
32269
|
-
"12": {
|
|
32270
|
-
start: {
|
|
32271
|
-
line: 21,
|
|
32272
|
-
column: 8
|
|
32273
|
-
},
|
|
32274
|
-
end: {
|
|
32275
|
-
line: 21,
|
|
32276
|
-
column: 27
|
|
32277
|
-
}
|
|
32278
|
-
},
|
|
32279
|
-
"13": {
|
|
32280
|
-
start: {
|
|
32281
|
-
line: 26,
|
|
32282
|
-
column: 2
|
|
32283
|
-
},
|
|
32284
|
-
end: {
|
|
32285
|
-
line: 28,
|
|
32286
|
-
column: 3
|
|
32287
|
-
}
|
|
32288
|
-
},
|
|
32289
|
-
"14": {
|
|
32290
|
-
start: {
|
|
32291
|
-
line: 27,
|
|
32292
|
-
column: 4
|
|
32293
|
-
},
|
|
32294
|
-
end: {
|
|
32295
|
-
line: 27,
|
|
32296
|
-
column: 51
|
|
32297
|
-
}
|
|
32298
|
-
},
|
|
32299
|
-
"15": {
|
|
32300
|
-
start: {
|
|
32301
|
-
line: 30,
|
|
32302
|
-
column: 2
|
|
32303
|
-
},
|
|
32304
|
-
end: {
|
|
32305
|
-
line: 30,
|
|
32306
|
-
column: 48
|
|
32307
|
-
}
|
|
32308
|
-
}
|
|
32309
|
-
},
|
|
32310
|
-
fnMap: {
|
|
32311
|
-
"0": {
|
|
32312
|
-
name: "(anonymous_0)",
|
|
32313
|
-
decl: {
|
|
32314
|
-
start: {
|
|
32315
|
-
line: 5,
|
|
32316
|
-
column: 15
|
|
32317
|
-
},
|
|
32318
|
-
end: {
|
|
32319
|
-
line: 5,
|
|
32320
|
-
column: 16
|
|
32321
|
-
}
|
|
32322
|
-
},
|
|
32323
|
-
loc: {
|
|
32324
|
-
start: {
|
|
32325
|
-
line: 5,
|
|
32326
|
-
column: 41
|
|
32327
|
-
},
|
|
32328
|
-
end: {
|
|
32329
|
-
line: 31,
|
|
32330
|
-
column: 1
|
|
32331
|
-
}
|
|
32332
|
-
},
|
|
32333
|
-
line: 5
|
|
32334
|
-
},
|
|
32335
|
-
"1": {
|
|
32336
|
-
name: "(anonymous_1)",
|
|
32337
|
-
decl: {
|
|
32338
|
-
start: {
|
|
32339
|
-
line: 8,
|
|
32340
|
-
column: 12
|
|
32341
|
-
},
|
|
32342
|
-
end: {
|
|
32343
|
-
line: 8,
|
|
32344
|
-
column: 13
|
|
32345
|
-
}
|
|
32346
|
-
},
|
|
32347
|
-
loc: {
|
|
32348
|
-
start: {
|
|
32349
|
-
line: 8,
|
|
32350
|
-
column: 18
|
|
32351
|
-
},
|
|
32352
|
-
end: {
|
|
32353
|
-
line: 24,
|
|
32354
|
-
column: 3
|
|
32355
|
-
}
|
|
32356
|
-
},
|
|
32357
|
-
line: 8
|
|
32358
|
-
},
|
|
32359
|
-
"2": {
|
|
32360
|
-
name: "(anonymous_2)",
|
|
32361
|
-
decl: {
|
|
32362
|
-
start: {
|
|
32363
|
-
line: 18,
|
|
32364
|
-
column: 11
|
|
32365
|
-
},
|
|
32366
|
-
end: {
|
|
32367
|
-
line: 18,
|
|
32368
|
-
column: 12
|
|
32369
|
-
}
|
|
32370
|
-
},
|
|
32371
|
-
loc: {
|
|
32372
|
-
start: {
|
|
32373
|
-
line: 18,
|
|
32374
|
-
column: 17
|
|
32375
|
-
},
|
|
32376
|
-
end: {
|
|
32377
|
-
line: 23,
|
|
32378
|
-
column: 5
|
|
32379
|
-
}
|
|
32380
|
-
},
|
|
32381
|
-
line: 18
|
|
32382
|
-
}
|
|
32383
|
-
},
|
|
32384
|
-
branchMap: {
|
|
32385
|
-
"0": {
|
|
32386
|
-
loc: {
|
|
32387
|
-
start: {
|
|
32388
|
-
line: 10,
|
|
32389
|
-
column: 4
|
|
32390
|
-
},
|
|
32391
|
-
end: {
|
|
32392
|
-
line: 14,
|
|
32393
|
-
column: 5
|
|
32394
|
-
}
|
|
32395
|
-
},
|
|
32396
|
-
type: "if",
|
|
32397
|
-
locations: [{
|
|
32398
|
-
start: {
|
|
32399
|
-
line: 10,
|
|
32400
|
-
column: 4
|
|
32401
|
-
},
|
|
32402
|
-
end: {
|
|
32403
|
-
line: 14,
|
|
32404
|
-
column: 5
|
|
32405
|
-
}
|
|
32406
|
-
}, {
|
|
32407
|
-
start: {
|
|
32408
|
-
line: undefined,
|
|
32409
|
-
column: undefined
|
|
32410
|
-
},
|
|
32411
|
-
end: {
|
|
32412
|
-
line: undefined,
|
|
32413
|
-
column: undefined
|
|
32414
|
-
}
|
|
32415
|
-
}],
|
|
32416
|
-
line: 10
|
|
32417
|
-
},
|
|
32418
|
-
"1": {
|
|
32419
|
-
loc: {
|
|
32420
|
-
start: {
|
|
32421
|
-
line: 20,
|
|
32422
|
-
column: 6
|
|
32423
|
-
},
|
|
32424
|
-
end: {
|
|
32425
|
-
line: 22,
|
|
32426
|
-
column: 7
|
|
32427
|
-
}
|
|
32428
|
-
},
|
|
32429
|
-
type: "if",
|
|
32430
|
-
locations: [{
|
|
32431
|
-
start: {
|
|
32432
|
-
line: 20,
|
|
32433
|
-
column: 6
|
|
32434
|
-
},
|
|
32435
|
-
end: {
|
|
32436
|
-
line: 22,
|
|
32437
|
-
column: 7
|
|
32438
|
-
}
|
|
32439
|
-
}, {
|
|
32440
|
-
start: {
|
|
32441
|
-
line: undefined,
|
|
32442
|
-
column: undefined
|
|
32443
|
-
},
|
|
32444
|
-
end: {
|
|
32445
|
-
line: undefined,
|
|
32446
|
-
column: undefined
|
|
32447
|
-
}
|
|
32448
|
-
}],
|
|
32449
|
-
line: 20
|
|
32450
|
-
},
|
|
32451
|
-
"2": {
|
|
32452
|
-
loc: {
|
|
32453
|
-
start: {
|
|
32454
|
-
line: 26,
|
|
32455
|
-
column: 2
|
|
32456
|
-
},
|
|
32457
|
-
end: {
|
|
32458
|
-
line: 28,
|
|
32459
|
-
column: 3
|
|
32460
|
-
}
|
|
32461
|
-
},
|
|
32462
|
-
type: "if",
|
|
32463
|
-
locations: [{
|
|
32464
|
-
start: {
|
|
32465
|
-
line: 26,
|
|
32466
|
-
column: 2
|
|
32467
|
-
},
|
|
32468
|
-
end: {
|
|
32469
|
-
line: 28,
|
|
32470
|
-
column: 3
|
|
32471
|
-
}
|
|
32472
|
-
}, {
|
|
32473
|
-
start: {
|
|
32474
|
-
line: undefined,
|
|
32475
|
-
column: undefined
|
|
32476
|
-
},
|
|
32477
|
-
end: {
|
|
32478
|
-
line: undefined,
|
|
32479
|
-
column: undefined
|
|
32480
|
-
}
|
|
32481
|
-
}],
|
|
32482
|
-
line: 26
|
|
32483
|
-
}
|
|
32484
|
-
},
|
|
32485
|
-
s: {
|
|
32486
|
-
"0": 0,
|
|
32487
|
-
"1": 0,
|
|
32488
|
-
"2": 0,
|
|
32489
|
-
"3": 0,
|
|
32490
|
-
"4": 0,
|
|
32491
|
-
"5": 0,
|
|
32492
|
-
"6": 0,
|
|
32493
|
-
"7": 0,
|
|
32494
|
-
"8": 0,
|
|
32495
|
-
"9": 0,
|
|
32496
|
-
"10": 0,
|
|
32497
|
-
"11": 0,
|
|
32498
|
-
"12": 0,
|
|
32499
|
-
"13": 0,
|
|
32500
|
-
"14": 0,
|
|
32501
|
-
"15": 0
|
|
32502
|
-
},
|
|
32503
|
-
f: {
|
|
32504
|
-
"0": 0,
|
|
32505
|
-
"1": 0,
|
|
32506
|
-
"2": 0
|
|
32507
|
-
},
|
|
32508
|
-
b: {
|
|
32509
|
-
"0": [0, 0],
|
|
32510
|
-
"1": [0, 0],
|
|
32511
|
-
"2": [0, 0]
|
|
32512
|
-
},
|
|
32513
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
32514
|
-
hash: "f10fb766667ac687c3ecb60cc21511a69af63b57"
|
|
32515
|
-
};
|
|
32516
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
32517
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
32518
|
-
coverage[path] = coverageData;
|
|
32519
|
-
}
|
|
32520
|
-
var actualCoverage = coverage[path];
|
|
32521
|
-
{
|
|
32522
|
-
// @ts-ignore
|
|
32523
|
-
cov_35z1n6fmv = function () {
|
|
32524
|
-
return actualCoverage;
|
|
32525
|
-
};
|
|
32526
|
-
}
|
|
32527
|
-
return actualCoverage;
|
|
32528
|
-
}
|
|
32529
|
-
cov_35z1n6fmv();
|
|
32530
|
-
cov_35z1n6fmv().s[0]++;
|
|
32531
31636
|
var Portal = function Portal(_ref) {
|
|
32532
31637
|
var rootId = _ref.rootId,
|
|
32533
31638
|
children = _ref.children;
|
|
32534
|
-
|
|
32535
|
-
var target = (cov_35z1n6fmv().s[1]++, useRef(null));
|
|
32536
|
-
cov_35z1n6fmv().s[2]++;
|
|
31639
|
+
var target = useRef(null);
|
|
32537
31640
|
useEffect(function () {
|
|
32538
|
-
|
|
32539
|
-
var container = (cov_35z1n6fmv().s[3]++, document.getElementById(rootId));
|
|
32540
|
-
cov_35z1n6fmv().s[4]++;
|
|
31641
|
+
var container = document.getElementById(rootId);
|
|
32541
31642
|
if (!container) {
|
|
32542
|
-
cov_35z1n6fmv().b[0][0]++;
|
|
32543
|
-
cov_35z1n6fmv().s[5]++;
|
|
32544
31643
|
container = document.createElement("div");
|
|
32545
|
-
cov_35z1n6fmv().s[6]++;
|
|
32546
31644
|
container.setAttribute("id", rootId);
|
|
32547
|
-
cov_35z1n6fmv().s[7]++;
|
|
32548
31645
|
document.body.appendChild(container);
|
|
32549
|
-
} else {
|
|
32550
|
-
cov_35z1n6fmv().b[0][1]++;
|
|
32551
31646
|
}
|
|
32552
|
-
cov_35z1n6fmv().s[8]++;
|
|
32553
31647
|
container.appendChild(target.current);
|
|
32554
|
-
cov_35z1n6fmv().s[9]++;
|
|
32555
31648
|
return function () {
|
|
32556
|
-
cov_35z1n6fmv().f[2]++;
|
|
32557
|
-
cov_35z1n6fmv().s[10]++;
|
|
32558
31649
|
target.current.remove();
|
|
32559
|
-
cov_35z1n6fmv().s[11]++;
|
|
32560
31650
|
if (container.childNodes.length === 0) {
|
|
32561
|
-
cov_35z1n6fmv().b[1][0]++;
|
|
32562
|
-
cov_35z1n6fmv().s[12]++;
|
|
32563
31651
|
container.remove();
|
|
32564
|
-
} else {
|
|
32565
|
-
cov_35z1n6fmv().b[1][1]++;
|
|
32566
31652
|
}
|
|
32567
31653
|
};
|
|
32568
31654
|
}, [rootId]);
|
|
32569
|
-
cov_35z1n6fmv().s[13]++;
|
|
32570
31655
|
if (!target.current) {
|
|
32571
|
-
cov_35z1n6fmv().b[2][0]++;
|
|
32572
|
-
cov_35z1n6fmv().s[14]++;
|
|
32573
31656
|
target.current = document.createElement("div");
|
|
32574
|
-
} else {
|
|
32575
|
-
cov_35z1n6fmv().b[2][1]++;
|
|
32576
31657
|
}
|
|
32577
|
-
cov_35z1n6fmv().s[15]++;
|
|
32578
31658
|
return /*#__PURE__*/reactDom.exports.createPortal(children, target.current);
|
|
32579
31659
|
};
|
|
32580
31660
|
|
|
32581
|
-
function cov_1r2ywuxngm() {
|
|
32582
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/utils.js";
|
|
32583
|
-
var hash = "288fa234e84e26ed8fa5ff782656864c5f046c27";
|
|
32584
|
-
var global = new Function("return this")();
|
|
32585
|
-
var gcv = "__coverage__";
|
|
32586
|
-
var coverageData = {
|
|
32587
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/utils.js",
|
|
32588
|
-
statementMap: {
|
|
32589
|
-
"0": {
|
|
32590
|
-
start: {
|
|
32591
|
-
line: 3,
|
|
32592
|
-
column: 33
|
|
32593
|
-
},
|
|
32594
|
-
end: {
|
|
32595
|
-
line: 29,
|
|
32596
|
-
column: 1
|
|
32597
|
-
}
|
|
32598
|
-
},
|
|
32599
|
-
"1": {
|
|
32600
|
-
start: {
|
|
32601
|
-
line: 4,
|
|
32602
|
-
column: 2
|
|
32603
|
-
},
|
|
32604
|
-
end: {
|
|
32605
|
-
line: 28,
|
|
32606
|
-
column: 39
|
|
32607
|
-
}
|
|
32608
|
-
},
|
|
32609
|
-
"2": {
|
|
32610
|
-
start: {
|
|
32611
|
-
line: 5,
|
|
32612
|
-
column: 21
|
|
32613
|
-
},
|
|
32614
|
-
end: {
|
|
32615
|
-
line: 20,
|
|
32616
|
-
column: 5
|
|
32617
|
-
}
|
|
32618
|
-
},
|
|
32619
|
-
"3": {
|
|
32620
|
-
start: {
|
|
32621
|
-
line: 7,
|
|
32622
|
-
column: 6
|
|
32623
|
-
},
|
|
32624
|
-
end: {
|
|
32625
|
-
line: 9,
|
|
32626
|
-
column: 7
|
|
32627
|
-
}
|
|
32628
|
-
},
|
|
32629
|
-
"4": {
|
|
32630
|
-
start: {
|
|
32631
|
-
line: 8,
|
|
32632
|
-
column: 8
|
|
32633
|
-
},
|
|
32634
|
-
end: {
|
|
32635
|
-
line: 8,
|
|
32636
|
-
column: 15
|
|
32637
|
-
}
|
|
32638
|
-
},
|
|
32639
|
-
"5": {
|
|
32640
|
-
start: {
|
|
32641
|
-
line: 11,
|
|
32642
|
-
column: 6
|
|
32643
|
-
},
|
|
32644
|
-
end: {
|
|
32645
|
-
line: 18,
|
|
32646
|
-
column: 7
|
|
32647
|
-
}
|
|
32648
|
-
},
|
|
32649
|
-
"6": {
|
|
32650
|
-
start: {
|
|
32651
|
-
line: 13,
|
|
32652
|
-
column: 8
|
|
32653
|
-
},
|
|
32654
|
-
end: {
|
|
32655
|
-
line: 15,
|
|
32656
|
-
column: 9
|
|
32657
|
-
}
|
|
32658
|
-
},
|
|
32659
|
-
"7": {
|
|
32660
|
-
start: {
|
|
32661
|
-
line: 14,
|
|
32662
|
-
column: 10
|
|
32663
|
-
},
|
|
32664
|
-
end: {
|
|
32665
|
-
line: 14,
|
|
32666
|
-
column: 25
|
|
32667
|
-
}
|
|
32668
|
-
},
|
|
32669
|
-
"8": {
|
|
32670
|
-
start: {
|
|
32671
|
-
line: 17,
|
|
32672
|
-
column: 8
|
|
32673
|
-
},
|
|
32674
|
-
end: {
|
|
32675
|
-
line: 17,
|
|
32676
|
-
column: 15
|
|
32677
|
-
}
|
|
32678
|
-
},
|
|
32679
|
-
"9": {
|
|
32680
|
-
start: {
|
|
32681
|
-
line: 19,
|
|
32682
|
-
column: 6
|
|
32683
|
-
},
|
|
32684
|
-
end: {
|
|
32685
|
-
line: 19,
|
|
32686
|
-
column: 21
|
|
32687
|
-
}
|
|
32688
|
-
},
|
|
32689
|
-
"10": {
|
|
32690
|
-
start: {
|
|
32691
|
-
line: 21,
|
|
32692
|
-
column: 4
|
|
32693
|
-
},
|
|
32694
|
-
end: {
|
|
32695
|
-
line: 21,
|
|
32696
|
-
column: 53
|
|
32697
|
-
}
|
|
32698
|
-
},
|
|
32699
|
-
"11": {
|
|
32700
|
-
start: {
|
|
32701
|
-
line: 22,
|
|
32702
|
-
column: 4
|
|
32703
|
-
},
|
|
32704
|
-
end: {
|
|
32705
|
-
line: 22,
|
|
32706
|
-
column: 54
|
|
32707
|
-
}
|
|
32708
|
-
},
|
|
32709
|
-
"12": {
|
|
32710
|
-
start: {
|
|
32711
|
-
line: 24,
|
|
32712
|
-
column: 4
|
|
32713
|
-
},
|
|
32714
|
-
end: {
|
|
32715
|
-
line: 27,
|
|
32716
|
-
column: 6
|
|
32717
|
-
}
|
|
32718
|
-
},
|
|
32719
|
-
"13": {
|
|
32720
|
-
start: {
|
|
32721
|
-
line: 25,
|
|
32722
|
-
column: 6
|
|
32723
|
-
},
|
|
32724
|
-
end: {
|
|
32725
|
-
line: 25,
|
|
32726
|
-
column: 58
|
|
32727
|
-
}
|
|
32728
|
-
},
|
|
32729
|
-
"14": {
|
|
32730
|
-
start: {
|
|
32731
|
-
line: 26,
|
|
32732
|
-
column: 6
|
|
32733
|
-
},
|
|
32734
|
-
end: {
|
|
32735
|
-
line: 26,
|
|
32736
|
-
column: 59
|
|
32737
|
-
}
|
|
32738
|
-
}
|
|
32739
|
-
},
|
|
32740
|
-
fnMap: {
|
|
32741
|
-
"0": {
|
|
32742
|
-
name: "(anonymous_0)",
|
|
32743
|
-
decl: {
|
|
32744
|
-
start: {
|
|
32745
|
-
line: 3,
|
|
32746
|
-
column: 33
|
|
32747
|
-
},
|
|
32748
|
-
end: {
|
|
32749
|
-
line: 3,
|
|
32750
|
-
column: 34
|
|
32751
|
-
}
|
|
32752
|
-
},
|
|
32753
|
-
loc: {
|
|
32754
|
-
start: {
|
|
32755
|
-
line: 3,
|
|
32756
|
-
column: 69
|
|
32757
|
-
},
|
|
32758
|
-
end: {
|
|
32759
|
-
line: 29,
|
|
32760
|
-
column: 1
|
|
32761
|
-
}
|
|
32762
|
-
},
|
|
32763
|
-
line: 3
|
|
32764
|
-
},
|
|
32765
|
-
"1": {
|
|
32766
|
-
name: "(anonymous_1)",
|
|
32767
|
-
decl: {
|
|
32768
|
-
start: {
|
|
32769
|
-
line: 4,
|
|
32770
|
-
column: 12
|
|
32771
|
-
},
|
|
32772
|
-
end: {
|
|
32773
|
-
line: 4,
|
|
32774
|
-
column: 13
|
|
32775
|
-
}
|
|
32776
|
-
},
|
|
32777
|
-
loc: {
|
|
32778
|
-
start: {
|
|
32779
|
-
line: 4,
|
|
32780
|
-
column: 18
|
|
32781
|
-
},
|
|
32782
|
-
end: {
|
|
32783
|
-
line: 28,
|
|
32784
|
-
column: 3
|
|
32785
|
-
}
|
|
32786
|
-
},
|
|
32787
|
-
line: 4
|
|
32788
|
-
},
|
|
32789
|
-
"2": {
|
|
32790
|
-
name: "(anonymous_2)",
|
|
32791
|
-
decl: {
|
|
32792
|
-
start: {
|
|
32793
|
-
line: 5,
|
|
32794
|
-
column: 21
|
|
32795
|
-
},
|
|
32796
|
-
end: {
|
|
32797
|
-
line: 5,
|
|
32798
|
-
column: 22
|
|
32799
|
-
}
|
|
32800
|
-
},
|
|
32801
|
-
loc: {
|
|
32802
|
-
start: {
|
|
32803
|
-
line: 5,
|
|
32804
|
-
column: 30
|
|
32805
|
-
},
|
|
32806
|
-
end: {
|
|
32807
|
-
line: 20,
|
|
32808
|
-
column: 5
|
|
32809
|
-
}
|
|
32810
|
-
},
|
|
32811
|
-
line: 5
|
|
32812
|
-
},
|
|
32813
|
-
"3": {
|
|
32814
|
-
name: "(anonymous_3)",
|
|
32815
|
-
decl: {
|
|
32816
|
-
start: {
|
|
32817
|
-
line: 24,
|
|
32818
|
-
column: 11
|
|
32819
|
-
},
|
|
32820
|
-
end: {
|
|
32821
|
-
line: 24,
|
|
32822
|
-
column: 12
|
|
32823
|
-
}
|
|
32824
|
-
},
|
|
32825
|
-
loc: {
|
|
32826
|
-
start: {
|
|
32827
|
-
line: 24,
|
|
32828
|
-
column: 17
|
|
32829
|
-
},
|
|
32830
|
-
end: {
|
|
32831
|
-
line: 27,
|
|
32832
|
-
column: 5
|
|
32833
|
-
}
|
|
32834
|
-
},
|
|
32835
|
-
line: 24
|
|
32836
|
-
}
|
|
32837
|
-
},
|
|
32838
|
-
branchMap: {
|
|
32839
|
-
"0": {
|
|
32840
|
-
loc: {
|
|
32841
|
-
start: {
|
|
32842
|
-
line: 7,
|
|
32843
|
-
column: 6
|
|
32844
|
-
},
|
|
32845
|
-
end: {
|
|
32846
|
-
line: 9,
|
|
32847
|
-
column: 7
|
|
32848
|
-
}
|
|
32849
|
-
},
|
|
32850
|
-
type: "if",
|
|
32851
|
-
locations: [{
|
|
32852
|
-
start: {
|
|
32853
|
-
line: 7,
|
|
32854
|
-
column: 6
|
|
32855
|
-
},
|
|
32856
|
-
end: {
|
|
32857
|
-
line: 9,
|
|
32858
|
-
column: 7
|
|
32859
|
-
}
|
|
32860
|
-
}, {
|
|
32861
|
-
start: {
|
|
32862
|
-
line: undefined,
|
|
32863
|
-
column: undefined
|
|
32864
|
-
},
|
|
32865
|
-
end: {
|
|
32866
|
-
line: undefined,
|
|
32867
|
-
column: undefined
|
|
32868
|
-
}
|
|
32869
|
-
}],
|
|
32870
|
-
line: 7
|
|
32871
|
-
},
|
|
32872
|
-
"1": {
|
|
32873
|
-
loc: {
|
|
32874
|
-
start: {
|
|
32875
|
-
line: 7,
|
|
32876
|
-
column: 10
|
|
32877
|
-
},
|
|
32878
|
-
end: {
|
|
32879
|
-
line: 7,
|
|
32880
|
-
column: 72
|
|
32881
|
-
}
|
|
32882
|
-
},
|
|
32883
|
-
type: "binary-expr",
|
|
32884
|
-
locations: [{
|
|
32885
|
-
start: {
|
|
32886
|
-
line: 7,
|
|
32887
|
-
column: 10
|
|
32888
|
-
},
|
|
32889
|
-
end: {
|
|
32890
|
-
line: 7,
|
|
32891
|
-
column: 28
|
|
32892
|
-
}
|
|
32893
|
-
}, {
|
|
32894
|
-
start: {
|
|
32895
|
-
line: 7,
|
|
32896
|
-
column: 32
|
|
32897
|
-
},
|
|
32898
|
-
end: {
|
|
32899
|
-
line: 7,
|
|
32900
|
-
column: 72
|
|
32901
|
-
}
|
|
32902
|
-
}],
|
|
32903
|
-
line: 7
|
|
32904
|
-
},
|
|
32905
|
-
"2": {
|
|
32906
|
-
loc: {
|
|
32907
|
-
start: {
|
|
32908
|
-
line: 11,
|
|
32909
|
-
column: 6
|
|
32910
|
-
},
|
|
32911
|
-
end: {
|
|
32912
|
-
line: 18,
|
|
32913
|
-
column: 7
|
|
32914
|
-
}
|
|
32915
|
-
},
|
|
32916
|
-
type: "if",
|
|
32917
|
-
locations: [{
|
|
32918
|
-
start: {
|
|
32919
|
-
line: 11,
|
|
32920
|
-
column: 6
|
|
32921
|
-
},
|
|
32922
|
-
end: {
|
|
32923
|
-
line: 18,
|
|
32924
|
-
column: 7
|
|
32925
|
-
}
|
|
32926
|
-
}, {
|
|
32927
|
-
start: {
|
|
32928
|
-
line: undefined,
|
|
32929
|
-
column: undefined
|
|
32930
|
-
},
|
|
32931
|
-
end: {
|
|
32932
|
-
line: undefined,
|
|
32933
|
-
column: undefined
|
|
32934
|
-
}
|
|
32935
|
-
}],
|
|
32936
|
-
line: 11
|
|
32937
|
-
},
|
|
32938
|
-
"3": {
|
|
32939
|
-
loc: {
|
|
32940
|
-
start: {
|
|
32941
|
-
line: 13,
|
|
32942
|
-
column: 8
|
|
32943
|
-
},
|
|
32944
|
-
end: {
|
|
32945
|
-
line: 15,
|
|
32946
|
-
column: 9
|
|
32947
|
-
}
|
|
32948
|
-
},
|
|
32949
|
-
type: "if",
|
|
32950
|
-
locations: [{
|
|
32951
|
-
start: {
|
|
32952
|
-
line: 13,
|
|
32953
|
-
column: 8
|
|
32954
|
-
},
|
|
32955
|
-
end: {
|
|
32956
|
-
line: 15,
|
|
32957
|
-
column: 9
|
|
32958
|
-
}
|
|
32959
|
-
}, {
|
|
32960
|
-
start: {
|
|
32961
|
-
line: undefined,
|
|
32962
|
-
column: undefined
|
|
32963
|
-
},
|
|
32964
|
-
end: {
|
|
32965
|
-
line: undefined,
|
|
32966
|
-
column: undefined
|
|
32967
|
-
}
|
|
32968
|
-
}],
|
|
32969
|
-
line: 13
|
|
32970
|
-
}
|
|
32971
|
-
},
|
|
32972
|
-
s: {
|
|
32973
|
-
"0": 0,
|
|
32974
|
-
"1": 0,
|
|
32975
|
-
"2": 0,
|
|
32976
|
-
"3": 0,
|
|
32977
|
-
"4": 0,
|
|
32978
|
-
"5": 0,
|
|
32979
|
-
"6": 0,
|
|
32980
|
-
"7": 0,
|
|
32981
|
-
"8": 0,
|
|
32982
|
-
"9": 0,
|
|
32983
|
-
"10": 0,
|
|
32984
|
-
"11": 0,
|
|
32985
|
-
"12": 0,
|
|
32986
|
-
"13": 0,
|
|
32987
|
-
"14": 0
|
|
32988
|
-
},
|
|
32989
|
-
f: {
|
|
32990
|
-
"0": 0,
|
|
32991
|
-
"1": 0,
|
|
32992
|
-
"2": 0,
|
|
32993
|
-
"3": 0
|
|
32994
|
-
},
|
|
32995
|
-
b: {
|
|
32996
|
-
"0": [0, 0],
|
|
32997
|
-
"1": [0, 0],
|
|
32998
|
-
"2": [0, 0],
|
|
32999
|
-
"3": [0, 0]
|
|
33000
|
-
},
|
|
33001
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33002
|
-
hash: "288fa234e84e26ed8fa5ff782656864c5f046c27"
|
|
33003
|
-
};
|
|
33004
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
33005
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33006
|
-
coverage[path] = coverageData;
|
|
33007
|
-
}
|
|
33008
|
-
var actualCoverage = coverage[path];
|
|
33009
|
-
{
|
|
33010
|
-
// @ts-ignore
|
|
33011
|
-
cov_1r2ywuxngm = function () {
|
|
33012
|
-
return actualCoverage;
|
|
33013
|
-
};
|
|
33014
|
-
}
|
|
33015
|
-
return actualCoverage;
|
|
33016
|
-
}
|
|
33017
|
-
cov_1r2ywuxngm();
|
|
33018
|
-
cov_1r2ywuxngm().s[0]++;
|
|
33019
31661
|
var useOnClickOutside = function useOnClickOutside(insideRef, outsideRef, handler) {
|
|
33020
|
-
cov_1r2ywuxngm().f[0]++;
|
|
33021
|
-
cov_1r2ywuxngm().s[1]++;
|
|
33022
31662
|
useEffect(function () {
|
|
33023
|
-
cov_1r2ywuxngm().f[1]++;
|
|
33024
|
-
cov_1r2ywuxngm().s[2]++;
|
|
33025
31663
|
var listener = function listener(event) {
|
|
33026
|
-
cov_1r2ywuxngm().f[2]++;
|
|
33027
|
-
cov_1r2ywuxngm().s[3]++;
|
|
33028
31664
|
// Do nothing if clicking ref's element or descendent elements
|
|
33029
|
-
if (
|
|
33030
|
-
cov_1r2ywuxngm().b[0][0]++;
|
|
33031
|
-
cov_1r2ywuxngm().s[4]++;
|
|
31665
|
+
if (!insideRef.current || insideRef.current.contains(event.target)) {
|
|
33032
31666
|
return;
|
|
33033
|
-
} else {
|
|
33034
|
-
cov_1r2ywuxngm().b[0][1]++;
|
|
33035
31667
|
}
|
|
33036
|
-
cov_1r2ywuxngm().s[5]++;
|
|
33037
31668
|
if (outsideRef.current) {
|
|
33038
|
-
cov_1r2ywuxngm().b[2][0]++;
|
|
33039
|
-
cov_1r2ywuxngm().s[6]++;
|
|
33040
31669
|
// If Outside ref exists, trigger the handler if it contains the event target.
|
|
33041
31670
|
if (outsideRef.current.contains(event.target)) {
|
|
33042
|
-
cov_1r2ywuxngm().b[3][0]++;
|
|
33043
|
-
cov_1r2ywuxngm().s[7]++;
|
|
33044
31671
|
handler(event);
|
|
33045
|
-
} else {
|
|
33046
|
-
cov_1r2ywuxngm().b[3][1]++;
|
|
33047
31672
|
}
|
|
33048
|
-
cov_1r2ywuxngm().s[8]++;
|
|
33049
31673
|
return;
|
|
33050
|
-
} else {
|
|
33051
|
-
cov_1r2ywuxngm().b[2][1]++;
|
|
33052
31674
|
}
|
|
33053
|
-
cov_1r2ywuxngm().s[9]++;
|
|
33054
31675
|
handler(event);
|
|
33055
31676
|
};
|
|
33056
|
-
cov_1r2ywuxngm().s[10]++;
|
|
33057
31677
|
document.addEventListener("mousedown", listener);
|
|
33058
|
-
cov_1r2ywuxngm().s[11]++;
|
|
33059
31678
|
document.addEventListener("touchstart", listener);
|
|
33060
|
-
cov_1r2ywuxngm().s[12]++;
|
|
33061
31679
|
return function () {
|
|
33062
|
-
cov_1r2ywuxngm().f[3]++;
|
|
33063
|
-
cov_1r2ywuxngm().s[13]++;
|
|
33064
31680
|
document.removeEventListener("mousedown", listener);
|
|
33065
|
-
cov_1r2ywuxngm().s[14]++;
|
|
33066
31681
|
document.removeEventListener("touchstart", listener);
|
|
33067
31682
|
};
|
|
33068
31683
|
}, [insideRef, outsideRef, handler]);
|
|
33069
31684
|
};
|
|
33070
31685
|
|
|
33071
|
-
function cov_2lck7amjw7() {
|
|
33072
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/index.jsx";
|
|
33073
|
-
var hash = "f48177db9e544dcc6e11b963cf49f5c34e8e9e6d";
|
|
33074
|
-
var global = new Function("return this")();
|
|
33075
|
-
var gcv = "__coverage__";
|
|
33076
|
-
var coverageData = {
|
|
33077
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/AppSwitcher/index.jsx",
|
|
33078
|
-
statementMap: {
|
|
33079
|
-
"0": {
|
|
33080
|
-
start: {
|
|
33081
|
-
line: 12,
|
|
33082
|
-
column: 20
|
|
33083
|
-
},
|
|
33084
|
-
end: {
|
|
33085
|
-
line: 46,
|
|
33086
|
-
column: 1
|
|
33087
|
-
}
|
|
33088
|
-
},
|
|
33089
|
-
"1": {
|
|
33090
|
-
start: {
|
|
33091
|
-
line: 13,
|
|
33092
|
-
column: 22
|
|
33093
|
-
},
|
|
33094
|
-
end: {
|
|
33095
|
-
line: 13,
|
|
33096
|
-
column: 34
|
|
33097
|
-
}
|
|
33098
|
-
},
|
|
33099
|
-
"2": {
|
|
33100
|
-
start: {
|
|
33101
|
-
line: 14,
|
|
33102
|
-
column: 22
|
|
33103
|
-
},
|
|
33104
|
-
end: {
|
|
33105
|
-
line: 14,
|
|
33106
|
-
column: 34
|
|
33107
|
-
}
|
|
33108
|
-
},
|
|
33109
|
-
"3": {
|
|
33110
|
-
start: {
|
|
33111
|
-
line: 16,
|
|
33112
|
-
column: 2
|
|
33113
|
-
},
|
|
33114
|
-
end: {
|
|
33115
|
-
line: 16,
|
|
33116
|
-
column: 55
|
|
33117
|
-
}
|
|
33118
|
-
},
|
|
33119
|
-
"4": {
|
|
33120
|
-
start: {
|
|
33121
|
-
line: 18,
|
|
33122
|
-
column: 2
|
|
33123
|
-
},
|
|
33124
|
-
end: {
|
|
33125
|
-
line: 18,
|
|
33126
|
-
column: 29
|
|
33127
|
-
}
|
|
33128
|
-
},
|
|
33129
|
-
"5": {
|
|
33130
|
-
start: {
|
|
33131
|
-
line: 20,
|
|
33132
|
-
column: 2
|
|
33133
|
-
},
|
|
33134
|
-
end: {
|
|
33135
|
-
line: 45,
|
|
33136
|
-
column: 4
|
|
33137
|
-
}
|
|
33138
|
-
}
|
|
33139
|
-
},
|
|
33140
|
-
fnMap: {
|
|
33141
|
-
"0": {
|
|
33142
|
-
name: "(anonymous_0)",
|
|
33143
|
-
decl: {
|
|
33144
|
-
start: {
|
|
33145
|
-
line: 12,
|
|
33146
|
-
column: 20
|
|
33147
|
-
},
|
|
33148
|
-
end: {
|
|
33149
|
-
line: 12,
|
|
33150
|
-
column: 21
|
|
33151
|
-
}
|
|
33152
|
-
},
|
|
33153
|
-
loc: {
|
|
33154
|
-
start: {
|
|
33155
|
-
line: 12,
|
|
33156
|
-
column: 45
|
|
33157
|
-
},
|
|
33158
|
-
end: {
|
|
33159
|
-
line: 46,
|
|
33160
|
-
column: 1
|
|
33161
|
-
}
|
|
33162
|
-
},
|
|
33163
|
-
line: 12
|
|
33164
|
-
}
|
|
33165
|
-
},
|
|
33166
|
-
branchMap: {},
|
|
33167
|
-
s: {
|
|
33168
|
-
"0": 0,
|
|
33169
|
-
"1": 0,
|
|
33170
|
-
"2": 0,
|
|
33171
|
-
"3": 0,
|
|
33172
|
-
"4": 0,
|
|
33173
|
-
"5": 0
|
|
33174
|
-
},
|
|
33175
|
-
f: {
|
|
33176
|
-
"0": 0
|
|
33177
|
-
},
|
|
33178
|
-
b: {},
|
|
33179
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33180
|
-
hash: "f48177db9e544dcc6e11b963cf49f5c34e8e9e6d"
|
|
33181
|
-
};
|
|
33182
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
33183
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33184
|
-
coverage[path] = coverageData;
|
|
33185
|
-
}
|
|
33186
|
-
var actualCoverage = coverage[path];
|
|
33187
|
-
{
|
|
33188
|
-
// @ts-ignore
|
|
33189
|
-
cov_2lck7amjw7 = function () {
|
|
33190
|
-
return actualCoverage;
|
|
33191
|
-
};
|
|
33192
|
-
}
|
|
33193
|
-
return actualCoverage;
|
|
33194
|
-
}
|
|
33195
|
-
cov_2lck7amjw7();
|
|
33196
|
-
cov_2lck7amjw7().s[0]++;
|
|
33197
31686
|
var AppSwitcher = function AppSwitcher(_ref) {
|
|
33198
31687
|
var isOpen = _ref.isOpen,
|
|
33199
31688
|
onClose = _ref.onClose;
|
|
33200
|
-
|
|
33201
|
-
var
|
|
33202
|
-
var backdropRef = (cov_2lck7amjw7().s[2]++, useRef(null));
|
|
33203
|
-
cov_2lck7amjw7().s[3]++;
|
|
31689
|
+
var paneWrapper = useRef(null);
|
|
31690
|
+
var backdropRef = useRef(null);
|
|
33204
31691
|
useOnClickOutside(paneWrapper, backdropRef, onClose);
|
|
33205
|
-
cov_2lck7amjw7().s[4]++;
|
|
33206
31692
|
useHotkeys("esc", onClose);
|
|
33207
|
-
cov_2lck7amjw7().s[5]++;
|
|
33208
31693
|
return /*#__PURE__*/React.createElement(Portal, {
|
|
33209
31694
|
rootId: "neeto-ui-portal"
|
|
33210
31695
|
}, /*#__PURE__*/React.createElement(CSSTransition, {
|
|
@@ -33230,129 +31715,9 @@ var AppSwitcher = function AppSwitcher(_ref) {
|
|
|
33230
31715
|
var css = ".neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-white));border-right:1px solid rgb(var(--neeto-ui-gray-200));height:100vh;max-width:300px;padding:40px 0;transition:all .3s;width:300px;z-index:99997}.neeto-molecules-sidebar::-webkit-scrollbar{height:0;width:0}.neeto-molecules-sidebar::-webkit-scrollbar-thumb{background:rgb(var(--neeto-ui-gray-300));border-radius:50px}.neeto-molecules-sidebar::-webkit-scrollbar-track{background:\"transparent\"}@media (min-width:1440px){.neeto-molecules-sidebar{max-width:320px;width:320px}}.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed{max-width:var(--neeto-ui-sidebar-width);width:var(--neeto-ui-sidebar-width)}.neeto-molecules-sidebar__header{margin-bottom:40px;padding:0 20px;width:100%}.neeto-molecules-sidebar__logo,.neeto-molecules-sidebar__logo svg{height:40px;width:40px}.neeto-molecules-sidebar__info{padding-left:10px;width:calc(100% - 40px)}.neeto-molecules-sidebar__info .neeto-molecules-typography{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.neeto-molecules-sidebar__links{margin-bottom:20px;padding-left:12px;padding-right:12px;width:100%}.neeto-molecules-sidebar__link{border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-gray-600));cursor:pointer;margin:8px 0;padding:8px;position:relative;text-decoration:none;transition:all .3s}.neeto-molecules-sidebar__link.mb-0{margin-bottom:0}.neeto-molecules-sidebar__link-icon{flex-shrink:0;width:40px}.neeto-molecules-sidebar__link-label{overflow:hidden;padding-left:10px;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 40px)}.neeto-molecules-sidebar__link-sub-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 56px)}.neeto-molecules-sidebar__link:hover{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-gray-800));text-decoration:none}.neeto-molecules-sidebar__link:focus,.neeto-molecules-sidebar__link:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-gray-800));outline:none;text-decoration:none}.neeto-molecules-sidebar__link.active{background-color:rgb(var(--neeto-ui-primary-100));color:rgb(var(--neeto-ui-primary-600));text-decoration:none}.neeto-molecules-sidebar__link--button:focus{background-color:transparent}.neeto-molecules-sidebar__link--button:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-sidebar__link--change-log{outline:none!important}.neeto-molecules-sidebar__sublink{border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-gray-600));cursor:pointer;margin:4px 0;padding:8px 8px 8px 58px;text-decoration:none;transition:all .3s}.neeto-molecules-sidebar__sublink:hover{color:rgb(var(--neeto-ui-gray-700));text-decoration:none}.neeto-molecules-sidebar__sublink:focus,.neeto-molecules-sidebar__sublink:focus-visible{background-color:rgb(var(--neeto-ui-gray-300));color:rgb(var(--neeto-ui-gray-700));outline:none;text-decoration:none}.neeto-molecules-sidebar__sublink.active,.neeto-molecules-sidebar__sublink:active{color:rgb(var(--neeto-ui-gray-800));text-decoration:none}.neeto-molecules-sidebar__footer{margin-top:auto;padding:0 12px;width:100%}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile-wrapper{outline:none!important}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);box-shadow:var(--neeto-ui-shadow-sm);cursor:pointer;padding:8px;transition:var(--neeto-ui-transition);width:100%}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile-content{padding-left:10px;padding-right:30px;position:relative;width:calc(100% - 40px)}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile-content .neeto-molecules-typography{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.neeto-molecules-sidebar__footer .neeto-molecules-sidebar__profile-drop-icon{color:rgb(var(--neeto-ui-gray-500));position:absolute;right:8px;top:50%;transform:translateY(-50%)}.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed{padding:24px 0}.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed .neeto-molecules-sidebar__profile{background-color:transparent;box-shadow:none;padding:0}.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed .neeto-molecules-sidebar__header,.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed .neeto-molecules-sidebar__links{padding-left:16px;padding-right:16px}.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed .neeto-molecules-sidebar__link-icon{width:24px}.neeto-molecules-sidebar.neeto-molecules-sidebar--collapsed .neeto-molecules-sidebar__footer{padding-left:16px;padding-right:16px}.sidebar-featured-tooltip__content{border-radius:8px!important;box-shadow:var(--neeto-ui-shadow-sm)!important}.sidebar-featured-tooltip__content .tippy-content{padding:0}.sidebar-featured-tooltip{padding:12px;width:150px}.sidebar-featured-tooltip__icon-wrap{background-color:rgb(var(--neeto-ui-gray-100));border-radius:8px;height:40px;margin-bottom:8px;margin-left:auto;margin-right:auto;width:40px}.sidebar-featured-tooltip__title{margin-bottom:4px}.neeto-molecules-help-popup-wrapper,.neeto-molecules-profile-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded)!important;box-shadow:var(--neeto-ui-shadow-xs)!important}.neeto-molecules-help-popup-wrapper .tippy-content,.neeto-molecules-profile-popup-wrapper .tippy-content{padding:0}.neeto-molecules-help-popup-wrapper .tippy-svg-arrow,.neeto-molecules-profile-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-sublist{border-top:1px solid rgb(var(--neeto-ui-gray-400));list-style:none;margin:0;padding:4px 0}.neeto-molecules-help-sublist__item,.neeto-molecules-profile-sublist__item{width:100%}.neeto-molecules-help-sublist__item-btn,.neeto-molecules-profile-sublist__item-btn{align-items:center;border-radius:0;color:rgb(var(--neeto-ui-gray-800));cursor:pointer;display:flex;font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-normal);gap:8px;line-height:1.143;min-height:32px;outline-color:transparent;padding:6px 40px 6px 12px;position:relative;text-decoration:none;transition:var(--neeto-ui-transition);-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;width:100%}.neeto-molecules-help-sublist__item-btn.disabled,.neeto-molecules-profile-sublist__item-btn.disabled{color:rgb(var(--neeto-ui-gray-500));cursor:not-allowed}.neeto-molecules-help-sublist__item-btn:focus,.neeto-molecules-help-sublist__item-btn:hover,.neeto-molecules-profile-sublist__item-btn:focus,.neeto-molecules-profile-sublist__item-btn:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-help-sublist__item-btn.active,.neeto-molecules-profile-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-help-sublist__item-btn--style-danger,.neeto-molecules-profile-sublist__item-btn--style-danger{color:rgb(var(--neeto-ui-error-800))}.neeto-molecules-help-sublist__item-btn-icon,.neeto-molecules-profile-sublist__item-btn-icon{color:rgb(var(--neeto-ui-gray-600))}.neeto-molecules-help-sublist__item-btn-icon svg,.neeto-molecules-profile-sublist__item-btn-icon svg{height:20px;width:20px}";
|
|
33231
31716
|
n(css,{});
|
|
33232
31717
|
|
|
33233
|
-
function cov_swyqo0lwo() {
|
|
33234
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/FeaturedTooltip.jsx";
|
|
33235
|
-
var hash = "362c5ce68ed3186f185cb66060e3798975077c39";
|
|
33236
|
-
var global = new Function("return this")();
|
|
33237
|
-
var gcv = "__coverage__";
|
|
33238
|
-
var coverageData = {
|
|
33239
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/FeaturedTooltip.jsx",
|
|
33240
|
-
statementMap: {
|
|
33241
|
-
"0": {
|
|
33242
|
-
start: {
|
|
33243
|
-
line: 7,
|
|
33244
|
-
column: 24
|
|
33245
|
-
},
|
|
33246
|
-
end: {
|
|
33247
|
-
line: 27,
|
|
33248
|
-
column: 1
|
|
33249
|
-
}
|
|
33250
|
-
},
|
|
33251
|
-
"1": {
|
|
33252
|
-
start: {
|
|
33253
|
-
line: 8,
|
|
33254
|
-
column: 2
|
|
33255
|
-
},
|
|
33256
|
-
end: {
|
|
33257
|
-
line: 26,
|
|
33258
|
-
column: 8
|
|
33259
|
-
}
|
|
33260
|
-
}
|
|
33261
|
-
},
|
|
33262
|
-
fnMap: {
|
|
33263
|
-
"0": {
|
|
33264
|
-
name: "(anonymous_0)",
|
|
33265
|
-
decl: {
|
|
33266
|
-
start: {
|
|
33267
|
-
line: 7,
|
|
33268
|
-
column: 24
|
|
33269
|
-
},
|
|
33270
|
-
end: {
|
|
33271
|
-
line: 7,
|
|
33272
|
-
column: 25
|
|
33273
|
-
}
|
|
33274
|
-
},
|
|
33275
|
-
loc: {
|
|
33276
|
-
start: {
|
|
33277
|
-
line: 8,
|
|
33278
|
-
column: 2
|
|
33279
|
-
},
|
|
33280
|
-
end: {
|
|
33281
|
-
line: 26,
|
|
33282
|
-
column: 8
|
|
33283
|
-
}
|
|
33284
|
-
},
|
|
33285
|
-
line: 8
|
|
33286
|
-
}
|
|
33287
|
-
},
|
|
33288
|
-
branchMap: {
|
|
33289
|
-
"0": {
|
|
33290
|
-
loc: {
|
|
33291
|
-
start: {
|
|
33292
|
-
line: 17,
|
|
33293
|
-
column: 5
|
|
33294
|
-
},
|
|
33295
|
-
end: {
|
|
33296
|
-
line: 25,
|
|
33297
|
-
column: 5
|
|
33298
|
-
}
|
|
33299
|
-
},
|
|
33300
|
-
type: "binary-expr",
|
|
33301
|
-
locations: [{
|
|
33302
|
-
start: {
|
|
33303
|
-
line: 17,
|
|
33304
|
-
column: 5
|
|
33305
|
-
},
|
|
33306
|
-
end: {
|
|
33307
|
-
line: 17,
|
|
33308
|
-
column: 16
|
|
33309
|
-
}
|
|
33310
|
-
}, {
|
|
33311
|
-
start: {
|
|
33312
|
-
line: 18,
|
|
33313
|
-
column: 6
|
|
33314
|
-
},
|
|
33315
|
-
end: {
|
|
33316
|
-
line: 24,
|
|
33317
|
-
column: 19
|
|
33318
|
-
}
|
|
33319
|
-
}],
|
|
33320
|
-
line: 17
|
|
33321
|
-
}
|
|
33322
|
-
},
|
|
33323
|
-
s: {
|
|
33324
|
-
"0": 0,
|
|
33325
|
-
"1": 0
|
|
33326
|
-
},
|
|
33327
|
-
f: {
|
|
33328
|
-
"0": 0
|
|
33329
|
-
},
|
|
33330
|
-
b: {
|
|
33331
|
-
"0": [0, 0]
|
|
33332
|
-
},
|
|
33333
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33334
|
-
hash: "362c5ce68ed3186f185cb66060e3798975077c39"
|
|
33335
|
-
};
|
|
33336
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
33337
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33338
|
-
coverage[path] = coverageData;
|
|
33339
|
-
}
|
|
33340
|
-
var actualCoverage = coverage[path];
|
|
33341
|
-
{
|
|
33342
|
-
// @ts-ignore
|
|
33343
|
-
cov_swyqo0lwo = function () {
|
|
33344
|
-
return actualCoverage;
|
|
33345
|
-
};
|
|
33346
|
-
}
|
|
33347
|
-
return actualCoverage;
|
|
33348
|
-
}
|
|
33349
|
-
cov_swyqo0lwo();
|
|
33350
|
-
cov_swyqo0lwo().s[0]++;
|
|
33351
31718
|
var FeaturedTooltip = function FeaturedTooltip(_ref) {
|
|
33352
31719
|
var label = _ref.label,
|
|
33353
31720
|
description = _ref.description;
|
|
33354
|
-
cov_swyqo0lwo().f[0]++;
|
|
33355
|
-
cov_swyqo0lwo().s[1]++;
|
|
33356
31721
|
return /*#__PURE__*/React.createElement("div", {
|
|
33357
31722
|
className: "neeto-ui-flex neeto-ui-flex-col sidebar-featured-tooltip"
|
|
33358
31723
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
@@ -33360,101 +31725,17 @@ var FeaturedTooltip = function FeaturedTooltip(_ref) {
|
|
|
33360
31725
|
lineHeight: "tight",
|
|
33361
31726
|
style: "h5",
|
|
33362
31727
|
weight: "semibold"
|
|
33363
|
-
}, label),
|
|
31728
|
+
}, label), description && /*#__PURE__*/React.createElement(Typography, {
|
|
33364
31729
|
className: "neeto-ui-text-center neeto-ui-text-gray-400 sidebar-featured-tooltip__description",
|
|
33365
31730
|
lineHeight: "normal",
|
|
33366
31731
|
style: "body3"
|
|
33367
|
-
}, description))
|
|
31732
|
+
}, description));
|
|
33368
31733
|
};
|
|
33369
31734
|
|
|
33370
|
-
function cov_1fw6zj7gkk() {
|
|
33371
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/NavIconWrapper.jsx";
|
|
33372
|
-
var hash = "4256dc2cf3d4982587c3553e284622919128488a";
|
|
33373
|
-
var global = new Function("return this")();
|
|
33374
|
-
var gcv = "__coverage__";
|
|
33375
|
-
var coverageData = {
|
|
33376
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/NavIconWrapper.jsx",
|
|
33377
|
-
statementMap: {
|
|
33378
|
-
"0": {
|
|
33379
|
-
start: {
|
|
33380
|
-
line: 8,
|
|
33381
|
-
column: 23
|
|
33382
|
-
},
|
|
33383
|
-
end: {
|
|
33384
|
-
line: 19,
|
|
33385
|
-
column: 1
|
|
33386
|
-
}
|
|
33387
|
-
},
|
|
33388
|
-
"1": {
|
|
33389
|
-
start: {
|
|
33390
|
-
line: 9,
|
|
33391
|
-
column: 2
|
|
33392
|
-
},
|
|
33393
|
-
end: {
|
|
33394
|
-
line: 18,
|
|
33395
|
-
column: 12
|
|
33396
|
-
}
|
|
33397
|
-
}
|
|
33398
|
-
},
|
|
33399
|
-
fnMap: {
|
|
33400
|
-
"0": {
|
|
33401
|
-
name: "(anonymous_0)",
|
|
33402
|
-
decl: {
|
|
33403
|
-
start: {
|
|
33404
|
-
line: 8,
|
|
33405
|
-
column: 23
|
|
33406
|
-
},
|
|
33407
|
-
end: {
|
|
33408
|
-
line: 8,
|
|
33409
|
-
column: 24
|
|
33410
|
-
}
|
|
33411
|
-
},
|
|
33412
|
-
loc: {
|
|
33413
|
-
start: {
|
|
33414
|
-
line: 9,
|
|
33415
|
-
column: 2
|
|
33416
|
-
},
|
|
33417
|
-
end: {
|
|
33418
|
-
line: 18,
|
|
33419
|
-
column: 12
|
|
33420
|
-
}
|
|
33421
|
-
},
|
|
33422
|
-
line: 9
|
|
33423
|
-
}
|
|
33424
|
-
},
|
|
33425
|
-
branchMap: {},
|
|
33426
|
-
s: {
|
|
33427
|
-
"0": 0,
|
|
33428
|
-
"1": 0
|
|
33429
|
-
},
|
|
33430
|
-
f: {
|
|
33431
|
-
"0": 0
|
|
33432
|
-
},
|
|
33433
|
-
b: {},
|
|
33434
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33435
|
-
hash: "4256dc2cf3d4982587c3553e284622919128488a"
|
|
33436
|
-
};
|
|
33437
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
33438
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33439
|
-
coverage[path] = coverageData;
|
|
33440
|
-
}
|
|
33441
|
-
var actualCoverage = coverage[path];
|
|
33442
|
-
{
|
|
33443
|
-
// @ts-ignore
|
|
33444
|
-
cov_1fw6zj7gkk = function () {
|
|
33445
|
-
return actualCoverage;
|
|
33446
|
-
};
|
|
33447
|
-
}
|
|
33448
|
-
return actualCoverage;
|
|
33449
|
-
}
|
|
33450
|
-
cov_1fw6zj7gkk();
|
|
33451
|
-
cov_1fw6zj7gkk().s[0]++;
|
|
33452
31735
|
var NavIconWrapper = function NavIconWrapper(_ref) {
|
|
33453
31736
|
var description = _ref.description,
|
|
33454
31737
|
label = _ref.label,
|
|
33455
31738
|
children = _ref.children;
|
|
33456
|
-
cov_1fw6zj7gkk().f[0]++;
|
|
33457
|
-
cov_1fw6zj7gkk().s[1]++;
|
|
33458
31739
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
33459
31740
|
className: "sidebar-featured-tooltip__content",
|
|
33460
31741
|
content: /*#__PURE__*/React.createElement(FeaturedTooltip, {
|
|
@@ -33468,105 +31749,10 @@ var NavIconWrapper = function NavIconWrapper(_ref) {
|
|
|
33468
31749
|
}, children);
|
|
33469
31750
|
};
|
|
33470
31751
|
|
|
33471
|
-
function cov_knzy2b2r3() {
|
|
33472
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Footer/AppSwitcherButton.jsx";
|
|
33473
|
-
var hash = "bff3242ad4d93fb8dc91f4ea027c78ff72f9fd60";
|
|
33474
|
-
var global = new Function("return this")();
|
|
33475
|
-
var gcv = "__coverage__";
|
|
33476
|
-
var coverageData = {
|
|
33477
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Footer/AppSwitcherButton.jsx",
|
|
33478
|
-
statementMap: {
|
|
33479
|
-
"0": {
|
|
33480
|
-
start: {
|
|
33481
|
-
line: 9,
|
|
33482
|
-
column: 26
|
|
33483
|
-
},
|
|
33484
|
-
end: {
|
|
33485
|
-
line: 25,
|
|
33486
|
-
column: 1
|
|
33487
|
-
}
|
|
33488
|
-
},
|
|
33489
|
-
"1": {
|
|
33490
|
-
start: {
|
|
33491
|
-
line: 10,
|
|
33492
|
-
column: 16
|
|
33493
|
-
},
|
|
33494
|
-
end: {
|
|
33495
|
-
line: 10,
|
|
33496
|
-
column: 32
|
|
33497
|
-
}
|
|
33498
|
-
},
|
|
33499
|
-
"2": {
|
|
33500
|
-
start: {
|
|
33501
|
-
line: 12,
|
|
33502
|
-
column: 2
|
|
33503
|
-
},
|
|
33504
|
-
end: {
|
|
33505
|
-
line: 24,
|
|
33506
|
-
column: 4
|
|
33507
|
-
}
|
|
33508
|
-
}
|
|
33509
|
-
},
|
|
33510
|
-
fnMap: {
|
|
33511
|
-
"0": {
|
|
33512
|
-
name: "(anonymous_0)",
|
|
33513
|
-
decl: {
|
|
33514
|
-
start: {
|
|
33515
|
-
line: 9,
|
|
33516
|
-
column: 26
|
|
33517
|
-
},
|
|
33518
|
-
end: {
|
|
33519
|
-
line: 9,
|
|
33520
|
-
column: 27
|
|
33521
|
-
}
|
|
33522
|
-
},
|
|
33523
|
-
loc: {
|
|
33524
|
-
start: {
|
|
33525
|
-
line: 9,
|
|
33526
|
-
column: 55
|
|
33527
|
-
},
|
|
33528
|
-
end: {
|
|
33529
|
-
line: 25,
|
|
33530
|
-
column: 1
|
|
33531
|
-
}
|
|
33532
|
-
},
|
|
33533
|
-
line: 9
|
|
33534
|
-
}
|
|
33535
|
-
},
|
|
33536
|
-
branchMap: {},
|
|
33537
|
-
s: {
|
|
33538
|
-
"0": 0,
|
|
33539
|
-
"1": 0,
|
|
33540
|
-
"2": 0
|
|
33541
|
-
},
|
|
33542
|
-
f: {
|
|
33543
|
-
"0": 0
|
|
33544
|
-
},
|
|
33545
|
-
b: {},
|
|
33546
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33547
|
-
hash: "bff3242ad4d93fb8dc91f4ea027c78ff72f9fd60"
|
|
33548
|
-
};
|
|
33549
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
33550
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33551
|
-
coverage[path] = coverageData;
|
|
33552
|
-
}
|
|
33553
|
-
var actualCoverage = coverage[path];
|
|
33554
|
-
{
|
|
33555
|
-
// @ts-ignore
|
|
33556
|
-
cov_knzy2b2r3 = function () {
|
|
33557
|
-
return actualCoverage;
|
|
33558
|
-
};
|
|
33559
|
-
}
|
|
33560
|
-
return actualCoverage;
|
|
33561
|
-
}
|
|
33562
|
-
cov_knzy2b2r3();
|
|
33563
|
-
cov_knzy2b2r3().s[0]++;
|
|
33564
31752
|
var AppSwitcherButton = function AppSwitcherButton(_ref) {
|
|
33565
31753
|
var onAppSwitcherToggle = _ref.onAppSwitcherToggle;
|
|
33566
|
-
|
|
33567
|
-
|
|
33568
|
-
t = _ref2.t;
|
|
33569
|
-
cov_knzy2b2r3().s[2]++;
|
|
31754
|
+
var _useTranslation = useTranslation(),
|
|
31755
|
+
t = _useTranslation.t;
|
|
33570
31756
|
return /*#__PURE__*/React.createElement(NavIconWrapper, {
|
|
33571
31757
|
label: t("neetoMolecules.sidebar.productSwitcher")
|
|
33572
31758
|
}, /*#__PURE__*/React.createElement("button", {
|
|
@@ -33580,202 +31766,15 @@ var AppSwitcherButton = function AppSwitcherButton(_ref) {
|
|
|
33580
31766
|
}))));
|
|
33581
31767
|
};
|
|
33582
31768
|
|
|
33583
|
-
|
|
33584
|
-
|
|
33585
|
-
|
|
33586
|
-
|
|
33587
|
-
var gcv = "__coverage__";
|
|
33588
|
-
var coverageData = {
|
|
33589
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/constants.js",
|
|
33590
|
-
statementMap: {
|
|
33591
|
-
"0": {
|
|
33592
|
-
start: {
|
|
33593
|
-
line: 5,
|
|
33594
|
-
column: 30
|
|
33595
|
-
},
|
|
33596
|
-
end: {
|
|
33597
|
-
line: 5,
|
|
33598
|
-
column: 50
|
|
33599
|
-
}
|
|
33600
|
-
},
|
|
33601
|
-
"1": {
|
|
33602
|
-
start: {
|
|
33603
|
-
line: 6,
|
|
33604
|
-
column: 35
|
|
33605
|
-
},
|
|
33606
|
-
end: {
|
|
33607
|
-
line: 6,
|
|
33608
|
-
column: 60
|
|
33609
|
-
}
|
|
33610
|
-
},
|
|
33611
|
-
"2": {
|
|
33612
|
-
start: {
|
|
33613
|
-
line: 7,
|
|
33614
|
-
column: 43
|
|
33615
|
-
},
|
|
33616
|
-
end: {
|
|
33617
|
-
line: 7,
|
|
33618
|
-
column: 67
|
|
33619
|
-
}
|
|
33620
|
-
},
|
|
33621
|
-
"3": {
|
|
33622
|
-
start: {
|
|
33623
|
-
line: 8,
|
|
33624
|
-
column: 34
|
|
33625
|
-
},
|
|
33626
|
-
end: {
|
|
33627
|
-
line: 8,
|
|
33628
|
-
column: 36
|
|
33629
|
-
}
|
|
33630
|
-
},
|
|
33631
|
-
"4": {
|
|
33632
|
-
start: {
|
|
33633
|
-
line: 9,
|
|
33634
|
-
column: 35
|
|
33635
|
-
},
|
|
33636
|
-
end: {
|
|
33637
|
-
line: 9,
|
|
33638
|
-
column: 37
|
|
33639
|
-
}
|
|
33640
|
-
},
|
|
33641
|
-
"5": {
|
|
33642
|
-
start: {
|
|
33643
|
-
line: 11,
|
|
33644
|
-
column: 39
|
|
33645
|
-
},
|
|
33646
|
-
end: {
|
|
33647
|
-
line: 42,
|
|
33648
|
-
column: 1
|
|
33649
|
-
}
|
|
33650
|
-
},
|
|
33651
|
-
"6": {
|
|
33652
|
-
start: {
|
|
33653
|
-
line: 17,
|
|
33654
|
-
column: 6
|
|
33655
|
-
},
|
|
33656
|
-
end: {
|
|
33657
|
-
line: 20,
|
|
33658
|
-
column: 7
|
|
33659
|
-
}
|
|
33660
|
-
},
|
|
33661
|
-
"7": {
|
|
33662
|
-
start: {
|
|
33663
|
-
line: 32,
|
|
33664
|
-
column: 6
|
|
33665
|
-
},
|
|
33666
|
-
end: {
|
|
33667
|
-
line: 32,
|
|
33668
|
-
column: 57
|
|
33669
|
-
}
|
|
33670
|
-
},
|
|
33671
|
-
"8": {
|
|
33672
|
-
start: {
|
|
33673
|
-
line: 33,
|
|
33674
|
-
column: 6
|
|
33675
|
-
},
|
|
33676
|
-
end: {
|
|
33677
|
-
line: 33,
|
|
33678
|
-
column: 53
|
|
33679
|
-
}
|
|
33680
|
-
}
|
|
33681
|
-
},
|
|
33682
|
-
fnMap: {
|
|
33683
|
-
"0": {
|
|
33684
|
-
name: "(anonymous_0)",
|
|
33685
|
-
decl: {
|
|
33686
|
-
start: {
|
|
33687
|
-
line: 16,
|
|
33688
|
-
column: 13
|
|
33689
|
-
},
|
|
33690
|
-
end: {
|
|
33691
|
-
line: 16,
|
|
33692
|
-
column: 14
|
|
33693
|
-
}
|
|
33694
|
-
},
|
|
33695
|
-
loc: {
|
|
33696
|
-
start: {
|
|
33697
|
-
line: 17,
|
|
33698
|
-
column: 6
|
|
33699
|
-
},
|
|
33700
|
-
end: {
|
|
33701
|
-
line: 20,
|
|
33702
|
-
column: 7
|
|
33703
|
-
}
|
|
33704
|
-
},
|
|
33705
|
-
line: 17
|
|
33706
|
-
},
|
|
33707
|
-
"1": {
|
|
33708
|
-
name: "(anonymous_1)",
|
|
33709
|
-
decl: {
|
|
33710
|
-
start: {
|
|
33711
|
-
line: 31,
|
|
33712
|
-
column: 13
|
|
33713
|
-
},
|
|
33714
|
-
end: {
|
|
33715
|
-
line: 31,
|
|
33716
|
-
column: 14
|
|
33717
|
-
}
|
|
33718
|
-
},
|
|
33719
|
-
loc: {
|
|
33720
|
-
start: {
|
|
33721
|
-
line: 31,
|
|
33722
|
-
column: 19
|
|
33723
|
-
},
|
|
33724
|
-
end: {
|
|
33725
|
-
line: 34,
|
|
33726
|
-
column: 5
|
|
33727
|
-
}
|
|
33728
|
-
},
|
|
33729
|
-
line: 31
|
|
33730
|
-
}
|
|
33731
|
-
},
|
|
33732
|
-
branchMap: {},
|
|
33733
|
-
s: {
|
|
33734
|
-
"0": 0,
|
|
33735
|
-
"1": 0,
|
|
33736
|
-
"2": 0,
|
|
33737
|
-
"3": 0,
|
|
33738
|
-
"4": 0,
|
|
33739
|
-
"5": 0,
|
|
33740
|
-
"6": 0,
|
|
33741
|
-
"7": 0,
|
|
33742
|
-
"8": 0
|
|
33743
|
-
},
|
|
33744
|
-
f: {
|
|
33745
|
-
"0": 0,
|
|
33746
|
-
"1": 0
|
|
33747
|
-
},
|
|
33748
|
-
b: {},
|
|
33749
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33750
|
-
hash: "af7eebc65024d4453cb3c7dbbdfb5d0c2e5b6fb3"
|
|
33751
|
-
};
|
|
33752
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
33753
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33754
|
-
coverage[path] = coverageData;
|
|
33755
|
-
}
|
|
33756
|
-
var actualCoverage = coverage[path];
|
|
33757
|
-
{
|
|
33758
|
-
// @ts-ignore
|
|
33759
|
-
cov_xms5uo6jj = function () {
|
|
33760
|
-
return actualCoverage;
|
|
33761
|
-
};
|
|
33762
|
-
}
|
|
33763
|
-
return actualCoverage;
|
|
33764
|
-
}
|
|
33765
|
-
cov_xms5uo6jj();
|
|
33766
|
-
var MY_PROFILE_URL = (cov_xms5uo6jj().s[0]++, "/auth/profile/edit");
|
|
33767
|
-
var MY_ORGANIZATION_URL = (cov_xms5uo6jj().s[1]++, "/auth/organization/edit");
|
|
33768
|
-
var CHANGELOG_WIDGET_TRIGGER_ID = (cov_xms5uo6jj().s[2]++, "neetochangelog-trigger");
|
|
33769
|
-
(cov_xms5uo6jj().s[3]++, 40);
|
|
33770
|
-
(cov_xms5uo6jj().s[4]++, 40);
|
|
33771
|
-
var DEFAULT_HELP_LINK_PROPS = (cov_xms5uo6jj().s[5]++, {
|
|
31769
|
+
var MY_PROFILE_URL = "/auth/profile/edit";
|
|
31770
|
+
var MY_ORGANIZATION_URL = "/auth/organization/edit";
|
|
31771
|
+
var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
|
|
31772
|
+
var DEFAULT_HELP_LINK_PROPS = {
|
|
33772
31773
|
documentationProps: {
|
|
33773
31774
|
label: t$1("neetoMolecules.sidebar.helpLinks.documentation"),
|
|
33774
31775
|
icon: Book,
|
|
33775
31776
|
"data-cy": "help-link-documentation-button",
|
|
33776
31777
|
onClick: function onClick() {
|
|
33777
|
-
cov_xms5uo6jj().f[0]++;
|
|
33778
|
-
cov_xms5uo6jj().s[6]++;
|
|
33779
31778
|
return window.open("https://help.".concat(toLower(globalProps.appName), ".com/"), "_blank");
|
|
33780
31779
|
}
|
|
33781
31780
|
},
|
|
@@ -33790,10 +31789,7 @@ var DEFAULT_HELP_LINK_PROPS = (cov_xms5uo6jj().s[5]++, {
|
|
|
33790
31789
|
"data-cy": "help-link-live-chat-button",
|
|
33791
31790
|
onClick: function onClick() {
|
|
33792
31791
|
var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
|
|
33793
|
-
cov_xms5uo6jj().f[1]++;
|
|
33794
|
-
cov_xms5uo6jj().s[7]++;
|
|
33795
31792
|
(_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
|
|
33796
|
-
cov_xms5uo6jj().s[8]++;
|
|
33797
31793
|
(_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
|
|
33798
31794
|
}
|
|
33799
31795
|
},
|
|
@@ -33803,314 +31799,34 @@ var DEFAULT_HELP_LINK_PROPS = (cov_xms5uo6jj().s[5]++, {
|
|
|
33803
31799
|
icon: Gift,
|
|
33804
31800
|
"data-cy": "help-link-changelog-button"
|
|
33805
31801
|
}
|
|
33806
|
-
}
|
|
31802
|
+
};
|
|
33807
31803
|
|
|
33808
|
-
function cov_1oxq9rco7h() {
|
|
33809
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Footer/utils.js";
|
|
33810
|
-
var hash = "760cf979759a12614a10d8cc171c712d7a38c9bc";
|
|
33811
|
-
var global = new Function("return this")();
|
|
33812
|
-
var gcv = "__coverage__";
|
|
33813
|
-
var coverageData = {
|
|
33814
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Footer/utils.js",
|
|
33815
|
-
statementMap: {
|
|
33816
|
-
"0": {
|
|
33817
|
-
start: {
|
|
33818
|
-
line: 8,
|
|
33819
|
-
column: 30
|
|
33820
|
-
},
|
|
33821
|
-
end: {
|
|
33822
|
-
line: 38,
|
|
33823
|
-
column: 4
|
|
33824
|
-
}
|
|
33825
|
-
},
|
|
33826
|
-
"1": {
|
|
33827
|
-
start: {
|
|
33828
|
-
line: 9,
|
|
33829
|
-
column: 2
|
|
33830
|
-
},
|
|
33831
|
-
end: {
|
|
33832
|
-
line: 38,
|
|
33833
|
-
column: 4
|
|
33834
|
-
}
|
|
33835
|
-
},
|
|
33836
|
-
"2": {
|
|
33837
|
-
start: {
|
|
33838
|
-
line: 17,
|
|
33839
|
-
column: 23
|
|
33840
|
-
},
|
|
33841
|
-
end: {
|
|
33842
|
-
line: 17,
|
|
33843
|
-
column: 60
|
|
33844
|
-
}
|
|
33845
|
-
},
|
|
33846
|
-
"3": {
|
|
33847
|
-
start: {
|
|
33848
|
-
line: 23,
|
|
33849
|
-
column: 23
|
|
33850
|
-
},
|
|
33851
|
-
end: {
|
|
33852
|
-
line: 23,
|
|
33853
|
-
column: 65
|
|
33854
|
-
}
|
|
33855
|
-
},
|
|
33856
|
-
"4": {
|
|
33857
|
-
start: {
|
|
33858
|
-
line: 32,
|
|
33859
|
-
column: 10
|
|
33860
|
-
},
|
|
33861
|
-
end: {
|
|
33862
|
-
line: 32,
|
|
33863
|
-
column: 28
|
|
33864
|
-
}
|
|
33865
|
-
},
|
|
33866
|
-
"5": {
|
|
33867
|
-
start: {
|
|
33868
|
-
line: 33,
|
|
33869
|
-
column: 10
|
|
33870
|
-
},
|
|
33871
|
-
end: {
|
|
33872
|
-
line: 33,
|
|
33873
|
-
column: 43
|
|
33874
|
-
}
|
|
33875
|
-
}
|
|
33876
|
-
},
|
|
33877
|
-
fnMap: {
|
|
33878
|
-
"0": {
|
|
33879
|
-
name: "(anonymous_0)",
|
|
33880
|
-
decl: {
|
|
33881
|
-
start: {
|
|
33882
|
-
line: 8,
|
|
33883
|
-
column: 30
|
|
33884
|
-
},
|
|
33885
|
-
end: {
|
|
33886
|
-
line: 8,
|
|
33887
|
-
column: 31
|
|
33888
|
-
}
|
|
33889
|
-
},
|
|
33890
|
-
loc: {
|
|
33891
|
-
start: {
|
|
33892
|
-
line: 9,
|
|
33893
|
-
column: 2
|
|
33894
|
-
},
|
|
33895
|
-
end: {
|
|
33896
|
-
line: 38,
|
|
33897
|
-
column: 4
|
|
33898
|
-
}
|
|
33899
|
-
},
|
|
33900
|
-
line: 9
|
|
33901
|
-
},
|
|
33902
|
-
"1": {
|
|
33903
|
-
name: "(anonymous_1)",
|
|
33904
|
-
decl: {
|
|
33905
|
-
start: {
|
|
33906
|
-
line: 17,
|
|
33907
|
-
column: 17
|
|
33908
|
-
},
|
|
33909
|
-
end: {
|
|
33910
|
-
line: 17,
|
|
33911
|
-
column: 18
|
|
33912
|
-
}
|
|
33913
|
-
},
|
|
33914
|
-
loc: {
|
|
33915
|
-
start: {
|
|
33916
|
-
line: 17,
|
|
33917
|
-
column: 23
|
|
33918
|
-
},
|
|
33919
|
-
end: {
|
|
33920
|
-
line: 17,
|
|
33921
|
-
column: 60
|
|
33922
|
-
}
|
|
33923
|
-
},
|
|
33924
|
-
line: 17
|
|
33925
|
-
},
|
|
33926
|
-
"2": {
|
|
33927
|
-
name: "(anonymous_2)",
|
|
33928
|
-
decl: {
|
|
33929
|
-
start: {
|
|
33930
|
-
line: 23,
|
|
33931
|
-
column: 17
|
|
33932
|
-
},
|
|
33933
|
-
end: {
|
|
33934
|
-
line: 23,
|
|
33935
|
-
column: 18
|
|
33936
|
-
}
|
|
33937
|
-
},
|
|
33938
|
-
loc: {
|
|
33939
|
-
start: {
|
|
33940
|
-
line: 23,
|
|
33941
|
-
column: 23
|
|
33942
|
-
},
|
|
33943
|
-
end: {
|
|
33944
|
-
line: 23,
|
|
33945
|
-
column: 65
|
|
33946
|
-
}
|
|
33947
|
-
},
|
|
33948
|
-
line: 23
|
|
33949
|
-
},
|
|
33950
|
-
"3": {
|
|
33951
|
-
name: "(anonymous_3)",
|
|
33952
|
-
decl: {
|
|
33953
|
-
start: {
|
|
33954
|
-
line: 31,
|
|
33955
|
-
column: 17
|
|
33956
|
-
},
|
|
33957
|
-
end: {
|
|
33958
|
-
line: 31,
|
|
33959
|
-
column: 18
|
|
33960
|
-
}
|
|
33961
|
-
},
|
|
33962
|
-
loc: {
|
|
33963
|
-
start: {
|
|
33964
|
-
line: 31,
|
|
33965
|
-
column: 23
|
|
33966
|
-
},
|
|
33967
|
-
end: {
|
|
33968
|
-
line: 34,
|
|
33969
|
-
column: 9
|
|
33970
|
-
}
|
|
33971
|
-
},
|
|
33972
|
-
line: 31
|
|
33973
|
-
}
|
|
33974
|
-
},
|
|
33975
|
-
branchMap: {
|
|
33976
|
-
"0": {
|
|
33977
|
-
loc: {
|
|
33978
|
-
start: {
|
|
33979
|
-
line: 12,
|
|
33980
|
-
column: 11
|
|
33981
|
-
},
|
|
33982
|
-
end: {
|
|
33983
|
-
line: 12,
|
|
33984
|
-
column: 67
|
|
33985
|
-
}
|
|
33986
|
-
},
|
|
33987
|
-
type: "binary-expr",
|
|
33988
|
-
locations: [{
|
|
33989
|
-
start: {
|
|
33990
|
-
line: 12,
|
|
33991
|
-
column: 11
|
|
33992
|
-
},
|
|
33993
|
-
end: {
|
|
33994
|
-
line: 12,
|
|
33995
|
-
column: 34
|
|
33996
|
-
}
|
|
33997
|
-
}, {
|
|
33998
|
-
start: {
|
|
33999
|
-
line: 12,
|
|
34000
|
-
column: 38
|
|
34001
|
-
},
|
|
34002
|
-
end: {
|
|
34003
|
-
line: 12,
|
|
34004
|
-
column: 67
|
|
34005
|
-
}
|
|
34006
|
-
}],
|
|
34007
|
-
line: 12
|
|
34008
|
-
},
|
|
34009
|
-
"1": {
|
|
34010
|
-
loc: {
|
|
34011
|
-
start: {
|
|
34012
|
-
line: 20,
|
|
34013
|
-
column: 6
|
|
34014
|
-
},
|
|
34015
|
-
end: {
|
|
34016
|
-
line: 25,
|
|
34017
|
-
column: 7
|
|
34018
|
-
}
|
|
34019
|
-
},
|
|
34020
|
-
type: "binary-expr",
|
|
34021
|
-
locations: [{
|
|
34022
|
-
start: {
|
|
34023
|
-
line: 20,
|
|
34024
|
-
column: 6
|
|
34025
|
-
},
|
|
34026
|
-
end: {
|
|
34027
|
-
line: 20,
|
|
34028
|
-
column: 25
|
|
34029
|
-
}
|
|
34030
|
-
}, {
|
|
34031
|
-
start: {
|
|
34032
|
-
line: 20,
|
|
34033
|
-
column: 29
|
|
34034
|
-
},
|
|
34035
|
-
end: {
|
|
34036
|
-
line: 25,
|
|
34037
|
-
column: 7
|
|
34038
|
-
}
|
|
34039
|
-
}],
|
|
34040
|
-
line: 20
|
|
34041
|
-
}
|
|
34042
|
-
},
|
|
34043
|
-
s: {
|
|
34044
|
-
"0": 0,
|
|
34045
|
-
"1": 0,
|
|
34046
|
-
"2": 0,
|
|
34047
|
-
"3": 0,
|
|
34048
|
-
"4": 0,
|
|
34049
|
-
"5": 0
|
|
34050
|
-
},
|
|
34051
|
-
f: {
|
|
34052
|
-
"0": 0,
|
|
34053
|
-
"1": 0,
|
|
34054
|
-
"2": 0,
|
|
34055
|
-
"3": 0
|
|
34056
|
-
},
|
|
34057
|
-
b: {
|
|
34058
|
-
"0": [0, 0],
|
|
34059
|
-
"1": [0, 0]
|
|
34060
|
-
},
|
|
34061
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34062
|
-
hash: "760cf979759a12614a10d8cc171c712d7a38c9bc"
|
|
34063
|
-
};
|
|
34064
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
34065
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
34066
|
-
coverage[path] = coverageData;
|
|
34067
|
-
}
|
|
34068
|
-
var actualCoverage = coverage[path];
|
|
34069
|
-
{
|
|
34070
|
-
// @ts-ignore
|
|
34071
|
-
cov_1oxq9rco7h = function () {
|
|
34072
|
-
return actualCoverage;
|
|
34073
|
-
};
|
|
34074
|
-
}
|
|
34075
|
-
return actualCoverage;
|
|
34076
|
-
}
|
|
34077
|
-
cov_1oxq9rco7h();
|
|
34078
|
-
cov_1oxq9rco7h().s[0]++;
|
|
34079
31804
|
var getProfileInfo = function getProfileInfo(profileInfoOverrides) {
|
|
34080
31805
|
var _globalProps$user, _globalProps$user2, _globalProps$user3, _globalProps$user4, _globalProps$user5;
|
|
34081
|
-
cov_1oxq9rco7h().f[0]++;
|
|
34082
|
-
cov_1oxq9rco7h().s[1]++;
|
|
34083
31806
|
return mergeDeepLeft(profileInfoOverrides, {
|
|
34084
31807
|
name: "".concat((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.firstName, " ").concat((_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.lastName),
|
|
34085
31808
|
imageUrl: (_globalProps$user3 = globalProps.user) === null || _globalProps$user3 === void 0 ? void 0 : _globalProps$user3.profileImageUrl,
|
|
34086
|
-
email: (
|
|
31809
|
+
email: ((_globalProps$user4 = globalProps.user) === null || _globalProps$user4 === void 0 ? void 0 : _globalProps$user4.email) || ((_globalProps$user5 = globalProps.user) === null || _globalProps$user5 === void 0 ? void 0 : _globalProps$user5.phoneNumber),
|
|
34087
31810
|
topLinks: [{
|
|
34088
31811
|
label: t$1("neetoMolecules.sidebar.myProfile"),
|
|
34089
31812
|
icon: User,
|
|
34090
31813
|
onClick: function onClick() {
|
|
34091
|
-
cov_1oxq9rco7h().f[1]++;
|
|
34092
|
-
cov_1oxq9rco7h().s[2]++;
|
|
34093
31814
|
return window.open(MY_PROFILE_URL, "_blank");
|
|
34094
31815
|
},
|
|
34095
31816
|
"data-cy": "my-profile-button"
|
|
34096
|
-
},
|
|
31817
|
+
}, globalProps.isOwner && {
|
|
34097
31818
|
label: t$1("neetoMolecules.sidebar.myOrganization"),
|
|
34098
31819
|
icon: Settings,
|
|
34099
31820
|
onClick: function onClick() {
|
|
34100
|
-
cov_1oxq9rco7h().f[2]++;
|
|
34101
|
-
cov_1oxq9rco7h().s[3]++;
|
|
34102
31821
|
return window.open(MY_ORGANIZATION_URL, "_blank");
|
|
34103
31822
|
},
|
|
34104
31823
|
"data-cy": "profile-organization-settings-button"
|
|
34105
|
-
}
|
|
31824
|
+
}].filter(Boolean),
|
|
34106
31825
|
bottomLinks: [{
|
|
34107
31826
|
icon: LeftArrow,
|
|
34108
31827
|
label: t$1("neetoMolecules.sidebar.logout"),
|
|
34109
31828
|
onClick: function onClick() {
|
|
34110
|
-
cov_1oxq9rco7h().f[3]++;
|
|
34111
|
-
cov_1oxq9rco7h().s[4]++;
|
|
34112
31829
|
resetAuthTokens();
|
|
34113
|
-
cov_1oxq9rco7h().s[5]++;
|
|
34114
31830
|
window.location.href = "/logout";
|
|
34115
31831
|
},
|
|
34116
31832
|
"data-cy": "profile-logout-button"
|
|
@@ -34118,101 +31834,7 @@ var getProfileInfo = function getProfileInfo(profileInfoOverrides) {
|
|
|
34118
31834
|
});
|
|
34119
31835
|
};
|
|
34120
31836
|
|
|
34121
|
-
function
|
|
34122
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/HelpSection/index.jsx";
|
|
34123
|
-
var hash = "6c6e74c3eabf2d0125b23db04d6b4613534eec5d";
|
|
34124
|
-
var global = new Function("return this")();
|
|
34125
|
-
var gcv = "__coverage__";
|
|
34126
|
-
var coverageData = {
|
|
34127
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/HelpSection/index.jsx",
|
|
34128
|
-
statementMap: {
|
|
34129
|
-
"0": {
|
|
34130
|
-
start: {
|
|
34131
|
-
line: 7,
|
|
34132
|
-
column: 20
|
|
34133
|
-
},
|
|
34134
|
-
end: {
|
|
34135
|
-
line: 17,
|
|
34136
|
-
column: 2
|
|
34137
|
-
}
|
|
34138
|
-
},
|
|
34139
|
-
"1": {
|
|
34140
|
-
start: {
|
|
34141
|
-
line: 8,
|
|
34142
|
-
column: 2
|
|
34143
|
-
},
|
|
34144
|
-
end: {
|
|
34145
|
-
line: 16,
|
|
34146
|
-
column: 11
|
|
34147
|
-
}
|
|
34148
|
-
},
|
|
34149
|
-
"2": {
|
|
34150
|
-
start: {
|
|
34151
|
-
line: 19,
|
|
34152
|
-
column: 0
|
|
34153
|
-
},
|
|
34154
|
-
end: {
|
|
34155
|
-
line: 19,
|
|
34156
|
-
column: 40
|
|
34157
|
-
}
|
|
34158
|
-
}
|
|
34159
|
-
},
|
|
34160
|
-
fnMap: {
|
|
34161
|
-
"0": {
|
|
34162
|
-
name: "(anonymous_0)",
|
|
34163
|
-
decl: {
|
|
34164
|
-
start: {
|
|
34165
|
-
line: 7,
|
|
34166
|
-
column: 31
|
|
34167
|
-
},
|
|
34168
|
-
end: {
|
|
34169
|
-
line: 7,
|
|
34170
|
-
column: 32
|
|
34171
|
-
}
|
|
34172
|
-
},
|
|
34173
|
-
loc: {
|
|
34174
|
-
start: {
|
|
34175
|
-
line: 8,
|
|
34176
|
-
column: 2
|
|
34177
|
-
},
|
|
34178
|
-
end: {
|
|
34179
|
-
line: 16,
|
|
34180
|
-
column: 11
|
|
34181
|
-
}
|
|
34182
|
-
},
|
|
34183
|
-
line: 8
|
|
34184
|
-
}
|
|
34185
|
-
},
|
|
34186
|
-
branchMap: {},
|
|
34187
|
-
s: {
|
|
34188
|
-
"0": 0,
|
|
34189
|
-
"1": 0,
|
|
34190
|
-
"2": 0
|
|
34191
|
-
},
|
|
34192
|
-
f: {
|
|
34193
|
-
"0": 0
|
|
34194
|
-
},
|
|
34195
|
-
b: {},
|
|
34196
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34197
|
-
hash: "6c6e74c3eabf2d0125b23db04d6b4613534eec5d"
|
|
34198
|
-
};
|
|
34199
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
34200
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
34201
|
-
coverage[path] = coverageData;
|
|
34202
|
-
}
|
|
34203
|
-
var actualCoverage = coverage[path];
|
|
34204
|
-
{
|
|
34205
|
-
// @ts-ignore
|
|
34206
|
-
cov_w1mh1oj8a = function () {
|
|
34207
|
-
return actualCoverage;
|
|
34208
|
-
};
|
|
34209
|
-
}
|
|
34210
|
-
return actualCoverage;
|
|
34211
|
-
}
|
|
34212
|
-
cov_w1mh1oj8a();
|
|
34213
|
-
var HelpSection = (cov_w1mh1oj8a().s[0]++, /*#__PURE__*/forwardRef(function (_, ref) {
|
|
34214
|
-
cov_w1mh1oj8a().f[0]++;
|
|
34215
|
-
cov_w1mh1oj8a().s[1]++;
|
|
31837
|
+
var HelpSection = /*#__PURE__*/forwardRef(function (_, ref) {
|
|
34216
31838
|
return /*#__PURE__*/React.createElement("button", {
|
|
34217
31839
|
className: "neeto-molecules-sidebar__link neeto-molecules-sidebar__link--button neeto-ui-shadow-none",
|
|
34218
31840
|
"data-cy": "help-button",
|
|
@@ -34222,8 +31844,7 @@ var HelpSection = (cov_w1mh1oj8a().s[0]++, /*#__PURE__*/forwardRef(function (_,
|
|
|
34222
31844
|
}, /*#__PURE__*/React.createElement(Help, {
|
|
34223
31845
|
size: 24
|
|
34224
31846
|
})));
|
|
34225
|
-
})
|
|
34226
|
-
cov_w1mh1oj8a().s[2]++;
|
|
31847
|
+
});
|
|
34227
31848
|
HelpSection.displayName = "HelpSection";
|
|
34228
31849
|
|
|
34229
31850
|
function _typeof(obj) {
|
|
@@ -34268,455 +31889,41 @@ function _defineProperty(obj, key, value) {
|
|
|
34268
31889
|
}
|
|
34269
31890
|
|
|
34270
31891
|
var _excluded$2 = ["onClick", "label", "icon"];
|
|
34271
|
-
function cov_1ninsyc6yz() {
|
|
34272
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/HelpSection/HelpSectionMenu.jsx";
|
|
34273
|
-
var hash = "5f0c31bfb5495310ac01bbe41e15f2a52e067b3b";
|
|
34274
|
-
var global = new Function("return this")();
|
|
34275
|
-
var gcv = "__coverage__";
|
|
34276
|
-
var coverageData = {
|
|
34277
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/HelpSection/HelpSectionMenu.jsx",
|
|
34278
|
-
statementMap: {
|
|
34279
|
-
"0": {
|
|
34280
|
-
start: {
|
|
34281
|
-
line: 10,
|
|
34282
|
-
column: 24
|
|
34283
|
-
},
|
|
34284
|
-
end: {
|
|
34285
|
-
line: 56,
|
|
34286
|
-
column: 1
|
|
34287
|
-
}
|
|
34288
|
-
},
|
|
34289
|
-
"1": {
|
|
34290
|
-
start: {
|
|
34291
|
-
line: 11,
|
|
34292
|
-
column: 24
|
|
34293
|
-
},
|
|
34294
|
-
end: {
|
|
34295
|
-
line: 11,
|
|
34296
|
-
column: 56
|
|
34297
|
-
}
|
|
34298
|
-
},
|
|
34299
|
-
"2": {
|
|
34300
|
-
start: {
|
|
34301
|
-
line: 13,
|
|
34302
|
-
column: 20
|
|
34303
|
-
},
|
|
34304
|
-
end: {
|
|
34305
|
-
line: 21,
|
|
34306
|
-
column: 32
|
|
34307
|
-
}
|
|
34308
|
-
},
|
|
34309
|
-
"3": {
|
|
34310
|
-
start: {
|
|
34311
|
-
line: 14,
|
|
34312
|
-
column: 17
|
|
34313
|
-
},
|
|
34314
|
-
end: {
|
|
34315
|
-
line: 20,
|
|
34316
|
-
column: 5
|
|
34317
|
-
}
|
|
34318
|
-
},
|
|
34319
|
-
"4": {
|
|
34320
|
-
start: {
|
|
34321
|
-
line: 18,
|
|
34322
|
-
column: 23
|
|
34323
|
-
},
|
|
34324
|
-
end: {
|
|
34325
|
-
line: 18,
|
|
34326
|
-
column: 38
|
|
34327
|
-
}
|
|
34328
|
-
},
|
|
34329
|
-
"5": {
|
|
34330
|
-
start: {
|
|
34331
|
-
line: 21,
|
|
34332
|
-
column: 26
|
|
34333
|
-
},
|
|
34334
|
-
end: {
|
|
34335
|
-
line: 21,
|
|
34336
|
-
column: 31
|
|
34337
|
-
}
|
|
34338
|
-
},
|
|
34339
|
-
"6": {
|
|
34340
|
-
start: {
|
|
34341
|
-
line: 23,
|
|
34342
|
-
column: 2
|
|
34343
|
-
},
|
|
34344
|
-
end: {
|
|
34345
|
-
line: 55,
|
|
34346
|
-
column: 4
|
|
34347
|
-
}
|
|
34348
|
-
},
|
|
34349
|
-
"7": {
|
|
34350
|
-
start: {
|
|
34351
|
-
line: 27,
|
|
34352
|
-
column: 26
|
|
34353
|
-
},
|
|
34354
|
-
end: {
|
|
34355
|
-
line: 27,
|
|
34356
|
-
column: 30
|
|
34357
|
-
}
|
|
34358
|
-
},
|
|
34359
|
-
"8": {
|
|
34360
|
-
start: {
|
|
34361
|
-
line: 29,
|
|
34362
|
-
column: 10
|
|
34363
|
-
},
|
|
34364
|
-
end: {
|
|
34365
|
-
line: 51,
|
|
34366
|
-
column: 12
|
|
34367
|
-
}
|
|
34368
|
-
}
|
|
34369
|
-
},
|
|
34370
|
-
fnMap: {
|
|
34371
|
-
"0": {
|
|
34372
|
-
name: "(anonymous_0)",
|
|
34373
|
-
decl: {
|
|
34374
|
-
start: {
|
|
34375
|
-
line: 10,
|
|
34376
|
-
column: 24
|
|
34377
|
-
},
|
|
34378
|
-
end: {
|
|
34379
|
-
line: 10,
|
|
34380
|
-
column: 25
|
|
34381
|
-
}
|
|
34382
|
-
},
|
|
34383
|
-
loc: {
|
|
34384
|
-
start: {
|
|
34385
|
-
line: 10,
|
|
34386
|
-
column: 51
|
|
34387
|
-
},
|
|
34388
|
-
end: {
|
|
34389
|
-
line: 56,
|
|
34390
|
-
column: 1
|
|
34391
|
-
}
|
|
34392
|
-
},
|
|
34393
|
-
line: 10
|
|
34394
|
-
},
|
|
34395
|
-
"1": {
|
|
34396
|
-
name: "(anonymous_1)",
|
|
34397
|
-
decl: {
|
|
34398
|
-
start: {
|
|
34399
|
-
line: 14,
|
|
34400
|
-
column: 9
|
|
34401
|
-
},
|
|
34402
|
-
end: {
|
|
34403
|
-
line: 14,
|
|
34404
|
-
column: 10
|
|
34405
|
-
}
|
|
34406
|
-
},
|
|
34407
|
-
loc: {
|
|
34408
|
-
start: {
|
|
34409
|
-
line: 14,
|
|
34410
|
-
column: 17
|
|
34411
|
-
},
|
|
34412
|
-
end: {
|
|
34413
|
-
line: 20,
|
|
34414
|
-
column: 5
|
|
34415
|
-
}
|
|
34416
|
-
},
|
|
34417
|
-
line: 14
|
|
34418
|
-
},
|
|
34419
|
-
"2": {
|
|
34420
|
-
name: "(anonymous_2)",
|
|
34421
|
-
decl: {
|
|
34422
|
-
start: {
|
|
34423
|
-
line: 18,
|
|
34424
|
-
column: 17
|
|
34425
|
-
},
|
|
34426
|
-
end: {
|
|
34427
|
-
line: 18,
|
|
34428
|
-
column: 18
|
|
34429
|
-
}
|
|
34430
|
-
},
|
|
34431
|
-
loc: {
|
|
34432
|
-
start: {
|
|
34433
|
-
line: 18,
|
|
34434
|
-
column: 23
|
|
34435
|
-
},
|
|
34436
|
-
end: {
|
|
34437
|
-
line: 18,
|
|
34438
|
-
column: 38
|
|
34439
|
-
}
|
|
34440
|
-
},
|
|
34441
|
-
line: 18
|
|
34442
|
-
},
|
|
34443
|
-
"3": {
|
|
34444
|
-
name: "(anonymous_3)",
|
|
34445
|
-
decl: {
|
|
34446
|
-
start: {
|
|
34447
|
-
line: 21,
|
|
34448
|
-
column: 12
|
|
34449
|
-
},
|
|
34450
|
-
end: {
|
|
34451
|
-
line: 21,
|
|
34452
|
-
column: 13
|
|
34453
|
-
}
|
|
34454
|
-
},
|
|
34455
|
-
loc: {
|
|
34456
|
-
start: {
|
|
34457
|
-
line: 21,
|
|
34458
|
-
column: 26
|
|
34459
|
-
},
|
|
34460
|
-
end: {
|
|
34461
|
-
line: 21,
|
|
34462
|
-
column: 31
|
|
34463
|
-
}
|
|
34464
|
-
},
|
|
34465
|
-
line: 21
|
|
34466
|
-
},
|
|
34467
|
-
"4": {
|
|
34468
|
-
name: "(anonymous_4)",
|
|
34469
|
-
decl: {
|
|
34470
|
-
start: {
|
|
34471
|
-
line: 26,
|
|
34472
|
-
column: 8
|
|
34473
|
-
},
|
|
34474
|
-
end: {
|
|
34475
|
-
line: 26,
|
|
34476
|
-
column: 9
|
|
34477
|
-
}
|
|
34478
|
-
},
|
|
34479
|
-
loc: {
|
|
34480
|
-
start: {
|
|
34481
|
-
line: 26,
|
|
34482
|
-
column: 77
|
|
34483
|
-
},
|
|
34484
|
-
end: {
|
|
34485
|
-
line: 52,
|
|
34486
|
-
column: 9
|
|
34487
|
-
}
|
|
34488
|
-
},
|
|
34489
|
-
line: 26
|
|
34490
|
-
}
|
|
34491
|
-
},
|
|
34492
|
-
branchMap: {
|
|
34493
|
-
"0": {
|
|
34494
|
-
loc: {
|
|
34495
|
-
start: {
|
|
34496
|
-
line: 17,
|
|
34497
|
-
column: 10
|
|
34498
|
-
},
|
|
34499
|
-
end: {
|
|
34500
|
-
line: 19,
|
|
34501
|
-
column: 7
|
|
34502
|
-
}
|
|
34503
|
-
},
|
|
34504
|
-
type: "binary-expr",
|
|
34505
|
-
locations: [{
|
|
34506
|
-
start: {
|
|
34507
|
-
line: 17,
|
|
34508
|
-
column: 10
|
|
34509
|
-
},
|
|
34510
|
-
end: {
|
|
34511
|
-
line: 17,
|
|
34512
|
-
column: 41
|
|
34513
|
-
}
|
|
34514
|
-
}, {
|
|
34515
|
-
start: {
|
|
34516
|
-
line: 17,
|
|
34517
|
-
column: 45
|
|
34518
|
-
},
|
|
34519
|
-
end: {
|
|
34520
|
-
line: 19,
|
|
34521
|
-
column: 7
|
|
34522
|
-
}
|
|
34523
|
-
}],
|
|
34524
|
-
line: 17
|
|
34525
|
-
},
|
|
34526
|
-
"1": {
|
|
34527
|
-
loc: {
|
|
34528
|
-
start: {
|
|
34529
|
-
line: 26,
|
|
34530
|
-
column: 11
|
|
34531
|
-
},
|
|
34532
|
-
end: {
|
|
34533
|
-
line: 26,
|
|
34534
|
-
column: 25
|
|
34535
|
-
}
|
|
34536
|
-
},
|
|
34537
|
-
type: "default-arg",
|
|
34538
|
-
locations: [{
|
|
34539
|
-
start: {
|
|
34540
|
-
line: 26,
|
|
34541
|
-
column: 21
|
|
34542
|
-
},
|
|
34543
|
-
end: {
|
|
34544
|
-
line: 26,
|
|
34545
|
-
column: 25
|
|
34546
|
-
}
|
|
34547
|
-
}],
|
|
34548
|
-
line: 26
|
|
34549
|
-
},
|
|
34550
|
-
"2": {
|
|
34551
|
-
loc: {
|
|
34552
|
-
start: {
|
|
34553
|
-
line: 26,
|
|
34554
|
-
column: 27
|
|
34555
|
-
},
|
|
34556
|
-
end: {
|
|
34557
|
-
line: 26,
|
|
34558
|
-
column: 37
|
|
34559
|
-
}
|
|
34560
|
-
},
|
|
34561
|
-
type: "default-arg",
|
|
34562
|
-
locations: [{
|
|
34563
|
-
start: {
|
|
34564
|
-
line: 26,
|
|
34565
|
-
column: 35
|
|
34566
|
-
},
|
|
34567
|
-
end: {
|
|
34568
|
-
line: 26,
|
|
34569
|
-
column: 37
|
|
34570
|
-
}
|
|
34571
|
-
}],
|
|
34572
|
-
line: 26
|
|
34573
|
-
},
|
|
34574
|
-
"3": {
|
|
34575
|
-
loc: {
|
|
34576
|
-
start: {
|
|
34577
|
-
line: 26,
|
|
34578
|
-
column: 39
|
|
34579
|
-
},
|
|
34580
|
-
end: {
|
|
34581
|
-
line: 26,
|
|
34582
|
-
column: 50
|
|
34583
|
-
}
|
|
34584
|
-
},
|
|
34585
|
-
type: "default-arg",
|
|
34586
|
-
locations: [{
|
|
34587
|
-
start: {
|
|
34588
|
-
line: 26,
|
|
34589
|
-
column: 46
|
|
34590
|
-
},
|
|
34591
|
-
end: {
|
|
34592
|
-
line: 26,
|
|
34593
|
-
column: 50
|
|
34594
|
-
}
|
|
34595
|
-
}],
|
|
34596
|
-
line: 26
|
|
34597
|
-
},
|
|
34598
|
-
"4": {
|
|
34599
|
-
loc: {
|
|
34600
|
-
start: {
|
|
34601
|
-
line: 36,
|
|
34602
|
-
column: 17
|
|
34603
|
-
},
|
|
34604
|
-
end: {
|
|
34605
|
-
line: 40,
|
|
34606
|
-
column: 17
|
|
34607
|
-
}
|
|
34608
|
-
},
|
|
34609
|
-
type: "binary-expr",
|
|
34610
|
-
locations: [{
|
|
34611
|
-
start: {
|
|
34612
|
-
line: 36,
|
|
34613
|
-
column: 17
|
|
34614
|
-
},
|
|
34615
|
-
end: {
|
|
34616
|
-
line: 36,
|
|
34617
|
-
column: 21
|
|
34618
|
-
}
|
|
34619
|
-
}, {
|
|
34620
|
-
start: {
|
|
34621
|
-
line: 37,
|
|
34622
|
-
column: 18
|
|
34623
|
-
},
|
|
34624
|
-
end: {
|
|
34625
|
-
line: 39,
|
|
34626
|
-
column: 25
|
|
34627
|
-
}
|
|
34628
|
-
}],
|
|
34629
|
-
line: 36
|
|
34630
|
-
}
|
|
34631
|
-
},
|
|
34632
|
-
s: {
|
|
34633
|
-
"0": 0,
|
|
34634
|
-
"1": 0,
|
|
34635
|
-
"2": 0,
|
|
34636
|
-
"3": 0,
|
|
34637
|
-
"4": 0,
|
|
34638
|
-
"5": 0,
|
|
34639
|
-
"6": 0,
|
|
34640
|
-
"7": 0,
|
|
34641
|
-
"8": 0
|
|
34642
|
-
},
|
|
34643
|
-
f: {
|
|
34644
|
-
"0": 0,
|
|
34645
|
-
"1": 0,
|
|
34646
|
-
"2": 0,
|
|
34647
|
-
"3": 0,
|
|
34648
|
-
"4": 0
|
|
34649
|
-
},
|
|
34650
|
-
b: {
|
|
34651
|
-
"0": [0, 0],
|
|
34652
|
-
"1": [0],
|
|
34653
|
-
"2": [0],
|
|
34654
|
-
"3": [0],
|
|
34655
|
-
"4": [0, 0]
|
|
34656
|
-
},
|
|
34657
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34658
|
-
hash: "5f0c31bfb5495310ac01bbe41e15f2a52e067b3b"
|
|
34659
|
-
};
|
|
34660
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
34661
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
34662
|
-
coverage[path] = coverageData;
|
|
34663
|
-
}
|
|
34664
|
-
var actualCoverage = coverage[path];
|
|
34665
|
-
{
|
|
34666
|
-
// @ts-ignore
|
|
34667
|
-
cov_1ninsyc6yz = function () {
|
|
34668
|
-
return actualCoverage;
|
|
34669
|
-
};
|
|
34670
|
-
}
|
|
34671
|
-
return actualCoverage;
|
|
34672
|
-
}
|
|
34673
|
-
cov_1ninsyc6yz();
|
|
34674
31892
|
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; }
|
|
34675
31893
|
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; }
|
|
34676
|
-
cov_1ninsyc6yz().s[0]++;
|
|
34677
31894
|
var HelpSectionMenu = function HelpSectionMenu(_ref) {
|
|
34678
31895
|
var helpLinkOverrides = _ref.helpLinkOverrides;
|
|
34679
|
-
|
|
34680
|
-
|
|
34681
|
-
|
|
34682
|
-
|
|
34683
|
-
|
|
34684
|
-
cov_1ninsyc6yz().f[1]++;
|
|
34685
|
-
cov_1ninsyc6yz().s[3]++;
|
|
34686
|
-
return _objectSpread(_objectSpread(_objectSpread({}, DEFAULT_HELP_LINK_PROPS[key]), helpLinkOverrides[key]), (cov_1ninsyc6yz().b[0][0]++, key === "keyboardShortcutProps") && (cov_1ninsyc6yz().b[0][1]++, {
|
|
31896
|
+
var _KeyboardShortcuts$us = KeyboardShortcuts.usePaneState(),
|
|
31897
|
+
_KeyboardShortcuts$us2 = _slicedToArray(_KeyboardShortcuts$us, 2),
|
|
31898
|
+
setIsOpen = _KeyboardShortcuts$us2[1];
|
|
31899
|
+
var helpLinks = Object.keys(DEFAULT_HELP_LINK_PROPS).map(function (key) {
|
|
31900
|
+
return _objectSpread(_objectSpread(_objectSpread({}, DEFAULT_HELP_LINK_PROPS[key]), helpLinkOverrides[key]), key === "keyboardShortcutProps" && {
|
|
34687
31901
|
onClick: function onClick() {
|
|
34688
|
-
cov_1ninsyc6yz().f[2]++;
|
|
34689
|
-
cov_1ninsyc6yz().s[4]++;
|
|
34690
31902
|
return setIsOpen(true);
|
|
34691
31903
|
}
|
|
34692
|
-
})
|
|
34693
|
-
}).filter(function (
|
|
34694
|
-
var hide =
|
|
34695
|
-
cov_1ninsyc6yz().f[3]++;
|
|
34696
|
-
cov_1ninsyc6yz().s[5]++;
|
|
31904
|
+
});
|
|
31905
|
+
}).filter(function (_ref2) {
|
|
31906
|
+
var hide = _ref2.hide;
|
|
34697
31907
|
return !hide;
|
|
34698
|
-
})
|
|
34699
|
-
|
|
34700
|
-
|
|
34701
|
-
|
|
34702
|
-
|
|
34703
|
-
|
|
34704
|
-
|
|
34705
|
-
|
|
34706
|
-
|
|
34707
|
-
|
|
34708
|
-
cov_1ninsyc6yz().f[4]++;
|
|
34709
|
-
var IconSVG = (cov_1ninsyc6yz().s[7]++, icon);
|
|
34710
|
-
cov_1ninsyc6yz().s[8]++;
|
|
31908
|
+
});
|
|
31909
|
+
return /*#__PURE__*/React.createElement("ul", null, helpLinks.map(function (_ref3, idx) {
|
|
31910
|
+
var _ref3$onClick = _ref3.onClick,
|
|
31911
|
+
onClick = _ref3$onClick === void 0 ? noop$1 : _ref3$onClick,
|
|
31912
|
+
_ref3$label = _ref3.label,
|
|
31913
|
+
label = _ref3$label === void 0 ? "" : _ref3$label,
|
|
31914
|
+
_ref3$icon = _ref3.icon,
|
|
31915
|
+
icon = _ref3$icon === void 0 ? null : _ref3$icon,
|
|
31916
|
+
otherProps = _objectWithoutProperties(_ref3, _excluded$2);
|
|
31917
|
+
var IconSVG = icon;
|
|
34711
31918
|
return /*#__PURE__*/React.createElement("li", {
|
|
34712
31919
|
className: "neeto-molecules-help-sublist__item",
|
|
34713
31920
|
key: idx
|
|
34714
31921
|
}, /*#__PURE__*/React.createElement("button", _extends({
|
|
34715
31922
|
className: "neeto-molecules-help-sublist__item-btn",
|
|
34716
31923
|
onClick: onClick
|
|
34717
|
-
}, otherProps),
|
|
31924
|
+
}, otherProps), icon && /*#__PURE__*/React.createElement("span", {
|
|
34718
31925
|
className: "neeto-molecules-help-sublist__item-btn-icon"
|
|
34719
|
-
}, /*#__PURE__*/React.createElement(IconSVG, null))
|
|
31926
|
+
}, /*#__PURE__*/React.createElement(IconSVG, null)), /*#__PURE__*/React.createElement(Typography, {
|
|
34720
31927
|
className: "neeto-molecules-help-sublist__item-btn-label",
|
|
34721
31928
|
component: "span",
|
|
34722
31929
|
style: "body2",
|
|
@@ -34725,102 +31932,8 @@ var HelpSectionMenu = function HelpSectionMenu(_ref) {
|
|
|
34725
31932
|
}));
|
|
34726
31933
|
};
|
|
34727
31934
|
|
|
34728
|
-
function
|
|
34729
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/ProfileSection/index.jsx";
|
|
34730
|
-
var hash = "98e69ceeab00cfa0475784ca3d9842317940ebe1";
|
|
34731
|
-
var global = new Function("return this")();
|
|
34732
|
-
var gcv = "__coverage__";
|
|
34733
|
-
var coverageData = {
|
|
34734
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/ProfileSection/index.jsx",
|
|
34735
|
-
statementMap: {
|
|
34736
|
-
"0": {
|
|
34737
|
-
start: {
|
|
34738
|
-
line: 7,
|
|
34739
|
-
column: 23
|
|
34740
|
-
},
|
|
34741
|
-
end: {
|
|
34742
|
-
line: 21,
|
|
34743
|
-
column: 2
|
|
34744
|
-
}
|
|
34745
|
-
},
|
|
34746
|
-
"1": {
|
|
34747
|
-
start: {
|
|
34748
|
-
line: 8,
|
|
34749
|
-
column: 2
|
|
34750
|
-
},
|
|
34751
|
-
end: {
|
|
34752
|
-
line: 20,
|
|
34753
|
-
column: 11
|
|
34754
|
-
}
|
|
34755
|
-
},
|
|
34756
|
-
"2": {
|
|
34757
|
-
start: {
|
|
34758
|
-
line: 23,
|
|
34759
|
-
column: 0
|
|
34760
|
-
},
|
|
34761
|
-
end: {
|
|
34762
|
-
line: 23,
|
|
34763
|
-
column: 46
|
|
34764
|
-
}
|
|
34765
|
-
}
|
|
34766
|
-
},
|
|
34767
|
-
fnMap: {
|
|
34768
|
-
"0": {
|
|
34769
|
-
name: "(anonymous_0)",
|
|
34770
|
-
decl: {
|
|
34771
|
-
start: {
|
|
34772
|
-
line: 7,
|
|
34773
|
-
column: 34
|
|
34774
|
-
},
|
|
34775
|
-
end: {
|
|
34776
|
-
line: 7,
|
|
34777
|
-
column: 35
|
|
34778
|
-
}
|
|
34779
|
-
},
|
|
34780
|
-
loc: {
|
|
34781
|
-
start: {
|
|
34782
|
-
line: 8,
|
|
34783
|
-
column: 2
|
|
34784
|
-
},
|
|
34785
|
-
end: {
|
|
34786
|
-
line: 20,
|
|
34787
|
-
column: 11
|
|
34788
|
-
}
|
|
34789
|
-
},
|
|
34790
|
-
line: 8
|
|
34791
|
-
}
|
|
34792
|
-
},
|
|
34793
|
-
branchMap: {},
|
|
34794
|
-
s: {
|
|
34795
|
-
"0": 0,
|
|
34796
|
-
"1": 0,
|
|
34797
|
-
"2": 0
|
|
34798
|
-
},
|
|
34799
|
-
f: {
|
|
34800
|
-
"0": 0
|
|
34801
|
-
},
|
|
34802
|
-
b: {},
|
|
34803
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
34804
|
-
hash: "98e69ceeab00cfa0475784ca3d9842317940ebe1"
|
|
34805
|
-
};
|
|
34806
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
34807
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
34808
|
-
coverage[path] = coverageData;
|
|
34809
|
-
}
|
|
34810
|
-
var actualCoverage = coverage[path];
|
|
34811
|
-
{
|
|
34812
|
-
// @ts-ignore
|
|
34813
|
-
cov_dz0c5lxbl = function () {
|
|
34814
|
-
return actualCoverage;
|
|
34815
|
-
};
|
|
34816
|
-
}
|
|
34817
|
-
return actualCoverage;
|
|
34818
|
-
}
|
|
34819
|
-
cov_dz0c5lxbl();
|
|
34820
|
-
var ProfileSection = (cov_dz0c5lxbl().s[0]++, /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
31935
|
+
var ProfileSection = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
34821
31936
|
var profileInfo = _ref.profileInfo;
|
|
34822
|
-
cov_dz0c5lxbl().f[0]++;
|
|
34823
|
-
cov_dz0c5lxbl().s[1]++;
|
|
34824
31937
|
return /*#__PURE__*/React.createElement("button", {
|
|
34825
31938
|
className: "neeto-molecules-sidebar__profile-wrapper neeto-ui-w-full neeto-ui-text-left",
|
|
34826
31939
|
"data-cy": "profile-section",
|
|
@@ -34832,8 +31945,7 @@ var ProfileSection = (cov_dz0c5lxbl().s[0]++, /*#__PURE__*/forwardRef(function (
|
|
|
34832
31945
|
size: "large",
|
|
34833
31946
|
user: profileInfo
|
|
34834
31947
|
})));
|
|
34835
|
-
})
|
|
34836
|
-
cov_dz0c5lxbl().s[2]++;
|
|
31948
|
+
});
|
|
34837
31949
|
ProfileSection.displayName = "ProfileSection";
|
|
34838
31950
|
|
|
34839
31951
|
function _arrayWithoutHoles(arr) {
|
|
@@ -34853,211 +31965,17 @@ function _toConsumableArray(arr) {
|
|
|
34853
31965
|
}
|
|
34854
31966
|
|
|
34855
31967
|
var _excluded$1 = ["onClick", "label", "icon"];
|
|
34856
|
-
function cov_2g1mnq5m0z() {
|
|
34857
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/ProfileSection/LinkSection.jsx";
|
|
34858
|
-
var hash = "4d2042675a4185a0afe191f4f3e976ce4dde51b3";
|
|
34859
|
-
var global = new Function("return this")();
|
|
34860
|
-
var gcv = "__coverage__";
|
|
34861
|
-
var coverageData = {
|
|
34862
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/ProfileSection/LinkSection.jsx",
|
|
34863
|
-
statementMap: {
|
|
34864
|
-
"0": {
|
|
34865
|
-
start: {
|
|
34866
|
-
line: 7,
|
|
34867
|
-
column: 20
|
|
34868
|
-
},
|
|
34869
|
-
end: {
|
|
34870
|
-
line: 37,
|
|
34871
|
-
column: 1
|
|
34872
|
-
}
|
|
34873
|
-
},
|
|
34874
|
-
"1": {
|
|
34875
|
-
start: {
|
|
34876
|
-
line: 8,
|
|
34877
|
-
column: 2
|
|
34878
|
-
},
|
|
34879
|
-
end: {
|
|
34880
|
-
line: 36,
|
|
34881
|
-
column: 7
|
|
34882
|
-
}
|
|
34883
|
-
},
|
|
34884
|
-
"2": {
|
|
34885
|
-
start: {
|
|
34886
|
-
line: 10,
|
|
34887
|
-
column: 22
|
|
34888
|
-
},
|
|
34889
|
-
end: {
|
|
34890
|
-
line: 10,
|
|
34891
|
-
column: 26
|
|
34892
|
-
}
|
|
34893
|
-
},
|
|
34894
|
-
"3": {
|
|
34895
|
-
start: {
|
|
34896
|
-
line: 12,
|
|
34897
|
-
column: 6
|
|
34898
|
-
},
|
|
34899
|
-
end: {
|
|
34900
|
-
line: 34,
|
|
34901
|
-
column: 8
|
|
34902
|
-
}
|
|
34903
|
-
}
|
|
34904
|
-
},
|
|
34905
|
-
fnMap: {
|
|
34906
|
-
"0": {
|
|
34907
|
-
name: "(anonymous_0)",
|
|
34908
|
-
decl: {
|
|
34909
|
-
start: {
|
|
34910
|
-
line: 7,
|
|
34911
|
-
column: 20
|
|
34912
|
-
},
|
|
34913
|
-
end: {
|
|
34914
|
-
line: 7,
|
|
34915
|
-
column: 21
|
|
34916
|
-
}
|
|
34917
|
-
},
|
|
34918
|
-
loc: {
|
|
34919
|
-
start: {
|
|
34920
|
-
line: 8,
|
|
34921
|
-
column: 2
|
|
34922
|
-
},
|
|
34923
|
-
end: {
|
|
34924
|
-
line: 36,
|
|
34925
|
-
column: 7
|
|
34926
|
-
}
|
|
34927
|
-
},
|
|
34928
|
-
line: 8
|
|
34929
|
-
},
|
|
34930
|
-
"1": {
|
|
34931
|
-
name: "(anonymous_1)",
|
|
34932
|
-
decl: {
|
|
34933
|
-
start: {
|
|
34934
|
-
line: 9,
|
|
34935
|
-
column: 15
|
|
34936
|
-
},
|
|
34937
|
-
end: {
|
|
34938
|
-
line: 9,
|
|
34939
|
-
column: 16
|
|
34940
|
-
}
|
|
34941
|
-
},
|
|
34942
|
-
loc: {
|
|
34943
|
-
start: {
|
|
34944
|
-
line: 9,
|
|
34945
|
-
column: 72
|
|
34946
|
-
},
|
|
34947
|
-
end: {
|
|
34948
|
-
line: 35,
|
|
34949
|
-
column: 5
|
|
34950
|
-
}
|
|
34951
|
-
},
|
|
34952
|
-
line: 9
|
|
34953
|
-
}
|
|
34954
|
-
},
|
|
34955
|
-
branchMap: {
|
|
34956
|
-
"0": {
|
|
34957
|
-
loc: {
|
|
34958
|
-
start: {
|
|
34959
|
-
line: 9,
|
|
34960
|
-
column: 34
|
|
34961
|
-
},
|
|
34962
|
-
end: {
|
|
34963
|
-
line: 9,
|
|
34964
|
-
column: 45
|
|
34965
|
-
}
|
|
34966
|
-
},
|
|
34967
|
-
type: "default-arg",
|
|
34968
|
-
locations: [{
|
|
34969
|
-
start: {
|
|
34970
|
-
line: 9,
|
|
34971
|
-
column: 41
|
|
34972
|
-
},
|
|
34973
|
-
end: {
|
|
34974
|
-
line: 9,
|
|
34975
|
-
column: 45
|
|
34976
|
-
}
|
|
34977
|
-
}],
|
|
34978
|
-
line: 9
|
|
34979
|
-
},
|
|
34980
|
-
"1": {
|
|
34981
|
-
loc: {
|
|
34982
|
-
start: {
|
|
34983
|
-
line: 19,
|
|
34984
|
-
column: 13
|
|
34985
|
-
},
|
|
34986
|
-
end: {
|
|
34987
|
-
line: 23,
|
|
34988
|
-
column: 13
|
|
34989
|
-
}
|
|
34990
|
-
},
|
|
34991
|
-
type: "binary-expr",
|
|
34992
|
-
locations: [{
|
|
34993
|
-
start: {
|
|
34994
|
-
line: 19,
|
|
34995
|
-
column: 13
|
|
34996
|
-
},
|
|
34997
|
-
end: {
|
|
34998
|
-
line: 19,
|
|
34999
|
-
column: 17
|
|
35000
|
-
}
|
|
35001
|
-
}, {
|
|
35002
|
-
start: {
|
|
35003
|
-
line: 20,
|
|
35004
|
-
column: 14
|
|
35005
|
-
},
|
|
35006
|
-
end: {
|
|
35007
|
-
line: 22,
|
|
35008
|
-
column: 21
|
|
35009
|
-
}
|
|
35010
|
-
}],
|
|
35011
|
-
line: 19
|
|
35012
|
-
}
|
|
35013
|
-
},
|
|
35014
|
-
s: {
|
|
35015
|
-
"0": 0,
|
|
35016
|
-
"1": 0,
|
|
35017
|
-
"2": 0,
|
|
35018
|
-
"3": 0
|
|
35019
|
-
},
|
|
35020
|
-
f: {
|
|
35021
|
-
"0": 0,
|
|
35022
|
-
"1": 0
|
|
35023
|
-
},
|
|
35024
|
-
b: {
|
|
35025
|
-
"0": [0],
|
|
35026
|
-
"1": [0, 0]
|
|
35027
|
-
},
|
|
35028
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35029
|
-
hash: "4d2042675a4185a0afe191f4f3e976ce4dde51b3"
|
|
35030
|
-
};
|
|
35031
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
35032
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35033
|
-
coverage[path] = coverageData;
|
|
35034
|
-
}
|
|
35035
|
-
var actualCoverage = coverage[path];
|
|
35036
|
-
{
|
|
35037
|
-
// @ts-ignore
|
|
35038
|
-
cov_2g1mnq5m0z = function () {
|
|
35039
|
-
return actualCoverage;
|
|
35040
|
-
};
|
|
35041
|
-
}
|
|
35042
|
-
return actualCoverage;
|
|
35043
|
-
}
|
|
35044
|
-
cov_2g1mnq5m0z();
|
|
35045
|
-
cov_2g1mnq5m0z().s[0]++;
|
|
35046
31968
|
var LinkSection = function LinkSection(_ref) {
|
|
35047
31969
|
var links = _ref.links;
|
|
35048
|
-
cov_2g1mnq5m0z().f[0]++;
|
|
35049
|
-
cov_2g1mnq5m0z().s[1]++;
|
|
35050
31970
|
return /*#__PURE__*/React.createElement("ul", {
|
|
35051
31971
|
className: "neeto-molecules-profile-sublist"
|
|
35052
31972
|
}, links.map(function (_ref2, idx) {
|
|
35053
31973
|
var onClick = _ref2.onClick,
|
|
35054
31974
|
label = _ref2.label,
|
|
35055
31975
|
_ref2$icon = _ref2.icon,
|
|
35056
|
-
icon = _ref2$icon === void 0 ?
|
|
31976
|
+
icon = _ref2$icon === void 0 ? null : _ref2$icon,
|
|
35057
31977
|
otherProps = _objectWithoutProperties(_ref2, _excluded$1);
|
|
35058
|
-
|
|
35059
|
-
var IconSVG = (cov_2g1mnq5m0z().s[2]++, icon);
|
|
35060
|
-
cov_2g1mnq5m0z().s[3]++;
|
|
31978
|
+
var IconSVG = icon;
|
|
35061
31979
|
return /*#__PURE__*/React.createElement("li", {
|
|
35062
31980
|
className: "neeto-molecules-profile-sublist__item",
|
|
35063
31981
|
key: idx
|
|
@@ -35065,9 +31983,9 @@ var LinkSection = function LinkSection(_ref) {
|
|
|
35065
31983
|
onClick: onClick
|
|
35066
31984
|
}, otherProps, {
|
|
35067
31985
|
className: "neeto-molecules-profile-sublist__item-btn"
|
|
35068
|
-
}),
|
|
31986
|
+
}), icon && /*#__PURE__*/React.createElement("span", {
|
|
35069
31987
|
className: "neeto-molecules-profile-sublist__item-btn-icon"
|
|
35070
|
-
}, /*#__PURE__*/React.createElement(IconSVG, null))
|
|
31988
|
+
}, /*#__PURE__*/React.createElement(IconSVG, null)), /*#__PURE__*/React.createElement(Typography, {
|
|
35071
31989
|
className: "neeto-molecules-profile-sublist__item-btn-label",
|
|
35072
31990
|
component: "span",
|
|
35073
31991
|
style: "body2",
|
|
@@ -35076,214 +31994,14 @@ var LinkSection = function LinkSection(_ref) {
|
|
|
35076
31994
|
}));
|
|
35077
31995
|
};
|
|
35078
31996
|
|
|
35079
|
-
function cov_co3i4qloj() {
|
|
35080
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/ProfileSection/ProfileMenu.jsx";
|
|
35081
|
-
var hash = "6d9eff3afb11e5e7252341ce484feff8da220288";
|
|
35082
|
-
var global = new Function("return this")();
|
|
35083
|
-
var gcv = "__coverage__";
|
|
35084
|
-
var coverageData = {
|
|
35085
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/ProfileSection/ProfileMenu.jsx",
|
|
35086
|
-
statementMap: {
|
|
35087
|
-
"0": {
|
|
35088
|
-
start: {
|
|
35089
|
-
line: 11,
|
|
35090
|
-
column: 20
|
|
35091
|
-
},
|
|
35092
|
-
end: {
|
|
35093
|
-
line: 53,
|
|
35094
|
-
column: 1
|
|
35095
|
-
}
|
|
35096
|
-
},
|
|
35097
|
-
"1": {
|
|
35098
|
-
start: {
|
|
35099
|
-
line: 12,
|
|
35100
|
-
column: 64
|
|
35101
|
-
},
|
|
35102
|
-
end: {
|
|
35103
|
-
line: 12,
|
|
35104
|
-
column: 75
|
|
35105
|
-
}
|
|
35106
|
-
},
|
|
35107
|
-
"2": {
|
|
35108
|
-
start: {
|
|
35109
|
-
line: 14,
|
|
35110
|
-
column: 2
|
|
35111
|
-
},
|
|
35112
|
-
end: {
|
|
35113
|
-
line: 52,
|
|
35114
|
-
column: 4
|
|
35115
|
-
}
|
|
35116
|
-
}
|
|
35117
|
-
},
|
|
35118
|
-
fnMap: {
|
|
35119
|
-
"0": {
|
|
35120
|
-
name: "(anonymous_0)",
|
|
35121
|
-
decl: {
|
|
35122
|
-
start: {
|
|
35123
|
-
line: 11,
|
|
35124
|
-
column: 20
|
|
35125
|
-
},
|
|
35126
|
-
end: {
|
|
35127
|
-
line: 11,
|
|
35128
|
-
column: 21
|
|
35129
|
-
}
|
|
35130
|
-
},
|
|
35131
|
-
loc: {
|
|
35132
|
-
start: {
|
|
35133
|
-
line: 11,
|
|
35134
|
-
column: 56
|
|
35135
|
-
},
|
|
35136
|
-
end: {
|
|
35137
|
-
line: 53,
|
|
35138
|
-
column: 1
|
|
35139
|
-
}
|
|
35140
|
-
},
|
|
35141
|
-
line: 11
|
|
35142
|
-
}
|
|
35143
|
-
},
|
|
35144
|
-
branchMap: {
|
|
35145
|
-
"0": {
|
|
35146
|
-
loc: {
|
|
35147
|
-
start: {
|
|
35148
|
-
line: 35,
|
|
35149
|
-
column: 11
|
|
35150
|
-
},
|
|
35151
|
-
end: {
|
|
35152
|
-
line: 43,
|
|
35153
|
-
column: 11
|
|
35154
|
-
}
|
|
35155
|
-
},
|
|
35156
|
-
type: "binary-expr",
|
|
35157
|
-
locations: [{
|
|
35158
|
-
start: {
|
|
35159
|
-
line: 35,
|
|
35160
|
-
column: 11
|
|
35161
|
-
},
|
|
35162
|
-
end: {
|
|
35163
|
-
line: 35,
|
|
35164
|
-
column: 16
|
|
35165
|
-
}
|
|
35166
|
-
}, {
|
|
35167
|
-
start: {
|
|
35168
|
-
line: 36,
|
|
35169
|
-
column: 12
|
|
35170
|
-
},
|
|
35171
|
-
end: {
|
|
35172
|
-
line: 42,
|
|
35173
|
-
column: 25
|
|
35174
|
-
}
|
|
35175
|
-
}],
|
|
35176
|
-
line: 35
|
|
35177
|
-
},
|
|
35178
|
-
"1": {
|
|
35179
|
-
loc: {
|
|
35180
|
-
start: {
|
|
35181
|
-
line: 49,
|
|
35182
|
-
column: 7
|
|
35183
|
-
},
|
|
35184
|
-
end: {
|
|
35185
|
-
line: 49,
|
|
35186
|
-
column: 74
|
|
35187
|
-
}
|
|
35188
|
-
},
|
|
35189
|
-
type: "binary-expr",
|
|
35190
|
-
locations: [{
|
|
35191
|
-
start: {
|
|
35192
|
-
line: 49,
|
|
35193
|
-
column: 7
|
|
35194
|
-
},
|
|
35195
|
-
end: {
|
|
35196
|
-
line: 49,
|
|
35197
|
-
column: 15
|
|
35198
|
-
}
|
|
35199
|
-
}, {
|
|
35200
|
-
start: {
|
|
35201
|
-
line: 49,
|
|
35202
|
-
column: 19
|
|
35203
|
-
},
|
|
35204
|
-
end: {
|
|
35205
|
-
line: 49,
|
|
35206
|
-
column: 74
|
|
35207
|
-
}
|
|
35208
|
-
}],
|
|
35209
|
-
line: 49
|
|
35210
|
-
},
|
|
35211
|
-
"2": {
|
|
35212
|
-
loc: {
|
|
35213
|
-
start: {
|
|
35214
|
-
line: 50,
|
|
35215
|
-
column: 7
|
|
35216
|
-
},
|
|
35217
|
-
end: {
|
|
35218
|
-
line: 50,
|
|
35219
|
-
column: 57
|
|
35220
|
-
}
|
|
35221
|
-
},
|
|
35222
|
-
type: "binary-expr",
|
|
35223
|
-
locations: [{
|
|
35224
|
-
start: {
|
|
35225
|
-
line: 50,
|
|
35226
|
-
column: 7
|
|
35227
|
-
},
|
|
35228
|
-
end: {
|
|
35229
|
-
line: 50,
|
|
35230
|
-
column: 18
|
|
35231
|
-
}
|
|
35232
|
-
}, {
|
|
35233
|
-
start: {
|
|
35234
|
-
line: 50,
|
|
35235
|
-
column: 22
|
|
35236
|
-
},
|
|
35237
|
-
end: {
|
|
35238
|
-
line: 50,
|
|
35239
|
-
column: 57
|
|
35240
|
-
}
|
|
35241
|
-
}],
|
|
35242
|
-
line: 50
|
|
35243
|
-
}
|
|
35244
|
-
},
|
|
35245
|
-
s: {
|
|
35246
|
-
"0": 0,
|
|
35247
|
-
"1": 0,
|
|
35248
|
-
"2": 0
|
|
35249
|
-
},
|
|
35250
|
-
f: {
|
|
35251
|
-
"0": 0
|
|
35252
|
-
},
|
|
35253
|
-
b: {
|
|
35254
|
-
"0": [0, 0],
|
|
35255
|
-
"1": [0, 0],
|
|
35256
|
-
"2": [0, 0]
|
|
35257
|
-
},
|
|
35258
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35259
|
-
hash: "6d9eff3afb11e5e7252341ce484feff8da220288"
|
|
35260
|
-
};
|
|
35261
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
35262
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35263
|
-
coverage[path] = coverageData;
|
|
35264
|
-
}
|
|
35265
|
-
var actualCoverage = coverage[path];
|
|
35266
|
-
{
|
|
35267
|
-
// @ts-ignore
|
|
35268
|
-
cov_co3i4qloj = function () {
|
|
35269
|
-
return actualCoverage;
|
|
35270
|
-
};
|
|
35271
|
-
}
|
|
35272
|
-
return actualCoverage;
|
|
35273
|
-
}
|
|
35274
|
-
cov_co3i4qloj();
|
|
35275
|
-
cov_co3i4qloj().s[0]++;
|
|
35276
31997
|
var ProfileMenu = function ProfileMenu(_ref) {
|
|
35277
31998
|
var profileInfo = _ref.profileInfo,
|
|
35278
31999
|
extraTopLinks = _ref.extraTopLinks;
|
|
35279
|
-
|
|
35280
|
-
|
|
35281
|
-
|
|
35282
|
-
|
|
35283
|
-
|
|
35284
|
-
bottomLinks = _ref2.bottomLinks,
|
|
35285
|
-
customContent = _ref2.customContent;
|
|
35286
|
-
cov_co3i4qloj().s[2]++;
|
|
32000
|
+
var name = profileInfo.name,
|
|
32001
|
+
email = profileInfo.email,
|
|
32002
|
+
topLinks = profileInfo.topLinks,
|
|
32003
|
+
bottomLinks = profileInfo.bottomLinks,
|
|
32004
|
+
customContent = profileInfo.customContent;
|
|
35287
32005
|
return /*#__PURE__*/React.createElement("div", {
|
|
35288
32006
|
className: "neeto-ui-flex neeto-ui-flex-col neeto-molecules-profile-popup"
|
|
35289
32007
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -35302,183 +32020,27 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
35302
32020
|
style: "h5",
|
|
35303
32021
|
title: name,
|
|
35304
32022
|
weight: "semibold"
|
|
35305
|
-
}, truncate(name, 18)),
|
|
32023
|
+
}, truncate(name, 18)), email && /*#__PURE__*/React.createElement(Typography, {
|
|
35306
32024
|
className: "neeto-ui-w-full neeto-ui-truncate neeto-ui-text-gray-600",
|
|
35307
32025
|
lineHeight: "tight",
|
|
35308
32026
|
style: "body3"
|
|
35309
|
-
}, email)))
|
|
32027
|
+
}, email))), /*#__PURE__*/React.createElement("div", {
|
|
35310
32028
|
className: "neeto-molecules-sidebar__profile-wrapper-custom-content"
|
|
35311
|
-
}, customContent),
|
|
32029
|
+
}, customContent), topLinks && /*#__PURE__*/React.createElement(LinkSection, {
|
|
35312
32030
|
links: [].concat(_toConsumableArray(extraTopLinks), _toConsumableArray(topLinks))
|
|
35313
|
-
})
|
|
32031
|
+
}), bottomLinks && /*#__PURE__*/React.createElement(LinkSection, {
|
|
35314
32032
|
links: bottomLinks
|
|
35315
|
-
}))
|
|
32033
|
+
}));
|
|
35316
32034
|
};
|
|
35317
32035
|
|
|
35318
|
-
function cov_3jxto2evp() {
|
|
35319
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Footer/index.jsx";
|
|
35320
|
-
var hash = "b026adc6d85baafab01a0035d09f815e9c0bd14b";
|
|
35321
|
-
var global = new Function("return this")();
|
|
35322
|
-
var gcv = "__coverage__";
|
|
35323
|
-
var coverageData = {
|
|
35324
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Footer/index.jsx",
|
|
35325
|
-
statementMap: {
|
|
35326
|
-
"0": {
|
|
35327
|
-
start: {
|
|
35328
|
-
line: 14,
|
|
35329
|
-
column: 15
|
|
35330
|
-
},
|
|
35331
|
-
end: {
|
|
35332
|
-
line: 55,
|
|
35333
|
-
column: 1
|
|
35334
|
-
}
|
|
35335
|
-
},
|
|
35336
|
-
"1": {
|
|
35337
|
-
start: {
|
|
35338
|
-
line: 21,
|
|
35339
|
-
column: 22
|
|
35340
|
-
},
|
|
35341
|
-
end: {
|
|
35342
|
-
line: 21,
|
|
35343
|
-
column: 58
|
|
35344
|
-
}
|
|
35345
|
-
},
|
|
35346
|
-
"2": {
|
|
35347
|
-
start: {
|
|
35348
|
-
line: 23,
|
|
35349
|
-
column: 2
|
|
35350
|
-
},
|
|
35351
|
-
end: {
|
|
35352
|
-
line: 54,
|
|
35353
|
-
column: 4
|
|
35354
|
-
}
|
|
35355
|
-
}
|
|
35356
|
-
},
|
|
35357
|
-
fnMap: {
|
|
35358
|
-
"0": {
|
|
35359
|
-
name: "(anonymous_0)",
|
|
35360
|
-
decl: {
|
|
35361
|
-
start: {
|
|
35362
|
-
line: 14,
|
|
35363
|
-
column: 15
|
|
35364
|
-
},
|
|
35365
|
-
end: {
|
|
35366
|
-
line: 14,
|
|
35367
|
-
column: 16
|
|
35368
|
-
}
|
|
35369
|
-
},
|
|
35370
|
-
loc: {
|
|
35371
|
-
start: {
|
|
35372
|
-
line: 20,
|
|
35373
|
-
column: 6
|
|
35374
|
-
},
|
|
35375
|
-
end: {
|
|
35376
|
-
line: 55,
|
|
35377
|
-
column: 1
|
|
35378
|
-
}
|
|
35379
|
-
},
|
|
35380
|
-
line: 20
|
|
35381
|
-
}
|
|
35382
|
-
},
|
|
35383
|
-
branchMap: {
|
|
35384
|
-
"0": {
|
|
35385
|
-
loc: {
|
|
35386
|
-
start: {
|
|
35387
|
-
line: 18,
|
|
35388
|
-
column: 2
|
|
35389
|
-
},
|
|
35390
|
-
end: {
|
|
35391
|
-
line: 18,
|
|
35392
|
-
column: 25
|
|
35393
|
-
}
|
|
35394
|
-
},
|
|
35395
|
-
type: "default-arg",
|
|
35396
|
-
locations: [{
|
|
35397
|
-
start: {
|
|
35398
|
-
line: 18,
|
|
35399
|
-
column: 20
|
|
35400
|
-
},
|
|
35401
|
-
end: {
|
|
35402
|
-
line: 18,
|
|
35403
|
-
column: 25
|
|
35404
|
-
}
|
|
35405
|
-
}],
|
|
35406
|
-
line: 18
|
|
35407
|
-
},
|
|
35408
|
-
"1": {
|
|
35409
|
-
loc: {
|
|
35410
|
-
start: {
|
|
35411
|
-
line: 35,
|
|
35412
|
-
column: 7
|
|
35413
|
-
},
|
|
35414
|
-
end: {
|
|
35415
|
-
line: 37,
|
|
35416
|
-
column: 7
|
|
35417
|
-
}
|
|
35418
|
-
},
|
|
35419
|
-
type: "binary-expr",
|
|
35420
|
-
locations: [{
|
|
35421
|
-
start: {
|
|
35422
|
-
line: 35,
|
|
35423
|
-
column: 7
|
|
35424
|
-
},
|
|
35425
|
-
end: {
|
|
35426
|
-
line: 35,
|
|
35427
|
-
column: 22
|
|
35428
|
-
}
|
|
35429
|
-
}, {
|
|
35430
|
-
start: {
|
|
35431
|
-
line: 36,
|
|
35432
|
-
column: 8
|
|
35433
|
-
},
|
|
35434
|
-
end: {
|
|
35435
|
-
line: 36,
|
|
35436
|
-
column: 71
|
|
35437
|
-
}
|
|
35438
|
-
}],
|
|
35439
|
-
line: 35
|
|
35440
|
-
}
|
|
35441
|
-
},
|
|
35442
|
-
s: {
|
|
35443
|
-
"0": 0,
|
|
35444
|
-
"1": 0,
|
|
35445
|
-
"2": 0
|
|
35446
|
-
},
|
|
35447
|
-
f: {
|
|
35448
|
-
"0": 0
|
|
35449
|
-
},
|
|
35450
|
-
b: {
|
|
35451
|
-
"0": [0],
|
|
35452
|
-
"1": [0, 0]
|
|
35453
|
-
},
|
|
35454
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35455
|
-
hash: "b026adc6d85baafab01a0035d09f815e9c0bd14b"
|
|
35456
|
-
};
|
|
35457
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
35458
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35459
|
-
coverage[path] = coverageData;
|
|
35460
|
-
}
|
|
35461
|
-
var actualCoverage = coverage[path];
|
|
35462
|
-
{
|
|
35463
|
-
// @ts-ignore
|
|
35464
|
-
cov_3jxto2evp = function () {
|
|
35465
|
-
return actualCoverage;
|
|
35466
|
-
};
|
|
35467
|
-
}
|
|
35468
|
-
return actualCoverage;
|
|
35469
|
-
}
|
|
35470
|
-
cov_3jxto2evp();
|
|
35471
|
-
cov_3jxto2evp().s[0]++;
|
|
35472
32036
|
var Footer = function Footer(_ref) {
|
|
35473
32037
|
var extraTopLinks = _ref.extraTopLinks,
|
|
35474
32038
|
helpLinkOverrides = _ref.helpLinkOverrides,
|
|
35475
32039
|
profileInfoOverrides = _ref.profileInfoOverrides,
|
|
35476
32040
|
_ref$showAppSwitcher = _ref.showAppSwitcher,
|
|
35477
|
-
showAppSwitcher = _ref$showAppSwitcher === void 0 ?
|
|
32041
|
+
showAppSwitcher = _ref$showAppSwitcher === void 0 ? false : _ref$showAppSwitcher,
|
|
35478
32042
|
onAppSwitcherToggle = _ref.onAppSwitcherToggle;
|
|
35479
|
-
|
|
35480
|
-
var profileInfo = (cov_3jxto2evp().s[1]++, getProfileInfo(profileInfoOverrides));
|
|
35481
|
-
cov_3jxto2evp().s[2]++;
|
|
32043
|
+
var profileInfo = getProfileInfo(profileInfoOverrides);
|
|
35482
32044
|
return /*#__PURE__*/React.createElement("div", {
|
|
35483
32045
|
className: "neeto-molecules-sidebar__footer"
|
|
35484
32046
|
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -35490,9 +32052,9 @@ var Footer = function Footer(_ref) {
|
|
|
35490
32052
|
hideOnClick: false,
|
|
35491
32053
|
position: "right",
|
|
35492
32054
|
theme: "light"
|
|
35493
|
-
}, /*#__PURE__*/React.createElement(HelpSection, null)),
|
|
32055
|
+
}, /*#__PURE__*/React.createElement(HelpSection, null)), showAppSwitcher && /*#__PURE__*/React.createElement(AppSwitcherButton, {
|
|
35494
32056
|
onAppSwitcherToggle: onAppSwitcherToggle
|
|
35495
|
-
})
|
|
32057
|
+
}), /*#__PURE__*/React.createElement(Tooltip, {
|
|
35496
32058
|
interactive: true,
|
|
35497
32059
|
className: "neeto-molecules-profile-popup-wrapper",
|
|
35498
32060
|
hideOnClick: false,
|
|
@@ -35507,200 +32069,13 @@ var Footer = function Footer(_ref) {
|
|
|
35507
32069
|
})));
|
|
35508
32070
|
};
|
|
35509
32071
|
|
|
35510
|
-
function cov_17k34ad0bz() {
|
|
35511
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Header.jsx";
|
|
35512
|
-
var hash = "c1f927311f5d22150d89fd74d94931189bdccf83";
|
|
35513
|
-
var global = new Function("return this")();
|
|
35514
|
-
var gcv = "__coverage__";
|
|
35515
|
-
var coverageData = {
|
|
35516
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Header.jsx",
|
|
35517
|
-
statementMap: {
|
|
35518
|
-
"0": {
|
|
35519
|
-
start: {
|
|
35520
|
-
line: 10,
|
|
35521
|
-
column: 15
|
|
35522
|
-
},
|
|
35523
|
-
end: {
|
|
35524
|
-
line: 36,
|
|
35525
|
-
column: 1
|
|
35526
|
-
}
|
|
35527
|
-
},
|
|
35528
|
-
"1": {
|
|
35529
|
-
start: {
|
|
35530
|
-
line: 11,
|
|
35531
|
-
column: 19
|
|
35532
|
-
},
|
|
35533
|
-
end: {
|
|
35534
|
-
line: 13,
|
|
35535
|
-
column: 5
|
|
35536
|
-
}
|
|
35537
|
-
},
|
|
35538
|
-
"2": {
|
|
35539
|
-
start: {
|
|
35540
|
-
line: 15,
|
|
35541
|
-
column: 22
|
|
35542
|
-
},
|
|
35543
|
-
end: {
|
|
35544
|
-
line: 15,
|
|
35545
|
-
column: 44
|
|
35546
|
-
}
|
|
35547
|
-
},
|
|
35548
|
-
"3": {
|
|
35549
|
-
start: {
|
|
35550
|
-
line: 17,
|
|
35551
|
-
column: 18
|
|
35552
|
-
},
|
|
35553
|
-
end: {
|
|
35554
|
-
line: 22,
|
|
35555
|
-
column: 3
|
|
35556
|
-
}
|
|
35557
|
-
},
|
|
35558
|
-
"4": {
|
|
35559
|
-
start: {
|
|
35560
|
-
line: 24,
|
|
35561
|
-
column: 2
|
|
35562
|
-
},
|
|
35563
|
-
end: {
|
|
35564
|
-
line: 35,
|
|
35565
|
-
column: 4
|
|
35566
|
-
}
|
|
35567
|
-
}
|
|
35568
|
-
},
|
|
35569
|
-
fnMap: {
|
|
35570
|
-
"0": {
|
|
35571
|
-
name: "(anonymous_0)",
|
|
35572
|
-
decl: {
|
|
35573
|
-
start: {
|
|
35574
|
-
line: 10,
|
|
35575
|
-
column: 15
|
|
35576
|
-
},
|
|
35577
|
-
end: {
|
|
35578
|
-
line: 10,
|
|
35579
|
-
column: 16
|
|
35580
|
-
}
|
|
35581
|
-
},
|
|
35582
|
-
loc: {
|
|
35583
|
-
start: {
|
|
35584
|
-
line: 10,
|
|
35585
|
-
column: 21
|
|
35586
|
-
},
|
|
35587
|
-
end: {
|
|
35588
|
-
line: 36,
|
|
35589
|
-
column: 1
|
|
35590
|
-
}
|
|
35591
|
-
},
|
|
35592
|
-
line: 10
|
|
35593
|
-
}
|
|
35594
|
-
},
|
|
35595
|
-
branchMap: {
|
|
35596
|
-
"0": {
|
|
35597
|
-
loc: {
|
|
35598
|
-
start: {
|
|
35599
|
-
line: 18,
|
|
35600
|
-
column: 4
|
|
35601
|
-
},
|
|
35602
|
-
end: {
|
|
35603
|
-
line: 21,
|
|
35604
|
-
column: 36
|
|
35605
|
-
}
|
|
35606
|
-
},
|
|
35607
|
-
type: "binary-expr",
|
|
35608
|
-
locations: [{
|
|
35609
|
-
start: {
|
|
35610
|
-
line: 18,
|
|
35611
|
-
column: 4
|
|
35612
|
-
},
|
|
35613
|
-
end: {
|
|
35614
|
-
line: 21,
|
|
35615
|
-
column: 10
|
|
35616
|
-
}
|
|
35617
|
-
}, {
|
|
35618
|
-
start: {
|
|
35619
|
-
line: 21,
|
|
35620
|
-
column: 14
|
|
35621
|
-
},
|
|
35622
|
-
end: {
|
|
35623
|
-
line: 21,
|
|
35624
|
-
column: 36
|
|
35625
|
-
}
|
|
35626
|
-
}],
|
|
35627
|
-
line: 18
|
|
35628
|
-
},
|
|
35629
|
-
"1": {
|
|
35630
|
-
loc: {
|
|
35631
|
-
start: {
|
|
35632
|
-
line: 31,
|
|
35633
|
-
column: 11
|
|
35634
|
-
},
|
|
35635
|
-
end: {
|
|
35636
|
-
line: 31,
|
|
35637
|
-
column: 52
|
|
35638
|
-
}
|
|
35639
|
-
},
|
|
35640
|
-
type: "cond-expr",
|
|
35641
|
-
locations: [{
|
|
35642
|
-
start: {
|
|
35643
|
-
line: 31,
|
|
35644
|
-
column: 25
|
|
35645
|
-
},
|
|
35646
|
-
end: {
|
|
35647
|
-
line: 31,
|
|
35648
|
-
column: 40
|
|
35649
|
-
}
|
|
35650
|
-
}, {
|
|
35651
|
-
start: {
|
|
35652
|
-
line: 31,
|
|
35653
|
-
column: 43
|
|
35654
|
-
},
|
|
35655
|
-
end: {
|
|
35656
|
-
line: 31,
|
|
35657
|
-
column: 52
|
|
35658
|
-
}
|
|
35659
|
-
}],
|
|
35660
|
-
line: 31
|
|
35661
|
-
}
|
|
35662
|
-
},
|
|
35663
|
-
s: {
|
|
35664
|
-
"0": 0,
|
|
35665
|
-
"1": 0,
|
|
35666
|
-
"2": 0,
|
|
35667
|
-
"3": 0,
|
|
35668
|
-
"4": 0
|
|
35669
|
-
},
|
|
35670
|
-
f: {
|
|
35671
|
-
"0": 0
|
|
35672
|
-
},
|
|
35673
|
-
b: {
|
|
35674
|
-
"0": [0, 0],
|
|
35675
|
-
"1": [0, 0]
|
|
35676
|
-
},
|
|
35677
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35678
|
-
hash: "c1f927311f5d22150d89fd74d94931189bdccf83"
|
|
35679
|
-
};
|
|
35680
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
35681
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35682
|
-
coverage[path] = coverageData;
|
|
35683
|
-
}
|
|
35684
|
-
var actualCoverage = coverage[path];
|
|
35685
|
-
{
|
|
35686
|
-
// @ts-ignore
|
|
35687
|
-
cov_17k34ad0bz = function () {
|
|
35688
|
-
return actualCoverage;
|
|
35689
|
-
};
|
|
35690
|
-
}
|
|
35691
|
-
return actualCoverage;
|
|
35692
|
-
}
|
|
35693
|
-
cov_17k34ad0bz();
|
|
35694
|
-
cov_17k34ad0bz().s[0]++;
|
|
35695
32072
|
var Header = function Header() {
|
|
35696
|
-
var
|
|
35697
|
-
|
|
35698
|
-
var
|
|
35699
|
-
var
|
|
35700
|
-
var homeUrl = (cov_17k34ad0bz().s[3]++, new URL((_ref = (cov_17k34ad0bz().b[0][0]++, (_findBy2 = _findBy({
|
|
32073
|
+
var _findBy$url, _findBy2;
|
|
32074
|
+
var logoName = "Neeto".concat(capitalize(globalProps.appName.substr(5).toLowerCase()));
|
|
32075
|
+
var ProductLogo = ProductLogos[logoName];
|
|
32076
|
+
var homeUrl = new URL((_findBy$url = (_findBy2 = _findBy({
|
|
35701
32077
|
name: globalProps.appName.split("neeto")[1]
|
|
35702
|
-
}, globalProps.neetoApps)) === null || _findBy2 === void 0 ? void 0 : _findBy2.url)
|
|
35703
|
-
cov_17k34ad0bz().s[4]++;
|
|
32078
|
+
}, globalProps.neetoApps)) === null || _findBy2 === void 0 ? void 0 : _findBy2.url) !== null && _findBy$url !== void 0 ? _findBy$url : window.location.origin);
|
|
35704
32079
|
return /*#__PURE__*/React.createElement("div", {
|
|
35705
32080
|
className: "neeto-ui-flex neeto-ui-items-center neeto-molecules-sidebar__header",
|
|
35706
32081
|
"data-cy": "sidebar-info"
|
|
@@ -35708,249 +32083,13 @@ var Header = function Header() {
|
|
|
35708
32083
|
className: "neeto-molecules-sidebar__logo flex flex-shrink-0 items-center justify-center"
|
|
35709
32084
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
35710
32085
|
to: homeUrl.pathname
|
|
35711
|
-
}, ProductLogo ?
|
|
32086
|
+
}, ProductLogo ? /*#__PURE__*/React.createElement(ProductLogo, null) : /*#__PURE__*/React.createElement(Neeto, null))));
|
|
35712
32087
|
};
|
|
35713
32088
|
|
|
35714
32089
|
var _excluded = ["label", "to", "icon", "description"];
|
|
35715
|
-
function cov_27l2553py() {
|
|
35716
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Links.jsx";
|
|
35717
|
-
var hash = "68502e30aeb5bb2cd1229fdb3fd5a0e63c3c69aa";
|
|
35718
|
-
var global = new Function("return this")();
|
|
35719
|
-
var gcv = "__coverage__";
|
|
35720
|
-
var coverageData = {
|
|
35721
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/Links.jsx",
|
|
35722
|
-
statementMap: {
|
|
35723
|
-
"0": {
|
|
35724
|
-
start: {
|
|
35725
|
-
line: 8,
|
|
35726
|
-
column: 14
|
|
35727
|
-
},
|
|
35728
|
-
end: {
|
|
35729
|
-
line: 47,
|
|
35730
|
-
column: 1
|
|
35731
|
-
}
|
|
35732
|
-
},
|
|
35733
|
-
"1": {
|
|
35734
|
-
start: {
|
|
35735
|
-
line: 9,
|
|
35736
|
-
column: 19
|
|
35737
|
-
},
|
|
35738
|
-
end: {
|
|
35739
|
-
line: 9,
|
|
35740
|
-
column: 32
|
|
35741
|
-
}
|
|
35742
|
-
},
|
|
35743
|
-
"2": {
|
|
35744
|
-
start: {
|
|
35745
|
-
line: 11,
|
|
35746
|
-
column: 2
|
|
35747
|
-
},
|
|
35748
|
-
end: {
|
|
35749
|
-
line: 46,
|
|
35750
|
-
column: 4
|
|
35751
|
-
}
|
|
35752
|
-
},
|
|
35753
|
-
"3": {
|
|
35754
|
-
start: {
|
|
35755
|
-
line: 15,
|
|
35756
|
-
column: 26
|
|
35757
|
-
},
|
|
35758
|
-
end: {
|
|
35759
|
-
line: 15,
|
|
35760
|
-
column: 30
|
|
35761
|
-
}
|
|
35762
|
-
},
|
|
35763
|
-
"4": {
|
|
35764
|
-
start: {
|
|
35765
|
-
line: 16,
|
|
35766
|
-
column: 22
|
|
35767
|
-
},
|
|
35768
|
-
end: {
|
|
35769
|
-
line: 16,
|
|
35770
|
-
column: 55
|
|
35771
|
-
}
|
|
35772
|
-
},
|
|
35773
|
-
"5": {
|
|
35774
|
-
start: {
|
|
35775
|
-
line: 17,
|
|
35776
|
-
column: 27
|
|
35777
|
-
},
|
|
35778
|
-
end: {
|
|
35779
|
-
line: 17,
|
|
35780
|
-
column: 75
|
|
35781
|
-
}
|
|
35782
|
-
},
|
|
35783
|
-
"6": {
|
|
35784
|
-
start: {
|
|
35785
|
-
line: 17,
|
|
35786
|
-
column: 33
|
|
35787
|
-
},
|
|
35788
|
-
end: {
|
|
35789
|
-
line: 17,
|
|
35790
|
-
column: 75
|
|
35791
|
-
}
|
|
35792
|
-
},
|
|
35793
|
-
"7": {
|
|
35794
|
-
start: {
|
|
35795
|
-
line: 19,
|
|
35796
|
-
column: 10
|
|
35797
|
-
},
|
|
35798
|
-
end: {
|
|
35799
|
-
line: 42,
|
|
35800
|
-
column: 12
|
|
35801
|
-
}
|
|
35802
|
-
}
|
|
35803
|
-
},
|
|
35804
|
-
fnMap: {
|
|
35805
|
-
"0": {
|
|
35806
|
-
name: "(anonymous_0)",
|
|
35807
|
-
decl: {
|
|
35808
|
-
start: {
|
|
35809
|
-
line: 8,
|
|
35810
|
-
column: 14
|
|
35811
|
-
},
|
|
35812
|
-
end: {
|
|
35813
|
-
line: 8,
|
|
35814
|
-
column: 15
|
|
35815
|
-
}
|
|
35816
|
-
},
|
|
35817
|
-
loc: {
|
|
35818
|
-
start: {
|
|
35819
|
-
line: 8,
|
|
35820
|
-
column: 32
|
|
35821
|
-
},
|
|
35822
|
-
end: {
|
|
35823
|
-
line: 47,
|
|
35824
|
-
column: 1
|
|
35825
|
-
}
|
|
35826
|
-
},
|
|
35827
|
-
line: 8
|
|
35828
|
-
},
|
|
35829
|
-
"1": {
|
|
35830
|
-
name: "(anonymous_1)",
|
|
35831
|
-
decl: {
|
|
35832
|
-
start: {
|
|
35833
|
-
line: 14,
|
|
35834
|
-
column: 8
|
|
35835
|
-
},
|
|
35836
|
-
end: {
|
|
35837
|
-
line: 14,
|
|
35838
|
-
column: 9
|
|
35839
|
-
}
|
|
35840
|
-
},
|
|
35841
|
-
loc: {
|
|
35842
|
-
start: {
|
|
35843
|
-
line: 14,
|
|
35844
|
-
column: 72
|
|
35845
|
-
},
|
|
35846
|
-
end: {
|
|
35847
|
-
line: 43,
|
|
35848
|
-
column: 9
|
|
35849
|
-
}
|
|
35850
|
-
},
|
|
35851
|
-
line: 14
|
|
35852
|
-
},
|
|
35853
|
-
"2": {
|
|
35854
|
-
name: "(anonymous_2)",
|
|
35855
|
-
decl: {
|
|
35856
|
-
start: {
|
|
35857
|
-
line: 17,
|
|
35858
|
-
column: 27
|
|
35859
|
-
},
|
|
35860
|
-
end: {
|
|
35861
|
-
line: 17,
|
|
35862
|
-
column: 28
|
|
35863
|
-
}
|
|
35864
|
-
},
|
|
35865
|
-
loc: {
|
|
35866
|
-
start: {
|
|
35867
|
-
line: 17,
|
|
35868
|
-
column: 33
|
|
35869
|
-
},
|
|
35870
|
-
end: {
|
|
35871
|
-
line: 17,
|
|
35872
|
-
column: 75
|
|
35873
|
-
}
|
|
35874
|
-
},
|
|
35875
|
-
line: 17
|
|
35876
|
-
}
|
|
35877
|
-
},
|
|
35878
|
-
branchMap: {
|
|
35879
|
-
"0": {
|
|
35880
|
-
loc: {
|
|
35881
|
-
start: {
|
|
35882
|
-
line: 32,
|
|
35883
|
-
column: 17
|
|
35884
|
-
},
|
|
35885
|
-
end: {
|
|
35886
|
-
line: 39,
|
|
35887
|
-
column: 17
|
|
35888
|
-
}
|
|
35889
|
-
},
|
|
35890
|
-
type: "binary-expr",
|
|
35891
|
-
locations: [{
|
|
35892
|
-
start: {
|
|
35893
|
-
line: 32,
|
|
35894
|
-
column: 17
|
|
35895
|
-
},
|
|
35896
|
-
end: {
|
|
35897
|
-
line: 32,
|
|
35898
|
-
column: 21
|
|
35899
|
-
}
|
|
35900
|
-
}, {
|
|
35901
|
-
start: {
|
|
35902
|
-
line: 33,
|
|
35903
|
-
column: 18
|
|
35904
|
-
},
|
|
35905
|
-
end: {
|
|
35906
|
-
line: 38,
|
|
35907
|
-
column: 24
|
|
35908
|
-
}
|
|
35909
|
-
}],
|
|
35910
|
-
line: 32
|
|
35911
|
-
}
|
|
35912
|
-
},
|
|
35913
|
-
s: {
|
|
35914
|
-
"0": 0,
|
|
35915
|
-
"1": 0,
|
|
35916
|
-
"2": 0,
|
|
35917
|
-
"3": 0,
|
|
35918
|
-
"4": 0,
|
|
35919
|
-
"5": 0,
|
|
35920
|
-
"6": 0,
|
|
35921
|
-
"7": 0
|
|
35922
|
-
},
|
|
35923
|
-
f: {
|
|
35924
|
-
"0": 0,
|
|
35925
|
-
"1": 0,
|
|
35926
|
-
"2": 0
|
|
35927
|
-
},
|
|
35928
|
-
b: {
|
|
35929
|
-
"0": [0, 0]
|
|
35930
|
-
},
|
|
35931
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35932
|
-
hash: "68502e30aeb5bb2cd1229fdb3fd5a0e63c3c69aa"
|
|
35933
|
-
};
|
|
35934
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
35935
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
35936
|
-
coverage[path] = coverageData;
|
|
35937
|
-
}
|
|
35938
|
-
var actualCoverage = coverage[path];
|
|
35939
|
-
{
|
|
35940
|
-
// @ts-ignore
|
|
35941
|
-
cov_27l2553py = function () {
|
|
35942
|
-
return actualCoverage;
|
|
35943
|
-
};
|
|
35944
|
-
}
|
|
35945
|
-
return actualCoverage;
|
|
35946
|
-
}
|
|
35947
|
-
cov_27l2553py();
|
|
35948
|
-
cov_27l2553py().s[0]++;
|
|
35949
32090
|
var Links = function Links(_ref) {
|
|
35950
32091
|
var navLinks = _ref.navLinks;
|
|
35951
|
-
|
|
35952
|
-
var location = (cov_27l2553py().s[1]++, useLocation());
|
|
35953
|
-
cov_27l2553py().s[2]++;
|
|
32092
|
+
var location = useLocation();
|
|
35954
32093
|
return /*#__PURE__*/React.createElement("div", {
|
|
35955
32094
|
className: "neeto-molecules-sidebar__links"
|
|
35956
32095
|
}, navLinks.map(function (_ref2, mainIndex) {
|
|
@@ -35959,16 +32098,11 @@ var Links = function Links(_ref) {
|
|
|
35959
32098
|
icon = _ref2.icon,
|
|
35960
32099
|
description = _ref2.description,
|
|
35961
32100
|
otherProps = _objectWithoutProperties(_ref2, _excluded);
|
|
35962
|
-
|
|
35963
|
-
var
|
|
35964
|
-
var url = (cov_27l2553py().s[4]++, new URL(to, window.location.href));
|
|
35965
|
-
cov_27l2553py().s[5]++;
|
|
32101
|
+
var IconSVG = icon;
|
|
32102
|
+
var url = new URL(to, window.location.href);
|
|
35966
32103
|
var isActive = function isActive() {
|
|
35967
|
-
cov_27l2553py().f[2]++;
|
|
35968
|
-
cov_27l2553py().s[6]++;
|
|
35969
32104
|
return location.pathname.startsWith(url.pathname);
|
|
35970
32105
|
};
|
|
35971
|
-
cov_27l2553py().s[7]++;
|
|
35972
32106
|
return /*#__PURE__*/React.createElement(NavIconWrapper, {
|
|
35973
32107
|
description: description,
|
|
35974
32108
|
key: mainIndex,
|
|
@@ -35978,430 +32112,32 @@ var Links = function Links(_ref) {
|
|
|
35978
32112
|
className: "neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-molecules-sidebar__link",
|
|
35979
32113
|
isActive: isActive,
|
|
35980
32114
|
to: to
|
|
35981
|
-
}, otherProps),
|
|
32115
|
+
}, otherProps), icon && /*#__PURE__*/React.createElement("div", {
|
|
35982
32116
|
className: "neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-molecules-sidebar__link-icon",
|
|
35983
32117
|
"data-testid": label
|
|
35984
|
-
}, /*#__PURE__*/React.createElement(IconSVG, null))))
|
|
32118
|
+
}, /*#__PURE__*/React.createElement(IconSVG, null))));
|
|
35985
32119
|
}));
|
|
35986
32120
|
};
|
|
35987
32121
|
|
|
35988
|
-
function cov_11r0xh9z3c() {
|
|
35989
|
-
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/index.jsx";
|
|
35990
|
-
var hash = "a1f444d19a25bf57d0865d127e95f283c84f002f";
|
|
35991
|
-
var global = new Function("return this")();
|
|
35992
|
-
var gcv = "__coverage__";
|
|
35993
|
-
var coverageData = {
|
|
35994
|
-
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Sidebar/index.jsx",
|
|
35995
|
-
statementMap: {
|
|
35996
|
-
"0": {
|
|
35997
|
-
start: {
|
|
35998
|
-
line: 13,
|
|
35999
|
-
column: 16
|
|
36000
|
-
},
|
|
36001
|
-
end: {
|
|
36002
|
-
line: 56,
|
|
36003
|
-
column: 1
|
|
36004
|
-
}
|
|
36005
|
-
},
|
|
36006
|
-
"1": {
|
|
36007
|
-
start: {
|
|
36008
|
-
line: 20,
|
|
36009
|
-
column: 52
|
|
36010
|
-
},
|
|
36011
|
-
end: {
|
|
36012
|
-
line: 20,
|
|
36013
|
-
column: 67
|
|
36014
|
-
}
|
|
36015
|
-
},
|
|
36016
|
-
"2": {
|
|
36017
|
-
start: {
|
|
36018
|
-
line: 21,
|
|
36019
|
-
column: 19
|
|
36020
|
-
},
|
|
36021
|
-
end: {
|
|
36022
|
-
line: 21,
|
|
36023
|
-
column: 32
|
|
36024
|
-
}
|
|
36025
|
-
},
|
|
36026
|
-
"3": {
|
|
36027
|
-
start: {
|
|
36028
|
-
line: 23,
|
|
36029
|
-
column: 2
|
|
36030
|
-
},
|
|
36031
|
-
end: {
|
|
36032
|
-
line: 26,
|
|
36033
|
-
column: 17
|
|
36034
|
-
}
|
|
36035
|
-
},
|
|
36036
|
-
"4": {
|
|
36037
|
-
start: {
|
|
36038
|
-
line: 24,
|
|
36039
|
-
column: 4
|
|
36040
|
-
},
|
|
36041
|
-
end: {
|
|
36042
|
-
line: 24,
|
|
36043
|
-
column: 53
|
|
36044
|
-
}
|
|
36045
|
-
},
|
|
36046
|
-
"5": {
|
|
36047
|
-
start: {
|
|
36048
|
-
line: 28,
|
|
36049
|
-
column: 2
|
|
36050
|
-
},
|
|
36051
|
-
end: {
|
|
36052
|
-
line: 55,
|
|
36053
|
-
column: 4
|
|
36054
|
-
}
|
|
36055
|
-
},
|
|
36056
|
-
"6": {
|
|
36057
|
-
start: {
|
|
36058
|
-
line: 45,
|
|
36059
|
-
column: 37
|
|
36060
|
-
},
|
|
36061
|
-
end: {
|
|
36062
|
-
line: 45,
|
|
36063
|
-
column: 62
|
|
36064
|
-
}
|
|
36065
|
-
},
|
|
36066
|
-
"7": {
|
|
36067
|
-
start: {
|
|
36068
|
-
line: 51,
|
|
36069
|
-
column: 25
|
|
36070
|
-
},
|
|
36071
|
-
end: {
|
|
36072
|
-
line: 51,
|
|
36073
|
-
column: 52
|
|
36074
|
-
}
|
|
36075
|
-
}
|
|
36076
|
-
},
|
|
36077
|
-
fnMap: {
|
|
36078
|
-
"0": {
|
|
36079
|
-
name: "(anonymous_0)",
|
|
36080
|
-
decl: {
|
|
36081
|
-
start: {
|
|
36082
|
-
line: 13,
|
|
36083
|
-
column: 16
|
|
36084
|
-
},
|
|
36085
|
-
end: {
|
|
36086
|
-
line: 13,
|
|
36087
|
-
column: 17
|
|
36088
|
-
}
|
|
36089
|
-
},
|
|
36090
|
-
loc: {
|
|
36091
|
-
start: {
|
|
36092
|
-
line: 19,
|
|
36093
|
-
column: 6
|
|
36094
|
-
},
|
|
36095
|
-
end: {
|
|
36096
|
-
line: 56,
|
|
36097
|
-
column: 1
|
|
36098
|
-
}
|
|
36099
|
-
},
|
|
36100
|
-
line: 19
|
|
36101
|
-
},
|
|
36102
|
-
"1": {
|
|
36103
|
-
name: "(anonymous_1)",
|
|
36104
|
-
decl: {
|
|
36105
|
-
start: {
|
|
36106
|
-
line: 23,
|
|
36107
|
-
column: 12
|
|
36108
|
-
},
|
|
36109
|
-
end: {
|
|
36110
|
-
line: 23,
|
|
36111
|
-
column: 13
|
|
36112
|
-
}
|
|
36113
|
-
},
|
|
36114
|
-
loc: {
|
|
36115
|
-
start: {
|
|
36116
|
-
line: 23,
|
|
36117
|
-
column: 18
|
|
36118
|
-
},
|
|
36119
|
-
end: {
|
|
36120
|
-
line: 26,
|
|
36121
|
-
column: 3
|
|
36122
|
-
}
|
|
36123
|
-
},
|
|
36124
|
-
line: 23
|
|
36125
|
-
},
|
|
36126
|
-
"2": {
|
|
36127
|
-
name: "(anonymous_2)",
|
|
36128
|
-
decl: {
|
|
36129
|
-
start: {
|
|
36130
|
-
line: 45,
|
|
36131
|
-
column: 31
|
|
36132
|
-
},
|
|
36133
|
-
end: {
|
|
36134
|
-
line: 45,
|
|
36135
|
-
column: 32
|
|
36136
|
-
}
|
|
36137
|
-
},
|
|
36138
|
-
loc: {
|
|
36139
|
-
start: {
|
|
36140
|
-
line: 45,
|
|
36141
|
-
column: 37
|
|
36142
|
-
},
|
|
36143
|
-
end: {
|
|
36144
|
-
line: 45,
|
|
36145
|
-
column: 62
|
|
36146
|
-
}
|
|
36147
|
-
},
|
|
36148
|
-
line: 45
|
|
36149
|
-
},
|
|
36150
|
-
"3": {
|
|
36151
|
-
name: "(anonymous_3)",
|
|
36152
|
-
decl: {
|
|
36153
|
-
start: {
|
|
36154
|
-
line: 51,
|
|
36155
|
-
column: 19
|
|
36156
|
-
},
|
|
36157
|
-
end: {
|
|
36158
|
-
line: 51,
|
|
36159
|
-
column: 20
|
|
36160
|
-
}
|
|
36161
|
-
},
|
|
36162
|
-
loc: {
|
|
36163
|
-
start: {
|
|
36164
|
-
line: 51,
|
|
36165
|
-
column: 25
|
|
36166
|
-
},
|
|
36167
|
-
end: {
|
|
36168
|
-
line: 51,
|
|
36169
|
-
column: 52
|
|
36170
|
-
}
|
|
36171
|
-
},
|
|
36172
|
-
line: 51
|
|
36173
|
-
}
|
|
36174
|
-
},
|
|
36175
|
-
branchMap: {
|
|
36176
|
-
"0": {
|
|
36177
|
-
loc: {
|
|
36178
|
-
start: {
|
|
36179
|
-
line: 15,
|
|
36180
|
-
column: 2
|
|
36181
|
-
},
|
|
36182
|
-
end: {
|
|
36183
|
-
line: 15,
|
|
36184
|
-
column: 27
|
|
36185
|
-
}
|
|
36186
|
-
},
|
|
36187
|
-
type: "default-arg",
|
|
36188
|
-
locations: [{
|
|
36189
|
-
start: {
|
|
36190
|
-
line: 15,
|
|
36191
|
-
column: 25
|
|
36192
|
-
},
|
|
36193
|
-
end: {
|
|
36194
|
-
line: 15,
|
|
36195
|
-
column: 27
|
|
36196
|
-
}
|
|
36197
|
-
}],
|
|
36198
|
-
line: 15
|
|
36199
|
-
},
|
|
36200
|
-
"1": {
|
|
36201
|
-
loc: {
|
|
36202
|
-
start: {
|
|
36203
|
-
line: 16,
|
|
36204
|
-
column: 2
|
|
36205
|
-
},
|
|
36206
|
-
end: {
|
|
36207
|
-
line: 16,
|
|
36208
|
-
column: 24
|
|
36209
|
-
}
|
|
36210
|
-
},
|
|
36211
|
-
type: "default-arg",
|
|
36212
|
-
locations: [{
|
|
36213
|
-
start: {
|
|
36214
|
-
line: 16,
|
|
36215
|
-
column: 22
|
|
36216
|
-
},
|
|
36217
|
-
end: {
|
|
36218
|
-
line: 16,
|
|
36219
|
-
column: 24
|
|
36220
|
-
}
|
|
36221
|
-
}],
|
|
36222
|
-
line: 16
|
|
36223
|
-
},
|
|
36224
|
-
"2": {
|
|
36225
|
-
loc: {
|
|
36226
|
-
start: {
|
|
36227
|
-
line: 17,
|
|
36228
|
-
column: 2
|
|
36229
|
-
},
|
|
36230
|
-
end: {
|
|
36231
|
-
line: 17,
|
|
36232
|
-
column: 20
|
|
36233
|
-
}
|
|
36234
|
-
},
|
|
36235
|
-
type: "default-arg",
|
|
36236
|
-
locations: [{
|
|
36237
|
-
start: {
|
|
36238
|
-
line: 17,
|
|
36239
|
-
column: 18
|
|
36240
|
-
},
|
|
36241
|
-
end: {
|
|
36242
|
-
line: 17,
|
|
36243
|
-
column: 20
|
|
36244
|
-
}
|
|
36245
|
-
}],
|
|
36246
|
-
line: 17
|
|
36247
|
-
},
|
|
36248
|
-
"3": {
|
|
36249
|
-
loc: {
|
|
36250
|
-
start: {
|
|
36251
|
-
line: 18,
|
|
36252
|
-
column: 2
|
|
36253
|
-
},
|
|
36254
|
-
end: {
|
|
36255
|
-
line: 18,
|
|
36256
|
-
column: 24
|
|
36257
|
-
}
|
|
36258
|
-
},
|
|
36259
|
-
type: "default-arg",
|
|
36260
|
-
locations: [{
|
|
36261
|
-
start: {
|
|
36262
|
-
line: 18,
|
|
36263
|
-
column: 20
|
|
36264
|
-
},
|
|
36265
|
-
end: {
|
|
36266
|
-
line: 18,
|
|
36267
|
-
column: 24
|
|
36268
|
-
}
|
|
36269
|
-
}],
|
|
36270
|
-
line: 18
|
|
36271
|
-
},
|
|
36272
|
-
"4": {
|
|
36273
|
-
loc: {
|
|
36274
|
-
start: {
|
|
36275
|
-
line: 24,
|
|
36276
|
-
column: 4
|
|
36277
|
-
},
|
|
36278
|
-
end: {
|
|
36279
|
-
line: 24,
|
|
36280
|
-
column: 52
|
|
36281
|
-
}
|
|
36282
|
-
},
|
|
36283
|
-
type: "binary-expr",
|
|
36284
|
-
locations: [{
|
|
36285
|
-
start: {
|
|
36286
|
-
line: 24,
|
|
36287
|
-
column: 4
|
|
36288
|
-
},
|
|
36289
|
-
end: {
|
|
36290
|
-
line: 24,
|
|
36291
|
-
column: 21
|
|
36292
|
-
}
|
|
36293
|
-
}, {
|
|
36294
|
-
start: {
|
|
36295
|
-
line: 24,
|
|
36296
|
-
column: 25
|
|
36297
|
-
},
|
|
36298
|
-
end: {
|
|
36299
|
-
line: 24,
|
|
36300
|
-
column: 52
|
|
36301
|
-
}
|
|
36302
|
-
}],
|
|
36303
|
-
line: 24
|
|
36304
|
-
},
|
|
36305
|
-
"5": {
|
|
36306
|
-
loc: {
|
|
36307
|
-
start: {
|
|
36308
|
-
line: 48,
|
|
36309
|
-
column: 7
|
|
36310
|
-
},
|
|
36311
|
-
end: {
|
|
36312
|
-
line: 53,
|
|
36313
|
-
column: 7
|
|
36314
|
-
}
|
|
36315
|
-
},
|
|
36316
|
-
type: "binary-expr",
|
|
36317
|
-
locations: [{
|
|
36318
|
-
start: {
|
|
36319
|
-
line: 48,
|
|
36320
|
-
column: 7
|
|
36321
|
-
},
|
|
36322
|
-
end: {
|
|
36323
|
-
line: 48,
|
|
36324
|
-
column: 22
|
|
36325
|
-
}
|
|
36326
|
-
}, {
|
|
36327
|
-
start: {
|
|
36328
|
-
line: 49,
|
|
36329
|
-
column: 8
|
|
36330
|
-
},
|
|
36331
|
-
end: {
|
|
36332
|
-
line: 52,
|
|
36333
|
-
column: 10
|
|
36334
|
-
}
|
|
36335
|
-
}],
|
|
36336
|
-
line: 48
|
|
36337
|
-
}
|
|
36338
|
-
},
|
|
36339
|
-
s: {
|
|
36340
|
-
"0": 0,
|
|
36341
|
-
"1": 0,
|
|
36342
|
-
"2": 0,
|
|
36343
|
-
"3": 0,
|
|
36344
|
-
"4": 0,
|
|
36345
|
-
"5": 0,
|
|
36346
|
-
"6": 0,
|
|
36347
|
-
"7": 0
|
|
36348
|
-
},
|
|
36349
|
-
f: {
|
|
36350
|
-
"0": 0,
|
|
36351
|
-
"1": 0,
|
|
36352
|
-
"2": 0,
|
|
36353
|
-
"3": 0
|
|
36354
|
-
},
|
|
36355
|
-
b: {
|
|
36356
|
-
"0": [0],
|
|
36357
|
-
"1": [0],
|
|
36358
|
-
"2": [0],
|
|
36359
|
-
"3": [0],
|
|
36360
|
-
"4": [0, 0],
|
|
36361
|
-
"5": [0, 0]
|
|
36362
|
-
},
|
|
36363
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
36364
|
-
hash: "a1f444d19a25bf57d0865d127e95f283c84f002f"
|
|
36365
|
-
};
|
|
36366
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
36367
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
36368
|
-
coverage[path] = coverageData;
|
|
36369
|
-
}
|
|
36370
|
-
var actualCoverage = coverage[path];
|
|
36371
|
-
{
|
|
36372
|
-
// @ts-ignore
|
|
36373
|
-
cov_11r0xh9z3c = function () {
|
|
36374
|
-
return actualCoverage;
|
|
36375
|
-
};
|
|
36376
|
-
}
|
|
36377
|
-
return actualCoverage;
|
|
36378
|
-
}
|
|
36379
|
-
cov_11r0xh9z3c();
|
|
36380
|
-
cov_11r0xh9z3c().s[0]++;
|
|
36381
32122
|
var Sidebar = function Sidebar(_ref) {
|
|
36382
32123
|
var navLinks = _ref.navLinks,
|
|
36383
32124
|
_ref$profileInfoOverr = _ref.profileInfoOverrides,
|
|
36384
|
-
profileInfoOverrides = _ref$profileInfoOverr === void 0 ?
|
|
32125
|
+
profileInfoOverrides = _ref$profileInfoOverr === void 0 ? {} : _ref$profileInfoOverr,
|
|
36385
32126
|
_ref$helpLinkOverride = _ref.helpLinkOverrides,
|
|
36386
|
-
helpLinkOverrides = _ref$helpLinkOverride === void 0 ?
|
|
32127
|
+
helpLinkOverrides = _ref$helpLinkOverride === void 0 ? {} : _ref$helpLinkOverride,
|
|
36387
32128
|
_ref$extraTopLinks = _ref.extraTopLinks,
|
|
36388
|
-
extraTopLinks = _ref$extraTopLinks === void 0 ?
|
|
32129
|
+
extraTopLinks = _ref$extraTopLinks === void 0 ? [] : _ref$extraTopLinks,
|
|
36389
32130
|
_ref$showAppSwitcher = _ref.showAppSwitcher,
|
|
36390
|
-
showAppSwitcher = _ref$showAppSwitcher === void 0 ?
|
|
36391
|
-
|
|
36392
|
-
|
|
36393
|
-
|
|
36394
|
-
|
|
36395
|
-
|
|
36396
|
-
var location = (cov_11r0xh9z3c().s[2]++, useLocation());
|
|
36397
|
-
cov_11r0xh9z3c().s[3]++;
|
|
32131
|
+
showAppSwitcher = _ref$showAppSwitcher === void 0 ? true : _ref$showAppSwitcher;
|
|
32132
|
+
var _useState = useState(false),
|
|
32133
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
32134
|
+
isAppSwitcherOpen = _useState2[0],
|
|
32135
|
+
setIsAppSwitcherOpen = _useState2[1];
|
|
32136
|
+
var location = useLocation();
|
|
36398
32137
|
useEffect(function () {
|
|
36399
|
-
|
|
36400
|
-
cov_11r0xh9z3c().s[4]++;
|
|
36401
|
-
(cov_11r0xh9z3c().b[4][0]++, isAppSwitcherOpen) && (cov_11r0xh9z3c().b[4][1]++, setIsAppSwitcherOpen(false));
|
|
32138
|
+
isAppSwitcherOpen && setIsAppSwitcherOpen(false);
|
|
36402
32139
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
36403
32140
|
}, [location]);
|
|
36404
|
-
cov_11r0xh9z3c().s[5]++;
|
|
36405
32141
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
36406
32142
|
"data-cy": "sidebar-wrapper",
|
|
36407
32143
|
"data-testid": "sidebar",
|
|
@@ -36414,18 +32150,14 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
36414
32150
|
profileInfoOverrides: profileInfoOverrides,
|
|
36415
32151
|
showAppSwitcher: showAppSwitcher,
|
|
36416
32152
|
onAppSwitcherToggle: function onAppSwitcherToggle() {
|
|
36417
|
-
cov_11r0xh9z3c().f[2]++;
|
|
36418
|
-
cov_11r0xh9z3c().s[6]++;
|
|
36419
32153
|
return setIsAppSwitcherOpen(not);
|
|
36420
32154
|
}
|
|
36421
|
-
})),
|
|
32155
|
+
})), showAppSwitcher && /*#__PURE__*/React.createElement(AppSwitcher, {
|
|
36422
32156
|
isOpen: isAppSwitcherOpen,
|
|
36423
32157
|
onClose: function onClose() {
|
|
36424
|
-
cov_11r0xh9z3c().f[3]++;
|
|
36425
|
-
cov_11r0xh9z3c().s[7]++;
|
|
36426
32158
|
return setIsAppSwitcherOpen(false);
|
|
36427
32159
|
}
|
|
36428
|
-
}))
|
|
32160
|
+
}));
|
|
36429
32161
|
};
|
|
36430
32162
|
|
|
36431
32163
|
export { Sidebar as default };
|