@copart/ops-tool-kit 1.11.1-alpha.2 → 1.11.1
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/ops-tool-kit.js +550 -457
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
|
33
33
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$f = "@copart/ops-tool-kit";
|
|
36
|
-
const version$5 = "1.11.1
|
|
36
|
+
const version$5 = "1.11.1";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -860,13 +860,13 @@ var b$1 = "function" === typeof Symbol && Symbol.for,
|
|
|
860
860
|
m = b$1 ? Symbol.for("react.concurrent_mode") : 60111,
|
|
861
861
|
n = b$1 ? Symbol.for("react.forward_ref") : 60112,
|
|
862
862
|
p = b$1 ? Symbol.for("react.suspense") : 60113,
|
|
863
|
-
q
|
|
863
|
+
q = b$1 ? Symbol.for("react.suspense_list") : 60120,
|
|
864
864
|
r = b$1 ? Symbol.for("react.memo") : 60115,
|
|
865
865
|
t = b$1 ? Symbol.for("react.lazy") : 60116,
|
|
866
866
|
v = b$1 ? Symbol.for("react.block") : 60121,
|
|
867
867
|
w$1 = b$1 ? Symbol.for("react.fundamental") : 60117,
|
|
868
868
|
x$1 = b$1 ? Symbol.for("react.responder") : 60118,
|
|
869
|
-
y
|
|
869
|
+
y = b$1 ? Symbol.for("react.scope") : 60119;
|
|
870
870
|
function z$1(a) {
|
|
871
871
|
if ("object" === typeof a && null !== a) {
|
|
872
872
|
var u = a.$$typeof;
|
|
@@ -951,7 +951,7 @@ var isSuspense = function (a) {
|
|
|
951
951
|
return z$1(a) === p;
|
|
952
952
|
};
|
|
953
953
|
var isValidElementType = function (a) {
|
|
954
|
-
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g$1 || a === f || a === p || a === q
|
|
954
|
+
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g$1 || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h$1 || a.$$typeof === k$1 || a.$$typeof === n || a.$$typeof === w$1 || a.$$typeof === x$1 || a.$$typeof === y || a.$$typeof === v);
|
|
955
955
|
};
|
|
956
956
|
var typeOf = z$1;
|
|
957
957
|
|
|
@@ -2906,7 +2906,7 @@ var DEFAULT_BREADCRUMBS_CONTEXT = {
|
|
|
2906
2906
|
error: 'You tried to use Breadcrumbs outside of its context.'
|
|
2907
2907
|
};
|
|
2908
2908
|
|
|
2909
|
-
var css_248z$o = ".utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Breadcrumbs {\r\n /* height: 36px;\r\n background: #3c4656; */\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--crumbs {\r\n display: flex;\r\n}\r\n\r\n#notCrumbs {\r\n height: 100%;\r\n margin-right: 12px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb {\r\n cursor: pointer;\r\n height: 100%;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n font-size: 16px;\r\n
|
|
2909
|
+
var css_248z$o = ".utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Breadcrumbs {\r\n /* height: 36px;\r\n background: #3c4656; */\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--crumbs {\r\n display: flex;\r\n}\r\n\r\n#notCrumbs {\r\n height: 100%;\r\n margin-right: 12px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb {\r\n cursor: pointer;\r\n height: 100%;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n font-size: 16px;\r\n font-weight: 400;\r\n letter-spacing: 0;\r\n /* transition: all 0.2s; */\r\n position: relative;\r\n top: -2px;\r\n color: rgba(255, 255, 255, 0.8);\r\n grid-gap: 6px;\r\n gap: 6px;\r\n margin-left: 5px;\r\n opacity: 1;\r\n}\r\n\r\n@-webkit-keyframes utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--fadeIn {\r\n 0% {\r\n opacity: 0;\r\n -webkit-transform: translateX(-6px);\r\n transform: translateX(-6px);\r\n /* transform: scale(0.9); */\r\n }\r\n 100% {\r\n opacity: 1;\r\n -webkit-transform: translateX(0px);\r\n transform: translateX(0px);\r\n /* transform: scale(1); */\r\n }\r\n}\r\n\r\n@keyframes utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--fadeIn {\r\n 0% {\r\n opacity: 0;\r\n -webkit-transform: translateX(-6px);\r\n transform: translateX(-6px);\r\n /* transform: scale(0.9); */\r\n }\r\n 100% {\r\n opacity: 1;\r\n -webkit-transform: translateX(0px);\r\n transform: translateX(0px);\r\n /* transform: scale(1); */\r\n }\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb {\r\n -webkit-animation-name: utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--fadeIn;\r\n animation-name: utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--fadeIn;\r\n -webkit-animation-duration: 0.2s;\r\n animation-duration: 0.2s;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb::before {\r\n content: '\\f054';\r\n color: rgba(255, 255, 255, 0.4);\r\n display: inline-block;\r\n font-family: 'Font Awesome 6 Pro';\r\n font-size: 16px;\r\n margin: 0 6px;\r\n position: relative;\r\n top: 2px;\r\n}\r\n\r\n/* .Crumb:first-of-type {\r\n margin-left: 12px;\r\n font-weight: 400;\r\n} */\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb:hover {\r\n /* background: rgba(0, 0, 0, 0.15); */\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb:not(:last-of-type):not(:hover) {\r\n /* opacity: 0.75; */\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb:last-of-type {\r\n font-weight: 700;\r\n opacity: 1;\r\n color: rgba(255, 255, 255, 1);\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--Crumb:last-of-type::before {\r\n font-weight: 400;\r\n /* opacity: 0.8; */\r\n}\r\n\r\n/* .crumbSpacer {} */\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--crumbs {\r\n /* margin: 10px; */\r\n flex-grow: 2;\r\n font-size: 14px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--notCrumbs {\r\n height: 100%;\r\n display: flex;\r\n margin-right: 0px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Breadcrumbs_styles_Breadcrumbs--entityIndicator {\r\n height: 100%;\r\n display: flex;\r\n margin-right: 0px !important;\r\n}";
|
|
2910
2910
|
styleInject(css_248z$o);
|
|
2911
2911
|
|
|
2912
2912
|
var Context = createContext(DEFAULT_BREADCRUMBS_CONTEXT);
|
|
@@ -3667,12 +3667,12 @@ function nonStandardBrowserEnv() {
|
|
|
3667
3667
|
|
|
3668
3668
|
// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js
|
|
3669
3669
|
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
3670
|
-
function E
|
|
3670
|
+
function E() {
|
|
3671
3671
|
this.message = 'String contains an invalid character';
|
|
3672
3672
|
}
|
|
3673
|
-
E
|
|
3674
|
-
E
|
|
3675
|
-
E
|
|
3673
|
+
E.prototype = new Error();
|
|
3674
|
+
E.prototype.code = 5;
|
|
3675
|
+
E.prototype.name = 'InvalidCharacterError';
|
|
3676
3676
|
function btoa$2(input) {
|
|
3677
3677
|
var str = String(input);
|
|
3678
3678
|
var output = '';
|
|
@@ -3687,7 +3687,7 @@ function btoa$2(input) {
|
|
|
3687
3687
|
output += map.charAt(63 & block >> 8 - idx % 1 * 8)) {
|
|
3688
3688
|
charCode = str.charCodeAt(idx += 3 / 4);
|
|
3689
3689
|
if (charCode > 0xFF) {
|
|
3690
|
-
throw new E
|
|
3690
|
+
throw new E();
|
|
3691
3691
|
}
|
|
3692
3692
|
block = block << 8 | charCode;
|
|
3693
3693
|
}
|
|
@@ -23822,7 +23822,7 @@ FeedbackDialog.defaultProps = {
|
|
|
23822
23822
|
}
|
|
23823
23823
|
};
|
|
23824
23824
|
|
|
23825
|
-
var css_248z$j = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\r\n background-color: var(--blue);\r\n background-color: var(--blue);\r\n height: 48px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n white-space: nowrap;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\r\n width: 100%;\r\n display: flex;\r\n justify-content: start;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarIcons {\r\n margin: 0 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n margin-left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\r\n display: flex;\r\n flex-direction: column;\r\n margin-left: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\r\n color: white;\r\n font-size: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\r\n color: white;\r\n cursor: pointer;\r\n font-size: 18px;\r\n display: flex;\r\n justify-content: center;\r\n margin: 0;\r\n position: relative;\r\n width: 48px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items i {\r\n color: #fff;\r\n font-size: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\r\n color: white;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n width: 6rem;\r\n margin-top: 0rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\r\n margin-top: 0.6rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\r\n margin-top: 0.4rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\r\n margin-top: -0.2rem;\r\n margin-left: 2rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n display: inline;\r\n display: initial;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Open Sans';\r\n font-style: italic;\r\n font-weight: 600;\r\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\r\n format('woff2');\r\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\r\n color: #fff;\r\n font-family: 'Open Sans', sans-serif;\r\n font-weight: 600;\r\n font-style: italic;\r\n font-size: 14px;\r\n position: relative;\r\n left: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\r\n /* margin-left: 10px;\r\n margin-right: 7px; */\r\n cursor: pointer;\r\n display: flex;\r\n align-items: center;\r\n background: #fff;\r\n color: #1D5AB9;\r\n font-weight: 600;\r\n border-radius: 4px;\r\n box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.4), 0px 1.6px 3.6px 0px rgba(0, 0, 0, 0.13), 0px 0.3px 0.9px 0px rgba(0, 0, 0, 0.10);\r\n font-size: 14px;\r\n grid-gap: 6px;\r\n gap: 6px;\r\n margin: 0 8px;\r\n padding: 4px 20px 6px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber span {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber span i {\r\n font-size: 22px;\r\n color: #1D5AB9;\r\n}\r\n\r\n/* .yardNumber > div {\r\n margin-left: 7px;\r\n} */\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchWrapper i {\r\n color: #fff;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchWrapper span {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\r\n color: white;\r\n cursor: default;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n margin: 5px;\r\n padding: 0px 10px;\r\n height: 25px;\r\n font-weight: bold;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\r\n border: 1px solid #1d5ab9;\r\n justify-content: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\r\n color: black;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\r\n color: red;\r\n margin: 5px 0px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\r\n margin-right: 5px;\r\n margin-left: 5px;\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\r\n margin-left: 5px;\r\n display: inline-flex;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\r\n line-height: unset;\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\r\n color: green;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n color: red;\r\n}\r\n\r\n/* .userMenu {\r\n margin-left: 10px !important;\r\n margin-right: 5px !important;\r\n} */\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 10px !important;\r\n margin-right: 10px !important;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 7px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\r\n margin: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\r\n cursor: pointer;\r\n position: relative;\r\n\r\n /* position: relative;\r\n top: 2px; */\r\n /* margin-left: 10px; */\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\r\n color: #fff;\r\n font-size: 22px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpDot {\r\n background-color: #ef5350;\r\n border-radius: 50%;\r\n position: absolute;\r\n top: 0px;\r\n left: 13px;\r\n width: 10px;\r\n height: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip{\r\n position: absolute;\r\n background: #fff;\r\n padding: 8px;\r\n right: 30px;\r\n top: -2px;\r\n border-radius: 2px;\r\n font-weight: 400;\r\n font-size: 12px;\r\n cursor: auto;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip::before{\r\n content: \"\";\r\n position: absolute;\r\n top: 50%;\r\n left: 100%;\r\n margin-top: -5px;\r\n border-width: 5px;\r\n border-style: solid;\r\n border-color: transparent transparent transparent #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip i{\r\n color: #000;\r\n font-size: 12px;\r\n margin-left: 5px;\r\n position: relative;\r\n top: 1px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\r\n position: absolute;\r\n display: flex;\r\n height: calc(100vh - 48px);\r\n width: 100vw;\r\n bottom: 0;\r\n z-index: 10000;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\r\n background-color: rgba(0,0,0,.5);\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st0{fill:#0075E6;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st1{fill:#6A819C;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st2{fill:#FFFFFF;}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHideButton {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 2px;\r\n right: 402px;\r\n height: 38px;\r\n width: 38px;\r\n background-color: white;\r\n z-index: 11000;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--profile {\r\n padding: 5px 7px;\r\n background: #fff;\r\n border-radius: 50%;\r\n font-weight: 600;\r\n color: #1d5ab9;\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchContainer {\r\n background: rgba(255, 255, 255, 0.40);\r\n -webkit-backdrop-filter: blur(20px);\r\n backdrop-filter: blur(20px);\r\n position: absolute;\r\n top: 50px;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n z-index: 999;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--settingsSidebarWrapper{\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 50px;\r\n width: 100vw;\r\n background-color: rgba(0,0,0,.5);\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--settingsSidebarWrapper .utilities_ops-app-frame_AppBarComponent_AppBar--settingsSidebar {\r\n width: 40vw;\r\n position: absolute;\r\n right: 0;\r\n height: calc(100vh - 50px);\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n}\r\n\r\n@media only screen and (max-width: 1024px) {\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 2px;\r\n }\r\n\r\n /* .yardNumber {\r\n margin-left: 5px;\r\n margin-right: 2px;\r\n }\r\n\r\n .yardNumber > div {\r\n margin-left: 2px;\r\n } */\r\n\r\n /* .userMenu {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n } */\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 2px;\r\n }\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--sideBarWrapper\r\n{\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 48px;\r\n width: 100vw;\r\n background-color: rgba(0,0,0,.5);\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--innerNotificationDiv\r\n{\r\n width: 50vw;\r\n position: absolute;\r\n right: 0;\r\n height: 100%;\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsHeader{\r\n font-size: 18px;\r\n font-weight: 600;\r\n padding-bottom: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsWrapper{\r\n display: flex;\r\n flex-direction: column;\r\n grid-gap: 5px;\r\n gap: 5px;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount{\r\n background-color: #ef5350;\r\n color: white;\r\n font-size: 12px;\r\n width: 1rem;\r\n border-radius: 50%;\r\n position: absolute;\r\n top: -5px;\r\n left: 22px;\r\n height: 1rem;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount.utilities_ops-app-frame_AppBarComponent_AppBar--twoChars {\r\n width: 1.1rem;\r\n height: 1.1rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount.utilities_ops-app-frame_AppBarComponent_AppBar--threeChars {\r\n width: 1.3rem;\r\n height: 1.3rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items.utilities_ops-app-frame_AppBarComponent_AppBar--notificationIconWrapper {\r\n cursor: pointer;\r\n margin-left: 12px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer {\r\n width: 0px;\r\n height: 0px;\r\n border-left: 8px solid transparent;\r\n border-right: 8px solid transparent;\r\n border-bottom: 11px solid white;\r\n position: absolute;\r\n bottom: -13px;\r\n right: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer.utilities_ops-app-frame_AppBarComponent_AppBar--ideaNoteArrow {\r\n right: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpArrow {\r\n right: 3px;\r\n bottom: -9px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer.utilities_ops-app-frame_AppBarComponent_AppBar--profileArrow {\r\n bottom: -12px;\r\n right: 8px;\r\n border-left: 7px solid transparent;\r\n border-right: 7px solid transparent;\r\n border-bottom: 10px solid white;\r\n}\r\n";
|
|
23825
|
+
var css_248z$j = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\r\n background-color: var(--blue);\r\n background-color: var(--blue);\r\n height: 48px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n white-space: nowrap;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\r\n width: 100%;\r\n display: flex;\r\n justify-content: start;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarIcons {\r\n margin: 0 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n margin-left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\r\n display: flex;\r\n flex-direction: column;\r\n margin: 3px 0 0 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\r\n color: white;\r\n font-size: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\r\n color: white;\r\n cursor: pointer;\r\n font-size: 18px;\r\n display: flex;\r\n justify-content: center;\r\n margin: 0;\r\n position: relative;\r\n width: 48px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items i {\r\n color: #fff;\r\n font-size: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\r\n color: white;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n width: 6rem;\r\n margin-top: 0rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\r\n margin-top: 0.6rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\r\n margin-top: 0.4rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\r\n margin-top: -0.2rem;\r\n margin-left: 2rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n display: inline;\r\n display: initial;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Open Sans';\r\n font-style: italic;\r\n font-weight: 600;\r\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\r\n format('woff2');\r\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\r\n color: #fff;\r\n font-family: 'Open Sans', sans-serif;\r\n font-weight: 600;\r\n font-style: italic;\r\n font-size: 14px;\r\n position: relative;\r\n left: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\r\n /* margin-left: 10px;\r\n margin-right: 7px; */\r\n cursor: pointer;\r\n display: flex;\r\n align-items: center;\r\n background: #fff;\r\n color: #1D5AB9;\r\n font-weight: 600;\r\n border-radius: 4px;\r\n box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.4), 0px 1.6px 3.6px 0px rgba(0, 0, 0, 0.13), 0px 0.3px 0.9px 0px rgba(0, 0, 0, 0.10);\r\n font-size: 14px;\r\n grid-gap: 8px;\r\n gap: 8px;\r\n margin: 0 8px;\r\n padding: 4px 20px 6px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber span {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber span i {\r\n font-size: 22px;\r\n color: #1D5AB9;\r\n}\r\n\r\n/* .yardNumber > div {\r\n margin-left: 7px;\r\n} */\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchWrapper i {\r\n color: #fff;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchWrapper span {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\r\n color: white;\r\n cursor: default;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n margin: 5px;\r\n padding: 0px 10px;\r\n height: 25px;\r\n font-weight: bold;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\r\n border: 1px solid #1d5ab9;\r\n justify-content: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\r\n color: black;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\r\n color: red;\r\n margin: 5px 0px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\r\n margin-right: 5px;\r\n margin-left: 5px;\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\r\n margin-left: 5px;\r\n display: inline-flex;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\r\n line-height: unset;\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\r\n color: green;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n color: red;\r\n}\r\n\r\n/* .userMenu {\r\n margin-left: 10px !important;\r\n margin-right: 5px !important;\r\n} */\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 10px !important;\r\n margin-right: 10px !important;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 7px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\r\n margin: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\r\n cursor: pointer;\r\n position: relative;\r\n\r\n /* position: relative;\r\n top: 2px; */\r\n /* margin-left: 10px; */\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\r\n color: #fff;\r\n font-size: 22px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpDot {\r\n background-color: #ef5350;\r\n border-radius: 50%;\r\n position: absolute;\r\n top: 0px;\r\n left: 13px;\r\n width: 10px;\r\n height: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip{\r\n position: absolute;\r\n background: #fff;\r\n padding: 8px;\r\n right: 30px;\r\n top: -2px;\r\n border-radius: 2px;\r\n font-weight: 400;\r\n font-size: 12px;\r\n cursor: auto;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip::before{\r\n content: \"\";\r\n position: absolute;\r\n top: 50%;\r\n left: 100%;\r\n margin-top: -5px;\r\n border-width: 5px;\r\n border-style: solid;\r\n border-color: transparent transparent transparent #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip i{\r\n color: #000;\r\n font-size: 12px;\r\n margin-left: 5px;\r\n position: relative;\r\n top: 1px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\r\n position: absolute;\r\n display: flex;\r\n height: calc(100vh - 48px);\r\n width: 100vw;\r\n bottom: 0;\r\n z-index: 10000;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\r\n background-color: rgba(0,0,0,.5);\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st0{fill:#0075E6;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st1{fill:#6A819C;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st2{fill:#FFFFFF;}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHideButton {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 2px;\r\n right: 402px;\r\n height: 38px;\r\n width: 38px;\r\n background-color: white;\r\n z-index: 11000;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--profile {\r\n padding: 5px 7px;\r\n background: #fff;\r\n border-radius: 50%;\r\n font-weight: 600;\r\n color: #1d5ab9;\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchContainer {\r\n background: rgba(255, 255, 255, 0.40);\r\n -webkit-backdrop-filter: blur(20px);\r\n backdrop-filter: blur(20px);\r\n position: absolute;\r\n top: 50px;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n z-index: 999;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--settingsSidebarWrapper{\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 50px;\r\n width: 100vw;\r\n background-color: rgba(0,0,0,.5);\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--settingsSidebarWrapper .utilities_ops-app-frame_AppBarComponent_AppBar--settingsSidebar {\r\n width: 40vw;\r\n position: absolute;\r\n right: 0;\r\n height: calc(100vh - 50px);\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n}\r\n\r\n@media only screen and (max-width: 1024px) {\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 2px;\r\n }\r\n\r\n /* .yardNumber {\r\n margin-left: 5px;\r\n margin-right: 2px;\r\n }\r\n\r\n .yardNumber > div {\r\n margin-left: 2px;\r\n } */\r\n\r\n /* .userMenu {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n } */\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 2px;\r\n }\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--sideBarWrapper\r\n{\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 48px;\r\n width: 100vw;\r\n background-color: rgba(0,0,0,.5);\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--innerNotificationDiv\r\n{\r\n width: 50vw;\r\n position: absolute;\r\n right: 0;\r\n height: 100%;\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsHeader{\r\n font-size: 18px;\r\n font-weight: 600;\r\n padding-bottom: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsWrapper{\r\n display: flex;\r\n flex-direction: column;\r\n grid-gap: 5px;\r\n gap: 5px;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount{\r\n background-color: #ef5350;\r\n color: white;\r\n font-size: 12px;\r\n width: 1rem;\r\n border-radius: 50%;\r\n position: absolute;\r\n top: -5px;\r\n left: 22px;\r\n height: 1rem;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount.utilities_ops-app-frame_AppBarComponent_AppBar--twoChars {\r\n width: 1.1rem;\r\n height: 1.1rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount.utilities_ops-app-frame_AppBarComponent_AppBar--threeChars {\r\n width: 1.3rem;\r\n height: 1.3rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items.utilities_ops-app-frame_AppBarComponent_AppBar--notificationIconWrapper {\r\n cursor: pointer;\r\n margin-left: 12px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer {\r\n width: 0px;\r\n height: 0px;\r\n border-left: 8px solid transparent;\r\n border-right: 8px solid transparent;\r\n border-bottom: 11px solid white;\r\n position: absolute;\r\n bottom: -13px;\r\n right: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer.utilities_ops-app-frame_AppBarComponent_AppBar--ideaNoteArrow {\r\n right: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpArrow {\r\n right: 3px;\r\n bottom: -9px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer.utilities_ops-app-frame_AppBarComponent_AppBar--profileArrow {\r\n bottom: -12px;\r\n right: 8px;\r\n border-left: 7px solid transparent;\r\n border-right: 7px solid transparent;\r\n border-bottom: 10px solid white;\r\n}\r\n";
|
|
23826
23826
|
styleInject(css_248z$j);
|
|
23827
23827
|
|
|
23828
23828
|
var LogOutMenu = function LogOutMenu(_ref) {
|
|
@@ -50551,42 +50551,42 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
50551
50551
|
* @copyright ReactTooltip Team
|
|
50552
50552
|
* @license MIT
|
|
50553
50553
|
*/
|
|
50554
|
-
const
|
|
50555
|
-
|
|
50556
|
-
|
|
50554
|
+
const h = "react-tooltip-core-styles",
|
|
50555
|
+
w = "react-tooltip-base-styles",
|
|
50556
|
+
b = {
|
|
50557
50557
|
core: !1,
|
|
50558
50558
|
base: !1
|
|
50559
50559
|
};
|
|
50560
|
-
function
|
|
50560
|
+
function S({
|
|
50561
50561
|
css: e,
|
|
50562
|
-
id: t =
|
|
50563
|
-
type:
|
|
50564
|
-
ref:
|
|
50562
|
+
id: t = w,
|
|
50563
|
+
type: o = "base",
|
|
50564
|
+
ref: l
|
|
50565
50565
|
}) {
|
|
50566
|
-
var
|
|
50567
|
-
if (!e || "undefined" == typeof document ||
|
|
50568
|
-
if ("core" ===
|
|
50569
|
-
if ("base" !==
|
|
50570
|
-
"core" ===
|
|
50566
|
+
var r, n;
|
|
50567
|
+
if (!e || "undefined" == typeof document || b[o]) return;
|
|
50568
|
+
if ("core" === o && "undefined" != typeof process && (null === (r = null === process || void 0 === process ? void 0 : process.env) || void 0 === r ? void 0 : r.REACT_TOOLTIP_DISABLE_CORE_STYLES)) return;
|
|
50569
|
+
if ("base" !== o && "undefined" != typeof process && (null === (n = null === process || void 0 === process ? void 0 : process.env) || void 0 === n ? void 0 : n.REACT_TOOLTIP_DISABLE_BASE_STYLES)) return;
|
|
50570
|
+
"core" === o && (t = h), l || (l = {});
|
|
50571
50571
|
const {
|
|
50572
|
-
insertAt:
|
|
50573
|
-
} =
|
|
50572
|
+
insertAt: c
|
|
50573
|
+
} = l;
|
|
50574
50574
|
if (document.getElementById(t)) return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);
|
|
50575
|
-
const
|
|
50575
|
+
const i = document.head || document.getElementsByTagName("head")[0],
|
|
50576
50576
|
s = document.createElement("style");
|
|
50577
|
-
s.id = t, s.type = "text/css", "top" ===
|
|
50577
|
+
s.id = t, s.type = "text/css", "top" === c && i.firstChild ? i.insertBefore(s, i.firstChild) : i.appendChild(s), s.styleSheet ? s.styleSheet.cssText = e : s.appendChild(document.createTextNode(e)), b[o] = !0;
|
|
50578
50578
|
}
|
|
50579
|
-
const
|
|
50580
|
-
let
|
|
50581
|
-
return function (...
|
|
50582
|
-
const
|
|
50583
|
-
|
|
50579
|
+
const g = (e, t, o) => {
|
|
50580
|
+
let l = null;
|
|
50581
|
+
return function (...r) {
|
|
50582
|
+
const n = () => {
|
|
50583
|
+
l = null, o || e.apply(this, r);
|
|
50584
50584
|
};
|
|
50585
|
-
|
|
50585
|
+
o && !l && (e.apply(this, r), l = setTimeout(n, t)), o || (l && clearTimeout(l), l = setTimeout(n, t));
|
|
50586
50586
|
};
|
|
50587
50587
|
},
|
|
50588
|
-
|
|
50589
|
-
|
|
50588
|
+
_ = "DEFAULT_TOOLTIP_ID",
|
|
50589
|
+
A = {
|
|
50590
50590
|
anchorRefs: new Set(),
|
|
50591
50591
|
activeAnchor: {
|
|
50592
50592
|
current: null
|
|
@@ -50595,130 +50595,133 @@ const E = (e, t, r) => {
|
|
|
50595
50595
|
detach: () => {},
|
|
50596
50596
|
setActiveAnchor: () => {}
|
|
50597
50597
|
},
|
|
50598
|
-
|
|
50599
|
-
getTooltipData: () =>
|
|
50598
|
+
O = React.createContext({
|
|
50599
|
+
getTooltipData: () => A
|
|
50600
50600
|
});
|
|
50601
|
-
function
|
|
50602
|
-
return React.useContext(
|
|
50601
|
+
function k(e = _) {
|
|
50602
|
+
return React.useContext(O).getTooltipData(e);
|
|
50603
50603
|
}
|
|
50604
|
-
const
|
|
50605
|
-
|
|
50604
|
+
const C = "undefined" != typeof window ? React.useLayoutEffect : React.useEffect,
|
|
50605
|
+
R = e => {
|
|
50606
50606
|
if (!(e instanceof HTMLElement || e instanceof SVGElement)) return !1;
|
|
50607
50607
|
const t = getComputedStyle(e);
|
|
50608
50608
|
return ["overflow", "overflow-x", "overflow-y"].some(e => {
|
|
50609
|
-
const
|
|
50610
|
-
return "auto" ===
|
|
50609
|
+
const o = t.getPropertyValue(e);
|
|
50610
|
+
return "auto" === o || "scroll" === o;
|
|
50611
50611
|
});
|
|
50612
50612
|
},
|
|
50613
|
-
|
|
50613
|
+
x = e => {
|
|
50614
50614
|
if (!e) return null;
|
|
50615
50615
|
let t = e.parentElement;
|
|
50616
50616
|
for (; t;) {
|
|
50617
|
-
if (
|
|
50617
|
+
if (R(t)) return t;
|
|
50618
50618
|
t = t.parentElement;
|
|
50619
50619
|
}
|
|
50620
50620
|
return document.scrollingElement || document.documentElement;
|
|
50621
50621
|
},
|
|
50622
|
-
|
|
50622
|
+
N = async ({
|
|
50623
50623
|
elementReference: e = null,
|
|
50624
50624
|
tooltipReference: t = null,
|
|
50625
|
-
tooltipArrowReference:
|
|
50626
|
-
place:
|
|
50627
|
-
offset:
|
|
50628
|
-
strategy:
|
|
50629
|
-
middlewares:
|
|
50625
|
+
tooltipArrowReference: o = null,
|
|
50626
|
+
place: l = "top",
|
|
50627
|
+
offset: r = 10,
|
|
50628
|
+
strategy: n = "absolute",
|
|
50629
|
+
middlewares: c = [offset(Number(r)), flip(), shift({
|
|
50630
50630
|
padding: 5
|
|
50631
50631
|
})],
|
|
50632
|
-
border:
|
|
50632
|
+
border: i
|
|
50633
50633
|
}) => {
|
|
50634
50634
|
if (!e) return {
|
|
50635
50635
|
tooltipStyles: {},
|
|
50636
50636
|
tooltipArrowStyles: {},
|
|
50637
|
-
place:
|
|
50637
|
+
place: l
|
|
50638
50638
|
};
|
|
50639
50639
|
if (null === t) return {
|
|
50640
50640
|
tooltipStyles: {},
|
|
50641
50641
|
tooltipArrowStyles: {},
|
|
50642
|
-
place:
|
|
50642
|
+
place: l
|
|
50643
50643
|
};
|
|
50644
|
-
const s =
|
|
50645
|
-
return
|
|
50646
|
-
element:
|
|
50644
|
+
const s = c;
|
|
50645
|
+
return o ? (s.push(arrow({
|
|
50646
|
+
element: o,
|
|
50647
50647
|
padding: 5
|
|
50648
50648
|
})), computePosition(e, t, {
|
|
50649
|
-
placement:
|
|
50650
|
-
strategy:
|
|
50649
|
+
placement: l,
|
|
50650
|
+
strategy: n,
|
|
50651
50651
|
middleware: s
|
|
50652
50652
|
}).then(({
|
|
50653
50653
|
x: e,
|
|
50654
50654
|
y: t,
|
|
50655
|
-
placement:
|
|
50656
|
-
middlewareData:
|
|
50655
|
+
placement: o,
|
|
50656
|
+
middlewareData: l
|
|
50657
50657
|
}) => {
|
|
50658
|
-
var
|
|
50659
|
-
const
|
|
50658
|
+
var r, n;
|
|
50659
|
+
const c = {
|
|
50660
50660
|
left: `${e}px`,
|
|
50661
50661
|
top: `${t}px`,
|
|
50662
|
-
border:
|
|
50662
|
+
border: i
|
|
50663
50663
|
},
|
|
50664
50664
|
{
|
|
50665
50665
|
x: s,
|
|
50666
50666
|
y: a
|
|
50667
|
-
} = null !== (
|
|
50667
|
+
} = null !== (r = l.arrow) && void 0 !== r ? r : {
|
|
50668
50668
|
x: 0,
|
|
50669
50669
|
y: 0
|
|
50670
50670
|
},
|
|
50671
|
-
|
|
50671
|
+
d = null !== (n = {
|
|
50672
50672
|
top: "bottom",
|
|
50673
50673
|
right: "left",
|
|
50674
50674
|
bottom: "top",
|
|
50675
50675
|
left: "right"
|
|
50676
|
-
}[
|
|
50677
|
-
|
|
50678
|
-
borderBottom:
|
|
50679
|
-
borderRight:
|
|
50676
|
+
}[o.split("-")[0]]) && void 0 !== n ? n : "bottom",
|
|
50677
|
+
u = i && {
|
|
50678
|
+
borderBottom: i,
|
|
50679
|
+
borderRight: i
|
|
50680
50680
|
};
|
|
50681
50681
|
let p = 0;
|
|
50682
|
-
if (
|
|
50683
|
-
const e = `${
|
|
50682
|
+
if (i) {
|
|
50683
|
+
const e = `${i}`.match(/(\d+)px/);
|
|
50684
50684
|
p = (null == e ? void 0 : e[1]) ? Number(e[1]) : 1;
|
|
50685
50685
|
}
|
|
50686
50686
|
return {
|
|
50687
|
-
tooltipStyles:
|
|
50687
|
+
tooltipStyles: c,
|
|
50688
50688
|
tooltipArrowStyles: {
|
|
50689
50689
|
left: null != s ? `${s}px` : "",
|
|
50690
50690
|
top: null != a ? `${a}px` : "",
|
|
50691
50691
|
right: "",
|
|
50692
50692
|
bottom: "",
|
|
50693
|
-
...
|
|
50694
|
-
[
|
|
50693
|
+
...u,
|
|
50694
|
+
[d]: `-${4 + p}px`
|
|
50695
50695
|
},
|
|
50696
|
-
place:
|
|
50696
|
+
place: o
|
|
50697
50697
|
};
|
|
50698
50698
|
})) : computePosition(e, t, {
|
|
50699
50699
|
placement: "bottom",
|
|
50700
|
-
strategy:
|
|
50700
|
+
strategy: n,
|
|
50701
50701
|
middleware: s
|
|
50702
50702
|
}).then(({
|
|
50703
50703
|
x: e,
|
|
50704
50704
|
y: t,
|
|
50705
|
-
placement:
|
|
50705
|
+
placement: o
|
|
50706
50706
|
}) => ({
|
|
50707
50707
|
tooltipStyles: {
|
|
50708
50708
|
left: `${e}px`,
|
|
50709
50709
|
top: `${t}px`
|
|
50710
50710
|
},
|
|
50711
50711
|
tooltipArrowStyles: {},
|
|
50712
|
-
place:
|
|
50712
|
+
place: o
|
|
50713
50713
|
}));
|
|
50714
50714
|
};
|
|
50715
|
-
var
|
|
50716
|
-
|
|
50717
|
-
|
|
50718
|
-
|
|
50719
|
-
|
|
50720
|
-
|
|
50721
|
-
|
|
50715
|
+
var $ = {
|
|
50716
|
+
tooltip: "core-styles-module_tooltip__3vRRp",
|
|
50717
|
+
fixed: "core-styles-module_fixed__pcSol",
|
|
50718
|
+
arrow: "core-styles-module_arrow__cvMwQ",
|
|
50719
|
+
noArrow: "core-styles-module_noArrow__xock6",
|
|
50720
|
+
clickable: "core-styles-module_clickable__ZuTTB",
|
|
50721
|
+
show: "core-styles-module_show__Nt9eE",
|
|
50722
|
+
closing: "core-styles-module_closing__sGnxF"
|
|
50723
|
+
},
|
|
50724
|
+
j = {
|
|
50722
50725
|
tooltip: "styles-module_tooltip__mnnfp",
|
|
50723
50726
|
arrow: "styles-module_arrow__K0L3T",
|
|
50724
50727
|
dark: "styles-module_dark__xNqje",
|
|
@@ -50728,352 +50731,433 @@ var x = "core-styles-module_tooltip__3vRRp",
|
|
|
50728
50731
|
error: "styles-module_error__JvumD",
|
|
50729
50732
|
info: "styles-module_info__BWdHW"
|
|
50730
50733
|
};
|
|
50731
|
-
const
|
|
50732
|
-
|
|
50734
|
+
const I = ({
|
|
50735
|
+
forwardRef: t,
|
|
50736
|
+
id: r,
|
|
50733
50737
|
className: n,
|
|
50734
|
-
classNameArrow:
|
|
50735
|
-
variant:
|
|
50736
|
-
anchorId:
|
|
50737
|
-
anchorSelect:
|
|
50738
|
-
place:
|
|
50739
|
-
offset:
|
|
50740
|
-
events:
|
|
50741
|
-
openOnClick:
|
|
50742
|
-
positionStrategy:
|
|
50743
|
-
middlewares:
|
|
50744
|
-
wrapper:
|
|
50745
|
-
delayShow:
|
|
50746
|
-
delayHide:
|
|
50747
|
-
float:
|
|
50748
|
-
hidden:
|
|
50749
|
-
noArrow:
|
|
50750
|
-
clickable:
|
|
50751
|
-
closeOnEsc:
|
|
50752
|
-
closeOnScroll:
|
|
50738
|
+
classNameArrow: s,
|
|
50739
|
+
variant: d = "dark",
|
|
50740
|
+
anchorId: u,
|
|
50741
|
+
anchorSelect: p,
|
|
50742
|
+
place: v = "top",
|
|
50743
|
+
offset: m = 10,
|
|
50744
|
+
events: h = ["hover"],
|
|
50745
|
+
openOnClick: w = !1,
|
|
50746
|
+
positionStrategy: b = "absolute",
|
|
50747
|
+
middlewares: S,
|
|
50748
|
+
wrapper: E,
|
|
50749
|
+
delayShow: _ = 0,
|
|
50750
|
+
delayHide: A = 0,
|
|
50751
|
+
float: O = !1,
|
|
50752
|
+
hidden: T = !1,
|
|
50753
|
+
noArrow: L = !1,
|
|
50754
|
+
clickable: R = !1,
|
|
50755
|
+
closeOnEsc: I = !1,
|
|
50756
|
+
closeOnScroll: B = !1,
|
|
50753
50757
|
closeOnResize: z = !1,
|
|
50754
|
-
|
|
50755
|
-
|
|
50756
|
-
|
|
50757
|
-
|
|
50758
|
-
|
|
50759
|
-
|
|
50760
|
-
|
|
50761
|
-
|
|
50758
|
+
openEvents: D,
|
|
50759
|
+
closeEvents: q,
|
|
50760
|
+
globalCloseEvents: H,
|
|
50761
|
+
imperativeModeOnly: M,
|
|
50762
|
+
style: W,
|
|
50763
|
+
position: P,
|
|
50764
|
+
afterShow: F,
|
|
50765
|
+
afterHide: K,
|
|
50766
|
+
content: U,
|
|
50767
|
+
contentWrapperRef: X,
|
|
50768
|
+
isOpen: Y,
|
|
50769
|
+
setIsOpen: G,
|
|
50762
50770
|
activeAnchor: V,
|
|
50763
50771
|
setActiveAnchor: Z,
|
|
50764
|
-
border:
|
|
50765
|
-
opacity:
|
|
50766
|
-
arrowColor:
|
|
50772
|
+
border: J,
|
|
50773
|
+
opacity: Q,
|
|
50774
|
+
arrowColor: ee
|
|
50767
50775
|
}) => {
|
|
50768
|
-
|
|
50769
|
-
|
|
50776
|
+
var te;
|
|
50777
|
+
const oe = React.useRef(null),
|
|
50778
|
+
le = React.useRef(null),
|
|
50770
50779
|
re = React.useRef(null),
|
|
50771
|
-
|
|
50772
|
-
[
|
|
50773
|
-
[ie, ce] = React.useState({}),
|
|
50780
|
+
ne = React.useRef(null),
|
|
50781
|
+
[ce, ie] = React.useState(v),
|
|
50774
50782
|
[se, ae] = React.useState({}),
|
|
50775
|
-
[
|
|
50783
|
+
[de, ue] = React.useState({}),
|
|
50776
50784
|
[pe, ve] = React.useState(!1),
|
|
50777
|
-
me = React.
|
|
50778
|
-
|
|
50779
|
-
{
|
|
50780
|
-
anchorRefs: ye,
|
|
50781
|
-
setActiveAnchor: he
|
|
50782
|
-
} = O(t),
|
|
50785
|
+
[me, fe] = React.useState(!1),
|
|
50786
|
+
[ye, he] = React.useState(null),
|
|
50783
50787
|
we = React.useRef(!1),
|
|
50784
|
-
|
|
50785
|
-
|
|
50786
|
-
|
|
50787
|
-
|
|
50788
|
-
|
|
50789
|
-
|
|
50790
|
-
|
|
50791
|
-
|
|
50792
|
-
|
|
50793
|
-
|
|
50794
|
-
|
|
50795
|
-
|
|
50796
|
-
|
|
50797
|
-
|
|
50798
|
-
|
|
50799
|
-
|
|
50800
|
-
|
|
50801
|
-
|
|
50802
|
-
|
|
50788
|
+
be = React.useRef(null),
|
|
50789
|
+
{
|
|
50790
|
+
anchorRefs: Se,
|
|
50791
|
+
setActiveAnchor: Ee
|
|
50792
|
+
} = k(r),
|
|
50793
|
+
ge = React.useRef(!1),
|
|
50794
|
+
[_e, Ae] = React.useState([]),
|
|
50795
|
+
Oe = React.useRef(!1),
|
|
50796
|
+
Te = w || h.includes("click"),
|
|
50797
|
+
ke = Te || (null == D ? void 0 : D.click) || (null == D ? void 0 : D.dblclick) || (null == D ? void 0 : D.mousedown),
|
|
50798
|
+
Le = D ? {
|
|
50799
|
+
...D
|
|
50800
|
+
} : {
|
|
50801
|
+
mouseenter: !0,
|
|
50802
|
+
focus: !0,
|
|
50803
|
+
click: !1,
|
|
50804
|
+
dblclick: !1,
|
|
50805
|
+
mousedown: !1
|
|
50806
|
+
};
|
|
50807
|
+
!D && Te && Object.assign(Le, {
|
|
50808
|
+
mouseenter: !1,
|
|
50809
|
+
focus: !1,
|
|
50810
|
+
click: !0
|
|
50811
|
+
});
|
|
50812
|
+
const Ce = q ? {
|
|
50813
|
+
...q
|
|
50814
|
+
} : {
|
|
50815
|
+
mouseleave: !0,
|
|
50816
|
+
blur: !0,
|
|
50817
|
+
click: !1,
|
|
50818
|
+
dblclick: !1,
|
|
50819
|
+
mouseup: !1
|
|
50820
|
+
};
|
|
50821
|
+
!q && Te && Object.assign(Ce, {
|
|
50822
|
+
mouseleave: !1,
|
|
50823
|
+
blur: !1
|
|
50824
|
+
});
|
|
50825
|
+
const Re = H ? {
|
|
50826
|
+
...H
|
|
50827
|
+
} : {
|
|
50828
|
+
escape: I || !1,
|
|
50829
|
+
scroll: B || !1,
|
|
50830
|
+
resize: z || !1,
|
|
50831
|
+
clickOutsideAnchor: ke || !1
|
|
50832
|
+
};
|
|
50833
|
+
M && (Object.assign(Le, {
|
|
50834
|
+
mouseenter: !1,
|
|
50835
|
+
focus: !1,
|
|
50836
|
+
click: !1,
|
|
50837
|
+
dblclick: !1,
|
|
50838
|
+
mousedown: !1
|
|
50839
|
+
}), Object.assign(Ce, {
|
|
50840
|
+
mouseleave: !1,
|
|
50841
|
+
blur: !1,
|
|
50842
|
+
click: !1,
|
|
50843
|
+
dblclick: !1,
|
|
50844
|
+
mouseup: !1
|
|
50845
|
+
}), Object.assign(Re, {
|
|
50846
|
+
escape: !1,
|
|
50847
|
+
scroll: !1,
|
|
50848
|
+
resize: !1,
|
|
50849
|
+
clickOutsideAnchor: !1
|
|
50850
|
+
})), C(() => (Oe.current = !0, () => {
|
|
50851
|
+
Oe.current = !1;
|
|
50852
|
+
}), []);
|
|
50853
|
+
const xe = e => {
|
|
50854
|
+
Oe.current && (e && fe(!0), setTimeout(() => {
|
|
50855
|
+
Oe.current && (null == G || G(e), void 0 === Y && ve(e));
|
|
50803
50856
|
}, 10));
|
|
50804
50857
|
};
|
|
50805
50858
|
React.useEffect(() => {
|
|
50806
|
-
if (void 0 ===
|
|
50807
|
-
|
|
50859
|
+
if (void 0 === Y) return () => null;
|
|
50860
|
+
Y && fe(!0);
|
|
50808
50861
|
const e = setTimeout(() => {
|
|
50809
|
-
|
|
50862
|
+
ve(Y);
|
|
50810
50863
|
}, 10);
|
|
50811
50864
|
return () => {
|
|
50812
50865
|
clearTimeout(e);
|
|
50813
50866
|
};
|
|
50814
|
-
}, [
|
|
50815
|
-
|
|
50816
|
-
}, [
|
|
50817
|
-
const
|
|
50818
|
-
|
|
50819
|
-
|
|
50867
|
+
}, [Y]), React.useEffect(() => {
|
|
50868
|
+
pe !== we.current && (we.current = pe, pe && (null == F || F()));
|
|
50869
|
+
}, [pe]);
|
|
50870
|
+
const Ne = (e = _) => {
|
|
50871
|
+
re.current && clearTimeout(re.current), re.current = setTimeout(() => {
|
|
50872
|
+
xe(!0);
|
|
50820
50873
|
}, e);
|
|
50821
50874
|
},
|
|
50822
|
-
|
|
50875
|
+
$e = (e = A) => {
|
|
50876
|
+
ne.current && clearTimeout(ne.current), ne.current = setTimeout(() => {
|
|
50877
|
+
ge.current || xe(!1);
|
|
50878
|
+
}, e);
|
|
50879
|
+
},
|
|
50880
|
+
je = e => {
|
|
50823
50881
|
var t;
|
|
50824
50882
|
if (!e) return;
|
|
50825
|
-
const
|
|
50826
|
-
if (!(null ==
|
|
50883
|
+
const o = null !== (t = e.currentTarget) && void 0 !== t ? t : e.target;
|
|
50884
|
+
if (!(null == o ? void 0 : o.isConnected)) return Z(null), void Ee({
|
|
50827
50885
|
current: null
|
|
50828
50886
|
});
|
|
50829
|
-
|
|
50830
|
-
|
|
50831
|
-
},
|
|
50832
|
-
current: r
|
|
50833
|
-
}), oe.current && clearTimeout(oe.current);
|
|
50887
|
+
_ ? Ne() : xe(!0), Z(o), Ee({
|
|
50888
|
+
current: o
|
|
50889
|
+
}), ne.current && clearTimeout(ne.current);
|
|
50834
50890
|
},
|
|
50835
|
-
|
|
50836
|
-
|
|
50891
|
+
Ie = () => {
|
|
50892
|
+
R ? $e(A || 100) : A ? $e() : xe(!1), re.current && clearTimeout(re.current);
|
|
50837
50893
|
},
|
|
50838
|
-
|
|
50894
|
+
Be = ({
|
|
50839
50895
|
x: e,
|
|
50840
50896
|
y: t
|
|
50841
50897
|
}) => {
|
|
50842
|
-
|
|
50843
|
-
|
|
50844
|
-
|
|
50845
|
-
|
|
50846
|
-
|
|
50847
|
-
|
|
50848
|
-
|
|
50849
|
-
|
|
50850
|
-
|
|
50851
|
-
|
|
50852
|
-
|
|
50853
|
-
|
|
50854
|
-
|
|
50855
|
-
|
|
50856
|
-
|
|
50857
|
-
|
|
50858
|
-
|
|
50859
|
-
|
|
50860
|
-
|
|
50861
|
-
|
|
50898
|
+
var o;
|
|
50899
|
+
const l = {
|
|
50900
|
+
getBoundingClientRect: () => ({
|
|
50901
|
+
x: e,
|
|
50902
|
+
y: t,
|
|
50903
|
+
width: 0,
|
|
50904
|
+
height: 0,
|
|
50905
|
+
top: t,
|
|
50906
|
+
left: e,
|
|
50907
|
+
right: e,
|
|
50908
|
+
bottom: t
|
|
50909
|
+
})
|
|
50910
|
+
};
|
|
50911
|
+
N({
|
|
50912
|
+
place: null !== (o = null == ye ? void 0 : ye.place) && void 0 !== o ? o : v,
|
|
50913
|
+
offset: m,
|
|
50914
|
+
elementReference: l,
|
|
50915
|
+
tooltipReference: oe.current,
|
|
50916
|
+
tooltipArrowReference: le.current,
|
|
50917
|
+
strategy: b,
|
|
50918
|
+
middlewares: S,
|
|
50919
|
+
border: J
|
|
50862
50920
|
}).then(e => {
|
|
50863
|
-
Object.keys(e.tooltipStyles).length &&
|
|
50921
|
+
Object.keys(e.tooltipStyles).length && ae(e.tooltipStyles), Object.keys(e.tooltipArrowStyles).length && ue(e.tooltipArrowStyles), ie(e.place);
|
|
50864
50922
|
});
|
|
50865
50923
|
},
|
|
50866
|
-
|
|
50924
|
+
ze = e => {
|
|
50867
50925
|
if (!e) return;
|
|
50868
50926
|
const t = e,
|
|
50869
|
-
|
|
50927
|
+
o = {
|
|
50870
50928
|
x: t.clientX,
|
|
50871
50929
|
y: t.clientY
|
|
50872
50930
|
};
|
|
50873
|
-
|
|
50931
|
+
Be(o), be.current = o;
|
|
50874
50932
|
},
|
|
50875
|
-
|
|
50876
|
-
Te(e), g && Ae();
|
|
50877
|
-
},
|
|
50878
|
-
Ne = e => {
|
|
50933
|
+
De = e => {
|
|
50879
50934
|
var t;
|
|
50880
|
-
|
|
50935
|
+
if (!pe) return;
|
|
50936
|
+
const o = e.target;
|
|
50937
|
+
if (null === (t = oe.current) || void 0 === t ? void 0 : t.contains(o)) return;
|
|
50938
|
+
[document.querySelector(`[id='${u}']`), ..._e].some(e => null == e ? void 0 : e.contains(o)) || (xe(!1), re.current && clearTimeout(re.current));
|
|
50881
50939
|
},
|
|
50882
|
-
|
|
50883
|
-
|
|
50884
|
-
|
|
50885
|
-
|
|
50886
|
-
|
|
50887
|
-
|
|
50940
|
+
qe = g(je, 50, !0),
|
|
50941
|
+
He = g(Ie, 50, !0),
|
|
50942
|
+
Me = React.useCallback(() => {
|
|
50943
|
+
var e, t;
|
|
50944
|
+
const o = null !== (e = null == ye ? void 0 : ye.position) && void 0 !== e ? e : P;
|
|
50945
|
+
o ? Be(o) : O ? be.current && Be(be.current) : (null == V ? void 0 : V.isConnected) && N({
|
|
50946
|
+
place: null !== (t = null == ye ? void 0 : ye.place) && void 0 !== t ? t : v,
|
|
50947
|
+
offset: m,
|
|
50888
50948
|
elementReference: V,
|
|
50889
|
-
tooltipReference:
|
|
50890
|
-
tooltipArrowReference:
|
|
50891
|
-
strategy:
|
|
50892
|
-
middlewares:
|
|
50893
|
-
border:
|
|
50949
|
+
tooltipReference: oe.current,
|
|
50950
|
+
tooltipArrowReference: le.current,
|
|
50951
|
+
strategy: b,
|
|
50952
|
+
middlewares: S,
|
|
50953
|
+
border: J
|
|
50894
50954
|
}).then(e => {
|
|
50895
|
-
|
|
50955
|
+
Oe.current && (Object.keys(e.tooltipStyles).length && ae(e.tooltipStyles), Object.keys(e.tooltipArrowStyles).length && ue(e.tooltipArrowStyles), ie(e.place));
|
|
50896
50956
|
});
|
|
50897
|
-
}, [
|
|
50957
|
+
}, [pe, V, U, W, v, null == ye ? void 0 : ye.place, m, b, P, null == ye ? void 0 : ye.position, O]);
|
|
50898
50958
|
React.useEffect(() => {
|
|
50899
50959
|
var e, t;
|
|
50900
|
-
const
|
|
50901
|
-
|
|
50902
|
-
|
|
50960
|
+
const o = new Set(Se);
|
|
50961
|
+
_e.forEach(e => {
|
|
50962
|
+
o.add({
|
|
50903
50963
|
current: e
|
|
50904
50964
|
});
|
|
50905
50965
|
});
|
|
50906
|
-
const
|
|
50907
|
-
|
|
50908
|
-
current:
|
|
50966
|
+
const l = document.querySelector(`[id='${u}']`);
|
|
50967
|
+
l && o.add({
|
|
50968
|
+
current: l
|
|
50909
50969
|
});
|
|
50910
|
-
const
|
|
50911
|
-
|
|
50970
|
+
const r = () => {
|
|
50971
|
+
xe(!1);
|
|
50912
50972
|
},
|
|
50913
|
-
|
|
50914
|
-
|
|
50915
|
-
|
|
50916
|
-
let
|
|
50917
|
-
|
|
50973
|
+
n = x(V),
|
|
50974
|
+
c = x(oe.current);
|
|
50975
|
+
Re.scroll && (window.addEventListener("scroll", r), null == n || n.addEventListener("scroll", r), null == c || c.addEventListener("scroll", r));
|
|
50976
|
+
let i = null;
|
|
50977
|
+
Re.resize ? window.addEventListener("resize", r) : V && oe.current && (i = autoUpdate(V, oe.current, Me, {
|
|
50918
50978
|
ancestorResize: !0,
|
|
50919
50979
|
elementResize: !0,
|
|
50920
50980
|
layoutShift: !0
|
|
50921
50981
|
}));
|
|
50922
50982
|
const s = e => {
|
|
50923
|
-
"Escape" === e.key &&
|
|
50983
|
+
"Escape" === e.key && xe(!1);
|
|
50924
50984
|
};
|
|
50925
|
-
|
|
50926
|
-
const
|
|
50927
|
-
|
|
50928
|
-
|
|
50929
|
-
listener: Ce
|
|
50930
|
-
})) : (u.push({
|
|
50931
|
-
event: "mouseenter",
|
|
50932
|
-
listener: ke
|
|
50933
|
-
}, {
|
|
50934
|
-
event: "mouseleave",
|
|
50935
|
-
listener: xe
|
|
50936
|
-
}, {
|
|
50937
|
-
event: "focus",
|
|
50938
|
-
listener: ke
|
|
50939
|
-
}, {
|
|
50940
|
-
event: "blur",
|
|
50941
|
-
listener: xe
|
|
50942
|
-
}), _ && u.push({
|
|
50943
|
-
event: "mousemove",
|
|
50944
|
-
listener: Re
|
|
50945
|
-
}));
|
|
50946
|
-
const d = () => {
|
|
50947
|
-
we.current = !0;
|
|
50985
|
+
Re.escape && window.addEventListener("keydown", s), Re.clickOutsideAnchor && window.addEventListener("click", De);
|
|
50986
|
+
const a = [],
|
|
50987
|
+
d = e => {
|
|
50988
|
+
pe || je(e);
|
|
50948
50989
|
},
|
|
50949
50990
|
p = () => {
|
|
50950
|
-
|
|
50991
|
+
pe && Ie();
|
|
50992
|
+
},
|
|
50993
|
+
v = ["mouseenter", "mouseleave", "focus", "blur"],
|
|
50994
|
+
m = ["click", "dblclick", "mousedown", "mouseup"];
|
|
50995
|
+
Object.entries(Le).forEach(([e, t]) => {
|
|
50996
|
+
t && (v.includes(e) ? a.push({
|
|
50997
|
+
event: e,
|
|
50998
|
+
listener: qe
|
|
50999
|
+
}) : m.includes(e) && a.push({
|
|
51000
|
+
event: e,
|
|
51001
|
+
listener: d
|
|
51002
|
+
}));
|
|
51003
|
+
}), Object.entries(Ce).forEach(([e, t]) => {
|
|
51004
|
+
t && (v.includes(e) ? a.push({
|
|
51005
|
+
event: e,
|
|
51006
|
+
listener: He
|
|
51007
|
+
}) : m.includes(e) && a.push({
|
|
51008
|
+
event: e,
|
|
51009
|
+
listener: p
|
|
51010
|
+
}));
|
|
51011
|
+
}), O && a.push({
|
|
51012
|
+
event: "mousemove",
|
|
51013
|
+
listener: ze
|
|
51014
|
+
});
|
|
51015
|
+
const y = () => {
|
|
51016
|
+
ge.current = !0;
|
|
51017
|
+
},
|
|
51018
|
+
h = () => {
|
|
51019
|
+
ge.current = !1, Ie();
|
|
50951
51020
|
};
|
|
50952
|
-
return
|
|
51021
|
+
return R && !ke && (null === (e = oe.current) || void 0 === e || e.addEventListener("mouseenter", y), null === (t = oe.current) || void 0 === t || t.addEventListener("mouseleave", h)), a.forEach(({
|
|
50953
51022
|
event: e,
|
|
50954
51023
|
listener: t
|
|
50955
51024
|
}) => {
|
|
50956
|
-
|
|
50957
|
-
var
|
|
50958
|
-
null === (
|
|
51025
|
+
o.forEach(o => {
|
|
51026
|
+
var l;
|
|
51027
|
+
null === (l = o.current) || void 0 === l || l.addEventListener(e, t);
|
|
50959
51028
|
});
|
|
50960
51029
|
}), () => {
|
|
50961
51030
|
var e, t;
|
|
50962
|
-
|
|
51031
|
+
Re.scroll && (window.removeEventListener("scroll", r), null == n || n.removeEventListener("scroll", r), null == c || c.removeEventListener("scroll", r)), Re.resize ? window.removeEventListener("resize", r) : null == i || i(), Re.clickOutsideAnchor && window.removeEventListener("click", De), Re.escape && window.removeEventListener("keydown", s), R && !ke && (null === (e = oe.current) || void 0 === e || e.removeEventListener("mouseenter", y), null === (t = oe.current) || void 0 === t || t.removeEventListener("mouseleave", h)), a.forEach(({
|
|
50963
51032
|
event: e,
|
|
50964
51033
|
listener: t
|
|
50965
51034
|
}) => {
|
|
50966
|
-
|
|
50967
|
-
var
|
|
50968
|
-
null === (
|
|
51035
|
+
o.forEach(o => {
|
|
51036
|
+
var l;
|
|
51037
|
+
null === (l = o.current) || void 0 === l || l.removeEventListener(e, t);
|
|
50969
51038
|
});
|
|
50970
51039
|
});
|
|
50971
51040
|
};
|
|
50972
|
-
}, [V,
|
|
50973
|
-
|
|
50974
|
-
|
|
50975
|
-
|
|
50976
|
-
|
|
50977
|
-
|
|
50978
|
-
|
|
50979
|
-
|
|
50980
|
-
|
|
51041
|
+
}, [V, Me, me, Se, _e, D, q, H, Te]), React.useEffect(() => {
|
|
51042
|
+
var e, t;
|
|
51043
|
+
let o = null !== (t = null !== (e = null == ye ? void 0 : ye.anchorSelect) && void 0 !== e ? e : p) && void 0 !== t ? t : "";
|
|
51044
|
+
!o && r && (o = `[data-tooltip-id='${r}']`);
|
|
51045
|
+
const l = new MutationObserver(e => {
|
|
51046
|
+
const t = [],
|
|
51047
|
+
l = [];
|
|
51048
|
+
e.forEach(e => {
|
|
51049
|
+
if ("attributes" === e.type && "data-tooltip-id" === e.attributeName) {
|
|
51050
|
+
e.target.getAttribute("data-tooltip-id") === r && t.push(e.target);
|
|
50981
51051
|
}
|
|
50982
|
-
if ("childList" ===
|
|
51052
|
+
if ("childList" === e.type) {
|
|
50983
51053
|
if (V) {
|
|
50984
|
-
const t = [...
|
|
50985
|
-
if (
|
|
50986
|
-
|
|
51054
|
+
const t = [...e.removedNodes].filter(e => 1 === e.nodeType);
|
|
51055
|
+
if (o) try {
|
|
51056
|
+
l.push(...t.filter(e => e.matches(o))), l.push(...t.flatMap(e => [...e.querySelectorAll(o)]));
|
|
50987
51057
|
} catch (e) {}
|
|
50988
51058
|
t.some(e => {
|
|
50989
51059
|
var t;
|
|
50990
|
-
return !!(null === (t = null == e ? void 0 : e.contains) || void 0 === t ? void 0 : t.call(e, V)) && (
|
|
51060
|
+
return !!(null === (t = null == e ? void 0 : e.contains) || void 0 === t ? void 0 : t.call(e, V)) && (fe(!1), xe(!1), Z(null), re.current && clearTimeout(re.current), ne.current && clearTimeout(ne.current), !0);
|
|
50991
51061
|
});
|
|
50992
51062
|
}
|
|
50993
|
-
if (
|
|
50994
|
-
const
|
|
50995
|
-
|
|
51063
|
+
if (o) try {
|
|
51064
|
+
const l = [...e.addedNodes].filter(e => 1 === e.nodeType);
|
|
51065
|
+
t.push(...l.filter(e => e.matches(o))), t.push(...l.flatMap(e => [...e.querySelectorAll(o)]));
|
|
50996
51066
|
} catch (e) {}
|
|
50997
51067
|
}
|
|
50998
|
-
}), (
|
|
51068
|
+
}), (t.length || l.length) && Ae(e => [...e.filter(e => !l.includes(e)), ...t]);
|
|
50999
51069
|
});
|
|
51000
|
-
return
|
|
51070
|
+
return l.observe(document.body, {
|
|
51001
51071
|
childList: !0,
|
|
51002
51072
|
subtree: !0,
|
|
51003
51073
|
attributes: !0,
|
|
51004
51074
|
attributeFilter: ["data-tooltip-id"]
|
|
51005
51075
|
}), () => {
|
|
51006
|
-
|
|
51076
|
+
l.disconnect();
|
|
51007
51077
|
};
|
|
51008
|
-
}, [
|
|
51009
|
-
|
|
51010
|
-
}, [
|
|
51011
|
-
if (!(null ==
|
|
51078
|
+
}, [r, p, null == ye ? void 0 : ye.anchorSelect, V]), React.useEffect(() => {
|
|
51079
|
+
Me();
|
|
51080
|
+
}, [Me]), React.useEffect(() => {
|
|
51081
|
+
if (!(null == X ? void 0 : X.current)) return () => null;
|
|
51012
51082
|
const e = new ResizeObserver(() => {
|
|
51013
|
-
|
|
51083
|
+
Me();
|
|
51014
51084
|
});
|
|
51015
|
-
return e.observe(
|
|
51085
|
+
return e.observe(X.current), () => {
|
|
51016
51086
|
e.disconnect();
|
|
51017
51087
|
};
|
|
51018
|
-
}, [
|
|
51088
|
+
}, [U, null == X ? void 0 : X.current]), React.useEffect(() => {
|
|
51019
51089
|
var e;
|
|
51020
|
-
const t = document.querySelector(`[id='${
|
|
51021
|
-
|
|
51022
|
-
V &&
|
|
51023
|
-
}, [
|
|
51024
|
-
re.current && clearTimeout(re.current),
|
|
51090
|
+
const t = document.querySelector(`[id='${u}']`),
|
|
51091
|
+
o = [..._e, t];
|
|
51092
|
+
V && o.includes(V) || Z(null !== (e = _e[0]) && void 0 !== e ? e : t);
|
|
51093
|
+
}, [u, _e, V]), React.useEffect(() => () => {
|
|
51094
|
+
re.current && clearTimeout(re.current), ne.current && clearTimeout(ne.current);
|
|
51025
51095
|
}, []), React.useEffect(() => {
|
|
51026
|
-
|
|
51027
|
-
|
|
51028
|
-
|
|
51029
|
-
|
|
51096
|
+
var e;
|
|
51097
|
+
let t = null !== (e = null == ye ? void 0 : ye.anchorSelect) && void 0 !== e ? e : p;
|
|
51098
|
+
if (!t && r && (t = `[data-tooltip-id='${r}']`), t) try {
|
|
51099
|
+
const e = Array.from(document.querySelectorAll(t));
|
|
51100
|
+
Ae(e);
|
|
51030
51101
|
} catch (e) {
|
|
51031
|
-
|
|
51032
|
-
}
|
|
51033
|
-
}, [
|
|
51034
|
-
const
|
|
51035
|
-
|
|
51036
|
-
|
|
51102
|
+
Ae([]);
|
|
51103
|
+
}
|
|
51104
|
+
}, [r, p, null == ye ? void 0 : ye.anchorSelect]);
|
|
51105
|
+
const We = null !== (te = null == ye ? void 0 : ye.content) && void 0 !== te ? te : U,
|
|
51106
|
+
Pe = pe && Object.keys(se).length > 0;
|
|
51107
|
+
return React.useImperativeHandle(t, () => ({
|
|
51108
|
+
open: e => {
|
|
51109
|
+
if (null == e ? void 0 : e.anchorSelect) try {
|
|
51110
|
+
document.querySelector(e.anchorSelect);
|
|
51111
|
+
} catch (t) {
|
|
51112
|
+
return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`);
|
|
51113
|
+
}
|
|
51114
|
+
he(null != e ? e : null), (null == e ? void 0 : e.delay) ? Ne(e.delay) : xe(!0);
|
|
51115
|
+
},
|
|
51116
|
+
close: e => {
|
|
51117
|
+
(null == e ? void 0 : e.delay) ? $e(e.delay) : xe(!1);
|
|
51118
|
+
},
|
|
51119
|
+
activeAnchor: V,
|
|
51120
|
+
place: ce,
|
|
51121
|
+
isOpen: Boolean(me && !T && We && Pe)
|
|
51122
|
+
})), me && !T && We ? React__default["default"].createElement(E, {
|
|
51123
|
+
id: r,
|
|
51037
51124
|
role: "tooltip",
|
|
51038
|
-
className: classnames("react-tooltip",
|
|
51039
|
-
|
|
51040
|
-
|
|
51041
|
-
[$]: "fixed" === h,
|
|
51042
|
-
[B]: L
|
|
51043
|
-
}),
|
|
51044
|
-
style: {
|
|
51045
|
-
...M,
|
|
51046
|
-
...ie,
|
|
51047
|
-
opacity: void 0 !== J && Ie ? J : void 0
|
|
51125
|
+
className: classnames("react-tooltip", $.tooltip, j.tooltip, j[d], n, `react-tooltip__place-${ce}`, $[Pe ? "show" : "closing"], Pe ? "react-tooltip__show" : "react-tooltip__closing", "fixed" === b && $.fixed, R && $.clickable),
|
|
51126
|
+
onTransitionEnd: e => {
|
|
51127
|
+
pe || "opacity" !== e.propertyName || (fe(!1), he(null), null == K || K());
|
|
51048
51128
|
},
|
|
51049
|
-
ref: ee
|
|
51050
|
-
}, K, React__default["default"].createElement(b, {
|
|
51051
|
-
className: classnames("react-tooltip-arrow", I, H.arrow, l, {
|
|
51052
|
-
[j]: T
|
|
51053
|
-
}),
|
|
51054
51129
|
style: {
|
|
51130
|
+
...W,
|
|
51055
51131
|
...se,
|
|
51056
|
-
|
|
51132
|
+
opacity: void 0 !== Q && Pe ? Q : void 0
|
|
51133
|
+
},
|
|
51134
|
+
ref: oe
|
|
51135
|
+
}, We, React__default["default"].createElement(E, {
|
|
51136
|
+
className: classnames("react-tooltip-arrow", $.arrow, j.arrow, s, L && $.noArrow),
|
|
51137
|
+
style: {
|
|
51138
|
+
...de,
|
|
51139
|
+
background: ee ? `linear-gradient(to right bottom, transparent 50%, ${ee} 50%)` : void 0
|
|
51057
51140
|
},
|
|
51058
|
-
ref:
|
|
51141
|
+
ref: le
|
|
51059
51142
|
})) : null;
|
|
51060
51143
|
},
|
|
51061
|
-
|
|
51144
|
+
B = ({
|
|
51062
51145
|
content: t
|
|
51063
51146
|
}) => React__default["default"].createElement("span", {
|
|
51064
51147
|
dangerouslySetInnerHTML: {
|
|
51065
51148
|
__html: t
|
|
51066
51149
|
}
|
|
51067
51150
|
}),
|
|
51068
|
-
|
|
51151
|
+
z = (e, t) => !("CSS" in window && "supports" in window.CSS) || window.CSS.supports(e, t),
|
|
51152
|
+
D = React__default["default"].forwardRef(({
|
|
51069
51153
|
id: t,
|
|
51070
|
-
anchorId:
|
|
51071
|
-
anchorSelect:
|
|
51072
|
-
content:
|
|
51154
|
+
anchorId: l,
|
|
51155
|
+
anchorSelect: r,
|
|
51156
|
+
content: n,
|
|
51073
51157
|
html: s,
|
|
51074
51158
|
render: a,
|
|
51075
|
-
className:
|
|
51076
|
-
classNameArrow:
|
|
51159
|
+
className: d,
|
|
51160
|
+
classNameArrow: u,
|
|
51077
51161
|
variant: p = "dark",
|
|
51078
51162
|
place: v = "top",
|
|
51079
51163
|
offset: m = 10,
|
|
@@ -51087,149 +51171,153 @@ const q = ({
|
|
|
51087
51171
|
delayHide: g = 0,
|
|
51088
51172
|
float: _ = !1,
|
|
51089
51173
|
hidden: A = !1,
|
|
51090
|
-
noArrow:
|
|
51091
|
-
clickable:
|
|
51092
|
-
closeOnEsc:
|
|
51174
|
+
noArrow: O = !1,
|
|
51175
|
+
clickable: T = !1,
|
|
51176
|
+
closeOnEsc: L = !1,
|
|
51093
51177
|
closeOnScroll: C = !1,
|
|
51094
|
-
closeOnResize:
|
|
51095
|
-
|
|
51096
|
-
|
|
51097
|
-
|
|
51098
|
-
|
|
51099
|
-
|
|
51100
|
-
|
|
51101
|
-
|
|
51102
|
-
|
|
51103
|
-
|
|
51104
|
-
|
|
51105
|
-
|
|
51106
|
-
|
|
51107
|
-
|
|
51108
|
-
|
|
51109
|
-
|
|
51110
|
-
|
|
51111
|
-
[
|
|
51112
|
-
[
|
|
51113
|
-
[
|
|
51114
|
-
[le,
|
|
51115
|
-
[
|
|
51116
|
-
[
|
|
51117
|
-
[
|
|
51118
|
-
[
|
|
51119
|
-
|
|
51178
|
+
closeOnResize: R = !1,
|
|
51179
|
+
openEvents: x,
|
|
51180
|
+
closeEvents: N,
|
|
51181
|
+
globalCloseEvents: $,
|
|
51182
|
+
imperativeModeOnly: j = !1,
|
|
51183
|
+
style: D,
|
|
51184
|
+
position: q,
|
|
51185
|
+
isOpen: H,
|
|
51186
|
+
disableStyleInjection: M = !1,
|
|
51187
|
+
border: W,
|
|
51188
|
+
opacity: P,
|
|
51189
|
+
arrowColor: F,
|
|
51190
|
+
setIsOpen: K,
|
|
51191
|
+
afterShow: U,
|
|
51192
|
+
afterHide: X
|
|
51193
|
+
}, Y) => {
|
|
51194
|
+
const [G, V] = React.useState(n),
|
|
51195
|
+
[Z, J] = React.useState(s),
|
|
51196
|
+
[Q, ee] = React.useState(v),
|
|
51197
|
+
[te, oe] = React.useState(p),
|
|
51198
|
+
[le, re] = React.useState(m),
|
|
51199
|
+
[ne, ce] = React.useState(E),
|
|
51200
|
+
[ie, se] = React.useState(g),
|
|
51201
|
+
[ae, de] = React.useState(_),
|
|
51202
|
+
[ue, pe] = React.useState(A),
|
|
51203
|
+
[ve, me] = React.useState(f),
|
|
51204
|
+
[fe, ye] = React.useState(h),
|
|
51205
|
+
[he, we] = React.useState(b),
|
|
51206
|
+
[be, Se] = React.useState(null),
|
|
51207
|
+
Ee = React.useRef(M),
|
|
51120
51208
|
{
|
|
51121
|
-
anchorRefs:
|
|
51122
|
-
activeAnchor:
|
|
51123
|
-
} =
|
|
51124
|
-
|
|
51125
|
-
var
|
|
51126
|
-
if (
|
|
51127
|
-
t[
|
|
51209
|
+
anchorRefs: ge,
|
|
51210
|
+
activeAnchor: _e
|
|
51211
|
+
} = k(t),
|
|
51212
|
+
Ae = e => null == e ? void 0 : e.getAttributeNames().reduce((t, o) => {
|
|
51213
|
+
var l;
|
|
51214
|
+
if (o.startsWith("data-tooltip-")) {
|
|
51215
|
+
t[o.replace(/^data-tooltip-/, "")] = null !== (l = null == e ? void 0 : e.getAttribute(o)) && void 0 !== l ? l : null;
|
|
51128
51216
|
}
|
|
51129
51217
|
return t;
|
|
51130
51218
|
}, {}),
|
|
51131
|
-
|
|
51219
|
+
Oe = e => {
|
|
51132
51220
|
const t = {
|
|
51133
51221
|
place: e => {
|
|
51134
51222
|
var t;
|
|
51135
|
-
|
|
51223
|
+
ee(null !== (t = e) && void 0 !== t ? t : v);
|
|
51136
51224
|
},
|
|
51137
51225
|
content: e => {
|
|
51138
|
-
|
|
51226
|
+
V(null != e ? e : n);
|
|
51139
51227
|
},
|
|
51140
51228
|
html: e => {
|
|
51141
|
-
|
|
51229
|
+
J(null != e ? e : s);
|
|
51142
51230
|
},
|
|
51143
51231
|
variant: e => {
|
|
51144
51232
|
var t;
|
|
51145
|
-
|
|
51233
|
+
oe(null !== (t = e) && void 0 !== t ? t : p);
|
|
51146
51234
|
},
|
|
51147
51235
|
offset: e => {
|
|
51148
|
-
|
|
51236
|
+
re(null === e ? m : Number(e));
|
|
51149
51237
|
},
|
|
51150
51238
|
wrapper: e => {
|
|
51151
51239
|
var t;
|
|
51152
|
-
|
|
51240
|
+
me(null !== (t = e) && void 0 !== t ? t : f);
|
|
51153
51241
|
},
|
|
51154
51242
|
events: e => {
|
|
51155
51243
|
const t = null == e ? void 0 : e.split(" ");
|
|
51156
|
-
|
|
51244
|
+
ye(null != t ? t : h);
|
|
51157
51245
|
},
|
|
51158
51246
|
"position-strategy": e => {
|
|
51159
51247
|
var t;
|
|
51160
|
-
|
|
51248
|
+
we(null !== (t = e) && void 0 !== t ? t : b);
|
|
51161
51249
|
},
|
|
51162
51250
|
"delay-show": e => {
|
|
51163
|
-
|
|
51251
|
+
ce(null === e ? E : Number(e));
|
|
51164
51252
|
},
|
|
51165
51253
|
"delay-hide": e => {
|
|
51166
|
-
|
|
51254
|
+
se(null === e ? g : Number(e));
|
|
51167
51255
|
},
|
|
51168
51256
|
float: e => {
|
|
51169
|
-
|
|
51257
|
+
de(null === e ? _ : "true" === e);
|
|
51170
51258
|
},
|
|
51171
51259
|
hidden: e => {
|
|
51172
|
-
|
|
51260
|
+
pe(null === e ? A : "true" === e);
|
|
51173
51261
|
}
|
|
51174
51262
|
};
|
|
51175
|
-
Object.values(t).forEach(e => e(null)), Object.entries(e).forEach(([e,
|
|
51176
|
-
var
|
|
51177
|
-
null === (
|
|
51263
|
+
Object.values(t).forEach(e => e(null)), Object.entries(e).forEach(([e, o]) => {
|
|
51264
|
+
var l;
|
|
51265
|
+
null === (l = t[e]) || void 0 === l || l.call(t, o);
|
|
51178
51266
|
});
|
|
51179
51267
|
};
|
|
51180
51268
|
React.useEffect(() => {
|
|
51181
|
-
|
|
51182
|
-
}, [
|
|
51183
|
-
|
|
51269
|
+
V(n);
|
|
51270
|
+
}, [n]), React.useEffect(() => {
|
|
51271
|
+
J(s);
|
|
51184
51272
|
}, [s]), React.useEffect(() => {
|
|
51185
|
-
|
|
51273
|
+
ee(v);
|
|
51186
51274
|
}, [v]), React.useEffect(() => {
|
|
51187
|
-
|
|
51275
|
+
oe(p);
|
|
51188
51276
|
}, [p]), React.useEffect(() => {
|
|
51189
|
-
|
|
51277
|
+
re(m);
|
|
51190
51278
|
}, [m]), React.useEffect(() => {
|
|
51191
|
-
|
|
51279
|
+
ce(E);
|
|
51192
51280
|
}, [E]), React.useEffect(() => {
|
|
51193
|
-
|
|
51281
|
+
se(g);
|
|
51194
51282
|
}, [g]), React.useEffect(() => {
|
|
51195
|
-
|
|
51283
|
+
de(_);
|
|
51196
51284
|
}, [_]), React.useEffect(() => {
|
|
51197
|
-
|
|
51285
|
+
pe(A);
|
|
51198
51286
|
}, [A]), React.useEffect(() => {
|
|
51199
|
-
|
|
51287
|
+
we(b);
|
|
51200
51288
|
}, [b]), React.useEffect(() => {
|
|
51201
|
-
|
|
51202
|
-
}, [
|
|
51289
|
+
Ee.current !== M && console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.");
|
|
51290
|
+
}, [M]), React.useEffect(() => {
|
|
51203
51291
|
"undefined" != typeof window && window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles", {
|
|
51204
51292
|
detail: {
|
|
51205
|
-
disableCore: "core" ===
|
|
51206
|
-
disableBase:
|
|
51293
|
+
disableCore: "core" === M,
|
|
51294
|
+
disableBase: M
|
|
51207
51295
|
}
|
|
51208
51296
|
}));
|
|
51209
51297
|
}, []), React.useEffect(() => {
|
|
51210
51298
|
var e;
|
|
51211
|
-
const
|
|
51212
|
-
let
|
|
51213
|
-
if (!
|
|
51214
|
-
document.querySelectorAll(
|
|
51215
|
-
|
|
51299
|
+
const o = new Set(ge);
|
|
51300
|
+
let n = r;
|
|
51301
|
+
if (!n && t && (n = `[data-tooltip-id='${t}']`), n) try {
|
|
51302
|
+
document.querySelectorAll(n).forEach(e => {
|
|
51303
|
+
o.add({
|
|
51216
51304
|
current: e
|
|
51217
51305
|
});
|
|
51218
51306
|
});
|
|
51219
51307
|
} catch (e) {
|
|
51220
|
-
console.warn(`[react-tooltip] "${
|
|
51308
|
+
console.warn(`[react-tooltip] "${n}" is not a valid CSS selector`);
|
|
51221
51309
|
}
|
|
51222
|
-
const
|
|
51223
|
-
if (
|
|
51224
|
-
current:
|
|
51225
|
-
}), !
|
|
51226
|
-
const
|
|
51310
|
+
const c = document.querySelector(`[id='${l}']`);
|
|
51311
|
+
if (c && o.add({
|
|
51312
|
+
current: c
|
|
51313
|
+
}), !o.size) return () => null;
|
|
51314
|
+
const i = null !== (e = null != be ? be : c) && void 0 !== e ? e : _e.current,
|
|
51227
51315
|
s = new MutationObserver(e => {
|
|
51228
51316
|
e.forEach(e => {
|
|
51229
51317
|
var t;
|
|
51230
|
-
if (!
|
|
51231
|
-
const
|
|
51232
|
-
|
|
51318
|
+
if (!i || "attributes" !== e.type || !(null === (t = e.attributeName) || void 0 === t ? void 0 : t.startsWith("data-tooltip-"))) return;
|
|
51319
|
+
const o = Ae(i);
|
|
51320
|
+
Oe(o);
|
|
51233
51321
|
});
|
|
51234
51322
|
}),
|
|
51235
51323
|
a = {
|
|
@@ -51237,77 +51325,82 @@ const q = ({
|
|
|
51237
51325
|
childList: !1,
|
|
51238
51326
|
subtree: !1
|
|
51239
51327
|
};
|
|
51240
|
-
if (
|
|
51241
|
-
const e =
|
|
51242
|
-
|
|
51328
|
+
if (i) {
|
|
51329
|
+
const e = Ae(i);
|
|
51330
|
+
Oe(e), s.observe(i, a);
|
|
51243
51331
|
}
|
|
51244
51332
|
return () => {
|
|
51245
51333
|
s.disconnect();
|
|
51246
51334
|
};
|
|
51247
|
-
}, [
|
|
51248
|
-
(null ==
|
|
51335
|
+
}, [ge, _e, be, l, r]), React.useEffect(() => {
|
|
51336
|
+
(null == D ? void 0 : D.border) && console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."), W && !z("border", `${W}`) && console.warn(`[react-tooltip] "${W}" is not a valid \`border\`.`), (null == D ? void 0 : D.opacity) && console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."), P && !z("opacity", `${P}`) && console.warn(`[react-tooltip] "${P}" is not a valid \`opacity\`.`);
|
|
51249
51337
|
}, []);
|
|
51250
|
-
let
|
|
51251
|
-
const
|
|
51338
|
+
let Te = y;
|
|
51339
|
+
const ke = React.useRef(null);
|
|
51252
51340
|
if (a) {
|
|
51253
51341
|
const t = a({
|
|
51254
|
-
content: null !=
|
|
51255
|
-
activeAnchor:
|
|
51342
|
+
content: null != G ? G : null,
|
|
51343
|
+
activeAnchor: be
|
|
51256
51344
|
});
|
|
51257
|
-
|
|
51258
|
-
ref:
|
|
51345
|
+
Te = t ? React__default["default"].createElement("div", {
|
|
51346
|
+
ref: ke,
|
|
51259
51347
|
className: "react-tooltip-content-wrapper"
|
|
51260
51348
|
}, t) : null;
|
|
51261
|
-
} else
|
|
51262
|
-
|
|
51263
|
-
content:
|
|
51349
|
+
} else G && (Te = G);
|
|
51350
|
+
Z && (Te = React__default["default"].createElement(B, {
|
|
51351
|
+
content: Z
|
|
51264
51352
|
}));
|
|
51265
|
-
const
|
|
51353
|
+
const Le = {
|
|
51354
|
+
forwardRef: Y,
|
|
51266
51355
|
id: t,
|
|
51267
|
-
anchorId:
|
|
51268
|
-
anchorSelect:
|
|
51269
|
-
className:
|
|
51270
|
-
classNameArrow:
|
|
51271
|
-
content:
|
|
51272
|
-
contentWrapperRef:
|
|
51273
|
-
place:
|
|
51274
|
-
variant:
|
|
51275
|
-
offset:
|
|
51276
|
-
wrapper:
|
|
51277
|
-
events:
|
|
51356
|
+
anchorId: l,
|
|
51357
|
+
anchorSelect: r,
|
|
51358
|
+
className: d,
|
|
51359
|
+
classNameArrow: u,
|
|
51360
|
+
content: Te,
|
|
51361
|
+
contentWrapperRef: ke,
|
|
51362
|
+
place: Q,
|
|
51363
|
+
variant: te,
|
|
51364
|
+
offset: le,
|
|
51365
|
+
wrapper: ve,
|
|
51366
|
+
events: fe,
|
|
51278
51367
|
openOnClick: w,
|
|
51279
|
-
positionStrategy:
|
|
51368
|
+
positionStrategy: he,
|
|
51280
51369
|
middlewares: S,
|
|
51281
|
-
delayShow:
|
|
51282
|
-
delayHide:
|
|
51283
|
-
float:
|
|
51284
|
-
hidden:
|
|
51285
|
-
noArrow:
|
|
51286
|
-
clickable:
|
|
51287
|
-
closeOnEsc:
|
|
51370
|
+
delayShow: ne,
|
|
51371
|
+
delayHide: ie,
|
|
51372
|
+
float: ae,
|
|
51373
|
+
hidden: ue,
|
|
51374
|
+
noArrow: O,
|
|
51375
|
+
clickable: T,
|
|
51376
|
+
closeOnEsc: L,
|
|
51288
51377
|
closeOnScroll: C,
|
|
51289
|
-
closeOnResize:
|
|
51290
|
-
|
|
51291
|
-
|
|
51292
|
-
|
|
51293
|
-
|
|
51294
|
-
|
|
51295
|
-
|
|
51296
|
-
|
|
51297
|
-
|
|
51298
|
-
|
|
51299
|
-
|
|
51300
|
-
|
|
51378
|
+
closeOnResize: R,
|
|
51379
|
+
openEvents: x,
|
|
51380
|
+
closeEvents: N,
|
|
51381
|
+
globalCloseEvents: $,
|
|
51382
|
+
imperativeModeOnly: j,
|
|
51383
|
+
style: D,
|
|
51384
|
+
position: q,
|
|
51385
|
+
isOpen: H,
|
|
51386
|
+
border: W,
|
|
51387
|
+
opacity: P,
|
|
51388
|
+
arrowColor: F,
|
|
51389
|
+
setIsOpen: K,
|
|
51390
|
+
afterShow: U,
|
|
51391
|
+
afterHide: X,
|
|
51392
|
+
activeAnchor: be,
|
|
51393
|
+
setActiveAnchor: e => Se(e)
|
|
51301
51394
|
};
|
|
51302
|
-
return React__default["default"].createElement(
|
|
51303
|
-
...
|
|
51395
|
+
return React__default["default"].createElement(I, {
|
|
51396
|
+
...Le
|
|
51304
51397
|
});
|
|
51305
|
-
};
|
|
51398
|
+
});
|
|
51306
51399
|
"undefined" != typeof window && window.addEventListener("react-tooltip-inject-styles", e => {
|
|
51307
|
-
e.detail.disableCore ||
|
|
51308
|
-
css: `:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{
|
|
51400
|
+
e.detail.disableCore || S({
|
|
51401
|
+
css: `:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}`,
|
|
51309
51402
|
type: "core"
|
|
51310
|
-
}), e.detail.disableBase ||
|
|
51403
|
+
}), e.detail.disableBase || S({
|
|
51311
51404
|
css: `
|
|
51312
51405
|
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,
|
|
51313
51406
|
type: "base"
|
|
@@ -51404,7 +51497,7 @@ function ContextualHelp(_ref) {
|
|
|
51404
51497
|
color: "#1d5ab9",
|
|
51405
51498
|
fontSize: "22px"
|
|
51406
51499
|
}
|
|
51407
|
-
})), /*#__PURE__*/React__default["default"].createElement(
|
|
51500
|
+
})), /*#__PURE__*/React__default["default"].createElement(D, {
|
|
51408
51501
|
anchorSelect: "#helpSnippet1",
|
|
51409
51502
|
clickable: true,
|
|
51410
51503
|
className: "utilities_ContextualHelp_ContextualHelp--snippet",
|