@coinswap-app/uikit 1.0.0 → 1.0.2
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/components/EarnedCarouselWrapper/EarnedCarouselWrapper.d.ts +3 -1
- package/dist/components/EarnedWrapper/EarnedWrapper.d.ts +3 -1
- package/dist/components/SpacePadComponents/index.logic.d.ts +1 -1
- package/dist/components/Table/types.d.ts +14 -14
- package/dist/components/Tooltip/Tooltip.d.ts +1 -9
- package/dist/components/Tooltip/types.d.ts +2 -0
- package/dist/index.cjs.js +578 -1649
- package/dist/index.esm.js +578 -1649
- package/dist/theme/index.d.ts +2 -2
- package/dist/widgets/Modal/ModalContext.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -21,8 +21,8 @@ import noop from 'lodash/noop';
|
|
|
21
21
|
import _, { some } from 'lodash';
|
|
22
22
|
import FacebookShare from 'react-facebook-share-link';
|
|
23
23
|
import { Link as Link$1, NavLink, useLocation } from 'react-router-dom';
|
|
24
|
-
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
25
24
|
import { useWeb3React } from '@web3-react/core';
|
|
25
|
+
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
26
26
|
import { useFormik } from 'formik';
|
|
27
27
|
import * as Yup from 'yup';
|
|
28
28
|
|
|
@@ -270,6 +270,13 @@ function _regeneratorDefine(e, r, n, t) {
|
|
|
270
270
|
function _slicedToArray(r, e) {
|
|
271
271
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
272
272
|
}
|
|
273
|
+
function _taggedTemplateLiteral(e, t) {
|
|
274
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
275
|
+
raw: {
|
|
276
|
+
value: Object.freeze(t)
|
|
277
|
+
}
|
|
278
|
+
}));
|
|
279
|
+
}
|
|
273
280
|
function _toConsumableArray(r) {
|
|
274
281
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
275
282
|
}
|
|
@@ -302,12 +309,10 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
302
309
|
};
|
|
303
310
|
};
|
|
304
311
|
|
|
305
|
-
var
|
|
306
|
-
var
|
|
307
|
-
var
|
|
308
|
-
|
|
309
|
-
componentId: "sc-1oa1mzv-0"
|
|
310
|
-
})(["fill:", ";flex-shrink:0;", " ", " path{fill:", ";fill-opacity:", ";}"], function (_ref) {
|
|
312
|
+
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
313
|
+
var rotate$1 = keyframes(_templateObject$2b || (_templateObject$2b = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
314
|
+
var spinStyle = css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
315
|
+
var Svg = styled.svg(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteral(["\n fill: ", ";\n flex-shrink: 0;\n\n ", "\n ", "\n path {\n fill: ", ";\n //Opacity set on 0.5\n fill-opacity: ", ";\n }\n"])), function (_ref) {
|
|
311
316
|
var theme = _ref.theme,
|
|
312
317
|
color = _ref.color;
|
|
313
318
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
@@ -375,6 +380,7 @@ var Icon$2E = function Icon(props) {
|
|
|
375
380
|
}));
|
|
376
381
|
};
|
|
377
382
|
|
|
383
|
+
var _templateObject$2a;
|
|
378
384
|
var getColor$1 = function getColor(_ref) {
|
|
379
385
|
var color = _ref.color,
|
|
380
386
|
theme = _ref.theme;
|
|
@@ -385,10 +391,7 @@ var getFontSize = function getFontSize(_ref2) {
|
|
|
385
391
|
small = _ref2.small;
|
|
386
392
|
return small ? "14px" : fontSize || "16px";
|
|
387
393
|
};
|
|
388
|
-
var Text = styled.div.
|
|
389
|
-
displayName: "Text",
|
|
390
|
-
componentId: "sc-nskjht-0"
|
|
391
|
-
})(["color:", ";font-size:", ";font-weight:", ";line-height:1.5;", " ", " ", ""], getColor$1, getFontSize, function (_ref3) {
|
|
394
|
+
var Text = styled.div(_templateObject$2a || (_templateObject$2a = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 1.5;\n ", "\n ", "\n ", "\n"])), getColor$1, getFontSize, function (_ref3) {
|
|
392
395
|
var bold = _ref3.bold;
|
|
393
396
|
return bold ? 700 : 400;
|
|
394
397
|
}, function (_ref4) {
|
|
@@ -438,6 +441,7 @@ var variants$4 = {
|
|
|
438
441
|
OUTLINE: "outline"
|
|
439
442
|
};
|
|
440
443
|
|
|
444
|
+
var _templateObject$29;
|
|
441
445
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
442
446
|
var isLoading = _ref.isLoading,
|
|
443
447
|
theme = _ref.theme;
|
|
@@ -462,10 +466,7 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
462
466
|
return theme.button[variant][prop];
|
|
463
467
|
};
|
|
464
468
|
};
|
|
465
|
-
var StyledButton$2 = styled.button.
|
|
466
|
-
displayName: "StyledButton",
|
|
467
|
-
componentId: "sc-pxfjak-0"
|
|
468
|
-
})(["align-items:center;background-color:", ";border:", ";border-radius:10px;color:", ";cursor:pointer;display:inline-flex;font-family:inherit;font-size:16px;font-weight:600;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;padding:", ";transition:background-color 0.2s;opacity:", ";&:hover:not(:disabled):not(.button--disabled):not(:active){background-color:", ";border-color:", ";}&:focus:not(:active){box-shadow:0 0 0 1px ", ";}&:active{background-color:", ";box-shadow:", ";}", " ", " ", ""], getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
469
|
+
var StyledButton$2 = styled.button(_templateObject$29 || (_templateObject$29 = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: ", ";\n border-radius: 10px;\n color: ", ";\n cursor: pointer;\n display: inline-flex;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: background-color 0.2s;\n opacity: ", ";\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: ", ";\n border-color: ", ";\n }\n\n &:focus:not(:active) {\n box-shadow: 0 0 0 1px ", ";\n }\n\n &:active {\n background-color: ", ";\n box-shadow: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
469
470
|
var white = _ref4.white;
|
|
470
471
|
return white ? "white" : getButtonVariantProp$3("color");
|
|
471
472
|
}, function (_ref5) {
|
|
@@ -7891,16 +7892,11 @@ var Icon$T = function Icon(props) {
|
|
|
7891
7892
|
});
|
|
7892
7893
|
};
|
|
7893
7894
|
|
|
7894
|
-
var
|
|
7895
|
-
|
|
7896
|
-
componentId: "sc-kepl07-0"
|
|
7897
|
-
})(["font-weight:bold;font-size:16px;line-height:28px;width:84px;transition:all 0.5s ease-in;display:", ";"], function (props) {
|
|
7895
|
+
var _templateObject$28, _templateObject2$15;
|
|
7896
|
+
var ButtonText = styled.span(_templateObject$28 || (_templateObject$28 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 16px;\n line-height: 28px;\n width: 84px;\n transition: all 0.5s ease-in;\n display: ", ";\n"])), function (props) {
|
|
7898
7897
|
return props.extended ? "block" : "none";
|
|
7899
7898
|
});
|
|
7900
|
-
var RampButtonWrapper$1 = styled(Button$1).
|
|
7901
|
-
displayName: "RampButtonLite__RampButtonWrapper",
|
|
7902
|
-
componentId: "sc-kepl07-1"
|
|
7903
|
-
})(["padding:6px 10px;padding:", ";outline:none;border:none;width:", "px;height:40px;background:", ";border-radius:10px;display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;transition:all 0.5s ease-in;"], function (props) {
|
|
7899
|
+
var RampButtonWrapper$1 = styled(Button$1)(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteral(["\n padding: 6px 10px;\n padding: ", ";\n outline: none;\n border: none;\n width: ", "px;\n height: 40px;\n background: ", ";\n border-radius: 10px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n transition: all 0.5s ease-in;\n"])), function (props) {
|
|
7904
7900
|
return props.extended ? "6px 25px" : "6px 10px";
|
|
7905
7901
|
}, function (props) {
|
|
7906
7902
|
return props.extended ? 110 : 60;
|
|
@@ -7928,18 +7924,14 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7928
7924
|
});
|
|
7929
7925
|
};
|
|
7930
7926
|
|
|
7931
|
-
var
|
|
7932
|
-
|
|
7933
|
-
componentId: "sc-9rnm19-0"
|
|
7934
|
-
})(["padding:0;width:", ";margin:0px 4px;border:none;outline:none;"], function (_ref) {
|
|
7927
|
+
var _templateObject$27;
|
|
7928
|
+
var IconButton = styled(Button$1)(_templateObject$27 || (_templateObject$27 = _taggedTemplateLiteral(["\n padding: 0;\n width: ", ";\n margin: 0px 4px;\n border: none;\n outline: none;\n"])), function (_ref) {
|
|
7935
7929
|
var size = _ref.size;
|
|
7936
7930
|
return size === "sm" ? "32px" : "60px";
|
|
7937
7931
|
});
|
|
7938
7932
|
|
|
7939
|
-
var
|
|
7940
|
-
|
|
7941
|
-
componentId: "sc-1y4rjmy-0"
|
|
7942
|
-
})(["padding:6px 10px;outline:none;border:none;width:", "px;height:40px;background:#2b2b38;border-radius:10px;display:flex;flex-direction:row;justify-content:space-around;align-items:center;color:black;cursor:pointer;position:relative;overflow:hidden;&:active{background:", ";}transition:all 0.5s ease-in;"], function (props) {
|
|
7933
|
+
var _templateObject$26;
|
|
7934
|
+
var RampButtonWrapper = styled.button(_templateObject$26 || (_templateObject$26 = _taggedTemplateLiteral(["\n padding: 6px 10px;\n outline: none;\n border: none;\n width: ", "px;\n height: 40px;\n background: #2b2b38;\n border-radius: 10px;\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n color: black;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n &:active {\n background: ", ";\n }\n transition: all 0.5s ease-in;\n"])), function (props) {
|
|
7943
7935
|
return props.extended ? 108 : 70;
|
|
7944
7936
|
}, function (_ref) {
|
|
7945
7937
|
var theme = _ref.theme;
|
|
@@ -7963,15 +7955,11 @@ var RampButton = function RampButton(_ref2) {
|
|
|
7963
7955
|
});
|
|
7964
7956
|
};
|
|
7965
7957
|
|
|
7966
|
-
var
|
|
7967
|
-
|
|
7968
|
-
componentId: "sc-1vk503f-0"
|
|
7969
|
-
})(["", " ", " ", " ", " ", ""], background, border, layout, position, space);
|
|
7958
|
+
var _templateObject$25;
|
|
7959
|
+
var Box = styled.div(_templateObject$25 || (_templateObject$25 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n ", "\n ", "\n"])), background, border, layout, position, space);
|
|
7970
7960
|
|
|
7971
|
-
var
|
|
7972
|
-
|
|
7973
|
-
componentId: "sc-10l7f81-0"
|
|
7974
|
-
})(["display:flex;", ""], flexbox);
|
|
7961
|
+
var _templateObject$24;
|
|
7962
|
+
var Flex = styled(Box)(_templateObject$24 || (_templateObject$24 = _taggedTemplateLiteral(["\n display: flex;\n ", "\n"])), flexbox);
|
|
7975
7963
|
|
|
7976
7964
|
var variants$3 = {
|
|
7977
7965
|
INFO: "info",
|
|
@@ -7980,6 +7968,7 @@ var variants$3 = {
|
|
|
7980
7968
|
WARNING: "warning"
|
|
7981
7969
|
};
|
|
7982
7970
|
|
|
7971
|
+
var _templateObject$23, _templateObject2$14, _templateObject3$N, _templateObject4$y;
|
|
7983
7972
|
var getThemeColor = function getThemeColor(_ref) {
|
|
7984
7973
|
var theme = _ref.theme,
|
|
7985
7974
|
_ref$variant = _ref.variant,
|
|
@@ -8010,26 +7999,14 @@ var getIcon = function getIcon() {
|
|
|
8010
7999
|
return Icon$2E;
|
|
8011
8000
|
}
|
|
8012
8001
|
};
|
|
8013
|
-
var IconLabel = styled.div
|
|
8014
|
-
displayName: "Alert__IconLabel",
|
|
8015
|
-
componentId: "sc-iju7nx-0"
|
|
8016
|
-
})(["background-color:", ";border-radius:10px 0 0 10px;color:black;padding:12px;"], getThemeColor);
|
|
8002
|
+
var IconLabel = styled.div(_templateObject$23 || (_templateObject$23 = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 10px 0 0 10px;\n color: black;\n padding: 12px;\n"])), getThemeColor);
|
|
8017
8003
|
var withHandlerSpacing = 32 + 12 + 8; // button size + inner spacing + handler position
|
|
8018
|
-
var Details = styled.div
|
|
8019
|
-
displayName: "Alert__Details",
|
|
8020
|
-
componentId: "sc-iju7nx-1"
|
|
8021
|
-
})(["flex:1;padding-bottom:12px;padding-left:12px;padding-right:", ";padding-top:12px;"], function (_ref2) {
|
|
8004
|
+
var Details = styled.div(_templateObject2$14 || (_templateObject2$14 = _taggedTemplateLiteral(["\n flex: 1;\n padding-bottom: 12px;\n padding-left: 12px;\n padding-right: ", ";\n padding-top: 12px;\n"])), function (_ref2) {
|
|
8022
8005
|
var hasHandler = _ref2.hasHandler;
|
|
8023
8006
|
return hasHandler ? "".concat(withHandlerSpacing, "px") : "12px";
|
|
8024
8007
|
});
|
|
8025
|
-
var CloseHandler = styled.div
|
|
8026
|
-
|
|
8027
|
-
componentId: "sc-iju7nx-2"
|
|
8028
|
-
})(["border-radius:0 16px 16px 0;right:8px;position:absolute;top:8px;"]);
|
|
8029
|
-
var StyledAlert = styled(Flex).withConfig({
|
|
8030
|
-
displayName: "Alert__StyledAlert",
|
|
8031
|
-
componentId: "sc-iju7nx-3"
|
|
8032
|
-
})(["position:relative;background:", ";@-moz-document url-prefix(){background:rgba(36,36,36,0.95) !important;}box-shadow:0 13px 20px rgba(0,0,0,0.25);border:1px solid ", ";border-radius:10px;"], function (_ref3) {
|
|
8008
|
+
var CloseHandler = styled.div(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteral(["\n border-radius: 0 16px 16px 0;\n right: 8px;\n position: absolute;\n top: 8px;\n"])));
|
|
8009
|
+
var StyledAlert = styled(Flex)(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteral(["\n position: relative;\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n border: 1px solid ", ";\n border-radius: 10px;\n"])), function (_ref3) {
|
|
8033
8010
|
var theme = _ref3.theme;
|
|
8034
8011
|
return theme.backgrounds.secondary;
|
|
8035
8012
|
}, function (_ref4) {
|
|
@@ -8079,10 +8056,8 @@ var observerOptions = {
|
|
|
8079
8056
|
threshold: 0
|
|
8080
8057
|
};
|
|
8081
8058
|
|
|
8082
|
-
var
|
|
8083
|
-
|
|
8084
|
-
componentId: "sc-1ie94f-0"
|
|
8085
|
-
})(["position:relative;background-position:center center;background-repeat:no-repeat;background-size:cover;height:", "px;max-width:", "px;max-height:", "px;width:100%;padding-top:", "%;", ""], function (_ref) {
|
|
8059
|
+
var _templateObject$22;
|
|
8060
|
+
var Wrapper$3 = styled.div(_templateObject$22 || (_templateObject$22 = _taggedTemplateLiteral(["\n position: relative;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: cover;\n height: ", "px;\n max-width: ", "px;\n max-height: ", "px;\n width: 100%;\n padding-top: ", "%;\n ", "\n"])), function (_ref) {
|
|
8086
8061
|
var height = _ref.height,
|
|
8087
8062
|
responsive = _ref.responsive;
|
|
8088
8063
|
return responsive ? 0 : height;
|
|
@@ -8100,14 +8075,9 @@ var Wrapper$3 = styled.div.withConfig({
|
|
|
8100
8075
|
}, space);
|
|
8101
8076
|
|
|
8102
8077
|
var _excluded$q = ["src", "alt"];
|
|
8103
|
-
var
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
})(["position:absolute;top:0;left:0;width:100%;height:100%;max-width:100%;"]);
|
|
8107
|
-
var Placeholder = styled.div.withConfig({
|
|
8108
|
-
displayName: "Image__Placeholder",
|
|
8109
|
-
componentId: "sc-10tqvvr-1"
|
|
8110
|
-
})(["position:absolute;top:0;left:0;width:100%;height:100%;"]);
|
|
8078
|
+
var _templateObject$21, _templateObject2$13;
|
|
8079
|
+
var StyledImage = styled.img(_templateObject$21 || (_templateObject$21 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100%;\n"])));
|
|
8080
|
+
var Placeholder = styled.div(_templateObject2$13 || (_templateObject2$13 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
8111
8081
|
var Image = function Image(_ref) {
|
|
8112
8082
|
var src = _ref.src,
|
|
8113
8083
|
alt = _ref.alt,
|
|
@@ -8143,6 +8113,7 @@ var Image = function Image(_ref) {
|
|
|
8143
8113
|
}));
|
|
8144
8114
|
};
|
|
8145
8115
|
|
|
8116
|
+
var _templateObject$20;
|
|
8146
8117
|
var breakpointMap = {
|
|
8147
8118
|
xs: 370,
|
|
8148
8119
|
sm: 576,
|
|
@@ -8185,7 +8156,7 @@ var grids = {
|
|
|
8185
8156
|
mobile: "grid-template-columns: repeat(".concat(gridsMap.mobile.gridColumns, ", minmax(0, 1fr));\n grid-gap: 20px;\n "),
|
|
8186
8157
|
desktop: "grid-template-columns: repeat(".concat(gridsMap.desktop.gridColumns, ", minmax(0, 1fr));\n grid-gap: 24px;\n ")
|
|
8187
8158
|
};
|
|
8188
|
-
var gridLayout = css(["display:grid
|
|
8159
|
+
var gridLayout = css(_templateObject$20 || (_templateObject$20 = _taggedTemplateLiteral(["\n display: grid;\n ", " {\n ", ";\n }\n ", " {\n ", ";\n }\n"])), function (_ref) {
|
|
8189
8160
|
var theme = _ref.theme;
|
|
8190
8161
|
return theme.mediaQueries.xs;
|
|
8191
8162
|
}, grids.mobile, function (_ref2) {
|
|
@@ -8409,6 +8380,7 @@ var sizes$1 = {
|
|
|
8409
8380
|
XXL: "xxl"
|
|
8410
8381
|
};
|
|
8411
8382
|
|
|
8383
|
+
var _templateObject$1$;
|
|
8412
8384
|
var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, sizes$1.MD, {
|
|
8413
8385
|
fontSize: "20px",
|
|
8414
8386
|
fontSizeLg: "20px"
|
|
@@ -8424,10 +8396,7 @@ var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({},
|
|
|
8424
8396
|
});
|
|
8425
8397
|
var Heading = styled(Text).attrs({
|
|
8426
8398
|
bold: true
|
|
8427
|
-
}).
|
|
8428
|
-
displayName: "Heading",
|
|
8429
|
-
componentId: "sc-1bynhbg-0"
|
|
8430
|
-
})(["font-size:", ";font-weight:600;line-height:1.1;", "{font-size:", ";}"], function (_ref) {
|
|
8399
|
+
})(_templateObject$1$ || (_templateObject$1$ = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: 600;\n line-height: 1.1;\n\n ", " {\n font-size: ", ";\n }\n"])), function (_ref) {
|
|
8431
8400
|
var size = _ref.size;
|
|
8432
8401
|
return style[size || sizes$1.MD].fontSize;
|
|
8433
8402
|
}, function (_ref2) {
|
|
@@ -8441,10 +8410,8 @@ Heading.defaultProps = {
|
|
|
8441
8410
|
as: tags.H2
|
|
8442
8411
|
};
|
|
8443
8412
|
|
|
8444
|
-
var
|
|
8445
|
-
|
|
8446
|
-
componentId: "sc-gb2uez-0"
|
|
8447
|
-
})(["background:", ";box-shadow:0 13px 20px rgba(0,0,0,0.25);@-moz-document url-prefix(){background:#191921 !important;}border-radius:15px;width:100%;z-index:99;overflow-y:auto;padding-bottom:8px;", "{width:auto;min-width:360px;max-width:100%;max-height:80%;}", "{max-height:80vh;}"], function (_ref) {
|
|
8413
|
+
var _templateObject$1_, _templateObject2$12, _templateObject3$M, _templateObject4$x;
|
|
8414
|
+
var StyledModal = styled.div(_templateObject$1_ || (_templateObject$1_ = _taggedTemplateLiteral(["\n background: ", ";\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n @-moz-document url-prefix() {\n background: #191921 !important;\n }\n border-radius: 15px;\n width: 100%;\n z-index: 99;\n overflow-y: auto;\n padding-bottom: 8px;\n ", " {\n width: auto;\n min-width: 360px;\n max-width: 100%;\n max-height: 80%;\n }\n ", " {\n max-height: 80vh;\n }\n"])), function (_ref) {
|
|
8448
8415
|
var theme = _ref.theme;
|
|
8449
8416
|
return theme.colors.card;
|
|
8450
8417
|
}, function (_ref2) {
|
|
@@ -8454,18 +8421,9 @@ var StyledModal = styled.div.withConfig({
|
|
|
8454
8421
|
var theme = _ref3.theme;
|
|
8455
8422
|
return theme.mediaQueries.mobile;
|
|
8456
8423
|
});
|
|
8457
|
-
var CloseButton$1 = styled(Button$1).
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
})(["z-index:99999;width:16px;border:none;align-items:flex-start !important;padding:0px !important;&:hover:not(:disabled):not(.button--disabled):not(:active){background-color:transparent;border-color:transparent;}&:focus:not(:active){box-shadow:none;}"]);
|
|
8461
|
-
var ModalHeader = styled.div.withConfig({
|
|
8462
|
-
displayName: "Modal__ModalHeader",
|
|
8463
|
-
componentId: "sc-gb2uez-2"
|
|
8464
|
-
})(["display:flex;align-items:center;padding:24px 24px 0;"]);
|
|
8465
|
-
var ModalTitle = styled(Flex).withConfig({
|
|
8466
|
-
displayName: "Modal__ModalTitle",
|
|
8467
|
-
componentId: "sc-gb2uez-3"
|
|
8468
|
-
})(["align-items:center;flex:1;"]);
|
|
8424
|
+
var CloseButton$1 = styled(Button$1)(_templateObject2$12 || (_templateObject2$12 = _taggedTemplateLiteral(["\n z-index: 99999;\n width: 16px;\n border: none;\n align-items: flex-start !important;\n padding: 0px !important;\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: transparent;\n border-color: transparent;\n }\n &:focus:not(:active) {\n box-shadow: none;\n }\n"])));
|
|
8425
|
+
var ModalHeader = styled.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n padding: 24px 24px 0;\n"])));
|
|
8426
|
+
var ModalTitle = styled(Flex)(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteral(["\n align-items: center;\n flex: 1;\n"])));
|
|
8469
8427
|
var Modal = function Modal(_ref4) {
|
|
8470
8428
|
var title = _ref4.title,
|
|
8471
8429
|
onDismiss = _ref4.onDismiss,
|
|
@@ -8506,12 +8464,10 @@ var Modal = function Modal(_ref4) {
|
|
|
8506
8464
|
});
|
|
8507
8465
|
};
|
|
8508
8466
|
|
|
8467
|
+
var _templateObject$1Z;
|
|
8509
8468
|
var Overlay = styled.div.attrs({
|
|
8510
8469
|
role: "presentation"
|
|
8511
|
-
}).
|
|
8512
|
-
displayName: "Overlay",
|
|
8513
|
-
componentId: "sc-1u1va95-0"
|
|
8514
|
-
})(["position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgb(22,22,29);transition:opacity 0.4s;opacity:", ";z-index:", ";pointer-events:", ";"], function (_ref) {
|
|
8470
|
+
})(_templateObject$1Z || (_templateObject$1Z = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(22, 22, 29);\n transition: opacity 0.4s;\n opacity: ", ";\n z-index: ", ";\n pointer-events: ", ";\n"])), function (_ref) {
|
|
8515
8471
|
var show = _ref.show;
|
|
8516
8472
|
return show ? 0.6 : 0;
|
|
8517
8473
|
}, function (_ref2) {
|
|
@@ -8526,10 +8482,8 @@ Overlay.defaultProps = {
|
|
|
8526
8482
|
zIndex: 10
|
|
8527
8483
|
};
|
|
8528
8484
|
|
|
8529
|
-
var
|
|
8530
|
-
|
|
8531
|
-
componentId: "sc-4rfz2j-0"
|
|
8532
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:", ";", "{justify-content:flex-start;padding-top:50px;}"], function (_ref) {
|
|
8485
|
+
var _templateObject$1Y;
|
|
8486
|
+
var ModalWrapper = styled.div(_templateObject$1Y || (_templateObject$1Y = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: ", ";\n ", " {\n justify-content: flex-start;\n padding-top: 50px;\n }\n"])), function (_ref) {
|
|
8533
8487
|
var theme = _ref.theme;
|
|
8534
8488
|
return theme.zIndices.modal - 1;
|
|
8535
8489
|
}, function (_ref2) {
|
|
@@ -8921,10 +8875,8 @@ var ConnectModal = function ConnectModal(_ref) {
|
|
|
8921
8875
|
};
|
|
8922
8876
|
|
|
8923
8877
|
var _excluded$p = ["external"];
|
|
8924
|
-
var
|
|
8925
|
-
|
|
8926
|
-
componentId: "sc-qw3uvt-0"
|
|
8927
|
-
})(["display:flex;align-items:center;width:fit-content;margin-right:21px;&:hover{text-decoration:underline;}"]);
|
|
8878
|
+
var _templateObject$1X;
|
|
8879
|
+
var StyledLink$1 = styled(Text)(_templateObject$1X || (_templateObject$1X = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n width: fit-content;\n margin-right: 21px;\n &:hover {\n text-decoration: underline;\n }\n"])));
|
|
8928
8880
|
var Link = function Link(_ref) {
|
|
8929
8881
|
var external = _ref.external,
|
|
8930
8882
|
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
@@ -8955,19 +8907,14 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
8955
8907
|
};
|
|
8956
8908
|
|
|
8957
8909
|
var _excluded$n = ["toCopy", "translations", "children"];
|
|
8910
|
+
var _templateObject$1W, _templateObject2$11;
|
|
8958
8911
|
var StyleButton = styled(Text).attrs({
|
|
8959
8912
|
role: "button"
|
|
8960
|
-
})
|
|
8961
|
-
displayName: "CopyToClipboard__StyleButton",
|
|
8962
|
-
componentId: "sc-v35pzo-0"
|
|
8963
|
-
})(["position:relative;display:flex;align-items:center;color:", ";"], function (_ref) {
|
|
8913
|
+
})(_templateObject$1W || (_templateObject$1W = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (_ref) {
|
|
8964
8914
|
var theme = _ref.theme;
|
|
8965
8915
|
return theme.colors.primary;
|
|
8966
8916
|
});
|
|
8967
|
-
var Tooltip$1 = styled.div.
|
|
8968
|
-
displayName: "CopyToClipboard__Tooltip",
|
|
8969
|
-
componentId: "sc-v35pzo-1"
|
|
8970
|
-
})(["display:", ";position:absolute;bottom:-40px;right:0;left:0;text-align:center;background-color:", ";color:", ";border-radius:5px;opacity:0.7;padding:5px;"], function (_ref2) {
|
|
8917
|
+
var Tooltip$1 = styled.div(_templateObject2$11 || (_templateObject2$11 = _taggedTemplateLiteral(["\n display: ", ";\n position: absolute;\n bottom: -40px;\n right: 0;\n left: 0;\n text-align: center;\n background-color: ", ";\n color: ", ";\n border-radius: 5px;\n opacity: 0.7;\n padding: 5px;\n"])), function (_ref2) {
|
|
8971
8918
|
var isTooltipDisplayed = _ref2.isTooltipDisplayed;
|
|
8972
8919
|
return isTooltipDisplayed ? "block" : "none";
|
|
8973
8920
|
}, function (_ref3) {
|
|
@@ -9308,20 +9255,15 @@ var useConnectWalletEvent = function useConnectWalletEvent(account) {
|
|
|
9308
9255
|
}, [account]);
|
|
9309
9256
|
};
|
|
9310
9257
|
|
|
9311
|
-
var
|
|
9312
|
-
|
|
9313
|
-
componentId: "sc-1mbqjcw-0"
|
|
9314
|
-
})(["position:relative;height:", ";max-height:225px;display:flex;flex-direction:row;justify-content:", ";align-items:center;"], function (_ref) {
|
|
9258
|
+
var _templateObject$1V, _templateObject2$10;
|
|
9259
|
+
var BannerSlideWrapper = styled.div(_templateObject$1V || (_templateObject$1V = _taggedTemplateLiteral(["\n position: relative;\n height: ", ";\n max-height: 225px;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n"])), function (_ref) {
|
|
9315
9260
|
var height = _ref.height;
|
|
9316
9261
|
return "".concat(height, "px");
|
|
9317
9262
|
}, function (_ref2) {
|
|
9318
9263
|
var isMobile = _ref2.isMobile;
|
|
9319
9264
|
return isMobile ? "flex-start" : "space-between";
|
|
9320
9265
|
});
|
|
9321
|
-
var StyledImg = styled(Image)
|
|
9322
|
-
displayName: "BannerSlide__StyledImg",
|
|
9323
|
-
componentId: "sc-1mbqjcw-1"
|
|
9324
|
-
})(["position:absolute;max-height:225px;top:0;img{object-fit:contain;border-radius:", ";}"], function (_ref3) {
|
|
9266
|
+
var StyledImg = styled(Image)(_templateObject2$10 || (_templateObject2$10 = _taggedTemplateLiteral(["\n position: absolute;\n max-height: 225px;\n top: 0;\n img {\n object-fit: contain;\n border-radius: ", ";\n }\n"])), function (_ref3) {
|
|
9325
9267
|
var isMobile = _ref3.isMobile,
|
|
9326
9268
|
theme = _ref3.theme;
|
|
9327
9269
|
return isMobile ? 0 : theme.radii.primary;
|
|
@@ -9358,17 +9300,12 @@ var BannerSlide = function BannerSlide(_ref4) {
|
|
|
9358
9300
|
});
|
|
9359
9301
|
};
|
|
9360
9302
|
|
|
9361
|
-
var
|
|
9362
|
-
|
|
9363
|
-
componentId: "sc-whzh3q-0"
|
|
9364
|
-
})(["margin:0 -32px;", "{margin:0;}"], function (_ref) {
|
|
9303
|
+
var _templateObject$1U, _templateObject2$$;
|
|
9304
|
+
var CarouselWrapper = styled.div(_templateObject$1U || (_templateObject$1U = _taggedTemplateLiteral(["\n margin: 0 -32px;\n\n ", " {\n margin: 0;\n }\n"])), function (_ref) {
|
|
9365
9305
|
var theme = _ref.theme;
|
|
9366
9306
|
return theme.mediaQueries.sm;
|
|
9367
9307
|
});
|
|
9368
|
-
var StyledSlider$2 = styled(Slider).
|
|
9369
|
-
displayName: "BannerSlider__StyledSlider",
|
|
9370
|
-
componentId: "sc-whzh3q-1"
|
|
9371
|
-
})([".slick-track{> div{padding:0 10px;}}.slick-dots{.slick-active{div{background:", " !important;border:2px ", " solid;}}}"], function (_ref2) {
|
|
9308
|
+
var StyledSlider$2 = styled(Slider)(_templateObject2$$ || (_templateObject2$$ = _taggedTemplateLiteral(["\n .slick-track {\n > div {\n padding: 0 10px;\n }\n }\n\n .slick-dots {\n .slick-active {\n div {\n background: ", " !important;\n border: 2px ", " solid;\n }\n }\n }\n"])), function (_ref2) {
|
|
9372
9309
|
var theme = _ref2.theme;
|
|
9373
9310
|
return theme.colors.blue;
|
|
9374
9311
|
}, function (_ref3) {
|
|
@@ -9427,20 +9364,15 @@ var BannerSlider = function BannerSlider(_ref4) {
|
|
|
9427
9364
|
});
|
|
9428
9365
|
};
|
|
9429
9366
|
|
|
9430
|
-
var
|
|
9431
|
-
|
|
9432
|
-
componentId: "sc-1c6k3v2-0"
|
|
9433
|
-
})(["align-items:center;color:currentColor;display:flex;justify-content:center;padding-left:4px;padding-right:4px;", "{padding-left:8px;padding-right:8px;}", "{padding-left:16px;padding-right:16px;}"], function (_ref) {
|
|
9367
|
+
var _templateObject$1T, _templateObject2$_;
|
|
9368
|
+
var Separator = styled.div(_templateObject$1T || (_templateObject$1T = _taggedTemplateLiteral(["\n align-items: center;\n color: currentColor;\n display: flex;\n justify-content: center;\n padding-left: 4px;\n padding-right: 4px;\n\n ", " {\n padding-left: 8px;\n padding-right: 8px;\n }\n\n ", " {\n padding-left: 16px;\n padding-right: 16px;\n }\n"])), function (_ref) {
|
|
9434
9369
|
var theme = _ref.theme;
|
|
9435
9370
|
return theme.mediaQueries.sm;
|
|
9436
9371
|
}, function (_ref2) {
|
|
9437
9372
|
var theme = _ref2.theme;
|
|
9438
9373
|
return theme.mediaQueries.md;
|
|
9439
9374
|
});
|
|
9440
|
-
var StyledBreadcrumbs = styled.ul
|
|
9441
|
-
displayName: "Breadcrumbs__StyledBreadcrumbs",
|
|
9442
|
-
componentId: "sc-1c6k3v2-1"
|
|
9443
|
-
})(["align-items:center;color:", ";display:flex;flex-wrap:wrap;list-style-type:none;", ""], function (_ref3) {
|
|
9375
|
+
var StyledBreadcrumbs = styled.ul(_templateObject2$_ || (_templateObject2$_ = _taggedTemplateLiteral(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n list-style-type: none;\n\n ", "\n"])), function (_ref3) {
|
|
9444
9376
|
var theme = _ref3.theme;
|
|
9445
9377
|
return theme.colors.textDisabled;
|
|
9446
9378
|
}, space);
|
|
@@ -9476,10 +9408,8 @@ var Breadcrumbs = function Breadcrumbs(_ref4) {
|
|
|
9476
9408
|
});
|
|
9477
9409
|
};
|
|
9478
9410
|
|
|
9479
|
-
var
|
|
9480
|
-
|
|
9481
|
-
componentId: "sc-14hzc1v-0"
|
|
9482
|
-
})(["background-color:transparent;border-radius:16px;display:inline-flex;@media (max-width:500px){width:100%;justify-content:space-around;}"]);
|
|
9411
|
+
var _templateObject$1S;
|
|
9412
|
+
var StyledButtonMenu = styled.div(_templateObject$1S || (_templateObject$1S = _taggedTemplateLiteral(["\n background-color: transparent;\n border-radius: 16px;\n display: inline-flex;\n @media (max-width: 500px) {\n width: 100%;\n justify-content: space-around;\n }\n"])));
|
|
9483
9413
|
|
|
9484
9414
|
var ButtonMenu = function ButtonMenu(_ref) {
|
|
9485
9415
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9511,6 +9441,7 @@ var sizes = {
|
|
|
9511
9441
|
var variants$2 = {
|
|
9512
9442
|
PRIMARY: "primary"};
|
|
9513
9443
|
|
|
9444
|
+
var _templateObject$1R;
|
|
9514
9445
|
var getDisabledStyles$2 = function getDisabledStyles(_ref) {
|
|
9515
9446
|
var isLoading = _ref.isLoading,
|
|
9516
9447
|
theme = _ref.theme;
|
|
@@ -9535,10 +9466,7 @@ var getButtonVariantProp$2 = function getButtonVariantProp(prop) {
|
|
|
9535
9466
|
return theme.button[variant][prop];
|
|
9536
9467
|
};
|
|
9537
9468
|
};
|
|
9538
|
-
var StyledButton$1 = styled.button.
|
|
9539
|
-
displayName: "StyledButton",
|
|
9540
|
-
componentId: "sc-zft497-0"
|
|
9541
|
-
})(["align-items:center;background-color:transparent;border:none;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;font-family:inherit;font-size:16px;font-weight:700;color:white;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;padding:", ";transition:all 0.5s;.dot{margin-top:10px;height:", ";width:", ";border-radius:", ";display:inline-block;background-color:", ";}&:hover:not(:disabled):not(.button--disabled):not(:active){border-color:", ";color:", ";}&:active{background-color:transparent;color:", ";}", " ", " ", ""], function (_ref4) {
|
|
9469
|
+
var StyledButton$1 = styled.button(_templateObject$1R || (_templateObject$1R = _taggedTemplateLiteral(["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n font-family: inherit;\n font-size: 16px;\n font-weight: 700;\n color: white;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: all 0.5s;\n\n .dot {\n margin-top: 10px;\n height: ", ";\n width: ", ";\n border-radius: ", ";\n display: inline-block;\n background-color: ", ";\n }\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border-color: ", ";\n color: ", ";\n }\n\n &:active {\n background-color: transparent;\n color: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), function (_ref4) {
|
|
9542
9470
|
var fullWidth = _ref4.fullWidth;
|
|
9543
9471
|
return fullWidth ? "100%" : "max-content";
|
|
9544
9472
|
}, function (_ref5) {
|
|
@@ -9610,6 +9538,7 @@ var getColor = function getColor(color, theme) {
|
|
|
9610
9538
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
9611
9539
|
};
|
|
9612
9540
|
|
|
9541
|
+
var _templateObject$1Q;
|
|
9613
9542
|
var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
9614
9543
|
var outline = _ref.outline,
|
|
9615
9544
|
_ref$variant = _ref.variant,
|
|
@@ -9617,10 +9546,7 @@ var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
|
9617
9546
|
theme = _ref.theme;
|
|
9618
9547
|
return outline ? getColor(variant, theme) : "#ffffff";
|
|
9619
9548
|
};
|
|
9620
|
-
var StyledTag = styled.div.
|
|
9621
|
-
displayName: "StyledTag",
|
|
9622
|
-
componentId: "sc-j7cw9s-0"
|
|
9623
|
-
})(["align-items:center;background-color:", ";border:1px solid ", ";border-radius:16px;color:", ";display:inline-flex;font-size:14px;font-weight:400;height:28px;line-height:1.5;padding:0 8px;white-space:nowrap;svg{fill:", ";}"], function (_ref2) {
|
|
9549
|
+
var StyledTag = styled.div(_templateObject$1Q || (_templateObject$1Q = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 16px;\n color: ", ";\n display: inline-flex;\n font-size: 14px;\n font-weight: 400;\n height: 28px;\n line-height: 1.5;\n padding: 0 8px;\n white-space: nowrap;\n\n svg {\n fill: ", ";\n }\n"])), function (_ref2) {
|
|
9624
9550
|
var outline = _ref2.outline,
|
|
9625
9551
|
theme = _ref2.theme,
|
|
9626
9552
|
_ref2$variant = _ref2.variant,
|
|
@@ -9634,18 +9560,10 @@ var StyledTag = styled.div.withConfig({
|
|
|
9634
9560
|
}, getThemeTextColor, getThemeTextColor);
|
|
9635
9561
|
|
|
9636
9562
|
var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide"];
|
|
9637
|
-
var
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
var ButtonTag = styled(StyledTag).withConfig({
|
|
9642
|
-
displayName: "ButtonMenuItem__ButtonTag",
|
|
9643
|
-
componentId: "sc-1bbtdtk-1"
|
|
9644
|
-
})(["margin-left:7px;font-weight:bold;font-size:11px;padding:1px 5px;height:unset;border-width:1px;"]);
|
|
9645
|
-
var InactiveButton$1 = styled(Button).withConfig({
|
|
9646
|
-
displayName: "ButtonMenuItem__InactiveButton",
|
|
9647
|
-
componentId: "sc-1bbtdtk-2"
|
|
9648
|
-
})(["background-color:transparent;color:#535459;.dot{background-color:transparent;}&:hover:not(:disabled):not(:active){background-color:transparent;}"]);
|
|
9563
|
+
var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
|
|
9564
|
+
var ButtonBody = styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9565
|
+
var ButtonTag = styled(StyledTag)(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteral(["\n margin-left: 7px;\n font-weight: bold;\n font-size: 11px;\n padding: 1px 5px;\n height: unset;\n border-width: 1px;\n"])));
|
|
9566
|
+
var InactiveButton$1 = styled(Button)(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteral(["\n background-color: transparent;\n color: #535459;\n .dot {\n background-color: transparent;\n }\n\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9649
9567
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9650
9568
|
var _ref$isActive = _ref.isActive,
|
|
9651
9569
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9693,10 +9611,8 @@ var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
|
9693
9611
|
}));
|
|
9694
9612
|
};
|
|
9695
9613
|
|
|
9696
|
-
var
|
|
9697
|
-
|
|
9698
|
-
componentId: "sc-byew2t-0"
|
|
9699
|
-
})(["background:linear-gradient(180deg,#000000 0%,rgba(0,0,0,0) 17.71%),#16161d;border:1px solid #808080;box-sizing:border-box;border-radius:99px;display:inline-flex;"]);
|
|
9614
|
+
var _templateObject$1O;
|
|
9615
|
+
var StyledButtonActivityMenu = styled.div(_templateObject$1O || (_templateObject$1O = _taggedTemplateLiteral(["\n background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 17.71%), #16161d;\n border: 1px solid #808080;\n box-sizing: border-box;\n border-radius: 99px;\n display: inline-flex;\n"])));
|
|
9700
9616
|
|
|
9701
9617
|
var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
9702
9618
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9722,6 +9638,7 @@ var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
|
9722
9638
|
});
|
|
9723
9639
|
};
|
|
9724
9640
|
|
|
9641
|
+
var _templateObject$1N;
|
|
9725
9642
|
var getDisabledStyles$1 = function getDisabledStyles(_ref) {
|
|
9726
9643
|
var isLoading = _ref.isLoading,
|
|
9727
9644
|
theme = _ref.theme;
|
|
@@ -9746,10 +9663,7 @@ var getButtonVariantProp$1 = function getButtonVariantProp(prop) {
|
|
|
9746
9663
|
return theme.button[variant][prop];
|
|
9747
9664
|
};
|
|
9748
9665
|
};
|
|
9749
|
-
var StyledButtonActivity = styled.button.
|
|
9750
|
-
displayName: "StyledButtonActivity",
|
|
9751
|
-
componentId: "sc-pam326-0"
|
|
9752
|
-
})(["align-items:center;border:none;cursor:pointer;display:flex;flex-direction:column;font-family:inherit;font-size:16px;font-weight:600;color:white;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;padding:", ";transition:all 0.5s;border-radius:99px;background:linear-gradient(332.11deg,#13c3af 8.45%,#13d8b2 39.11%,#12ffb8 85.67%);color:rgba(22,22,29,1);&:hover:not(:disabled):not(.button--disabled):not(:active){border-color:", ";color:white;}", " ", " ", ""], function (_ref4) {
|
|
9666
|
+
var StyledButtonActivity = styled.button(_templateObject$1N || (_templateObject$1N = _taggedTemplateLiteral(["\n align-items: center;\n border: none;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n color: white;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: all 0.5s;\n\n // Activity\n border-radius: 99px;\n background: linear-gradient(332.11deg, #13c3af 8.45%, #13d8b2 39.11%, #12ffb8 85.67%);\n color: rgba(22, 22, 29, 1);\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border-color: ", ";\n color: white;\n }\n\n ", "\n ", "\n ", "\n"])), function (_ref4) {
|
|
9753
9667
|
var fullWidth = _ref4.fullWidth;
|
|
9754
9668
|
return fullWidth ? "100%" : "max-content";
|
|
9755
9669
|
}, function (_ref5) {
|
|
@@ -9796,10 +9710,8 @@ ButtonActivity.defaultProps = {
|
|
|
9796
9710
|
};
|
|
9797
9711
|
|
|
9798
9712
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9799
|
-
var
|
|
9800
|
-
|
|
9801
|
-
componentId: "sc-kqgtlg-0"
|
|
9802
|
-
})(["background:transparent;color:#808080;&:hover:not(:disabled):not(:active){background-color:transparent;}"]);
|
|
9713
|
+
var _templateObject$1M;
|
|
9714
|
+
var InactiveButton = styled(ButtonActivity)(_templateObject$1M || (_templateObject$1M = _taggedTemplateLiteral(["\n background: transparent;\n color: #808080;\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9803
9715
|
var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
9804
9716
|
var _ref$isActive = _ref.isActive,
|
|
9805
9717
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9824,6 +9736,7 @@ var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
|
9824
9736
|
}, props));
|
|
9825
9737
|
};
|
|
9826
9738
|
|
|
9739
|
+
var _templateObject$1L;
|
|
9827
9740
|
var getDisabledStyles = function getDisabledStyles(_ref) {
|
|
9828
9741
|
var isLoading = _ref.isLoading,
|
|
9829
9742
|
theme = _ref.theme;
|
|
@@ -9848,10 +9761,7 @@ var getButtonVariantProp = function getButtonVariantProp(prop) {
|
|
|
9848
9761
|
return theme.button[variant][prop];
|
|
9849
9762
|
};
|
|
9850
9763
|
};
|
|
9851
|
-
var StyledButtonSwitch = styled.button.
|
|
9852
|
-
displayName: "StyledButtonSwitch",
|
|
9853
|
-
componentId: "sc-obsjj-0"
|
|
9854
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;font-family:inherit;font-size:16px;line-height:28px;font-weight:700;color:", ";width:", ";height:36px;outline:0;padding:0 8px;transition:all 0.5s;&:hover:not(:disabled):not(.button--disabled):not(:active){border-color:", ";color:", ";}", " ", " ", ""], function (_ref4) {
|
|
9764
|
+
var StyledButtonSwitch = styled.button(_templateObject$1L || (_templateObject$1L = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: pointer;\n font-family: inherit;\n font-size: 16px;\n line-height: 28px;\n font-weight: 700;\n color: ", ";\n width: ", ";\n height: 36px;\n outline: 0;\n padding: 0 8px;\n transition: all 0.5s;\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border-color: ", ";\n color: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), function (_ref4) {
|
|
9855
9765
|
var theme = _ref4.theme,
|
|
9856
9766
|
active = _ref4.active;
|
|
9857
9767
|
return active ? "white" : theme.colors.grey;
|
|
@@ -9889,16 +9799,15 @@ var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
|
9889
9799
|
}));
|
|
9890
9800
|
};
|
|
9891
9801
|
|
|
9892
|
-
var
|
|
9893
|
-
|
|
9894
|
-
componentId: "sc-1qzp9bs-0"
|
|
9895
|
-
})(["background:transparent;box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;"]);
|
|
9802
|
+
var _templateObject$1K;
|
|
9803
|
+
var StyledButtonSwitchMenu = styled.div(_templateObject$1K || (_templateObject$1K = _taggedTemplateLiteral(["\n background: transparent;\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n"])));
|
|
9896
9804
|
|
|
9897
9805
|
var variants$1 = {
|
|
9898
9806
|
DEFAULT: "default",
|
|
9899
9807
|
PANEL: "panel"
|
|
9900
9808
|
};
|
|
9901
9809
|
|
|
9810
|
+
var _templateObject$1J, _templateObject2$Y, _templateObject3$K;
|
|
9902
9811
|
var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
9903
9812
|
return function (_ref) {
|
|
9904
9813
|
var theme = _ref.theme,
|
|
@@ -9907,21 +9816,12 @@ var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
|
9907
9816
|
return theme.toggle[variant][prop];
|
|
9908
9817
|
};
|
|
9909
9818
|
};
|
|
9910
|
-
var Handle = styled.div
|
|
9911
|
-
displayName: "StyledToggle__Handle",
|
|
9912
|
-
componentId: "sc-11wqnqq-0"
|
|
9913
|
-
})(["background-color:", ";border-radius:50%;cursor:pointer;height:16px;left:3px;position:absolute;top:2px;transition:all 200ms ease-in;width:16px;z-index:1;"], function (_ref2) {
|
|
9819
|
+
var Handle = styled.div(_templateObject$1J || (_templateObject$1J = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 50%;\n cursor: pointer;\n height: 16px;\n left: 3px;\n position: absolute;\n top: 2px;\n transition: all 200ms ease-in;\n width: 16px;\n z-index: 1;\n"])), function (_ref2) {
|
|
9914
9820
|
var checked = _ref2.checked;
|
|
9915
9821
|
return checked ? getToggleVariantProp("backgroundHandleActive") : getToggleVariantProp("backgroundHandleInactive");
|
|
9916
9822
|
});
|
|
9917
|
-
var Input$1 = styled.input
|
|
9918
|
-
|
|
9919
|
-
componentId: "sc-11wqnqq-1"
|
|
9920
|
-
})(["cursor:pointer;opacity:0;height:100%;position:absolute;width:100%;z-index:3;&:checked + ", "{left:calc(100% - 18px);}"], Handle);
|
|
9921
|
-
var StyledToggle = styled.div.withConfig({
|
|
9922
|
-
displayName: "StyledToggle",
|
|
9923
|
-
componentId: "sc-11wqnqq-2"
|
|
9924
|
-
})(["align-items:center;background:", ";border:1px solid ", ";border-radius:11px;cursor:pointer;display:inline-flex;height:22px;position:relative;transition:background-color 200ms;width:42px;"], function (_ref3) {
|
|
9823
|
+
var Input$1 = styled.input(_templateObject2$Y || (_templateObject2$Y = _taggedTemplateLiteral(["\n cursor: pointer;\n opacity: 0;\n height: 100%;\n position: absolute;\n width: 100%;\n z-index: 3;\n\n &:checked + ", " {\n left: calc(100% - 18px);\n }\n"])), Handle);
|
|
9824
|
+
var StyledToggle = styled.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteral(["\n align-items: center;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 11px;\n cursor: pointer;\n display: inline-flex;\n height: 22px;\n position: relative;\n transition: background-color 200ms;\n width: 42px;\n"])), function (_ref3) {
|
|
9925
9825
|
var checked = _ref3.checked;
|
|
9926
9826
|
return checked ? getToggleVariantProp("backgroundToggleActive") : getToggleVariantProp("backgroundToggleInactive");
|
|
9927
9827
|
}, getToggleVariantProp("borderColor"));
|
|
@@ -10002,6 +9902,7 @@ var ButtonSwitchMenu = function ButtonSwitchMenu(_ref) {
|
|
|
10002
9902
|
});
|
|
10003
9903
|
};
|
|
10004
9904
|
|
|
9905
|
+
var _templateObject$1I;
|
|
10005
9906
|
/**
|
|
10006
9907
|
* Priority: Warning --> Success --> Active
|
|
10007
9908
|
*/
|
|
@@ -10021,10 +9922,7 @@ var getBoxShadow$2 = function getBoxShadow(_ref) {
|
|
|
10021
9922
|
}
|
|
10022
9923
|
return theme.card.boxShadow;
|
|
10023
9924
|
};
|
|
10024
|
-
var StyledCard = styled.div.
|
|
10025
|
-
displayName: "StyledCard",
|
|
10026
|
-
componentId: "sc-b498h5-0"
|
|
10027
|
-
})(["background:", ";@-moz-document url-prefix(){background:rgba(36,36,36,0.95) !important;}box-shadow:0 13px 20px rgba(0,0,0,0.25);border:1px solid ", ";border-radius:15px;box-shadow:", ";color:", ";overflow:hidden;position:relative;padding:30px;", ""], function (_ref2) {
|
|
9925
|
+
var StyledCard = styled.div(_templateObject$1I || (_templateObject$1I = _taggedTemplateLiteral(["\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n border: 1px solid ", ";\n border-radius: 15px;\n box-shadow: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n padding: 30px;\n\n ", "\n"])), function (_ref2) {
|
|
10028
9926
|
var theme = _ref2.theme;
|
|
10029
9927
|
return theme.colors.card;
|
|
10030
9928
|
}, function (_ref3) {
|
|
@@ -10052,32 +9950,24 @@ var Card = function Card(_ref) {
|
|
|
10052
9950
|
}));
|
|
10053
9951
|
};
|
|
10054
9952
|
|
|
10055
|
-
var
|
|
10056
|
-
|
|
10057
|
-
componentId: "sc-1of0iur-0"
|
|
10058
|
-
})(["", " display:flex;justify-content:center;"], space);
|
|
9953
|
+
var _templateObject$1H;
|
|
9954
|
+
var CardBody = styled.div(_templateObject$1H || (_templateObject$1H = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), space);
|
|
10059
9955
|
CardBody.defaultProps = {
|
|
10060
9956
|
p: "24px"
|
|
10061
9957
|
};
|
|
10062
9958
|
|
|
10063
|
-
var
|
|
10064
|
-
|
|
10065
|
-
componentId: "sc-1ikcixt-0"
|
|
10066
|
-
})(["", " font-weight:700;font-size:26px;line-height:130%;display:flex;width:100%;justify-content:space-between;"], space);
|
|
9959
|
+
var _templateObject$1G;
|
|
9960
|
+
var CardHeader = styled.div(_templateObject$1G || (_templateObject$1G = _taggedTemplateLiteral(["\n ", "\n font-weight: 700;\n font-size: 26px;\n line-height: 130%;\n display: flex;\n width: 100%;\n justify-content: space-between;\n"])), space);
|
|
10067
9961
|
CardHeader.defaultProps = {};
|
|
10068
9962
|
|
|
10069
|
-
var
|
|
10070
|
-
|
|
10071
|
-
componentId: "sc-7k1ypk-0"
|
|
10072
|
-
})(["", " display:flex;justify-content:center;"], space);
|
|
9963
|
+
var _templateObject$1F;
|
|
9964
|
+
var CardFooter = styled.div(_templateObject$1F || (_templateObject$1F = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), space);
|
|
10073
9965
|
CardFooter.defaultProps = {
|
|
10074
9966
|
p: "24px"
|
|
10075
9967
|
};
|
|
10076
9968
|
|
|
10077
|
-
var
|
|
10078
|
-
|
|
10079
|
-
componentId: "sc-1qhw702-0"
|
|
10080
|
-
})(["background-color:", ";color:white;margin:0;padding:0;padding:8px 0;position:absolute;right:0;top:0;text-align:center;transform:translateX(30%) translateY(0%) rotate(45deg);transform-origin:top left;width:96px;&:before,&:after{background-color:", ";content:\"\";height:100%;margin:0 -1px;position:absolute;top:0;width:100%;}&:before{right:100%;}&:after{left:100%;}& > div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:96px;}"], function (_ref) {
|
|
9969
|
+
var _templateObject$1E;
|
|
9970
|
+
var StyledCardRibbon = styled.div(_templateObject$1E || (_templateObject$1E = _taggedTemplateLiteral(["\n background-color: ", ";\n color: white;\n margin: 0;\n padding: 0;\n padding: 8px 0;\n position: absolute;\n right: 0;\n top: 0;\n text-align: center;\n transform: translateX(30%) translateY(0%) rotate(45deg);\n transform-origin: top left;\n width: 96px;\n\n &:before,\n &:after {\n background-color: ", ";\n content: \"\";\n height: 100%;\n margin: 0 -1px; /* Removes tiny gap */\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:before {\n right: 100%;\n }\n\n &:after {\n left: 100%;\n }\n\n & > div {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 96px;\n }\n"])), function (_ref) {
|
|
10081
9971
|
var _ref$variantColor = _ref.variantColor,
|
|
10082
9972
|
variantColor = _ref$variantColor === void 0 ? "secondary" : _ref$variantColor,
|
|
10083
9973
|
theme = _ref.theme;
|
|
@@ -10105,6 +9995,7 @@ var scales$2 = {
|
|
|
10105
9995
|
MD: "md"
|
|
10106
9996
|
};
|
|
10107
9997
|
|
|
9998
|
+
var _templateObject$1D;
|
|
10108
9999
|
var getScale$1 = function getScale(_ref) {
|
|
10109
10000
|
var scale = _ref.scale;
|
|
10110
10001
|
switch (scale) {
|
|
@@ -10117,10 +10008,7 @@ var getScale$1 = function getScale(_ref) {
|
|
|
10117
10008
|
};
|
|
10118
10009
|
var Checkbox = styled.input.attrs({
|
|
10119
10010
|
type: "checkbox"
|
|
10120
|
-
}).
|
|
10121
|
-
displayName: "Checkbox",
|
|
10122
|
-
componentId: "sc-1dgqwt2-0"
|
|
10123
|
-
})(["appearance:none;overflow:hidden;cursor:pointer;position:relative;display:inline-block;height:", ";width:", ";vertical-align:middle;transition:background-color 0.2s ease-in-out;border:", ";border-radius:8px;background-color:", ";box-shadow:", ";&:after{content:\"\";position:absolute;border-bottom:2px solid;border-left:2px solid;border-color:transparent;top:30%;left:0;right:0;width:50%;height:25%;margin:auto;transform:rotate(-50deg);transition:border-color 0.2s ease-in-out;}&:hover:not(:disabled):not(:checked){box-shadow:", ";border:", ";}&:focus{outline:none;box-shadow:", ";}&:checked{background-color:", ";border:", ";&:after{border-color:white;}}&:disabled{cursor:default;opacity:0.6;}"], getScale$1, getScale$1, function (_ref2) {
|
|
10011
|
+
})(_templateObject$1D || (_templateObject$1D = _taggedTemplateLiteral(["\n appearance: none;\n overflow: hidden;\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: ", ";\n width: ", ";\n vertical-align: middle;\n transition: background-color 0.2s ease-in-out;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n box-shadow: ", ";\n\n &:after {\n content: \"\";\n position: absolute;\n border-bottom: 2px solid;\n border-left: 2px solid;\n border-color: transparent;\n top: 30%;\n left: 0;\n right: 0;\n width: 50%;\n height: 25%;\n margin: auto;\n transform: rotate(-50deg);\n transition: border-color 0.2s ease-in-out;\n }\n\n &:hover:not(:disabled):not(:checked) {\n box-shadow: ", ";\n border: ", ";\n }\n\n &:focus {\n outline: none;\n box-shadow: ", ";\n }\n\n &:checked {\n background-color: ", ";\n border: ", ";\n &:after {\n border-color: white;\n }\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.6;\n }\n"])), getScale$1, getScale$1, function (_ref2) {
|
|
10124
10012
|
var bordered = _ref2.bordered;
|
|
10125
10013
|
return bordered ? "0.1px solid white !important" : "";
|
|
10126
10014
|
}, function (_ref3) {
|
|
@@ -10149,6 +10037,7 @@ Checkbox.defaultProps = {
|
|
|
10149
10037
|
scale: scales$2.MD
|
|
10150
10038
|
};
|
|
10151
10039
|
|
|
10040
|
+
var _templateObject$1C, _templateObject2$X;
|
|
10152
10041
|
var getLeft = function getLeft(_ref) {
|
|
10153
10042
|
var position = _ref.position;
|
|
10154
10043
|
if (position === "top-right") {
|
|
@@ -10163,10 +10052,7 @@ var getBottom = function getBottom(_ref2) {
|
|
|
10163
10052
|
}
|
|
10164
10053
|
return "auto";
|
|
10165
10054
|
};
|
|
10166
|
-
var DropdownContent = styled.div
|
|
10167
|
-
displayName: "Dropdown__DropdownContent",
|
|
10168
|
-
componentId: "sc-1ns2r4e-0"
|
|
10169
|
-
})(["width:max-content;display:none;flex-direction:column;position:absolute;transform:translate(-50%,0);left:", ";bottom:", ";background-color:", ";box-shadow:", ";padding:16px;max-height:400px;overflow-y:auto;overflow-x:hidden;z-index:", ";border-radius:", ";"], getLeft, getBottom, function (_ref3) {
|
|
10055
|
+
var DropdownContent = styled.div(_templateObject$1C || (_templateObject$1C = _taggedTemplateLiteral(["\n width: max-content;\n display: none;\n flex-direction: column;\n position: absolute;\n transform: translate(-50%, 0);\n left: ", ";\n bottom: ", ";\n background-color: ", ";\n box-shadow: ", ";\n padding: 16px;\n max-height: 400px;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: ", ";\n border-radius: ", ";\n"])), getLeft, getBottom, function (_ref3) {
|
|
10170
10056
|
var theme = _ref3.theme;
|
|
10171
10057
|
return theme.nav.background;
|
|
10172
10058
|
}, function (_ref4) {
|
|
@@ -10179,10 +10065,7 @@ var DropdownContent = styled.div.withConfig({
|
|
|
10179
10065
|
var theme = _ref6.theme;
|
|
10180
10066
|
return theme.radii.small;
|
|
10181
10067
|
});
|
|
10182
|
-
var Container$7 = styled.div
|
|
10183
|
-
displayName: "Dropdown__Container",
|
|
10184
|
-
componentId: "sc-1ns2r4e-1"
|
|
10185
|
-
})(["position:relative;&:hover ", ",&:focus-within ", "{display:flex;}"], DropdownContent, DropdownContent);
|
|
10068
|
+
var Container$7 = styled.div(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteral(["\n position: relative;\n &:hover ", ", &:focus-within ", " {\n display: flex;\n }\n"])), DropdownContent, DropdownContent);
|
|
10186
10069
|
var Dropdown = function Dropdown(_ref7) {
|
|
10187
10070
|
var target = _ref7.target,
|
|
10188
10071
|
_ref7$position = _ref7.position,
|
|
@@ -10200,14 +10083,9 @@ Dropdown.defaultProps = {
|
|
|
10200
10083
|
};
|
|
10201
10084
|
|
|
10202
10085
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10203
|
-
var
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
})(["font-weight:700;"]);
|
|
10207
|
-
var StyledEarnedToken = styled.div.withConfig({
|
|
10208
|
-
displayName: "EarnedToken__StyledEarnedToken",
|
|
10209
|
-
componentId: "sc-1kzbws6-1"
|
|
10210
|
-
})(["width:100%;background:", ";border-radius:", ";overflow:hidden;position:relative;padding:", ";color:", ";font-size:16px;font-weight:700;line-height:28px;", " ", "{padding:15px;border:1px solid ", ";font-size:20px;line-height:26px;}"], function (_ref) {
|
|
10086
|
+
var _templateObject$1B, _templateObject2$W, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$j, _templateObject7$f;
|
|
10087
|
+
var StyledHeading = styled.div(_templateObject$1B || (_templateObject$1B = _taggedTemplateLiteral(["\n font-weight: 700;\n"])));
|
|
10088
|
+
var StyledEarnedToken = styled.div(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteral(["\n width: 100%;\n background: ", ";\n border-radius: ", ";\n overflow: hidden;\n position: relative;\n padding: ", ";\n color: ", ";\n font-size: 16px;\n font-weight: 700;\n line-height: 28px;\n\n ", "\n\n ", " {\n padding: 15px;\n border: 1px solid ", ";\n font-size: 20px;\n line-height: 26px;\n }\n"])), function (_ref) {
|
|
10211
10089
|
var theme = _ref.theme;
|
|
10212
10090
|
return theme.backgrounds.secondary;
|
|
10213
10091
|
}, function (_ref2) {
|
|
@@ -10222,7 +10100,7 @@ var StyledEarnedToken = styled.div.withConfig({
|
|
|
10222
10100
|
return theme.colors.white;
|
|
10223
10101
|
}, function (_ref5) {
|
|
10224
10102
|
var toggled = _ref5.toggled;
|
|
10225
|
-
return toggled && css(["border:1px solid ", "
|
|
10103
|
+
return toggled && css(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n "])), function (_ref6) {
|
|
10226
10104
|
var theme = _ref6.theme;
|
|
10227
10105
|
return theme.colors.white10;
|
|
10228
10106
|
});
|
|
@@ -10233,31 +10111,19 @@ var StyledEarnedToken = styled.div.withConfig({
|
|
|
10233
10111
|
var theme = _ref8.theme;
|
|
10234
10112
|
return theme.colors.white10;
|
|
10235
10113
|
});
|
|
10236
|
-
var Amount = styled.div
|
|
10237
|
-
displayName: "EarnedToken__Amount",
|
|
10238
|
-
componentId: "sc-1kzbws6-2"
|
|
10239
|
-
})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;svg{width:24px;height:24px;margin-top:5px;margin-right:15px;", "{margin-top:0;margin-right:8px;}}", "{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;height:24px;padding:25px 0;}"], function (_ref9) {
|
|
10114
|
+
var Amount = styled.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n width: 100%;\n\n svg {\n width: 24px;\n height: 24px;\n margin-top: 5px;\n margin-right: 15px;\n\n ", " {\n margin-top: 0;\n margin-right: 8px;\n }\n }\n\n ", " {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 24px;\n padding: 25px 0;\n }\n"])), function (_ref9) {
|
|
10240
10115
|
var theme = _ref9.theme;
|
|
10241
10116
|
return theme.mediaQueries.sm;
|
|
10242
10117
|
}, function (_ref0) {
|
|
10243
10118
|
var theme = _ref0.theme;
|
|
10244
10119
|
return theme.mediaQueries.sm;
|
|
10245
10120
|
});
|
|
10246
|
-
var Actions = styled.div
|
|
10247
|
-
displayName: "EarnedToken__Actions",
|
|
10248
|
-
componentId: "sc-1kzbws6-3"
|
|
10249
|
-
})(["display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;button{width:100%;height:40px;font-size:11px;padding:0;}", "{flex-direction:column;button{font-size:16px;margin-bottom:5px;}}"], function (_ref1) {
|
|
10121
|
+
var Actions = styled.div(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 100%;\n\n button {\n width: 100%;\n height: 40px;\n font-size: 11px;\n padding: 0;\n }\n\n ", " {\n flex-direction: column;\n\n button {\n font-size: 16px;\n margin-bottom: 5px;\n }\n }\n"])), function (_ref1) {
|
|
10250
10122
|
var theme = _ref1.theme;
|
|
10251
10123
|
return theme.mediaQueries.sm;
|
|
10252
10124
|
});
|
|
10253
|
-
var MobileInfo = styled.div
|
|
10254
|
-
|
|
10255
|
-
componentId: "sc-1kzbws6-4"
|
|
10256
|
-
})(["display:flex;flex-direction:column;width:80%;margin-bottom:10px;"]);
|
|
10257
|
-
var Toggle = styled.div.withConfig({
|
|
10258
|
-
displayName: "EarnedToken__Toggle",
|
|
10259
|
-
componentId: "sc-1kzbws6-5"
|
|
10260
|
-
})(["justify-self:flex-end;svg{margin:0;}"]);
|
|
10125
|
+
var MobileInfo = styled.div(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 80%;\n margin-bottom: 10px;\n"])));
|
|
10126
|
+
var Toggle = styled.div(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteral(["\n justify-self: flex-end;\n\n svg {\n margin: 0;\n }\n"])));
|
|
10261
10127
|
var EarnedToken = function EarnedToken(_ref10) {
|
|
10262
10128
|
var tokenName = _ref10.tokenName,
|
|
10263
10129
|
amount = _ref10.amount,
|
|
@@ -10317,10 +10183,8 @@ var Tokens;
|
|
|
10317
10183
|
Tokens["ETH"] = "ETH";
|
|
10318
10184
|
})(Tokens || (Tokens = {}));
|
|
10319
10185
|
|
|
10320
|
-
var
|
|
10321
|
-
|
|
10322
|
-
componentId: "sc-vkh54k-0"
|
|
10323
|
-
})(["border:1px solid ", ";background:", ";width:100%;border-radius:", ";color:", ";overflow:hidden;position:relative;"], function (_ref) {
|
|
10186
|
+
var _templateObject$1A;
|
|
10187
|
+
var StyledEarnedWrapper = styled.div(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n width: 100%;\n border-radius: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n"])), function (_ref) {
|
|
10324
10188
|
var theme = _ref.theme;
|
|
10325
10189
|
return theme.colors.white7;
|
|
10326
10190
|
}, function (_ref2) {
|
|
@@ -10343,10 +10207,8 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10343
10207
|
}));
|
|
10344
10208
|
};
|
|
10345
10209
|
|
|
10346
|
-
var
|
|
10347
|
-
|
|
10348
|
-
componentId: "sc-fpoazu-0"
|
|
10349
|
-
})(["font-size:20px;line-height:26px;padding:15px;font-weight:700;color:", ";display:flex;justify-content:flex-start;align-items:center;", "{font-size:26px;line-height:33.8px;padding:25px 10px 25px 30px;}"], function (_ref) {
|
|
10210
|
+
var _templateObject$1z;
|
|
10211
|
+
var EarnedWrapperHeader = styled.div(_templateObject$1z || (_templateObject$1z = _taggedTemplateLiteral(["\n font-size: 20px;\n line-height: 26px;\n padding: 15px;\n font-weight: 700;\n color: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n ", " {\n font-size: 26px;\n line-height: 33.8px;\n padding: 25px 10px 25px 30px;\n }\n"])), function (_ref) {
|
|
10350
10212
|
var theme = _ref.theme;
|
|
10351
10213
|
return theme.colors.white;
|
|
10352
10214
|
}, function (_ref2) {
|
|
@@ -10357,10 +10219,8 @@ EarnedWrapperHeader.defaultProps = {
|
|
|
10357
10219
|
as: tags.H2
|
|
10358
10220
|
};
|
|
10359
10221
|
|
|
10360
|
-
var
|
|
10361
|
-
|
|
10362
|
-
componentId: "sc-183ri5-0"
|
|
10363
|
-
})(["display:grid;grid-template-columns:repeat(8,1fr);grid-gap:16px;", "{grid-gap:10px;}", "{grid-template-columns:repeat(12,1fr);grid-gap:24px;}", "{grid-template-columns:repeat(12,1fr);grid-gap:32px;}"], function (_ref) {
|
|
10222
|
+
var _templateObject$1y;
|
|
10223
|
+
var GridLayout$1 = styled.div(_templateObject$1y || (_templateObject$1y = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(8, 1fr);\n grid-gap: 16px;\n ", " {\n grid-gap: 10px;\n }\n ", " {\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 24px;\n }\n ", " {\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 32px;\n }\n"])), function (_ref) {
|
|
10364
10224
|
var theme = _ref.theme;
|
|
10365
10225
|
return theme.mediaQueries.sm;
|
|
10366
10226
|
}, function (_ref2) {
|
|
@@ -10371,28 +10231,21 @@ var GridLayout$1 = styled.div.withConfig({
|
|
|
10371
10231
|
return theme.mediaQueries.lg;
|
|
10372
10232
|
});
|
|
10373
10233
|
|
|
10374
|
-
var
|
|
10375
|
-
|
|
10376
|
-
componentId: "sc-1cke1k8-0"
|
|
10377
|
-
})(["& > div{grid-column:span 6;", "{grid-column:span 4;}}"], function (_ref) {
|
|
10234
|
+
var _templateObject$1x;
|
|
10235
|
+
var GridLayout = styled(GridLayout$1)(_templateObject$1x || (_templateObject$1x = _taggedTemplateLiteral(["\n & > div {\n grid-column: span 6;\n ", " {\n grid-column: span 4;\n }\n }\n"])), function (_ref) {
|
|
10378
10236
|
var theme = _ref.theme;
|
|
10379
10237
|
return theme.mediaQueries.sm;
|
|
10380
10238
|
});
|
|
10381
10239
|
|
|
10382
|
-
var
|
|
10383
|
-
|
|
10384
|
-
componentId: "sc-1bcwv2i-0"
|
|
10385
|
-
})(["width:100%;display:flex;justify-content:flex-start;padding:0 10px;", "{padding:0 30px;margin-bottom:", " !important;}"], function (_ref) {
|
|
10240
|
+
var _templateObject$1w, _templateObject2$V, _templateObject3$I;
|
|
10241
|
+
var StyledEarnedWrapperBody = styled.div(_templateObject$1w || (_templateObject$1w = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n padding: 0 10px;\n\n ", " {\n padding: 0 30px;\n margin-bottom: ", " !important;\n }\n"])), function (_ref) {
|
|
10386
10242
|
var theme = _ref.theme;
|
|
10387
10243
|
return theme.mediaQueries.md;
|
|
10388
10244
|
}, function (_ref2) {
|
|
10389
10245
|
var withoutMore = _ref2.withoutMore;
|
|
10390
10246
|
return withoutMore ? "30px" : "0px";
|
|
10391
10247
|
});
|
|
10392
|
-
var StyledCardsLayout = styled(GridLayout$1)
|
|
10393
|
-
displayName: "EarnedWrapperBody__StyledCardsLayout",
|
|
10394
|
-
componentId: "sc-1bcwv2i-1"
|
|
10395
|
-
})(["width:100%;& > div{grid-column:span 12;", "{grid-column:span 4;}", "{grid-column:span 4;}", "{grid-column:span ", ";}}"], function (_ref3) {
|
|
10248
|
+
var StyledCardsLayout = styled(GridLayout$1)(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteral(["\n width: 100%;\n\n & > div {\n grid-column: span 12;\n ", " {\n grid-column: span 4;\n }\n ", " {\n grid-column: span 4;\n }\n ", " {\n grid-column: span ", ";\n }\n }\n"])), function (_ref3) {
|
|
10396
10249
|
var theme = _ref3.theme;
|
|
10397
10250
|
return theme.mediaQueries.sm;
|
|
10398
10251
|
}, function (_ref4) {
|
|
@@ -10405,10 +10258,7 @@ var StyledCardsLayout = styled(GridLayout$1).withConfig({
|
|
|
10405
10258
|
var childrenNumber = _ref6.childrenNumber;
|
|
10406
10259
|
return childrenNumber === 3 ? "4" : "3";
|
|
10407
10260
|
});
|
|
10408
|
-
var EarnedWrapperFooter = styled.div
|
|
10409
|
-
displayName: "EarnedWrapperBody__EarnedWrapperFooter",
|
|
10410
|
-
componentId: "sc-1bcwv2i-2"
|
|
10411
|
-
})(["display:flex;justify-content:center;align-items:center;padding:10px 5px;", "{padding:20px 30px;}"], function (_ref7) {
|
|
10261
|
+
var EarnedWrapperFooter = styled.div(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px 5px;\n\n ", " {\n padding: 20px 30px;\n }\n"])), function (_ref7) {
|
|
10412
10262
|
var theme = _ref7.theme;
|
|
10413
10263
|
return theme.mediaQueries.md;
|
|
10414
10264
|
});
|
|
@@ -10475,10 +10325,8 @@ var EarnedWrapperBody = function EarnedWrapperBody(_ref8) {
|
|
|
10475
10325
|
});
|
|
10476
10326
|
};
|
|
10477
10327
|
|
|
10478
|
-
var
|
|
10479
|
-
|
|
10480
|
-
componentId: "sc-1fmwe6r-0"
|
|
10481
|
-
})(["border:1px solid ", ";background:", ";width:100%;border-radius:", ";color:", ";overflow:hidden;position:relative;padding-bottom:10px;", "{padding-bottom:0px;}"], function (_ref) {
|
|
10328
|
+
var _templateObject$1v;
|
|
10329
|
+
var StyledEarnedCarouselWrapper = styled.div(_templateObject$1v || (_templateObject$1v = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n width: 100%;\n border-radius: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n padding-bottom: 10px;\n ", " {\n padding-bottom: 0px;\n }\n"])), function (_ref) {
|
|
10482
10330
|
var theme = _ref.theme;
|
|
10483
10331
|
return theme.colors.white7;
|
|
10484
10332
|
}, function (_ref2) {
|
|
@@ -10504,10 +10352,8 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10504
10352
|
}));
|
|
10505
10353
|
};
|
|
10506
10354
|
|
|
10507
|
-
var
|
|
10508
|
-
|
|
10509
|
-
componentId: "sc-zz4zep-0"
|
|
10510
|
-
})(["font-size:20px;line-height:26px;padding:15px;font-weight:700;color:", ";display:flex;justify-content:flex-start;align-items:center;", "{font-size:26px;line-height:33.8px;padding:25px 10px 25px 30px;}"], function (_ref) {
|
|
10355
|
+
var _templateObject$1u;
|
|
10356
|
+
var EarnedCarouselWrapperHeader = styled.div(_templateObject$1u || (_templateObject$1u = _taggedTemplateLiteral(["\n font-size: 20px;\n line-height: 26px;\n padding: 15px;\n font-weight: 700;\n color: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n ", " {\n font-size: 26px;\n line-height: 33.8px;\n padding: 25px 10px 25px 30px;\n }\n"])), function (_ref) {
|
|
10511
10357
|
var theme = _ref.theme;
|
|
10512
10358
|
return theme.colors.white;
|
|
10513
10359
|
}, function (_ref2) {
|
|
@@ -10518,14 +10364,9 @@ EarnedCarouselWrapperHeader.defaultProps = {
|
|
|
10518
10364
|
as: tags.H2
|
|
10519
10365
|
};
|
|
10520
10366
|
|
|
10521
|
-
var
|
|
10522
|
-
|
|
10523
|
-
|
|
10524
|
-
})(["padding:0 10px;@media (max-width:800px){width:50%;}@media (min-width:800px){width:33.3%;}@media (min-width:1200px){width:25%;}"]);
|
|
10525
|
-
var SliderWrapper = styled.div.withConfig({
|
|
10526
|
-
displayName: "EarnedCarouselWrapperBody__SliderWrapper",
|
|
10527
|
-
componentId: "sc-63miep-1"
|
|
10528
|
-
})(["", "{margin:", ";}", "{margin:", ";}display:flex;flex-direction:row;justify-content:flex-start;align-items:center;"], function (_ref) {
|
|
10367
|
+
var _templateObject$1t, _templateObject2$U, _templateObject3$H;
|
|
10368
|
+
var CSSTokenWrapper = styled.div(_templateObject$1t || (_templateObject$1t = _taggedTemplateLiteral(["\n padding: 0 10px;\n\n @media (max-width: 800px) {\n width: 50%;\n }\n @media (min-width: 800px) {\n width: 33.3%;\n }\n @media (min-width: 1200px) {\n width: 25%;\n }\n"])));
|
|
10369
|
+
var SliderWrapper = styled.div(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteral(["\n ", " {\n margin: ", ";\n }\n\n ", " {\n margin: ", ";\n }\n\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n"])), function (_ref) {
|
|
10529
10370
|
var theme = _ref.theme;
|
|
10530
10371
|
return theme.mediaQueries.sm;
|
|
10531
10372
|
}, function (_ref2) {
|
|
@@ -10538,10 +10379,7 @@ var SliderWrapper = styled.div.withConfig({
|
|
|
10538
10379
|
var dots = _ref4.dots;
|
|
10539
10380
|
return dots ? "0 20px 60px" : "0 5px 15px";
|
|
10540
10381
|
});
|
|
10541
|
-
var StyledSlider$1 = styled(Slider).
|
|
10542
|
-
displayName: "EarnedCarouselWrapperBody__StyledSlider",
|
|
10543
|
-
componentId: "sc-63miep-2"
|
|
10544
|
-
})(["@media (max-width:800px){width:", ";}@media (min-width:800px){width:", ";}@media (min-width:1200px){width:", ";}.slick-track{display:flex;> div{padding:0 10px;}}.slick-dots{.slick-active{div{background:", " !important;}}}"], function (_ref5) {
|
|
10382
|
+
var StyledSlider$1 = styled(Slider)(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteral(["\n @media (max-width: 800px) {\n width: ", ";\n }\n @media (min-width: 800px) {\n width: ", ";\n }\n @media (min-width: 1200px) {\n width: ", ";\n }\n\n .slick-track {\n display: flex;\n > div {\n padding: 0 10px;\n }\n }\n\n .slick-dots {\n .slick-active {\n div {\n background: ", " !important;\n }\n }\n }\n"])), function (_ref5) {
|
|
10545
10383
|
var withoutMain = _ref5.withoutMain;
|
|
10546
10384
|
if (withoutMain) {
|
|
10547
10385
|
return "100%";
|
|
@@ -10706,6 +10544,7 @@ var BackgroundImage = function BackgroundImage(_ref) {
|
|
|
10706
10544
|
}, otherProps));
|
|
10707
10545
|
};
|
|
10708
10546
|
|
|
10547
|
+
var _templateObject$1s;
|
|
10709
10548
|
var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
10710
10549
|
var isActive = _ref.isActive,
|
|
10711
10550
|
isWarning = _ref.isWarning,
|
|
@@ -10718,10 +10557,7 @@ var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
|
10718
10557
|
}
|
|
10719
10558
|
return theme.infoBox.boxShadow;
|
|
10720
10559
|
};
|
|
10721
|
-
var StyledInfoBox = styled.div.
|
|
10722
|
-
displayName: "StyledInfoBox",
|
|
10723
|
-
componentId: "sc-132sfwq-0"
|
|
10724
|
-
})(["filter:drop-shadow(rgba(25,19,38,0.15) 0px 1px 4px);width:100%;background:rgb(22,22,29);border:1px solid rgb(82,75,99);border-radius:15px;border:1px solid ", ";box-shadow:", ";color:", ";overflow:hidden;position:relative;", ""], function (_ref2) {
|
|
10560
|
+
var StyledInfoBox = styled.div(_templateObject$1s || (_templateObject$1s = _taggedTemplateLiteral(["\n filter: drop-shadow(rgba(25, 19, 38, 0.15) 0px 1px 4px);\n width: 100%;\n background: rgb(22, 22, 29);\n border: 1px solid rgb(82, 75, 99);\n border-radius: 15px;\n border: 1px solid ", ";\n box-shadow: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n\n ", "\n"])), function (_ref2) {
|
|
10725
10561
|
var theme = _ref2.theme;
|
|
10726
10562
|
return theme.colors.borderColor;
|
|
10727
10563
|
}, getBoxShadow$1, function (_ref3) {
|
|
@@ -10742,24 +10578,18 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10742
10578
|
}));
|
|
10743
10579
|
};
|
|
10744
10580
|
|
|
10745
|
-
var
|
|
10746
|
-
|
|
10747
|
-
componentId: "sc-1opp4pn-0"
|
|
10748
|
-
})(["", ";padding:20px;display:flex;justify-content:flex-start;"], space);
|
|
10581
|
+
var _templateObject$1r;
|
|
10582
|
+
var InfoBox = styled.div(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), space);
|
|
10749
10583
|
InfoBox.defaultProps = {
|
|
10750
10584
|
p: "24px"
|
|
10751
10585
|
};
|
|
10752
10586
|
|
|
10753
|
-
var
|
|
10754
|
-
|
|
10755
|
-
componentId: "sc-ll0lgz-0"
|
|
10756
|
-
})(["", ";font-weight:600;font-size:24px;line-height:130%;color:white;display:flex;height:55px;padding:0 20px;justify-content:space-between;align-items:center;background:rgba(10,10,10,1);"], space);
|
|
10587
|
+
var _templateObject$1q;
|
|
10588
|
+
var InfoBoxHeader = styled.div(_templateObject$1q || (_templateObject$1q = _taggedTemplateLiteral(["\n ", ";\n font-weight: 600;\n font-size: 24px;\n line-height: 130%;\n color: white;\n\n display: flex;\n height: 55px;\n padding: 0 20px;\n justify-content: space-between;\n align-items: center;\n background: rgba(10, 10, 10, 1);\n"])), space);
|
|
10757
10589
|
InfoBoxHeader.defaultProps = {};
|
|
10758
10590
|
|
|
10759
|
-
var
|
|
10760
|
-
|
|
10761
|
-
componentId: "sc-suth0r-0"
|
|
10762
|
-
})(["", ";padding:20px;display:flex;justify-content:flex-start;"], space);
|
|
10591
|
+
var _templateObject$1p;
|
|
10592
|
+
var InfoBoxFooter = styled.div(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), space);
|
|
10763
10593
|
InfoBoxFooter.defaultProps = {
|
|
10764
10594
|
p: "24px"
|
|
10765
10595
|
};
|
|
@@ -10770,6 +10600,7 @@ var scales$1 = {
|
|
|
10770
10600
|
LG: "lg"
|
|
10771
10601
|
};
|
|
10772
10602
|
|
|
10603
|
+
var _templateObject$1o;
|
|
10773
10604
|
/**
|
|
10774
10605
|
* Priority: Warning --> Success
|
|
10775
10606
|
*/
|
|
@@ -10800,10 +10631,7 @@ var getHeight = function getHeight(_ref2) {
|
|
|
10800
10631
|
return "40px";
|
|
10801
10632
|
}
|
|
10802
10633
|
};
|
|
10803
|
-
var Input = styled.input.
|
|
10804
|
-
displayName: "Input",
|
|
10805
|
-
componentId: "sc-i7ggno-0"
|
|
10806
|
-
})(["background-color:", ";border:1px solid rgba(255,255,255,0.3);border-radius:10px;box-shadow:", ";color:", ";display:block;font-size:16px;height:", ";outline:0;padding:0 16px;width:100%;&::placeholder{color:", ";}&:disabled{background-color:", ";box-shadow:none;color:", ";cursor:not-allowed;}&:focus:not(:disabled){box-shadow:", ";}"], function (_ref3) {
|
|
10634
|
+
var Input = styled.input(_templateObject$1o || (_templateObject$1o = _taggedTemplateLiteral(["\n background-color: ", ";\n border: 1px solid rgba(255, 255, 255, 0.3);\n border-radius: 10px;\n box-shadow: ", ";\n color: ", ";\n display: block;\n font-size: 16px;\n height: ", ";\n outline: 0;\n padding: 0 16px;\n width: 100%;\n\n &::placeholder {\n color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n box-shadow: none;\n color: ", ";\n cursor: not-allowed;\n }\n\n &:focus:not(:disabled) {\n box-shadow: ", ";\n }\n"])), function (_ref3) {
|
|
10807
10635
|
var theme = _ref3.theme;
|
|
10808
10636
|
return theme.colors.input;
|
|
10809
10637
|
}, getBoxShadow, function (_ref4) {
|
|
@@ -10831,48 +10659,25 @@ Input.defaultProps = {
|
|
|
10831
10659
|
var _excluded$9 = ["children"],
|
|
10832
10660
|
_excluded2 = ["children"],
|
|
10833
10661
|
_excluded3 = ["children"];
|
|
10834
|
-
var
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
})(["display:flex;justify-content:space-between;margin-bottom:8px;"]);
|
|
10838
|
-
var Label = styled(Text).withConfig({
|
|
10839
|
-
displayName: "InputAssets__Label",
|
|
10840
|
-
componentId: "sc-1xa506b-1"
|
|
10841
|
-
})(["color:", ";font-weight:bold;font-size:16px;line-height:28px;"], function (_ref) {
|
|
10662
|
+
var _templateObject$1n, _templateObject2$T, _templateObject3$G, _templateObject4$v, _templateObject5$s, _templateObject6$i, _templateObject7$e, _templateObject8$a, _templateObject9$9;
|
|
10663
|
+
var InputLabelBox = styled.div(_templateObject$1n || (_templateObject$1n = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
|
|
10664
|
+
var Label = styled(Text)(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: bold;\n font-size: 16px;\n line-height: 28px;\n"])), function (_ref) {
|
|
10842
10665
|
var theme = _ref.theme;
|
|
10843
10666
|
return theme.colors.white55;
|
|
10844
10667
|
});
|
|
10845
|
-
var OptionalBox = styled(Text)
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
})(["display:flex;justify-content:center;flex-direction:column;"]);
|
|
10849
|
-
var Optional = styled(Text).withConfig({
|
|
10850
|
-
displayName: "InputAssets__Optional",
|
|
10851
|
-
componentId: "sc-1xa506b-3"
|
|
10852
|
-
})(["color:#373749;font-weight:bold;font-size:11px;line-height:138.5%;"]);
|
|
10853
|
-
var StyledInputDesc = styled(Text).withConfig({
|
|
10854
|
-
displayName: "InputAssets__StyledInputDesc",
|
|
10855
|
-
componentId: "sc-1xa506b-4"
|
|
10856
|
-
})(["color:", ";font-weight:normal;font-size:12px;line-height:170%;"], function (_ref2) {
|
|
10668
|
+
var OptionalBox = styled(Text)(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n"])));
|
|
10669
|
+
var Optional = styled(Text)(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteral(["\n color: #373749;\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n"])));
|
|
10670
|
+
var StyledInputDesc = styled(Text)(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: normal;\n font-size: 12px;\n line-height: 170%;\n"])), function (_ref2) {
|
|
10857
10671
|
var theme = _ref2.theme;
|
|
10858
10672
|
return theme.colors.white55;
|
|
10859
10673
|
});
|
|
10860
|
-
var StyledInputBottomDesc = styled(StyledInputDesc)
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
})(["padding-left:8px;"]);
|
|
10864
|
-
var textStyle = css(["font-size:11px;line-height:138.5%;font-weight:bold;padding:0px 0px 10px 24px;margin-bottom:-25px;"]);
|
|
10865
|
-
var StyledErrorMessage = styled(Text).withConfig({
|
|
10866
|
-
displayName: "InputAssets__StyledErrorMessage",
|
|
10867
|
-
componentId: "sc-1xa506b-6"
|
|
10868
|
-
})(["", ";color:", ";"], textStyle, function (_ref3) {
|
|
10674
|
+
var StyledInputBottomDesc = styled(StyledInputDesc)(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteral(["\n padding-left: 8px;\n"])));
|
|
10675
|
+
var textStyle = css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteral(["\n font-size: 11px;\n line-height: 138.5%;\n font-weight: bold;\n padding: 0px 0px 10px 24px;\n margin-bottom: -25px;\n"])));
|
|
10676
|
+
var StyledErrorMessage = styled(Text)(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteral(["\n ", ";\n color: ", ";\n"])), textStyle, function (_ref3) {
|
|
10869
10677
|
var theme = _ref3.theme;
|
|
10870
10678
|
return theme.colors.error;
|
|
10871
10679
|
});
|
|
10872
|
-
var StyledSuccessMessage = styled(Text)
|
|
10873
|
-
displayName: "InputAssets__StyledSuccessMessage",
|
|
10874
|
-
componentId: "sc-1xa506b-7"
|
|
10875
|
-
})(["", ";color:", ";"], textStyle, function (_ref4) {
|
|
10680
|
+
var StyledSuccessMessage = styled(Text)(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteral(["\n ", ";\n color: ", ";\n"])), textStyle, function (_ref4) {
|
|
10876
10681
|
var theme = _ref4.theme;
|
|
10877
10682
|
return theme.colors.primary;
|
|
10878
10683
|
});
|
|
@@ -10939,13 +10744,11 @@ var InputWrapper$1 = function InputWrapper(_ref0) {
|
|
|
10939
10744
|
});
|
|
10940
10745
|
};
|
|
10941
10746
|
|
|
10747
|
+
var _templateObject$1m, _templateObject2$S;
|
|
10942
10748
|
var StyledInput$1 = styled(function (_ref) {
|
|
10943
10749
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
10944
10750
|
return /*#__PURE__*/jsx(DatePicker, _objectSpread2({}, props));
|
|
10945
|
-
}).
|
|
10946
|
-
displayName: "MuiDateInput__StyledInput",
|
|
10947
|
-
componentId: "sc-2l4k3e-0"
|
|
10948
|
-
})(["width:100%;height:60px;.MuiInputBase-root{border:1px solid ", ";border-radius:10px;background:", ";padding:16px 24px;color:white;font-weight:500;font-size:16px;line-height:28px;&.Mui-disabled{.MuiInputBase-input{color:", ";}}}.MuiFormHelperText-root.Mui-error{display:none;}"], function (props) {
|
|
10751
|
+
})(_templateObject$1m || (_templateObject$1m = _taggedTemplateLiteral(["\n width: 100%;\n height: 60px;\n .MuiInputBase-root {\n border: 1px solid\n ", ";\n border-radius: 10px;\n background: ", ";\n padding: 16px 24px;\n color: white;\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n &.Mui-disabled {\n .MuiInputBase-input {\n color: ", ";\n }\n }\n }\n .MuiFormHelperText-root.Mui-error {\n display: none;\n }\n"])), function (props) {
|
|
10949
10752
|
return props.disabled ? "".concat(props.theme.colors.white55) : props.error ? "".concat(props.theme.colors.error) : props.value ? "".concat(props.theme.colors.white55) : "rgba(255, 255, 255, 0.03)";
|
|
10950
10753
|
}, function (props) {
|
|
10951
10754
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
@@ -10956,10 +10759,7 @@ var StyledInput$1 = styled(function (_ref) {
|
|
|
10956
10759
|
var DateInputWrapper = styled(function (_ref3) {
|
|
10957
10760
|
var props = _extends({}, (_objectDestructuringEmpty(_ref3), _ref3));
|
|
10958
10761
|
return /*#__PURE__*/jsx("div", _objectSpread2({}, props));
|
|
10959
|
-
})
|
|
10960
|
-
displayName: "MuiDateInput__DateInputWrapper",
|
|
10961
|
-
componentId: "sc-2l4k3e-1"
|
|
10962
|
-
})(["margin-bottom:15px;"]);
|
|
10762
|
+
})(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteral(["\n margin-bottom: 15px;\n"])));
|
|
10963
10763
|
var MuiDateInput = function MuiDateInput(_ref4) {
|
|
10964
10764
|
var name = _ref4.name,
|
|
10965
10765
|
label = _ref4.label,
|
|
@@ -11023,13 +10823,11 @@ var MuiDateInput = function MuiDateInput(_ref4) {
|
|
|
11023
10823
|
});
|
|
11024
10824
|
};
|
|
11025
10825
|
|
|
10826
|
+
var _templateObject$1l, _templateObject2$R;
|
|
11026
10827
|
var DragAndDropZone = styled(function (_ref) {
|
|
11027
10828
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
11028
10829
|
return /*#__PURE__*/jsx("div", _objectSpread2({}, props));
|
|
11029
|
-
})
|
|
11030
|
-
displayName: "MuiFileInput__DragAndDropZone",
|
|
11031
|
-
componentId: "sc-1qlv44t-0"
|
|
11032
|
-
})(["background:", ";cursor:", ";border:1px ", ";box-sizing:border-box;border-radius:10px;padding:16px 24px;font-weight:500;font-size:16px;line-height:28px;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;"], function (props) {
|
|
10830
|
+
})(_templateObject$1l || (_templateObject$1l = _taggedTemplateLiteral(["\n background: ", ";\n cursor: ", ";\n border: 1px\n ", ";\n box-sizing: border-box;\n border-radius: 10px;\n padding: 16px 24px;\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n"])), function (props) {
|
|
11033
10831
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
11034
10832
|
}, function (props) {
|
|
11035
10833
|
return props.disabled ? "not-allowed" : "pointer";
|
|
@@ -11039,10 +10837,7 @@ var DragAndDropZone = styled(function (_ref) {
|
|
|
11039
10837
|
var DragAndDropText = styled(function (_ref2) {
|
|
11040
10838
|
var props = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));
|
|
11041
10839
|
return /*#__PURE__*/jsx(Text, _objectSpread2({}, props));
|
|
11042
|
-
})
|
|
11043
|
-
displayName: "MuiFileInput__DragAndDropText",
|
|
11044
|
-
componentId: "sc-1qlv44t-1"
|
|
11045
|
-
})(["font-weight:500;font-size:16px;line-height:28px;color:", ";span{color:", ";}"], function (props) {
|
|
10840
|
+
})(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteral(["\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n color: ", ";\n span {\n color: ", ";\n }\n"])), function (props) {
|
|
11046
10841
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.white;
|
|
11047
10842
|
}, function (props) {
|
|
11048
10843
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.primary;
|
|
@@ -11116,21 +10911,13 @@ var MuiFileInput = function MuiFileInput(_ref3) {
|
|
|
11116
10911
|
};
|
|
11117
10912
|
|
|
11118
10913
|
var _excluded$8 = ["name", "label", "placeholderLabel", "placeholder", "topDesc", "bottomDesc", "optional", "value", "onChange", "onBlur", "error", "textarea", "maxLength", "disabled", "success", "successMsg"];
|
|
11119
|
-
var
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
})(["position:relative;"]);
|
|
11123
|
-
var LengthText = styled(Text).withConfig({
|
|
11124
|
-
displayName: "MuiTextInput__LengthText",
|
|
11125
|
-
componentId: "sc-1pp44v8-1"
|
|
11126
|
-
})(["position:absolute;font-weight:bold;font-size:11px;line-height:138.5%;color:", ";bottom:20px;right:15px;"], function (_ref) {
|
|
10914
|
+
var _templateObject$1k, _templateObject2$Q, _templateObject3$F;
|
|
10915
|
+
var TextAreaWrapper = styled.div(_templateObject$1k || (_templateObject$1k = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
10916
|
+
var LengthText = styled(Text)(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n color: ", ";\n bottom: 20px;\n right: 15px;\n"])), function (_ref) {
|
|
11127
10917
|
var theme = _ref.theme;
|
|
11128
10918
|
return theme.colors.grey;
|
|
11129
10919
|
});
|
|
11130
|
-
var StyledTextField = styled(TextField).
|
|
11131
|
-
displayName: "MuiTextInput__StyledTextField",
|
|
11132
|
-
componentId: "sc-1pp44v8-2"
|
|
11133
|
-
})(["&.MuiTextField-root{margin-bottom:10px;width:100%;.MuiInputBase-input{color:white;::placeholder{opacity:1;color:", ";}}.MuiFilledInput-root{background-color:", ";border:1px solid ", ";border-radius:10px;height:", ";.MuiFilledInput-input{padding:", ";}&.Mui-error{border:1px solid ", ";}&.Mui-focused{border:1px solid ", ";box-shadow:0px 0px 8px rgba(18,255,184,0.15);&.Mui-error{border:1px solid ", ";box-shadow:unset;}}&.Mui-disabled{background-color:", ";border:1px solid ", ";.MuiInputBase-input{color:", ";}}&.MuiFilledInput-underline:before{border-bottom:unset;}&.MuiFilledInput-underline:after{border-bottom:unset;}}.MuiInputLabel-filled{font-weight:500;font-size:16px;line-height:28px;transform:translate(24px,17px);color:", ";transition:all 0.15s;&.MuiInputLabel-shrink{font-weight:bold;font-size:11px;line-height:138.5%;transform:translate(24px,10px);color:", ";}}}.MuiFilledInput-multiline{padding:0px 12px 30px 0px;}"], function (_ref2) {
|
|
10920
|
+
var StyledTextField = styled(TextField)(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteral(["\n &.MuiTextField-root {\n margin-bottom: 10px;\n width: 100%;\n .MuiInputBase-input {\n color: white;\n ::placeholder {\n opacity: 1;\n color: ", ";\n }\n }\n .MuiFilledInput-root {\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n height: ", ";\n .MuiFilledInput-input {\n padding: ", ";\n }\n &.Mui-error {\n border: 1px solid ", ";\n }\n &.Mui-focused {\n border: 1px solid ", ";\n box-shadow: 0px 0px 8px rgba(18, 255, 184, 0.15);\n &.Mui-error {\n border: 1px solid ", ";\n box-shadow: unset;\n }\n }\n &.Mui-disabled {\n background-color: ", ";\n border: 1px solid ", ";\n .MuiInputBase-input {\n color: ", ";\n }\n }\n &.MuiFilledInput-underline:before {\n border-bottom: unset;\n }\n &.MuiFilledInput-underline:after {\n border-bottom: unset;\n }\n }\n .MuiInputLabel-filled {\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n transform: translate(24px, 17px);\n color: ", ";\n transition: all 0.15s;\n &.MuiInputLabel-shrink {\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n transform: translate(24px, 10px);\n color: ", ";\n }\n }\n }\n .MuiFilledInput-multiline {\n padding: 0px 12px 30px 0px;\n }\n"])), function (_ref2) {
|
|
11134
10921
|
var theme = _ref2.theme,
|
|
11135
10922
|
disabled = _ref2.disabled;
|
|
11136
10923
|
return disabled ? theme.colors.white55 : theme.colors.grey;
|
|
@@ -11238,21 +11025,13 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11238
11025
|
});
|
|
11239
11026
|
};
|
|
11240
11027
|
|
|
11241
|
-
var
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
})(["height:200px;"]);
|
|
11245
|
-
var StyledSlider = styled(Slider).withConfig({
|
|
11246
|
-
displayName: "NewsCarousel__StyledSlider",
|
|
11247
|
-
componentId: "sc-xakklk-1"
|
|
11248
|
-
})([".slick-track{> div{padding:0 10px;}}.slick-dots{.slick-active{div{background:", " !important;}}}"], function (_ref) {
|
|
11028
|
+
var _templateObject$1j, _templateObject2$P, _templateObject3$E;
|
|
11029
|
+
var CarouselBox = styled.div(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral(["\n height: 200px;\n"])));
|
|
11030
|
+
var StyledSlider = styled(Slider)(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteral(["\n .slick-track {\n > div {\n padding: 0 10px;\n }\n }\n\n .slick-dots {\n .slick-active {\n div {\n background: ", " !important;\n }\n }\n }\n"])), function (_ref) {
|
|
11249
11031
|
var theme = _ref.theme;
|
|
11250
11032
|
return theme.colors.blue;
|
|
11251
11033
|
});
|
|
11252
|
-
var ImageDiv = styled.div
|
|
11253
|
-
displayName: "NewsCarousel__ImageDiv",
|
|
11254
|
-
componentId: "sc-xakklk-2"
|
|
11255
|
-
})(["background:", ";background-size:cover;color:white;display:flex;flex-direction:row;justify-content:center;align-items:flex-end;padding-bottom:30px;height:200px;border-radius:15px;border:1px solid ", ";"], function (_ref2) {
|
|
11034
|
+
var ImageDiv = styled.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteral(["\n background: ", ";\n background-size: cover;\n color: white;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: flex-end;\n padding-bottom: 30px;\n height: 200px;\n border-radius: 15px;\n border: 1px solid ", ";\n"])), function (_ref2) {
|
|
11256
11035
|
var background = _ref2.background;
|
|
11257
11036
|
return background;
|
|
11258
11037
|
}, function (_ref3) {
|
|
@@ -11301,6 +11080,7 @@ var scales = {
|
|
|
11301
11080
|
MD: "md"
|
|
11302
11081
|
};
|
|
11303
11082
|
|
|
11083
|
+
var _templateObject$1i;
|
|
11304
11084
|
var getScale = function getScale(_ref) {
|
|
11305
11085
|
var scale = _ref.scale;
|
|
11306
11086
|
switch (scale) {
|
|
@@ -11323,10 +11103,7 @@ var getCheckedScale = function getCheckedScale(_ref2) {
|
|
|
11323
11103
|
};
|
|
11324
11104
|
var Radio = styled.input.attrs({
|
|
11325
11105
|
type: "radio"
|
|
11326
|
-
}).
|
|
11327
|
-
displayName: "Radio",
|
|
11328
|
-
componentId: "sc-955j6u-0"
|
|
11329
|
-
})(["appearance:none;overflow:hidden;cursor:pointer;position:relative;display:inline-block;height:", ";width:", ";vertical-align:middle;transition:background-color 0.2s ease-in-out;border:0;border-radius:50%;background-color:", ";box-shadow:", ";&:after{border-radius:50%;content:\"\";height:", ";left:6px;position:absolute;top:6px;width:", ";}&:hover:not(:disabled):not(:checked){box-shadow:", ";}&:focus{outline:none;box-shadow:", ";}&:checked{background-color:", ";&:after{background-color:", ";}}&:disabled{cursor:default;opacity:0.6;}", ""], getScale, getScale, function (_ref3) {
|
|
11106
|
+
})(_templateObject$1i || (_templateObject$1i = _taggedTemplateLiteral(["\n appearance: none;\n overflow: hidden;\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: ", ";\n width: ", ";\n vertical-align: middle;\n transition: background-color 0.2s ease-in-out;\n border: 0;\n border-radius: 50%;\n background-color: ", ";\n box-shadow: ", ";\n\n &:after {\n border-radius: 50%;\n content: \"\";\n height: ", ";\n left: 6px;\n position: absolute;\n top: 6px;\n width: ", ";\n }\n\n &:hover:not(:disabled):not(:checked) {\n box-shadow: ", ";\n }\n\n &:focus {\n outline: none;\n box-shadow: ", ";\n }\n\n &:checked {\n background-color: ", ";\n &:after {\n background-color: ", ";\n }\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.6;\n }\n ", "\n"])), getScale, getScale, function (_ref3) {
|
|
11330
11107
|
var theme = _ref3.theme;
|
|
11331
11108
|
return theme.colors.input;
|
|
11332
11109
|
}, function (_ref4) {
|
|
@@ -11466,10 +11243,8 @@ var darkColors = _objectSpread2(_objectSpread2(_objectSpread2({}, baseColors), b
|
|
|
11466
11243
|
}
|
|
11467
11244
|
});
|
|
11468
11245
|
|
|
11469
|
-
var
|
|
11470
|
-
|
|
11471
|
-
componentId: "sc-1bfj6gr-0"
|
|
11472
|
-
})(["width:auto;height:24px;display:inline-flex;justify-content:space-between;align-items:center;background-color:transparent;border:1px solid ", ";border-radius:", ";color:", ";font-size:14px;font-weight:700;line-height:1.5;padding:0 8px;white-space:nowrap;svg{margin-left:", "px;margin-right:", "px;width:16px;height:16px;fill:", ";}"], function (_ref) {
|
|
11246
|
+
var _templateObject$1h, _templateObject2$O;
|
|
11247
|
+
var StyledCoreTag = styled.div(_templateObject$1h || (_templateObject$1h = _taggedTemplateLiteral(["\n width: auto;\n height: 24px;\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n font-size: 14px;\n font-weight: 700;\n line-height: 1.5;\n padding: 0 8px;\n white-space: nowrap;\n\n svg {\n margin-left: ", "px;\n margin-right: ", "px;\n width: 16px;\n height: 16px;\n fill: ", ";\n }\n"])), function (_ref) {
|
|
11473
11248
|
var theme = _ref.theme,
|
|
11474
11249
|
active = _ref.active,
|
|
11475
11250
|
color = _ref.color;
|
|
@@ -11493,10 +11268,7 @@ var StyledCoreTag = styled.div.withConfig({
|
|
|
11493
11268
|
active = _ref6.active;
|
|
11494
11269
|
return active ? theme.colors.primary : theme.colors.grey;
|
|
11495
11270
|
});
|
|
11496
|
-
var StyledText = styled(Text)
|
|
11497
|
-
displayName: "CoreTag__StyledText",
|
|
11498
|
-
componentId: "sc-1bfj6gr-1"
|
|
11499
|
-
})(["font-weight:700;color:", ";font-size:14px;line-height:20px;"], function (_ref7) {
|
|
11271
|
+
var StyledText = styled(Text)(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteral(["\n font-weight: 700;\n color: ", ";\n font-size: 14px;\n line-height: 20px;\n"])), function (_ref7) {
|
|
11500
11272
|
var theme = _ref7.theme,
|
|
11501
11273
|
active = _ref7.active,
|
|
11502
11274
|
color = _ref7.color;
|
|
@@ -11584,21 +11356,16 @@ var Icon$M = function Icon(props) {
|
|
|
11584
11356
|
}));
|
|
11585
11357
|
};
|
|
11586
11358
|
|
|
11587
|
-
var
|
|
11588
|
-
var
|
|
11589
|
-
|
|
11590
|
-
componentId: "sc-1wgci3j-0"
|
|
11591
|
-
})(["position:relative;height:", "px;width:", "px;"], function (_ref) {
|
|
11359
|
+
var _templateObject$1g, _templateObject2$N, _templateObject3$D;
|
|
11360
|
+
var rotate = keyframes(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11361
|
+
var Container$6 = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteral(["\n position: relative;\n height: ", "px;\n width: ", "px;\n"])), function (_ref) {
|
|
11592
11362
|
var size = _ref.size;
|
|
11593
11363
|
return size;
|
|
11594
11364
|
}, function (_ref2) {
|
|
11595
11365
|
var size = _ref2.size;
|
|
11596
11366
|
return size;
|
|
11597
11367
|
});
|
|
11598
|
-
var RotatingSpinnerIcon = styled(Icon$M)
|
|
11599
|
-
displayName: "Spinner__RotatingSpinnerIcon",
|
|
11600
|
-
componentId: "sc-1wgci3j-1"
|
|
11601
|
-
})(["position:absolute;top:0;left:0;animation:", " 2s linear infinite;transform:translate3d(0,0,0);"], rotate);
|
|
11368
|
+
var RotatingSpinnerIcon = styled(Icon$M)(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n animation: ", " 2s linear infinite;\n transform: translate3d(0, 0, 0);\n"])), rotate);
|
|
11602
11369
|
var Spinner = function Spinner(_ref3) {
|
|
11603
11370
|
var _ref3$size = _ref3.size,
|
|
11604
11371
|
size = _ref3$size === void 0 ? 128 : _ref3$size;
|
|
@@ -11610,25 +11377,14 @@ var Spinner = function Spinner(_ref3) {
|
|
|
11610
11377
|
});
|
|
11611
11378
|
};
|
|
11612
11379
|
|
|
11613
|
-
var
|
|
11614
|
-
|
|
11615
|
-
componentId: "sc-1c4vjp9-0"
|
|
11616
|
-
})(["width:100%;height:100%;overflow:auto;", ""], function (_ref) {
|
|
11380
|
+
var _templateObject$1f, _templateObject2$M, _templateObject3$C, _templateObject4$u;
|
|
11381
|
+
var StyledContainer = styled.div(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n overflow: auto;\n ", "\n"])), function (_ref) {
|
|
11617
11382
|
var loader = _ref.loader;
|
|
11618
11383
|
return loader && "\n display: flex;\n justify-content: center;\n align-items: center;\n ";
|
|
11619
11384
|
});
|
|
11620
|
-
var StyledItem = styled.div.
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
})(["display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(55,55,73,0.3);padding-top:8px;padding-bottom:8px;"]);
|
|
11624
|
-
var StyledLabel = styled(Text).withConfig({
|
|
11625
|
-
displayName: "List__StyledLabel",
|
|
11626
|
-
componentId: "sc-1c4vjp9-2"
|
|
11627
|
-
})(["opacity:0.55;"]);
|
|
11628
|
-
var ListWrapper = styled.div.withConfig({
|
|
11629
|
-
displayName: "List__ListWrapper",
|
|
11630
|
-
componentId: "sc-1c4vjp9-3"
|
|
11631
|
-
})(["display:flex;height:", ";"], function (_ref2) {
|
|
11385
|
+
var StyledItem = styled.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid rgba(55, 55, 73, 0.3);\n padding-top: 8px;\n padding-bottom: 8px;\n"])));
|
|
11386
|
+
var StyledLabel = styled(Text)(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteral(["\n opacity: 0.55;\n"])));
|
|
11387
|
+
var ListWrapper = styled.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteral(["\n display: flex;\n height: ", ";\n"])), function (_ref2) {
|
|
11632
11388
|
var customHeight = _ref2.customHeight;
|
|
11633
11389
|
return customHeight ? "".concat(customHeight, "px") : "100%";
|
|
11634
11390
|
});
|
|
@@ -11691,19 +11447,14 @@ var List = function List(_ref3) {
|
|
|
11691
11447
|
});
|
|
11692
11448
|
};
|
|
11693
11449
|
|
|
11694
|
-
var
|
|
11695
|
-
|
|
11696
|
-
componentId: "sc-1wd61gz-0"
|
|
11697
|
-
})(["position:absolute;top:0;left:0;background-color:", ";border-top-left-radius:32px;border-bottom-left-radius:32px;height:16px;transition:width 200ms ease;"], function (props) {
|
|
11450
|
+
var _templateObject$1e, _templateObject2$L;
|
|
11451
|
+
var Bar = styled.div(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n background-color: ", ";\n border-top-left-radius: 32px;\n border-bottom-left-radius: 32px;\n height: 16px;\n transition: width 200ms ease;\n"])), function (props) {
|
|
11698
11452
|
return props.primary ? props.theme.colors.secondary : "".concat(props.theme.colors.secondary, "80");
|
|
11699
11453
|
});
|
|
11700
11454
|
Bar.defaultProps = {
|
|
11701
11455
|
primary: false
|
|
11702
11456
|
};
|
|
11703
|
-
var StyledProgress = styled.div
|
|
11704
|
-
displayName: "StyledProgress",
|
|
11705
|
-
componentId: "sc-1wd61gz-1"
|
|
11706
|
-
})(["position:relative;background-color:", ";border-radius:32px;box-shadow:", ";height:16px;overflow:hidden;"], function (_ref) {
|
|
11457
|
+
var StyledProgress = styled.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteral(["\n position: relative;\n background-color: ", ";\n border-radius: 32px;\n box-shadow: ", ";\n height: 16px;\n overflow: hidden;\n"])), function (_ref) {
|
|
11707
11458
|
var theme = _ref.theme;
|
|
11708
11459
|
return theme.colors.input;
|
|
11709
11460
|
}, function (_ref2) {
|
|
@@ -11711,10 +11462,8 @@ var StyledProgress = styled.div.withConfig({
|
|
|
11711
11462
|
return theme.shadows.inset;
|
|
11712
11463
|
});
|
|
11713
11464
|
|
|
11714
|
-
var
|
|
11715
|
-
|
|
11716
|
-
componentId: "sc-12wvu5w-0"
|
|
11717
|
-
})(["display:flex;z-index:2;top:-65%;position:absolute;transform:translate(-50%,-50%);transition:left 200ms ease-out;"]);
|
|
11465
|
+
var _templateObject$1d;
|
|
11466
|
+
var ProgressBunnyWrapper = styled.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteral(["\n display: flex;\n z-index: 2;\n top: -65%;\n position: absolute;\n transform: translate(-50%, -50%);\n transition: left 200ms ease-out;\n"])));
|
|
11718
11467
|
|
|
11719
11468
|
var stepGuard = function stepGuard(step) {
|
|
11720
11469
|
if (step < 0) {
|
|
@@ -11761,12 +11510,10 @@ var variant = {
|
|
|
11761
11510
|
};
|
|
11762
11511
|
|
|
11763
11512
|
var _excluded$6 = ["variant", "animation"];
|
|
11764
|
-
var
|
|
11765
|
-
var
|
|
11766
|
-
var
|
|
11767
|
-
|
|
11768
|
-
componentId: "sc-20824z-0"
|
|
11769
|
-
})(["min-height:20px;display:block;background-color:", ";border-radius:", ";", " ", ""], function (_ref) {
|
|
11513
|
+
var _templateObject$1c, _templateObject2$K, _templateObject3$B, _templateObject4$t, _templateObject5$r;
|
|
11514
|
+
var waves = keyframes(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteral(["\n from {\n left: -150px;\n }\n to {\n left: 100%;\n }\n"])));
|
|
11515
|
+
var pulse = keyframes(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n"])));
|
|
11516
|
+
var Root = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteral(["\n min-height: 20px;\n display: block;\n background-color: ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (_ref) {
|
|
11770
11517
|
var theme = _ref.theme;
|
|
11771
11518
|
return theme.colors.backgroundDisabled;
|
|
11772
11519
|
}, function (_ref2) {
|
|
@@ -11774,14 +11521,8 @@ var Root = styled.div.withConfig({
|
|
|
11774
11521
|
theme = _ref2.theme;
|
|
11775
11522
|
return variant$1 === variant.CIRCLE ? theme.radii.circle : theme.radii.small;
|
|
11776
11523
|
}, layout, space);
|
|
11777
|
-
var Pulse = styled(Root)
|
|
11778
|
-
|
|
11779
|
-
componentId: "sc-20824z-1"
|
|
11780
|
-
})(["animation:", " 2s infinite ease-out;transform:translate3d(0,0,0);"], pulse);
|
|
11781
|
-
var Waves = styled(Root).withConfig({
|
|
11782
|
-
displayName: "Skeleton__Waves",
|
|
11783
|
-
componentId: "sc-20824z-2"
|
|
11784
|
-
})(["position:relative;overflow:hidden;transform:translate3d(0,0,0);display:flex;justify-content:center;align-items:center;&:before{content:\"\";position:absolute;background-image:linear-gradient(90deg,transparent,rgba(243,243,243,0.5),transparent);top:0;left:-150px;height:100%;width:150px;animation:", " 2s cubic-bezier(0.4,0,0.2,1) infinite;}"], waves);
|
|
11524
|
+
var Pulse = styled(Root)(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteral(["\n animation: ", " 2s infinite ease-out;\n transform: translate3d(0, 0, 0);\n"])), pulse);
|
|
11525
|
+
var Waves = styled(Root)(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n transform: translate3d(0, 0, 0);\n display: flex;\n justify-content: center;\n align-items: center;\n &:before {\n content: \"\";\n position: absolute;\n background-image: linear-gradient(90deg, transparent, rgba(243, 243, 243, 0.5), transparent);\n top: 0;\n left: -150px;\n height: 100%;\n width: 150px;\n animation: ", " 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n }\n"])), waves);
|
|
11785
11526
|
var Skeleton = function Skeleton(_ref3) {
|
|
11786
11527
|
var _ref3$variant = _ref3.variant,
|
|
11787
11528
|
variant$1 = _ref3$variant === void 0 ? variant.RECT : _ref3$variant,
|
|
@@ -11799,14 +11540,9 @@ var Skeleton = function Skeleton(_ref3) {
|
|
|
11799
11540
|
};
|
|
11800
11541
|
|
|
11801
11542
|
var _excluded$5 = ["text"];
|
|
11802
|
-
var
|
|
11803
|
-
|
|
11804
|
-
|
|
11805
|
-
})(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:11px 27px;border-radius:10px;background-color:rgb(43,43,56);#open-new{width:13.25px;height:13.25px;}"]);
|
|
11806
|
-
var DetailsContainer = styled.div.withConfig({
|
|
11807
|
-
displayName: "SwapButton__DetailsContainer",
|
|
11808
|
-
componentId: "sc-1ofv4rm-1"
|
|
11809
|
-
})(["display:flex;align-items:center;*{margin-right:10px;}"]);
|
|
11543
|
+
var _templateObject$1b, _templateObject2$J;
|
|
11544
|
+
var StyledButton = styled(Button$1)(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 11px 27px;\n border-radius: 10px;\n // Should this color be added to theme colors?\n background-color: rgb(43, 43, 56);\n\n #open-new {\n width: 13.25px;\n height: 13.25px;\n }\n"])));
|
|
11545
|
+
var DetailsContainer = styled.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n * {\n margin-right: 10px;\n }\n"])));
|
|
11810
11546
|
var SwapButton = function SwapButton(_ref) {
|
|
11811
11547
|
var _ref$text = _ref.text,
|
|
11812
11548
|
text = _ref$text === void 0 ? "Token info page" : _ref$text,
|
|
@@ -11854,7 +11590,7 @@ var byTextDescending = function byTextDescending(getTextProperty) {
|
|
|
11854
11590
|
};
|
|
11855
11591
|
|
|
11856
11592
|
var sortByColumn = function sortByColumn(data, sortColumn, columns) {
|
|
11857
|
-
var isAscending =
|
|
11593
|
+
var isAscending = undefined;
|
|
11858
11594
|
var sortedRows = _toConsumableArray(data);
|
|
11859
11595
|
columns.forEach(function (column) {
|
|
11860
11596
|
// if the row was found
|
|
@@ -11899,7 +11635,7 @@ var createReducer = function createReducer() {
|
|
|
11899
11635
|
var rows = [];
|
|
11900
11636
|
var nextPage = 0;
|
|
11901
11637
|
var prevPage = 0;
|
|
11902
|
-
var isAscending =
|
|
11638
|
+
var isAscending = undefined;
|
|
11903
11639
|
var sortedRows = [];
|
|
11904
11640
|
var columnCopy = [];
|
|
11905
11641
|
var filteredRows = [];
|
|
@@ -12518,10 +12254,8 @@ var lightTheme = _objectSpread2(_objectSpread2({}, base), {}, {
|
|
|
12518
12254
|
tooltip: light
|
|
12519
12255
|
});
|
|
12520
12256
|
|
|
12521
|
-
var
|
|
12522
|
-
|
|
12523
|
-
componentId: "sc-1phywr3-0"
|
|
12524
|
-
})(["width:8px;height:8px;background:", ";border-radius:50%;margin:auto;box-shadow:", ";@media (max-width:576px){margin:0;}"], function (_ref) {
|
|
12257
|
+
var _templateObject$1a;
|
|
12258
|
+
var TableActiveDot = styled.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteral(["\n width: 8px;\n height: 8px;\n background: ", ";\n border-radius: 50%;\n margin: auto;\n box-shadow: ", ";\n @media (max-width: 576px) {\n margin: 0;\n }\n"])), function (_ref) {
|
|
12525
12259
|
var actionActive = _ref.actionActive;
|
|
12526
12260
|
return actionActive ? "#12FFB8" : "#373749";
|
|
12527
12261
|
}, function (_ref2) {
|
|
@@ -12529,10 +12263,8 @@ var TableActiveDot = styled.div.withConfig({
|
|
|
12529
12263
|
return actionActive ? "0px 0px 14px 3px rgba(18, 255, 184, 0.17)" : "none";
|
|
12530
12264
|
});
|
|
12531
12265
|
|
|
12532
|
-
var
|
|
12533
|
-
|
|
12534
|
-
componentId: "sc-qzdbwn-0"
|
|
12535
|
-
})(["position:relative;width:calc(100% - 60px);height:", ";margin:", " 30px 0 30px;padding:", ";display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:", ";border:", ";border-bottom:", ";background:", ";@media (max-width:576px){min-height:59px;width:calc(100% - 16px);margin:", " 8px 0 8px;}"], function (_ref) {
|
|
12266
|
+
var _templateObject$19, _templateObject2$I, _templateObject3$A, _templateObject4$s, _templateObject5$q;
|
|
12267
|
+
var StyledRow = styled.div(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteral(["\n position: relative;\n width: calc(100% - 60px);\n height: ", ";\n margin: ", " 30px 0 30px;\n padding: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n border-radius: ", ";\n border: ", ";\n border-bottom: ", ";\n background: ", ";\n @media (max-width: 576px) {\n min-height: 59px;\n width: calc(100% - 16px);\n margin: ", " 8px 0 8px;\n }\n"])), function (_ref) {
|
|
12536
12268
|
var active = _ref.active;
|
|
12537
12269
|
return active ? "auto" : "77.5px";
|
|
12538
12270
|
}, function (_ref2) {
|
|
@@ -12558,22 +12290,10 @@ var StyledRow = styled.div.withConfig({
|
|
|
12558
12290
|
var active = _ref8.active;
|
|
12559
12291
|
return active ? "5.5px" : "0px";
|
|
12560
12292
|
});
|
|
12561
|
-
var StyledTableChildren = styled(GridLayout$1).
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
var StyledTableDetails = styled(GridLayout$1).withConfig({
|
|
12566
|
-
displayName: "TableRow__StyledTableDetails",
|
|
12567
|
-
componentId: "sc-qzdbwn-2"
|
|
12568
|
-
})(["padding:13px;width:100%;height:100%;display:flex;flex-direction:column;"]);
|
|
12569
|
-
var ToggleContainer = styled.div.withConfig({
|
|
12570
|
-
displayName: "TableRow__ToggleContainer",
|
|
12571
|
-
componentId: "sc-qzdbwn-3"
|
|
12572
|
-
})(["grid-column:span 1 / -1;cursor:pointer;margin-right:19px;@media (max-width:576px){position:absolute;right:0;margin-right:10px;}"]);
|
|
12573
|
-
var DotContainer = styled.div.withConfig({
|
|
12574
|
-
displayName: "TableRow__DotContainer",
|
|
12575
|
-
componentId: "sc-qzdbwn-4"
|
|
12576
|
-
})(["grid-column:span 1;@media (max-width:576px){margin-left:10px;}"]);
|
|
12293
|
+
var StyledTableChildren = styled(GridLayout$1)(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteral(["\n width: 100%;\n height: 77.5px;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n cursor: pointer;\n position: relative;\n"])));
|
|
12294
|
+
var StyledTableDetails = styled(GridLayout$1)(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteral(["\n padding: 13px;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
12295
|
+
var ToggleContainer = styled.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteral(["\n grid-column: span 1 / -1;\n cursor: pointer;\n margin-right: 19px;\n @media (max-width: 576px) {\n position: absolute;\n right: 0;\n margin-right: 10px;\n }\n"])));
|
|
12296
|
+
var DotContainer = styled.div(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteral(["\n grid-column: span 1;\n @media (max-width: 576px) {\n margin-left: 10px;\n }\n"])));
|
|
12577
12297
|
var TableRow = function TableRow(_ref9) {
|
|
12578
12298
|
var children = _ref9.children,
|
|
12579
12299
|
details = _ref9.details,
|
|
@@ -12611,18 +12331,10 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12611
12331
|
});
|
|
12612
12332
|
};
|
|
12613
12333
|
|
|
12614
|
-
var
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
var DescriptionRow = styled.div.withConfig({
|
|
12619
|
-
displayName: "LiquidityContainer__DescriptionRow",
|
|
12620
|
-
componentId: "sc-wsy021-1"
|
|
12621
|
-
})(["display:flex;flex-direction:row;align-items:center;"]);
|
|
12622
|
-
var Container$5 = styled.div.withConfig({
|
|
12623
|
-
displayName: "LiquidityContainer__Container",
|
|
12624
|
-
componentId: "sc-wsy021-2"
|
|
12625
|
-
})(["height:100%;padding:17px;display:flex;flex-direction:column;justify-content:space-between;align-items:space-around;grid-column:span ", ";border:1px solid rgba(255,255,255,0.1);border-radius:10px;svg{margin-left:0;}"], function (_ref) {
|
|
12334
|
+
var _templateObject$18, _templateObject2$H, _templateObject3$z;
|
|
12335
|
+
var LiquidityWrapper = styled.div(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteral(["\n padding-right: 4px;\n width: 100%;\n"])));
|
|
12336
|
+
var DescriptionRow = styled.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
|
|
12337
|
+
var Container$5 = styled.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteral(["\n height: 100%;\n padding: 17px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: space-around;\n grid-column: span ", ";\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n svg {\n margin-left: 0;\n }\n"])), function (_ref) {
|
|
12626
12338
|
var grid = _ref.grid;
|
|
12627
12339
|
return grid;
|
|
12628
12340
|
});
|
|
@@ -12654,10 +12366,8 @@ var LiquidityContainer = function LiquidityContainer(_ref2) {
|
|
|
12654
12366
|
});
|
|
12655
12367
|
};
|
|
12656
12368
|
|
|
12657
|
-
var
|
|
12658
|
-
|
|
12659
|
-
componentId: "sc-1t71h7-0"
|
|
12660
|
-
})(["width:100%;padding:", ";display:flex;flex-direction:column;justify-content:space-between;align-items:space-around;grid-column:span ", ";border:", ";border-radius:10px;svg{margin-left:0;}"], function (_ref) {
|
|
12369
|
+
var _templateObject$17, _templateObject2$G, _templateObject3$y;
|
|
12370
|
+
var Container$4 = styled.div(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteral(["\n width: 100%;\n padding: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: space-around;\n grid-column: span ", ";\n border: ", ";\n border-radius: 10px;\n svg {\n margin-left: 0;\n }\n"])), function (_ref) {
|
|
12661
12371
|
var mobile = _ref.mobile;
|
|
12662
12372
|
return mobile ? "0px" : "17px";
|
|
12663
12373
|
}, function (_ref2) {
|
|
@@ -12667,17 +12377,11 @@ var Container$4 = styled.div.withConfig({
|
|
|
12667
12377
|
var mobile = _ref3.mobile;
|
|
12668
12378
|
return mobile ? "none" : "1px solid rgba(255, 255, 255, 0.1)";
|
|
12669
12379
|
});
|
|
12670
|
-
var TokenValueWrapper = styled.div
|
|
12671
|
-
displayName: "TableActionBox__TokenValueWrapper",
|
|
12672
|
-
componentId: "sc-1t71h7-1"
|
|
12673
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:", ";"], function (_ref4) {
|
|
12380
|
+
var TokenValueWrapper = styled.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ", ";\n"])), function (_ref4) {
|
|
12674
12381
|
var mobile = _ref4.mobile;
|
|
12675
12382
|
return mobile ? "flex-start" : "space-between";
|
|
12676
12383
|
});
|
|
12677
|
-
var ActionsWrapper = styled.div
|
|
12678
|
-
displayName: "TableActionBox__ActionsWrapper",
|
|
12679
|
-
componentId: "sc-1t71h7-2"
|
|
12680
|
-
})(["display:flex;flex-direction:row;margin-top:4px;width:100%;justify-content:space-between;"]);
|
|
12384
|
+
var ActionsWrapper = styled.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n margin-top: 4px;\n width: 100%;\n justify-content: space-between;\n"])));
|
|
12681
12385
|
var TableActionBox = function TableActionBox(_ref5) {
|
|
12682
12386
|
var title = _ref5.title,
|
|
12683
12387
|
value = _ref5.value,
|
|
@@ -12737,30 +12441,15 @@ var getNumberedDifference = function getNumberedDifference(differenceToConvert)
|
|
|
12737
12441
|
return 0;
|
|
12738
12442
|
};
|
|
12739
12443
|
|
|
12740
|
-
|
|
12741
|
-
var ValueBox = styled.div
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
var IconColumn = styled.div.withConfig({
|
|
12746
|
-
displayName: "Value__IconColumn",
|
|
12747
|
-
componentId: "sc-2a5tiq-1"
|
|
12748
|
-
})(["width:auto;padding-right:10px;padding-top:1px;"]);
|
|
12749
|
-
var InfoColumn = styled.div.withConfig({
|
|
12750
|
-
displayName: "Value__InfoColumn",
|
|
12751
|
-
componentId: "sc-2a5tiq-2"
|
|
12752
|
-
})(["display:flex;flex-direction:column;"]);
|
|
12753
|
-
var PairContainer = styled.div.withConfig({
|
|
12754
|
-
displayName: "Value__PairContainer",
|
|
12755
|
-
componentId: "sc-2a5tiq-3"
|
|
12756
|
-
})(["width:100%;display:flex;margin-bottom:5px;align-items:center;flex-direction:", ";"], function (_ref) {
|
|
12444
|
+
var _templateObject$16, _templateObject2$F, _templateObject3$x, _templateObject4$r, _templateObject5$p;
|
|
12445
|
+
var ValueBox = styled.div(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteral(["\n background: transparent;\n color: white;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n max-width: 190px;\n"])));
|
|
12446
|
+
var IconColumn = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteral(["\n width: auto;\n padding-right: 10px;\n padding-top: 1px;\n"])));
|
|
12447
|
+
var InfoColumn = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
12448
|
+
var PairContainer = styled.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n margin-bottom: 5px;\n align-items: center;\n flex-direction: ", ";\n"])), function (_ref) {
|
|
12757
12449
|
var mobile = _ref.mobile;
|
|
12758
12450
|
return mobile ? "column" : "row";
|
|
12759
12451
|
});
|
|
12760
|
-
var ValueRow = styled.div
|
|
12761
|
-
displayName: "Value__ValueRow",
|
|
12762
|
-
componentId: "sc-2a5tiq-4"
|
|
12763
|
-
})(["width:100%;"]);
|
|
12452
|
+
var ValueRow = styled.div(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteral(["\n width: 100%;\n"])));
|
|
12764
12453
|
var Value = function Value(_ref2) {
|
|
12765
12454
|
var coin = _ref2.coin,
|
|
12766
12455
|
value = _ref2.value,
|
|
@@ -12814,14 +12503,9 @@ var Value = function Value(_ref2) {
|
|
|
12814
12503
|
});
|
|
12815
12504
|
};
|
|
12816
12505
|
|
|
12817
|
-
var
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
})(["background:transparent;color:white;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;"]);
|
|
12821
|
-
var DifferenceBox = styled.div.withConfig({
|
|
12822
|
-
displayName: "ValueFull__DifferenceBox",
|
|
12823
|
-
componentId: "sc-ig82wo-1"
|
|
12824
|
-
})(["display:flex;justify-content:flex-start;align-items:center;height:24px;"]);
|
|
12506
|
+
var _templateObject$15, _templateObject2$E;
|
|
12507
|
+
var ValueFullBox = styled.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteral(["\n background: transparent;\n color: white;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n width: 100%;\n"])));
|
|
12508
|
+
var DifferenceBox = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n height: 24px;\n"])));
|
|
12825
12509
|
var ValueFull = function ValueFull(_ref) {
|
|
12826
12510
|
var value = _ref.value,
|
|
12827
12511
|
difference = _ref.difference;
|
|
@@ -12852,10 +12536,8 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12852
12536
|
});
|
|
12853
12537
|
};
|
|
12854
12538
|
|
|
12855
|
-
var
|
|
12856
|
-
|
|
12857
|
-
componentId: "sc-o09b6h-0"
|
|
12858
|
-
})(["position:absolute;right:20px;bottom:20px;color:", ";opacity:0.6;font-size:12px;"], function (_ref) {
|
|
12539
|
+
var _templateObject$14;
|
|
12540
|
+
var VContainer = styled.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteral(["\n position: absolute;\n right: 20px;\n bottom: 20px;\n color: ", ";\n opacity: 0.6;\n font-size: 12px;\n"])), function (_ref) {
|
|
12859
12541
|
var theme = _ref.theme;
|
|
12860
12542
|
return theme.colors.secondaryText;
|
|
12861
12543
|
});
|
|
@@ -12866,44 +12548,24 @@ var VersionContainer = function VersionContainer(_ref2) {
|
|
|
12866
12548
|
});
|
|
12867
12549
|
};
|
|
12868
12550
|
|
|
12869
|
-
var
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
var
|
|
12874
|
-
displayName: "SpacePadProgressBar__ProgressDataRow",
|
|
12875
|
-
componentId: "sc-ri8846-1"
|
|
12876
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]);
|
|
12877
|
-
var ProgressBarWrapper = styled.div.withConfig({
|
|
12878
|
-
displayName: "SpacePadProgressBar__ProgressBarWrapper",
|
|
12879
|
-
componentId: "sc-ri8846-2"
|
|
12880
|
-
})(["position:relative;width:100%;height:8px;background:#272730;display:flex;justify-content:flex-start;align-items:center;border-radius:4px;box-sizing:border-box;"]);
|
|
12881
|
-
var ProgressBar = styled.div.withConfig({
|
|
12882
|
-
displayName: "SpacePadProgressBar__ProgressBar",
|
|
12883
|
-
componentId: "sc-ri8846-3"
|
|
12884
|
-
})(["position:relative;height:100%;width:", "%;background:", ";border-radius:4px;"], function (_ref) {
|
|
12551
|
+
var _templateObject$13, _templateObject2$D, _templateObject3$w, _templateObject4$q, _templateObject5$o, _templateObject6$h, _templateObject7$d;
|
|
12552
|
+
var ProgressDataColumn = styled.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n"])));
|
|
12553
|
+
var ProgressDataRow = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
12554
|
+
var ProgressBarWrapper = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 8px;\n background: #272730;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n border-radius: 4px;\n box-sizing: border-box;\n"])));
|
|
12555
|
+
var ProgressBar = styled.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n background: ", ";\n border-radius: 4px;\n"])), function (_ref) {
|
|
12885
12556
|
var width = _ref.width;
|
|
12886
12557
|
return width;
|
|
12887
12558
|
}, function (_ref2) {
|
|
12888
12559
|
var theme = _ref2.theme;
|
|
12889
12560
|
return theme.colors.primary;
|
|
12890
12561
|
});
|
|
12891
|
-
var ProgressDescription = styled(Text)
|
|
12892
|
-
displayName: "SpacePadProgressBar__ProgressDescription",
|
|
12893
|
-
componentId: "sc-ri8846-4"
|
|
12894
|
-
})(["font-weight:600;font-size:18px;line-height:170%;color:", ";margin-bottom:8px;"], function (_ref3) {
|
|
12562
|
+
var ProgressDescription = styled(Text)(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 18px;\n line-height: 170%;\n color: ", ";\n margin-bottom: 8px;\n"])), function (_ref3) {
|
|
12895
12563
|
var theme = _ref3.theme,
|
|
12896
12564
|
color = _ref3.color;
|
|
12897
12565
|
return color || theme.colors.white;
|
|
12898
12566
|
});
|
|
12899
|
-
var CapDescription = styled(Text)
|
|
12900
|
-
|
|
12901
|
-
componentId: "sc-ri8846-5"
|
|
12902
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;color:#818c92;margin-top:4px;"]);
|
|
12903
|
-
var StyledCapRow = styled.div.withConfig({
|
|
12904
|
-
displayName: "SpacePadProgressBar__StyledCapRow",
|
|
12905
|
-
componentId: "sc-ri8846-6"
|
|
12906
|
-
})(["display:flex;"]);
|
|
12567
|
+
var CapDescription = styled(Text)(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n color: #818c92;\n margin-top: 4px;\n"])));
|
|
12568
|
+
var StyledCapRow = styled.div(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteral(["\n display: flex;\n"])));
|
|
12907
12569
|
var SpacePadProgressBar = function SpacePadProgressBar(_ref4) {
|
|
12908
12570
|
var _ref4$currentCap = _ref4.currentCap,
|
|
12909
12571
|
currentCap = _ref4$currentCap === void 0 ? 70 : _ref4$currentCap,
|
|
@@ -12947,38 +12609,24 @@ var SpacePadProgressBar = function SpacePadProgressBar(_ref4) {
|
|
|
12947
12609
|
});
|
|
12948
12610
|
};
|
|
12949
12611
|
|
|
12950
|
-
var
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
})(["display:flex;height:94px;justify-content:flex-start;align-items:center;flex-direction:row;"]);
|
|
12954
|
-
var ProjectImage = styled.div.withConfig({
|
|
12955
|
-
displayName: "SpaceProjectName__ProjectImage",
|
|
12956
|
-
componentId: "sc-1lzbjkk-1"
|
|
12957
|
-
})(["display:flex;width:46px;height:46px;margin-right:34px;border-radius:50%;justify-content:center;align-items:center;", "{margin-right:12px;}"], function (_ref) {
|
|
12612
|
+
var _templateObject$12, _templateObject2$C, _templateObject3$v, _templateObject4$p, _templateObject5$n;
|
|
12613
|
+
var MainWrapper$1 = styled.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteral(["\n display: flex;\n height: 94px;\n justify-content: flex-start;\n align-items: center;\n flex-direction: row;\n"])));
|
|
12614
|
+
var ProjectImage = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteral(["\n display: flex;\n width: 46px;\n height: 46px;\n margin-right: 34px;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n ", " {\n margin-right: 12px;\n }\n"])), function (_ref) {
|
|
12958
12615
|
var theme = _ref.theme;
|
|
12959
12616
|
return theme.mediaQueries.mobile;
|
|
12960
12617
|
});
|
|
12961
|
-
var ProjectName$1 = styled.div
|
|
12962
|
-
displayName: "SpaceProjectName__ProjectName",
|
|
12963
|
-
componentId: "sc-1lzbjkk-2"
|
|
12964
|
-
})(["display:flex;margin-right:8px;justify-content:center;align-items:flex-end;font-size:26px;font-weight:bold;color:", ";", "{margin-bottom:6px;}"], function (_ref2) {
|
|
12618
|
+
var ProjectName$1 = styled.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteral(["\n display: flex;\n margin-right: 8px;\n justify-content: center;\n align-items: flex-end;\n font-size: 26px;\n font-weight: bold;\n color: ", ";\n ", " {\n margin-bottom: 6px;\n }\n"])), function (_ref2) {
|
|
12965
12619
|
var theme = _ref2.theme;
|
|
12966
12620
|
return theme.colors.white;
|
|
12967
12621
|
}, function (_ref3) {
|
|
12968
12622
|
var theme = _ref3.theme;
|
|
12969
12623
|
return theme.mediaQueries.mobile;
|
|
12970
12624
|
});
|
|
12971
|
-
var ProjectFullName = styled.div.
|
|
12972
|
-
displayName: "SpaceProjectName__ProjectFullName",
|
|
12973
|
-
componentId: "sc-1lzbjkk-3"
|
|
12974
|
-
})(["display:flex;align-items:flex-end;justify-content:center;color:", ";letter-spacing:0.03rem;font-size:14px;"], function (_ref4) {
|
|
12625
|
+
var ProjectFullName = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n justify-content: center;\n color: ", ";\n letter-spacing: 0.03rem;\n font-size: 14px;\n"])), function (_ref4) {
|
|
12975
12626
|
var theme = _ref4.theme;
|
|
12976
12627
|
return theme.colors.white55;
|
|
12977
12628
|
});
|
|
12978
|
-
var ProjectDetails = styled.div
|
|
12979
|
-
displayName: "SpaceProjectName__ProjectDetails",
|
|
12980
|
-
componentId: "sc-1lzbjkk-4"
|
|
12981
|
-
})(["display:flex;align-items:flex-end;justify-content:flex-start;", "{flex-direction:column;align-items:flex-start;}"], function (_ref5) {
|
|
12629
|
+
var ProjectDetails = styled.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n justify-content: flex-start;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n }\n"])), function (_ref5) {
|
|
12982
12630
|
var theme = _ref5.theme;
|
|
12983
12631
|
return theme.mediaQueries.mobile;
|
|
12984
12632
|
});
|
|
@@ -13352,15 +13000,11 @@ var connectors = [{
|
|
|
13352
13000
|
}];
|
|
13353
13001
|
var connectorLocalStorageKey = "connectorId";
|
|
13354
13002
|
|
|
13355
|
-
var
|
|
13356
|
-
|
|
13357
|
-
componentId: "sc-1jw25yf-0"
|
|
13358
|
-
})(["color:#818c92;line-height:23.8px;"]);
|
|
13003
|
+
var _templateObject$11;
|
|
13004
|
+
var AccountNumber = styled(Text)(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteral(["\n color: #818c92;\n line-height: 23.8px;\n"])));
|
|
13359
13005
|
|
|
13360
|
-
var
|
|
13361
|
-
|
|
13362
|
-
componentId: "sc-1bz6nuv-0"
|
|
13363
|
-
})(["display:flex;flex-direction:", ";align-items:center;justify-content:center;text-align:", ";"], function (_ref) {
|
|
13006
|
+
var _templateObject$10;
|
|
13007
|
+
var AccountNumberWrapper = styled.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n justify-content: center;\n text-align: ", ";\n"])), function (_ref) {
|
|
13364
13008
|
var isVerifiedUser = _ref.isVerifiedUser;
|
|
13365
13009
|
return !isVerifiedUser ? "column" : "row";
|
|
13366
13010
|
}, function (_ref2) {
|
|
@@ -13368,85 +13012,57 @@ var AccountNumberWrapper = styled.div.withConfig({
|
|
|
13368
13012
|
return textAlign && textAlign;
|
|
13369
13013
|
});
|
|
13370
13014
|
|
|
13371
|
-
var
|
|
13372
|
-
|
|
13373
|
-
componentId: "sc-s9bf1w-0"
|
|
13374
|
-
})(["position:absolute;width:100vw;height:100vh;background-color:black;opacity:0.4;left:0;top:0;z-index:11;"]);
|
|
13015
|
+
var _templateObject$$;
|
|
13016
|
+
var Background = styled.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteral(["\n position: absolute;\n width: 100vw;\n height: 100vh;\n background-color: black;\n opacity: 0.4;\n left: 0;\n top: 0;\n z-index: 11;\n"])));
|
|
13375
13017
|
|
|
13376
|
-
var
|
|
13377
|
-
|
|
13378
|
-
componentId: "sc-1elsl0s-0"
|
|
13379
|
-
})(["padding-top:20px;"]);
|
|
13018
|
+
var _templateObject$_;
|
|
13019
|
+
var BottomRow = styled.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteral(["\n padding-top: 20px;\n"])));
|
|
13380
13020
|
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
componentId: "sc-w1eu8g-0"
|
|
13384
|
-
})(["background:#383847;color:", ";width:85px;height:32px;font-size:14px;"], function (_ref) {
|
|
13021
|
+
var _templateObject$Z;
|
|
13022
|
+
styled(Button$1)(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteral(["\n background: #383847;\n color: ", ";\n width: 85px;\n height: 32px;\n font-size: 14px;\n"])), function (_ref) {
|
|
13385
13023
|
var theme = _ref.theme;
|
|
13386
13024
|
return theme.colors.white;
|
|
13387
13025
|
});
|
|
13388
13026
|
|
|
13389
|
-
var
|
|
13390
|
-
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
var
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13403
|
-
|
|
13404
|
-
var fadeInAnimation = keyframes(["0%{right:-357px;}100%{right:0;}"]);
|
|
13405
|
-
var ConnectWalletWrapper = styled.div.withConfig({
|
|
13406
|
-
displayName: "ConnectWalletWrapper",
|
|
13407
|
-
componentId: "sc-1oauz4x-0"
|
|
13408
|
-
})(["display:flex;flex-direction:column;width:357px;height:100vh;padding:24px;background:#191921;position:fixed;top:0%;right:0;animation:", " 0.4s;z-index:20;"], fadeInAnimation);
|
|
13409
|
-
|
|
13410
|
-
var LogoutButton = styled(Button$1).withConfig({
|
|
13411
|
-
displayName: "LogoutButton",
|
|
13412
|
-
componentId: "sc-ljmmm0-0"
|
|
13413
|
-
})(["display:flex;align-items:center;justify-content:center;background:#383847;color:", ";width:100%;font-weight:700;font-size:14px;"], function (_ref) {
|
|
13027
|
+
var _templateObject$Y;
|
|
13028
|
+
var CloseButton = styled(Icon$2m)(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteral(["\n width: 24px;\n height: 24px;\n border-radius: 50%;\n cursor: pointer;\n background: #383847;\n position: absolute;\n left: -35px;\n top: 5px;\n"])));
|
|
13029
|
+
|
|
13030
|
+
var _templateObject$X;
|
|
13031
|
+
var ConnectedInfoWrapper = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n"])));
|
|
13032
|
+
|
|
13033
|
+
var _templateObject$W;
|
|
13034
|
+
var ConnectedProvider = styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral(["\n height: 72px;\n width: 309px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n padding-left: 32px;\n border-radius: 10px;\n background: #272730;\n"])));
|
|
13035
|
+
|
|
13036
|
+
var _templateObject$V, _templateObject2$B;
|
|
13037
|
+
var fadeInAnimation = keyframes(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral(["\n 0% {\n right: -357px;\n }\n 100% {\n right: 0;\n }\n"])));
|
|
13038
|
+
var ConnectWalletWrapper = styled.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 357px;\n height: 100vh;\n padding: 24px;\n background: #191921;\n position: fixed;\n top: 0%;\n right: 0;\n animation: ", " 0.4s;\n z-index: 20;\n"])), fadeInAnimation);
|
|
13039
|
+
|
|
13040
|
+
var _templateObject$U;
|
|
13041
|
+
var LogoutButton = styled(Button$1)(_templateObject$U || (_templateObject$U = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n background: #383847;\n color: ", ";\n width: 100%;\n font-weight: 700;\n font-size: 14px;\n"])), function (_ref) {
|
|
13414
13042
|
var theme = _ref.theme;
|
|
13415
13043
|
return theme.colors.white;
|
|
13416
13044
|
});
|
|
13417
13045
|
|
|
13418
|
-
var
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13422
|
-
|
|
13423
|
-
|
|
13424
|
-
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
-
var
|
|
13429
|
-
|
|
13430
|
-
|
|
13431
|
-
|
|
13432
|
-
|
|
13433
|
-
var ProviderTitle = styled(Text).withConfig({
|
|
13434
|
-
displayName: "ProviderTitle",
|
|
13435
|
-
componentId: "sc-cz48yj-0"
|
|
13436
|
-
})(["font-weight:600;line-height:24px;margin-left:16px;"]);
|
|
13437
|
-
|
|
13438
|
-
var SettingsButton = styled(Button$1).withConfig({
|
|
13439
|
-
displayName: "SettingsButton",
|
|
13440
|
-
componentId: "sc-zhm3ih-0"
|
|
13441
|
-
})(["display:flex;align-items:center;justify-content:center;background:#383847;color:", ";width:100%;font-weight:700;font-size:14px;margin-bottom:16px;"], function (_ref) {
|
|
13046
|
+
var _templateObject$T;
|
|
13047
|
+
var MiddleRow = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteral(["\n padding: 20px 0;\n border-bottom: 1px solid #252530;\n"])));
|
|
13048
|
+
|
|
13049
|
+
var _templateObject$S;
|
|
13050
|
+
var MyWallet = styled(Text)(_templateObject$S || (_templateObject$S = _taggedTemplateLiteral(["\n line-height: 28px;\n margin-left: 18px;\n"])));
|
|
13051
|
+
|
|
13052
|
+
var _templateObject$R;
|
|
13053
|
+
var MyWalletWrapper = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
13054
|
+
|
|
13055
|
+
var _templateObject$Q;
|
|
13056
|
+
var ProviderTitle = styled(Text)(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteral(["\n font-weight: 600;\n line-height: 24px;\n margin-left: 16px;\n"])));
|
|
13057
|
+
|
|
13058
|
+
var _templateObject$P;
|
|
13059
|
+
var SettingsButton = styled(Button$1)(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n background: #383847;\n color: ", ";\n width: 100%;\n font-weight: 700;\n font-size: 14px;\n margin-bottom: 16px;\n"])), function (_ref) {
|
|
13442
13060
|
var theme = _ref.theme;
|
|
13443
13061
|
return theme.colors.white;
|
|
13444
13062
|
});
|
|
13445
13063
|
|
|
13446
|
-
var
|
|
13447
|
-
|
|
13448
|
-
componentId: "sc-zlngw8-0"
|
|
13449
|
-
})(["width:100%;height:54px;display:flex;align-items:", ";justify-content:", ";border-bottom:1px solid #252530;position:relative;padding-bottom:20px;"], function (_ref) {
|
|
13064
|
+
var _templateObject$O;
|
|
13065
|
+
var UpperRow = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteral(["\n width: 100%;\n height: 54px;\n display: flex;\n align-items: ", ";\n justify-content: ", ";\n border-bottom: 1px solid #252530;\n position: relative;\n padding-bottom: 20px;\n"])), function (_ref) {
|
|
13450
13066
|
var alignItems = _ref.alignItems;
|
|
13451
13067
|
return alignItems && alignItems;
|
|
13452
13068
|
}, function (_ref2) {
|
|
@@ -13454,26 +13070,20 @@ var UpperRow = styled.div.withConfig({
|
|
|
13454
13070
|
return justifyContent && justifyContent;
|
|
13455
13071
|
});
|
|
13456
13072
|
|
|
13457
|
-
var
|
|
13458
|
-
|
|
13459
|
-
componentId: "sc-1jviz6b-0"
|
|
13460
|
-
})(["display:flex;align-items:center;justify-content:space-between;margin-top:", ";"], function (_ref) {
|
|
13073
|
+
var _templateObject$N;
|
|
13074
|
+
var VerificationInfo = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: ", ";\n"])), function (_ref) {
|
|
13461
13075
|
var marginTop = _ref.marginTop;
|
|
13462
13076
|
return marginTop && marginTop;
|
|
13463
13077
|
});
|
|
13464
13078
|
|
|
13465
|
-
var
|
|
13466
|
-
|
|
13467
|
-
componentId: "sc-1l4uhr0-0"
|
|
13468
|
-
})(["fill:", ";margin-right:8px;"], function (_ref) {
|
|
13079
|
+
var _templateObject$M;
|
|
13080
|
+
var VerifiedWalletIcon = styled(Icon$28)(_templateObject$M || (_templateObject$M = _taggedTemplateLiteral(["\n fill: ", ";\n margin-right: 8px;\n"])), function (_ref) {
|
|
13469
13081
|
var theme = _ref.theme;
|
|
13470
13082
|
return theme.colors.vividBlue;
|
|
13471
13083
|
});
|
|
13472
13084
|
|
|
13473
|
-
var
|
|
13474
|
-
|
|
13475
|
-
componentId: "sc-ipxejr-0"
|
|
13476
|
-
})(["height:72px;width:309px;display:flex;align-items:center;padding-left:32px;border-radius:10px;background:", ";margin-bottom:", ";border:1px solid transparent;&:hover{border:", ";cursor:pointer;}"], function (_ref) {
|
|
13085
|
+
var _templateObject$L;
|
|
13086
|
+
var Provider = styled.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteral(["\n height: 72px;\n width: 309px;\n display: flex;\n align-items: center;\n padding-left: 32px;\n border-radius: 10px;\n background: ", ";\n margin-bottom: ", ";\n border: 1px solid transparent;\n\n &:hover {\n border: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
13477
13087
|
var theme = _ref.theme;
|
|
13478
13088
|
return theme.backgrounds.secondary;
|
|
13479
13089
|
}, function (_ref2) {
|
|
@@ -13528,10 +13138,8 @@ var Icon$F = function Icon(props) {
|
|
|
13528
13138
|
}));
|
|
13529
13139
|
};
|
|
13530
13140
|
|
|
13531
|
-
var
|
|
13532
|
-
|
|
13533
|
-
componentId: "sc-mzj27o-0"
|
|
13534
|
-
})(["line-height:24px;font-weight:400;color:#818c92;margin:16px 0;"]);
|
|
13141
|
+
var _templateObject$K;
|
|
13142
|
+
var ConnectDescription = styled(Text)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteral(["\n line-height: 24px;\n font-weight: 400;\n color: #818c92;\n margin: 16px 0;\n"])));
|
|
13535
13143
|
var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
13536
13144
|
var handleLogin = _ref.handleLogin,
|
|
13537
13145
|
setIsConnectWalletPanelOpen = _ref.setIsConnectWalletPanelOpen,
|
|
@@ -13577,21 +13185,13 @@ var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
|
13577
13185
|
});
|
|
13578
13186
|
};
|
|
13579
13187
|
|
|
13580
|
-
var
|
|
13581
|
-
|
|
13582
|
-
componentId: "sc-ooxgfj-0"
|
|
13583
|
-
})(["color:", ";line-height:20.4px;"], function (_ref) {
|
|
13188
|
+
var _templateObject$J, _templateObject2$A, _templateObject3$u;
|
|
13189
|
+
var VerifyAddressIndicator$1 = styled(Text)(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral(["\n color: ", ";\n line-height: 20.4px;\n"])), function (_ref) {
|
|
13584
13190
|
var theme = _ref.theme;
|
|
13585
13191
|
return theme.colors.red;
|
|
13586
13192
|
});
|
|
13587
|
-
var ConnectedInfo = styled(Text)
|
|
13588
|
-
|
|
13589
|
-
componentId: "sc-ooxgfj-1"
|
|
13590
|
-
})(["color:#818c92;"]);
|
|
13591
|
-
var VerifyButton = styled(Button$1).withConfig({
|
|
13592
|
-
displayName: "VerifyWallet__VerifyButton",
|
|
13593
|
-
componentId: "sc-ooxgfj-2"
|
|
13594
|
-
})(["font-size:14px;width:100%;margin:24px 0;"]);
|
|
13193
|
+
var ConnectedInfo = styled(Text)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteral(["\n color: #818c92;\n"])));
|
|
13194
|
+
var VerifyButton = styled(Button$1)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteral(["\n font-size: 14px;\n width: 100%;\n margin: 24px 0;\n"])));
|
|
13595
13195
|
var ConnectWallet = function ConnectWallet(_ref2) {
|
|
13596
13196
|
var account = _ref2.account,
|
|
13597
13197
|
setIsConnectWalletPanelOpen = _ref2.setIsConnectWalletPanelOpen;
|
|
@@ -14025,88 +13625,44 @@ var getTimeValue = function getTimeValue(value, timeUnit) {
|
|
|
14025
13625
|
return "".concat(value).concat(timeUnit);
|
|
14026
13626
|
};
|
|
14027
13627
|
|
|
14028
|
-
var
|
|
14029
|
-
|
|
14030
|
-
componentId: "sc-1kin2xe-0"
|
|
14031
|
-
})(["height:8px;width:8px;border-radius:50%;background:", ";margin-right:8px;", ""], function (_ref) {
|
|
13628
|
+
var _templateObject$I, _templateObject2$z, _templateObject3$t, _templateObject4$o, _templateObject5$m, _templateObject6$g, _templateObject7$c, _templateObject8$9, _templateObject9$8, _templateObject0$6, _templateObject1$6, _templateObject10$5, _templateObject11$5, _templateObject12$4, _templateObject13$2;
|
|
13629
|
+
var ActiveDot$1 = styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteral(["\n height: 8px;\n width: 8px;\n border-radius: 50%;\n background: ", ";\n margin-right: 8px;\n ", "\n"])), function (_ref) {
|
|
14032
13630
|
var dotColor = _ref.dotColor;
|
|
14033
13631
|
return dotColor;
|
|
14034
13632
|
}, function (_ref2) {
|
|
14035
13633
|
var fetchingData = _ref2.fetchingData;
|
|
14036
13634
|
return fetchingData && "\n transition: all 0.25s ease-in-out;\n animation: stretch 2s infinite;\n @keyframes stretch {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(0.9);\n }\n 50% {\n transform: scale(1.2);\n }\n 75% {\n transform: scale(0.9);\n }\n 100% {\n transform: scale(1);\n }\n }\n ";
|
|
14037
13635
|
});
|
|
14038
|
-
var ActivityDescription = styled(Text)
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
var
|
|
14043
|
-
displayName: "SpacePadComponents__ActivityWrapper",
|
|
14044
|
-
componentId: "sc-1kin2xe-2"
|
|
14045
|
-
})(["display:flex;position:absolute;right:15px;top:15px;"]);
|
|
14046
|
-
var ActivityComponent = styled.div.withConfig({
|
|
14047
|
-
displayName: "SpacePadComponents__ActivityComponent",
|
|
14048
|
-
componentId: "sc-1kin2xe-3"
|
|
14049
|
-
})(["display:flex;align-items:center;justify-content:space-between;padding:4px 8px;width:max-content;height:28px;background:rgba(55,55,73,0.5);backdrop-filter:blur(53px);border-radius:10px;margin-left:8px;"]);
|
|
14050
|
-
var ProjectNameColumn = styled.div.withConfig({
|
|
14051
|
-
displayName: "SpacePadComponents__ProjectNameColumn",
|
|
14052
|
-
componentId: "sc-1kin2xe-4"
|
|
14053
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;"]);
|
|
14054
|
-
var ProjectName = styled(Text).withConfig({
|
|
14055
|
-
displayName: "SpacePadComponents__ProjectName",
|
|
14056
|
-
componentId: "sc-1kin2xe-5"
|
|
14057
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;", "{font-size:24px;}"], function (_ref3) {
|
|
13636
|
+
var ActivityDescription = styled(Text)(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n width: max-content;\n"])));
|
|
13637
|
+
var ActivityWrapper = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n right: 15px;\n top: 15px;\n"])));
|
|
13638
|
+
var ActivityComponent = styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 4px 8px;\n width: max-content;\n height: 28px;\n background: rgba(55, 55, 73, 0.5);\n backdrop-filter: blur(53px);\n border-radius: 10px;\n margin-left: 8px;\n"])));
|
|
13639
|
+
var ProjectNameColumn = styled.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n"])));
|
|
13640
|
+
var ProjectName = styled(Text)(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n ", " {\n font-size: 24px;\n }\n"])), function (_ref3) {
|
|
14058
13641
|
var theme = _ref3.theme;
|
|
14059
13642
|
return theme.mediaQueries.mobile;
|
|
14060
13643
|
});
|
|
14061
|
-
var ProjectTicker = styled(Text).
|
|
14062
|
-
displayName: "SpacePadComponents__ProjectTicker",
|
|
14063
|
-
componentId: "sc-1kin2xe-6"
|
|
14064
|
-
})(["font-size:14px;line-height:170%;text-align:right;letter-spacing:0.03em;font-weight:bold;color:#535459;", ";"], function (_ref4) {
|
|
13644
|
+
var ProjectTicker = styled(Text)(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 170%;\n text-align: right;\n letter-spacing: 0.03em;\n font-weight: bold;\n color: #535459;\n ", ";\n"])), function (_ref4) {
|
|
14065
13645
|
var customStyle = _ref4.customStyle;
|
|
14066
13646
|
return customStyle;
|
|
14067
13647
|
});
|
|
14068
|
-
var TimerDescription = styled(Text)
|
|
14069
|
-
|
|
14070
|
-
componentId: "sc-1kin2xe-7"
|
|
14071
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;color:#818c92;"]);
|
|
14072
|
-
var Timer = styled(Text).withConfig({
|
|
14073
|
-
displayName: "SpacePadComponents__Timer",
|
|
14074
|
-
componentId: "sc-1kin2xe-8"
|
|
14075
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;color:", ";", "{font-size:24px;}"], function (_ref5) {
|
|
13648
|
+
var TimerDescription = styled(Text)(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n color: #818c92;\n"])));
|
|
13649
|
+
var Timer = styled(Text)(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n ", " {\n font-size: 24px;\n }\n"])), function (_ref5) {
|
|
14076
13650
|
var isIncoming = _ref5.isIncoming;
|
|
14077
13651
|
return isIncoming ? "#FF7342" : "#12ffb8";
|
|
14078
13652
|
}, function (_ref6) {
|
|
14079
13653
|
var theme = _ref6.theme;
|
|
14080
13654
|
return theme.mediaQueries.mobile;
|
|
14081
13655
|
});
|
|
14082
|
-
var RatioColumn = styled.div
|
|
14083
|
-
|
|
14084
|
-
componentId: "sc-1kin2xe-9"
|
|
14085
|
-
})(["display:flex;flex-direction:column;align-items:flex-end;"]);
|
|
14086
|
-
var DetailsRow = styled.div.withConfig({
|
|
14087
|
-
displayName: "SpacePadComponents__DetailsRow",
|
|
14088
|
-
componentId: "sc-1kin2xe-10"
|
|
14089
|
-
})(["display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%;"]);
|
|
13656
|
+
var RatioColumn = styled.div(_templateObject0$6 || (_templateObject0$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"])));
|
|
13657
|
+
var DetailsRow = styled.div(_templateObject1$6 || (_templateObject1$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n"])));
|
|
14090
13658
|
// Details components
|
|
14091
|
-
var SpaceInfoTableWrapper = styled.div
|
|
14092
|
-
|
|
14093
|
-
componentId: "sc-1kin2xe-11"
|
|
14094
|
-
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
14095
|
-
var SpaceInfoTableRow = styled.div.withConfig({
|
|
14096
|
-
displayName: "SpacePadComponents__SpaceInfoTableRow",
|
|
14097
|
-
componentId: "sc-1kin2xe-12"
|
|
14098
|
-
})(["display:flex;align-items:flex-start;justify-content:space-between;padding:11px 0px;border-bottom:", ";"], function (_ref7) {
|
|
13659
|
+
var SpaceInfoTableWrapper = styled.div(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"])));
|
|
13660
|
+
var SpaceInfoTableRow = styled.div(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 11px 0px;\n border-bottom: ", ";\n"])), function (_ref7) {
|
|
14099
13661
|
var underlined = _ref7.underlined;
|
|
14100
13662
|
return underlined && "1px solid #272730";
|
|
14101
13663
|
});
|
|
14102
|
-
var RowTitle = styled(Text)
|
|
14103
|
-
|
|
14104
|
-
componentId: "sc-1kin2xe-13"
|
|
14105
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;color:#818c92;"]);
|
|
14106
|
-
var RowValue = styled(Text).withConfig({
|
|
14107
|
-
displayName: "SpacePadComponents__RowValue",
|
|
14108
|
-
componentId: "sc-1kin2xe-14"
|
|
14109
|
-
})(["display:flex;flex-direction:column;font-weight:600;font-size:16px;line-height:24px;color:#ffffff;"]);
|
|
13664
|
+
var RowTitle = styled(Text)(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n color: #818c92;\n"])));
|
|
13665
|
+
var RowValue = styled(Text)(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n color: #ffffff;\n"])));
|
|
14110
13666
|
var SpacePadInfoRow = function SpacePadInfoRow(props) {
|
|
14111
13667
|
var title = props.title,
|
|
14112
13668
|
value = props.value,
|
|
@@ -14228,65 +13784,33 @@ var getPreciseRatio = function getPreciseRatio(ratio) {
|
|
|
14228
13784
|
return ratio.toString();
|
|
14229
13785
|
};
|
|
14230
13786
|
|
|
14231
|
-
var
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
})(["display:flex;flex-direction:column;"]);
|
|
14235
|
-
var StyledDetailsHeader = styled.div.withConfig({
|
|
14236
|
-
displayName: "SpacePadProjectDetails__StyledDetailsHeader",
|
|
14237
|
-
componentId: "sc-18f4woi-1"
|
|
14238
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;margin-bottom:32px;", "{flex-direction:column-reverse;align-items:flex-start;justify-content:space-between;margin-bottom:16px;}"], function (_ref) {
|
|
13787
|
+
var _templateObject$H, _templateObject2$y, _templateObject3$s, _templateObject4$n, _templateObject5$l, _templateObject6$f, _templateObject7$b, _templateObject8$8, _templateObject9$7, _templateObject0$5, _templateObject1$5;
|
|
13788
|
+
var SpacePadProjectDetailsWrapper = styled.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
13789
|
+
var StyledDetailsHeader = styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n margin-bottom: 32px;\n ", " {\n flex-direction: column-reverse;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: 16px;\n }\n"])), function (_ref) {
|
|
14239
13790
|
var theme = _ref.theme;
|
|
14240
13791
|
return theme.mediaQueries.mobile;
|
|
14241
13792
|
});
|
|
14242
|
-
var StyledDetails = styled.div
|
|
14243
|
-
displayName: "SpacePadProjectDetails__StyledDetails",
|
|
14244
|
-
componentId: "sc-18f4woi-2"
|
|
14245
|
-
})(["display:grid;grid-template-columns:repeat(2,1fr);grid-gap:32px;height:max-content;", "{display:flex;flex-direction:column;}"], function (_ref2) {
|
|
13793
|
+
var StyledDetails = styled.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 32px;\n height: max-content;\n ", " {\n display: flex;\n flex-direction: column;\n }\n"])), function (_ref2) {
|
|
14246
13794
|
var theme = _ref2.theme;
|
|
14247
13795
|
return theme.mediaQueries.mobile;
|
|
14248
13796
|
});
|
|
14249
|
-
var ProjectLogo$1 = styled.div
|
|
14250
|
-
displayName: "SpacePadProjectDetails__ProjectLogo",
|
|
14251
|
-
componentId: "sc-18f4woi-3"
|
|
14252
|
-
})(["display:flex;justify-content:center;align-items:center;width:80px;height:80px;border-radius:50%;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;border:3px solid #373749;overflow:hidden;margin-right:16px;"], function (_ref3) {
|
|
13797
|
+
var ProjectLogo$1 = styled.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n border-radius: 50%;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n border: 3px solid #373749;\n overflow: hidden;\n margin-right: 16px;\n"])), function (_ref3) {
|
|
14253
13798
|
var background = _ref3.background;
|
|
14254
13799
|
return background;
|
|
14255
13800
|
});
|
|
14256
|
-
var TimerWrapper = styled.div
|
|
14257
|
-
displayName: "SpacePadProjectDetails__TimerWrapper",
|
|
14258
|
-
componentId: "sc-18f4woi-4"
|
|
14259
|
-
})(["position:relative;display:flex;flex-direction:row;align-items:center;", "{flex-direction:column;align-items:flex-start;margin-bottom:44px;}"], function (_ref4) {
|
|
13801
|
+
var TimerWrapper = styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n margin-bottom: 44px;\n }\n"])), function (_ref4) {
|
|
14260
13802
|
var theme = _ref4.theme;
|
|
14261
13803
|
return theme.mediaQueries.mobile;
|
|
14262
13804
|
});
|
|
14263
|
-
var ProjectNameData = styled.div
|
|
14264
|
-
|
|
14265
|
-
componentId: "sc-18f4woi-5"
|
|
14266
|
-
})(["display:inline-flex;"]);
|
|
14267
|
-
var DetailsPoster = styled.div.withConfig({
|
|
14268
|
-
displayName: "SpacePadProjectDetails__DetailsPoster",
|
|
14269
|
-
componentId: "sc-18f4woi-6"
|
|
14270
|
-
})(["height:200px;width:100%;position:relative;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;border-radius:16px;"], function (_ref5) {
|
|
13805
|
+
var ProjectNameData = styled.div(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteral(["\n display: inline-flex;\n"])));
|
|
13806
|
+
var DetailsPoster = styled.div(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteral(["\n height: 200px;\n width: 100%;\n position: relative;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n border-radius: 16px;\n"])), function (_ref5) {
|
|
14271
13807
|
var background = _ref5.background;
|
|
14272
13808
|
return background;
|
|
14273
13809
|
});
|
|
14274
|
-
var StyledDetailsDescriptionColumn = styled.div
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
var DetailsSpacer = styled.div.withConfig({
|
|
14279
|
-
displayName: "SpacePadProjectDetails__DetailsSpacer",
|
|
14280
|
-
componentId: "sc-18f4woi-8"
|
|
14281
|
-
})(["width:100%;height:1px;background:#272730;margin:16px 0px;"]);
|
|
14282
|
-
var ParticipantsRow = styled(DetailsRow).withConfig({
|
|
14283
|
-
displayName: "SpacePadProjectDetails__ParticipantsRow",
|
|
14284
|
-
componentId: "sc-18f4woi-9"
|
|
14285
|
-
})(["position:absolute;bottom:-40px;"]);
|
|
14286
|
-
var IdoEventTimestamp = styled.div.withConfig({
|
|
14287
|
-
displayName: "SpacePadProjectDetails__IdoEventTimestamp",
|
|
14288
|
-
componentId: "sc-18f4woi-10"
|
|
14289
|
-
})(["position:absolute;font-weight:500;font-size:12px;line-height:170%;color:#535459;right:0px;bottom:-20px;", "{left:0px;}"], function (_ref6) {
|
|
13810
|
+
var StyledDetailsDescriptionColumn = styled.div(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"])));
|
|
13811
|
+
var DetailsSpacer = styled.div(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteral(["\n width: 100%;\n height: 1px;\n background: #272730;\n margin: 16px 0px;\n"])));
|
|
13812
|
+
var ParticipantsRow = styled(DetailsRow)(_templateObject0$5 || (_templateObject0$5 = _taggedTemplateLiteral(["\n position: absolute;\n bottom: -40px;\n"])));
|
|
13813
|
+
var IdoEventTimestamp = styled.div(_templateObject1$5 || (_templateObject1$5 = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: 500;\n font-size: 12px;\n line-height: 170%;\n color: #535459;\n right: 0px;\n bottom: -20px;\n ", " {\n left: 0px;\n }\n"])), function (_ref6) {
|
|
14290
13814
|
var theme = _ref6.theme;
|
|
14291
13815
|
return theme.mediaQueries.mobile;
|
|
14292
13816
|
});
|
|
@@ -14412,73 +13936,47 @@ var SpacePadProjectDetails = function SpacePadProjectDetails(props) {
|
|
|
14412
13936
|
});
|
|
14413
13937
|
};
|
|
14414
13938
|
|
|
14415
|
-
var
|
|
14416
|
-
|
|
14417
|
-
componentId: "sc-1uosrv7-0"
|
|
14418
|
-
})(["display:flex;width:100%;height:129px;background:", ";border:1px solid ", ";border-radius:10px;justify-content:space-around;flex-direction:column;padding:12px 16px 34px 16px;"], function (_ref) {
|
|
13939
|
+
var _templateObject$G, _templateObject2$x, _templateObject3$r, _templateObject4$m, _templateObject5$k, _templateObject6$e, _templateObject7$a, _templateObject8$7, _templateObject9$6;
|
|
13940
|
+
var WalletWrapper = styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n height: 129px;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n justify-content: space-around;\n flex-direction: column;\n padding: 12px 16px 34px 16px;\n"])), function (_ref) {
|
|
14419
13941
|
var theme = _ref.theme;
|
|
14420
13942
|
return theme.backgrounds.secondary;
|
|
14421
13943
|
}, function (_ref2) {
|
|
14422
13944
|
var theme = _ref2.theme;
|
|
14423
13945
|
return theme.colors.white3;
|
|
14424
13946
|
});
|
|
14425
|
-
styled.div
|
|
14426
|
-
|
|
14427
|
-
componentId: "sc-1uosrv7-1"
|
|
14428
|
-
})(["display:flex;width:100%;height:100%;justify-content:space-between;align-items:flex-start;flex-direction:column;flex:2;"]);
|
|
14429
|
-
styled.div.withConfig({
|
|
14430
|
-
displayName: "WalletCap__ProgressBarWrapper",
|
|
14431
|
-
componentId: "sc-1uosrv7-2"
|
|
14432
|
-
})(["position:relative;width:100%;height:30px;background:", ";display:flex;justify-content:flex-start;align-items:center;border-radius:7px;border:1px solid ", ";box-sizing:border-box;padding:3px;"], function (_ref3) {
|
|
13947
|
+
styled.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: space-between;\n align-items: flex-start;\n flex-direction: column;\n flex: 2;\n"])));
|
|
13948
|
+
styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 30px;\n background: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n border-radius: 7px;\n border: 1px solid ", ";\n box-sizing: border-box;\n padding: 3px;\n"])), function (_ref3) {
|
|
14433
13949
|
var theme = _ref3.theme;
|
|
14434
13950
|
return theme.colors.dark;
|
|
14435
13951
|
}, function (_ref4) {
|
|
14436
13952
|
var theme = _ref4.theme;
|
|
14437
13953
|
return theme.colors.white3;
|
|
14438
13954
|
});
|
|
14439
|
-
styled.div
|
|
14440
|
-
displayName: "WalletCap__ProgressBar",
|
|
14441
|
-
componentId: "sc-1uosrv7-3"
|
|
14442
|
-
})(["position:relative;height:100%;width:", "%;font-size:14px;background:", ";border-radius:7px;"], function (_ref5) {
|
|
13955
|
+
styled.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n font-size: 14px;\n background: ", ";\n border-radius: 7px;\n"])), function (_ref5) {
|
|
14443
13956
|
var width = _ref5.width;
|
|
14444
13957
|
return width;
|
|
14445
13958
|
}, function (_ref6) {
|
|
14446
13959
|
var theme = _ref6.theme;
|
|
14447
13960
|
return theme.colors.grey;
|
|
14448
13961
|
});
|
|
14449
|
-
styled.div
|
|
14450
|
-
displayName: "WalletCap__ProcentValue",
|
|
14451
|
-
componentId: "sc-1uosrv7-4"
|
|
14452
|
-
})(["position:absolute;color:", ";top:50%;left:50%;transform:translate(-50%,-50%);font-weight:bold;display:inline-block;width:100%;text-align:center;"], function (_ref7) {
|
|
13962
|
+
styled.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteral(["\n position: absolute;\n color: ", ";\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-weight: bold;\n display: inline-block;\n width: 100%;\n text-align: center;\n"])), function (_ref7) {
|
|
14453
13963
|
var theme = _ref7.theme;
|
|
14454
13964
|
return theme.colors.white;
|
|
14455
13965
|
});
|
|
14456
|
-
var Description$1 = styled.div
|
|
14457
|
-
displayName: "WalletCap__Description",
|
|
14458
|
-
componentId: "sc-1uosrv7-5"
|
|
14459
|
-
})(["display:flex;font-size:12px;line-height:2;color:", ";align-items:flex-start;font-weight:normal;"], function (_ref8) {
|
|
13966
|
+
var Description$1 = styled.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteral(["\n display: flex;\n font-size: 12px;\n line-height: 2;\n color: ", ";\n align-items: flex-start;\n font-weight: normal;\n"])), function (_ref8) {
|
|
14460
13967
|
var theme = _ref8.theme;
|
|
14461
13968
|
return theme.colors.white55;
|
|
14462
13969
|
});
|
|
14463
|
-
var Title = styled(Description$1)
|
|
14464
|
-
displayName: "WalletCap__Title",
|
|
14465
|
-
componentId: "sc-1uosrv7-6"
|
|
14466
|
-
})(["font-weight:bold;font-size:14px;flex-direction:row;"]);
|
|
13970
|
+
var Title = styled(Description$1)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n flex-direction: row;\n"])));
|
|
14467
13971
|
// We need to implement it in such a way until walletCap per wallet wont be implemented
|
|
14468
|
-
var DescriptionWrapper = styled.div
|
|
14469
|
-
displayName: "WalletCap__DescriptionWrapper",
|
|
14470
|
-
componentId: "sc-1uosrv7-7"
|
|
14471
|
-
})(["color:", ";line-height:2;display:flex;flex-direction:column;font-weight:bold;font-size:14px;flex:1;border-right:", ";margin-right:24px;"], function (_ref9) {
|
|
13972
|
+
var DescriptionWrapper = styled.div(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteral(["\n color: ", ";\n line-height: 2;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n font-size: 14px;\n flex: 1;\n border-right: ", ";\n margin-right: 24px;\n"])), function (_ref9) {
|
|
14472
13973
|
var theme = _ref9.theme;
|
|
14473
13974
|
return theme.colors.white;
|
|
14474
13975
|
}, function (_ref0) {
|
|
14475
13976
|
var withoutBorder = _ref0.withoutBorder;
|
|
14476
13977
|
return withoutBorder ? "none" : "1px solid #252530";
|
|
14477
13978
|
});
|
|
14478
|
-
var DetailsWrapper = styled.div
|
|
14479
|
-
displayName: "WalletCap__DetailsWrapper",
|
|
14480
|
-
componentId: "sc-1uosrv7-8"
|
|
14481
|
-
})(["display:flex;height:50px;flex-direction:row;"]);
|
|
13979
|
+
var DetailsWrapper = styled.div(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteral(["\n display: flex;\n height: 50px;\n flex-direction: row;\n"])));
|
|
14482
13980
|
var WalletCap = function WalletCap(_ref1) {
|
|
14483
13981
|
_ref1.currentWalletCap;
|
|
14484
13982
|
var _ref1$softCap = _ref1.softCap,
|
|
@@ -14509,10 +14007,8 @@ var WalletCap = function WalletCap(_ref1) {
|
|
|
14509
14007
|
});
|
|
14510
14008
|
};
|
|
14511
14009
|
|
|
14512
|
-
var
|
|
14513
|
-
|
|
14514
|
-
componentId: "sc-isj8qi-0"
|
|
14515
|
-
})(["background:", ";padding:16px;border-radius:10px;border:1px solid ", ";box-shadow:0px 13px 20px rgba(0,0,0,0.25);color:", ";width:max-content;min-width:200px;display:none;max-height:500px;z-index:9999999;position:absolute;bottom:calc(100% + 16px);transform:translate(34px,0);right:", "px;font-size:", "px;", ""], function (_ref) {
|
|
14010
|
+
var _templateObject$F, _templateObject2$w, _templateObject3$q;
|
|
14011
|
+
var TooltipContent = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteral(["\n background: ", ";\n padding: 16px;\n border-radius: 10px;\n border: 1px solid ", ";\n box-shadow: 0px 13px 20px rgba(0, 0, 0, 0.25);\n color: ", ";\n width: max-content;\n min-width: 200px;\n display: none;\n max-height: 500px;\n z-index: 9999999;\n position: absolute;\n bottom: calc(100% + 16px);\n transform: translate(34px, 0);\n right: ", "px;\n font-size: ", "px;\n\n ", "\n"])), function (_ref) {
|
|
14516
14012
|
var theme = _ref.theme;
|
|
14517
14013
|
return theme.colors.card;
|
|
14518
14014
|
}, function (_ref2) {
|
|
@@ -14527,15 +14023,12 @@ var TooltipContent = styled.div.withConfig({
|
|
|
14527
14023
|
}, function (props) {
|
|
14528
14024
|
return props.small ? 12 : "";
|
|
14529
14025
|
}, function (props) {
|
|
14530
|
-
return !props.removeAfter && css(["&:after{content
|
|
14026
|
+
return !props.removeAfter && css(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteral(["\n &:after {\n content: \"\";\n display: block;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid ", ";\n bottom: ", "px;\n position: absolute;\n transform: translate(-34px, 9px);\n right: 0;\n }\n "])), function (_ref5) {
|
|
14531
14027
|
var theme = _ref5.theme;
|
|
14532
14028
|
return theme.tooltip.background;
|
|
14533
14029
|
}, props.bottom || 0);
|
|
14534
14030
|
});
|
|
14535
|
-
var Container$3 = styled.div
|
|
14536
|
-
displayName: "Tooltip__Container",
|
|
14537
|
-
componentId: "sc-isj8qi-1"
|
|
14538
|
-
})(["position:relative;z-index:99999999999;&:hover ", ",&:focus-within ", "{display:block;}"], TooltipContent, TooltipContent);
|
|
14031
|
+
var Container$3 = styled.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteral(["\n position: relative;\n z-index: 99999999999;\n\n &:hover ", ", &:focus-within ", " {\n display: block;\n }\n"])), TooltipContent, TooltipContent);
|
|
14539
14032
|
var Tooltip = function Tooltip(_ref6) {
|
|
14540
14033
|
var content = _ref6.content,
|
|
14541
14034
|
children = _ref6.children,
|
|
@@ -14560,57 +14053,31 @@ var Tooltip = function Tooltip(_ref6) {
|
|
|
14560
14053
|
});
|
|
14561
14054
|
};
|
|
14562
14055
|
|
|
14563
|
-
var
|
|
14564
|
-
|
|
14565
|
-
componentId: "sc-12ic40m-0"
|
|
14566
|
-
})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;background:#252530;border:1px solid ", ";padding:16px 24px;border-radius:10px;", "{width:100%;align-items:center;margin-top:24px;}"], function (_ref) {
|
|
14056
|
+
var _templateObject$E, _templateObject2$v, _templateObject3$p, _templateObject4$l, _templateObject5$j, _templateObject6$d, _templateObject7$9, _templateObject8$6, _templateObject9$5;
|
|
14057
|
+
var CSSPowerWrapper = styled.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n background: #252530;\n border: 1px solid ", ";\n padding: 16px 24px;\n border-radius: 10px;\n ", " {\n width: 100%;\n align-items: center;\n margin-top: 24px;\n }\n"])), function (_ref) {
|
|
14567
14058
|
var theme = _ref.theme;
|
|
14568
14059
|
return theme.colors.white3;
|
|
14569
14060
|
}, function (_ref2) {
|
|
14570
14061
|
var theme = _ref2.theme;
|
|
14571
14062
|
return theme.mediaQueries.tablet;
|
|
14572
14063
|
});
|
|
14573
|
-
var PowerWrapper = styled.div
|
|
14574
|
-
|
|
14575
|
-
componentId: "sc-12ic40m-1"
|
|
14576
|
-
})(["display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;margin-left:30px;"]);
|
|
14577
|
-
var CSSPowerText = styled(Text).withConfig({
|
|
14578
|
-
displayName: "CSSPower__CSSPowerText",
|
|
14579
|
-
componentId: "sc-12ic40m-2"
|
|
14580
|
-
})(["display:flex;align-items:center;font-weight:bold;font-size:14px;line-height:140%;color:", ";width:max-content;"], function (_ref3) {
|
|
14064
|
+
var PowerWrapper = styled.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: space-between;\n margin-left: 30px;\n"])));
|
|
14065
|
+
var CSSPowerText = styled(Text)(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n color: ", ";\n width: max-content;\n"])), function (_ref3) {
|
|
14581
14066
|
var theme = _ref3.theme;
|
|
14582
14067
|
return theme.colors.white55;
|
|
14583
14068
|
});
|
|
14584
|
-
var CSSPowerValue = styled(Text)
|
|
14585
|
-
displayName: "CSSPower__CSSPowerValue",
|
|
14586
|
-
componentId: "sc-12ic40m-3"
|
|
14587
|
-
})(["font-weight:bold;font-size:36px;line-height:130%;color:", ";"], function (_ref4) {
|
|
14069
|
+
var CSSPowerValue = styled(Text)(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 36px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref4) {
|
|
14588
14070
|
var theme = _ref4.theme;
|
|
14589
14071
|
return theme.colors.white;
|
|
14590
14072
|
});
|
|
14591
|
-
var StyledInfoIcon = styled(Icon$2E)
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
var PowerDescriptionWrapper = styled.div.withConfig({
|
|
14596
|
-
displayName: "CSSPower__PowerDescriptionWrapper",
|
|
14597
|
-
componentId: "sc-12ic40m-5"
|
|
14598
|
-
})(["display:flex;flex-direction:column;"]);
|
|
14599
|
-
var PowerTitle = styled(Text).withConfig({
|
|
14600
|
-
displayName: "CSSPower__PowerTitle",
|
|
14601
|
-
componentId: "sc-12ic40m-6"
|
|
14602
|
-
})(["font-weight:bold;font-size:14px;line-height:140%;"]);
|
|
14603
|
-
var PowerAmount = styled(Text).withConfig({
|
|
14604
|
-
displayName: "CSSPower__PowerAmount",
|
|
14605
|
-
componentId: "sc-12ic40m-7"
|
|
14606
|
-
})(["font-weight:bold;font-size:14px;line-height:140%;color:", ";margin-left:30px;"], function (_ref5) {
|
|
14073
|
+
var StyledInfoIcon = styled(Icon$2E)(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteral(["\n margin-left: 5px;\n height: 18px;\n cursor: pointer;\n"])));
|
|
14074
|
+
var PowerDescriptionWrapper = styled.div(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
14075
|
+
var PowerTitle = styled(Text)(_templateObject7$9 || (_templateObject7$9 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n"])));
|
|
14076
|
+
var PowerAmount = styled(Text)(_templateObject8$6 || (_templateObject8$6 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n color: ", ";\n margin-left: 30px;\n"])), function (_ref5) {
|
|
14607
14077
|
var theme = _ref5.theme;
|
|
14608
14078
|
return theme.colors.white55;
|
|
14609
14079
|
});
|
|
14610
|
-
var PowerLine = styled.div
|
|
14611
|
-
displayName: "CSSPower__PowerLine",
|
|
14612
|
-
componentId: "sc-12ic40m-8"
|
|
14613
|
-
})(["display:flex;flex:direction:row;justify-content:space-between;margin-bottom:", "px;"], function (_ref6) {
|
|
14080
|
+
var PowerLine = styled.div(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteral(["\n display: flex;\n flex: direction: row;\n justify-content: space-between;\n margin-bottom: ", "px;\n"])), function (_ref6) {
|
|
14614
14081
|
var mb = _ref6.mb;
|
|
14615
14082
|
return mb || 0;
|
|
14616
14083
|
});
|
|
@@ -14663,10 +14130,8 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14663
14130
|
};
|
|
14664
14131
|
|
|
14665
14132
|
var _excluded$4 = ["value", "onUserInput", "placeholder", "type"];
|
|
14666
|
-
var
|
|
14667
|
-
|
|
14668
|
-
componentId: "sc-mu1fop-0"
|
|
14669
|
-
})(["color:", ";width:0;position:relative;font-weight:700;outline:none;border:none;flex:1 1 auto;background-color:transparent;background:transparent;font-size:24px;text-align:", ";white-space:nowrap;line-height:33px;overflow:hidden;text-overflow:ellipsis;padding:0px;-webkit-appearance:textfield;::-webkit-search-decoration{-webkit-appearance:none;}[type=\"number\"]{-moz-appearance:textfield;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;}::placeholder{color:", ";}"], function (_ref) {
|
|
14133
|
+
var _templateObject$D;
|
|
14134
|
+
var StyledInput = styled.input(_templateObject$D || (_templateObject$D = _taggedTemplateLiteral(["\n color: ", ";\n width: 0;\n position: relative;\n font-weight: 700;\n outline: none;\n border: none;\n flex: 1 1 auto;\n background-color: transparent;\n background: transparent;\n font-size: 24px;\n text-align: ", ";\n white-space: nowrap;\n line-height: 33px;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 0px;\n -webkit-appearance: textfield;\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n [type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n ::-webkit-outer-spin-button,\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n\n ::placeholder {\n color: ", ";\n }\n"])), function (_ref) {
|
|
14670
14135
|
var error = _ref.error,
|
|
14671
14136
|
theme = _ref.theme;
|
|
14672
14137
|
return error ? theme.colors.failure : theme.colors.text;
|
|
@@ -14712,10 +14177,8 @@ var NumericalInput = /*#__PURE__*/React__default.memo(function InnerInput(_ref4)
|
|
|
14712
14177
|
}));
|
|
14713
14178
|
});
|
|
14714
14179
|
|
|
14715
|
-
var
|
|
14716
|
-
|
|
14717
|
-
componentId: "sc-wmdxzq-0"
|
|
14718
|
-
})(["display:flex;width:100%;background:", ";border:1px solid ", ";border-radius:10px;padding:16px 24px;align-items:center;justify-content:space-between;", "{flex-direction:column;align-items:flex-start;}"], function (_ref) {
|
|
14180
|
+
var _templateObject$C, _templateObject2$u, _templateObject3$o, _templateObject4$k, _templateObject5$i, _templateObject6$c, _templateObject7$8, _templateObject8$5, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$4, _templateObject12$3;
|
|
14181
|
+
var SpacePadDatesWrapper = styled.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n padding: 16px 24px;\n align-items: center;\n justify-content: space-between;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n }\n"])), function (_ref) {
|
|
14719
14182
|
var theme = _ref.theme;
|
|
14720
14183
|
return theme.backgrounds.secondary;
|
|
14721
14184
|
}, function (_ref2) {
|
|
@@ -14725,10 +14188,7 @@ var SpacePadDatesWrapper = styled.div.withConfig({
|
|
|
14725
14188
|
var theme = _ref3.theme;
|
|
14726
14189
|
return theme.mediaQueries.mobile;
|
|
14727
14190
|
});
|
|
14728
|
-
var ActiveDot = styled.div
|
|
14729
|
-
displayName: "SpacePadDates__ActiveDot",
|
|
14730
|
-
componentId: "sc-wmdxzq-1"
|
|
14731
|
-
})(["height:16px;width:16px;border-radius:50%;background:", ";margin-right:", "px;", ""], function (_ref4) {
|
|
14191
|
+
var ActiveDot = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: ", ";\n margin-right: ", "px;\n ", "\n"])), function (_ref4) {
|
|
14732
14192
|
var color = _ref4.color;
|
|
14733
14193
|
return color;
|
|
14734
14194
|
}, function (_ref5) {
|
|
@@ -14738,81 +14198,45 @@ var ActiveDot = styled.div.withConfig({
|
|
|
14738
14198
|
var fetchingData = _ref6.fetchingData;
|
|
14739
14199
|
return fetchingData && "\n transition: all 0.25s ease-in-out;\n animation: stretch 2s infinite;\n @keyframes stretch {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(0.9);\n }\n 50% {\n transform: scale(1.2);\n }\n 75% {\n transform: scale(0.9);\n }\n 100% {\n transform: scale(1);\n }\n }\n ";
|
|
14740
14200
|
});
|
|
14741
|
-
var TimeWrapper = styled.div
|
|
14742
|
-
displayName: "SpacePadDates__TimeWrapper",
|
|
14743
|
-
componentId: "sc-wmdxzq-2"
|
|
14744
|
-
})(["display:flex;flex-direction:row;align-items:center;", "{flex-direction:column;align-items:flex-start;margin-bottom:21px;}"], function (_ref7) {
|
|
14201
|
+
var TimeWrapper = styled.div(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n margin-bottom: 21px;\n }\n"])), function (_ref7) {
|
|
14745
14202
|
var theme = _ref7.theme;
|
|
14746
14203
|
return theme.mediaQueries.mobile;
|
|
14747
14204
|
});
|
|
14748
|
-
var EndTimeWrapper = styled.div
|
|
14749
|
-
|
|
14750
|
-
|
|
14751
|
-
})(["display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;height:41px;"]);
|
|
14752
|
-
var TimeNumber = styled(Text).withConfig({
|
|
14753
|
-
displayName: "SpacePadDates__TimeNumber",
|
|
14754
|
-
componentId: "sc-wmdxzq-4"
|
|
14755
|
-
})(["font-weight:600;font-size:20px;margin:0px;padding:0px;height:100%;line-height:100%;"]);
|
|
14756
|
-
var PeriodText = styled(Text).withConfig({
|
|
14757
|
-
displayName: "SpacePadDates__PeriodText",
|
|
14758
|
-
componentId: "sc-wmdxzq-5"
|
|
14759
|
-
})(["font-weight:600;font-size:16px;margin-right:0px;padding:0px;color:", ";height:100%;line-height:17px;"], function (_ref8) {
|
|
14205
|
+
var EndTimeWrapper = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n height: 41px;\n"])));
|
|
14206
|
+
var TimeNumber = styled(Text)(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 20px;\n margin: 0px;\n padding: 0px;\n height: 100%;\n line-height: 100%;\n"])));
|
|
14207
|
+
var PeriodText = styled(Text)(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 16px;\n margin-right: 0px;\n padding: 0px;\n color: ", ";\n height: 100%;\n // Temporarly\n line-height: 17px;\n"])), function (_ref8) {
|
|
14760
14208
|
var theme = _ref8.theme;
|
|
14761
14209
|
return theme.colors.primary;
|
|
14762
14210
|
});
|
|
14763
|
-
var DetailedTimeWrapper = styled.div
|
|
14764
|
-
displayName: "SpacePadDates__DetailedTimeWrapper",
|
|
14765
|
-
componentId: "sc-wmdxzq-6"
|
|
14766
|
-
})(["width:150px;display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;color:", ";font-size:20px;font-weight:bold;"], function (_ref9) {
|
|
14211
|
+
var DetailedTimeWrapper = styled.div(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteral(["\n width: 150px;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: space-between;\n color: ", ";\n font-size: 20px;\n font-weight: bold;\n"])), function (_ref9) {
|
|
14767
14212
|
var theme = _ref9.theme;
|
|
14768
14213
|
return theme.colors.white30;
|
|
14769
14214
|
});
|
|
14770
|
-
var TimeValues = styled.div
|
|
14771
|
-
|
|
14772
|
-
componentId: "sc-wmdxzq-7"
|
|
14773
|
-
})(["display:flex;flex-direction:row;align-items:flex-end;width:30px;"]);
|
|
14774
|
-
var DateWrapper = styled.div.withConfig({
|
|
14775
|
-
displayName: "SpacePadDates__DateWrapper",
|
|
14776
|
-
componentId: "sc-wmdxzq-8"
|
|
14777
|
-
})(["display:flex;flex-direction:row;", "{width:100%;justify-content:space-between;}"], function (_ref0) {
|
|
14215
|
+
var TimeValues = styled.div(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n width: 30px;\n"])));
|
|
14216
|
+
var DateWrapper = styled.div(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n ", " {\n width: 100%;\n justify-content: space-between;\n }\n"])), function (_ref0) {
|
|
14778
14217
|
var theme = _ref0.theme;
|
|
14779
14218
|
return theme.mediaQueries.mobile;
|
|
14780
14219
|
});
|
|
14781
|
-
var ActiveStateWrapper = styled.div
|
|
14782
|
-
displayName: "SpacePadDates__ActiveStateWrapper",
|
|
14783
|
-
componentId: "sc-wmdxzq-9"
|
|
14784
|
-
})(["display:flex;flex-direction:row;align-items:center;", "{margin-bottom:17px;}"], function (_ref1) {
|
|
14220
|
+
var ActiveStateWrapper = styled.div(_templateObject0$4 || (_templateObject0$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n margin-bottom: 17px;\n }\n"])), function (_ref1) {
|
|
14785
14221
|
var theme = _ref1.theme;
|
|
14786
14222
|
return theme.mediaQueries.mobile;
|
|
14787
14223
|
});
|
|
14788
|
-
var RoundDescription = styled.div
|
|
14789
|
-
displayName: "SpacePadDates__RoundDescription",
|
|
14790
|
-
componentId: "sc-wmdxzq-10"
|
|
14791
|
-
})(["font-size:15px;color:", ";line-height:20px;margin-top:3px;margin-left:-40px;"], function (_ref10) {
|
|
14224
|
+
var RoundDescription = styled.div(_templateObject1$4 || (_templateObject1$4 = _taggedTemplateLiteral(["\n font-size: 15px;\n color: ", ";\n line-height: 20px;\n margin-top: 3px;\n margin-left: -40px;\n"])), function (_ref10) {
|
|
14792
14225
|
var theme = _ref10.theme;
|
|
14793
14226
|
return theme.colors.white55;
|
|
14794
14227
|
});
|
|
14795
|
-
var AcocuntDataWrapper = styled.div
|
|
14796
|
-
displayName: "SpacePadDates__AcocuntDataWrapper",
|
|
14797
|
-
componentId: "sc-wmdxzq-11"
|
|
14798
|
-
})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;", "{flex-direction:column;align-items:flex-start;button{width:100%;}}"], function (_ref11) {
|
|
14228
|
+
var AcocuntDataWrapper = styled.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n button {\n width: 100%;\n }\n }\n"])), function (_ref11) {
|
|
14799
14229
|
var theme = _ref11.theme;
|
|
14800
14230
|
return theme.mediaQueries.mobile;
|
|
14801
14231
|
});
|
|
14802
|
-
var AccountInfoText$1 = styled(Text)
|
|
14803
|
-
displayName: "SpacePadDates__AccountInfoText",
|
|
14804
|
-
componentId: "sc-wmdxzq-12"
|
|
14805
|
-
})(["font-weight:bold;font-size:18px;line-height:130%;display:flex;align-items:center;margin-right:8px;", "{font-size:16px;}", "{font-size:14px;margin-right:0px;margin-bottom:16px;}"], function (_ref12) {
|
|
14232
|
+
var AccountInfoText$1 = styled(Text)(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 18px;\n line-height: 130%;\n display: flex;\n align-items: center;\n margin-right: 8px;\n ", " {\n font-size: 16px;\n }\n ", " {\n font-size: 14px;\n margin-right: 0px;\n margin-bottom: 16px;\n }\n"])), function (_ref12) {
|
|
14806
14233
|
var theme = _ref12.theme;
|
|
14807
14234
|
return theme.mediaQueries.tablet;
|
|
14808
14235
|
}, function (_ref13) {
|
|
14809
14236
|
var theme = _ref13.theme;
|
|
14810
14237
|
return theme.mediaQueries.mobile;
|
|
14811
14238
|
});
|
|
14812
|
-
var TimerText = styled(Text)
|
|
14813
|
-
displayName: "SpacePadDates__TimerText",
|
|
14814
|
-
componentId: "sc-wmdxzq-13"
|
|
14815
|
-
})(["font-weight:bold;font-size:11px;color:", ";strong{color:", ";}"], baseColors.white55, baseColors.white);
|
|
14239
|
+
var TimerText = styled(Text)(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 11px;\n color: ", ";\n strong {\n color: ", ";\n }\n"])), baseColors.white55, baseColors.white);
|
|
14816
14240
|
var SpacePadDates = function SpacePadDates(_ref14) {
|
|
14817
14241
|
var _ref14$days = _ref14.days,
|
|
14818
14242
|
days = _ref14$days === void 0 ? "3" : _ref14$days,
|
|
@@ -14952,21 +14376,13 @@ var SpacePadDates = function SpacePadDates(_ref14) {
|
|
|
14952
14376
|
});
|
|
14953
14377
|
};
|
|
14954
14378
|
|
|
14955
|
-
var
|
|
14956
|
-
|
|
14957
|
-
|
|
14958
|
-
})(["display:flex;flex-direction:column;height:max-content;width:100%;padding:32px;background:#191921;border-radius:16px;"]);
|
|
14959
|
-
var LogicComponentsWrapper = styled.div.withConfig({
|
|
14960
|
-
displayName: "AddToCap__LogicComponentsWrapper",
|
|
14961
|
-
componentId: "sc-1vjnrpf-1"
|
|
14962
|
-
})(["display:flex;flex-direction:column;align-items:center;justify-content:center;", "{flex-direction:column;}"], function (_ref) {
|
|
14379
|
+
var _templateObject$B, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$h, _templateObject6$b, _templateObject7$7, _templateObject8$4, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3, _templateObject11$3, _templateObject12$2, _templateObject13$1;
|
|
14380
|
+
var AddToCapWrapper = styled.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n width: 100%;\n padding: 32px;\n background: #191921;\n border-radius: 16px;\n"])));
|
|
14381
|
+
var LogicComponentsWrapper = styled.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n ", " {\n flex-direction: column;\n }\n"])), function (_ref) {
|
|
14963
14382
|
var theme = _ref.theme;
|
|
14964
14383
|
return theme.mediaQueries.mobile;
|
|
14965
14384
|
});
|
|
14966
|
-
var CapInput = styled(NumericalInput)
|
|
14967
|
-
displayName: "AddToCap__CapInput",
|
|
14968
|
-
componentId: "sc-1vjnrpf-2"
|
|
14969
|
-
})(["height:50px;font-size:16px;padding:11px 0px 11px 24px;border:1px solid ", ";background:", ";border-radius:10px;margin-bottom:20px;::placeholder{color:", ";font-weight:500;}"], function (_ref2) {
|
|
14385
|
+
var CapInput = styled(NumericalInput)(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteral(["\n height: 50px;\n font-size: 16px;\n padding: 11px 0px 11px 24px;\n border: 1px solid ", ";\n background: ", ";\n border-radius: 10px;\n margin-bottom: 20px;\n ::placeholder {\n color: ", ";\n font-weight: 500;\n }\n"])), function (_ref2) {
|
|
14970
14386
|
var theme = _ref2.theme;
|
|
14971
14387
|
return theme.colors.white10;
|
|
14972
14388
|
}, function (_ref3) {
|
|
@@ -14976,52 +14392,31 @@ var CapInput = styled(NumericalInput).withConfig({
|
|
|
14976
14392
|
var theme = _ref4.theme;
|
|
14977
14393
|
return theme.colors.white55;
|
|
14978
14394
|
});
|
|
14979
|
-
var EligibleWrapper = styled.div.
|
|
14980
|
-
|
|
14981
|
-
componentId: "sc-1vjnrpf-3"
|
|
14982
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:center;width:max-content;height:50px;width:100%;padding:15.5px;background:#272730;box-sizing:border-box;border-radius:10px;margin-bottom:26px;"]);
|
|
14983
|
-
var IdoActionButton = styled(Button$1).withConfig({
|
|
14984
|
-
displayName: "AddToCap__IdoActionButton",
|
|
14985
|
-
componentId: "sc-1vjnrpf-4"
|
|
14986
|
-
})(["color:", " !important;height:50px;width:100%;&:disabled,&.button--disabled{background:#12ffb8;opacity:0.2;color:#3d3d41 !important;}", "{margin-top:16px;width:100%;}"], function (_ref5) {
|
|
14395
|
+
var EligibleWrapper = styled.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: max-content;\n height: 50px;\n width: 100%;\n padding: 15.5px;\n //Used only once in this component, not declared on theme\n background: #272730;\n box-sizing: border-box;\n border-radius: 10px;\n margin-bottom: 26px;\n"])));
|
|
14396
|
+
var IdoActionButton = styled(Button$1)(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteral(["\n color: ", " !important;\n height: 50px;\n width: 100%;\n &:disabled,\n &.button--disabled {\n background: #12ffb8;\n opacity: 0.2;\n color: #3d3d41 !important;\n }\n ", " {\n margin-top: 16px;\n width: 100%;\n }\n"])), function (_ref5) {
|
|
14987
14397
|
var theme = _ref5.theme;
|
|
14988
14398
|
return theme.colors.dark;
|
|
14989
14399
|
}, function (_ref6) {
|
|
14990
14400
|
var theme = _ref6.theme;
|
|
14991
14401
|
return theme.mediaQueries.mobile;
|
|
14992
14402
|
});
|
|
14993
|
-
var MainFunctionsWrapper = styled.div
|
|
14994
|
-
displayName: "AddToCap__MainFunctionsWrapper",
|
|
14995
|
-
componentId: "sc-1vjnrpf-5"
|
|
14996
|
-
})(["position:relative;width:100%;height:50px;display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:10px;", "{margin-bottom:10px;}"], function (_ref7) {
|
|
14403
|
+
var MainFunctionsWrapper = styled.div(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 50px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n ", " {\n margin-bottom: 10px;\n }\n"])), function (_ref7) {
|
|
14997
14404
|
var theme = _ref7.theme;
|
|
14998
14405
|
return theme.mediaQueries.mobile;
|
|
14999
14406
|
});
|
|
15000
|
-
var SignedRow = styled.div
|
|
15001
|
-
displayName: "AddToCap__SignedRow",
|
|
15002
|
-
componentId: "sc-1vjnrpf-6"
|
|
15003
|
-
})(["display:flex;flex-direction:row;width:max-content;justify-content:center;", "{margin-top:16px;width:100%;}"], function (_ref8) {
|
|
14407
|
+
var SignedRow = styled.div(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n width: max-content;\n justify-content: center;\n ", " {\n margin-top: 16px;\n width: 100%;\n }\n"])), function (_ref8) {
|
|
15004
14408
|
var theme = _ref8.theme;
|
|
15005
14409
|
return theme.mediaQueries.mobile;
|
|
15006
14410
|
});
|
|
15007
|
-
var ErrorComponent = styled(Text)
|
|
15008
|
-
displayName: "AddToCap__ErrorComponent",
|
|
15009
|
-
componentId: "sc-1vjnrpf-7"
|
|
15010
|
-
})(["font-weight:600;position:absolute;top:41px;left:10px;color:", ";font-size:12px;"], function (_ref9) {
|
|
14411
|
+
var ErrorComponent = styled(Text)(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteral(["\n font-weight: 600;\n position: absolute;\n top: 41px;\n left: 10px;\n color: ", ";\n font-size: 12px;\n"])), function (_ref9) {
|
|
15011
14412
|
var theme = _ref9.theme;
|
|
15012
14413
|
return theme.colors.error;
|
|
15013
14414
|
});
|
|
15014
|
-
var CoinWrapper = styled.div.
|
|
15015
|
-
displayName: "AddToCap__CoinWrapper",
|
|
15016
|
-
componentId: "sc-1vjnrpf-8"
|
|
15017
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:97px;height:50px;margin-left:16px;padding:15.5px;border:1px solid #373749;background:#1f1f29;box-sizing:border-box;border-radius:10px;", "{margin-right:0px;}"], function (_ref0) {
|
|
14415
|
+
var CoinWrapper = styled.div(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 97px;\n height: 50px;\n margin-left: 16px;\n padding: 15.5px;\n border: 1px solid #373749;\n //Used only once in this component, not declared on theme\n background: #1f1f29;\n box-sizing: border-box;\n border-radius: 10px;\n ", " {\n margin-right: 0px;\n }\n"])), function (_ref0) {
|
|
15018
14416
|
var theme = _ref0.theme;
|
|
15019
14417
|
return theme.mediaQueries.mobile;
|
|
15020
14418
|
});
|
|
15021
|
-
var AddCapButton = styled(Button$1)
|
|
15022
|
-
displayName: "AddToCap__AddCapButton",
|
|
15023
|
-
componentId: "sc-1vjnrpf-9"
|
|
15024
|
-
})(["color:", ";height:50px;width:100%;&:disabled,&.button--disabled{background:", ";color:", ";}"], function (_ref1) {
|
|
14419
|
+
var AddCapButton = styled(Button$1)(_templateObject0$3 || (_templateObject0$3 = _taggedTemplateLiteral(["\n color: ", ";\n height: 50px;\n width: 100%;\n &:disabled,\n &.button--disabled {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref1) {
|
|
15025
14420
|
var theme = _ref1.theme;
|
|
15026
14421
|
return theme.colors.dark;
|
|
15027
14422
|
}, function (_ref10) {
|
|
@@ -15031,32 +14426,17 @@ var AddCapButton = styled(Button$1).withConfig({
|
|
|
15031
14426
|
var theme = _ref11.theme;
|
|
15032
14427
|
return theme.colors.white55;
|
|
15033
14428
|
});
|
|
15034
|
-
var AccountInfoText = styled(Text)
|
|
15035
|
-
displayName: "AddToCap__AccountInfoText",
|
|
15036
|
-
componentId: "sc-1vjnrpf-10"
|
|
15037
|
-
})(["font-weight:bold;font-size:18px;line-height:130%;display:flex;align-items:center;margin-bottom:26px;text-align:center;", "{font-size:16px;}", "{font-size:14px;}", ""], function (_ref12) {
|
|
14429
|
+
var AccountInfoText = styled(Text)(_templateObject1$3 || (_templateObject1$3 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 18px;\n line-height: 130%;\n display: flex;\n align-items: center;\n margin-bottom: 26px;\n text-align: center;\n ", " {\n font-size: 16px;\n }\n ", " {\n font-size: 14px;\n }\n ", "\n"])), function (_ref12) {
|
|
15038
14430
|
var theme = _ref12.theme;
|
|
15039
14431
|
return theme.mediaQueries.tablet;
|
|
15040
14432
|
}, function (_ref13) {
|
|
15041
14433
|
var theme = _ref13.theme;
|
|
15042
14434
|
return theme.mediaQueries.mobile;
|
|
15043
14435
|
}, space);
|
|
15044
|
-
var PersonalValuesWrapper = styled.div
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
var PersonalValueRow = styled.div.withConfig({
|
|
15049
|
-
displayName: "AddToCap__PersonalValueRow",
|
|
15050
|
-
componentId: "sc-1vjnrpf-12"
|
|
15051
|
-
})(["display:flex;justify-content:space-between;"]);
|
|
15052
|
-
var PersonalValueTitle = styled(Text).withConfig({
|
|
15053
|
-
displayName: "AddToCap__PersonalValueTitle",
|
|
15054
|
-
componentId: "sc-1vjnrpf-13"
|
|
15055
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;text-align:center;color:#818c92;"]);
|
|
15056
|
-
var Row = styled(Box).withConfig({
|
|
15057
|
-
displayName: "AddToCap__Row",
|
|
15058
|
-
componentId: "sc-1vjnrpf-14"
|
|
15059
|
-
})(["width:100%;display:flex;padding:0;align-items:", ";padding:", ";border:", ";border-radius:", ";"], function (_ref14) {
|
|
14436
|
+
var PersonalValuesWrapper = styled.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n width: 100%;\n padding: 14px 16px;\n border: 1px solid #383847;\n border-radius: 8px;\n margin-bottom: 30px;\n"])));
|
|
14437
|
+
var PersonalValueRow = styled.div(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
14438
|
+
var PersonalValueTitle = styled(Text)(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n text-align: center;\n color: #818c92;\n"])));
|
|
14439
|
+
var Row = styled(Box)(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n padding: 0;\n align-items: ", ";\n padding: ", ";\n border: ", ";\n border-radius: ", ";\n"])), function (_ref14) {
|
|
15060
14440
|
var align = _ref14.align;
|
|
15061
14441
|
return align || "center";
|
|
15062
14442
|
}, function (_ref15) {
|
|
@@ -15390,32 +14770,18 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
15390
14770
|
return withoutActions ? /*#__PURE__*/jsx(Fragment, {}) : contentWrapper;
|
|
15391
14771
|
};
|
|
15392
14772
|
|
|
15393
|
-
var
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
})(["font-family:Manrope;font-size:12px;line-height:170%;color:rgba(255,255,255,0.55);align-self:flex-start;font-weight:normal;"]);
|
|
15397
|
-
var CounterWrapper = styled.div.withConfig({
|
|
15398
|
-
displayName: "CapCounter__CounterWrapper",
|
|
15399
|
-
componentId: "sc-h5yjzn-1"
|
|
15400
|
-
})(["position:relative;width:100%;height:81px;background:", ";border:1px solid rgba(255,255,255,0.03);display:flex;border-radius:10px;padding:15px 0px 21px 20px;"], function (_ref) {
|
|
14773
|
+
var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$g;
|
|
14774
|
+
var Description = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteral(["\n font-family: Manrope;\n font-size: 12px;\n line-height: 170%;\n color: rgba(255, 255, 255, 0.55);\n align-self: flex-start;\n font-weight: normal;\n"])));
|
|
14775
|
+
var CounterWrapper = styled.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 81px;\n background: ", ";\n border: 1px solid rgba(255, 255, 255, 0.03);\n display: flex;\n border-radius: 10px;\n padding: 15px 0px 21px 20px;\n"])), function (_ref) {
|
|
15401
14776
|
var theme = _ref.theme;
|
|
15402
14777
|
return theme.backgrounds.secondary;
|
|
15403
14778
|
});
|
|
15404
|
-
var CapDescriptionWrapper = styled.div
|
|
15405
|
-
displayName: "CapCounter__CapDescriptionWrapper",
|
|
15406
|
-
componentId: "sc-h5yjzn-2"
|
|
15407
|
-
})(["color:", ";display:flex;flex-direction:column;justify-content:space-around;font-weight:bold;"], function (_ref2) {
|
|
14779
|
+
var CapDescriptionWrapper = styled.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteral(["\n color: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n font-weight: bold;\n"])), function (_ref2) {
|
|
15408
14780
|
var theme = _ref2.theme;
|
|
15409
14781
|
return theme.colors.white;
|
|
15410
14782
|
});
|
|
15411
|
-
var SoftCapWrapper = styled(CapDescriptionWrapper)
|
|
15412
|
-
|
|
15413
|
-
componentId: "sc-h5yjzn-3"
|
|
15414
|
-
})(["border-right:2px solid #252530;margin-left:10px;padding-right:17px;"]);
|
|
15415
|
-
var HardCapWrapper = styled(CapDescriptionWrapper).withConfig({
|
|
15416
|
-
displayName: "CapCounter__HardCapWrapper",
|
|
15417
|
-
componentId: "sc-h5yjzn-4"
|
|
15418
|
-
})(["align-items:center;margin-left:32px;"]);
|
|
14783
|
+
var SoftCapWrapper = styled(CapDescriptionWrapper)(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteral(["\n border-right: 2px solid #252530;\n margin-left: 10px;\n padding-right: 17px;\n"])));
|
|
14784
|
+
var HardCapWrapper = styled(CapDescriptionWrapper)(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteral(["\n align-items: center;\n margin-left: 32px;\n"])));
|
|
15419
14785
|
var CapCounter = function CapCounter(_ref3) {
|
|
15420
14786
|
var _ref3$softCap = _ref3.softCap,
|
|
15421
14787
|
softCap = _ref3$softCap === void 0 ? 332.52 : _ref3$softCap,
|
|
@@ -15469,32 +14835,18 @@ var SpacePadSchedule = function SpacePadSchedule(_ref) {
|
|
|
15469
14835
|
});
|
|
15470
14836
|
};
|
|
15471
14837
|
|
|
15472
|
-
var
|
|
15473
|
-
|
|
15474
|
-
componentId: "sc-1bkh9t5-0"
|
|
15475
|
-
})(["position:relative;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.1);width:", ";height:34px;border-radius:10px;font-weight:bold;font-size:14px;padding:2px;z-index:99;"], function (_ref) {
|
|
14838
|
+
var _templateObject$z, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$f;
|
|
14839
|
+
var MainWrapper = styled.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.1);\n width: ", ";\n height: 34px;\n border-radius: 10px;\n font-weight: bold;\n font-size: 14px;\n padding: 2px;\n z-index: 99;\n"])), function (_ref) {
|
|
15476
14840
|
var width = _ref.width;
|
|
15477
14841
|
return width ? "".concat(width, "px") : "100%";
|
|
15478
14842
|
});
|
|
15479
|
-
var SecondWrapper = styled.div
|
|
15480
|
-
|
|
15481
|
-
componentId: "sc-1bkh9t5-1"
|
|
15482
|
-
})(["position:relative;display:flex;border-radius:8px;z-index:101;width:100%;"]);
|
|
15483
|
-
var ToggleButton = styled.div.withConfig({
|
|
15484
|
-
displayName: "Switch__ToggleButton",
|
|
15485
|
-
componentId: "sc-1bkh9t5-2"
|
|
15486
|
-
})(["position:absolute;display:flex;height:100%;width:50%;background:rgba(255,255,255,0.85);border-radius:8px;transform:translateX(", ");transition:0.4s ease-out;z-index:100;"], function (_ref2) {
|
|
14843
|
+
var SecondWrapper = styled.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n border-radius: 8px;\n z-index: 101;\n width: 100%;\n"])));
|
|
14844
|
+
var ToggleButton = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n height: 100%;\n width: 50%;\n background: rgba(255, 255, 255, 0.85);\n border-radius: 8px;\n transform: translateX(", ");\n transition: 0.4s ease-out;\n z-index: 100;\n"])), function (_ref2) {
|
|
15487
14845
|
var isSwitched = _ref2.isSwitched;
|
|
15488
14846
|
return isSwitched ? "100%" : "0%";
|
|
15489
14847
|
});
|
|
15490
|
-
var RowWrapper = styled.div
|
|
15491
|
-
|
|
15492
|
-
componentId: "sc-1bkh9t5-3"
|
|
15493
|
-
})(["display:flex;flex-direction:row;width:100%;height:100%;"]);
|
|
15494
|
-
var SubscriptionWrapper = styled.div.withConfig({
|
|
15495
|
-
displayName: "Switch__SubscriptionWrapper",
|
|
15496
|
-
componentId: "sc-1bkh9t5-4"
|
|
15497
|
-
})(["display:flex;align-items:center;justify-content:center;height:30px;width:50%;border-radius:8px;cursor:pointer;z-index:101;color:", ";transition:0.4s ease-out;"], function (_ref3) {
|
|
14848
|
+
var RowWrapper = styled.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 100%;\n"])));
|
|
14849
|
+
var SubscriptionWrapper = styled.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 30px;\n width: 50%;\n border-radius: 8px;\n cursor: pointer;\n z-index: 101;\n color: ", ";\n transition: 0.4s ease-out;\n"])), function (_ref3) {
|
|
15498
14850
|
var isActive = _ref3.isActive;
|
|
15499
14851
|
return isActive ? "black" : "rgba(255, 255, 255, 0.25)";
|
|
15500
14852
|
});
|
|
@@ -15540,24 +14892,16 @@ var Switch = function Switch(_ref4) {
|
|
|
15540
14892
|
});
|
|
15541
14893
|
};
|
|
15542
14894
|
|
|
15543
|
-
var
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
})(["position:absolute;font-weight:normal;font-size:10px;line-height:170%;color:#12ffb8;top:-20px;left:10px;"]);
|
|
15547
|
-
var SpacePadProjectWrapper = styled.div.withConfig({
|
|
15548
|
-
displayName: "SpacePadProject__SpacePadProjectWrapper",
|
|
15549
|
-
componentId: "sc-8tid8r-1"
|
|
15550
|
-
})(["position:relative;width:406px;height:max-content;", "{min-width:max-content;}", "{width:100%;}"], function (_ref) {
|
|
14895
|
+
var _templateObject$y, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$e, _templateObject6$a, _templateObject7$6, _templateObject8$3, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1;
|
|
14896
|
+
var SponsoredText = styled(Text)(_templateObject$y || (_templateObject$y = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: normal;\n font-size: 10px;\n line-height: 170%;\n color: #12ffb8;\n top: -20px;\n left: 10px;\n"])));
|
|
14897
|
+
var SpacePadProjectWrapper = styled.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral(["\n position: relative;\n width: 406px;\n height: max-content;\n ", " {\n min-width: max-content;\n }\n ", " {\n width: 100%;\n }\n"])), function (_ref) {
|
|
15551
14898
|
var theme = _ref.theme;
|
|
15552
14899
|
return theme.mediaQueries.desktop;
|
|
15553
14900
|
}, function (_ref2) {
|
|
15554
14901
|
var theme = _ref2.theme;
|
|
15555
14902
|
return theme.mediaQueries.mobile;
|
|
15556
14903
|
});
|
|
15557
|
-
var SpacePadProjectCard = styled.div
|
|
15558
|
-
displayName: "SpacePadProject__SpacePadProjectCard",
|
|
15559
|
-
componentId: "sc-8tid8r-2"
|
|
15560
|
-
})(["background:", ";border:1px solid ", ";box-sizing:border-box;border-radius:15px;max-width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;cursor:pointer;padding-bottom:24px;"], function (_ref3) {
|
|
14904
|
+
var SpacePadProjectCard = styled.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteral(["\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n border-radius: 15px;\n max-width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n overflow: hidden;\n cursor: pointer;\n padding-bottom: 24px;\n"])), function (_ref3) {
|
|
15561
14905
|
var theme = _ref3.theme;
|
|
15562
14906
|
return theme.backgrounds.primary;
|
|
15563
14907
|
}, function (_ref4) {
|
|
@@ -15565,62 +14909,29 @@ var SpacePadProjectCard = styled.div.withConfig({
|
|
|
15565
14909
|
highlighted = _ref4.highlighted;
|
|
15566
14910
|
return highlighted ? "#12FFB8" : theme.colors.white3;
|
|
15567
14911
|
});
|
|
15568
|
-
var ProjectPoster = styled.div
|
|
15569
|
-
displayName: "SpacePadProject__ProjectPoster",
|
|
15570
|
-
componentId: "sc-8tid8r-3"
|
|
15571
|
-
})(["min-height:175px;width:100%;position:relative;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;"], function (_ref5) {
|
|
14912
|
+
var ProjectPoster = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteral(["\n min-height: 175px;\n width: 100%;\n position: relative;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n"])), function (_ref5) {
|
|
15572
14913
|
var background = _ref5.background;
|
|
15573
14914
|
return background;
|
|
15574
14915
|
});
|
|
15575
|
-
var ProjectLogo = styled.div
|
|
15576
|
-
displayName: "SpacePadProject__ProjectLogo",
|
|
15577
|
-
componentId: "sc-8tid8r-4"
|
|
15578
|
-
})(["position:absolute;display:flex;justify-content:center;align-items:center;width:80px;height:80px;border-radius:50%;top:138px;left:20px;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;border:3px solid #373749;overflow:hidden;"], function (_ref6) {
|
|
14916
|
+
var ProjectLogo = styled.div(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n border-radius: 50%;\n top: 138px;\n left: 20px;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n border: 3px solid #373749;\n overflow: hidden;\n"])), function (_ref6) {
|
|
15579
14917
|
var background = _ref6.background;
|
|
15580
14918
|
return background;
|
|
15581
14919
|
});
|
|
15582
|
-
var RoundWrapper = styled.div
|
|
15583
|
-
|
|
15584
|
-
componentId: "sc-8tid8r-5"
|
|
15585
|
-
})(["position:absolute;top:154px;right:16px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 16px;background:#272730;box-sizing:border-box;border-radius:10px;width:max-content;height:40px;"]);
|
|
15586
|
-
var RoundNumber = styled.div.withConfig({
|
|
15587
|
-
displayName: "SpacePadProject__RoundNumber",
|
|
15588
|
-
componentId: "sc-8tid8r-6"
|
|
15589
|
-
})(["display:flex;align-items:flex-end;justify-content:space-around;color:", ";"], function (_ref7) {
|
|
14920
|
+
var RoundWrapper = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteral(["\n position: absolute;\n top: 154px;\n right: 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 10px 12px 10px 16px;\n background: #272730;\n box-sizing: border-box;\n border-radius: 10px;\n width: max-content;\n height: 40px;\n"])));
|
|
14921
|
+
var RoundNumber = styled.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n justify-content: space-around;\n color: ", ";\n"])), function (_ref7) {
|
|
15590
14922
|
var theme = _ref7.theme;
|
|
15591
14923
|
return theme.colors.white55;
|
|
15592
14924
|
});
|
|
15593
|
-
var ProjectDetailsWrapper = styled.div
|
|
15594
|
-
|
|
15595
|
-
componentId: "sc-8tid8r-7"
|
|
15596
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;height:100%;padding:20px;padding-top:58px;"]);
|
|
15597
|
-
var IDOButton = styled(Button$1).withConfig({
|
|
15598
|
-
displayName: "SpacePadProject__IDOButton",
|
|
15599
|
-
componentId: "sc-8tid8r-8"
|
|
15600
|
-
})(["width:max-content;color:", ";padding:8px 40px;"], function (_ref8) {
|
|
14925
|
+
var ProjectDetailsWrapper = styled.div(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n height: 100%;\n padding: 20px;\n padding-top: 58px;\n"])));
|
|
14926
|
+
var IDOButton = styled(Button$1)(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral(["\n width: max-content;\n color: ", ";\n padding: 8px 40px;\n"])), function (_ref8) {
|
|
15601
14927
|
var theme = _ref8.theme;
|
|
15602
14928
|
return theme.colors.white;
|
|
15603
14929
|
});
|
|
15604
|
-
var SwitcherRow = styled.div
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
var
|
|
15609
|
-
displayName: "SpacePadProject__DetailsColumn",
|
|
15610
|
-
componentId: "sc-8tid8r-10"
|
|
15611
|
-
})(["display:flex;flex-direction:column;justify-content:space-between;padding:16px 0px;width:100%;height:108px !important;border-top:1px solid #272730;border-bottom:1px solid #272730;margin:16px 0px;"]);
|
|
15612
|
-
var CommingSoonWrapper = styled.div.withConfig({
|
|
15613
|
-
displayName: "SpacePadProject__CommingSoonWrapper",
|
|
15614
|
-
componentId: "sc-8tid8r-11"
|
|
15615
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding:38px 0px;height:max-content;width:100%;margin-bottom:30px;"]);
|
|
15616
|
-
var CommingSoonTitle = styled(Text).withConfig({
|
|
15617
|
-
displayName: "SpacePadProject__CommingSoonTitle",
|
|
15618
|
-
componentId: "sc-8tid8r-12"
|
|
15619
|
-
})(["font-weight:bold;font-size:26px;line-height:130%;color:#7763f6;text-align:center;margin-top:24px;"]);
|
|
15620
|
-
var MockedProgressComponent = styled.div.withConfig({
|
|
15621
|
-
displayName: "SpacePadProject__MockedProgressComponent",
|
|
15622
|
-
componentId: "sc-8tid8r-13"
|
|
15623
|
-
})(["width:100%;height:75px;"]);
|
|
14930
|
+
var SwitcherRow = styled.div(_templateObject0$2 || (_templateObject0$2 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n flex-direction: row;\n justify-content: flex-end;\n margin-bottom: 16px;\n z-index: 99999;\n"])));
|
|
14931
|
+
var DetailsColumn = styled.div(_templateObject1$2 || (_templateObject1$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 16px 0px;\n width: 100%;\n height: 108px !important;\n border-top: 1px solid #272730;\n border-bottom: 1px solid #272730;\n margin: 16px 0px;\n"])));
|
|
14932
|
+
var CommingSoonWrapper = styled.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 38px 0px;\n height: max-content;\n width: 100%;\n margin-bottom: 30px;\n"])));
|
|
14933
|
+
var CommingSoonTitle = styled(Text)(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 26px;\n line-height: 130%;\n color: #7763f6;\n text-align: center;\n margin-top: 24px;\n"])));
|
|
14934
|
+
var MockedProgressComponent = styled.div(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteral(["\n width: 100%;\n height: 75px;\n"])));
|
|
15624
14935
|
var SpacePadProject = function SpacePadProject(props) {
|
|
15625
14936
|
var spacePadData = props.spacePadData,
|
|
15626
14937
|
spaceRound = props.spaceRound,
|
|
@@ -15836,10 +15147,8 @@ var SpacePadProject = function SpacePadProject(props) {
|
|
|
15836
15147
|
});
|
|
15837
15148
|
};
|
|
15838
15149
|
|
|
15839
|
-
var
|
|
15840
|
-
|
|
15841
|
-
componentId: "sc-1p04ez8-0"
|
|
15842
|
-
})(["position:relative;background:", ";border:1px solid ", ";border-radius:10px;padding:42px 30px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;", "{flex-direction:column;padding:30px 20px;}"], function (_ref) {
|
|
15150
|
+
var _templateObject$x, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$d, _templateObject6$9, _templateObject7$5, _templateObject8$2, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13;
|
|
15151
|
+
var AccountInfoWrapper = styled.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteral(["\n position: relative;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n padding: 42px 30px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n ", " {\n flex-direction: column;\n padding: 30px 20px;\n }\n"])), function (_ref) {
|
|
15843
15152
|
var theme = _ref.theme;
|
|
15844
15153
|
return theme.colors.card;
|
|
15845
15154
|
}, function (_ref2) {
|
|
@@ -15849,20 +15158,14 @@ var AccountInfoWrapper = styled.div.withConfig({
|
|
|
15849
15158
|
var theme = _ref3.theme;
|
|
15850
15159
|
return theme.mediaQueries.tablet;
|
|
15851
15160
|
});
|
|
15852
|
-
var StyledAccountInfo = styled.div
|
|
15853
|
-
displayName: "AccountInfo__StyledAccountInfo",
|
|
15854
|
-
componentId: "sc-1p04ez8-1"
|
|
15855
|
-
})(["display:flex;flex-direction:column;align-items:space-between;justify-content:flex-start;margin-left:28px;", "{margin-bottom:", ";margin-left:0px;}"], function (_ref4) {
|
|
15161
|
+
var StyledAccountInfo = styled.div(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: space-between;\n justify-content: flex-start;\n margin-left: 28px;\n ", " {\n margin-bottom: ", ";\n margin-left: 0px;\n }\n"])), function (_ref4) {
|
|
15856
15162
|
var theme = _ref4.theme;
|
|
15857
15163
|
return theme.mediaQueries.mobile;
|
|
15858
15164
|
}, function (_ref5) {
|
|
15859
15165
|
var connectionInProgress = _ref5.connectionInProgress;
|
|
15860
15166
|
return connectionInProgress ? "0px" : "24px";
|
|
15861
15167
|
});
|
|
15862
|
-
var UserComponent = styled.p
|
|
15863
|
-
displayName: "AccountInfo__UserComponent",
|
|
15864
|
-
componentId: "sc-1p04ez8-2"
|
|
15865
|
-
})(["display:flex;flex-direction:row;align-items:center;", "{width:100%;margin-bottom:", ";}", "{width:100%;justify-content:", ";}"], function (_ref6) {
|
|
15168
|
+
var UserComponent = styled.p(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n width: 100%;\n margin-bottom: ", ";\n }\n ", " {\n width: 100%;\n justify-content: ", ";\n }\n"])), function (_ref6) {
|
|
15866
15169
|
var theme = _ref6.theme;
|
|
15867
15170
|
return theme.mediaQueries.tablet;
|
|
15868
15171
|
}, function (_ref7) {
|
|
@@ -15885,10 +15188,7 @@ var UserComponent = styled.p.withConfig({
|
|
|
15885
15188
|
// border-radius: 23px;
|
|
15886
15189
|
// background: #2b2b38;
|
|
15887
15190
|
// `;
|
|
15888
|
-
var AccountComponent = styled.div
|
|
15889
|
-
displayName: "AccountInfo__AccountComponent",
|
|
15890
|
-
componentId: "sc-1p04ez8-3"
|
|
15891
|
-
})(["display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;border:1px solid ", ";border-radius:10px;background:", ";padding:16px 24px;margin-left:31px;", "{width:100%;align-items:center;margin-left:0px;}"], function (_ref0) {
|
|
15191
|
+
var AccountComponent = styled.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: space-between;\n border: 1px solid ", ";\n border-radius: 10px;\n background: ", ";\n padding: 16px 24px;\n margin-left: 31px;\n ", " {\n width: 100%;\n align-items: center;\n margin-left: 0px;\n }\n"])), function (_ref0) {
|
|
15892
15192
|
var theme = _ref0.theme;
|
|
15893
15193
|
return theme.colors.white3;
|
|
15894
15194
|
}, function (_ref1) {
|
|
@@ -15898,38 +15198,23 @@ var AccountComponent = styled.div.withConfig({
|
|
|
15898
15198
|
var theme = _ref10.theme;
|
|
15899
15199
|
return theme.mediaQueries.tablet;
|
|
15900
15200
|
});
|
|
15901
|
-
var BalanceText = styled(Text)
|
|
15902
|
-
displayName: "AccountInfo__BalanceText",
|
|
15903
|
-
componentId: "sc-1p04ez8-4"
|
|
15904
|
-
})(["margin-left:50px;", "{margin-left:0px;}"], function (_ref11) {
|
|
15201
|
+
var BalanceText = styled(Text)(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteral(["\n margin-left: 50px;\n ", " {\n margin-left: 0px;\n }\n"])), function (_ref11) {
|
|
15905
15202
|
var theme = _ref11.theme;
|
|
15906
15203
|
return theme.mediaQueries.tablet;
|
|
15907
15204
|
});
|
|
15908
|
-
var AccountTitle = styled(Text)
|
|
15909
|
-
displayName: "AccountInfo__AccountTitle",
|
|
15910
|
-
componentId: "sc-1p04ez8-5"
|
|
15911
|
-
})(["", "{display:none;}"], function (_ref12) {
|
|
15205
|
+
var AccountTitle = styled(Text)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteral(["\n ", " {\n display: none;\n }\n"])), function (_ref12) {
|
|
15912
15206
|
var theme = _ref12.theme;
|
|
15913
15207
|
return theme.mediaQueries.mobile;
|
|
15914
15208
|
});
|
|
15915
|
-
var StyledUserAvatar = styled(Icon$20)
|
|
15916
|
-
displayName: "AccountInfo__StyledUserAvatar",
|
|
15917
|
-
componentId: "sc-1p04ez8-6"
|
|
15918
|
-
})(["width:44px;height:44px;z-index:99999;", "{display:none;}"], function (_ref13) {
|
|
15209
|
+
var StyledUserAvatar = styled(Icon$20)(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteral(["\n width: 44px;\n height: 44px;\n z-index: 99999;\n ", " {\n display: none;\n }\n"])), function (_ref13) {
|
|
15919
15210
|
var theme = _ref13.theme;
|
|
15920
15211
|
return theme.mediaQueries.mobile;
|
|
15921
15212
|
});
|
|
15922
|
-
var StyledMobileUserAvatar = styled(Icon$1$)
|
|
15923
|
-
displayName: "AccountInfo__StyledMobileUserAvatar",
|
|
15924
|
-
componentId: "sc-1p04ez8-7"
|
|
15925
|
-
})(["width:44px;height:44px;display:none;", "{display:block;}"], function (_ref14) {
|
|
15213
|
+
var StyledMobileUserAvatar = styled(Icon$1$)(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral(["\n width: 44px;\n height: 44px;\n display: none;\n ", " {\n display: block;\n }\n"])), function (_ref14) {
|
|
15926
15214
|
var theme = _ref14.theme;
|
|
15927
15215
|
return theme.mediaQueries.mobile;
|
|
15928
15216
|
});
|
|
15929
|
-
var UserUpdateComponent = styled.div
|
|
15930
|
-
displayName: "AccountInfo__UserUpdateComponent",
|
|
15931
|
-
componentId: "sc-1p04ez8-8"
|
|
15932
|
-
})(["right:0px;top:-54px;position:absolute;display:", ";flex-direction:row;align-items:center;", "{display:", ";position:relative;top:0px;flex-direction:column;justify-content:space-between;align-items:flex-end;}"], function (_ref15) {
|
|
15217
|
+
var UserUpdateComponent = styled.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral(["\n right: 0px;\n top: -54px;\n position: absolute;\n display: ", ";\n flex-direction: row;\n align-items: center;\n ", " {\n display: ", ";\n position: relative;\n top: 0px;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-end;\n }\n"])), function (_ref15) {
|
|
15933
15218
|
var mobile = _ref15.mobile;
|
|
15934
15219
|
return mobile ? "none" : "flex";
|
|
15935
15220
|
}, function (_ref16) {
|
|
@@ -15939,10 +15224,7 @@ var UserUpdateComponent = styled.div.withConfig({
|
|
|
15939
15224
|
var mobile = _ref17.mobile;
|
|
15940
15225
|
return mobile ? "flex" : "none";
|
|
15941
15226
|
});
|
|
15942
|
-
var MobileUserAndUpdate = styled.div
|
|
15943
|
-
displayName: "AccountInfo__MobileUserAndUpdate",
|
|
15944
|
-
componentId: "sc-1p04ez8-9"
|
|
15945
|
-
})(["display:none;", "{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:", ";margin-bottom:", ";}"], function (_ref18) {
|
|
15227
|
+
var MobileUserAndUpdate = styled.div(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteral(["\n display: none;\n ", " {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: ", ";\n margin-bottom: ", ";\n }\n"])), function (_ref18) {
|
|
15946
15228
|
var theme = _ref18.theme;
|
|
15947
15229
|
return theme.mediaQueries.mobile;
|
|
15948
15230
|
}, function (_ref19) {
|
|
@@ -15952,41 +15234,26 @@ var MobileUserAndUpdate = styled.div.withConfig({
|
|
|
15952
15234
|
var connectionInProgress = _ref20.connectionInProgress;
|
|
15953
15235
|
return connectionInProgress ? "10px" : "39px";
|
|
15954
15236
|
});
|
|
15955
|
-
var RefreshButton = styled.div
|
|
15956
|
-
displayName: "AccountInfo__RefreshButton",
|
|
15957
|
-
componentId: "sc-1p04ez8-10"
|
|
15958
|
-
})(["display:flex;flex-direction:row;padding:4px 16px;justify-content:space-between;align-items:center;color:", ";font-weight:bold;font-size:14px;line-height:140%;background:#2b2b38;border-radius:7px;cursor:pointer;"], function (_ref21) {
|
|
15237
|
+
var RefreshButton = styled.div(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n padding: 4px 16px;\n justify-content: space-between;\n align-items: center;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n background: #2b2b38;\n border-radius: 7px;\n cursor: pointer;\n"])), function (_ref21) {
|
|
15959
15238
|
var theme = _ref21.theme;
|
|
15960
15239
|
return theme.colors.white;
|
|
15961
15240
|
});
|
|
15962
|
-
var StyledSyncIcon = styled.div
|
|
15963
|
-
displayName: "AccountInfo__StyledSyncIcon",
|
|
15964
|
-
componentId: "sc-1p04ez8-11"
|
|
15965
|
-
})(["margin-right:10px;height:20px;@keyframes spin{100%{transform:rotate(1turn);}};", "}"], function (_ref22) {
|
|
15241
|
+
var StyledSyncIcon = styled.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral(["\n margin-right: 10px;\n height: 20px;\n @keyframes spin {\n 100% {\n transform: rotate(1turn);\n }\n };\n ", "\n}\n"])), function (_ref22) {
|
|
15966
15242
|
var syncing = _ref22.syncing;
|
|
15967
15243
|
return syncing && "animation: spin 2s linear infinite;";
|
|
15968
15244
|
});
|
|
15969
|
-
var UpdatedText = styled(Text)
|
|
15970
|
-
displayName: "AccountInfo__UpdatedText",
|
|
15971
|
-
componentId: "sc-1p04ez8-12"
|
|
15972
|
-
})(["font-size:12px;line-height:170%;margin-bottom:0px;margin-right:14px;color:", ";", "{margin-bottom:10px;margin-right:0px;}"], function (_ref23) {
|
|
15245
|
+
var UpdatedText = styled(Text)(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteral(["\n font-size: 12px;\n line-height: 170%;\n margin-bottom: 0px;\n margin-right: 14px;\n color: ", ";\n ", " {\n margin-bottom: 10px;\n margin-right: 0px;\n }\n"])), function (_ref23) {
|
|
15973
15246
|
var theme = _ref23.theme;
|
|
15974
15247
|
return theme.colors.white55;
|
|
15975
15248
|
}, function (_ref24) {
|
|
15976
15249
|
var theme = _ref24.theme;
|
|
15977
15250
|
return theme.mediaQueries.mobile;
|
|
15978
15251
|
});
|
|
15979
|
-
var ValuesDetails = styled.div
|
|
15980
|
-
displayName: "AccountInfo__ValuesDetails",
|
|
15981
|
-
componentId: "sc-1p04ez8-13"
|
|
15982
|
-
})(["display:flex;justify-content:flex-end;align-items:center;", "{flex-direction:column-reverse;width:100%;}"], function (_ref25) {
|
|
15252
|
+
var ValuesDetails = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n ", " {\n flex-direction: column-reverse;\n width: 100%;\n }\n"])), function (_ref25) {
|
|
15983
15253
|
var theme = _ref25.theme;
|
|
15984
15254
|
return theme.mediaQueries.tablet;
|
|
15985
15255
|
});
|
|
15986
|
-
var LoadingDots = styled.p.
|
|
15987
|
-
displayName: "AccountInfo__LoadingDots",
|
|
15988
|
-
componentId: "sc-1p04ez8-14"
|
|
15989
|
-
})(["width:50px;color:white;font-size:26px;text-align:", ";&::after{content:\" .\";animation:dots 1.5s steps(5,end) infinite;}@keyframes dots{0%,20%{color:rgba(0,0,0,0);text-shadow:0.25em 0 0 rgba(0,0,0,0),0.5em 0 0 rgba(0,0,0,0);}40%{color:white;text-shadow:0.25em 0 0 rgba(0,0,0,0),0.5em 0 0 rgba(0,0,0,0);}60%{text-shadow:0.25em 0 0 white,0.5em 0 0 rgba(0,0,0,0);}80%,100%{text-shadow:0.25em 0 0 white,0.5em 0 0 white;}}"], function (_ref26) {
|
|
15256
|
+
var LoadingDots = styled.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n width: 50px;\n color: white;\n font-size: 26px;\n text-align: ", ";\n &::after {\n content: \" .\";\n animation: dots 1.5s steps(5, end) infinite;\n }\n\n @keyframes dots {\n 0%,\n 20% {\n color: rgba(0, 0, 0, 0);\n text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);\n }\n 40% {\n color: white;\n text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);\n }\n 60% {\n text-shadow: 0.25em 0 0 white, 0.5em 0 0 rgba(0, 0, 0, 0);\n }\n 80%,\n 100% {\n text-shadow: 0.25em 0 0 white, 0.5em 0 0 white;\n }\n }\n"])), function (_ref26) {
|
|
15990
15257
|
var centered = _ref26.centered;
|
|
15991
15258
|
return centered ? "center" : "left";
|
|
15992
15259
|
});
|
|
@@ -16220,61 +15487,23 @@ var Icon$C = function Icon() {
|
|
|
16220
15487
|
});
|
|
16221
15488
|
};
|
|
16222
15489
|
|
|
16223
|
-
var
|
|
16224
|
-
|
|
16225
|
-
componentId: "sc-kcmda0-0"
|
|
16226
|
-
})(["height:", ";width:350px;padding:24px;background:#191921;border-radius:10px;@media screen and (max-width:1180px){height:auto;}"], function (_ref) {
|
|
15490
|
+
var _templateObject$w, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$c, _templateObject6$8, _templateObject7$4, _templateObject8$1, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11;
|
|
15491
|
+
var Wrapper$2 = styled.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteral(["\n height: ", ";\n width: 350px;\n padding: 24px;\n background: #191921;\n border-radius: 10px;\n @media screen and (max-width: 1180px) {\n height: auto;\n }\n"])), function (_ref) {
|
|
16227
15492
|
var height = _ref.height;
|
|
16228
15493
|
return height ? "".concat(height, "px") : "auto";
|
|
16229
15494
|
});
|
|
16230
|
-
var Header = styled.div
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
var
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
|
-
var
|
|
16239
|
-
|
|
16240
|
-
|
|
16241
|
-
|
|
16242
|
-
var CssPowerText = styled(Text).withConfig({
|
|
16243
|
-
displayName: "TierCard__CssPowerText",
|
|
16244
|
-
componentId: "sc-kcmda0-4"
|
|
16245
|
-
})(["color:rgba(255,255,255,0.55);"]);
|
|
16246
|
-
var RequirementDescripton = styled(Text).withConfig({
|
|
16247
|
-
displayName: "TierCard__RequirementDescripton",
|
|
16248
|
-
componentId: "sc-kcmda0-5"
|
|
16249
|
-
})(["color:rgba(255,255,255,0.55);"]);
|
|
16250
|
-
var BulletPointText = styled(Text).withConfig({
|
|
16251
|
-
displayName: "TierCard__BulletPointText",
|
|
16252
|
-
componentId: "sc-kcmda0-6"
|
|
16253
|
-
})(["color:rgba(255,255,255,0.55);margin-left:20px;"]);
|
|
16254
|
-
var CssPowerWrapper = styled.div.withConfig({
|
|
16255
|
-
displayName: "TierCard__CssPowerWrapper",
|
|
16256
|
-
componentId: "sc-kcmda0-7"
|
|
16257
|
-
})(["display:flex;justify-content:flex-start;margin-top:16px;margin-bottom:30px;"]);
|
|
16258
|
-
var CssPowerValueWrapper = styled.div.withConfig({
|
|
16259
|
-
displayName: "TierCard__CssPowerValueWrapper",
|
|
16260
|
-
componentId: "sc-kcmda0-8"
|
|
16261
|
-
})(["display:flex;flex-direction:column;margin-left:12px;"]);
|
|
16262
|
-
var RequirementsDescriptionWrapper = styled.div.withConfig({
|
|
16263
|
-
displayName: "TierCard__RequirementsDescriptionWrapper",
|
|
16264
|
-
componentId: "sc-kcmda0-9"
|
|
16265
|
-
})(["display:flex;flex-direction:column;margin-top:32px;margin-bottom:16px;gap:16px;"]);
|
|
16266
|
-
var BulletPointLine = styled(Text).withConfig({
|
|
16267
|
-
displayName: "TierCard__BulletPointLine",
|
|
16268
|
-
componentId: "sc-kcmda0-10"
|
|
16269
|
-
})(["display:flex;align-items:center;margin-bottom:8px;"]);
|
|
16270
|
-
var BulletPointIconWrapper = styled.div.withConfig({
|
|
16271
|
-
displayName: "TierCard__BulletPointIconWrapper",
|
|
16272
|
-
componentId: "sc-kcmda0-11"
|
|
16273
|
-
})(["display:flex;"]);
|
|
16274
|
-
var AdditionalInfo = styled(Text).withConfig({
|
|
16275
|
-
displayName: "TierCard__AdditionalInfo",
|
|
16276
|
-
componentId: "sc-kcmda0-12"
|
|
16277
|
-
})(["color:rgba(255,255,255,0.55);margin-top:32px;"]);
|
|
15495
|
+
var Header = styled.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
15496
|
+
var PoolWeightWrapper = styled.div(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteral(["\n width: auto;\n display: flex;\n flex-direction: column;\n"])));
|
|
15497
|
+
var PoolWeightText = styled(Text)(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
15498
|
+
var CssPowerText = styled(Text)(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
15499
|
+
var RequirementDescripton = styled(Text)(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteral(["\ncolor: rgba(255, 255, 255, 0.55);\n"])));
|
|
15500
|
+
var BulletPointText = styled(Text)(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteral(["\ncolor: rgba(255, 255, 255, 0.55);\nmargin-left: 20px;\n"])));
|
|
15501
|
+
var CssPowerWrapper = styled.div(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n margin-top: 16px;\n margin-bottom: 30px;\n"])));
|
|
15502
|
+
var CssPowerValueWrapper = styled.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n margin-left: 12px;\n"])));
|
|
15503
|
+
var RequirementsDescriptionWrapper = styled.div(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n margin-top: 32px;\n margin-bottom: 16px;\n gap: 16px;\n"])));
|
|
15504
|
+
var BulletPointLine = styled(Text)(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n"])));
|
|
15505
|
+
var BulletPointIconWrapper = styled.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n display: flex;\n"])));
|
|
15506
|
+
var AdditionalInfo = styled(Text)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n margin-top: 32px;\n"])));
|
|
16278
15507
|
var TierCard = function TierCard(_ref2) {
|
|
16279
15508
|
var tierNumber = _ref2.tierNumber,
|
|
16280
15509
|
poolWeightPercentage = _ref2.poolWeightPercentage,
|
|
@@ -16343,33 +15572,16 @@ var TierCard = function TierCard(_ref2) {
|
|
|
16343
15572
|
});
|
|
16344
15573
|
};
|
|
16345
15574
|
|
|
16346
|
-
var
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
var
|
|
16351
|
-
|
|
16352
|
-
componentId: "sc-8hnj4a-1"
|
|
16353
|
-
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
16354
|
-
var IconWrapper = styled.div.withConfig({
|
|
16355
|
-
displayName: "IdoParticipationStep__IconWrapper",
|
|
16356
|
-
componentId: "sc-8hnj4a-2"
|
|
16357
|
-
})(["margin:0 auto;max-width:220px;max-height:160px;"]);
|
|
16358
|
-
var StepNumber = styled.p.withConfig({
|
|
16359
|
-
displayName: "IdoParticipationStep__StepNumber",
|
|
16360
|
-
componentId: "sc-8hnj4a-3"
|
|
16361
|
-
})(["display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(255,255,255,0.03);color:#ffffff;opacity:0.55;border-radius:10px;background:#1d1d26;"]);
|
|
16362
|
-
var StepDescription = styled(Text).withConfig({
|
|
16363
|
-
displayName: "IdoParticipationStep__StepDescription",
|
|
16364
|
-
componentId: "sc-8hnj4a-4"
|
|
16365
|
-
})(["text-align:center;color:rgba(255,255,255,0.55);max-width:229px;", "{font-size:14px;}"], function (_ref) {
|
|
15575
|
+
var _templateObject$v, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$7;
|
|
15576
|
+
var Wrapper$1 = styled.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 300px;\n"])));
|
|
15577
|
+
var Upper = styled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"])));
|
|
15578
|
+
var IconWrapper = styled.div(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral(["\n margin: 0 auto;\n max-width: 220px;\n max-height: 160px;\n"])));
|
|
15579
|
+
var StepNumber = styled.p(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border: 1px solid rgba(255, 255, 255, 0.03);\n color: #ffffff;\n opacity: 0.55;\n border-radius: 10px;\n background: #1d1d26;\n"])));
|
|
15580
|
+
var StepDescription = styled(Text)(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteral(["\n text-align: center;\n color: rgba(255, 255, 255, 0.55);\n max-width: 229px;\n ", " {\n font-size: 14px;\n }\n"])), function (_ref) {
|
|
16366
15581
|
var theme = _ref.theme;
|
|
16367
15582
|
return theme.mediaQueries.mobile;
|
|
16368
15583
|
});
|
|
16369
|
-
var StepLowerDescription = styled(StepDescription)
|
|
16370
|
-
displayName: "IdoParticipationStep__StepLowerDescription",
|
|
16371
|
-
componentId: "sc-8hnj4a-5"
|
|
16372
|
-
})(["margin-top:20px;"]);
|
|
15584
|
+
var StepLowerDescription = styled(StepDescription)(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteral(["\n margin-top: 20px;\n"])));
|
|
16373
15585
|
var getIconByStepNumber = function getIconByStepNumber(stepNumer) {
|
|
16374
15586
|
switch (stepNumer) {
|
|
16375
15587
|
case 1:
|
|
@@ -16422,35 +15634,21 @@ var IdoParticipationStep = function IdoParticipationStep(_ref2) {
|
|
|
16422
15634
|
});
|
|
16423
15635
|
};
|
|
16424
15636
|
|
|
16425
|
-
var
|
|
16426
|
-
|
|
16427
|
-
componentId: "sc-ge61bg-0"
|
|
16428
|
-
})(["display:flex;flex-direction:column;height:max-content;background:", ";border-radius:16px;padding:32px;"], function (_ref) {
|
|
15637
|
+
var _templateObject$u, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$a, _templateObject6$6, _templateObject7$3;
|
|
15638
|
+
var UserTiersWrapper = styled.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n background: ", ";\n border-radius: 16px;\n padding: 32px;\n"])), function (_ref) {
|
|
16429
15639
|
var theme = _ref.theme;
|
|
16430
15640
|
return theme.colors.card;
|
|
16431
15641
|
});
|
|
16432
|
-
var TiersTitle = styled(Text)
|
|
16433
|
-
displayName: "UserTiers__TiersTitle",
|
|
16434
|
-
componentId: "sc-ge61bg-1"
|
|
16435
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;color:", ";margin-bottom:20px;"], function (_ref2) {
|
|
15642
|
+
var TiersTitle = styled(Text)(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n margin-bottom: 20px;\n"])), function (_ref2) {
|
|
16436
15643
|
var theme = _ref2.theme;
|
|
16437
15644
|
return theme.colors.white;
|
|
16438
15645
|
});
|
|
16439
|
-
var Column = styled.div
|
|
16440
|
-
|
|
16441
|
-
componentId: "sc-ge61bg-2"
|
|
16442
|
-
})(["display:flex;flex-direction:column;justify-content:flex-start;"]);
|
|
16443
|
-
var TierRow = styled(Box).withConfig({
|
|
16444
|
-
displayName: "UserTiers__TierRow",
|
|
16445
|
-
componentId: "sc-ge61bg-3"
|
|
16446
|
-
})(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:10px 0px;border-bottom:", ";"], function (_ref3) {
|
|
15646
|
+
var Column = styled.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n"])));
|
|
15647
|
+
var TierRow = styled(Box)(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px 0px;\n border-bottom: ", ";\n"])), function (_ref3) {
|
|
16447
15648
|
var bordered = _ref3.bordered;
|
|
16448
15649
|
return bordered && "1px solid #272730";
|
|
16449
15650
|
});
|
|
16450
|
-
var TierNumberText = styled(Text)
|
|
16451
|
-
displayName: "UserTiers__TierNumberText",
|
|
16452
|
-
componentId: "sc-ge61bg-4"
|
|
16453
|
-
})(["font-size:14px;line-height:160%;color:", ";font-weight:", ";position:relative;"], function (_ref4) {
|
|
15651
|
+
var TierNumberText = styled(Text)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 160%;\n color: ", ";\n font-weight: ", ";\n position: relative;\n"])), function (_ref4) {
|
|
16454
15652
|
var theme = _ref4.theme,
|
|
16455
15653
|
active = _ref4.active;
|
|
16456
15654
|
return active ? theme.colors.white : "#818c92";
|
|
@@ -16458,14 +15656,8 @@ var TierNumberText = styled(Text).withConfig({
|
|
|
16458
15656
|
var active = _ref5.active;
|
|
16459
15657
|
return active ? "bold" : "normal";
|
|
16460
15658
|
});
|
|
16461
|
-
var TierInfoTag = styled(StyledTag)
|
|
16462
|
-
|
|
16463
|
-
componentId: "sc-ge61bg-5"
|
|
16464
|
-
})(["font-size:11px;height:max-content;margin-right:5px;"]);
|
|
16465
|
-
var TagsRow = styled.div.withConfig({
|
|
16466
|
-
displayName: "UserTiers__TagsRow",
|
|
16467
|
-
componentId: "sc-ge61bg-6"
|
|
16468
|
-
})(["position:absolute;left:45px;display:flex;"]);
|
|
15659
|
+
var TierInfoTag = styled(StyledTag)(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteral(["\n font-size: 11px;\n height: max-content;\n margin-right: 5px;\n"])));
|
|
15660
|
+
var TagsRow = styled.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n position: absolute;\n left: 45px;\n display: flex;\n"])));
|
|
16469
15661
|
var UserTiers = function UserTiers(props) {
|
|
16470
15662
|
var tiers = props.tiers,
|
|
16471
15663
|
_props$currentUserTie = props.currentUserTier,
|
|
@@ -16533,10 +15725,8 @@ var UserTiers = function UserTiers(props) {
|
|
|
16533
15725
|
});
|
|
16534
15726
|
};
|
|
16535
15727
|
|
|
16536
|
-
var
|
|
16537
|
-
|
|
16538
|
-
componentId: "sc-11c5hed-0"
|
|
16539
|
-
})(["display:flex;justify-content:flex-end;"]);
|
|
15728
|
+
var _templateObject$t;
|
|
15729
|
+
var StyledMultiValue = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n"])));
|
|
16540
15730
|
var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
16541
15731
|
var spaceRound = _ref.spaceRound,
|
|
16542
15732
|
useEndTime = _ref.useEndTime,
|
|
@@ -16570,14 +15760,9 @@ var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
|
16570
15760
|
});
|
|
16571
15761
|
};
|
|
16572
15762
|
|
|
16573
|
-
var
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
})(["width:100%;background:#1d1d26;padding:44px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;margin-top:70px;"]);
|
|
16577
|
-
var ForProjects = styled(Text).withConfig({
|
|
16578
|
-
displayName: "SpacePadLaunch__ForProjects",
|
|
16579
|
-
componentId: "sc-8kj88a-1"
|
|
16580
|
-
})(["margin:0 auto;width:135px;text-align:center;border:1px solid ", ";color:", ";line-height:28px;border-radius:10px;"], function (_ref) {
|
|
15763
|
+
var _templateObject$s, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$9;
|
|
15764
|
+
var LaunchWrapper = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteral(["\n width: 100%;\n background: #1d1d26;\n padding: 44px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n margin-top: 70px;\n"])));
|
|
15765
|
+
var ForProjects = styled(Text)(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral(["\n margin: 0 auto;\n width: 135px;\n text-align: center;\n border: 1px solid ", ";\n color: ", ";\n line-height: 28px;\n border-radius: 10px;\n"])), function (_ref) {
|
|
16581
15766
|
var theme = _ref.theme,
|
|
16582
15767
|
mainColor = _ref.mainColor;
|
|
16583
15768
|
return mainColor || theme.colors.darkPurple;
|
|
@@ -16586,18 +15771,9 @@ var ForProjects = styled(Text).withConfig({
|
|
|
16586
15771
|
mainColor = _ref2.mainColor;
|
|
16587
15772
|
return mainColor || theme.colors.darkPurple;
|
|
16588
15773
|
});
|
|
16589
|
-
var LaunchHeader = styled(Text)
|
|
16590
|
-
|
|
16591
|
-
|
|
16592
|
-
})(["margin:20px 0;text-align:center;@media screen and (max-width:760px){width:310px;font-size:26px;}"]);
|
|
16593
|
-
var LaunchDescription = styled(Text).withConfig({
|
|
16594
|
-
displayName: "SpacePadLaunch__LaunchDescription",
|
|
16595
|
-
componentId: "sc-8kj88a-3"
|
|
16596
|
-
})(["width:630px;color:rgba(255,255,255,0.55);text-align:center;@media screen and (max-width:760px){width:310px;}"]);
|
|
16597
|
-
var ApplyForIdoButton = styled(Button$1).withConfig({
|
|
16598
|
-
displayName: "SpacePadLaunch__ApplyForIdoButton",
|
|
16599
|
-
componentId: "sc-8kj88a-4"
|
|
16600
|
-
})(["width:161px;height:44px;border-radius:10px;background:#12ffb8;margin-top:45px;"]);
|
|
15774
|
+
var LaunchHeader = styled(Text)(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteral(["\n margin: 20px 0;\n text-align: center;\n @media screen and (max-width: 760px) {\n width: 310px;\n font-size: 26px;\n }\n"])));
|
|
15775
|
+
var LaunchDescription = styled(Text)(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteral(["\n width: 630px;\n color: rgba(255, 255, 255, 0.55);\n text-align: center;\n @media screen and (max-width: 760px) {\n width: 310px;\n }\n"])));
|
|
15776
|
+
var ApplyForIdoButton = styled(Button$1)(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteral(["\n width: 161px;\n height: 44px;\n border-radius: 10px;\n background: #12ffb8;\n margin-top: 45px;\n"])));
|
|
16601
15777
|
var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
16602
15778
|
var title = _ref3.title,
|
|
16603
15779
|
description = _ref3.description,
|
|
@@ -16626,22 +15802,15 @@ var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
|
16626
15802
|
});
|
|
16627
15803
|
};
|
|
16628
15804
|
|
|
16629
|
-
var
|
|
16630
|
-
|
|
16631
|
-
componentId: "sc-q2pgu9-0"
|
|
16632
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;color:", ";"], function (_ref) {
|
|
15805
|
+
var _templateObject$r;
|
|
15806
|
+
var ReferralTitle = styled(Text)(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref) {
|
|
16633
15807
|
var fontColor = _ref.fontColor;
|
|
16634
15808
|
return fontColor || "#ffffff";
|
|
16635
15809
|
});
|
|
16636
15810
|
|
|
16637
|
-
var
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
})(["display:flex;flex-direction:column;"]);
|
|
16641
|
-
var InvitationDescription = styled(Text).withConfig({
|
|
16642
|
-
displayName: "ReferralBanner__InvitationDescription",
|
|
16643
|
-
componentId: "sc-3cib5z-1"
|
|
16644
|
-
})(["font-weight:normal;font-size:16px;line-height:24px;color:#818c92;margin-bottom:24px;"]);
|
|
15811
|
+
var _templateObject$q, _templateObject2$k;
|
|
15812
|
+
var ReferralBannerWrapper = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
15813
|
+
var InvitationDescription = styled(Text)(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n color: #818c92;\n margin-bottom: 24px;\n"])));
|
|
16645
15814
|
var ReferralBanner = function ReferralBanner(props) {
|
|
16646
15815
|
var refFee = props.refFee,
|
|
16647
15816
|
onReadMore = props.onReadMore,
|
|
@@ -16706,36 +15875,19 @@ var copyValueToClipboard = function copyValueToClipboard(value, copyCallback) {
|
|
|
16706
15875
|
}, 3000);
|
|
16707
15876
|
};
|
|
16708
15877
|
|
|
16709
|
-
var
|
|
16710
|
-
|
|
16711
|
-
componentId: "sc-wd2wdf-0"
|
|
16712
|
-
})(["border:none;padding:15px;width:100%;margin-bottom:24px;", "{padding:25px 30px;}"], function (_ref) {
|
|
15878
|
+
var _templateObject$p, _templateObject2$j, _templateObject3$e, _templateObject4$a, _templateObject5$8, _templateObject6$5;
|
|
15879
|
+
var TableCard = styled(Card)(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n border: none;\n padding: 15px;\n width: 100%;\n margin-bottom: 24px;\n ", " {\n padding: 25px 30px;\n }\n"])), function (_ref) {
|
|
16713
15880
|
var theme = _ref.theme;
|
|
16714
15881
|
return theme.mediaQueries.sm;
|
|
16715
15882
|
});
|
|
16716
|
-
var CopyLinkCardWrapper = styled(TableCard)
|
|
16717
|
-
|
|
16718
|
-
componentId: "sc-wd2wdf-1"
|
|
16719
|
-
})(["background:#1d1d26;display:flex;flex-direction:column;justify-content:space-between;"]);
|
|
16720
|
-
var MyReferralCard = styled(TableCard).withConfig({
|
|
16721
|
-
displayName: "CopyLinkCard__MyReferralCard",
|
|
16722
|
-
componentId: "sc-wd2wdf-2"
|
|
16723
|
-
})(["background:#16161d;display:flex;justify-content:space-between;align-items:center;grid-column:span 6;", "{grid-column:span 7;}"], function (_ref2) {
|
|
15883
|
+
var CopyLinkCardWrapper = styled(TableCard)(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n background: #1d1d26;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"])));
|
|
15884
|
+
var MyReferralCard = styled(TableCard)(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteral(["\n background: #16161d;\n display: flex;\n justify-content: space-between;\n align-items: center;\n grid-column: span 6;\n ", " {\n grid-column: span 7;\n }\n"])), function (_ref2) {
|
|
16724
15885
|
var theme = _ref2.theme;
|
|
16725
15886
|
return theme.mediaQueries.sm;
|
|
16726
15887
|
});
|
|
16727
|
-
var RefLink = styled(Text)
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
})(["display:inline;align-items:center;text-overflow:ellipsis;width:80%;overflow:hidden;white-space:nowrap;height:max-content;font-weight:600;font-size:16px;line-height:24px;"]);
|
|
16731
|
-
var SocialRow = styled.div.withConfig({
|
|
16732
|
-
displayName: "CopyLinkCard__SocialRow",
|
|
16733
|
-
componentId: "sc-wd2wdf-4"
|
|
16734
|
-
})(["display:flex;align-items:center;justify-content:flex-start;"]);
|
|
16735
|
-
var ShareText = styled(Text).withConfig({
|
|
16736
|
-
displayName: "CopyLinkCard__ShareText",
|
|
16737
|
-
componentId: "sc-wd2wdf-5"
|
|
16738
|
-
})(["font-weight:700;font-size:14px;line-height:170%;color:#ffffff;margin-right:32px;"]);
|
|
15888
|
+
var RefLink = styled(Text)(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteral(["\n display: inline;\n align-items: center;\n text-overflow: ellipsis;\n width: 80%;\n overflow: hidden;\n white-space: nowrap;\n height: max-content;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n"])));
|
|
15889
|
+
var SocialRow = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n"])));
|
|
15890
|
+
var ShareText = styled(Text)(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteral(["\n font-weight: 700;\n font-size: 14px;\n line-height: 170%;\n color: #ffffff;\n margin-right: 32px;\n"])));
|
|
16739
15891
|
var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
16740
15892
|
var refLink = _ref3.refLink;
|
|
16741
15893
|
var _useState = useState(false),
|
|
@@ -17481,17 +16633,12 @@ var IconModule = /*#__PURE__*/Object.freeze({
|
|
|
17481
16633
|
YouTubeIcon: Icon$e
|
|
17482
16634
|
});
|
|
17483
16635
|
|
|
17484
|
-
var
|
|
17485
|
-
|
|
17486
|
-
componentId: "sc-1u6975p-0"
|
|
17487
|
-
})(["display:flex;display:-webkit-flex;align-items:center;-webkit-align-items:center;.mobile-icon{width:32px;margin-left:10px;}.desktop-icon{width:156px;display:none;", "{display:block;}}margin-left:0px;"], function (_ref) {
|
|
16636
|
+
var _templateObject$o, _templateObject2$i;
|
|
16637
|
+
var StyledLink = styled(Link$1)(_templateObject$o || (_templateObject$o = _taggedTemplateLiteral(["\n display: flex;\n display: -webkit-flex;\n align-items: center;\n -webkit-align-items: center;\n .mobile-icon {\n width: 32px;\n margin-left: 10px;\n }\n .desktop-icon {\n width: 156px;\n display: none;\n ", " {\n display: block;\n }\n }\n margin-left: 0px;\n"])), function (_ref) {
|
|
17488
16638
|
var theme = _ref.theme;
|
|
17489
16639
|
return theme.mediaQueries.nav;
|
|
17490
16640
|
});
|
|
17491
|
-
var CoinswapLogo = styled.div.
|
|
17492
|
-
displayName: "Logo__CoinswapLogo",
|
|
17493
|
-
componentId: "sc-1u6975p-1"
|
|
17494
|
-
})(["opacity:", ";width:", ";transition:width 0.6s,opacity 0.3s;"], function (_ref2) {
|
|
16641
|
+
var CoinswapLogo = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n opacity: ", ";\n width: ", ";\n transition: width 0.6s, opacity 0.3s;\n"])), function (_ref2) {
|
|
17495
16642
|
var isPushed = _ref2.isPushed;
|
|
17496
16643
|
return isPushed ? 1 : 0;
|
|
17497
16644
|
}, function (_ref3) {
|
|
@@ -17684,11 +16831,9 @@ var MENU_ACCORDION_HEIGHT = 30;
|
|
|
17684
16831
|
var SIDEBAR_WIDTH_FULL = 240;
|
|
17685
16832
|
var SIDEBAR_WIDTH_REDUCED = 70;
|
|
17686
16833
|
|
|
17687
|
-
var
|
|
17688
|
-
var
|
|
17689
|
-
|
|
17690
|
-
componentId: "sc-1sxukum-0"
|
|
17691
|
-
})(["display:flex;flex-direction:row;color:", ";transition:all 0.7s;flex-grow:1;font-weight:700;font-size:14px;width:100%;opacity:", ";"], function (_ref) {
|
|
16834
|
+
var _templateObject$n, _templateObject2$h, _templateObject3$d;
|
|
16835
|
+
var rainbowAnimation = keyframes(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n 0%,\n 100% {\n background-position: 0 0;\n }\n 50% {\n background-position: 100% 0;\n }\n"])));
|
|
16836
|
+
var LinkLabel = styled.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n color: ", ";\n transition: all 0.7s;\n flex-grow: 1;\n font-weight: 700;\n font-size: 14px;\n width: 100%;\n opacity: ", ";\n"])), function (_ref) {
|
|
17692
16837
|
var isPushed = _ref.isPushed,
|
|
17693
16838
|
isActive = _ref.isActive;
|
|
17694
16839
|
return !isPushed ? "transparent" : isActive ? "rgba(255, 255, 255, 1)" : "rgba(255, 255, 255, 0.5)";
|
|
@@ -17696,10 +16841,7 @@ var LinkLabel = styled.div.withConfig({
|
|
|
17696
16841
|
var isPushed = _ref2.isPushed;
|
|
17697
16842
|
return isPushed ? "1" : "0";
|
|
17698
16843
|
});
|
|
17699
|
-
var MenuEntry = styled.div.
|
|
17700
|
-
displayName: "MenuEntry",
|
|
17701
|
-
componentId: "sc-1sxukum-1"
|
|
17702
|
-
})(["cursor:pointer;display:flex;align-items:center;height:", "px;width:", "px;padding:", ";font-size:14px;background-color:", ";color:", ";transition:all 0.9s;", "{height:40px;}a{display:flex;align-items:center;width:100%;height:100%;color:", ";font-weight:700;transition:all 0.5s;}.dot{height:5px;width:5px;border-radius:50%;display:inline-block;background-color:", ";}svg{fill:", ";margin-right:13px;}&:hover{svg{path{fill:#12ffb8;fill-opacity:1;}margin-right:", ";}div,a{svg{path{fill:", ";}}}div,a{color:rgba(255,255,255,1);}}flex-shrink:0;&.rainbow{background-clip:text;animation:", " 3s ease-in-out infinite;background:", ";background-size:400% 100%;}"], MENU_ENTRY_HEIGHT, SIDEBAR_WIDTH_FULL, function (_ref3) {
|
|
16844
|
+
var MenuEntry = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteral(["\n cursor: pointer;\n display: flex;\n align-items: center;\n height: ", "px;\n width: ", "px;\n padding: ", ";\n font-size: 14px;\n background-color: ", ";\n color: ", ";\n transition: all 0.9s;\n ", " {\n height: 40px;\n }\n\n a {\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n color: ", ";\n font-weight: 700;\n transition: all 0.5s;\n }\n\n .dot {\n height: 5px;\n width: 5px;\n border-radius: 50%;\n display: inline-block;\n background-color: ", ";\n }\n\n svg {\n fill: ", ";\n margin-right: 13px;\n }\n\n &:hover {\n svg {\n path {\n fill: #12ffb8;\n fill-opacity: 1;\n }\n margin-right: ", ";\n }\n div,\n a {\n svg {\n path {\n fill: ", ";\n }\n }\n }\n\n div,\n a {\n color: rgba(255, 255, 255, 1);\n }\n }\n\n // Safari fix\n flex-shrink: 0;\n\n &.rainbow {\n background-clip: text;\n animation: ", " 3s ease-in-out infinite;\n background: ", ";\n background-size: 400% 100%;\n }\n"])), MENU_ENTRY_HEIGHT, SIDEBAR_WIDTH_FULL, function (_ref3) {
|
|
17703
16845
|
var secondary = _ref3.secondary;
|
|
17704
16846
|
return secondary ? "0 32px" : "0 25px";
|
|
17705
16847
|
}, function (_ref4) {
|
|
@@ -17738,14 +16880,9 @@ MenuEntry.defaultProps = {
|
|
|
17738
16880
|
role: "button"
|
|
17739
16881
|
};
|
|
17740
16882
|
|
|
17741
|
-
var
|
|
17742
|
-
|
|
17743
|
-
|
|
17744
|
-
})(["display:flex;flex-direction:column;flex-shrink:0;"]);
|
|
17745
|
-
var AccordionContent = styled.div.withConfig({
|
|
17746
|
-
displayName: "Accordion__AccordionContent",
|
|
17747
|
-
componentId: "sc-1j605qy-1"
|
|
17748
|
-
})(["max-height:", ";transition:max-height 0.3s ease-out;overflow-x:hidden;overflow-y:scroll;border-color:", ";border-style:solid;border-width:1px 0;border-bottom:none;"], function (_ref) {
|
|
16883
|
+
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
16884
|
+
var Container$2 = styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n // Safari fix\n flex-shrink: 0;\n"])));
|
|
16885
|
+
var AccordionContent = styled.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n max-height: ", ";\n transition: max-height 0.3s ease-out;\n overflow-x: hidden;\n overflow-y: scroll;\n border-color: ", ";\n border-style: solid;\n border-width: 1px 0;\n border-bottom: none;\n"])), function (_ref) {
|
|
17749
16886
|
var isOpen = _ref.isOpen,
|
|
17750
16887
|
maxHeight = _ref.maxHeight;
|
|
17751
16888
|
return isOpen ? "".concat(maxHeight, "px") : 0;
|
|
@@ -17754,10 +16891,7 @@ var AccordionContent = styled.div.withConfig({
|
|
|
17754
16891
|
isPushed = _ref2.isPushed;
|
|
17755
16892
|
return isOpen && isPushed ? "rgba(133, 133, 133, 0.1)" : "transparent";
|
|
17756
16893
|
});
|
|
17757
|
-
var ArrowIcon = styled(Icon$2x).
|
|
17758
|
-
displayName: "Accordion__ArrowIcon",
|
|
17759
|
-
componentId: "sc-1j605qy-2"
|
|
17760
|
-
})(["margin-right:-7px !important;transform:rotate(", "deg);transition:transform 0.4s;"], function (_ref3) {
|
|
16894
|
+
var ArrowIcon = styled(Icon$2x)(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral(["\n margin-right: -7px !important;\n transform: rotate(", "deg);\n transition: transform 0.4s;\n"])), function (_ref3) {
|
|
17761
16895
|
var isOpen = _ref3.isOpen;
|
|
17762
16896
|
return isOpen ? 0 : 180;
|
|
17763
16897
|
});
|
|
@@ -17830,18 +16964,13 @@ var ExtraIcon;
|
|
|
17830
16964
|
ExtraIcon["new"] = "new";
|
|
17831
16965
|
})(ExtraIcon || (ExtraIcon = {}));
|
|
17832
16966
|
|
|
16967
|
+
var _templateObject$l, _templateObject2$f;
|
|
17833
16968
|
var Icons$2 = IconModule;
|
|
17834
|
-
var Container$1 = styled.div
|
|
17835
|
-
displayName: "PanelBody__Container",
|
|
17836
|
-
componentId: "sc-1qgqorz-0"
|
|
17837
|
-
})(["display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-color:", " transparent;scrollbar-width:thin !important;"], function (_ref) {
|
|
16969
|
+
var Container$1 = styled.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-color: ", " transparent;\n scrollbar-width: thin !important;\n"])), function (_ref) {
|
|
17838
16970
|
var theme = _ref.theme;
|
|
17839
16971
|
return theme.colors.primary;
|
|
17840
16972
|
});
|
|
17841
|
-
var NewLabel = styled.div
|
|
17842
|
-
displayName: "PanelBody__NewLabel",
|
|
17843
|
-
componentId: "sc-1qgqorz-1"
|
|
17844
|
-
})(["display:flex;justify-content:center;align-items:center;color:", " !important;border:solid 1px ", ";border-radius:12px;padding:2px 8px;font-size:10px;line-height:9px;font-weight:700;margin-left:5px;text-align:center;"], function (_ref2) {
|
|
16973
|
+
var NewLabel = styled.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n color: ", " !important;\n border: solid 1px ", ";\n border-radius: 12px;\n padding: 2px 8px;\n font-size: 10px;\n line-height: 9px;\n font-weight: 700;\n margin-left: 5px;\n text-align: center;\n"])), function (_ref2) {
|
|
17845
16974
|
var theme = _ref2.theme;
|
|
17846
16975
|
return theme.colors.primary;
|
|
17847
16976
|
}, function (_ref3) {
|
|
@@ -17945,10 +17074,8 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17945
17074
|
};
|
|
17946
17075
|
|
|
17947
17076
|
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
17948
|
-
var
|
|
17949
|
-
|
|
17950
|
-
componentId: "sc-11strgr-0"
|
|
17951
|
-
})(["align-items:center;cursor:pointer;display:flex;justify-content:center;font-family:inherit;font-size:16px;font-weight:600;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;border:none;transition:background-color 0.2s;background-color:transparent;opacity:", ";margin-left:10px;"], function (_ref) {
|
|
17077
|
+
var _templateObject$k;
|
|
17078
|
+
var StyledNavButton = styled.button(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n align-items: center;\n cursor: pointer;\n display: flex;\n justify-content: center;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n border: none;\n transition: background-color 0.2s;\n background-color: transparent;\n opacity: ", ";\n margin-left: 10px;\n"])), function (_ref) {
|
|
17952
17079
|
var fullWidth = _ref.fullWidth;
|
|
17953
17080
|
return fullWidth ? "100%" : "max-content";
|
|
17954
17081
|
}, function (_ref2) {
|
|
@@ -17986,10 +17113,8 @@ NavButton.defaultProps = {
|
|
|
17986
17113
|
disabled: false
|
|
17987
17114
|
};
|
|
17988
17115
|
|
|
17989
|
-
var
|
|
17990
|
-
|
|
17991
|
-
componentId: "sc-1nwrww1-0"
|
|
17992
|
-
})(["color:", ";padding:0 8px;border-radius:8px;"], function (_ref) {
|
|
17116
|
+
var _templateObject$j;
|
|
17117
|
+
var MenuButton = styled(NavButton)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n color: ", ";\n padding: 0 8px;\n border-radius: 8px;\n"])), function (_ref) {
|
|
17993
17118
|
var theme = _ref.theme;
|
|
17994
17119
|
return theme.colors.text;
|
|
17995
17120
|
});
|
|
@@ -18029,54 +17154,34 @@ var getLangFlag = function getLangFlag(lang) {
|
|
|
18029
17154
|
}
|
|
18030
17155
|
};
|
|
18031
17156
|
|
|
17157
|
+
var _templateObject$i, _templateObject2$e, _templateObject3$b, _templateObject4$9, _templateObject5$7, _templateObject6$4, _templateObject7$2;
|
|
18032
17158
|
var Icons$1 = IconModule;
|
|
18033
17159
|
var LanguageIcon = Icons$1.LanguageIcon;
|
|
18034
|
-
var LangButton = styled(Button$1).
|
|
18035
|
-
displayName: "LangSelector__LangButton",
|
|
18036
|
-
componentId: "sc-1yvxo6n-0"
|
|
18037
|
-
})(["display:flex;flex-direction:row;position:relative;justify-content:flex-start;z-index:9999999;border:1px solid ", ";&:hover:not(:disabled):not(.button--disabled):not(:active){border:1px solid rgba(255,255,255,0.03);}transition:width 0.6s;height:28px;width:", "px;margin-bottom:15px;padding:0px 10px;"], function (_ref) {
|
|
17160
|
+
var LangButton = styled(Button$1)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n position: relative;\n justify-content: flex-start;\n z-index: 9999999;\n border: 1px solid ", ";\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border: 1px solid rgba(255, 255, 255, 0.03);\n }\n transition: width 0.6s;\n height: 28px;\n width: ", "px;\n margin-bottom: 15px;\n padding: 0px 10px;\n"])), function (_ref) {
|
|
18038
17161
|
var theme = _ref.theme;
|
|
18039
17162
|
return theme.colors.white3;
|
|
18040
17163
|
}, function (_ref2) {
|
|
18041
17164
|
var isPushed = _ref2.isPushed;
|
|
18042
17165
|
return isPushed ? 80 : 40;
|
|
18043
17166
|
});
|
|
18044
|
-
var LangModal = styled.div.
|
|
18045
|
-
displayName: "LangSelector__LangModal",
|
|
18046
|
-
componentId: "sc-1yvxo6n-1"
|
|
18047
|
-
})(["position:absolute;display:", "};bottom:45px;left:0px;background:", ";border:1px solid rgba(255,255,255,0.03);width:267px;height:auto;padding:27px 17px 27px 27px;border-radius:15px;"], function (_ref3) {
|
|
17167
|
+
var LangModal = styled.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteral(["\n position: absolute;\n display: ", "};\n bottom: 45px;\n left: 0px;\n background: ", ";\n border: 1px solid rgba(255, 255, 255, 0.03);\n width: 267px;\n height: auto;\n padding: 27px 17px 27px 27px;\n border-radius: 15px;\n"])), function (_ref3) {
|
|
18048
17168
|
var display = _ref3.display;
|
|
18049
17169
|
return display ? "block" : "none";
|
|
18050
17170
|
}, function (_ref4) {
|
|
18051
17171
|
var theme = _ref4.theme;
|
|
18052
17172
|
return theme.backgrounds.primary;
|
|
18053
17173
|
});
|
|
18054
|
-
var LangsList = styled.div
|
|
18055
|
-
displayName: "LangSelector__LangsList",
|
|
18056
|
-
componentId: "sc-1yvxo6n-2"
|
|
18057
|
-
})(["max-height:170px;overflow-y:scroll;&::-webkit-scrollbar{width:5px !important;}&::-webkit-scrollbar-thumb{background:", " !important;border-radius:8px;}&::-webkit-scrollbar-track{box-shadow:inset 0 0 5px ", ";border-radius:3px;}"], function (_ref5) {
|
|
17174
|
+
var LangsList = styled.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n max-height: 170px;\n overflow-y: scroll;\n &::-webkit-scrollbar {\n width: 5px !important;\n }\n &::-webkit-scrollbar-thumb {\n background: ", " !important;\n border-radius: 8px;\n }\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px ", ";\n border-radius: 3px;\n }\n"])), function (_ref5) {
|
|
18058
17175
|
var theme = _ref5.theme;
|
|
18059
17176
|
return theme.colors.white55;
|
|
18060
17177
|
}, function (_ref6) {
|
|
18061
17178
|
var theme = _ref6.theme;
|
|
18062
17179
|
return theme.colors.white30;
|
|
18063
17180
|
});
|
|
18064
|
-
var TitleContainer = styled.div
|
|
18065
|
-
|
|
18066
|
-
|
|
18067
|
-
|
|
18068
|
-
var ButtonContainer$1 = styled.div.withConfig({
|
|
18069
|
-
displayName: "LangSelector__ButtonContainer",
|
|
18070
|
-
componentId: "sc-1yvxo6n-4"
|
|
18071
|
-
})(["width:100%;text-align:start;padding:0px 8px;"]);
|
|
18072
|
-
var LangText = styled(Text).withConfig({
|
|
18073
|
-
displayName: "LangSelector__LangText",
|
|
18074
|
-
componentId: "sc-1yvxo6n-5"
|
|
18075
|
-
})(["font-size:14px;margin-left:12px;"]);
|
|
18076
|
-
var MainLangText = styled(Text).withConfig({
|
|
18077
|
-
displayName: "LangSelector__MainLangText",
|
|
18078
|
-
componentId: "sc-1yvxo6n-6"
|
|
18079
|
-
})(["opacity:", ";width:", ";transition:width 0.6s,opacity 0.3s;"], function (_ref7) {
|
|
17181
|
+
var TitleContainer = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-bottom: 10px;\n"])));
|
|
17182
|
+
var ButtonContainer$1 = styled.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteral(["\n width: 100%;\n text-align: start;\n padding: 0px 8px;\n"])));
|
|
17183
|
+
var LangText = styled(Text)(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n font-size: 14px;\n margin-left: 12px;\n"])));
|
|
17184
|
+
var MainLangText = styled(Text)(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["\n opacity: ", ";\n width: ", ";\n transition: width 0.6s, opacity 0.3s;\n"])), function (_ref7) {
|
|
18080
17185
|
var isPushed = _ref7.isPushed;
|
|
18081
17186
|
return isPushed ? 1 : 0;
|
|
18082
17187
|
}, function (_ref8) {
|
|
@@ -18184,14 +17289,9 @@ var LangSelector = /*#__PURE__*/React__default.memo(LangSelector$1, function (pr
|
|
|
18184
17289
|
return prev.currentLang === next.currentLang && prev.isPushed === next.isPushed;
|
|
18185
17290
|
});
|
|
18186
17291
|
|
|
18187
|
-
var
|
|
18188
|
-
|
|
18189
|
-
|
|
18190
|
-
})(["flex:none;padding:5px 5px 20px 5px;background-color:transparent;position:relative;width:100%;margin-top:15px;"]);
|
|
18191
|
-
var SettingsEntry = styled.div.withConfig({
|
|
18192
|
-
displayName: "PanelFooter__SettingsEntry",
|
|
18193
|
-
componentId: "sc-11jjlfd-1"
|
|
18194
|
-
})(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;"]);
|
|
17292
|
+
var _templateObject$h, _templateObject2$d;
|
|
17293
|
+
var Container = styled.div(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n flex: none;\n padding: 5px 5px 20px 5px;\n background-color: transparent;\n position: relative;\n width: 100%;\n margin-top: 15px;\n"])));
|
|
17294
|
+
var SettingsEntry = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: auto;\n"])));
|
|
18195
17295
|
var PanelFooter = function PanelFooter(_ref) {
|
|
18196
17296
|
var isPushed = _ref.isPushed;
|
|
18197
17297
|
_ref.pushNav;
|
|
@@ -18216,33 +17316,23 @@ var PanelFooter = function PanelFooter(_ref) {
|
|
|
18216
17316
|
});
|
|
18217
17317
|
};
|
|
18218
17318
|
|
|
18219
|
-
var
|
|
18220
|
-
|
|
18221
|
-
componentId: "sc-ialwsc-0"
|
|
18222
|
-
})(["&:hover{div,a{svg{path{fill:", ";}}}div,a{color:rgba(255,255,255,1);}}"], function (_ref) {
|
|
17319
|
+
var _templateObject$g;
|
|
17320
|
+
var MobileEntry = styled.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n &:hover {\n div,\n a {\n svg {\n path {\n fill: ", ";\n }\n }\n }\n\n div,\n a {\n color: rgba(255, 255, 255, 1);\n }\n }\n"])), function (_ref) {
|
|
18223
17321
|
var theme = _ref.theme;
|
|
18224
17322
|
return theme.colors.primary;
|
|
18225
17323
|
});
|
|
18226
17324
|
|
|
17325
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$a;
|
|
18227
17326
|
var MOBILE_MENU_PANEL_HEIGHT = 83;
|
|
18228
|
-
var MobileMenuContainer = styled.div
|
|
18229
|
-
displayName: "MobileMenu__MobileMenuContainer",
|
|
18230
|
-
componentId: "sc-11f9rbo-0"
|
|
18231
|
-
})(["position:fixed;bottom:0px;width:100%;right:0px;left:0px;z-index:98;height:", "px;display:none;flex-direction:row;justify-content:space-around;align-items:center;background:", ";", "{display:flex;}"], MOBILE_MENU_PANEL_HEIGHT, function (_ref) {
|
|
17327
|
+
var MobileMenuContainer = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n position: fixed;\n bottom: 0px;\n width: 100%;\n right: 0px;\n left: 0px;\n z-index: 98;\n height: ", "px;\n display: none;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n background: ", ";\n ", " {\n display: flex;\n }\n"])), MOBILE_MENU_PANEL_HEIGHT, function (_ref) {
|
|
18232
17328
|
var theme = _ref.theme;
|
|
18233
17329
|
return theme.colors.card;
|
|
18234
17330
|
}, function (_ref2) {
|
|
18235
17331
|
var theme = _ref2.theme;
|
|
18236
17332
|
return theme.mediaQueries.mobile;
|
|
18237
17333
|
});
|
|
18238
|
-
var MobileLink = styled(MenuLink)
|
|
18239
|
-
|
|
18240
|
-
componentId: "sc-11f9rbo-1"
|
|
18241
|
-
})(["display:flex;flex-direction:column;justify-items:soace-between;align-items:center;"]);
|
|
18242
|
-
var MenuLinkLabel = styled.div.withConfig({
|
|
18243
|
-
displayName: "MobileMenu__MenuLinkLabel",
|
|
18244
|
-
componentId: "sc-11f9rbo-2"
|
|
18245
|
-
})(["display:flex;flex-direction:row;font-weight:700;font-size:9px;color:white;"]);
|
|
17334
|
+
var MobileLink = styled(MenuLink)(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-items: soace-between;\n align-items: center;\n"])));
|
|
17335
|
+
var MenuLinkLabel = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n font-weight: 700;\n font-size: 9px;\n color: white;\n"])));
|
|
18246
17336
|
var Icons = IconModule;
|
|
18247
17337
|
var MobileMenu = function MobileMenu(_ref3) {
|
|
18248
17338
|
var links = _ref3.links,
|
|
@@ -18277,10 +17367,8 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
18277
17367
|
});
|
|
18278
17368
|
};
|
|
18279
17369
|
|
|
18280
|
-
var
|
|
18281
|
-
|
|
18282
|
-
componentId: "sc-1b3g4s2-0"
|
|
18283
|
-
})(["position:fixed;padding-top:100px;top:0;left:0;flex-direction:column;justify-content:space-between;flex-shrink:0;background-color:#191921;width:", ";height:100vh;transition:padding-top 0.2s,width 0.6s,box-shadow 0.4s;z-index:11;overflow:", ";transform:translate3d(0,0,0);", "{width:", ";padding-top:100px;margin-top:0px;transition:none;overflow-y:auto;padding-bottom:", "px;}"], function (_ref) {
|
|
17370
|
+
var _templateObject$e, _templateObject2$b;
|
|
17371
|
+
var StyledPanel = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n position: fixed;\n padding-top: 100px;\n top: 0;\n left: 0;\n flex-direction: column;\n justify-content: space-between;\n flex-shrink: 0;\n background-color: #191921;\n width: ", ";\n height: 100vh;\n transition: padding-top 0.2s, width 0.6s, box-shadow 0.4s;\n z-index: 11;\n overflow: ", ";\n transform: translate3d(0, 0, 0);\n ", " {\n width: ", ";\n padding-top: 100px;\n margin-top: 0px;\n transition: none;\n overflow-y: auto;\n padding-bottom: ", "px;\n }\n"])), function (_ref) {
|
|
18284
17372
|
var isPushed = _ref.isPushed;
|
|
18285
17373
|
return "".concat(isPushed ? SIDEBAR_WIDTH_FULL : SIDEBAR_WIDTH_REDUCED, "px");
|
|
18286
17374
|
}, function (_ref2) {
|
|
@@ -18293,10 +17381,7 @@ var StyledPanel = styled.div.withConfig({
|
|
|
18293
17381
|
var isPushed = _ref4.isPushed;
|
|
18294
17382
|
return isPushed ? "100%" : "0px";
|
|
18295
17383
|
}, MOBILE_MENU_PANEL_HEIGHT);
|
|
18296
|
-
var RowSplitter = styled.div
|
|
18297
|
-
displayName: "Panel__RowSplitter",
|
|
18298
|
-
componentId: "sc-1b3g4s2-1"
|
|
18299
|
-
})(["border:1px solid #252530;margin:", ";"], function (_ref5) {
|
|
17384
|
+
var RowSplitter = styled.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n border: 1px solid #252530;\n margin: ", ";\n"])), function (_ref5) {
|
|
18300
17385
|
var isPushed = _ref5.isPushed;
|
|
18301
17386
|
return isPushed ? "20px" : "20px 15px";
|
|
18302
17387
|
});
|
|
@@ -18318,26 +17403,12 @@ var Panel = function Panel(props) {
|
|
|
18318
17403
|
});
|
|
18319
17404
|
};
|
|
18320
17405
|
|
|
18321
|
-
var
|
|
18322
|
-
|
|
18323
|
-
|
|
18324
|
-
|
|
18325
|
-
var
|
|
18326
|
-
|
|
18327
|
-
componentId: "sc-11tnsw3-1"
|
|
18328
|
-
})(["max-width:430px;"]);
|
|
18329
|
-
var CheckBoxContainer = styled.div.withConfig({
|
|
18330
|
-
displayName: "DisclaimerModal__CheckBoxContainer",
|
|
18331
|
-
componentId: "sc-11tnsw3-2"
|
|
18332
|
-
})(["width:20%;display:flex;justify-content:center;align-items:center;"]);
|
|
18333
|
-
var ButtonContainer = styled.div.withConfig({
|
|
18334
|
-
displayName: "DisclaimerModal__ButtonContainer",
|
|
18335
|
-
componentId: "sc-11tnsw3-3"
|
|
18336
|
-
})(["margin-top:25px;"]);
|
|
18337
|
-
var ListContainer = styled.div.withConfig({
|
|
18338
|
-
displayName: "DisclaimerModal__ListContainer",
|
|
18339
|
-
componentId: "sc-11tnsw3-4"
|
|
18340
|
-
})(["font-size:13px;color:white;margin-bottom:10px;padding-left:14px;ul li{list-style-position:outside;padding:4px;line-height:17px;}"]);
|
|
17406
|
+
var _templateObject$d, _templateObject2$a, _templateObject3$9, _templateObject4$8, _templateObject5$6;
|
|
17407
|
+
var Space = styled.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 30px;\n"])));
|
|
17408
|
+
var DisclaimerContainer = styled.div(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n max-width: 430px;\n"])));
|
|
17409
|
+
var CheckBoxContainer = styled.div(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n width: 20%;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
|
|
17410
|
+
var ButtonContainer = styled.div(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n margin-top: 25px;\n"])));
|
|
17411
|
+
var ListContainer = styled.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteral(["\n font-size: 13px;\n color: white;\n margin-bottom: 10px;\n padding-left: 14px;\n ul li {\n list-style-position: outside;\n padding: 4px;\n line-height: 17px;\n }\n"])));
|
|
18341
17412
|
var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
18342
17413
|
var _ref$onDismiss = _ref.onDismiss,
|
|
18343
17414
|
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
@@ -18579,21 +17650,13 @@ var useAutoDisclaimer = function useAutoDisclaimer(_ref) {
|
|
|
18579
17650
|
}, [disclaimer, disclaimerConnector, inProgress, login, onPresentDisclaimerModal, title]);
|
|
18580
17651
|
};
|
|
18581
17652
|
|
|
18582
|
-
var
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
})(["display:flex;justify-content:flex-end;@media (max-width:608px){flex:100%;}"]);
|
|
18586
|
-
var ConnectButton = styled(Button$1).withConfig({
|
|
18587
|
-
displayName: "UserBlock__ConnectButton",
|
|
18588
|
-
componentId: "sc-1speva4-1"
|
|
18589
|
-
})(["color:black;width:180px;box-shadow:0px 9px 63px rgba(18,255,184,0.22);font-weight:700;height:40px;", "{width:113px;height:31px;font-size:11px;padding:0px 10px;}"], function (_ref) {
|
|
17653
|
+
var _templateObject$c, _templateObject2$9, _templateObject3$8, _templateObject4$7, _templateObject5$5;
|
|
17654
|
+
var UserBlockWrapper = styled.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n\n @media (max-width: 608px) {\n flex: 100%;\n }\n"])));
|
|
17655
|
+
var ConnectButton = styled(Button$1)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n color: black;\n width: 180px;\n box-shadow: 0px 9px 63px rgba(18, 255, 184, 0.22);\n font-weight: 700;\n height: 40px;\n ", " {\n width: 113px;\n height: 31px;\n font-size: 11px;\n padding: 0px 10px;\n }\n"])), function (_ref) {
|
|
18590
17656
|
var theme = _ref.theme;
|
|
18591
17657
|
return theme.mediaQueries.mobile;
|
|
18592
17658
|
});
|
|
18593
|
-
var AccountButton = styled(Button$1)
|
|
18594
|
-
displayName: "UserBlock__AccountButton",
|
|
18595
|
-
componentId: "sc-1speva4-2"
|
|
18596
|
-
})(["display:flex;flex-direction:", ";align-items:", ";color:white;padding:10px;height:40px;width:144px;background:#2b2b38;", "{height:31px;width:116px;font-size:11px;padding:0px 10px;}"], function (_ref2) {
|
|
17659
|
+
var AccountButton = styled(Button$1)(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: ", ";\n color: white;\n padding: 10px;\n height: 40px;\n width: 144px;\n background: #2b2b38;\n ", " {\n height: 31px;\n width: 116px;\n font-size: 11px;\n padding: 0px 10px;\n }\n"])), function (_ref2) {
|
|
18597
17660
|
var isUserVerified = _ref2.isUserVerified;
|
|
18598
17661
|
return isUserVerified ? "row" : "column-reverse";
|
|
18599
17662
|
}, function (_ref3) {
|
|
@@ -18603,17 +17666,11 @@ var AccountButton = styled(Button$1).withConfig({
|
|
|
18603
17666
|
var theme = _ref4.theme;
|
|
18604
17667
|
return theme.mediaQueries.mobile;
|
|
18605
17668
|
});
|
|
18606
|
-
var VerifyAddressIndicator = styled(Text)
|
|
18607
|
-
displayName: "UserBlock__VerifyAddressIndicator",
|
|
18608
|
-
componentId: "sc-1speva4-3"
|
|
18609
|
-
})(["color:#f6465d;", "{font-size:10px;}"], function (_ref5) {
|
|
17669
|
+
var VerifyAddressIndicator = styled(Text)(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteral(["\n color: #f6465d;\n ", " {\n font-size: 10px;\n }\n"])), function (_ref5) {
|
|
18610
17670
|
var theme = _ref5.theme;
|
|
18611
17671
|
return theme.mediaQueries.mobile;
|
|
18612
17672
|
});
|
|
18613
|
-
var Account = styled(Text)
|
|
18614
|
-
displayName: "UserBlock__Account",
|
|
18615
|
-
componentId: "sc-1speva4-4"
|
|
18616
|
-
})(["margin-bottom:", ";", "{font-size:10px;}"], function (_ref6) {
|
|
17673
|
+
var Account = styled(Text)(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n ", " {\n font-size: 10px;\n }\n"])), function (_ref6) {
|
|
18617
17674
|
var isUserVerified = _ref6.isUserVerified;
|
|
18618
17675
|
return !isUserVerified && "-5px";
|
|
18619
17676
|
}, function (_ref7) {
|
|
@@ -18665,10 +17722,8 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
18665
17722
|
});
|
|
18666
17723
|
};
|
|
18667
17724
|
|
|
18668
|
-
var
|
|
18669
|
-
|
|
18670
|
-
componentId: "sc-1ga2zxd-0"
|
|
18671
|
-
})(["height:40px;width:50px;overflow:visible;cursor:pointer;margin-right:28px;display:", ";z-index:999;", "{display:", ";position:fixed;bottom:107px;left:initial;right:0px;height:50px;}"], function (_ref) {
|
|
17725
|
+
var _templateObject$b, _templateObject2$8, _templateObject3$7;
|
|
17726
|
+
var BellBoxWrapper = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n height: 40px;\n width: 50px;\n overflow: visible;\n cursor: pointer;\n margin-right: 28px;\n display: ", ";\n z-index: 999;\n ", " {\n display: ", ";\n position: fixed;\n bottom: 107px;\n left: initial;\n right: 0px;\n height: 50px;\n }\n"])), function (_ref) {
|
|
18672
17727
|
var mobile = _ref.mobile;
|
|
18673
17728
|
return mobile ? "none" : "block";
|
|
18674
17729
|
}, function (_ref2) {
|
|
@@ -18679,10 +17734,7 @@ var BellBoxWrapper = styled.div.withConfig({
|
|
|
18679
17734
|
hasMsg = _ref3.hasMsg;
|
|
18680
17735
|
return mobile && hasMsg ? "block" : "none";
|
|
18681
17736
|
});
|
|
18682
|
-
var BellBox = styled(Link)
|
|
18683
|
-
displayName: "BellNotifier__BellBox",
|
|
18684
|
-
componentId: "sc-1ga2zxd-1"
|
|
18685
|
-
})(["position:relative;display:flex;justify-content:center;align-items:center;height:100%;width:100%;border:1px solid ", ";border-radius:10px;background:", ";box-sizing:border-box;", "{border-radius:50%;}", " ", ""], function (_ref4) {
|
|
17737
|
+
var BellBox = styled(Link)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n border: 1px solid ", ";\n border-radius: 10px;\n background: ", ";\n box-sizing: border-box;\n ", " {\n border-radius: 50%;\n }\n ", "\n ", "\n"])), function (_ref4) {
|
|
18686
17738
|
var hasMsg = _ref4.hasMsg,
|
|
18687
17739
|
theme = _ref4.theme;
|
|
18688
17740
|
return hasMsg ? "#1AC8FF" : theme.backgrounds.secondary;
|
|
@@ -18700,10 +17752,7 @@ var BellBox = styled(Link).withConfig({
|
|
|
18700
17752
|
var hasMsg = _ref8.hasMsg;
|
|
18701
17753
|
return hasMsg && "\n box-shadow: 0px 0px 14px 3px rgba(46, 124, 246, 0.25);\n ";
|
|
18702
17754
|
});
|
|
18703
|
-
var NotificationNumber = styled.div.
|
|
18704
|
-
displayName: "BellNotifier__NotificationNumber",
|
|
18705
|
-
componentId: "sc-1ga2zxd-2"
|
|
18706
|
-
})(["position:absolute;top:4px;right:3px;display:flex;justify-content:center;align-items:center;width:18.46px;height:18.46px;background:#de4040;border-radius:50%;opacity:", ";transition:all 0.25s ease-in-out;animation:stretch 2s infinite;", "{top:12.25px;right:7px;}@keyframes stretch{0%{transform:scale(1);}50%{transform:scale(1.2);}100%{transform:scale(1);}}"], function (_ref9) {
|
|
17755
|
+
var NotificationNumber = styled.div(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n position: absolute;\n top: 4px;\n right: 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 18.46px;\n height: 18.46px;\n background: #de4040;\n border-radius: 50%;\n opacity: ", ";\n transition: all 0.25s ease-in-out;\n animation: stretch 2s infinite;\n ", " {\n top: 12.25px;\n right: 7px;\n }\n @keyframes stretch {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.2);\n }\n\n 100% {\n transform: scale(1);\n }\n }\n"])), function (_ref9) {
|
|
18707
17756
|
var hasMsg = _ref9.hasMsg;
|
|
18708
17757
|
return hasMsg ? 1 : 0;
|
|
18709
17758
|
}, function (_ref0) {
|
|
@@ -18740,10 +17789,8 @@ var BellNotifier = function BellNotifier(_ref1) {
|
|
|
18740
17789
|
});
|
|
18741
17790
|
};
|
|
18742
17791
|
|
|
18743
|
-
var
|
|
18744
|
-
|
|
18745
|
-
componentId: "sc-uo8r8r-0"
|
|
18746
|
-
})(["padding:", "px;outline:none;border:none;width:", "px;height:40px;background:#2b2b38;border-radius:10px;display:flex;flex-direction:row;justify-content:space-around;align-items:center;color:black;cursor:pointer;position:relative;&:active{background:", ";}", "{width:113px;height:31px;font-size:11px;padding:0px 10px;margin:0 6px;}transition:all 0.5s ease-in;"], function (props) {
|
|
17792
|
+
var _templateObject$a, _templateObject2$7, _templateObject3$6, _templateObject4$6;
|
|
17793
|
+
var CryptoDropdownWrapper = styled.button(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n padding: ", "px;\n outline: none;\n border: none;\n width: ", "px;\n height: 40px;\n background: #2b2b38;\n border-radius: 10px;\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n color: black;\n cursor: pointer;\n position: relative;\n &:active {\n background: ", ";\n }\n ", " {\n width: 113px;\n height: 31px;\n font-size: 11px;\n padding: 0px 10px;\n margin: 0 6px;\n }\n transition: all 0.5s ease-in;\n"])), function (props) {
|
|
18747
17794
|
return props.extended ? "6px 5px 6px 10px" : "10px";
|
|
18748
17795
|
}, function (props) {
|
|
18749
17796
|
return props.extended ? 130 : 70;
|
|
@@ -18754,10 +17801,7 @@ var CryptoDropdownWrapper = styled.button.withConfig({
|
|
|
18754
17801
|
var theme = _ref2.theme;
|
|
18755
17802
|
return theme.mediaQueries.mobile;
|
|
18756
17803
|
});
|
|
18757
|
-
var ButtonsContainer = styled.div.
|
|
18758
|
-
displayName: "CryptoButton__ButtonsContainer",
|
|
18759
|
-
componentId: "sc-uo8r8r-1"
|
|
18760
|
-
})(["position:absolute;width:159px;height:89px;top:53px;right:0px;background:", ";border:1px solid ", ";box-sizing:border-box;opacity:", ";display:flex;z-index:", "999;transition-property:opacity,box-shadow;transition-duration:0.5s,0.3s;box-shadow:0px 0px 24px -11px rgba(0,0,0,0.25);border-radius:10px;flex-direction:column;justify-content:space-between;align-items:center;", "{display:", ";}"], function (_ref3) {
|
|
17804
|
+
var ButtonsContainer = styled.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n position: absolute;\n width: 159px;\n height: 89px;\n top: 53px;\n right: 0px;\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n opacity: ", ";\n display: flex;\n z-index: ", "999;\n transition-property: opacity, box-shadow;\n transition-duration: 0.5s, 0.3s;\n box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.25);\n border-radius: 10px;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n ", " {\n display: ", ";\n }\n"])), function (_ref3) {
|
|
18761
17805
|
var theme = _ref3.theme;
|
|
18762
17806
|
return theme.backgrounds.secondary;
|
|
18763
17807
|
}, function (_ref4) {
|
|
@@ -18773,14 +17817,8 @@ var ButtonsContainer = styled.div.withConfig({
|
|
|
18773
17817
|
}, function (props) {
|
|
18774
17818
|
return props.visible ? "flex" : "none";
|
|
18775
17819
|
});
|
|
18776
|
-
var ButtonRow = styled(Link)
|
|
18777
|
-
|
|
18778
|
-
componentId: "sc-uo8r8r-2"
|
|
18779
|
-
})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:11px;width:100%;height:100%;overflow:visible;z-index:99999;svg{opacity:0.55;}&:hover{svg{opacity:1;}}transition:all 0.3s ease-in;"]);
|
|
18780
|
-
var ButtonsSpacer = styled.div.withConfig({
|
|
18781
|
-
displayName: "CryptoButton__ButtonsSpacer",
|
|
18782
|
-
componentId: "sc-uo8r8r-3"
|
|
18783
|
-
})(["border:1px solid #373749;width:calc(100% - 20px);"]);
|
|
17820
|
+
var ButtonRow = styled(Link)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 11px;\n width: 100%;\n height: 100%;\n overflow: visible;\n z-index: 99999;\n svg {\n opacity: 0.55;\n }\n &:hover {\n svg {\n opacity: 1;\n }\n }\n transition: all 0.3s ease-in;\n"])));
|
|
17821
|
+
var ButtonsSpacer = styled.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n border: 1px solid #373749;\n width: calc(100% - 20px);\n"])));
|
|
18784
17822
|
var CryptoButton = function CryptoButton(_ref6) {
|
|
18785
17823
|
var _ref6$extended = _ref6.extended,
|
|
18786
17824
|
extended = _ref6$extended === void 0 ? false : _ref6$extended,
|
|
@@ -18865,10 +17903,8 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
18865
17903
|
});
|
|
18866
17904
|
};
|
|
18867
17905
|
|
|
18868
|
-
var
|
|
18869
|
-
|
|
18870
|
-
componentId: "sc-3kmnlp-0"
|
|
18871
|
-
})(["display:flex;justify-content:center;align-items:center;cursor:pointer;width:40px;height:40px;border-radius:10px;background:#2b2b38;svg{fill:", ";path{fill:", ";}}", "{width:32px;height:32px;border-radius:8px;}"], function (_ref) {
|
|
17906
|
+
var _templateObject$9, _templateObject2$6;
|
|
17907
|
+
var StyledUserButton = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n width: 40px;\n height: 40px;\n border-radius: 10px;\n background: #2b2b38;\n svg {\n fill: ", ";\n path {\n fill: ", ";\n }\n }\n ", " {\n width: 32px;\n height: 32px;\n border-radius: 8px;\n }\n"])), function (_ref) {
|
|
18872
17908
|
var theme = _ref.theme;
|
|
18873
17909
|
return theme.colors.primary;
|
|
18874
17910
|
}, function (_ref2) {
|
|
@@ -18878,10 +17914,7 @@ var StyledUserButton = styled.div.withConfig({
|
|
|
18878
17914
|
var theme = _ref3.theme;
|
|
18879
17915
|
return theme.mediaQueries.mobile;
|
|
18880
17916
|
});
|
|
18881
|
-
var StyledUserIcon = styled(Icon$1c)
|
|
18882
|
-
displayName: "UserButton__StyledUserIcon",
|
|
18883
|
-
componentId: "sc-3kmnlp-1"
|
|
18884
|
-
})(["", "{height:18px;}"], function (_ref4) {
|
|
17917
|
+
var StyledUserIcon = styled(Icon$1c)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral(["\n ", " {\n height: 18px;\n }\n"])), function (_ref4) {
|
|
18885
17918
|
var theme = _ref4.theme;
|
|
18886
17919
|
return theme.mediaQueries.mobile;
|
|
18887
17920
|
});
|
|
@@ -18900,25 +17933,14 @@ var UserButton = function UserButton(_ref5) {
|
|
|
18900
17933
|
});
|
|
18901
17934
|
};
|
|
18902
17935
|
|
|
18903
|
-
var
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
})(["position:relative;width:100%;height:100%;overscroll-behavior-y:contain;scroll-snap-type:y proximity;"]);
|
|
18907
|
-
var StyledNav = styled.nav.withConfig({
|
|
18908
|
-
displayName: "Menu__StyledNav",
|
|
18909
|
-
componentId: "sc-2hf3ez-1"
|
|
18910
|
-
})(["align-items:flex-start;position:fixed;left:0;transition:top 0.2s;display:flex;justify-content:space-between;padding:30px 15px;background-color:transparent;z-index:20;transform:translate3d(0,0,0);", "{position:absolute;left:-12px;};"], function (_ref) {
|
|
17936
|
+
var _templateObject$8, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$4, _templateObject6$3;
|
|
17937
|
+
var Wrapper = styled.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 100%;\n overscroll-behavior-y: contain;\n scroll-snap-type: y proximity;\n"])));
|
|
17938
|
+
var StyledNav = styled.nav(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n align-items: flex-start;\n position: fixed;\n left: 0;\n transition: top 0.2s;\n display: flex;\n justify-content: space-between;\n padding: 30px 15px;\n background-color: transparent;\n z-index: 20;\n transform: translate3d(0, 0, 0);\n ", " {\n position: absolute;\n left: -12px;\n } ;\n"])), function (_ref) {
|
|
18911
17939
|
var theme = _ref.theme;
|
|
18912
17940
|
return theme.mediaQueries.mobile;
|
|
18913
17941
|
});
|
|
18914
|
-
var BodyWrapper = styled.div
|
|
18915
|
-
|
|
18916
|
-
componentId: "sc-2hf3ez-2"
|
|
18917
|
-
})(["position:relative;display:flex;min-height:100vh;"]);
|
|
18918
|
-
var Inner = styled.div.withConfig({
|
|
18919
|
-
displayName: "Menu__Inner",
|
|
18920
|
-
componentId: "sc-2hf3ez-3"
|
|
18921
|
-
})(["flex-grow:1;margin-top:25px;transition:margin-top 0.2s;transform:translate3d(0,0,0);margin-left:", "px;max-width:calc(100% - ", "px);", "{max-width:100%;margin-left:0px;}"], SIDEBAR_WIDTH_REDUCED, SIDEBAR_WIDTH_REDUCED, function (_ref2) {
|
|
17942
|
+
var BodyWrapper = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n min-height: 100vh;\n"])));
|
|
17943
|
+
var Inner = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n flex-grow: 1;\n margin-top: 25px;\n transition: margin-top 0.2s;\n transform: translate3d(0, 0, 0);\n margin-left: ", "px;\n max-width: calc(100% - ", "px);\n ", " {\n max-width: 100%;\n margin-left: 0px;\n }\n"])), SIDEBAR_WIDTH_REDUCED, SIDEBAR_WIDTH_REDUCED, function (_ref2) {
|
|
18922
17944
|
var theme = _ref2.theme;
|
|
18923
17945
|
return theme.mediaQueries.mobile;
|
|
18924
17946
|
});
|
|
@@ -18930,10 +17952,7 @@ var Inner = styled.div.withConfig({
|
|
|
18930
17952
|
// opacity: 0;
|
|
18931
17953
|
// }
|
|
18932
17954
|
// `;
|
|
18933
|
-
var ButtonsRow$1 = styled.div
|
|
18934
|
-
displayName: "Menu__ButtonsRow",
|
|
18935
|
-
componentId: "sc-2hf3ez-4"
|
|
18936
|
-
})(["display:flex;justify-content:flex-end;aling-items:center;flex-direction:row;background:transparent;", "{z-index:99999;position:", ";top:30px;right:25px;padding-bottom:30px;", "}"], function (_ref3) {
|
|
17955
|
+
var ButtonsRow$1 = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n aling-items: center;\n flex-direction: row;\n background: transparent;\n ", " {\n z-index: 99999;\n position: ", ";\n top: 30px;\n right: 25px;\n padding-bottom: 30px;\n ", "\n }\n"])), function (_ref3) {
|
|
18937
17956
|
var theme = _ref3.theme;
|
|
18938
17957
|
return theme.mediaQueries.mobile;
|
|
18939
17958
|
}, function (_ref4) {
|
|
@@ -18943,10 +17962,7 @@ var ButtonsRow$1 = styled.div.withConfig({
|
|
|
18943
17962
|
var isPushed = _ref5.isPushed;
|
|
18944
17963
|
return !isPushed && "\n margin-right: 12px;\n margin-top: 5px;\n ";
|
|
18945
17964
|
});
|
|
18946
|
-
var MenuContent = styled.div.
|
|
18947
|
-
displayName: "Menu__MenuContent",
|
|
18948
|
-
componentId: "sc-2hf3ez-5"
|
|
18949
|
-
})(["display:flex;gap:20px;flex-direction:row-reverse;transition:all 0.2s;width:100%;", "{margin-right:50px;}@media (max-width:900px){flex-direction:column;gap:7px;align-items:flex-end;}"], function (_ref6) {
|
|
17965
|
+
var MenuContent = styled.div(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["\n display: flex;\n gap: 20px;\n flex-direction: row-reverse;\n transition: all 0.2s;\n width: 100%;\n\n ", " {\n margin-right: 50px;\n }\n\n @media (max-width: 900px) {\n flex-direction: column;\n gap: 7px;\n align-items: flex-end;\n }\n"])), function (_ref6) {
|
|
18950
17966
|
var theme = _ref6.theme;
|
|
18951
17967
|
return theme.mediaQueries.mobile;
|
|
18952
17968
|
});
|
|
@@ -19175,11 +18191,9 @@ var types = {
|
|
|
19175
18191
|
};
|
|
19176
18192
|
|
|
19177
18193
|
var _excluded = ["toast", "onRemove", "style", "ttl"];
|
|
18194
|
+
var _templateObject$7;
|
|
19178
18195
|
var alertTypeMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, types.INFO, variants$3.INFO), types.SUCCESS, variants$3.SUCCESS), types.DANGER, variants$3.DANGER), types.WARNING, variants$3.WARNING);
|
|
19179
|
-
var StyledToast = styled.div
|
|
19180
|
-
displayName: "Toast__StyledToast",
|
|
19181
|
-
componentId: "sc-1y3cmzu-0"
|
|
19182
|
-
})(["right:30px;position:fixed;max-width:calc(100% - 32px);transition:all 250ms ease-in;width:100%;", "{max-width:400px;}"], function (_ref) {
|
|
18196
|
+
var StyledToast = styled.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n right: 30px; // 14px+\n position: fixed;\n max-width: calc(100% - 32px);\n transition: all 250ms ease-in;\n width: 100%;\n\n ", " {\n max-width: 400px;\n }\n"])), function (_ref) {
|
|
19183
18197
|
var theme = _ref.theme;
|
|
19184
18198
|
return theme.mediaQueries.sm;
|
|
19185
18199
|
});
|
|
@@ -19253,12 +18267,10 @@ var Toast = function Toast(_ref2) {
|
|
|
19253
18267
|
);
|
|
19254
18268
|
};
|
|
19255
18269
|
|
|
18270
|
+
var _templateObject$6;
|
|
19256
18271
|
var ZINDEX = 1000;
|
|
19257
18272
|
var TOP_POSITION = 94; // Initial position from the top, 14px+
|
|
19258
|
-
var StyledToastContainer = styled.div.
|
|
19259
|
-
displayName: "ToastContainer__StyledToastContainer",
|
|
19260
|
-
componentId: "sc-1cnkl3o-0"
|
|
19261
|
-
})([".enter,.appear{opacity:0.01;}.enter.enter-active,.appear.appear-active{opacity:1;transition:opacity 250ms ease-in;}.exit{opacity:1;}.exit.exit-active{opacity:0.01;transition:opacity 250ms ease-out;}"]);
|
|
18273
|
+
var StyledToastContainer = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n .enter,\n .appear {\n opacity: 0.01;\n }\n\n .enter.enter-active,\n .appear.appear-active {\n opacity: 1;\n transition: opacity 250ms ease-in;\n }\n\n .exit {\n opacity: 1;\n }\n\n .exit.exit-active {\n opacity: 0.01;\n transition: opacity 250ms ease-out;\n }\n"])));
|
|
19262
18274
|
var ToastContainer = function ToastContainer(_ref) {
|
|
19263
18275
|
var toasts = _ref.toasts,
|
|
19264
18276
|
onRemove = _ref.onRemove,
|
|
@@ -19285,26 +18297,12 @@ var ToastContainer = function ToastContainer(_ref) {
|
|
|
19285
18297
|
});
|
|
19286
18298
|
};
|
|
19287
18299
|
|
|
19288
|
-
var
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
var
|
|
19293
|
-
|
|
19294
|
-
componentId: "sc-1hw1n7f-1"
|
|
19295
|
-
})(["width:305px;text-align:center;margin-top:32px;margin-bottom:32px;"]);
|
|
19296
|
-
var ModalText$1 = styled(Text).withConfig({
|
|
19297
|
-
displayName: "VerificationModal__ModalText",
|
|
19298
|
-
componentId: "sc-1hw1n7f-2"
|
|
19299
|
-
})(["line-height:170%;"]);
|
|
19300
|
-
var ButtonsRow = styled.div.withConfig({
|
|
19301
|
-
displayName: "VerificationModal__ButtonsRow",
|
|
19302
|
-
componentId: "sc-1hw1n7f-3"
|
|
19303
|
-
})(["display:flex;justify-content:space-around;align-items:center;width:100%;"]);
|
|
19304
|
-
var ModalButton$1 = styled(Button$1).withConfig({
|
|
19305
|
-
displayName: "VerificationModal__ModalButton",
|
|
19306
|
-
componentId: "sc-1hw1n7f-4"
|
|
19307
|
-
})(["width:120px;padding:0 8px;"]);
|
|
18300
|
+
var _templateObject$5, _templateObject2$4, _templateObject3$4, _templateObject4$4, _templateObject5$3;
|
|
18301
|
+
var VerificationModalContent = styled.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n margin-top: -30px;\n"])));
|
|
18302
|
+
var DescriptionSection = styled.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n width: 305px;\n text-align: center;\n margin-top: 32px;\n margin-bottom: 32px;\n"])));
|
|
18303
|
+
var ModalText$1 = styled(Text)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n line-height: 170%;\n"])));
|
|
18304
|
+
var ButtonsRow = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-around;\n align-items: center;\n width: 100%;\n"])));
|
|
18305
|
+
var ModalButton$1 = styled(Button$1)(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["\n width: 120px;\n padding: 0 8px;\n"])));
|
|
19308
18306
|
var VerificationModal = function VerificationModal(props) {
|
|
19309
18307
|
var onVerify = props.onVerify,
|
|
19310
18308
|
modalDescription = props.modalDescription,
|
|
@@ -19374,24 +18372,16 @@ var useVerificationModal = function useVerificationModal(_ref) {
|
|
|
19374
18372
|
};
|
|
19375
18373
|
};
|
|
19376
18374
|
|
|
19377
|
-
var
|
|
19378
|
-
|
|
19379
|
-
|
|
19380
|
-
})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:center;height:100%;margin-top:-30px;"]);
|
|
19381
|
-
var ModalText = styled(Text).withConfig({
|
|
19382
|
-
displayName: "IdoExtensionsModal__ModalText",
|
|
19383
|
-
componentId: "sc-cbodpl-1"
|
|
19384
|
-
})(["line-height:170%;width:", ";", "{width:90%;}"], function (_ref) {
|
|
18375
|
+
var _templateObject$4, _templateObject2$3, _templateObject3$3, _templateObject4$3, _templateObject5$2, _templateObject6$2;
|
|
18376
|
+
var IdoExtensionsModalContent = styled.div(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n margin-top: -30px;\n"])));
|
|
18377
|
+
var ModalText = styled(Text)(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n line-height: 170%;\n width: ", ";\n ", " {\n width: 90%;\n }\n"])), function (_ref) {
|
|
19385
18378
|
var textWidth = _ref.textWidth;
|
|
19386
18379
|
return textWidth ? "".concat(textWidth, "px") : "100%";
|
|
19387
18380
|
}, function (_ref2) {
|
|
19388
18381
|
var theme = _ref2.theme;
|
|
19389
18382
|
return theme.mediaQueries.tablet;
|
|
19390
18383
|
});
|
|
19391
|
-
var InputWrapper = styled.div
|
|
19392
|
-
displayName: "IdoExtensionsModal__InputWrapper",
|
|
19393
|
-
componentId: "sc-cbodpl-2"
|
|
19394
|
-
})(["position:relative;width:100%;margin-top:", "px;min-width:420px;", "{min-width:100%;}", "{margin-top:10px;}"], function (_ref3) {
|
|
18384
|
+
var InputWrapper = styled.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n margin-top: ", "px;\n min-width: 420px;\n ", " {\n min-width: 100%;\n }\n ", " {\n margin-top: 10px;\n }\n"])), function (_ref3) {
|
|
19395
18385
|
var marginTop = _ref3.marginTop;
|
|
19396
18386
|
return marginTop || 0;
|
|
19397
18387
|
}, function (_ref4) {
|
|
@@ -19401,21 +18391,12 @@ var InputWrapper = styled.div.withConfig({
|
|
|
19401
18391
|
var theme = _ref5.theme;
|
|
19402
18392
|
return theme.mediaQueries.mobile;
|
|
19403
18393
|
});
|
|
19404
|
-
var InfoText = styled(Text)
|
|
19405
|
-
displayName: "IdoExtensionsModal__InfoText",
|
|
19406
|
-
componentId: "sc-cbodpl-3"
|
|
19407
|
-
})(["text-align:center;font-weight:400;font-size:14px;line-height:160%;color:#535459;margin-top:24px;b{color:", ";cursor:pointer;}"], function (_ref6) {
|
|
18394
|
+
var InfoText = styled(Text)(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n text-align: center;\n font-weight: 400;\n font-size: 14px;\n line-height: 160%;\n color: #535459;\n margin-top: 24px;\n b {\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref6) {
|
|
19408
18395
|
var theme = _ref6.theme;
|
|
19409
18396
|
return theme.colors.primary;
|
|
19410
18397
|
});
|
|
19411
|
-
var IdoExtensionsForm = styled.form
|
|
19412
|
-
|
|
19413
|
-
componentId: "sc-cbodpl-4"
|
|
19414
|
-
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;"]);
|
|
19415
|
-
var ModalButton = styled(Button$1).withConfig({
|
|
19416
|
-
displayName: "IdoExtensionsModal__ModalButton",
|
|
19417
|
-
componentId: "sc-cbodpl-5"
|
|
19418
|
-
})(["width:144px;margin-top:24px;font-size:14px;"]);
|
|
18398
|
+
var IdoExtensionsForm = styled.form(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
18399
|
+
var ModalButton = styled(Button$1)(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n width: 144px;\n margin-top: 24px;\n font-size: 14px;\n"])));
|
|
19419
18400
|
var IdoExtensionsModal = function IdoExtensionsModal(_ref7) {
|
|
19420
18401
|
var onExtensionsAdd = _ref7.onExtensionsAdd,
|
|
19421
18402
|
onDismiss = _ref7.onDismiss,
|
|
@@ -19451,8 +18432,9 @@ var IdoExtensionsModal = function IdoExtensionsModal(_ref7) {
|
|
|
19451
18432
|
if (!_.isNil(requiredWallet) && myAddresses) {
|
|
19452
18433
|
var _myAddresses$find;
|
|
19453
18434
|
if (_.isArray(requiredWallet.requiredValue)) {
|
|
18435
|
+
var requiredValueArray = requiredWallet.requiredValue;
|
|
19454
18436
|
var addressData = myAddresses === null || myAddresses === void 0 ? void 0 : myAddresses.filter(function (el) {
|
|
19455
|
-
return
|
|
18437
|
+
return requiredValueArray.includes(el.chainId);
|
|
19456
18438
|
})[0];
|
|
19457
18439
|
return {
|
|
19458
18440
|
wallet: addressData === null || addressData === void 0 ? void 0 : addressData.wallet,
|
|
@@ -19651,25 +18633,14 @@ var useIdoExtensionsModal = function useIdoExtensionsModal(_ref) {
|
|
|
19651
18633
|
};
|
|
19652
18634
|
};
|
|
19653
18635
|
|
|
19654
|
-
var
|
|
19655
|
-
|
|
19656
|
-
componentId: "sc-13wizbq-0"
|
|
19657
|
-
})(["display:flex;justify-content:space-between;align-items:space-around;flex-direction:column;padding:20px;background:", ";@-moz-document url-prefix(){background:rgba(36,36,36,0.95) !important;}border:1px solid rgba(255,255,255,0.03);box-sizing:border-box;border-radius:10px;max-height:170px;width:100%;height:100%;"], function (_ref) {
|
|
18636
|
+
var _templateObject$3, _templateObject2$2, _templateObject3$2, _templateObject4$2;
|
|
18637
|
+
var PriceContainerWrapper$1 = styled.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: space-around;\n flex-direction: column;\n padding: 20px;\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n border: 1px solid rgba(255, 255, 255, 0.03);\n box-sizing: border-box;\n border-radius: 10px;\n max-height: 170px;\n width: 100%;\n height: 100%;\n"])), function (_ref) {
|
|
19658
18638
|
var theme = _ref.theme;
|
|
19659
18639
|
return theme.backgrounds.secondary;
|
|
19660
18640
|
});
|
|
19661
|
-
var HeaderWrapper$1 = styled.div
|
|
19662
|
-
|
|
19663
|
-
|
|
19664
|
-
})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;"]);
|
|
19665
|
-
var OriginsWrapper = styled.div.withConfig({
|
|
19666
|
-
displayName: "PriceContainer__OriginsWrapper",
|
|
19667
|
-
componentId: "sc-13wizbq-2"
|
|
19668
|
-
})(["display:flex;justify-content:space-between;"]);
|
|
19669
|
-
var OriginTitle = styled(Text).withConfig({
|
|
19670
|
-
displayName: "PriceContainer__OriginTitle",
|
|
19671
|
-
componentId: "sc-13wizbq-3"
|
|
19672
|
-
})(["color:", ";cursor:pointer;padding:0px 12px;transition:all 0.5s;"], function (_ref2) {
|
|
18641
|
+
var HeaderWrapper$1 = styled.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 26px;\n"])));
|
|
18642
|
+
var OriginsWrapper = styled.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
18643
|
+
var OriginTitle = styled(Text)(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n color: ", ";\n cursor: pointer;\n padding: 0px 12px;\n transition: all 0.5s;\n"])), function (_ref2) {
|
|
19673
18644
|
var currentIndex = _ref2.currentIndex,
|
|
19674
18645
|
index = _ref2.index,
|
|
19675
18646
|
theme = _ref2.theme;
|
|
@@ -19719,28 +18690,17 @@ var PriceContainer = function PriceContainer(_ref3) {
|
|
|
19719
18690
|
});
|
|
19720
18691
|
};
|
|
19721
18692
|
|
|
19722
|
-
var
|
|
19723
|
-
|
|
19724
|
-
componentId: "sc-1yxjpp7-0"
|
|
19725
|
-
})(["display:flex;justify-content:flex-start;align-items:space-around;flex-direction:column;padding:20px;@-moz-document url-prefix(){background:", ";!important;}background:", ";border:1px solid rgba(255,255,255,0.03);box-sizing:border-box;border-radius:10px;box-shadow:none;position:relative;overflow:hidden;"], function (_ref) {
|
|
18693
|
+
var _templateObject$2, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1;
|
|
18694
|
+
var PriceContainerWrapper = styled.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: space-around;\n flex-direction: column;\n padding: 20px;\n @-moz-document url-prefix() {\n background: ", "; !important;\n }\n\n background: ", ";\n border: 1px solid rgba(255, 255, 255, 0.03);\n box-sizing: border-box;\n border-radius: 10px;\n box-shadow: none;\n\n position: relative;\n overflow: hidden;\n"])), function (_ref) {
|
|
19726
18695
|
var theme = _ref.theme;
|
|
19727
18696
|
return theme.backgrounds.secondary;
|
|
19728
18697
|
}, function (_ref2) {
|
|
19729
18698
|
var theme = _ref2.theme;
|
|
19730
18699
|
return theme.backgrounds.secondary;
|
|
19731
18700
|
});
|
|
19732
|
-
var HeaderWrapper = styled.div
|
|
19733
|
-
|
|
19734
|
-
|
|
19735
|
-
})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;"]);
|
|
19736
|
-
var TokensContainer = styled(GridLayout$1).withConfig({
|
|
19737
|
-
displayName: "TopTokensContainer__TokensContainer",
|
|
19738
|
-
componentId: "sc-1yxjpp7-2"
|
|
19739
|
-
})(["color:white;"]);
|
|
19740
|
-
var MainCoinWrapper = styled.div.withConfig({
|
|
19741
|
-
displayName: "TopTokensContainer__MainCoinWrapper",
|
|
19742
|
-
componentId: "sc-1yxjpp7-3"
|
|
19743
|
-
})(["grid-column:span 8;border-bottom:1px solid ", ";padding-bottom:10px;display:flex;justify-content:center;padding-right:20px;", "{grid-column:span 3;border-right:1px solid ", ";border-bottom:none;justify-content:flex-start;}"], function (_ref3) {
|
|
18701
|
+
var HeaderWrapper = styled.div(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 26px;\n"])));
|
|
18702
|
+
var TokensContainer = styled(GridLayout$1)(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n color: white;\n"])));
|
|
18703
|
+
var MainCoinWrapper = styled.div(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n grid-column: span 8;\n border-bottom: 1px solid ", ";\n padding-bottom: 10px;\n display: flex;\n justify-content: center;\n padding-right: 20px;\n ", " {\n grid-column: span 3;\n border-right: 1px solid ", ";\n border-bottom: none;\n justify-content: flex-start;\n }\n"])), function (_ref3) {
|
|
19744
18704
|
var theme = _ref3.theme;
|
|
19745
18705
|
return theme.colors.grey;
|
|
19746
18706
|
}, function (_ref4) {
|
|
@@ -19750,10 +18710,7 @@ var MainCoinWrapper = styled.div.withConfig({
|
|
|
19750
18710
|
var theme = _ref5.theme;
|
|
19751
18711
|
return theme.colors.grey;
|
|
19752
18712
|
});
|
|
19753
|
-
var TokensWrapper = styled.div
|
|
19754
|
-
displayName: "TopTokensContainer__TokensWrapper",
|
|
19755
|
-
componentId: "sc-1yxjpp7-4"
|
|
19756
|
-
})(["height:100%;display:flex;justify-content:", ";grid-column:span 8;padding-bottom:20px;", " ", "{padding-bottom:0px;}"], function (_ref6) {
|
|
18713
|
+
var TokensWrapper = styled.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n height: 100%;\n display: flex;\n justify-content: ", ";\n grid-column: span 8;\n padding-bottom: 20px;\n ", "\n ", " {\n padding-bottom: 0px;\n }\n"])), function (_ref6) {
|
|
19757
18714
|
var noData = _ref6.noData;
|
|
19758
18715
|
return noData ? "center" : "space-between";
|
|
19759
18716
|
}, function (_ref7) {
|
|
@@ -19763,14 +18720,8 @@ var TokensWrapper = styled.div.withConfig({
|
|
|
19763
18720
|
var theme = _ref8.theme;
|
|
19764
18721
|
return theme.mediaQueries.sm;
|
|
19765
18722
|
});
|
|
19766
|
-
var DotsContainer = styled.div
|
|
19767
|
-
|
|
19768
|
-
componentId: "sc-1yxjpp7-5"
|
|
19769
|
-
})(["position:absolute;display:flex;align-items:center;@media (min-width:576px){right:20px;top:29px;}@media (max-width:576px){left:50%;transform:translate(-50%);bottom:17px !important;}"]);
|
|
19770
|
-
var Dot = styled.div.withConfig({
|
|
19771
|
-
displayName: "TopTokensContainer__Dot",
|
|
19772
|
-
componentId: "sc-1yxjpp7-6"
|
|
19773
|
-
})(["width:8px;height:8px;display:inline - block;margin:0 8px;border-radius:99px;background:", ";border:", ";cursor:pointer;padding:3px;"], function (_ref9) {
|
|
18723
|
+
var DotsContainer = styled.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n align-items: center;\n @media (min-width: 576px) {\n right: 20px;\n top: 29px;\n }\n @media (max-width: 576px) {\n left: 50%;\n transform: translate(-50%);\n bottom: 17px !important;\n }\n"])));
|
|
18724
|
+
var Dot = styled.div(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n width: 8px;\n height: 8px;\n display: inline - block;\n margin: 0 8px;\n border-radius: 99px;\n background: ", ";\n border: ", ";\n cursor: pointer;\n padding: 3px;\n"])), function (_ref9) {
|
|
19774
18725
|
var active = _ref9.active,
|
|
19775
18726
|
theme = _ref9.theme;
|
|
19776
18727
|
return active ? theme.colors.blue : "transparent";
|
|
@@ -19864,47 +18815,24 @@ var TopTokensContainer = function TopTokensContainer(_ref1) {
|
|
|
19864
18815
|
});
|
|
19865
18816
|
};
|
|
19866
18817
|
|
|
19867
|
-
var
|
|
19868
|
-
|
|
19869
|
-
|
|
19870
|
-
})(["margin:0 auto;width:155px;text-align:center;border:1px solid #12ffb8;line-height:28px;border-radius:10px;margin:106px auto 26px;"]);
|
|
19871
|
-
var HowToParticipate = styled(Text).withConfig({
|
|
19872
|
-
displayName: "IdoInfoDescription__HowToParticipate",
|
|
19873
|
-
componentId: "sc-16j3rl5-1"
|
|
19874
|
-
})(["text-align:center;width:100%;", "{font-size:26px;width:200px;margin:0 auto;}"], function (_ref) {
|
|
18818
|
+
var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
18819
|
+
var ForParticipants = styled(Text)(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n margin: 0 auto;\n width: 155px;\n text-align: center;\n border: 1px solid #12ffb8;\n line-height: 28px;\n border-radius: 10px;\n margin: 106px auto 26px;\n"])));
|
|
18820
|
+
var HowToParticipate = styled(Text)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n text-align: center;\n width: 100%;\n ", " {\n font-size: 26px;\n width: 200px;\n margin: 0 auto;\n }\n"])), function (_ref) {
|
|
19875
18821
|
var theme = _ref.theme;
|
|
19876
18822
|
return theme.mediaQueries.mobile;
|
|
19877
18823
|
});
|
|
19878
|
-
var StepsWrapper = styled.div
|
|
19879
|
-
displayName: "IdoInfoDescription__StepsWrapper",
|
|
19880
|
-
componentId: "sc-16j3rl5-2"
|
|
19881
|
-
})(["display:flex;justify-content:space-between;align-items:flex-start;margin-top:40px;margin-bottom:60px;", "{flex-wrap:wrap;justify-content:center;row-gap:45px;}"], function (_ref2) {
|
|
18824
|
+
var StepsWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-top: 40px;\n margin-bottom: 60px;\n ", " {\n flex-wrap: wrap;\n justify-content: center;\n row-gap: 45px;\n }\n"])), function (_ref2) {
|
|
19882
18825
|
var theme = _ref2.theme;
|
|
19883
18826
|
return theme.mediaQueries.desktop;
|
|
19884
18827
|
});
|
|
19885
|
-
var SpacePadTierSystem = styled(Text)
|
|
19886
|
-
displayName: "IdoInfoDescription__SpacePadTierSystem",
|
|
19887
|
-
componentId: "sc-16j3rl5-3"
|
|
19888
|
-
})(["text-align:center;width:100%;margin-top:170px;", "{font-size:26px;width:181px;margin:0 auto;margin-top:170px;}"], function (_ref3) {
|
|
18828
|
+
var SpacePadTierSystem = styled(Text)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-align: center;\n width: 100%;\n margin-top: 170px;\n ", " {\n font-size: 26px;\n width: 181px;\n margin: 0 auto;\n margin-top: 170px;\n }\n"])), function (_ref3) {
|
|
19889
18829
|
var theme = _ref3.theme;
|
|
19890
18830
|
return theme.mediaQueries.mobile;
|
|
19891
18831
|
});
|
|
19892
|
-
var SpacePadTierSystemDescription = styled(Text).
|
|
19893
|
-
|
|
19894
|
-
|
|
19895
|
-
|
|
19896
|
-
var TiersWrapper = styled.div.withConfig({
|
|
19897
|
-
displayName: "IdoInfoDescription__TiersWrapper",
|
|
19898
|
-
componentId: "sc-16j3rl5-5"
|
|
19899
|
-
})(["display:flex;justify-content:center;gap:30px;@media screen and (max-width:1180px){flex-direction:column;align-items:center;}"]);
|
|
19900
|
-
var RightTiersColumn = styled.div.withConfig({
|
|
19901
|
-
displayName: "IdoInfoDescription__RightTiersColumn",
|
|
19902
|
-
componentId: "sc-16j3rl5-6"
|
|
19903
|
-
})(["display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:730px;gap:30px;@media screen and (max-width:1180px){flex-direction:column;justify-content:center;}"]);
|
|
19904
|
-
var VerticalSeparator = styled.div.withConfig({
|
|
19905
|
-
displayName: "IdoInfoDescription__VerticalSeparator",
|
|
19906
|
-
componentId: "sc-16j3rl5-7"
|
|
19907
|
-
})(["border-left:1px solid #12ffb8;height:60px;position:absolute;left:50%;"]);
|
|
18832
|
+
var SpacePadTierSystemDescription = styled(Text)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n width: 630px;\n margin: 0 auto;\n color: rgba(255, 255, 255, 0.55);\n text-align: center;\n margin-bottom: 30px;\n @media screen and (max-width: 760px) {\n width: 320px;\n }\n"])));
|
|
18833
|
+
var TiersWrapper = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n gap: 30px;\n @media screen and (max-width: 1180px) {\n flex-direction: column;\n align-items: center;\n }\n"])));
|
|
18834
|
+
var RightTiersColumn = styled.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n max-width: 730px;\n gap: 30px;\n @media screen and (max-width: 1180px) {\n flex-direction: column;\n justify-content: center;\n }\n"])));
|
|
18835
|
+
var VerticalSeparator = styled.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-left: 1px solid #12ffb8;\n height: 60px;\n position: absolute;\n left: 50%;\n"])));
|
|
19908
18836
|
var IdoInfoDescription = function IdoInfoDescription(_ref4) {
|
|
19909
18837
|
var idoSteps = _ref4.idoSteps,
|
|
19910
18838
|
tiers = _ref4.tiers;
|
|
@@ -19947,7 +18875,8 @@ var IdoInfoDescription = function IdoInfoDescription(_ref4) {
|
|
|
19947
18875
|
});
|
|
19948
18876
|
};
|
|
19949
18877
|
|
|
19950
|
-
var
|
|
18878
|
+
var _templateObject;
|
|
18879
|
+
var ResetCSS = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* prettier-ignore */\n html, body, div, span, applet, object, iframe,\n h1, h2, h3, h4, h5, h6, p, blockquote, pre,\n a, abbr, acronym, address, big, cite, code,\n del, dfn, em, img, ins, kbd, q, s, samp,\n small, strike, strong, sub, sup, tt, var,\n b, u, i, center,\n dl, dt, dd, ol, ul, li,\n fieldset, form, label, legend,\n table, caption, tbody, tfoot, thead, tr, th, td,\n article, aside, canvas, details, embed, \n figure, figcaption, footer, header, hgroup, \n menu, nav, output, ruby, section, summary,\n time, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n vertical-align: baseline;\n }\n /* HTML5 display-role reset for older browsers */\n /* prettier-ignore */\n article, aside, details, figcaption, figure, \n footer, header, hgroup, menu, nav, section {\n display: block;\n }\n body {\n line-height: 1;\n font-size: 16px;\n }\n ol,\n ul {\n list-style: disc;\n list-style-position: inside;\n }\n blockquote,\n q {\n quotes: none;\n }\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: \"\";\n content: none;\n }\n table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n a {\n color: inherit;\n text-decoration: none;\n }\n [role=\"button\"] {\n cursor: pointer;\n }\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n * {\n font-family: 'Manrope', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n /* Scrollbar */\n ::-webkit-scrollbar {\n width: 7px;\n }\n ::-webkit-scrollbar-thumb {\n background: ", "; \n border-radius: 8px;\n }\n ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px ", "; \n border-radius: 10px;\n }\n"])), function (_ref) {
|
|
19951
18880
|
var theme = _ref.theme;
|
|
19952
18881
|
return theme.colors.primary;
|
|
19953
18882
|
}, function (_ref2) {
|