@thecb/components 7.13.2-beta.1 → 7.13.3-beta.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/index.cjs.js +304 -286
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +305 -286
- package/dist/index.esm.js.map +1 -1
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +49322 -0
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/alert/Alert.js +27 -7
- package/src/components/atoms/icons/index.js +0 -2
- package/src/components/atoms/spinner/Spinner.js +26 -4
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +7 -5
- package/src/components/molecules/payment-details/PaymentDetails.js +88 -10
- package/src/util/generateShadows.js +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/GenericErrorIcon.js +0 -131
- package/src/components/molecules/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -13908,114 +13908,6 @@ var GenericCard = function GenericCard() {
|
|
|
13908
13908
|
}));
|
|
13909
13909
|
};
|
|
13910
13910
|
|
|
13911
|
-
var GenericErrorIcon = function GenericErrorIcon() {
|
|
13912
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13913
|
-
width: "474",
|
|
13914
|
-
height: "308",
|
|
13915
|
-
viewBox: "0 0 474 308",
|
|
13916
|
-
fill: "none",
|
|
13917
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
13918
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13919
|
-
fillRule: "evenodd",
|
|
13920
|
-
clipRule: "evenodd",
|
|
13921
|
-
d: "M107.968 73H347.689C351.538 73 354.658 76.12 354.658 79.968V258.366C354.658 262.214 351.538 265.334 347.689 265.334H107.968C104.119 265.334 101 262.214 101 258.366V79.968C101 76.12 104.119 73 107.968 73",
|
|
13922
|
-
fill: "white"
|
|
13923
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13924
|
-
fillRule: "evenodd",
|
|
13925
|
-
clipRule: "evenodd",
|
|
13926
|
-
d: "M200.435 148.429C201.244 146.174 203.256 144.701 205.477 144.701C207.698 144.701 209.71 146.174 210.518 148.429C211.038 149.878 212.634 150.632 214.083 150.112C215.532 149.593 216.286 147.997 215.766 146.547C214.239 142.287 210.267 139.126 205.477 139.126C200.687 139.126 196.715 142.286 195.187 146.547C194.668 147.997 195.422 149.593 196.871 150.112C198.32 150.632 199.916 149.878 200.435 148.429ZM246.435 148.429C247.244 146.174 249.256 144.701 251.477 144.701C253.698 144.701 255.71 146.174 256.518 148.429C257.038 149.878 258.634 150.632 260.083 150.112C261.532 149.593 262.286 147.997 261.766 146.547C260.239 142.287 256.267 139.126 251.477 139.126C246.687 139.126 242.715 142.286 241.187 146.547C240.668 147.997 241.422 149.593 242.871 150.112C244.32 150.632 245.916 149.878 246.435 148.429ZM208 195.674C209.54 195.674 210.788 194.426 210.788 192.886C210.788 190.622 212.623 188.788 214.885 188.788H241.305C243.569 188.788 245.404 190.623 245.404 192.886C245.404 194.426 246.652 195.674 248.191 195.674C249.731 195.674 250.979 194.426 250.979 192.886C250.979 187.544 246.648 183.213 241.305 183.213H214.885C209.543 183.213 205.213 187.544 205.213 192.886C205.213 194.426 206.461 195.674 208 195.674ZM31.6619 247.285C31.7125 249.493 29.9631 251.325 27.7546 251.375L12.5756 251.723C10.367 251.774 8.53559 250.024 8.48496 247.816C8.43432 245.607 10.1837 243.776 12.3922 243.725L27.5712 243.377C29.7798 243.327 31.6112 245.076 31.6619 247.285ZM99.6215 251.376C101.831 251.361 103.609 249.559 103.595 247.35C103.58 245.141 101.777 243.362 99.5683 243.376L47.1963 243.724C44.9872 243.739 43.2083 245.542 43.223 247.751C43.2377 249.96 45.0404 251.739 47.2495 251.724L99.6215 251.376ZM423.796 247.354C423.808 249.563 422.027 251.364 419.818 251.376L356.062 251.724C353.853 251.736 352.052 249.955 352.04 247.746C352.028 245.537 353.809 243.736 356.018 243.724L419.774 243.376C421.984 243.364 423.784 245.145 423.796 247.354ZM473.424 247.33C473.45 249.539 471.68 251.35 469.471 251.376L439.636 251.724C437.427 251.75 435.615 249.98 435.589 247.771C435.564 245.562 437.333 243.75 439.542 243.724L469.377 243.376C471.586 243.351 473.398 245.121 473.424 247.33Z",
|
|
13927
|
-
fill: "#292A33"
|
|
13928
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13929
|
-
fillRule: "evenodd",
|
|
13930
|
-
clipRule: "evenodd",
|
|
13931
|
-
d: "M101 99H355V73H101V99Z",
|
|
13932
|
-
fill: "#CACED8"
|
|
13933
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13934
|
-
d: "M117 86C117 87.6569 115.657 89 114 89C112.343 89 111 87.6569 111 86C111 84.3431 112.343 83 114 83C115.657 83 117 84.3431 117 86Z",
|
|
13935
|
-
fill: "#292A33"
|
|
13936
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13937
|
-
d: "M127 86C127 87.6569 125.657 89 124 89C122.343 89 121 87.6569 121 86C121 84.3431 122.343 83 124 83C125.657 83 127 84.3431 127 86Z",
|
|
13938
|
-
fill: "#292A33"
|
|
13939
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13940
|
-
d: "M137 86C137 87.6569 135.657 89 134 89C132.343 89 131 87.6569 131 86C131 84.3431 132.343 83 134 83C135.657 83 137 84.3431 137 86Z",
|
|
13941
|
-
fill: "#292A33"
|
|
13942
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13943
|
-
fillRule: "evenodd",
|
|
13944
|
-
clipRule: "evenodd",
|
|
13945
|
-
d: "M352 102H104V96H352V102Z",
|
|
13946
|
-
fill: "#292A33"
|
|
13947
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13948
|
-
fillRule: "evenodd",
|
|
13949
|
-
clipRule: "evenodd",
|
|
13950
|
-
d: "M223.998 268C223.998 265.691 222.126 263.819 219.817 263.819C217.508 263.819 215.636 265.691 215.636 268V288.614H204C201.691 288.614 199.819 290.486 199.819 292.795C199.819 295.104 201.691 296.976 204 296.976H219.817C222.126 296.976 223.998 295.104 223.998 292.795V268ZM239.491 268C239.491 265.691 237.619 263.819 235.31 263.819C233.001 263.819 231.129 265.691 231.129 268V293.574C231.129 295.883 233.001 297.755 235.31 297.755H251.127C253.436 297.755 255.308 295.883 255.308 293.574C255.308 291.265 253.436 289.393 251.127 289.393H239.491V268Z",
|
|
13951
|
-
fill: "#3B5BDB"
|
|
13952
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13953
|
-
fillRule: "evenodd",
|
|
13954
|
-
clipRule: "evenodd",
|
|
13955
|
-
d: "M102.461 202.558C103.91 204.226 103.732 206.753 102.064 208.201L79.804 227.532C78.136 228.981 75.6096 228.803 74.1611 227.135C72.7126 225.467 72.8905 222.94 74.5585 221.492L96.8185 202.161C98.4864 200.712 101.013 200.89 102.461 202.558Z",
|
|
13956
|
-
fill: "#3B5BDB"
|
|
13957
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13958
|
-
fillRule: "evenodd",
|
|
13959
|
-
clipRule: "evenodd",
|
|
13960
|
-
d: "M396.5 185.5C394.291 185.5 392.5 187.291 392.5 189.5C392.5 191.709 394.291 193.5 396.5 193.5H404.869L380.696 219.39L358.454 202.109C356.71 200.754 354.197 201.069 352.842 202.814C351.486 204.558 351.802 207.071 353.546 208.427L378.673 227.949C380.307 229.218 382.639 229.032 384.051 227.52L415.814 193.5H429.5C431.709 193.5 433.5 191.709 433.5 189.5C433.5 187.291 431.709 185.5 429.5 185.5H396.5Z",
|
|
13961
|
-
fill: "#3B5BDB"
|
|
13962
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13963
|
-
fillRule: "evenodd",
|
|
13964
|
-
clipRule: "evenodd",
|
|
13965
|
-
d: "M107.969 76C105.777 76 104 77.7769 104 79.969V258.366C104 260.557 105.777 262.334 107.969 262.334H347.69C349.881 262.334 351.658 260.557 351.658 258.366V79.969C351.658 77.7766 349.881 76 347.69 76H107.969ZM98 79.969C98 74.4631 102.463 70 107.969 70H347.69C353.195 70 357.658 74.4634 357.658 79.969V258.366C357.658 263.871 353.195 268.334 347.69 268.334H107.969C102.463 268.334 98 263.871 98 258.366V79.969Z",
|
|
13966
|
-
fill: "#292A33"
|
|
13967
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13968
|
-
fillRule: "evenodd",
|
|
13969
|
-
clipRule: "evenodd",
|
|
13970
|
-
d: "M78.0922 220.617C75.9411 220.114 73.7895 221.45 73.2864 223.601C72.7833 225.752 74.1193 227.904 76.2704 228.407L125.537 239.929C126.148 245.765 131.082 250.314 137.079 250.314H143.723C145.932 250.314 147.723 248.523 147.723 246.314C147.723 244.105 145.932 242.314 143.723 242.314H137.079C135.088 242.314 133.474 240.7 133.474 238.708C133.474 236.717 135.088 235.103 137.079 235.103C139.288 235.103 141.079 233.312 141.079 231.103C141.079 228.894 139.288 227.103 137.079 227.103C133.095 227.103 129.579 229.111 127.49 232.17L78.0922 220.617Z",
|
|
13971
|
-
fill: "#3B5BDB"
|
|
13972
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13973
|
-
fillRule: "evenodd",
|
|
13974
|
-
clipRule: "evenodd",
|
|
13975
|
-
d: "M452.68 155.302C450.663 157.996 448.259 160.384 445.551 162.382C444.575 163.102 443.215 162.995 442.358 162.138L439.438 159.218C438.636 158.416 437.423 158.218 436.397 158.698C435.931 158.916 435.458 159.12 434.979 159.312C434.678 159.431 434.375 159.545 434.071 159.655C432.987 160.039 432.245 161.041 432.245 162.192L432.244 166.276C432.244 167.493 431.354 168.533 430.15 168.706C428.54 168.939 426.895 169.059 425.221 169.059C423.513 169.059 421.835 168.934 420.195 168.693C418.992 168.516 418.104 167.478 418.104 166.262V162.151C418.104 161.024 417.395 160.02 416.333 159.641C415.469 159.331 414.625 158.979 413.805 158.584C412.782 158.093 411.564 158.298 410.761 159.1L407.877 161.985C407.015 162.847 405.646 162.949 404.67 162.218C402.004 160.218 399.64 157.839 397.656 155.16C396.934 154.185 397.039 152.823 397.897 151.966L400.811 149.05C401.609 148.251 401.814 147.041 401.332 146.021C400.973 145.257 400.649 144.474 400.362 143.672C399.981 142.609 398.979 141.896 397.849 141.897H393.739C392.523 141.897 391.485 141.008 391.308 139.806C391.067 138.165 390.942 136.487 390.942 134.78C390.942 133.072 391.067 131.394 391.308 129.753C391.485 128.551 392.523 127.662 393.738 127.662H397.849C398.979 127.662 399.982 126.949 400.363 125.885C400.642 125.103 400.958 124.337 401.308 123.59C401.786 122.569 401.581 121.361 400.784 120.564L397.862 117.643C397.004 116.785 396.898 115.426 397.617 114.45C399.617 111.741 402.004 109.337 404.698 107.32C405.673 106.59 407.042 106.693 407.904 107.554L410.792 110.444C411.594 111.245 412.811 111.45 413.833 110.961C414.645 110.572 415.479 110.224 416.333 109.918C417.396 109.539 418.104 108.535 418.104 107.407V103.297C418.104 102.082 418.992 101.043 420.195 100.866C421.835 100.625 423.513 100.5 425.221 100.5C426.92 100.5 428.59 100.624 430.223 100.863C431.436 101.04 432.327 102.095 432.314 103.322L432.267 107.351C432.254 108.494 432.97 109.514 434.047 109.897C434.889 110.195 435.71 110.535 436.51 110.914C437.538 111.401 438.76 111.189 439.558 110.377L442.406 107.481C443.262 106.61 444.634 106.497 445.616 107.225C448.288 109.206 450.662 111.568 452.659 114.229C453.391 115.204 453.288 116.573 452.426 117.435L449.541 120.32C448.74 121.122 448.534 122.34 449.026 123.364C449.42 124.184 449.773 125.028 450.082 125.893C450.462 126.954 451.465 127.662 452.593 127.662H456.703C457.918 127.662 458.957 128.551 459.134 129.753C459.375 131.394 459.5 133.072 459.5 134.78C459.5 136.49 459.374 138.171 459.133 139.815C458.956 141.013 457.924 141.9 456.713 141.906L452.572 141.923C451.449 141.928 450.452 142.635 450.073 143.692C449.77 144.537 449.425 145.363 449.04 146.165C448.55 147.189 448.754 148.406 449.557 149.208L452.447 152.096C453.308 152.958 453.41 154.326 452.68 155.302Z",
|
|
13976
|
-
fill: "#CACED8",
|
|
13977
|
-
stroke: "#292A33",
|
|
13978
|
-
strokeWidth: "3",
|
|
13979
|
-
strokeLinecap: "round",
|
|
13980
|
-
strokeLinejoin: "round"
|
|
13981
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13982
|
-
fillRule: "evenodd",
|
|
13983
|
-
clipRule: "evenodd",
|
|
13984
|
-
d: "M382.155 168.156C380.905 169.826 379.414 171.306 377.734 172.546C377.13 172.992 376.287 172.927 375.755 172.395L373.944 170.584C373.447 170.087 372.695 169.964 372.058 170.261C371.77 170.396 371.476 170.523 371.178 170.642C370.993 170.717 370.805 170.787 370.616 170.854C369.944 171.094 369.484 171.715 369.484 172.427V174.961C369.484 175.715 368.931 176.36 368.184 176.468C367.186 176.611 366.166 176.685 365.129 176.685C364.07 176.685 363.029 176.608 362.011 176.459C361.266 176.349 360.716 175.706 360.716 174.952L360.715 172.402C360.715 171.704 360.276 171.081 359.618 170.846C359.082 170.654 358.558 170.435 358.05 170.191C357.415 169.886 356.66 170.013 356.162 170.51L354.374 172.3C353.84 172.834 352.99 172.898 352.385 172.444C350.732 171.204 349.266 169.728 348.036 168.068C347.588 167.463 347.653 166.619 348.185 166.087L349.992 164.279C350.487 163.784 350.614 163.034 350.316 162.4C350.092 161.927 349.891 161.441 349.714 160.944C349.477 160.285 348.856 159.843 348.155 159.843H345.606C344.853 159.843 344.209 159.293 344.099 158.547C343.95 157.529 343.873 156.489 343.873 155.43C343.873 154.371 343.95 153.331 344.099 152.313C344.209 151.568 344.853 151.017 345.606 151.017H348.155C348.856 151.017 349.478 150.575 349.714 149.915C349.887 149.429 350.084 148.955 350.301 148.492C350.597 147.858 350.469 147.109 349.975 146.615L348.164 144.803C347.632 144.272 347.566 143.429 348.012 142.824C349.252 141.144 350.732 139.654 352.402 138.403C353.008 137.95 353.856 138.013 354.39 138.549L356.181 140.34C356.678 140.837 357.433 140.964 358.067 140.66C358.57 140.42 359.088 140.204 359.617 140.014C360.276 139.779 360.716 139.156 360.716 138.457V135.908C360.716 135.155 361.266 134.51 362.011 134.401C363.029 134.252 364.07 134.175 365.129 134.175C366.182 134.175 367.217 134.251 368.23 134.399C368.982 134.509 369.535 135.164 369.526 135.924L369.498 138.423C369.489 139.131 369.933 139.763 370.601 140.001C371.123 140.185 371.633 140.396 372.129 140.632C372.766 140.933 373.523 140.802 374.018 140.299L375.785 138.503C376.315 137.963 377.167 137.892 377.775 138.344C379.432 139.573 380.904 141.037 382.142 142.687C382.596 143.292 382.533 144.14 381.998 144.676L380.209 146.464C379.712 146.962 379.585 147.717 379.889 148.351C380.134 148.86 380.352 149.384 380.545 149.92C380.78 150.578 381.402 151.017 382.101 151.017L384.65 151.016C385.404 151.016 386.048 151.568 386.157 152.313C386.306 153.331 386.384 154.371 386.384 155.43C386.384 156.491 386.306 157.533 386.156 158.552C386.047 159.295 385.407 159.845 384.656 159.848L382.088 159.86C381.391 159.863 380.774 160.302 380.539 160.957C380.35 161.48 380.136 161.992 379.898 162.49C379.594 163.125 379.721 163.88 380.218 164.377L382.01 166.168C382.545 166.702 382.608 167.551 382.155 168.156Z",
|
|
13985
|
-
fill: "#CACED8",
|
|
13986
|
-
stroke: "#292A33",
|
|
13987
|
-
strokeWidth: "3",
|
|
13988
|
-
strokeLinecap: "round",
|
|
13989
|
-
strokeLinejoin: "round"
|
|
13990
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13991
|
-
fillRule: "evenodd",
|
|
13992
|
-
clipRule: "evenodd",
|
|
13993
|
-
d: "M415.001 134.779C415.001 140.424 419.577 145 425.222 145C430.866 145 435.442 140.424 435.442 134.779C435.442 129.134 430.866 124.558 425.222 124.558C419.577 124.558 415.001 129.134 415.001 134.779Z",
|
|
13994
|
-
fill: "#F6F6F9"
|
|
13995
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13996
|
-
fillRule: "evenodd",
|
|
13997
|
-
clipRule: "evenodd",
|
|
13998
|
-
d: "M425.222 126.058C430.037 126.058 433.942 129.963 433.942 134.779C433.942 139.596 430.037 143.5 425.222 143.5C420.405 143.5 416.501 139.596 416.501 134.779C416.501 129.963 420.405 126.058 425.222 126.058ZM436.942 134.779C436.942 128.306 431.694 123.058 425.222 123.058C418.748 123.058 413.501 128.306 413.501 134.779C413.501 141.253 418.748 146.5 425.222 146.5C431.694 146.5 436.942 141.253 436.942 134.779Z",
|
|
13999
|
-
fill: "#292A33"
|
|
14000
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14001
|
-
fillRule: "evenodd",
|
|
14002
|
-
clipRule: "evenodd",
|
|
14003
|
-
d: "M358.791 155.431C358.791 158.931 361.628 161.768 365.129 161.768C368.629 161.768 371.467 158.931 371.467 155.431C371.467 151.93 368.629 149.093 365.129 149.093C361.628 149.093 358.791 151.93 358.791 155.431Z",
|
|
14004
|
-
fill: "#F6F6F9"
|
|
14005
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14006
|
-
fillRule: "evenodd",
|
|
14007
|
-
clipRule: "evenodd",
|
|
14008
|
-
d: "M365.129 150.593C367.8 150.593 369.967 152.758 369.967 155.431C369.967 158.102 367.8 160.268 365.129 160.268C362.456 160.268 360.291 158.102 360.291 155.431C360.291 152.758 362.456 150.593 365.129 150.593ZM372.967 155.431C372.967 151.101 369.457 147.593 365.129 147.593C360.799 147.593 357.291 151.101 357.291 155.431C357.291 159.759 360.799 163.268 365.129 163.268C369.457 163.268 372.967 159.759 372.967 155.431Z",
|
|
14009
|
-
fill: "#292A33"
|
|
14010
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14011
|
-
fillRule: "evenodd",
|
|
14012
|
-
clipRule: "evenodd",
|
|
14013
|
-
d: "M159.146 27.899C161.226 26.41 163.766 25.524 166.518 25.524C173.522 25.524 179.201 31.203 179.201 38.208C179.201 45.212 173.522 50.891 166.518 50.891H109.108C100.911 50.891 94.2649 44.245 94.2649 36.047C94.2649 27.85 100.911 21.204 109.108 21.204C112.441 21.204 115.506 22.316 117.984 24.17C120.469 15.329 128.583 8.84497 138.219 8.84497C149.165 8.84497 158.154 17.212 159.146 27.899ZM415.354 42.963C417.095 41.716 419.223 40.973 421.529 40.973C427.397 40.973 432.154 45.73 432.154 51.598C432.154 57.467 427.397 62.223 421.529 62.223H373.435C366.567 62.223 361 56.657 361 49.789C361 42.921 366.567 37.354 373.435 37.354C376.226 37.354 378.795 38.285 380.87 39.838C382.952 32.432 389.75 27 397.822 27C406.992 27 414.522 34.01 415.354 42.963ZM69.491 141.356C68.241 141.356 67.056 141.631 65.985 142.113C64.929 140.771 63.293 139.906 61.453 139.906C60.912 139.906 60.391 139.985 59.894 140.125C57.947 135.058 53.048 131.456 47.296 131.456C41.027 131.456 35.77 135.733 34.247 141.525C33.701 141.415 33.136 141.356 32.557 141.356C27.831 141.356 24 145.187 24 149.913C24 154.639 27.831 158.47 32.557 158.47H69.491C74.217 158.47 78.048 154.639 78.048 149.913C78.048 145.187 74.217 141.356 69.491 141.356ZM228.163 307.832C260.286 307.832 286.327 302.049 286.327 294.916C286.327 287.783 260.286 282 228.163 282C196.04 282 170 287.783 170 294.916C170 302.049 196.04 307.832 228.163 307.832Z",
|
|
14014
|
-
fill: "#3B5BDB",
|
|
14015
|
-
fillOpacity: "0.2"
|
|
14016
|
-
}));
|
|
14017
|
-
};
|
|
14018
|
-
|
|
14019
13911
|
var IconAdd = function IconAdd() {
|
|
14020
13912
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14021
13913
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -18579,7 +18471,63 @@ var fallbackValues$4 = {
|
|
|
18579
18471
|
link: link
|
|
18580
18472
|
};
|
|
18581
18473
|
|
|
18474
|
+
/*
|
|
18475
|
+
|
|
18476
|
+
A utility function that can generate box-shadow values for components
|
|
18477
|
+
Takes a string representing an rgb color value and returns an object
|
|
18478
|
+
with values for standard, inset, and overlay shadows.
|
|
18479
|
+
|
|
18480
|
+
The objects for standard and inset shadows contain versions approiate
|
|
18481
|
+
for base, hover, and active interaction states.
|
|
18482
|
+
|
|
18483
|
+
*/
|
|
18484
|
+
|
|
18485
|
+
/*
|
|
18486
|
+
Function to convert string representing rgb color to rgba value with provided opacity
|
|
18487
|
+
("rgb(41, 42, 51)", "0.1") => "rgba(41, 42, 51, 0.1)"
|
|
18488
|
+
|
|
18489
|
+
*/
|
|
18490
|
+
var rgbToRgba = function rgbToRgba() {
|
|
18491
|
+
var rgbValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
|
|
18492
|
+
var opacity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
18493
|
+
|
|
18494
|
+
if (typeof rgbValue !== "string" || typeof opacity !== "string" || rgbValue.charAt(0) === "#") {
|
|
18495
|
+
return "";
|
|
18496
|
+
}
|
|
18497
|
+
|
|
18498
|
+
return "".concat(rgbValue.slice(0, 3), "a").concat(rgbValue.slice(3, -1), ", ").concat(opacity).concat(rgbValue.slice(-1));
|
|
18499
|
+
};
|
|
18500
|
+
|
|
18501
|
+
var generateShadows = function generateShadows() {
|
|
18502
|
+
var baseColorRGB = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "rgb(41, 42, 51)";
|
|
18503
|
+
var colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
|
|
18504
|
+
var colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
|
|
18505
|
+
var colorTwentyFive = rgbToRgba(baseColorRGB, "0.25") || "rgba(41, 42, 51, 0.25)";
|
|
18506
|
+
var colorThirty = rgbToRgba(baseColorRGB, "0.3") || "rgba(41, 42, 51, 0.3)";
|
|
18507
|
+
var blackTwentyFive = "rgba(0, 0, 0, 0.25)";
|
|
18508
|
+
var standard = {
|
|
18509
|
+
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 6px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
18510
|
+
hover: "0px 1px 2px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(blackTwentyFive, ", 0px 6px 12px 0px ").concat(colorTen),
|
|
18511
|
+
active: "0px 2px 8px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(colorThirty, ", 0px 6px 12px 0px ").concat(colorTwentyFive)
|
|
18512
|
+
};
|
|
18513
|
+
var inset = {
|
|
18514
|
+
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
18515
|
+
hover: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwentyFive, ", 0px 4px 8px 0px ").concat(colorTen),
|
|
18516
|
+
active: "0px 1px 2px 2px ".concat(colorTwenty, ", 0px 3px 6px 0px ").concat(colorThirty, ", 0px 4px 8px 0px ").concat(colorTwenty)
|
|
18517
|
+
};
|
|
18518
|
+
var overlay = {
|
|
18519
|
+
base: "0px 7px 32px 0px ".concat(colorTwenty, ", 0px 1px 4px 0px ").concat(colorTwenty, ", 0px 1px 8px -1px ").concat(colorThirty)
|
|
18520
|
+
};
|
|
18521
|
+
return {
|
|
18522
|
+
standard: standard,
|
|
18523
|
+
inset: inset,
|
|
18524
|
+
overlay: overlay
|
|
18525
|
+
};
|
|
18526
|
+
};
|
|
18527
|
+
|
|
18582
18528
|
var Alert = function Alert(_ref) {
|
|
18529
|
+
var _generateShadows, _generateShadows$inse;
|
|
18530
|
+
|
|
18583
18531
|
var heading = _ref.heading,
|
|
18584
18532
|
text = _ref.text,
|
|
18585
18533
|
textOverride = _ref.textOverride,
|
|
@@ -18593,13 +18541,26 @@ var Alert = function Alert(_ref) {
|
|
|
18593
18541
|
showQuitLink = _ref$showQuitLink === void 0 ? true : _ref$showQuitLink,
|
|
18594
18542
|
themeValues = _ref.themeValues,
|
|
18595
18543
|
extraStyles = _ref.extraStyles,
|
|
18596
|
-
maxContentWidth = _ref.maxContentWidth
|
|
18544
|
+
maxContentWidth = _ref.maxContentWidth,
|
|
18545
|
+
_ref$noBorder = _ref.noBorder,
|
|
18546
|
+
noBorder = _ref$noBorder === void 0 ? false : _ref$noBorder,
|
|
18547
|
+
_ref$enableBoxShadow = _ref.enableBoxShadow,
|
|
18548
|
+
enableBoxShadow = _ref$enableBoxShadow === void 0 ? false : _ref$enableBoxShadow,
|
|
18549
|
+
_ref$enableSmallText = _ref.enableSmallText,
|
|
18550
|
+
enableSmallText = _ref$enableSmallText === void 0 ? false : _ref$enableSmallText,
|
|
18551
|
+
_ref$innerContentPadd = _ref.innerContentPadding,
|
|
18552
|
+
innerContentPadding = _ref$innerContentPadd === void 0 ? "1rem" : _ref$innerContentPadd,
|
|
18553
|
+
_ref$iconPadding = _ref.iconPadding,
|
|
18554
|
+
iconPadding = _ref$iconPadding === void 0 ? "0 0 0 1rem" : _ref$iconPadding,
|
|
18555
|
+
_ref$contentFullHeigh = _ref.contentFullHeight,
|
|
18556
|
+
contentFullHeight = _ref$contentFullHeigh === void 0 ? false : _ref$contentFullHeigh;
|
|
18597
18557
|
var Icon = AlertIcons[variant];
|
|
18558
|
+
var contentPadding = maxContentWidth ? "".concat(padding, " 1rem") : innerContentPadding;
|
|
18598
18559
|
var content = /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
18599
18560
|
width: "24px",
|
|
18600
18561
|
childGap: "0rem"
|
|
18601
18562
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
18602
|
-
padding:
|
|
18563
|
+
padding: iconPadding,
|
|
18603
18564
|
minHeight: "100%"
|
|
18604
18565
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
18605
18566
|
minHeight: "100%",
|
|
@@ -18613,17 +18574,18 @@ var Alert = function Alert(_ref) {
|
|
|
18613
18574
|
}, /*#__PURE__*/React__default.createElement(Sidebar, {
|
|
18614
18575
|
sidebarOnRight: true,
|
|
18615
18576
|
width: "24px",
|
|
18616
|
-
childGap: "0rem"
|
|
18577
|
+
childGap: "0rem",
|
|
18578
|
+
fullHeight: contentFullHeight
|
|
18617
18579
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
18618
|
-
padding:
|
|
18580
|
+
padding: contentPadding
|
|
18619
18581
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
18620
18582
|
justify: "flex-start",
|
|
18621
18583
|
align: "center"
|
|
18622
18584
|
}, textOverride ? textOverride : /*#__PURE__*/React__default.createElement(Stack, {
|
|
18623
18585
|
fullHeight: true,
|
|
18624
|
-
childGap: "0
|
|
18586
|
+
childGap: "0"
|
|
18625
18587
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
18626
|
-
variant: "p",
|
|
18588
|
+
variant: enableSmallText ? "pS" : "p",
|
|
18627
18589
|
color: themeValues.text,
|
|
18628
18590
|
weight: "600"
|
|
18629
18591
|
}, heading), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -18645,7 +18607,8 @@ var Alert = function Alert(_ref) {
|
|
|
18645
18607
|
background: themeValues.background,
|
|
18646
18608
|
borderRadius: "4px",
|
|
18647
18609
|
borderColor: themeValues.border,
|
|
18648
|
-
borderSize: "1px",
|
|
18610
|
+
borderSize: noBorder ? "0px" : "1px",
|
|
18611
|
+
boxShadow: enableBoxShadow ? (_generateShadows = generateShadows()) === null || _generateShadows === void 0 ? void 0 : (_generateShadows$inse = _generateShadows.inset) === null || _generateShadows$inse === void 0 ? void 0 : _generateShadows$inse.base : "",
|
|
18649
18612
|
extraStyles: extraStyles
|
|
18650
18613
|
}, maxContentWidth ? /*#__PURE__*/React__default.createElement(Center, {
|
|
18651
18614
|
maxWidth: maxContentWidth
|
|
@@ -18799,14 +18762,12 @@ function _extends$1() {
|
|
|
18799
18762
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
18800
18763
|
for (var i = 1; i < arguments.length; i++) {
|
|
18801
18764
|
var source = arguments[i];
|
|
18802
|
-
|
|
18803
18765
|
for (var key in source) {
|
|
18804
18766
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
18805
18767
|
target[key] = source[key];
|
|
18806
18768
|
}
|
|
18807
18769
|
}
|
|
18808
18770
|
}
|
|
18809
|
-
|
|
18810
18771
|
return target;
|
|
18811
18772
|
};
|
|
18812
18773
|
return _extends$1.apply(this, arguments);
|
|
@@ -18816,7 +18777,6 @@ function _assertThisInitialized(self) {
|
|
|
18816
18777
|
if (self === void 0) {
|
|
18817
18778
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
18818
18779
|
}
|
|
18819
|
-
|
|
18820
18780
|
return self;
|
|
18821
18781
|
}
|
|
18822
18782
|
|
|
@@ -18849,7 +18809,6 @@ function _isNativeReflectConstruct() {
|
|
|
18849
18809
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
18850
18810
|
if (Reflect.construct.sham) return false;
|
|
18851
18811
|
if (typeof Proxy === "function") return true;
|
|
18852
|
-
|
|
18853
18812
|
try {
|
|
18854
18813
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
18855
18814
|
return true;
|
|
@@ -18871,30 +18830,23 @@ function _construct(Parent, args, Class) {
|
|
|
18871
18830
|
return instance;
|
|
18872
18831
|
};
|
|
18873
18832
|
}
|
|
18874
|
-
|
|
18875
18833
|
return _construct.apply(null, arguments);
|
|
18876
18834
|
}
|
|
18877
18835
|
|
|
18878
18836
|
function _wrapNativeSuper(Class) {
|
|
18879
18837
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
18880
|
-
|
|
18881
18838
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
18882
18839
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
18883
|
-
|
|
18884
18840
|
if (typeof Class !== "function") {
|
|
18885
18841
|
throw new TypeError("Super expression must either be null or a function");
|
|
18886
18842
|
}
|
|
18887
|
-
|
|
18888
18843
|
if (typeof _cache !== "undefined") {
|
|
18889
18844
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
18890
|
-
|
|
18891
18845
|
_cache.set(Class, Wrapper);
|
|
18892
18846
|
}
|
|
18893
|
-
|
|
18894
18847
|
function Wrapper() {
|
|
18895
18848
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
18896
18849
|
}
|
|
18897
|
-
|
|
18898
18850
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
18899
18851
|
constructor: {
|
|
18900
18852
|
value: Wrapper,
|
|
@@ -18905,7 +18857,6 @@ function _wrapNativeSuper(Class) {
|
|
|
18905
18857
|
});
|
|
18906
18858
|
return _setPrototypeOf(Wrapper, Class);
|
|
18907
18859
|
};
|
|
18908
|
-
|
|
18909
18860
|
return _wrapNativeSuper(Class);
|
|
18910
18861
|
}
|
|
18911
18862
|
|
|
@@ -22188,7 +22139,7 @@ var check = function (it) {
|
|
|
22188
22139
|
|
|
22189
22140
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22190
22141
|
var global_1 =
|
|
22191
|
-
// eslint-disable-next-line es
|
|
22142
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22192
22143
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22193
22144
|
check(typeof window == 'object' && window) ||
|
|
22194
22145
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -22207,12 +22158,12 @@ var fails = function (exec) {
|
|
|
22207
22158
|
|
|
22208
22159
|
// Detect IE8's incomplete defineProperty implementation
|
|
22209
22160
|
var descriptors = !fails(function () {
|
|
22210
|
-
// eslint-disable-next-line es
|
|
22161
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22211
22162
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
22212
22163
|
});
|
|
22213
22164
|
|
|
22214
22165
|
var functionBindNative = !fails(function () {
|
|
22215
|
-
// eslint-disable-next-line es
|
|
22166
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22216
22167
|
var test = (function () { /* empty */ }).bind();
|
|
22217
22168
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22218
22169
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22225,7 +22176,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22225
22176
|
};
|
|
22226
22177
|
|
|
22227
22178
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22228
|
-
// eslint-disable-next-line es
|
|
22179
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22229
22180
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22230
22181
|
|
|
22231
22182
|
// Nashorn ~ JDK8 bug
|
|
@@ -22252,14 +22203,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22252
22203
|
};
|
|
22253
22204
|
|
|
22254
22205
|
var FunctionPrototype = Function.prototype;
|
|
22255
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22256
22206
|
var call$1 = FunctionPrototype.call;
|
|
22257
|
-
var
|
|
22207
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22258
22208
|
|
|
22259
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22260
|
-
return
|
|
22261
|
-
} : function (fn) {
|
|
22262
|
-
return fn && function () {
|
|
22209
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22210
|
+
return function () {
|
|
22263
22211
|
return call$1.apply(fn, arguments);
|
|
22264
22212
|
};
|
|
22265
22213
|
};
|
|
@@ -22283,12 +22231,18 @@ var indexedObject = fails(function () {
|
|
|
22283
22231
|
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
22284
22232
|
} : $Object;
|
|
22285
22233
|
|
|
22234
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22235
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22236
|
+
var isNullOrUndefined = function (it) {
|
|
22237
|
+
return it === null || it === undefined;
|
|
22238
|
+
};
|
|
22239
|
+
|
|
22286
22240
|
var $TypeError = TypeError;
|
|
22287
22241
|
|
|
22288
22242
|
// `RequireObjectCoercible` abstract operation
|
|
22289
22243
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22290
22244
|
var requireObjectCoercible = function (it) {
|
|
22291
|
-
if (it
|
|
22245
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
22292
22246
|
return it;
|
|
22293
22247
|
};
|
|
22294
22248
|
|
|
@@ -22300,13 +22254,32 @@ var toIndexedObject = function (it) {
|
|
|
22300
22254
|
return indexedObject(requireObjectCoercible(it));
|
|
22301
22255
|
};
|
|
22302
22256
|
|
|
22257
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22258
|
+
|
|
22259
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22260
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22261
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22262
|
+
|
|
22263
|
+
var documentAll_1 = {
|
|
22264
|
+
all: documentAll,
|
|
22265
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22266
|
+
};
|
|
22267
|
+
|
|
22268
|
+
var documentAll$1 = documentAll_1.all;
|
|
22269
|
+
|
|
22303
22270
|
// `IsCallable` abstract operation
|
|
22304
22271
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22305
|
-
var isCallable = function (argument) {
|
|
22272
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22273
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22274
|
+
} : function (argument) {
|
|
22306
22275
|
return typeof argument == 'function';
|
|
22307
22276
|
};
|
|
22308
22277
|
|
|
22309
|
-
var
|
|
22278
|
+
var documentAll$2 = documentAll_1.all;
|
|
22279
|
+
|
|
22280
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22281
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22282
|
+
} : function (it) {
|
|
22310
22283
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22311
22284
|
};
|
|
22312
22285
|
|
|
@@ -22320,7 +22293,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22320
22293
|
|
|
22321
22294
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22322
22295
|
|
|
22323
|
-
var engineUserAgent =
|
|
22296
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22324
22297
|
|
|
22325
22298
|
var process$1 = global_1.process;
|
|
22326
22299
|
var Deno = global_1.Deno;
|
|
@@ -22347,12 +22320,12 @@ if (!version && engineUserAgent) {
|
|
|
22347
22320
|
|
|
22348
22321
|
var engineV8Version = version;
|
|
22349
22322
|
|
|
22350
|
-
/* eslint-disable es
|
|
22323
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22351
22324
|
|
|
22352
22325
|
|
|
22353
22326
|
|
|
22354
|
-
// eslint-disable-next-line es
|
|
22355
|
-
var
|
|
22327
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22328
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22356
22329
|
var symbol = Symbol();
|
|
22357
22330
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22358
22331
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -22361,10 +22334,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
22361
22334
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22362
22335
|
});
|
|
22363
22336
|
|
|
22364
|
-
/* eslint-disable es
|
|
22337
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22365
22338
|
|
|
22366
22339
|
|
|
22367
|
-
var useSymbolAsUid =
|
|
22340
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22368
22341
|
&& !Symbol.sham
|
|
22369
22342
|
&& typeof Symbol.iterator == 'symbol';
|
|
22370
22343
|
|
|
@@ -22399,7 +22372,7 @@ var aCallable = function (argument) {
|
|
|
22399
22372
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22400
22373
|
var getMethod = function (V, P) {
|
|
22401
22374
|
var func = V[P];
|
|
22402
|
-
return func
|
|
22375
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22403
22376
|
};
|
|
22404
22377
|
|
|
22405
22378
|
var $TypeError$2 = TypeError;
|
|
@@ -22414,7 +22387,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22414
22387
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
22415
22388
|
};
|
|
22416
22389
|
|
|
22417
|
-
// eslint-disable-next-line es
|
|
22390
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22418
22391
|
var defineProperty = Object.defineProperty;
|
|
22419
22392
|
|
|
22420
22393
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22434,10 +22407,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
22434
22407
|
(module.exports = function (key, value) {
|
|
22435
22408
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22436
22409
|
})('versions', []).push({
|
|
22437
|
-
version: '3.
|
|
22410
|
+
version: '3.29.0',
|
|
22438
22411
|
mode: 'global',
|
|
22439
|
-
copyright: '© 2014-
|
|
22440
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22412
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22413
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
|
|
22441
22414
|
source: 'https://github.com/zloirock/core-js'
|
|
22442
22415
|
});
|
|
22443
22416
|
});
|
|
@@ -22454,7 +22427,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22454
22427
|
|
|
22455
22428
|
// `HasOwnProperty` abstract operation
|
|
22456
22429
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22457
|
-
// eslint-disable-next-line es
|
|
22430
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22458
22431
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22459
22432
|
return hasOwnProperty(toObject(it), key);
|
|
22460
22433
|
};
|
|
@@ -22467,21 +22440,15 @@ var uid = function (key) {
|
|
|
22467
22440
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22468
22441
|
};
|
|
22469
22442
|
|
|
22470
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22471
22443
|
var Symbol$1 = global_1.Symbol;
|
|
22472
|
-
var
|
|
22473
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22444
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22445
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22474
22446
|
|
|
22475
22447
|
var wellKnownSymbol = function (name) {
|
|
22476
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22477
|
-
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22481
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22482
|
-
} else {
|
|
22483
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22484
|
-
}
|
|
22448
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22449
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22450
|
+
? Symbol$1[name]
|
|
22451
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22485
22452
|
} return WellKnownSymbolsStore[name];
|
|
22486
22453
|
};
|
|
22487
22454
|
|
|
@@ -22521,13 +22488,13 @@ var documentCreateElement = function (it) {
|
|
|
22521
22488
|
|
|
22522
22489
|
// Thanks to IE8 for its funny defineProperty
|
|
22523
22490
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22524
|
-
// eslint-disable-next-line es
|
|
22491
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22525
22492
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22526
22493
|
get: function () { return 7; }
|
|
22527
22494
|
}).a != 7;
|
|
22528
22495
|
});
|
|
22529
22496
|
|
|
22530
|
-
// eslint-disable-next-line es
|
|
22497
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22531
22498
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22532
22499
|
|
|
22533
22500
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22548,7 +22515,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22548
22515
|
// V8 ~ Chrome 36-
|
|
22549
22516
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22550
22517
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22551
|
-
// eslint-disable-next-line es
|
|
22518
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22552
22519
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22553
22520
|
value: 42,
|
|
22554
22521
|
writable: false
|
|
@@ -22565,9 +22532,9 @@ var anObject = function (argument) {
|
|
|
22565
22532
|
};
|
|
22566
22533
|
|
|
22567
22534
|
var $TypeError$5 = TypeError;
|
|
22568
|
-
// eslint-disable-next-line es
|
|
22535
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22569
22536
|
var $defineProperty = Object.defineProperty;
|
|
22570
|
-
// eslint-disable-next-line es
|
|
22537
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22571
22538
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22572
22539
|
var ENUMERABLE = 'enumerable';
|
|
22573
22540
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22614,7 +22581,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22614
22581
|
};
|
|
22615
22582
|
|
|
22616
22583
|
var FunctionPrototype$1 = Function.prototype;
|
|
22617
|
-
// eslint-disable-next-line es
|
|
22584
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22618
22585
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22619
22586
|
|
|
22620
22587
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22641,7 +22608,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22641
22608
|
|
|
22642
22609
|
var WeakMap$1 = global_1.WeakMap;
|
|
22643
22610
|
|
|
22644
|
-
var
|
|
22611
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22645
22612
|
|
|
22646
22613
|
var keys$1 = shared('keys');
|
|
22647
22614
|
|
|
@@ -22669,28 +22636,30 @@ var getterFor = function (TYPE) {
|
|
|
22669
22636
|
};
|
|
22670
22637
|
};
|
|
22671
22638
|
|
|
22672
|
-
if (
|
|
22639
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22673
22640
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22674
|
-
|
|
22675
|
-
|
|
22676
|
-
|
|
22641
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22642
|
+
store$1.get = store$1.get;
|
|
22643
|
+
store$1.has = store$1.has;
|
|
22644
|
+
store$1.set = store$1.set;
|
|
22645
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22677
22646
|
set = function (it, metadata) {
|
|
22678
|
-
if (
|
|
22647
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22679
22648
|
metadata.facade = it;
|
|
22680
|
-
|
|
22649
|
+
store$1.set(it, metadata);
|
|
22681
22650
|
return metadata;
|
|
22682
22651
|
};
|
|
22683
22652
|
get = function (it) {
|
|
22684
|
-
return
|
|
22653
|
+
return store$1.get(it) || {};
|
|
22685
22654
|
};
|
|
22686
22655
|
has = function (it) {
|
|
22687
|
-
return
|
|
22656
|
+
return store$1.has(it);
|
|
22688
22657
|
};
|
|
22689
22658
|
} else {
|
|
22690
22659
|
var STATE = sharedKey('state');
|
|
22691
22660
|
hiddenKeys[STATE] = true;
|
|
22692
22661
|
set = function (it, metadata) {
|
|
22693
|
-
if (hasOwnProperty_1(it, STATE)) throw
|
|
22662
|
+
if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22694
22663
|
metadata.facade = it;
|
|
22695
22664
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
22696
22665
|
return metadata;
|
|
@@ -22718,8 +22687,12 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
|
22718
22687
|
|
|
22719
22688
|
var enforceInternalState = internalState.enforce;
|
|
22720
22689
|
var getInternalState = internalState.get;
|
|
22721
|
-
|
|
22690
|
+
var $String = String;
|
|
22691
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22722
22692
|
var defineProperty = Object.defineProperty;
|
|
22693
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
22694
|
+
var replace = functionUncurryThis(''.replace);
|
|
22695
|
+
var join = functionUncurryThis([].join);
|
|
22723
22696
|
|
|
22724
22697
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22725
22698
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22728,8 +22701,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22728
22701
|
var TEMPLATE = String(String).split('String');
|
|
22729
22702
|
|
|
22730
22703
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22731
|
-
if (String(name)
|
|
22732
|
-
name = '[' + String(name)
|
|
22704
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
22705
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22733
22706
|
}
|
|
22734
22707
|
if (options && options.getter) name = 'get ' + name;
|
|
22735
22708
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22748,7 +22721,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22748
22721
|
} catch (error) { /* empty */ }
|
|
22749
22722
|
var state = enforceInternalState(value);
|
|
22750
22723
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22751
|
-
state.source =
|
|
22724
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22752
22725
|
} return value;
|
|
22753
22726
|
};
|
|
22754
22727
|
|
|
@@ -22787,7 +22760,7 @@ var floor = Math.floor;
|
|
|
22787
22760
|
|
|
22788
22761
|
// `Math.trunc` method
|
|
22789
22762
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
22790
|
-
// eslint-disable-next-line es
|
|
22763
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
22791
22764
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
22792
22765
|
var n = +x;
|
|
22793
22766
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -22888,7 +22861,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
22888
22861
|
|
|
22889
22862
|
// `Object.getOwnPropertyNames` method
|
|
22890
22863
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
22891
|
-
// eslint-disable-next-line es
|
|
22864
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
22892
22865
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
22893
22866
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
22894
22867
|
};
|
|
@@ -22897,7 +22870,7 @@ var objectGetOwnPropertyNames = {
|
|
|
22897
22870
|
f: f$3
|
|
22898
22871
|
};
|
|
22899
22872
|
|
|
22900
|
-
// eslint-disable-next-line es
|
|
22873
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
22901
22874
|
var f$4 = Object.getOwnPropertySymbols;
|
|
22902
22875
|
|
|
22903
22876
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23041,7 +23014,7 @@ var toString_1 = function (argument) {
|
|
|
23041
23014
|
var charAt = functionUncurryThis(''.charAt);
|
|
23042
23015
|
|
|
23043
23016
|
var FORCED = fails(function () {
|
|
23044
|
-
// eslint-disable-next-line es
|
|
23017
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23045
23018
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23046
23019
|
});
|
|
23047
23020
|
|
|
@@ -23059,14 +23032,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23059
23032
|
|
|
23060
23033
|
// `Object.keys` method
|
|
23061
23034
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23062
|
-
// eslint-disable-next-line es
|
|
23035
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23063
23036
|
var objectKeys = Object.keys || function keys(O) {
|
|
23064
23037
|
return objectKeysInternal(O, enumBugKeys);
|
|
23065
23038
|
};
|
|
23066
23039
|
|
|
23067
23040
|
// `Object.defineProperties` method
|
|
23068
23041
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23069
|
-
// eslint-disable-next-line es
|
|
23042
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23070
23043
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23071
23044
|
anObject(O);
|
|
23072
23045
|
var props = toIndexedObject(Properties);
|
|
@@ -23155,7 +23128,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23155
23128
|
|
|
23156
23129
|
// `Object.create` method
|
|
23157
23130
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23158
|
-
// eslint-disable-next-line es
|
|
23131
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23159
23132
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23160
23133
|
var result;
|
|
23161
23134
|
if (O !== null) {
|
|
@@ -23201,13 +23174,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23201
23174
|
|
|
23202
23175
|
addToUnscopables('at');
|
|
23203
23176
|
|
|
23204
|
-
// eslint-disable-next-line es
|
|
23205
|
-
var
|
|
23177
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23178
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23179
|
+
|
|
23180
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23181
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23182
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23183
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23184
|
+
};
|
|
23206
23185
|
|
|
23207
23186
|
var correctPrototypeGetter = !fails(function () {
|
|
23208
23187
|
function F() { /* empty */ }
|
|
23209
23188
|
F.prototype.constructor = null;
|
|
23210
|
-
// eslint-disable-next-line es
|
|
23189
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23211
23190
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23212
23191
|
});
|
|
23213
23192
|
|
|
@@ -23217,7 +23196,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23217
23196
|
|
|
23218
23197
|
// `Object.getPrototypeOf` method
|
|
23219
23198
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23220
|
-
// eslint-disable-next-line es
|
|
23199
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23221
23200
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23222
23201
|
var object = toObject(O);
|
|
23223
23202
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23227,6 +23206,13 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23227
23206
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23228
23207
|
};
|
|
23229
23208
|
|
|
23209
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23210
|
+
try {
|
|
23211
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23212
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23213
|
+
} catch (error) { /* empty */ }
|
|
23214
|
+
};
|
|
23215
|
+
|
|
23230
23216
|
var $String$3 = String;
|
|
23231
23217
|
var $TypeError$6 = TypeError;
|
|
23232
23218
|
|
|
@@ -23243,14 +23229,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23243
23229
|
// `Object.setPrototypeOf` method
|
|
23244
23230
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23245
23231
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23246
|
-
// eslint-disable-next-line es
|
|
23232
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23247
23233
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23248
23234
|
var CORRECT_SETTER = false;
|
|
23249
23235
|
var test = {};
|
|
23250
23236
|
var setter;
|
|
23251
23237
|
try {
|
|
23252
|
-
|
|
23253
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23238
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23254
23239
|
setter(test, []);
|
|
23255
23240
|
CORRECT_SETTER = test instanceof Array;
|
|
23256
23241
|
} catch (error) { /* empty */ }
|
|
@@ -23263,14 +23248,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23263
23248
|
};
|
|
23264
23249
|
}() : undefined);
|
|
23265
23250
|
|
|
23266
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23267
|
-
|
|
23268
|
-
|
|
23269
|
-
|
|
23270
|
-
|
|
23271
|
-
|
|
23272
|
-
|
|
23273
|
-
|
|
23274
23251
|
var enforceInternalState = internalState.enforce;
|
|
23275
23252
|
var getInternalState = internalState.get;
|
|
23276
23253
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23286,7 +23263,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23286
23263
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23287
23264
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23288
23265
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23289
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23266
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23290
23267
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23291
23268
|
var NAME, Constructor, Prototype;
|
|
23292
23269
|
|
|
@@ -23421,9 +23398,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23421
23398
|
|
|
23422
23399
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23423
23400
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23424
|
-
|
|
23425
|
-
|
|
23426
|
-
|
|
23401
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23402
|
+
configurable: true,
|
|
23403
|
+
get: function () {
|
|
23404
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23405
|
+
}
|
|
23406
|
+
});
|
|
23427
23407
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23428
23408
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23429
23409
|
}
|
|
@@ -26390,7 +26370,7 @@ var fallbackValues$q = {
|
|
|
26390
26370
|
var SpinnerSvgAnimation = styled__default.svg.withConfig({
|
|
26391
26371
|
displayName: "Spinner__SpinnerSvgAnimation",
|
|
26392
26372
|
componentId: "sc-vhupl9-0"
|
|
26393
|
-
})(["animation:rotate 2s linear infinite;margin:-25px 0 0 -25px;width:", "px;height:", "px;& .path{stroke:", ";stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;}@keyframes rotate{100%{transform:rotate(360deg);}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"], function (_ref) {
|
|
26373
|
+
})(["animation:rotate 2s linear infinite;margin:-25px 0 0 -25px;width:", "px;height:", "px;& .path{stroke:", ";stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;}@keyframes rotate{100%{transform:rotate(360deg);}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}", ""], function (_ref) {
|
|
26394
26374
|
var size = _ref.size;
|
|
26395
26375
|
return size;
|
|
26396
26376
|
}, function (_ref2) {
|
|
@@ -26399,19 +26379,36 @@ var SpinnerSvgAnimation = styled__default.svg.withConfig({
|
|
|
26399
26379
|
}, function (_ref3) {
|
|
26400
26380
|
var color = _ref3.color;
|
|
26401
26381
|
return color;
|
|
26382
|
+
}, function (_ref4) {
|
|
26383
|
+
var centerSpinner = _ref4.centerSpinner;
|
|
26384
|
+
return centerSpinner ? styled.css(["margin:0;"]) : "";
|
|
26402
26385
|
});
|
|
26403
26386
|
var SpinnerContainer$2 = styled__default.div.withConfig({
|
|
26404
26387
|
displayName: "Spinner__SpinnerContainer",
|
|
26405
26388
|
componentId: "sc-vhupl9-1"
|
|
26406
|
-
})(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;"])
|
|
26389
|
+
})(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;", ""], function (_ref5) {
|
|
26390
|
+
var centerSpinner = _ref5.centerSpinner,
|
|
26391
|
+
size = _ref5.size;
|
|
26392
|
+
return centerSpinner ? styled.css(["width:", "px;height:", "px;"], size, size) : "";
|
|
26393
|
+
});
|
|
26394
|
+
/*
|
|
26395
|
+
`centerSpinner` prop alters existing styling of spinner to allow it to properly center itself within
|
|
26396
|
+
containers. Default is false to preserve legacy behavior for past uses.
|
|
26397
|
+
*/
|
|
26407
26398
|
|
|
26408
|
-
var Spinner$1 = function Spinner(
|
|
26409
|
-
var
|
|
26410
|
-
size =
|
|
26411
|
-
|
|
26412
|
-
|
|
26399
|
+
var Spinner$1 = function Spinner(_ref6) {
|
|
26400
|
+
var _ref6$size = _ref6.size,
|
|
26401
|
+
size = _ref6$size === void 0 ? "24" : _ref6$size,
|
|
26402
|
+
_ref6$centerSpinner = _ref6.centerSpinner,
|
|
26403
|
+
centerSpinner = _ref6$centerSpinner === void 0 ? false : _ref6$centerSpinner,
|
|
26404
|
+
themeValues = _ref6.themeValues;
|
|
26405
|
+
return /*#__PURE__*/React__default.createElement(SpinnerContainer$2, {
|
|
26406
|
+
centerSpinner: centerSpinner,
|
|
26407
|
+
size: size
|
|
26408
|
+
}, /*#__PURE__*/React__default.createElement(SpinnerSvgAnimation, {
|
|
26413
26409
|
size: size,
|
|
26414
|
-
color: themeValues.color
|
|
26410
|
+
color: themeValues.color,
|
|
26411
|
+
centerSpinner: centerSpinner
|
|
26415
26412
|
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
26416
26413
|
className: "path",
|
|
26417
26414
|
cx: "50",
|
|
@@ -40403,7 +40400,9 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40403
40400
|
_ref$name = _ref.name,
|
|
40404
40401
|
name = _ref$name === void 0 ? "" : _ref$name,
|
|
40405
40402
|
_ref$index = _ref.index,
|
|
40406
|
-
index = _ref$index === void 0 ? 1 : _ref$index
|
|
40403
|
+
index = _ref$index === void 0 ? 1 : _ref$index,
|
|
40404
|
+
_ref$headerEl = _ref.headerEl,
|
|
40405
|
+
headerEl = _ref$headerEl === void 0 ? null : _ref$headerEl;
|
|
40407
40406
|
|
|
40408
40407
|
var handleKeyDown = function handleKeyDown(e) {
|
|
40409
40408
|
if (e.keyCode === 13) {
|
|
@@ -40473,16 +40472,20 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40473
40472
|
align: "center"
|
|
40474
40473
|
}, customTitle ? /*#__PURE__*/React__default.createElement(Box, {
|
|
40475
40474
|
width: "calc(100% - 36px)",
|
|
40476
|
-
padding: "0px"
|
|
40477
|
-
|
|
40475
|
+
padding: "0px",
|
|
40476
|
+
id: "cristin"
|
|
40477
|
+
}, headerEl ? headerEl : title) : /*#__PURE__*/React__default.createElement(Title$1, {
|
|
40478
40478
|
weight: FONT_WEIGHT_SEMIBOLD,
|
|
40479
40479
|
color: themeValues.titleColor,
|
|
40480
40480
|
as: "h6",
|
|
40481
|
-
variant: "small"
|
|
40482
|
-
|
|
40481
|
+
variant: "small",
|
|
40482
|
+
id: "cristin"
|
|
40483
|
+
}, headerEl ? headerEl : title), /*#__PURE__*/React__default.createElement(Motion, {
|
|
40483
40484
|
variants: icon,
|
|
40484
40485
|
extraStyles: "display: flex; align-items: center;"
|
|
40485
|
-
}, /*#__PURE__*/React__default.createElement(ChevronIcon$1,
|
|
40486
|
+
}, /*#__PURE__*/React__default.createElement(ChevronIcon$1, {
|
|
40487
|
+
color: iconColor ? iconColor : null
|
|
40488
|
+
}))))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
|
|
40486
40489
|
initial: false
|
|
40487
40490
|
}, isOpen && /*#__PURE__*/React__default.createElement(Motion, {
|
|
40488
40491
|
padding: "0",
|
|
@@ -47769,7 +47772,7 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
47769
47772
|
},
|
|
47770
47773
|
text: "Void",
|
|
47771
47774
|
padding: "0",
|
|
47772
|
-
extraStyles: "\n min-width: 65px
|
|
47775
|
+
extraStyles: "\n min-width: 65px;\n margin: 0px;\n min-height: 0px;\n ",
|
|
47773
47776
|
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 14px;")
|
|
47774
47777
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
47775
47778
|
padding: "0",
|
|
@@ -47797,12 +47800,69 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
47797
47800
|
}));
|
|
47798
47801
|
};
|
|
47799
47802
|
|
|
47803
|
+
var LoadingDetails = function LoadingDetails() {
|
|
47804
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
47805
|
+
padding: "0",
|
|
47806
|
+
background: GRECIAN_GREY,
|
|
47807
|
+
borderRadius: "4px",
|
|
47808
|
+
minHeight: "196px"
|
|
47809
|
+
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
47810
|
+
minHeight: "196px",
|
|
47811
|
+
singleChild: true,
|
|
47812
|
+
fillCenter: true
|
|
47813
|
+
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
47814
|
+
intrinsic: true
|
|
47815
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
47816
|
+
padding: "0",
|
|
47817
|
+
extraStyles: "flex-grow: 1; display: flex; justify-content: center; align-items: center;"
|
|
47818
|
+
}, /*#__PURE__*/React__default.createElement(Spinner$2, {
|
|
47819
|
+
size: "100",
|
|
47820
|
+
centerSpinner: true
|
|
47821
|
+
})))));
|
|
47822
|
+
};
|
|
47823
|
+
|
|
47824
|
+
var ErrorDetails = function ErrorDetails() {
|
|
47825
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
47826
|
+
padding: "0"
|
|
47827
|
+
}, /*#__PURE__*/React__default.createElement(Alert$1, {
|
|
47828
|
+
variant: "error",
|
|
47829
|
+
heading: "Error Loading Payment",
|
|
47830
|
+
text: "Please go back and try again.",
|
|
47831
|
+
showQuitLink: false,
|
|
47832
|
+
noBorder: true,
|
|
47833
|
+
enableBoxShadow: true,
|
|
47834
|
+
enableSmallText: true,
|
|
47835
|
+
innerContentPadding: "0 0 0 0.75rem",
|
|
47836
|
+
iconPadding: "0 0 0 0",
|
|
47837
|
+
height: "67px",
|
|
47838
|
+
minHeight: "67px",
|
|
47839
|
+
padding: "0.75rem"
|
|
47840
|
+
}));
|
|
47841
|
+
};
|
|
47842
|
+
|
|
47843
|
+
var getLoadingOrErrorContent = function getLoadingOrErrorContent() {
|
|
47844
|
+
var isLoading = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
47845
|
+
var isError = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
47846
|
+
|
|
47847
|
+
if (isLoading) {
|
|
47848
|
+
return /*#__PURE__*/React__default.createElement(LoadingDetails, null);
|
|
47849
|
+
} else if (isError) {
|
|
47850
|
+
return /*#__PURE__*/React__default.createElement(ErrorDetails, null);
|
|
47851
|
+
}
|
|
47852
|
+
|
|
47853
|
+
return /*#__PURE__*/React__default.createElement(React.Fragment, null);
|
|
47854
|
+
};
|
|
47855
|
+
|
|
47800
47856
|
var Collapsible = function Collapsible(_ref2) {
|
|
47801
47857
|
var content = _ref2.content,
|
|
47802
47858
|
title = _ref2.title,
|
|
47803
47859
|
supportsTouch = _ref2.supportsTouch,
|
|
47804
47860
|
isOpen = _ref2.isOpen,
|
|
47805
|
-
setIsOpen = _ref2.setIsOpen
|
|
47861
|
+
setIsOpen = _ref2.setIsOpen,
|
|
47862
|
+
_ref2$isLoading = _ref2.isLoading,
|
|
47863
|
+
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
47864
|
+
_ref2$isError = _ref2.isError,
|
|
47865
|
+
isError = _ref2$isError === void 0 ? false : _ref2$isError;
|
|
47806
47866
|
return /*#__PURE__*/React__default.createElement(CollapsibleSection$1, {
|
|
47807
47867
|
isMobile: true,
|
|
47808
47868
|
supportsTouch: supportsTouch,
|
|
@@ -47825,13 +47885,17 @@ var Collapsible = function Collapsible(_ref2) {
|
|
|
47825
47885
|
},
|
|
47826
47886
|
positionTransition: true,
|
|
47827
47887
|
initial: "closed"
|
|
47828
|
-
}, content));
|
|
47888
|
+
}, isLoading || isError ? getLoadingOrErrorContent(isLoading, isError) : content));
|
|
47829
47889
|
};
|
|
47830
47890
|
|
|
47831
47891
|
var NonCollapsible = function NonCollapsible(_ref3) {
|
|
47832
47892
|
var title = _ref3.title,
|
|
47833
|
-
content = _ref3.content
|
|
47834
|
-
|
|
47893
|
+
content = _ref3.content,
|
|
47894
|
+
_ref3$isLoading = _ref3.isLoading,
|
|
47895
|
+
isLoading = _ref3$isLoading === void 0 ? false : _ref3$isLoading,
|
|
47896
|
+
_ref3$isError = _ref3.isError,
|
|
47897
|
+
isError = _ref3$isError === void 0 ? false : _ref3$isError;
|
|
47898
|
+
return /*#__PURE__*/React__default.createElement(Stack, null, title, isLoading || isError ? getLoadingOrErrorContent(isLoading, isError) : content);
|
|
47835
47899
|
};
|
|
47836
47900
|
|
|
47837
47901
|
var PaymentDetails = function PaymentDetails(_ref4) {
|
|
@@ -47861,7 +47925,11 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47861
47925
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
47862
47926
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
47863
47927
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
47864
|
-
remainingBalance = _ref4$remainingBalanc === void 0 ? false : _ref4$remainingBalanc
|
|
47928
|
+
remainingBalance = _ref4$remainingBalanc === void 0 ? false : _ref4$remainingBalanc,
|
|
47929
|
+
_ref4$isLoading = _ref4.isLoading,
|
|
47930
|
+
isLoading = _ref4$isLoading === void 0 ? false : _ref4$isLoading,
|
|
47931
|
+
_ref4$isError = _ref4.isError,
|
|
47932
|
+
isError = _ref4$isError === void 0 ? false : _ref4$isError;
|
|
47865
47933
|
|
|
47866
47934
|
var _useState = React.useState(initiallyOpen),
|
|
47867
47935
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -47964,10 +48032,14 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47964
48032
|
isOpen: isOpen,
|
|
47965
48033
|
setIsOpen: setIsOpen,
|
|
47966
48034
|
isMobile: isMobile,
|
|
47967
|
-
supportsTouch: supportsTouch
|
|
48035
|
+
supportsTouch: supportsTouch,
|
|
48036
|
+
isLoading: isLoading,
|
|
48037
|
+
isError: isError
|
|
47968
48038
|
}) : /*#__PURE__*/React__default.createElement(NonCollapsible, {
|
|
47969
48039
|
title: title,
|
|
47970
|
-
content: content
|
|
48040
|
+
content: content,
|
|
48041
|
+
isLoading: isLoading,
|
|
48042
|
+
isError: isError
|
|
47971
48043
|
});
|
|
47972
48044
|
};
|
|
47973
48045
|
|
|
@@ -48178,59 +48250,6 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
|
48178
48250
|
})))));
|
|
48179
48251
|
};
|
|
48180
48252
|
|
|
48181
|
-
/*
|
|
48182
|
-
|
|
48183
|
-
A utility function that can generate box-shadow values for components
|
|
48184
|
-
Takes a string representing an rgb color value and returns an object
|
|
48185
|
-
with values for standard, inset, and overlay shadows.
|
|
48186
|
-
|
|
48187
|
-
The objects for standard and inset shadows contain versions approiate
|
|
48188
|
-
for base, hover, and active interaction states.
|
|
48189
|
-
|
|
48190
|
-
*/
|
|
48191
|
-
|
|
48192
|
-
/*
|
|
48193
|
-
Function to convert string representing rgb color to rgba value with provided opacity
|
|
48194
|
-
("rgb(41, 42, 51)", "0.1") => "rgba(41, 42, 51, 0.1)"
|
|
48195
|
-
|
|
48196
|
-
*/
|
|
48197
|
-
var rgbToRgba = function rgbToRgba() {
|
|
48198
|
-
var rgbValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
|
|
48199
|
-
var opacity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
48200
|
-
|
|
48201
|
-
if (typeof rgbValue !== "string" || typeof opacity !== "string" || rgbValue.charAt(0) === "#") {
|
|
48202
|
-
return "";
|
|
48203
|
-
}
|
|
48204
|
-
|
|
48205
|
-
return "".concat(rgbValue.slice(0, 3), "a").concat(rgbValue.slice(3, -1), ", ").concat(opacity).concat(rgbValue.slice(-1));
|
|
48206
|
-
};
|
|
48207
|
-
|
|
48208
|
-
var generateShadows = function generateShadows(baseColorRGB) {
|
|
48209
|
-
var colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
|
|
48210
|
-
var colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
|
|
48211
|
-
var colorTwentyFive = rgbToRgba(baseColorRGB, "0.25") || "rgba(41, 42, 51, 0.25)";
|
|
48212
|
-
var colorThirty = rgbToRgba(baseColorRGB, "0.3") || "rgba(41, 42, 51, 0.3)";
|
|
48213
|
-
var blackTwentyFive = "rgba(0, 0, 0, 0.25)";
|
|
48214
|
-
var standard = {
|
|
48215
|
-
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 6px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
48216
|
-
hover: "0px 1px 2px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(blackTwentyFive, ", 0px 6px 12px 0px ").concat(colorTen),
|
|
48217
|
-
active: "0px 2px 8px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(colorThirty, ", 0px 6px 12px 0px ").concat(colorTwentyFive)
|
|
48218
|
-
};
|
|
48219
|
-
var inset = {
|
|
48220
|
-
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
48221
|
-
hover: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwentyFive, ", 0px 4px 8px 0px ").concat(colorTen),
|
|
48222
|
-
active: "0px 1px 2px 2px ".concat(colorTwenty, ", 0px 3px 6px 0px ").concat(colorThirty, ", 0px 4px 8px 0px ").concat(colorTwenty)
|
|
48223
|
-
};
|
|
48224
|
-
var overlay = {
|
|
48225
|
-
base: "0px 7px 32px 0px ".concat(colorTwenty, ", 0px 1px 4px 0px ").concat(colorTwenty, ", 0px 1px 8px -1px ").concat(colorThirty)
|
|
48226
|
-
};
|
|
48227
|
-
return {
|
|
48228
|
-
standard: standard,
|
|
48229
|
-
inset: inset,
|
|
48230
|
-
overlay: overlay
|
|
48231
|
-
};
|
|
48232
|
-
};
|
|
48233
|
-
|
|
48234
48253
|
/*
|
|
48235
48254
|
Hook that takes an ID selector for an element on the screen
|
|
48236
48255
|
And optionally values for top position, left position, smooth behavior
|
|
@@ -50111,7 +50130,6 @@ exports.FormattedCreditCard = FormattedCreditCard$1;
|
|
|
50111
50130
|
exports.Frame = Frame;
|
|
50112
50131
|
exports.GenericCard = GenericCard;
|
|
50113
50132
|
exports.GenericCardLarge = GenericCardLarge;
|
|
50114
|
-
exports.GenericErrorIcon = GenericErrorIcon;
|
|
50115
50133
|
exports.GoToEmailIcon = GoToEmailIcon$1;
|
|
50116
50134
|
exports.Grid = Grid;
|
|
50117
50135
|
exports.GuidedCheckoutImage = GuidedCheckoutImage;
|