@mycause/ui 0.0.0-cd1d05d3 → 0.0.0-cd3698a5
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/CHANGELOG.md +27 -0
- package/dist/components/green-dashboard-sidebar/Icon.d.ts +11 -0
- package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.d.ts +15 -0
- package/dist/components/green-dashboard-sidebar/green-dashboard-sidebar.stories.d.ts +12 -0
- package/dist/components/green-dashboard-sidebar/index.d.ts +1 -0
- package/dist/components/index.d.ts +9 -1
- package/dist/components/input/InputDefault.d.ts +8 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/input.stories.d.ts +12 -0
- package/dist/components/line-chart/partner-line-chart-block.d.ts +1 -3
- package/dist/components/modal/index.d.ts +1 -0
- package/dist/components/modal/modal-image.d.ts +8 -0
- package/dist/components/modal/modal.d.ts +2 -1
- package/dist/components/modal/modal.stories.d.ts +6 -0
- package/dist/components/modal/modalImage.d.ts +8 -0
- package/dist/components/partner-chart-stats/index.d.ts +1 -0
- package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +11 -0
- package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +18 -0
- package/dist/components/partner-monthly-stats/index.d.ts +1 -1
- package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +1 -1
- package/dist/components/partner-toggle-button/index.d.ts +2 -0
- package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +11 -0
- package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +12 -0
- package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +8 -0
- package/dist/components/this-month-card/index.d.ts +1 -0
- package/dist/components/this-month-card/this-month-card.d.ts +15 -0
- package/dist/components/this-month-card/this-month-card.stories.d.ts +12 -0
- package/dist/index.esm.js +516 -515
- package/dist/index.js +521 -517
- package/package.json +1 -2
package/dist/index.esm.js
CHANGED
|
@@ -28,7 +28,6 @@ import MDCRadio, { NativeRadioControl } from '@material/react-radio';
|
|
|
28
28
|
import MDCSwitch from '@material/react-switch';
|
|
29
29
|
import Dropzone from 'react-dropzone-uploader';
|
|
30
30
|
import { getDroppedOrSelectedFiles as getDroppedOrSelectedFiles$1 } from 'html5-file-selector';
|
|
31
|
-
import Chart from 'chart.js';
|
|
32
31
|
|
|
33
32
|
function _typeof(obj) {
|
|
34
33
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
@@ -8929,6 +8928,8 @@ var Modal = function Modal(_ref) {
|
|
|
8929
8928
|
acceptText = _ref$acceptText === void 0 ? "Accept" : _ref$acceptText,
|
|
8930
8929
|
_ref$cancelText = _ref.cancelText,
|
|
8931
8930
|
cancelText = _ref$cancelText === void 0 ? "Cancel" : _ref$cancelText,
|
|
8931
|
+
_ref$disableAcceptBut = _ref.disableAcceptButton,
|
|
8932
|
+
disableAcceptButton = _ref$disableAcceptBut === void 0 ? false : _ref$disableAcceptBut,
|
|
8932
8933
|
minimal = _ref.minimal;
|
|
8933
8934
|
var theme = useTheme();
|
|
8934
8935
|
var setColorButton = getColorToken(theme, "foreground", buttonColor);
|
|
@@ -8936,7 +8937,7 @@ var Modal = function Modal(_ref) {
|
|
|
8936
8937
|
styles: React.createElement(_JSXStyle, {
|
|
8937
8938
|
id: "1001008648",
|
|
8938
8939
|
dynamic: [id, setWidth && "100% !important", id, setWidth && "100% !important", setWidth, buttonAlign]
|
|
8939
|
-
}, ".".concat(id, " > .mdc-dialog__container{width:").concat(setWidth && "100% !important", ";}.").concat(id, " > .mdc-dialog__container > .mdc-dialog__surface{width:").concat(setWidth && "100% !important", ";max-width:").concat(setWidth, " !important;}.modal-footer.__jsx-style-dynamic-selector{-webkit-box-pack:").concat(buttonAlign, " !important;-webkit-justify-content:").concat(buttonAlign, " !important;-ms-flex-pack:").concat(buttonAlign, " !important;justify-content:").concat(buttonAlign, " !important;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
8940
|
+
}, ".".concat(id, " > .mdc-dialog__container{width:").concat(setWidth && "100% !important", ";}.").concat(id, " > .mdc-dialog__container > .mdc-dialog__surface{width:").concat(setWidth && "100% !important", ";max-width:").concat(setWidth, " !important;}.modal-footer.__jsx-style-dynamic-selector{-webkit-box-pack:").concat(buttonAlign, " !important;-webkit-justify-content:").concat(buttonAlign, " !important;-ms-flex-pack:").concat(buttonAlign, " !important;justify-content:").concat(buttonAlign, " !important;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1vZGFsLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrRDJCLEFBRzBDLEFBR0EsQUFJcUIsbUNBTjFELEFBR29ELGtEQUNwRCxrSkFHQSIsImZpbGUiOiJtb2RhbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgRnJhZ21lbnQgfSBmcm9tIFwicmVhY3RcIjtcblxuaW1wb3J0IERpYWxvZywgeyBEaWFsb2dDb250ZW50LCBEaWFsb2dGb290ZXIgfSBmcm9tIFwiQG1hdGVyaWFsL3JlYWN0LWRpYWxvZ1wiO1xuaW1wb3J0IGNsYXNzbmFtZXMgZnJvbSBcImNsYXNzbmFtZXNcIjtcbmltcG9ydCBjc3MgZnJvbSBcInN0eWxlZC1qc3gvY3NzXCI7XG5cbmltcG9ydCB7IHVzZVRoZW1lLCBnZXRDb2xvclRva2VuLCBDb2xvclNwZWNpZmllciB9IGZyb20gXCIuLi8uLi90aGVtZS90aGVtZVwiO1xuaW1wb3J0IHsgSWNvbkJ1dHRvbiwgSWNvbiB9IGZyb20gXCIuLi9pY29uXCI7XG5pbXBvcnQgeyBCdXR0b24gfSBmcm9tIFwiLi4vYnV0dG9uXCI7XG5pbXBvcnQgeyBTdGFjayB9IGZyb20gXCIuLi9sYXlvdXRcIjtcblxuZXhwb3J0IGludGVyZmFjZSBNb2RhbFByb3BzIHtcbiAgaWQ6IHN0cm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ICAgPEljb25CdXR0b24gb25DbGljaz17KCkgPT4gdG9nZ2xlTW9kYWwoZmFsc2UpfT5cbiAgICAgICAgICAgICAgICAgIDxJY29uIGljb249XCJjbG9zZVwiIC8+XG4gICAgICAgICAgICAgICAgPC9JY29uQnV0dG9uPlxuICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9TdGFjaz5cbiAgICAgICAgKSA6IChcbiAgICAgICAgICA8PjwvPlxuICAgICAgICApfVxuICAgICAgICA8RGlhbG9nQ29udGVudD57bW9kYWxDb250ZW50fTwvRGlhbG9nQ29udGVudD5cbiAgICAgICAgeyFtaW5pbWFsID8gKFxuICAgICAgICAgIDxEaWFsb2dGb290ZXJcbiAgICAgICAgICAgIGNsYXNzTmFtZT17Y2xhc3NuYW1lcyhcIm1vZGFsLWZvb3RlciBcIiwgc2NvcGUuY2xhc3NOYW1lKX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7IW5vQ2xvc2VCdXR0b24gJiYgKFxuICAgICAgICAgICAgICA8QnV0dG9uXG4gICAgICAgICAgICAgICAgY29sb3I9e3sgZm9yZWdyb3VuZDogc2V0Q29sb3JCdXR0b24sIGJhY2tncm91bmQ6IFwiI2ZmZmZmZlwiIH19XG4gICAgICAgICAgICAgICAgb25DbGljaz17KCkgPT4gdG9nZ2xlTW9kYWwoZmFsc2UpfVxuICAgICAgICAgICAgICAgIG91dGxpbmVkPXt0cnVlfVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge2NhbmNlbFRleHR9XG4gICAgICAgICAgICAgIDwvQnV0dG9uPlxuICAgICAgICAgICAgKX1cbiAgICAgICAgICAgIHtvbkFjY2VwdCAmJiAoXG4gICAgICAgICAgICAgIDxCdXR0b25cbiAgICAgICAgICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZUFjY2VwdEJ1dHRvbn1cbiAgICAgICAgICAgICAgICBvbkNsaWNrPXtvbkFjY2VwdH1cbiAgICAgICAgICAgICAgICBjb2xvcj17eyBmb3JlZ3JvdW5kOiBzZXRDb2xvckJ1dHRvbiwgYmFja2dyb3VuZDogXCIjZmZmZmZmXCIgfX1cbiAgICAgICAgICAgICAgICBvdXRsaW5lZD17dHJ1ZX1cbiAgICAgICAgICAgICAgICBzdHlsZT17eyBtYXJnaW5MZWZ0OiBcIjEwcHhcIiB9fVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge2FjY2VwdFRleHR9XG4gICAgICAgICAgICAgIDwvQnV0dG9uPlxuICAgICAgICAgICAgKX1cbiAgICAgICAgICA8L0RpYWxvZ0Zvb3Rlcj5cbiAgICAgICAgKSA6IChcbiAgICAgICAgICA8PjwvPlxuICAgICAgICApfVxuICAgICAgPC9EaWFsb2c+XG4gICAgICB7c2NvcGUuc3R5bGVzfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBNb2RhbDtcbiJdfQ== */\n/*@ sourceURL=modal.tsx */")),
|
|
8940
8941
|
className: _JSXStyle.dynamic([["1001008648", [id, setWidth && "100% !important", id, setWidth && "100% !important", setWidth, buttonAlign]]])
|
|
8941
8942
|
};
|
|
8942
8943
|
return React.createElement(Fragment, null, React.createElement(Dialog, {
|
|
@@ -8968,6 +8969,7 @@ var Modal = function Modal(_ref) {
|
|
|
8968
8969
|
},
|
|
8969
8970
|
outlined: true
|
|
8970
8971
|
}, cancelText), onAccept && React.createElement(Button, {
|
|
8972
|
+
disabled: disableAcceptButton,
|
|
8971
8973
|
onClick: onAccept,
|
|
8972
8974
|
color: {
|
|
8973
8975
|
foreground: setColorButton,
|
|
@@ -8994,7 +8996,44 @@ Modal.propTypes = {
|
|
|
8994
8996
|
noCloseButton: _pt.bool,
|
|
8995
8997
|
minimal: _pt.bool,
|
|
8996
8998
|
acceptText: _pt.string,
|
|
8997
|
-
cancelText: _pt.string
|
|
8999
|
+
cancelText: _pt.string,
|
|
9000
|
+
disableAcceptButton: _pt.bool
|
|
9001
|
+
};
|
|
9002
|
+
|
|
9003
|
+
var css$3 = ".modal-module_modal__3BPw_ {\n display: none;\n position: fixed;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.5);\n /* Modal Content (image) */\n /* The Close Button */ }\n .modal-module_modal__3BPw_ .modal-module_modalContent__pnZ9y {\n display: flex;\n justify-content: center;\n align-items: center;\n height: calc(100% + 50px);\n animation-name: modal-module_zoom__7ZPHg;\n animation-duration: 0.6s; }\n .modal-module_modal__3BPw_ .modal-module_modalContent__pnZ9y img {\n max-width: calc(100vw - 37px);\n max-height: calc(100vh - 100px); }\n\n@keyframes modal-module_zoom__7ZPHg {\n from {\n transform: scale(0); }\n to {\n transform: scale(1); } }\n .modal-module_modal__3BPw_ .modal-module_close__1refL {\n color: white;\n font-size: 25px;\n font-weight: bold;\n transition: 0.3s;\n position: absolute;\n right: -27px;\n top: -27px; }\n .modal-module_modal__3BPw_ .modal-module_close__1refL:hover,\n .modal-module_modal__3BPw_ .modal-module_close__1refL:focus {\n color: #bbb;\n text-decoration: none;\n cursor: pointer; }\n\n/* 100% Image Width on Smaller Screens */\n@media only screen and (max-width: 700px) {\n .modal-module_modalContent__pnZ9y {\n width: 100%; } }\n";
|
|
9004
|
+
var cls$3 = {"modal":"modal-module_modal__3BPw_","modalContent":"modal-module_modalContent__pnZ9y","zoom":"modal-module_zoom__7ZPHg","close":"modal-module_close__1refL"};
|
|
9005
|
+
styleInject(css$3);
|
|
9006
|
+
|
|
9007
|
+
var ModalImage = function ModalImage(_ref) {
|
|
9008
|
+
var isOpen = _ref.isOpen,
|
|
9009
|
+
modalImageSrc = _ref.modalImageSrc,
|
|
9010
|
+
toggleModal = _ref.toggleModal;
|
|
9011
|
+
return React.createElement("div", null, isOpen && React.createElement("div", {
|
|
9012
|
+
className: cls$3.modal,
|
|
9013
|
+
style: {
|
|
9014
|
+
display: isOpen ? "block" : "none"
|
|
9015
|
+
}
|
|
9016
|
+
}, React.createElement("div", {
|
|
9017
|
+
className: cls$3.modalContent
|
|
9018
|
+
}, React.createElement("div", {
|
|
9019
|
+
style: {
|
|
9020
|
+
position: "relative"
|
|
9021
|
+
}
|
|
9022
|
+
}, React.createElement("img", {
|
|
9023
|
+
id: "img01",
|
|
9024
|
+
src: modalImageSrc
|
|
9025
|
+
}), " ", React.createElement("span", {
|
|
9026
|
+
className: cls$3.close,
|
|
9027
|
+
onClick: function onClick() {
|
|
9028
|
+
return toggleModal(false);
|
|
9029
|
+
}
|
|
9030
|
+
}, "\u2A02")))));
|
|
9031
|
+
};
|
|
9032
|
+
|
|
9033
|
+
ModalImage.propTypes = {
|
|
9034
|
+
isOpen: _pt.bool.isRequired,
|
|
9035
|
+
modalImageSrc: _pt.string.isRequired,
|
|
9036
|
+
toggleModal: _pt.func.isRequired
|
|
8998
9037
|
};
|
|
8999
9038
|
|
|
9000
9039
|
function NavigationList(_ref) {
|
|
@@ -10062,9 +10101,9 @@ Uploader.propTypes = {
|
|
|
10062
10101
|
})
|
|
10063
10102
|
};
|
|
10064
10103
|
|
|
10065
|
-
var css$
|
|
10066
|
-
var cls$
|
|
10067
|
-
styleInject(css$
|
|
10104
|
+
var css$4 = ".campaign-card-module_wrapper__21wRg {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center;\n padding: 20px;\n background-color: #13362e; }\n .campaign-card-module_wrapper__21wRg .campaign-card-module_image__2ZKXl {\n width: 100px;\n height: 100px;\n padding: 5px; }\n .campaign-card-module_wrapper__21wRg .campaign-card-module_title__2sx24 {\n padding: 5px;\n font-weight: 700;\n font-size: 20px;\n line-height: 27px;\n text-align: center;\n color: white; }\n .campaign-card-module_wrapper__21wRg .campaign-card-module_description__2yC7N {\n color: #b9c3c1;\n padding: 5px;\n font-weight: 500;\n font-size: 16px;\n line-height: 25.6px;\n text-align: center; }\n";
|
|
10105
|
+
var cls$4 = {"wrapper":"campaign-card-module_wrapper__21wRg","image":"campaign-card-module_image__2ZKXl","title":"campaign-card-module_title__2sx24","description":"campaign-card-module_description__2yC7N"};
|
|
10106
|
+
styleInject(css$4);
|
|
10068
10107
|
|
|
10069
10108
|
var CampaignCard = function CampaignCard(_ref) {
|
|
10070
10109
|
var _ref$className = _ref.className,
|
|
@@ -10075,14 +10114,14 @@ var CampaignCard = function CampaignCard(_ref) {
|
|
|
10075
10114
|
_ref$description = _ref.description,
|
|
10076
10115
|
description = _ref$description === void 0 ? "" : _ref$description;
|
|
10077
10116
|
return React.createElement("div", {
|
|
10078
|
-
className: classnames(cls$
|
|
10117
|
+
className: classnames(cls$4.wrapper, className)
|
|
10079
10118
|
}, React.createElement("img", {
|
|
10080
|
-
className: cls$
|
|
10119
|
+
className: cls$4.image,
|
|
10081
10120
|
src: imageURL
|
|
10082
10121
|
}), React.createElement("div", {
|
|
10083
|
-
className: cls$
|
|
10122
|
+
className: cls$4.title
|
|
10084
10123
|
}, title), React.createElement("div", {
|
|
10085
|
-
className: cls$
|
|
10124
|
+
className: cls$4.description
|
|
10086
10125
|
}, description));
|
|
10087
10126
|
};
|
|
10088
10127
|
|
|
@@ -10093,9 +10132,9 @@ CampaignCard.propTypes = {
|
|
|
10093
10132
|
description: _pt.string
|
|
10094
10133
|
};
|
|
10095
10134
|
|
|
10096
|
-
var css$
|
|
10097
|
-
var cls$
|
|
10098
|
-
styleInject(css$
|
|
10135
|
+
var css$5 = ".campaign-of-month-module_wrapper__3VW1j {\n width: 100%;\n max-width: 1140px;\n height: 320px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n border-radius: 10px; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv {\n width: 50%;\n height: 320px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-around;\n padding: 36px 38px 43px 46px; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_title__2bUDz {\n font-weight: 500;\n font-size: 20px;\n line-height: 28px;\n text-align: left;\n color: black; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_description__6rZ2k {\n color: #6d6d6d;\n font-weight: 500;\n font-size: 15px;\n line-height: 24px;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6;\n /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n margin-bottom: 25px; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_info__2W3vo {\n width: 100%;\n height: 52px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_info__2W3vo .campaign-of-month-module_item__2qUuG {\n display: flex;\n flex-direction: column;\n align-items: center; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_info__2W3vo .campaign-of-month-module_item_value__2UldJ {\n font-weight: 600;\n font-size: 20px;\n line-height: 28px; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_info__2W3vo .campaign-of-month-module_item_name__3ZCL8 {\n font-weight: 500;\n font-size: 14px;\n line-height: 22.4px;\n color: #6d6d6d; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_leftSide__22wcl {\n width: 50%;\n height: 320px;\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_image__2YMoT {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px; }\n\n@media all and (max-width: 992px) {\n .campaign-of-month-module_wrapper__3VW1j {\n width: 719px;\n height: auto;\n flex-direction: column; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_leftSide__22wcl {\n width: 100%;\n height: auto;\n display: flex; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv {\n width: 100%;\n height: auto;\n padding: 27px 40px 36px;\n border-bottom-left-radius: 10px;\n border-bottom-right-radius: 10px; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_rightSide__FXQyv .campaign-of-month-module_description__6rZ2k {\n -webkit-line-clamp: initial;\n /* number of lines to show */\n line-clamp: initial; }\n .campaign-of-month-module_wrapper__3VW1j .campaign-of-month-module_image__2YMoT {\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n border-top-right-radius: 10px;\n border-top-left-radius: 10px;\n border-bottom-left-radius: 0px;\n -o-object-fit: cover;\n object-fit: cover; } }\n\n@media all and (max-width: 768px) {\n .campaign-of-month-module_wrapper__3VW1j {\n width: 100%;\n max-width: 432px; } }\n";
|
|
10136
|
+
var cls$5 = {"wrapper":"campaign-of-month-module_wrapper__3VW1j","rightSide":"campaign-of-month-module_rightSide__FXQyv","title":"campaign-of-month-module_title__2bUDz","description":"campaign-of-month-module_description__6rZ2k","info":"campaign-of-month-module_info__2W3vo","item":"campaign-of-month-module_item__2qUuG","item_value":"campaign-of-month-module_item_value__2UldJ","item_name":"campaign-of-month-module_item_name__3ZCL8","leftSide":"campaign-of-month-module_leftSide__22wcl","image":"campaign-of-month-module_image__2YMoT"};
|
|
10137
|
+
styleInject(css$5);
|
|
10099
10138
|
|
|
10100
10139
|
var CampaignOfMonth = function CampaignOfMonth(_ref) {
|
|
10101
10140
|
var _ref$className = _ref.className,
|
|
@@ -10119,43 +10158,43 @@ var CampaignOfMonth = function CampaignOfMonth(_ref) {
|
|
|
10119
10158
|
idBtn = _ref.idBtn;
|
|
10120
10159
|
var isShowProgressBar = rised && donation && goal;
|
|
10121
10160
|
return React.createElement("div", {
|
|
10122
|
-
className: classnames(cls$
|
|
10161
|
+
className: classnames(cls$5.wrapper, className)
|
|
10123
10162
|
}, React.createElement("div", {
|
|
10124
|
-
className: cls$
|
|
10163
|
+
className: cls$5.leftSide
|
|
10125
10164
|
}, React.createElement("img", {
|
|
10126
10165
|
src: imageUrl,
|
|
10127
|
-
className: cls$
|
|
10166
|
+
className: cls$5.image
|
|
10128
10167
|
})), React.createElement("div", {
|
|
10129
|
-
className: cls$
|
|
10168
|
+
className: cls$5.rightSide
|
|
10130
10169
|
}, title && React.createElement("div", {
|
|
10131
|
-
className: cls$
|
|
10170
|
+
className: cls$5.title
|
|
10132
10171
|
}, title), React.createElement("div", {
|
|
10133
|
-
className: cls$
|
|
10172
|
+
className: cls$5.description,
|
|
10134
10173
|
dangerouslySetInnerHTML: {
|
|
10135
10174
|
__html: text
|
|
10136
10175
|
}
|
|
10137
10176
|
}), isShowProgressBar ? React.createElement(React.Fragment, null, React.createElement(ProgressBar, {
|
|
10138
10177
|
completed: rised / goal * 100
|
|
10139
10178
|
}), React.createElement("div", {
|
|
10140
|
-
className: cls$
|
|
10179
|
+
className: cls$5.info
|
|
10141
10180
|
}, React.createElement("div", {
|
|
10142
|
-
className: cls$
|
|
10181
|
+
className: cls$5.section
|
|
10143
10182
|
}, React.createElement("div", {
|
|
10144
|
-
className: cls$
|
|
10183
|
+
className: cls$5.item_value
|
|
10145
10184
|
}, "$", rised), React.createElement("div", {
|
|
10146
|
-
className: cls$
|
|
10185
|
+
className: cls$5.item_name
|
|
10147
10186
|
}, "Raised")), React.createElement("div", {
|
|
10148
|
-
className: cls$
|
|
10187
|
+
className: cls$5.section
|
|
10149
10188
|
}, React.createElement("div", {
|
|
10150
|
-
className: cls$
|
|
10189
|
+
className: cls$5.item_value
|
|
10151
10190
|
}, "$", donation), React.createElement("div", {
|
|
10152
|
-
className: cls$
|
|
10191
|
+
className: cls$5.item_name
|
|
10153
10192
|
}, "Donation")), React.createElement("div", {
|
|
10154
|
-
className: cls$
|
|
10193
|
+
className: cls$5.section
|
|
10155
10194
|
}, React.createElement("div", {
|
|
10156
|
-
className: cls$
|
|
10195
|
+
className: cls$5.item_value
|
|
10157
10196
|
}, "$", goal), React.createElement("div", {
|
|
10158
|
-
className: cls$
|
|
10197
|
+
className: cls$5.item_name
|
|
10159
10198
|
}, "Goal")))) : null, React.createElement(Button, {
|
|
10160
10199
|
raised: true,
|
|
10161
10200
|
display: true,
|
|
@@ -10183,9 +10222,9 @@ CampaignOfMonth.propTypes = {
|
|
|
10183
10222
|
idBtn: _pt.string
|
|
10184
10223
|
};
|
|
10185
10224
|
|
|
10186
|
-
var css$
|
|
10187
|
-
var cls$
|
|
10188
|
-
styleInject(css$
|
|
10225
|
+
var css$6 = ".charity-card-module_wrapper__2GNuk {\n width: 573px;\n height: 188px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n padding: 29px 39px 38px 37px;\n background: linear-gradient(90deg, #e96a6d 0%, #e17221 100%), #2d8a75;\n border-radius: 10px; }\n .charity-card-module_wrapper__2GNuk .charity-card-module_title__3_xZV {\n font-weight: 700;\n font-size: 32px;\n line-height: 44.8px;\n text-align: left;\n color: white;\n width: 50%; }\n\n@media all and (max-width: 1200px) {\n .charity-card-module_wrapper__2GNuk {\n width: 456px;\n height: 188px;\n padding: 41px 35px 38px 39px; } }\n\n@media all and (max-width: 992px) {\n .charity-card-module_wrapper__2GNuk {\n width: 643px;\n height: 90px;\n align-items: center; }\n .charity-card-module_wrapper__2GNuk .charity-card-module_title__3_xZV {\n width: 100%;\n font-size: 26px;\n line-height: 36.4px; } }\n\n@media all and (max-width: 768px) {\n .charity-card-module_wrapper__2GNuk {\n width: 350px;\n height: 128px;\n padding: 40px 32px 38px 34px;\n align-items: flex-end; }\n .charity-card-module_wrapper__2GNuk .charity-card-module_title__3_xZV {\n width: 70%;\n font-weight: 700;\n font-size: 26px;\n line-height: 36.4px; } }\n";
|
|
10226
|
+
var cls$6 = {"wrapper":"charity-card-module_wrapper__2GNuk","title":"charity-card-module_title__3_xZV"};
|
|
10227
|
+
styleInject(css$6);
|
|
10189
10228
|
|
|
10190
10229
|
const img$7 = "data:image/svg+xml,%3csvg width='28' height='24' viewBox='0 0 28 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.495 2L25 12M25 12L14.495 22M25 12H0' stroke='white' stroke-width='3'/%3e%3c/svg%3e";
|
|
10191
10230
|
|
|
@@ -10195,9 +10234,9 @@ var CharityCard = function CharityCard(_ref) {
|
|
|
10195
10234
|
_ref$title = _ref.title,
|
|
10196
10235
|
title = _ref$title === void 0 ? "" : _ref$title;
|
|
10197
10236
|
return React.createElement("div", {
|
|
10198
|
-
className: classnames(cls$
|
|
10237
|
+
className: classnames(cls$6.wrapper, className)
|
|
10199
10238
|
}, React.createElement("div", {
|
|
10200
|
-
className: cls$
|
|
10239
|
+
className: cls$6.title
|
|
10201
10240
|
}, title), React.createElement("img", {
|
|
10202
10241
|
src: img$7,
|
|
10203
10242
|
alt: "",
|
|
@@ -10213,9 +10252,9 @@ CharityCard.propTypes = {
|
|
|
10213
10252
|
title: _pt.string
|
|
10214
10253
|
};
|
|
10215
10254
|
|
|
10216
|
-
var css$
|
|
10217
|
-
var cls$
|
|
10218
|
-
styleInject(css$
|
|
10255
|
+
var css$7 = ".donate-card-module_wrapper__ciBYC {\n width: 407px;\n height: 330px;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center;\n padding: 29px 37px 36px 37px;\n background-color: #f8f8f7;\n border-radius: 10px; }\n .donate-card-module_wrapper__ciBYC .donate-card-module_title__2Pvi7 {\n font-weight: 700;\n font-size: 32px;\n line-height: 44.8px;\n text-align: left;\n color: black; }\n .donate-card-module_wrapper__ciBYC .donate-card-module_description__3X5cO {\n color: #6d6d6d;\n font-weight: 500;\n font-size: 20px;\n line-height: 32px;\n text-align: left; }\n\n@media all and (max-width: 1200px) {\n .donate-card-module_wrapper__ciBYC {\n width: 456px;\n height: 330px;\n padding: 41px 42px 36px 42px; } }\n\n@media all and (max-width: 992px) {\n .donate-card-module_wrapper__ciBYC {\n width: 350px;\n height: 367px;\n padding: 36px 32px 36px 32px; } }\n\n@media all and (max-width: 768px) {\n .donate-card-module_wrapper__ciBYC {\n width: 430px;\n height: 289px;\n padding: 40px 42px 46px 42px; }\n .donate-card-module_wrapper__ciBYC .donate-card-module_title__2Pvi7 {\n font-weight: 700;\n font-size: 26px;\n line-height: 36.4px; }\n .donate-card-module_wrapper__ciBYC .donate-card-module_description__3X5cO {\n font-weight: 500;\n font-size: 16px;\n line-height: 25.6px;\n text-align: left; } }\n";
|
|
10256
|
+
var cls$7 = {"wrapper":"donate-card-module_wrapper__ciBYC","title":"donate-card-module_title__2Pvi7","description":"donate-card-module_description__3X5cO"};
|
|
10257
|
+
styleInject(css$7);
|
|
10219
10258
|
|
|
10220
10259
|
var DonateCard = function DonateCard(_ref) {
|
|
10221
10260
|
var _ref$className = _ref.className,
|
|
@@ -10225,11 +10264,11 @@ var DonateCard = function DonateCard(_ref) {
|
|
|
10225
10264
|
_ref$description = _ref.description,
|
|
10226
10265
|
description = _ref$description === void 0 ? "" : _ref$description;
|
|
10227
10266
|
return React.createElement("div", {
|
|
10228
|
-
className: classnames(cls$
|
|
10267
|
+
className: classnames(cls$7.wrapper, className)
|
|
10229
10268
|
}, React.createElement("div", {
|
|
10230
|
-
className: cls$
|
|
10269
|
+
className: cls$7.title
|
|
10231
10270
|
}, title), React.createElement("div", {
|
|
10232
|
-
className: cls$
|
|
10271
|
+
className: cls$7.description
|
|
10233
10272
|
}, description), React.createElement(Button, {
|
|
10234
10273
|
raised: true,
|
|
10235
10274
|
display: true,
|
|
@@ -10245,9 +10284,9 @@ DonateCard.propTypes = {
|
|
|
10245
10284
|
description: _pt.string
|
|
10246
10285
|
};
|
|
10247
10286
|
|
|
10248
|
-
var css$
|
|
10249
|
-
var cls$
|
|
10250
|
-
styleInject(css$
|
|
10287
|
+
var css$8 = ".featured-campaign-card-module_wrapper__Lx4z3 {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center;\n cursor: pointer; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_imageWrapper__1Znnd {\n height: 100%;\n display: flex;\n align-items: center; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_coverImage__HUvxd {\n border-radius: 8px;\n width: -webkit-fit-content;\n width: fit-content; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_image__ZtL5s {\n width: 100%;\n border-radius: 8px; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_title__3rmNH {\n width: 100%;\n padding-top: 5px;\n padding-bottom: 10px;\n font-weight: 700;\n font-size: 15px;\n line-height: 21px;\n text-align: left;\n color: black;\n height: 50px;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_description__NZDGW {\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n color: black;\n padding-top: 5px;\n padding-bottom: 5px;\n font-weight: 700;\n font-size: 13px;\n line-height: 18.2px;\n text-align: left;\n border-radius: 10px;\n grid-gap: 20px;\n grid-gap: 20px;\n gap: 20px; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_subtext__2eSW5 {\n width: 100%;\n color: #6d6d6d;\n padding-top: 5px;\n padding-bottom: 5px;\n font-weight: 500;\n font-size: 13px;\n line-height: 18.2px;\n text-align: left;\n margin-left: 3px;\n margin-right: 3px; }\n .featured-campaign-card-module_wrapper__Lx4z3 .featured-campaign-card-module_FRPText__1QVdV {\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n color: #6d6d6d;\n line-height: 20px;\n font-size: 15px;\n margin: 0 0 10px 0; }\n";
|
|
10288
|
+
var cls$8 = {"wrapper":"featured-campaign-card-module_wrapper__Lx4z3","imageWrapper":"featured-campaign-card-module_imageWrapper__1Znnd","coverImage":"featured-campaign-card-module_coverImage__HUvxd","image":"featured-campaign-card-module_image__ZtL5s","title":"featured-campaign-card-module_title__3rmNH","description":"featured-campaign-card-module_description__NZDGW","subtext":"featured-campaign-card-module_subtext__2eSW5","FRPText":"featured-campaign-card-module_FRPText__1QVdV"};
|
|
10289
|
+
styleInject(css$8);
|
|
10251
10290
|
|
|
10252
10291
|
var FeaturedCampaignCard = function FeaturedCampaignCard(_ref) {
|
|
10253
10292
|
var _ref$className = _ref.className,
|
|
@@ -10269,32 +10308,32 @@ var FeaturedCampaignCard = function FeaturedCampaignCard(_ref) {
|
|
|
10269
10308
|
fundraisingText = _ref.fundraisingText,
|
|
10270
10309
|
handleImageError = _ref.handleImageError;
|
|
10271
10310
|
return React.createElement("div", {
|
|
10272
|
-
className: classnames(cls$
|
|
10311
|
+
className: classnames(cls$8.wrapper, className),
|
|
10273
10312
|
style: {
|
|
10274
10313
|
maxWidth: "".concat(maxWidth, "px")
|
|
10275
10314
|
},
|
|
10276
10315
|
onClick: onClick
|
|
10277
10316
|
}, React.createElement("div", null, React.createElement("div", {
|
|
10278
|
-
className: cls$
|
|
10317
|
+
className: cls$8.coverImage
|
|
10279
10318
|
}, React.createElement("img", {
|
|
10280
|
-
className: cls$
|
|
10319
|
+
className: cls$8.image,
|
|
10281
10320
|
src: imageURL,
|
|
10282
10321
|
onError: handleImageError
|
|
10283
10322
|
})), React.createElement("div", {
|
|
10284
|
-
className: cls$
|
|
10323
|
+
className: cls$8.title
|
|
10285
10324
|
}, title), React.createElement("p", {
|
|
10286
|
-
className: cls$
|
|
10325
|
+
className: cls$8.FRPText,
|
|
10287
10326
|
dangerouslySetInnerHTML: {
|
|
10288
10327
|
__html: fundraisingText
|
|
10289
10328
|
}
|
|
10290
10329
|
})), React.createElement(ProgressBar, {
|
|
10291
10330
|
completed: completed
|
|
10292
10331
|
}), React.createElement("div", {
|
|
10293
|
-
className: cls$
|
|
10332
|
+
className: cls$8.description
|
|
10294
10333
|
}, React.createElement("div", null, donation, " donations"), React.createElement("div", null, "$", raised, " ", React.createElement("span", {
|
|
10295
|
-
className: cls$
|
|
10334
|
+
className: cls$8.subtext
|
|
10296
10335
|
}, "Raised of"), "$", goal, React.createElement("span", {
|
|
10297
|
-
className: cls$
|
|
10336
|
+
className: cls$8.subtext
|
|
10298
10337
|
}, "Goal"))));
|
|
10299
10338
|
};
|
|
10300
10339
|
|
|
@@ -10313,9 +10352,9 @@ FeaturedCampaignCard.propTypes = {
|
|
|
10313
10352
|
handleImageError: _pt.func
|
|
10314
10353
|
};
|
|
10315
10354
|
|
|
10316
|
-
var css$
|
|
10317
|
-
var cls$
|
|
10318
|
-
styleInject(css$
|
|
10355
|
+
var css$9 = ".fundraising-section-module_wrapper__2vajR {\n width: 100%;\n height: auto;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n border-radius: 10px;\n padding-right: 90px;\n padding-left: 90px; }\n .fundraising-section-module_wrapper__2vajR .fundraising-section-module_leftSide__1zI_4 {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 50%;\n height: auto;\n padding-right: 36px; }\n .fundraising-section-module_wrapper__2vajR .fundraising-section-module_image__1G7d9 {\n max-width: 100%;\n max-height: 100%;\n border-radius: 10px; }\n .fundraising-section-module_wrapper__2vajR .fundraising-section-module_rightSide__3XxNu {\n width: 50%;\n height: auto;\n padding-left: 36px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center; }\n .fundraising-section-module_wrapper__2vajR .fundraising-section-module_rightSide__3XxNu .fundraising-section-module_title__3qv_k {\n font-weight: 500;\n font-size: 24px;\n line-height: 32.4px;\n text-align: left;\n color: black;\n margin-bottom: 12.64px; }\n .fundraising-section-module_wrapper__2vajR .fundraising-section-module_rightSide__3XxNu .fundraising-section-module_description__1kteS {\n color: #6d6d6d;\n font-weight: 500;\n font-size: 20px;\n line-height: 32px;\n text-align: left; }\n";
|
|
10356
|
+
var cls$9 = {"wrapper":"fundraising-section-module_wrapper__2vajR","leftSide":"fundraising-section-module_leftSide__1zI_4","image":"fundraising-section-module_image__1G7d9","rightSide":"fundraising-section-module_rightSide__3XxNu","title":"fundraising-section-module_title__3qv_k","description":"fundraising-section-module_description__1kteS"};
|
|
10357
|
+
styleInject(css$9);
|
|
10319
10358
|
|
|
10320
10359
|
var FundraisingSection = function FundraisingSection(_ref) {
|
|
10321
10360
|
var _ref$className = _ref.className,
|
|
@@ -10327,18 +10366,18 @@ var FundraisingSection = function FundraisingSection(_ref) {
|
|
|
10327
10366
|
_ref$imageUrl = _ref.imageUrl,
|
|
10328
10367
|
imageUrl = _ref$imageUrl === void 0 ? "" : _ref$imageUrl;
|
|
10329
10368
|
return React.createElement("div", {
|
|
10330
|
-
className: classnames(cls$
|
|
10369
|
+
className: classnames(cls$9.wrapper, className)
|
|
10331
10370
|
}, React.createElement("div", {
|
|
10332
|
-
className: cls$
|
|
10371
|
+
className: cls$9.leftSide
|
|
10333
10372
|
}, React.createElement("img", {
|
|
10334
10373
|
src: imageUrl,
|
|
10335
|
-
className: cls$
|
|
10374
|
+
className: cls$9.image
|
|
10336
10375
|
})), React.createElement("div", {
|
|
10337
|
-
className: cls$
|
|
10376
|
+
className: cls$9.rightSide
|
|
10338
10377
|
}, React.createElement("div", {
|
|
10339
|
-
className: cls$
|
|
10378
|
+
className: cls$9.title
|
|
10340
10379
|
}, title), React.createElement("div", {
|
|
10341
|
-
className: cls$
|
|
10380
|
+
className: cls$9.description
|
|
10342
10381
|
}, description)));
|
|
10343
10382
|
};
|
|
10344
10383
|
|
|
@@ -10349,9 +10388,9 @@ FundraisingSection.propTypes = {
|
|
|
10349
10388
|
imageUrl: _pt.string
|
|
10350
10389
|
};
|
|
10351
10390
|
|
|
10352
|
-
var css$
|
|
10353
|
-
var cls$
|
|
10354
|
-
styleInject(css$
|
|
10391
|
+
var css$a = ".hero-banner-module_wrapper__3tqb0 {\n width: 100%;\n height: 509.07px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n background-color: #13362e;\n border-bottom-right-radius: 10px; }\n .hero-banner-module_wrapper__3tqb0 .hero-banner-module_rightSide__2v-ZN {\n width: 35%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n padding: 29px 0px 36px 41px; }\n .hero-banner-module_wrapper__3tqb0 .hero-banner-module_rightSide__2v-ZN .hero-banner-module_title__3W1MB {\n font-weight: 700;\n font-size: 40px;\n line-height: 56px;\n text-align: left;\n color: white; }\n .hero-banner-module_wrapper__3tqb0 .hero-banner-module_rightSide__2v-ZN .hero-banner-module_description__t3Jsm {\n color: white;\n font-weight: 500;\n font-size: 32px;\n line-height: 44.8px;\n text-align: left;\n padding-top: 20px;\n padding-bottom: 30px; }\n .hero-banner-module_wrapper__3tqb0 .hero-banner-module_leftSide__2wEYK {\n width: 65%;\n height: 100%;\n border-bottom-right-radius: 10px; }\n .hero-banner-module_wrapper__3tqb0 .hero-banner-module_image__jUz8f {\n border-bottom-right-radius: 10px;\n height: 100%;\n width: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n mask-image: linear-gradient(to left, #2d8a75 0%, #2d8a75 50%, rgba(0, 0, 0, 0) 100%);\n -webkit-mask-image: linear-gradient(to left, #2d8a75 50%, #2d8a75 5%, rgba(0, 0, 0, 0) 100%); }\n";
|
|
10392
|
+
var cls$a = {"wrapper":"hero-banner-module_wrapper__3tqb0","rightSide":"hero-banner-module_rightSide__2v-ZN","title":"hero-banner-module_title__3W1MB","description":"hero-banner-module_description__t3Jsm","leftSide":"hero-banner-module_leftSide__2wEYK","image":"hero-banner-module_image__jUz8f"};
|
|
10393
|
+
styleInject(css$a);
|
|
10355
10394
|
|
|
10356
10395
|
var HeroBnner = function HeroBnner(_ref) {
|
|
10357
10396
|
var _ref$className = _ref.className,
|
|
@@ -10363,13 +10402,13 @@ var HeroBnner = function HeroBnner(_ref) {
|
|
|
10363
10402
|
_ref$imageUrl = _ref.imageUrl,
|
|
10364
10403
|
imageUrl = _ref$imageUrl === void 0 ? "" : _ref$imageUrl;
|
|
10365
10404
|
return React.createElement("div", {
|
|
10366
|
-
className: classnames(cls$
|
|
10405
|
+
className: classnames(cls$a.wrapper, className)
|
|
10367
10406
|
}, React.createElement("div", {
|
|
10368
|
-
className: cls$
|
|
10407
|
+
className: cls$a.rightSide
|
|
10369
10408
|
}, React.createElement("div", {
|
|
10370
|
-
className: cls$
|
|
10409
|
+
className: cls$a.title
|
|
10371
10410
|
}, title), React.createElement("div", {
|
|
10372
|
-
className: cls$
|
|
10411
|
+
className: cls$a.description
|
|
10373
10412
|
}, description), React.createElement(Button, {
|
|
10374
10413
|
raised: true,
|
|
10375
10414
|
display: true,
|
|
@@ -10378,10 +10417,10 @@ var HeroBnner = function HeroBnner(_ref) {
|
|
|
10378
10417
|
height: "48px"
|
|
10379
10418
|
}
|
|
10380
10419
|
}, "Start fundraising")), React.createElement("div", {
|
|
10381
|
-
className: cls$
|
|
10420
|
+
className: cls$a.leftSide
|
|
10382
10421
|
}, React.createElement("img", {
|
|
10383
10422
|
src: imageUrl,
|
|
10384
|
-
className: cls$
|
|
10423
|
+
className: cls$a.image,
|
|
10385
10424
|
alt: ""
|
|
10386
10425
|
})));
|
|
10387
10426
|
};
|
|
@@ -10393,9 +10432,9 @@ HeroBnner.propTypes = {
|
|
|
10393
10432
|
imageUrl: _pt.string
|
|
10394
10433
|
};
|
|
10395
10434
|
|
|
10396
|
-
var css$
|
|
10397
|
-
var cls$
|
|
10398
|
-
styleInject(css$
|
|
10435
|
+
var css$b = ".horizontalbar-module_wrapper__39Ym4 {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n margin: 5px; }\n .horizontalbar-module_wrapper__39Ym4 .horizontalbar-module_bar__1X0jE {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n background-color: #41ccad;\n border-radius: 999px;\n height: 50px; }\n .horizontalbar-module_wrapper__39Ym4 .horizontalbar-module_dot__1uJv_ {\n background-color: #2d8a75;\n display: flex;\n width: 20px;\n height: 20px;\n border-radius: 999px;\n margin-right: 17.5px; }\n";
|
|
10436
|
+
var cls$b = {"wrapper":"horizontalbar-module_wrapper__39Ym4","bar":"horizontalbar-module_bar__1X0jE","dot":"horizontalbar-module_dot__1uJv_"};
|
|
10437
|
+
styleInject(css$b);
|
|
10399
10438
|
|
|
10400
10439
|
var HorizontalBar = function HorizontalBar(_ref) {
|
|
10401
10440
|
var _ref$className = _ref.className,
|
|
@@ -10411,9 +10450,9 @@ var HorizontalBar = function HorizontalBar(_ref) {
|
|
|
10411
10450
|
_ref$marginLeft = _ref.marginLeft,
|
|
10412
10451
|
marginLeft = _ref$marginLeft === void 0 ? 0 : _ref$marginLeft;
|
|
10413
10452
|
return React.createElement("div", {
|
|
10414
|
-
className: classnames(cls$
|
|
10453
|
+
className: classnames(cls$b.wrapper, className)
|
|
10415
10454
|
}, React.createElement("div", {
|
|
10416
|
-
className: cls$
|
|
10455
|
+
className: cls$b.bar,
|
|
10417
10456
|
style: {
|
|
10418
10457
|
width: "".concat(width, "px"),
|
|
10419
10458
|
height: "".concat(height, "px"),
|
|
@@ -10421,7 +10460,7 @@ var HorizontalBar = function HorizontalBar(_ref) {
|
|
|
10421
10460
|
marginLeft: "".concat(marginLeft, "px")
|
|
10422
10461
|
}
|
|
10423
10462
|
}, React.createElement("span", {
|
|
10424
|
-
className: cls$
|
|
10463
|
+
className: cls$b.dot,
|
|
10425
10464
|
style: {
|
|
10426
10465
|
backgroundColor: "".concat(dotColor)
|
|
10427
10466
|
}
|
|
@@ -10437,9 +10476,9 @@ HorizontalBar.propTypes = {
|
|
|
10437
10476
|
marginLeft: _pt.number
|
|
10438
10477
|
};
|
|
10439
10478
|
|
|
10440
|
-
var css$
|
|
10441
|
-
var cls$
|
|
10442
|
-
styleInject(css$
|
|
10479
|
+
var css$c = ".start-campaign-card-module_wrapper__26J9X {\n width: 708px;\n height: 330px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n border-radius: 10px;\n background-color: #2d8a75; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp {\n width: 326px;\n height: 330px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n padding: 29px 0px 36px 41px; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp .start-campaign-card-module_title__3S0AN {\n font-weight: 700;\n font-size: 32px;\n line-height: 44.8px;\n text-align: left;\n color: white; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp .start-campaign-card-module_description__2QHtW {\n color: white;\n font-weight: 500;\n font-size: 20px;\n line-height: 32px;\n text-align: left; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_leftSide__3yqbZ {\n width: 382px;\n height: 330px;\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n background: linear-gradient(to right, #2d8a75 0%, #2d8a75 15%, rgba(0, 0, 0, 0) 50%), url(./test-image.svg) no-repeat;\n background-size: cover; }\n\n@media all and (max-width: 1200px) {\n .start-campaign-card-module_wrapper__26J9X {\n width: 456px;\n height: 330px;\n padding: 42px 42px 36px 42px; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_leftSide__3yqbZ {\n display: none; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp {\n width: 100%;\n height: 100%;\n padding: 0; } }\n\n@media all and (max-width: 992px) {\n .start-campaign-card-module_wrapper__26J9X {\n width: 350px;\n height: 367px;\n padding: 36px 33px 36px 33px; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_leftSide__3yqbZ {\n display: none; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp {\n width: 100%;\n height: 100%;\n padding: 0; } }\n\n@media all and (max-width: 768px) {\n .start-campaign-card-module_wrapper__26J9X {\n width: 430px;\n height: 525px;\n display: flex;\n flex-direction: column-reverse;\n justify-content: space-between;\n align-items: center;\n padding: 0; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_leftSide__3yqbZ {\n display: block;\n width: 430px;\n height: 330px;\n border-top-right-radius: 10px;\n border-top-left-radius: 10px;\n background: linear-gradient(to top, #2d8a75 0%, #2d8a75 15%, rgba(0, 0, 0, 0) 50%), url(./test-image.svg) no-repeat;\n background-size: cover; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp {\n width: 430;\n height: 195px;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-around;\n padding: 0px 42px 51px 42px; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp .start-campaign-card-module_title__3S0AN {\n font-weight: 700;\n font-size: 26px;\n line-height: 36.4px;\n text-align: left;\n color: white; }\n .start-campaign-card-module_wrapper__26J9X .start-campaign-card-module_rightSide__2cTpp .start-campaign-card-module_description__2QHtW {\n color: white;\n font-weight: 500;\n font-size: 16px;\n line-height: 25.6px;\n text-align: left; } }\n";
|
|
10480
|
+
var cls$c = {"wrapper":"start-campaign-card-module_wrapper__26J9X","rightSide":"start-campaign-card-module_rightSide__2cTpp","title":"start-campaign-card-module_title__3S0AN","description":"start-campaign-card-module_description__2QHtW","leftSide":"start-campaign-card-module_leftSide__3yqbZ"};
|
|
10481
|
+
styleInject(css$c);
|
|
10443
10482
|
|
|
10444
10483
|
var StartCampaignCard = function StartCampaignCard(_ref) {
|
|
10445
10484
|
var _ref$className = _ref.className,
|
|
@@ -10449,13 +10488,13 @@ var StartCampaignCard = function StartCampaignCard(_ref) {
|
|
|
10449
10488
|
_ref$description = _ref.description,
|
|
10450
10489
|
description = _ref$description === void 0 ? "" : _ref$description;
|
|
10451
10490
|
return React.createElement("div", {
|
|
10452
|
-
className: classnames(cls$
|
|
10491
|
+
className: classnames(cls$c.wrapper, className)
|
|
10453
10492
|
}, React.createElement("div", {
|
|
10454
|
-
className: cls$
|
|
10493
|
+
className: cls$c.rightSide
|
|
10455
10494
|
}, React.createElement("div", {
|
|
10456
|
-
className: cls$
|
|
10495
|
+
className: cls$c.title
|
|
10457
10496
|
}, title), React.createElement("div", {
|
|
10458
|
-
className: cls$
|
|
10497
|
+
className: cls$c.description
|
|
10459
10498
|
}, description), React.createElement(Button, {
|
|
10460
10499
|
raised: true,
|
|
10461
10500
|
display: true,
|
|
@@ -10466,7 +10505,7 @@ var StartCampaignCard = function StartCampaignCard(_ref) {
|
|
|
10466
10505
|
height: "50px"
|
|
10467
10506
|
}
|
|
10468
10507
|
}, "Start a campaign")), React.createElement("div", {
|
|
10469
|
-
className: cls$
|
|
10508
|
+
className: cls$c.leftSide
|
|
10470
10509
|
}));
|
|
10471
10510
|
};
|
|
10472
10511
|
|
|
@@ -11309,9 +11348,9 @@ function useHover$1() {
|
|
|
11309
11348
|
return [isHovered, bind];
|
|
11310
11349
|
}
|
|
11311
11350
|
|
|
11312
|
-
var css$
|
|
11313
|
-
var cls$
|
|
11314
|
-
styleInject(css$
|
|
11351
|
+
var css$d = ".nav-module_tabBar__1jJhu {\n height: 75px; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab {\n height: 75px !important; }\n .nav-module_tabBar__1jJhu .mdc-tab-scroller .mdc-tab .mdc-tab__content .mdc-tab__text-label {\n font-size: 15px !important;\n font-weight: 500; }\n";
|
|
11352
|
+
var cls$d = {"tabBar":"nav-module_tabBar__1jJhu"};
|
|
11353
|
+
styleInject(css$d);
|
|
11315
11354
|
|
|
11316
11355
|
function Navigation$1(_ref) {
|
|
11317
11356
|
var logo = _ref.logo,
|
|
@@ -11414,7 +11453,7 @@ function Navigation$1(_ref) {
|
|
|
11414
11453
|
isMinWidth: true,
|
|
11415
11454
|
isMinWidthIndicator: true,
|
|
11416
11455
|
large: true,
|
|
11417
|
-
className: cls$
|
|
11456
|
+
className: cls$d.tabBar,
|
|
11418
11457
|
isDark: isDark
|
|
11419
11458
|
})), React.createElement(NavigationActions$1, null, search && React.createElement(NavigationSearchControl$1, {
|
|
11420
11459
|
onChangeSearchOpen: setSearchOpen,
|
|
@@ -11593,9 +11632,9 @@ function replace$3(arr, x, val) {
|
|
|
11593
11632
|
});
|
|
11594
11633
|
}
|
|
11595
11634
|
|
|
11596
|
-
var css$
|
|
11597
|
-
var cls$
|
|
11598
|
-
styleInject(css$
|
|
11635
|
+
var css$e = ".popup-module_wrapper__2a8HZ {\n width: 100%;\n height: 79px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n background-color: #1f4e43; }\n .popup-module_wrapper__2a8HZ .popup-module_title__1amtD {\n padding: 5px;\n font-weight: 700;\n font-size: 16px;\n line-height: 22.4px;\n text-align: center;\n color: white;\n margin-left: 94px;\n margin-right: 24px; }\n .popup-module_wrapper__2a8HZ .popup-module_description__BetQs {\n position: relative;\n color: #b9c3c1;\n padding: 5px;\n font-weight: 500;\n font-size: 16px;\n line-height: 22.4px;\n text-align: center; }\n\n@media all and (max-width: 768px) {\n .popup-module_wrapper__2a8HZ {\n width: 100%;\n height: 119px;\n flex-direction: column;\n align-items: center;\n justify-content: center; }\n .popup-module_wrapper__2a8HZ .popup-module_title__1amtD {\n margin-left: 0px;\n margin-right: 0px; } }\n";
|
|
11636
|
+
var cls$e = {"wrapper":"popup-module_wrapper__2a8HZ","title":"popup-module_title__1amtD","description":"popup-module_description__BetQs"};
|
|
11637
|
+
styleInject(css$e);
|
|
11599
11638
|
|
|
11600
11639
|
var Popup = function Popup(_ref) {
|
|
11601
11640
|
var _ref$className = _ref.className,
|
|
@@ -11605,11 +11644,11 @@ var Popup = function Popup(_ref) {
|
|
|
11605
11644
|
_ref$description = _ref.description,
|
|
11606
11645
|
description = _ref$description === void 0 ? "" : _ref$description;
|
|
11607
11646
|
return React.createElement("div", {
|
|
11608
|
-
className: classnames(cls$
|
|
11647
|
+
className: classnames(cls$e.wrapper, className)
|
|
11609
11648
|
}, React.createElement("div", {
|
|
11610
|
-
className: cls$
|
|
11649
|
+
className: cls$e.title
|
|
11611
11650
|
}, title), React.createElement("div", {
|
|
11612
|
-
className: cls$
|
|
11651
|
+
className: cls$e.description
|
|
11613
11652
|
}, description));
|
|
11614
11653
|
};
|
|
11615
11654
|
|
|
@@ -11619,6 +11658,329 @@ Popup.propTypes = {
|
|
|
11619
11658
|
description: _pt.string
|
|
11620
11659
|
};
|
|
11621
11660
|
|
|
11661
|
+
var css$f = ".partner-monthly-donations-module_wrapper__1bToV {\n width: 100%;\n margin: 0 20px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_title__2qI2n {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX {\n display: flex;\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n justify-content: space-around;\n border-radius: 10px;\n align-items: center;\n min-height: 152px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_wrap__1lxLO {\n display: flex;\n align-items: center;\n justify-content: space-around;\n padding: 20px 0 20px 20px;\n width: 100%; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_text__1wLhB {\n font-size: 24px;\n line-height: 1.5;\n font-family: \"Montserrat\", \"Roboto\", sans-serif;\n font-weight: 500;\n color: #404041; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_item__hXu3n {\n margin: 0 20px;\n color: #fc595d;\n font-size: 36px;\n font-weight: bold;\n font-family: \"Arial\"; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb {\n padding-right: 20px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb .partner-monthly-donations-module_month_donation_button__3F4P8 {\n width: 200px;\n border-radius: 60px;\n background: linear-gradient(to right, #fc595d, #ffa05a);\n padding: 8px;\n float: right;\n margin: 0 10px;\n align-items: center;\n display: flex;\n justify-content: center; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb .partner-monthly-donations-module_month_donation_button__3F4P8 a {\n color: white !important;\n font-family: \"Montserrat\", \"Roboto\", sans-serif;\n font-size: 14px;\n cursor: pointer;\n text-decoration: none;\n font-weight: 600; }\n\n@media (max-width: 920px) {\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX {\n flex-direction: column; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_text__1wLhB {\n font-size: 22px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_wrap__1lxLO {\n flex-direction: column; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_wrap__1lxLO .partner-monthly-donations-module_month_donation_text__1wLhB {\n margin: 0; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_item__hXu3n {\n font-size: 30px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb {\n padding-right: 0;\n padding-bottom: 20px; } }\n";
|
|
11662
|
+
var cls$f = {"wrapper":"partner-monthly-donations-module_wrapper__1bToV","title":"partner-monthly-donations-module_title__2qI2n","month_donation":"partner-monthly-donations-module_month_donation__2-0eX","month_donation_wrap":"partner-monthly-donations-module_month_donation_wrap__1lxLO","month_donation_text":"partner-monthly-donations-module_month_donation_text__1wLhB","month_donation_item":"partner-monthly-donations-module_month_donation_item__hXu3n","month_donation_button_wrap":"partner-monthly-donations-module_month_donation_button_wrap__19gRb","month_donation_button":"partner-monthly-donations-module_month_donation_button__3F4P8"};
|
|
11663
|
+
styleInject(css$f);
|
|
11664
|
+
|
|
11665
|
+
var PartnerMonthlyDonations = function PartnerMonthlyDonations(_ref) {
|
|
11666
|
+
var totalAmount = _ref.totalAmount,
|
|
11667
|
+
numberOfDonations = _ref.numberOfDonations,
|
|
11668
|
+
donationsLink = _ref.donationsLink;
|
|
11669
|
+
return React.createElement("div", {
|
|
11670
|
+
className: cls$f.wrapper
|
|
11671
|
+
}, React.createElement("div", {
|
|
11672
|
+
className: cls$f.title
|
|
11673
|
+
}, "This Month"), React.createElement("div", {
|
|
11674
|
+
className: cls$f.month_donation
|
|
11675
|
+
}, React.createElement("div", {
|
|
11676
|
+
className: cls$f.month_donation_wrap
|
|
11677
|
+
}, React.createElement("p", {
|
|
11678
|
+
className: cls$f.month_donation_text
|
|
11679
|
+
}, "Total donations this month"), React.createElement("span", {
|
|
11680
|
+
className: cls$f.month_donation_item
|
|
11681
|
+
}, "$", totalAmount || 0), React.createElement("span", {
|
|
11682
|
+
className: cls$f.month_donation_item
|
|
11683
|
+
}, numberOfDonations || 0)), React.createElement("div", {
|
|
11684
|
+
className: cls$f.month_donation_button_wrap
|
|
11685
|
+
}, React.createElement("div", {
|
|
11686
|
+
className: cls$f.month_donation_button
|
|
11687
|
+
}, React.createElement("a", {
|
|
11688
|
+
href: donationsLink
|
|
11689
|
+
}, "Go to Donations ", ">>")))));
|
|
11690
|
+
};
|
|
11691
|
+
|
|
11692
|
+
PartnerMonthlyDonations.propTypes = {
|
|
11693
|
+
totalAmount: _pt.number,
|
|
11694
|
+
numberOfDonations: _pt.number,
|
|
11695
|
+
donationsLink: _pt.string
|
|
11696
|
+
};
|
|
11697
|
+
|
|
11698
|
+
var css$g = ".partner-monthly-stats-module_wrapper__1M7HB {\n width: 100%;\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px;\n max-width: 420px;\n text-align: center;\n line-height: 1.5;\n min-width: 120px; }\n .partner-monthly-stats-module_wrapper__1M7HB .partner-monthly-stats-module_amount_raised__3DDen {\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center; }\n .partner-monthly-stats-module_wrapper__1M7HB .partner-monthly-stats-module_amount_raised__3DDen .partner-monthly-stats-module_numeric__39u6z {\n color: #FC595D;\n font-weight: bold; }\n .partner-monthly-stats-module_wrapper__1M7HB .partner-monthly-stats-module_amount_raised__3DDen .partner-monthly-stats-module_title__VRsZU {\n font-weight: bold;\n font-family: \"Arial\", Helvetica Neue, Helvetica, sans-serif;\n color: #404041; }\n";
|
|
11699
|
+
var cls$g = {"wrapper":"partner-monthly-stats-module_wrapper__1M7HB","amount_raised":"partner-monthly-stats-module_amount_raised__3DDen","numeric":"partner-monthly-stats-module_numeric__39u6z","title":"partner-monthly-stats-module_title__VRsZU"};
|
|
11700
|
+
styleInject(css$g);
|
|
11701
|
+
|
|
11702
|
+
var PartnerMonthlyStats = function PartnerMonthlyStats(_ref) {
|
|
11703
|
+
var numeric = _ref.numeric,
|
|
11704
|
+
title = _ref.title;
|
|
11705
|
+
return React.createElement("div", {
|
|
11706
|
+
className: cls$g.wrapper
|
|
11707
|
+
}, React.createElement("div", {
|
|
11708
|
+
className: cls$g.amount_raised
|
|
11709
|
+
}, React.createElement("div", {
|
|
11710
|
+
className: cls$g.numeric
|
|
11711
|
+
}, numeric), React.createElement("div", {
|
|
11712
|
+
className: cls$g.title
|
|
11713
|
+
}, title)));
|
|
11714
|
+
};
|
|
11715
|
+
|
|
11716
|
+
PartnerMonthlyStats.propTypes = {
|
|
11717
|
+
numeric: _pt.number,
|
|
11718
|
+
title: _pt.string.isRequired
|
|
11719
|
+
};
|
|
11720
|
+
|
|
11721
|
+
var css$h = ".partner-monthly-table-module_wrapper__e92hP {\n width: 100%;\n margin: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_title__2Sfuk {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW {\n display: flex;\n align-items: end; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji {\n position: relative;\n display: inline-block; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img {\n margin-bottom: 7px;\n margin-left: 5px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img svg {\n background-color: #000; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 8px 13px;\n position: absolute;\n z-index: 1;\n top: 105%;\n right: 50%;\n margin-right: -162px;\n border: 1px solid #fba026;\n opacity: 0;\n transition: opacity 0.5s;\n line-height: 1.2; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA::after {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent #fba026 transparent; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji:hover .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: visible;\n opacity: 1; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk table {\n border-collapse: collapse;\n margin-bottom: 50px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk th,\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk td {\n border-bottom: 1px solid #d5d5d5;\n padding: 20px 5px; }\n .partner-monthly-table-module_wrapper__e92hP td {\n text-align: center; }\n";
|
|
11722
|
+
var cls$h = {"wrapper":"partner-monthly-table-module_wrapper__e92hP","title":"partner-monthly-table-module_title__2Sfuk","table_wrap":"partner-monthly-table-module_table_wrap__j98xk","title_wrap":"partner-monthly-table-module_title_wrap__3zZFW","tooltip":"partner-monthly-table-module_tooltip__2P0Ji","tooltiptext":"partner-monthly-table-module_tooltiptext__1Q9pA"};
|
|
11723
|
+
styleInject(css$h);
|
|
11724
|
+
|
|
11725
|
+
const img$8 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Uploaded to: SVG Repo%2c www.svgrepo.com%2c Generator: SVG Repo Mixer Tools --%3e%3csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.3027 13.3942C10.2316 13.7147 10.5038 14 10.8479 14H13.0406C13.2979 14 13.5151 13.8351 13.6064 13.6061C13.697 13.3789 14.0117 12.9674 14.254 12.7518C14.4827 12.5112 14.7213 12.2848 14.9563 12.0618C15.8824 11.183 16.754 10.356 16.754 8.91047C16.754 6.40301 14.582 5 12.2707 5C10.5038 5 8.06416 5.80604 7.58396 8.50363C7.48716 9.04737 7.94773 9.5 8.50002 9.5H9.91229C10.4388 9.5 10.8312 9.07642 11.0121 8.582C11.1863 8.10604 11.5379 7.7551 12.2707 7.7551C13.6066 7.7551 13.6064 9.22371 12.8346 10.1843C12.5434 10.5467 12.2023 10.8677 11.8648 11.1853C11.1798 11.8298 10.5098 12.4602 10.3027 13.3942ZM13.9999 17C13.9999 18.1046 13.1045 19 11.9999 19C10.8954 19 9.99994 18.1046 9.99994 17C9.99994 15.8954 10.8954 15 11.9999 15C13.1045 15 13.9999 15.8954 13.9999 17Z' fill='%23efefef'/%3e%3c/svg%3e";
|
|
11726
|
+
|
|
11727
|
+
var scope$4 = {
|
|
11728
|
+
styles: React.createElement(_JSXStyle, {
|
|
11729
|
+
id: "3002567813"
|
|
11730
|
+
}, ".main-list-meta.jsx-3002567813{margin-left:10px;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItbW9udGhseS10YWJsZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBY3lCLEFBR3NCLGlCQUNuQiIsImZpbGUiOiJwYXJ0bmVyLW1vbnRobHktdGFibGUudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuaW1wb3J0IGNsYXNzbmFtZXMgZnJvbSBcImNsYXNzbmFtZXNcIjtcbmltcG9ydCBjbHMgZnJvbSBcIi4vcGFydG5lci1tb250aGx5LXRhYmxlLm1vZHVsZS5zY3NzXCI7XG5pbXBvcnQgY3NzIGZyb20gXCJzdHlsZWQtanN4L2Nzc1wiO1xuaW1wb3J0IFF1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ZHk+e2RhdGEubWFwKChpdGVtLCBpbmRleCkgPT4gcmVuZGVyUm93KGl0ZW0sIGluZGV4KSl9PC90Ym9keT5cbiAgICAgICAgPC90YWJsZT5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFydG5lck1vbnRobHlUYWJsZTtcbiJdfQ== */\n/*@ sourceURL=partner-monthly-table.tsx */"),
|
|
11731
|
+
className: "jsx-3002567813"
|
|
11732
|
+
};
|
|
11733
|
+
|
|
11734
|
+
var PartnerMonthlyTable = function PartnerMonthlyTable(_ref) {
|
|
11735
|
+
var columns = _ref.columns,
|
|
11736
|
+
data = _ref.data,
|
|
11737
|
+
title = _ref.title,
|
|
11738
|
+
tooltip = _ref.tooltip;
|
|
11739
|
+
|
|
11740
|
+
var renderHeader = function renderHeader() {
|
|
11741
|
+
return React.createElement("tr", null, columns.map(function (column, index) {
|
|
11742
|
+
return React.createElement("th", {
|
|
11743
|
+
key: index,
|
|
11744
|
+
style: {
|
|
11745
|
+
textAlign: column.align
|
|
11746
|
+
}
|
|
11747
|
+
}, column.label);
|
|
11748
|
+
}));
|
|
11749
|
+
};
|
|
11750
|
+
|
|
11751
|
+
var renderRow = function renderRow(item, rowIndex) {
|
|
11752
|
+
return React.createElement("tr", {
|
|
11753
|
+
key: rowIndex
|
|
11754
|
+
}, columns.map(function (column, colIndex) {
|
|
11755
|
+
return React.createElement("td", {
|
|
11756
|
+
key: colIndex,
|
|
11757
|
+
style: {
|
|
11758
|
+
textAlign: column.align
|
|
11759
|
+
}
|
|
11760
|
+
}, column.renderCell(item));
|
|
11761
|
+
}));
|
|
11762
|
+
};
|
|
11763
|
+
|
|
11764
|
+
return React.createElement("div", {
|
|
11765
|
+
className: cls$h.wrapper
|
|
11766
|
+
}, React.createElement("div", {
|
|
11767
|
+
className: cls$h.table_wrap
|
|
11768
|
+
}, title && React.createElement("div", {
|
|
11769
|
+
className: cls$h.title_wrap
|
|
11770
|
+
}, React.createElement("p", {
|
|
11771
|
+
className: cls$h.title
|
|
11772
|
+
}, title), React.createElement("div", {
|
|
11773
|
+
className: cls$h.tooltip
|
|
11774
|
+
}, React.createElement("img", {
|
|
11775
|
+
src: img$8,
|
|
11776
|
+
width: 22,
|
|
11777
|
+
height: 22
|
|
11778
|
+
}), React.createElement("span", {
|
|
11779
|
+
className: cls$h.tooltiptext
|
|
11780
|
+
}, tooltip))), React.createElement("table", {
|
|
11781
|
+
style: {
|
|
11782
|
+
width: "100%"
|
|
11783
|
+
}
|
|
11784
|
+
}, React.createElement("thead", null, renderHeader()), React.createElement("tbody", null, data.map(function (item, index) {
|
|
11785
|
+
return renderRow(item, index);
|
|
11786
|
+
})))));
|
|
11787
|
+
};
|
|
11788
|
+
|
|
11789
|
+
PartnerMonthlyTable.propTypes = {
|
|
11790
|
+
columns: _pt.any.isRequired,
|
|
11791
|
+
data: _pt.any.isRequired,
|
|
11792
|
+
title: _pt.string,
|
|
11793
|
+
tooltip: _pt.string
|
|
11794
|
+
};
|
|
11795
|
+
|
|
11796
|
+
var css$i = ".partner-chart-stats-module_wrapper__1nf17 {\n border-radius: 8px;\n background: #FFF;\n box-shadow: 0px 1px 8px 0px rgba(110, 110, 110, 0.25);\n max-width: 250px;\n display: flex;\n padding: 16px 24px;\n flex-direction: column;\n align-items: center;\n grid-gap: 8px;\n grid-gap: 8px;\n gap: 8px; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 {\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 .partner-chart-stats-module_numeric__2ehBR {\n color: #ACACAC;\n font-weight: bold;\n font-size: 24px;\n line-height: 32px; }\n .partner-chart-stats-module_wrapper__1nf17 .partner-chart-stats-module_amount_raised__3YgU4 .partner-chart-stats-module_title__3VP2i {\n margin-top: 10px;\n font-weight: 400;\n font-size: 14px;\n color: #ACACAC;\n text-align: center; }\n";
|
|
11797
|
+
var cls$i = {"wrapper":"partner-chart-stats-module_wrapper__1nf17","amount_raised":"partner-chart-stats-module_amount_raised__3YgU4","numeric":"partner-chart-stats-module_numeric__2ehBR","title":"partner-chart-stats-module_title__3VP2i"};
|
|
11798
|
+
styleInject(css$i);
|
|
11799
|
+
|
|
11800
|
+
var PartnerChartStats = function PartnerChartStats(_ref) {
|
|
11801
|
+
var currentYearData = _ref.currentYearData,
|
|
11802
|
+
totalDonation = _ref.totalDonation,
|
|
11803
|
+
amount = _ref.amount,
|
|
11804
|
+
title = _ref.title,
|
|
11805
|
+
active = _ref.active,
|
|
11806
|
+
className = _ref.className;
|
|
11807
|
+
var partnerColor = "#FF7658";
|
|
11808
|
+
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
11809
|
+
style: "currency",
|
|
11810
|
+
currency: "USD",
|
|
11811
|
+
minimumFractionDigits: 0
|
|
11812
|
+
});
|
|
11813
|
+
return React.createElement("div", {
|
|
11814
|
+
className: _JSXStyle.dynamic([["1595172171", [partnerColor, partnerColor]]]) + " " + (classnames(cls$i.wrapper, className, {
|
|
11815
|
+
active: active
|
|
11816
|
+
}) || "")
|
|
11817
|
+
}, React.createElement("div", {
|
|
11818
|
+
className: _JSXStyle.dynamic([["1595172171", [partnerColor, partnerColor]]]) + " " + (classnames(cls$i.amount_raised, "chartCard") || "")
|
|
11819
|
+
}, currentYearData && React.createElement("div", {
|
|
11820
|
+
className: _JSXStyle.dynamic([["1595172171", [partnerColor, partnerColor]]]) + " " + (classnames(cls$i.numeric, "numeric") || "")
|
|
11821
|
+
}, formatterMoney.format(currentYearData.reduce(function (a, b) {
|
|
11822
|
+
return parseFloat(a) + parseFloat(b);
|
|
11823
|
+
}, 0)).replace("$", "$ ")), totalDonation && React.createElement("div", {
|
|
11824
|
+
className: _JSXStyle.dynamic([["1595172171", [partnerColor, partnerColor]]]) + " " + (classnames(cls$i.numeric, "numeric") || "")
|
|
11825
|
+
}, "$ ", totalDonation), amount && React.createElement("div", {
|
|
11826
|
+
className: _JSXStyle.dynamic([["1595172171", [partnerColor, partnerColor]]]) + " " + (classnames(cls$i.numeric, "numeric") || "")
|
|
11827
|
+
}, "$ ", amount), React.createElement("div", {
|
|
11828
|
+
className: _JSXStyle.dynamic([["1595172171", [partnerColor, partnerColor]]]) + " " + (classnames(cls$i.title, "title") || "")
|
|
11829
|
+
}, title)), React.createElement(_JSXStyle, {
|
|
11830
|
+
id: "1595172171",
|
|
11831
|
+
dynamic: [partnerColor, partnerColor]
|
|
11832
|
+
}, ".active.__jsx-style-dynamic-selector{border-bottom:2px solid ".concat(partnerColor, ";}.active.__jsx-style-dynamic-selector .chartCard.__jsx-style-dynamic-selector .numeric.__jsx-style-dynamic-selector{color:").concat(partnerColor, ";}.active.__jsx-style-dynamic-selector .chartCard.__jsx-style-dynamic-selector .title.__jsx-style-dynamic-selector{color:#404041;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItY2hhcnQtc3RhdHMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdEa0IsQUFHZ0UsQUFHbEIsQUFHckIsY0FDaEIscUJBSEEsa0JBSEEiLCJmaWxlIjoicGFydG5lci1jaGFydC1zdGF0cy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgY24gZnJvbSBcImNsYXNzbmFtZXNcIjtcbmltcG9ydCBjbHMgZnJvbSBcIi4vcGFydG5lci1jaGFydC1zdGF0cy5tb2R1bGUuc2Nzc1wiO1xuXG5leHBvcnQgaW50ZXJmYWNlIFBhcnRuZXJDaGFydFN0YXRzUHJvcHMge1xuICBjdXJyZW50WWVhckRhdGE/OiBBcnJheTxudW1iZXI+O1xuICB0b3RhbERvbmF0aW9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cbiAgICAgICAgICAgICAgICAgIDBcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgLnJlcGxhY2UoXCIkXCIsIFwiJCBcIil9XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICl9XG4gICAgICAgIHt0b3RhbERvbmF0aW9uICYmIChcbiAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT17Y24oY2xzLm51bWVyaWMsIFwibnVtZXJpY1wiKX0+JCB7dG90YWxEb25hdGlvbn08L2Rpdj5cbiAgICAgICAgKX1cbiAgICAgICAge2Ftb3VudCAmJiA8ZGl2IGNsYXNzTmFtZT17Y24oY2xzLm51bWVyaWMsIFwibnVtZXJpY1wiKX0+JCB7YW1vdW50fTwvZGl2Pn1cbiAgICAgICAgPGRpdiBjbGFzc05hbWU9e2NuKGNscy50aXRsZSwgXCJ0aXRsZVwiKX0+e3RpdGxlfTwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8c3R5bGUganN4PntgXG4gICAgICAgIC5hY3RpdmUge1xuICAgICAgICAgIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCAke3BhcnRuZXJDb2xvcn07XG4gICAgICAgIH1cbiAgICAgICAgLmFjdGl2ZSAuY2hhcnRDYXJkIC5udW1lcmljIHtcbiAgICAgICAgICBjb2xvcjogJHtwYXJ0bmVyQ29sb3J9O1xuICAgICAgICB9XG4gICAgICAgIC5hY3RpdmUgLmNoYXJ0Q2FyZCAudGl0bGUge1xuICAgICAgICAgIGNvbG9yOiAjNDA0MDQxO1xuICAgICAgICB9XG4gICAgICBgfTwvc3R5bGU+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBQYXJ0bmVyQ2hhcnRTdGF0cztcbiJdfQ== */\n/*@ sourceURL=partner-chart-stats.tsx */")));
|
|
11833
|
+
};
|
|
11834
|
+
|
|
11835
|
+
PartnerChartStats.propTypes = {
|
|
11836
|
+
currentYearData: _pt.any,
|
|
11837
|
+
totalDonation: _pt.string,
|
|
11838
|
+
amount: _pt.number,
|
|
11839
|
+
title: _pt.string.isRequired,
|
|
11840
|
+
active: _pt.bool,
|
|
11841
|
+
className: _pt.string
|
|
11842
|
+
};
|
|
11843
|
+
|
|
11844
|
+
var css$j = ".this-month-card-module_wrapper__2iVxF {\n border-radius: 16px;\n box-shadow: 0px 1px 8px 0px rgba(110, 110, 110, 0.25);\n background: #FFFFFF;\n display: flex;\n flex-direction: column;\n padding: 30px;\n min-width: 330px; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy {\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_header__3mqXh {\n display: flex;\n justify-content: space-between;\n font-weight: bold;\n padding: 5px; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_header__3mqXh .this-month-card-module_header_left__LmYEa {\n display: flex;\n flex-direction: column;\n text-align: center; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_header__3mqXh .this-month-card-module_header_left__LmYEa .this-month-card-module_header_left_donation__stf8T {\n height: 100%;\n justify-content: space-between;\n display: flex;\n flex-direction: column; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_header__3mqXh .this-month-card-module_header_left__LmYEa .this-month-card-module_header_left_donation__stf8T .this-month-card-module_donation_amount__3UdUG {\n font-size: 32px;\n color: #FF7658;\n padding: 15px 0; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_header__3mqXh .this-month-card-module_header_left__LmYEa .this-month-card-module_header_left_donation__stf8T .this-month-card-module_donation_text__22Bgj {\n font-size: 14px;\n color: #404041; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_header__3mqXh .this-month-card-module_header_right__1OEQJ img {\n height: 100%;\n width: auto; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_content__2buEr {\n padding: 5px; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_content__2buEr .this-month-card-module_content_item__10Znq {\n padding: 8px 0;\n border-bottom: thin solid #D2CECE;\n display: flex; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_content__2buEr .this-month-card-module_content_item__10Znq .this-month-card-module_content_item_amount__2Z1_K {\n font-size: 16px;\n color: #FF7658;\n font-weight: 700;\n min-width: 54px;\n padding: 0 5px; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_content__2buEr .this-month-card-module_content_item__10Znq .this-month-card-module_content_item_text__1tlOV {\n font-size: 14px;\n color: #404041; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_content__2buEr .this-month-card-module_content_item__10Znq:last-child {\n border-bottom: none; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_month_donation_button_wrap__3gxAJ {\n padding-top: 10px; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_month_donation_button_wrap__3gxAJ .this-month-card-module_month_donation_button__FTqnS {\n padding: 8px 16px;\n border-radius: 20px;\n background: linear-gradient(90deg, #F05C6A 1.8%, #FF995A 94.53%);\n float: left;\n align-items: center;\n display: flex;\n justify-content: center; }\n .this-month-card-module_wrapper__2iVxF .this-month-card-module_thisMonthCardWrap__1wEQy .this-month-card-module_month_donation_button_wrap__3gxAJ .this-month-card-module_month_donation_button__FTqnS a {\n color: white !important;\n font-size: 14px;\n cursor: pointer;\n text-decoration: none;\n font-weight: 700; }\n";
|
|
11845
|
+
var cls$j = {"wrapper":"this-month-card-module_wrapper__2iVxF","thisMonthCardWrap":"this-month-card-module_thisMonthCardWrap__1wEQy","header":"this-month-card-module_header__3mqXh","header_left":"this-month-card-module_header_left__LmYEa","header_left_donation":"this-month-card-module_header_left_donation__stf8T","donation_amount":"this-month-card-module_donation_amount__3UdUG","donation_text":"this-month-card-module_donation_text__22Bgj","header_right":"this-month-card-module_header_right__1OEQJ","content":"this-month-card-module_content__2buEr","content_item":"this-month-card-module_content_item__10Znq","content_item_amount":"this-month-card-module_content_item_amount__2Z1_K","content_item_text":"this-month-card-module_content_item_text__1tlOV","month_donation_button_wrap":"this-month-card-module_month_donation_button_wrap__3gxAJ","month_donation_button":"this-month-card-module_month_donation_button__FTqnS"};
|
|
11846
|
+
styleInject(css$j);
|
|
11847
|
+
|
|
11848
|
+
var ThisMonthCard = function ThisMonthCard(_ref) {
|
|
11849
|
+
var totalDonations = _ref.totalDonations,
|
|
11850
|
+
thisMonthData = _ref.thisMonthData,
|
|
11851
|
+
imgLink = _ref.imgLink,
|
|
11852
|
+
buttonLink = _ref.buttonLink,
|
|
11853
|
+
buttonText = _ref.buttonText,
|
|
11854
|
+
className = _ref.className;
|
|
11855
|
+
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
11856
|
+
style: "currency",
|
|
11857
|
+
currency: "USD",
|
|
11858
|
+
minimumFractionDigits: 0
|
|
11859
|
+
});
|
|
11860
|
+
return React.createElement("div", {
|
|
11861
|
+
className: classnames(cls$j.wrapper, className)
|
|
11862
|
+
}, React.createElement("div", {
|
|
11863
|
+
className: classnames(cls$j.thisMonthCardWrap, "thisMonthCard")
|
|
11864
|
+
}, React.createElement("div", {
|
|
11865
|
+
className: cls$j.header
|
|
11866
|
+
}, React.createElement("div", {
|
|
11867
|
+
className: cls$j.header_left
|
|
11868
|
+
}, React.createElement("div", {
|
|
11869
|
+
className: cls$j.header_left_donation
|
|
11870
|
+
}, React.createElement("div", {
|
|
11871
|
+
className: cls$j.donation_amount
|
|
11872
|
+
}, formatterMoney.format(totalDonations).replace("$", "$ ")), React.createElement("div", {
|
|
11873
|
+
className: cls$j.donation_text
|
|
11874
|
+
}, "Total donations"))), React.createElement("div", {
|
|
11875
|
+
className: cls$j.header_right
|
|
11876
|
+
}, React.createElement("img", {
|
|
11877
|
+
src: imgLink,
|
|
11878
|
+
alt: "this-month-icon"
|
|
11879
|
+
}))), thisMonthData && React.createElement("div", {
|
|
11880
|
+
className: cls$j.content
|
|
11881
|
+
}, thisMonthData.map(function (item, index) {
|
|
11882
|
+
return React.createElement("div", {
|
|
11883
|
+
className: cls$j.content_item,
|
|
11884
|
+
key: index
|
|
11885
|
+
}, React.createElement("div", {
|
|
11886
|
+
className: cls$j.content_item_amount
|
|
11887
|
+
}, item.itemAmount), " ", React.createElement("div", {
|
|
11888
|
+
className: cls$j.content_item_text
|
|
11889
|
+
}, item.itemText));
|
|
11890
|
+
})), React.createElement("div", {
|
|
11891
|
+
className: cls$j.month_donation_button_wrap
|
|
11892
|
+
}, React.createElement("div", {
|
|
11893
|
+
className: cls$j.month_donation_button
|
|
11894
|
+
}, React.createElement("a", {
|
|
11895
|
+
href: buttonLink,
|
|
11896
|
+
target: "_blank",
|
|
11897
|
+
rel: "noopener noreferrer"
|
|
11898
|
+
}, buttonText)))));
|
|
11899
|
+
};
|
|
11900
|
+
|
|
11901
|
+
ThisMonthCard.propTypes = {
|
|
11902
|
+
totalDonations: _pt.number.isRequired,
|
|
11903
|
+
thisMonthData: _pt.any,
|
|
11904
|
+
imgLink: _pt.string.isRequired,
|
|
11905
|
+
buttonLink: _pt.string.isRequired,
|
|
11906
|
+
buttonText: _pt.string.isRequired,
|
|
11907
|
+
className: _pt.string
|
|
11908
|
+
};
|
|
11909
|
+
|
|
11910
|
+
var css$k = ".partner-toggle-button-module_toggle_btn_item__1DdKM {\n font-family: \"Montserrat\", sans-serif;\n justify-content: center;\n align-items: center;\n display: flex;\n padding: 18px 24px;\n border: thin solid transparent;\n border-radius: 100px;\n font-weight: normal;\n font-size: 12px;\n cursor: pointer; }\n";
|
|
11911
|
+
var cls$k = {"toggle_btn_item":"partner-toggle-button-module_toggle_btn_item__1DdKM"};
|
|
11912
|
+
styleInject(css$k);
|
|
11913
|
+
|
|
11914
|
+
var PartnerToggleButton = function PartnerToggleButton(_ref) {
|
|
11915
|
+
var label = _ref.label,
|
|
11916
|
+
active = _ref.active,
|
|
11917
|
+
onClick = _ref.onClick;
|
|
11918
|
+
return React.createElement("div", {
|
|
11919
|
+
onClick: onClick,
|
|
11920
|
+
className: "jsx-90599560" + " " + (classnames(cls$k.toggle_btn_item, {
|
|
11921
|
+
active: active
|
|
11922
|
+
}) || "")
|
|
11923
|
+
}, label, React.createElement(_JSXStyle, {
|
|
11924
|
+
id: "90599560"
|
|
11925
|
+
}, ".active.jsx-90599560{background-image:linear-gradient(to right,#f05c6a,#ff995a);color:#fff;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItdG9nZ2xlLWJ1dHRvbi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUJrQixBQUd3RSwyREFDbEQsV0FDYiIsImZpbGUiOiJwYXJ0bmVyLXRvZ2dsZS1idXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuaW1wb3J0IGNuIGZyb20gXCJjbGFzc25hbWVzXCI7XG5pbXBvcnQgY2xzIGZyb20gXCIuL3BhcnRuZXItdG9nZ2xlLWJ1dHRvbi5tb2R1bGUuc2Nzc1wiO1xuXG5pbnRlcmZhY2UgUGFydG5lclRvZ2dsZUJ1dHRvblByb3BzIHtcbiAgbGFiZWw6IHN0cmluZztcbiAgYWN0aXZlOiBib29sZWFuO1xuICBvbkNsaWNrOiAoKSA9PiB2b2lkO1xufVxuXG5jb25zdCBQYXJ0bmVyVG9nZ2xlQnV0dG9uID0gKHtcbiAgbGFiZWwsXG4gIGFjdGl2ZSxcbiAgb25DbGljayxcbn06IFBhcnRuZXJUb2dnbGVCdXR0b25Qcm9wcykgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIG9uQ2xpY2s9e29uQ2xpY2t9XG4gICAgICBjbGFzc05hbWU9e2NuKGNscy50b2dnbGVfYnRuX2l0ZW0sIHsgYWN0aXZlOiBhY3RpdmUgfSl9XG4gICAgPlxuICAgICAge2xhYmVsfVxuICAgICAgPHN0eWxlIGpzeD57YFxuICAgICAgICAuYWN0aXZlIHtcbiAgICAgICAgICBiYWNrZ3JvdW5kLWltYWdlOiBsaW5lYXItZ3JhZGllbnQodG8gcmlnaHQsICNmMDVjNmEsICNmZjk5NWEpO1xuICAgICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICB9XG4gICAgICBgfTwvc3R5bGU+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBQYXJ0bmVyVG9nZ2xlQnV0dG9uO1xuIl19 */\n/*@ sourceURL=partner-toggle-button.tsx */"));
|
|
11926
|
+
};
|
|
11927
|
+
|
|
11928
|
+
PartnerToggleButton.propTypes = {
|
|
11929
|
+
label: _pt.string.isRequired,
|
|
11930
|
+
active: _pt.bool.isRequired,
|
|
11931
|
+
onClick: _pt.func.isRequired
|
|
11932
|
+
};
|
|
11933
|
+
|
|
11934
|
+
var css$l = ".partner-toggle-button-block-module_wrapper__2vLDr {\n font-family: \"Montserrat\", sans-serif;\n display: flex;\n background: #FFF;\n width: -webkit-fit-content;\n width: fit-content;\n height: -webkit-fit-content;\n height: fit-content;\n color: #404041;\n font-weight: 400;\n font-size: 12px;\n margin: 0;\n padding: 1px;\n border-radius: 32px;\n cursor: pointer;\n background: linear-gradient(to right, #F05C6A, #FF995A); }\n .partner-toggle-button-block-module_wrapper__2vLDr .partner-toggle-button-block-module_toggle_btn_wrap__36HeL {\n padding: 1px;\n width: -webkit-fit-content;\n width: fit-content;\n border-radius: 100px;\n display: flex;\n background-color: #FFF; }\n";
|
|
11935
|
+
var cls$l = {"wrapper":"partner-toggle-button-block-module_wrapper__2vLDr","toggle_btn_wrap":"partner-toggle-button-block-module_toggle_btn_wrap__36HeL"};
|
|
11936
|
+
styleInject(css$l);
|
|
11937
|
+
|
|
11938
|
+
var PartnerToggleButtonBlock = function PartnerToggleButtonBlock(_ref) {
|
|
11939
|
+
var labelLeft = _ref.labelLeft,
|
|
11940
|
+
labelRight = _ref.labelRight,
|
|
11941
|
+
onClickLeft = _ref.onClickLeft,
|
|
11942
|
+
onClickRight = _ref.onClickRight,
|
|
11943
|
+
className = _ref.className,
|
|
11944
|
+
_ref$isActive = _ref.isActive,
|
|
11945
|
+
isActive = _ref$isActive === void 0 ? true : _ref$isActive;
|
|
11946
|
+
|
|
11947
|
+
var _useState = useState(isActive),
|
|
11948
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11949
|
+
isLeftActive = _useState2[0],
|
|
11950
|
+
setIsLeftActive = _useState2[1];
|
|
11951
|
+
|
|
11952
|
+
return React.createElement("div", {
|
|
11953
|
+
className: "jsx-2609848555" + " " + (classnames(cls$l.wrapper, className) || "")
|
|
11954
|
+
}, React.createElement("div", {
|
|
11955
|
+
className: "jsx-2609848555" + " " + (classnames(cls$l.toggle_btn_wrap, "toggle-btn-wrap") || "")
|
|
11956
|
+
}, React.createElement(PartnerToggleButton, {
|
|
11957
|
+
label: labelLeft,
|
|
11958
|
+
active: isLeftActive,
|
|
11959
|
+
onClick: function onClick() {
|
|
11960
|
+
setIsLeftActive(true);
|
|
11961
|
+
onClickLeft();
|
|
11962
|
+
}
|
|
11963
|
+
}), React.createElement(PartnerToggleButton, {
|
|
11964
|
+
label: labelRight,
|
|
11965
|
+
active: !isLeftActive,
|
|
11966
|
+
onClick: function onClick() {
|
|
11967
|
+
setIsLeftActive(false);
|
|
11968
|
+
onClickRight();
|
|
11969
|
+
}
|
|
11970
|
+
})), React.createElement(_JSXStyle, {
|
|
11971
|
+
id: "2609848555"
|
|
11972
|
+
}, ".toggle-btn-wrap.jsx-2609848555:hover{box-shadow:0px 3px 20px 0px #fdd8d0 inset;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItdG9nZ2xlLWJ1dHRvbi1ibG9jay50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkNrQixBQUdxRCwwQ0FDNUMiLCJmaWxlIjoicGFydG5lci10b2dnbGUtYnV0dG9uLWJsb2NrLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VTdGF0ZSB9IGZyb20gXCJyZWFjdFwiO1xuaW1wb3J0IGNuIGZyb20gXCJjbGFzc25hbWVzXCI7XG5pbXBvcnQgY2xzIGZyb20gXCIuL3BhcnRuZXItdG9nZ2xlLWJ1dHRvbi1ibG9jay5tb2R1bGUuc2Nzc1wiO1xuaW1wb3J0IFBhcnRuZXJUb2dnbGVCdXR0b24gZnJvbSBcIi4vcGFydG5lci10b2dnbGUtYnV0dG9uXCI7XG5cbmludGVyZmFjZSBQYXJ0bmVyVG9nZ2xlQnV0dG9uQmxvY2tQcm9wcyB7XG4gIGxhYmVsTGVmdDogc3RyaW5nO1xuICBsYWJlbFJpZ2h0OiBzdHJpbmc7XG4gIG9uQ2xpY2tMZWZ0OiAoKSA9PiB2b2lkO1xuICBvbkNsaWNrUmlnaHQ6ICgpID0+IHZvaWQ7XG4gIGNsYXNzTmFtZT86IHN0cmluZztcbiAgaXNBY3RpdmU/OiBib29sZWFuO1xufVxuXG5jb25zdCBQYXJ0bmVyVG9nZ2xlQnV0dG9uQmxvY2sgPSAoe1xuICBsYWJlbExlZnQsXG4gIGxhYmVsUmlnaHQsXG4gIG9uQ2xpY2tMZWZ0LFxuICBvbkNsaWNrUmlnaHQsXG4gIGNsYXNzTmFtZSxcbiAgaXNBY3RpdmUgP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Y+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBQYXJ0bmVyVG9nZ2xlQnV0dG9uQmxvY2s7XG4iXX0= */\n/*@ sourceURL=partner-toggle-button-block.tsx */"));
|
|
11973
|
+
};
|
|
11974
|
+
|
|
11975
|
+
PartnerToggleButtonBlock.propTypes = {
|
|
11976
|
+
labelLeft: _pt.string.isRequired,
|
|
11977
|
+
labelRight: _pt.string.isRequired,
|
|
11978
|
+
onClickLeft: _pt.func.isRequired,
|
|
11979
|
+
onClickRight: _pt.func.isRequired,
|
|
11980
|
+
className: _pt.string,
|
|
11981
|
+
isActive: _pt.bool
|
|
11982
|
+
};
|
|
11983
|
+
|
|
11622
11984
|
var lodash = createCommonjsModule(function (module, exports) {
|
|
11623
11985
|
(function() {
|
|
11624
11986
|
|
|
@@ -28712,29 +29074,29 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
28712
29074
|
}.call(commonjsGlobal));
|
|
28713
29075
|
});
|
|
28714
29076
|
|
|
28715
|
-
var css$e = ".footerV2-module_wrapper__3uNWh {\n background-color: white;\n color: #404041;\n font-family: \"Montserrat\", sans-serif; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_container__1Y8dv {\n width: 100%;\n margin: 0 auto;\n border-top: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2; }\n .footerV2-module_wrapper__3uNWh section {\n max-width: 80em;\n display: flex;\n padding: 55px 0px 35px 0px;\n margin: 0 auto;\n flex-direction: row;\n justify-content: space-between; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_links__item__2RVAO {\n display: block;\n width: 2.5rem;\n height: 2.5rem; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_links__item__2RVAO img {\n width: 100%;\n height: 100%;\n display: block;\n -o-object-fit: \"contain\";\n object-fit: \"contain\"; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 {\n width: 20%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 .footerV2-module_logo__3g-m- {\n width: 161px;\n height: 57px;\n margin-top: -5px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_bottom__8raKl {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 20px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow__2a4nL {\n width: 33.33%;\n padding: 0 10px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow__2a4nL h2 {\n color: black;\n font-size: 14px;\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_icons__35Jsa {\n display: flex;\n flex-direction: row;\n grid-gap: 21px;\n grid-gap: 21px;\n gap: 21px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow_mobile__7raQo {\n display: none; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n display: flex;\n width: 60%;\n position: relative;\n min-height: 220px;\n flex-wrap: wrap; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW {\n display: none; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 {\n width: 25%;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n background-color: #f2f8f1;\n border-radius: 10px;\n width: 273px;\n height: 244px;\n text-align: center;\n padding: 5px 29px 27px 29px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 .footerV2-module_title__2Pfg4 {\n line-height: 16.8px;\n font-weight: 600;\n font-size: 14px;\n color: #0b1f05;\n text-align: left; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_number__1mbq9 {\n font-weight: 400;\n font-size: 14px;\n line-height: 19.6px;\n color: #13362e;\n text-align: left; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 > .footerV2-module_stack-column__13ufr > .footerV2-module_stack-row__3amp9 {\n flex-direction: column; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item_container__2j6hR {\n display: flex;\n flex-direction: column; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics_item__2zP8I {\n display: flex;\n flex-direction: row;\n align-items: center;\n grid-gap: 16px;\n grid-gap: 16px;\n gap: 16px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item__2zP8I:last-child img {\n transform: scaleX(-1); }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i {\n flex-basis: 33.33%;\n padding: 0 10px;\n display: block; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i h2 {\n color: black;\n font-size: 14px;\n text-transform: lowercase;\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i h2:first-letter {\n text-transform: capitalize; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_list_links__Twf5H {\n display: flex;\n flex-direction: column; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_list_links__Twf5H a {\n color: #6d6d6d;\n text-decoration: none;\n margin: 0.5rem 0;\n font-size: 14px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_list_links__Twf5H a:first-letter {\n text-transform: capitalize; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh {\n width: 100%;\n max-width: 80em;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding-bottom: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY {\n flex-direction: column;\n padding: 1rem 10px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY a {\n text-decoration: none;\n color: #404041;\n font-size: 13px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY .footerV2-module_container__1Y8dv > div {\n align-items: center;\n justify-content: space-between; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR {\n width: 65%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n padding: 20px;\n background: linear-gradient(90deg, #e96a6d 0%, #e17221 100%), #2d8a75;\n cursor: pointer;\n border-radius: 6px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR .footerV2-module_title__2Pfg4 {\n display: flex;\n flex-direction: column;\n font-weight: 500;\n font-size: 14px;\n line-height: 1.5em;\n text-align: left;\n color: white; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR img {\n width: 16px;\n height: auto; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card_mobile__3j68- {\n display: none; }\n @media all and (max-width: 1200px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-wrap: wrap;\n width: 80%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 {\n flex-basis: 100%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n width: 70%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 {\n width: 30%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY {\n width: 80%; } }\n @media all and (max-width: 992px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-direction: column;\n width: 80%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n width: 100%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 {\n width: 100%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n background-color: #f2f8f1;\n border-radius: 10px;\n width: 100%;\n height: 174px;\n padding: 25px;\n margin-top: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 .footerV2-module_title__2Pfg4 {\n text-align: center; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item_container__2j6hR {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item__2zP8I {\n flex-direction: column;\n grid-gap: 0px !important;\n grid-gap: 0px !important;\n gap: 0px !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh {\n flex-direction: column;\n grid-gap: 5px;\n grid-gap: 5px;\n gap: 5px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_number__1mbq9 {\n text-align: center;\n width: 70%; } }\n @media all and (max-width: 768px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-direction: column;\n width: 432px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow_mobile__7raQo {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 8px 0;\n border-bottom: solid 1px #dadada; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_icons_mobile__2MuTY {\n display: flex;\n flex-direction: row;\n grid-gap: 21px;\n grid-gap: 21px;\n gap: 21px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow_mobile__7raQo h2 {\n color: black;\n font-size: 14px;\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i h2 {\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n display: none; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW {\n display: block; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW .footerV2-module_title_container__2J_BO {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW .footerV2-module_item_link__2CV5i {\n border-bottom: solid 1px #dadada;\n padding: 8px 0; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW .footerV2-module_list_links__Twf5H {\n margin-left: 22px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_active__1jXbw {\n display: flex !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_inactive__2Qwod {\n display: none !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 {\n width: 100%;\n border-bottom: solid 1px #dadada; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n background-color: #f2f8f1;\n border-radius: 10px;\n width: 432px;\n height: 236px;\n padding: 25px;\n margin-top: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item_container__2j6hR {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item__2zP8I {\n flex-direction: row;\n width: 100%;\n grid-gap: 16px !important;\n grid-gap: 16px !important;\n gap: 16px !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_number__1mbq9 {\n text-align: left;\n width: 70%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 .footerV2-module_title__2Pfg4 {\n text-align: left; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR {\n width: 432px;\n padding: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR img {\n width: 12px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card_mobile__3j68- {\n display: flex;\n justify-content: center;\n padding: 15px 0 50px 0; } }\n @media all and (max-width: 480px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-direction: column;\n width: 340px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n width: 340px;\n height: 236px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh {\n flex-direction: column-reverse; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh .footerV2-module_stack-row__3amp9:not(.footerV2-module_stack-reverse__20hel) > *:not(:last-child) {\n margin-right: 0.2rem !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR {\n width: 340px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY {\n width: 90%; } }\n";
|
|
28716
|
-
var cls$
|
|
28717
|
-
styleInject(css$
|
|
29077
|
+
var css$m = ".footerV2-module_wrapper__3uNWh {\n background-color: white;\n color: #404041;\n font-family: \"Montserrat\", sans-serif; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_container__1Y8dv {\n width: 100%;\n margin: 0 auto;\n border-top: 1px solid #e2e2e2;\n border-bottom: 1px solid #e2e2e2; }\n .footerV2-module_wrapper__3uNWh section {\n max-width: 80em;\n display: flex;\n padding: 55px 0px 35px 0px;\n margin: 0 auto;\n flex-direction: row;\n justify-content: space-between; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_links__item__2RVAO {\n display: block;\n width: 2.5rem;\n height: 2.5rem; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_links__item__2RVAO img {\n width: 100%;\n height: 100%;\n display: block;\n -o-object-fit: \"contain\";\n object-fit: \"contain\"; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 {\n width: 20%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 .footerV2-module_logo__3g-m- {\n width: 161px;\n height: 57px;\n margin-top: -5px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_bottom__8raKl {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 20px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow__2a4nL {\n width: 33.33%;\n padding: 0 10px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow__2a4nL h2 {\n color: black;\n font-size: 14px;\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_icons__35Jsa {\n display: flex;\n flex-direction: row;\n grid-gap: 21px;\n grid-gap: 21px;\n gap: 21px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow_mobile__7raQo {\n display: none; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n display: flex;\n width: 60%;\n position: relative;\n min-height: 220px;\n flex-wrap: wrap; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW {\n display: none; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 {\n width: 25%;\n display: flex;\n flex-direction: column;\n align-items: center; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n background-color: #f2f8f1;\n border-radius: 10px;\n width: 273px;\n height: 244px;\n text-align: center;\n padding: 5px 29px 27px 29px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 .footerV2-module_title__2Pfg4 {\n line-height: 16.8px;\n font-weight: 600;\n font-size: 14px;\n color: #0b1f05;\n text-align: left; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_number__1mbq9 {\n font-weight: 400;\n font-size: 14px;\n line-height: 19.6px;\n color: #13362e;\n text-align: left; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 > .footerV2-module_stack-column__13ufr > .footerV2-module_stack-row__3amp9 {\n flex-direction: column; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item_container__2j6hR {\n display: flex;\n flex-direction: column; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics_item__2zP8I {\n display: flex;\n flex-direction: row;\n align-items: center;\n grid-gap: 16px;\n grid-gap: 16px;\n gap: 16px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item__2zP8I:last-child img {\n transform: scaleX(-1); }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i {\n flex-basis: 33.33%;\n padding: 0 10px;\n display: block; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i h2 {\n color: black;\n font-size: 14px;\n text-transform: lowercase;\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i h2:first-letter {\n text-transform: capitalize; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_list_links__Twf5H {\n display: flex;\n flex-direction: column; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_list_links__Twf5H a {\n color: #6d6d6d;\n text-decoration: none;\n margin: 0.5rem 0;\n font-size: 14px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_list_links__Twf5H a:first-letter {\n text-transform: capitalize; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh {\n width: 100%;\n max-width: 80em;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding-bottom: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY {\n flex-direction: column;\n padding: 1rem 10px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY a {\n text-decoration: none;\n color: #404041;\n font-size: 13px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY .footerV2-module_container__1Y8dv > div {\n align-items: center;\n justify-content: space-between; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR {\n width: 65%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n padding: 20px;\n background: linear-gradient(90deg, #e96a6d 0%, #e17221 100%), #2d8a75;\n cursor: pointer;\n border-radius: 6px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR .footerV2-module_title__2Pfg4 {\n display: flex;\n flex-direction: column;\n font-weight: 500;\n font-size: 14px;\n line-height: 1.5em;\n text-align: left;\n color: white; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR img {\n width: 16px;\n height: auto; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card_mobile__3j68- {\n display: none; }\n @media all and (max-width: 1200px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-wrap: wrap;\n width: 80%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 {\n flex-basis: 100%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n width: 70%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 {\n width: 30%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY {\n width: 80%; } }\n @media all and (max-width: 992px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-direction: column;\n width: 80%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n width: 100%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 {\n width: 100%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n background-color: #f2f8f1;\n border-radius: 10px;\n width: 100%;\n height: 174px;\n padding: 25px;\n margin-top: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 .footerV2-module_title__2Pfg4 {\n text-align: center; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item_container__2j6hR {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item__2zP8I {\n flex-direction: column;\n grid-gap: 0px !important;\n grid-gap: 0px !important;\n gap: 0px !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh {\n flex-direction: column;\n grid-gap: 5px;\n grid-gap: 5px;\n gap: 5px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_number__1mbq9 {\n text-align: center;\n width: 70%; } }\n @media all and (max-width: 768px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-direction: column;\n width: 432px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow_mobile__7raQo {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 8px 0;\n border-bottom: solid 1px #dadada; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_social_icons_mobile__2MuTY {\n display: flex;\n flex-direction: row;\n grid-gap: 21px;\n grid-gap: 21px;\n gap: 21px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_follow_mobile__7raQo h2 {\n color: black;\n font-size: 14px;\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_item_link__2CV5i h2 {\n font-weight: 500; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left__2YuFf {\n display: none; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW {\n display: block; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW .footerV2-module_title_container__2J_BO {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW .footerV2-module_item_link__2CV5i {\n border-bottom: solid 1px #dadada;\n padding: 8px 0; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_left_mobile__SovNW .footerV2-module_list_links__Twf5H {\n margin-left: 22px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_active__1jXbw {\n display: flex !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_inactive__2Qwod {\n display: none !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_logo__1BTb6 {\n width: 100%;\n border-bottom: solid 1px #dadada; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n background-color: #f2f8f1;\n border-radius: 10px;\n width: 432px;\n height: 236px;\n padding: 25px;\n margin-top: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item_container__2j6hR {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-evenly; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_item__2zP8I {\n flex-direction: row;\n width: 100%;\n grid-gap: 16px !important;\n grid-gap: 16px !important;\n gap: 16px !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics_number__1mbq9 {\n text-align: left;\n width: 70%; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M .footerV2-module_statistics__DLKC3 .footerV2-module_title__2Pfg4 {\n text-align: left; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR {\n width: 432px;\n padding: 25px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR img {\n width: 12px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card_mobile__3j68- {\n display: flex;\n justify-content: center;\n padding: 15px 0 50px 0; } }\n @media all and (max-width: 480px) {\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block__IYG2M {\n flex-direction: column;\n width: 340px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_statistics__DLKC3 .footerV2-module_container__1Y8dv {\n width: 340px;\n height: 236px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh {\n flex-direction: column-reverse; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_container__9ZuJh .footerV2-module_stack-row__3amp9:not(.footerV2-module_stack-reverse__20hel) > *:not(:last-child) {\n margin-right: 0.2rem !important; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_main_block_card__1x1JR {\n width: 340px; }\n .footerV2-module_wrapper__3uNWh .footerV2-module_bottom_section__HKRgY {\n width: 90%; } }\n";
|
|
29078
|
+
var cls$m = {"wrapper":"footerV2-module_wrapper__3uNWh","container":"footerV2-module_container__1Y8dv","social_links__item":"footerV2-module_social_links__item__2RVAO","main_block_logo":"footerV2-module_main_block_logo__1BTb6","logo":"footerV2-module_logo__3g-m-","main_block_left_bottom":"footerV2-module_main_block_left_bottom__8raKl","main_block_follow":"footerV2-module_main_block_follow__2a4nL","social_icons":"footerV2-module_social_icons__35Jsa","main_block_follow_mobile":"footerV2-module_main_block_follow_mobile__7raQo","main_block_left":"footerV2-module_main_block_left__2YuFf","main_block_left_mobile":"footerV2-module_main_block_left_mobile__SovNW","main_block":"footerV2-module_main_block__IYG2M","statistics":"footerV2-module_statistics__DLKC3","title":"footerV2-module_title__2Pfg4","statistics_number":"footerV2-module_statistics_number__1mbq9","stack-column":"footerV2-module_stack-column__13ufr","stack-row":"footerV2-module_stack-row__3amp9","statistics_item_container":"footerV2-module_statistics_item_container__2j6hR","statistics_item":"footerV2-module_statistics_item__2zP8I","item_link":"footerV2-module_item_link__2CV5i","list_links":"footerV2-module_list_links__Twf5H","bottom_container":"footerV2-module_bottom_container__9ZuJh","bottom_section":"footerV2-module_bottom_section__HKRgY","main_block_card":"footerV2-module_main_block_card__1x1JR","main_block_card_mobile":"footerV2-module_main_block_card_mobile__3j68-","social_icons_mobile":"footerV2-module_social_icons_mobile__2MuTY","title_container":"footerV2-module_title_container__2J_BO","active":"footerV2-module_active__1jXbw","inactive":"footerV2-module_inactive__2Qwod","stack-reverse":"footerV2-module_stack-reverse__20hel"};
|
|
29079
|
+
styleInject(css$m);
|
|
28718
29080
|
|
|
28719
|
-
const img$
|
|
29081
|
+
const img$9 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 617 179'%3e%3cdefs/%3e%3cpath fill='%2342ccae' d='M210.2 88.2v25.3h-9.9V66.7h9.9v8.5c1.4-2.9 3.5-5.1 6.4-6.8 2.8-1.6 5.9-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 3.1-5.1 5.3-7.3 11-11 29-11 40 0 5.3 5.3 8.3 12.5 8.3 20 0 7.6-2.9 14.7-8.3 20l-42.5 42.5c-.2.2-.5.4-.7.5 0 0 0 .1-.1.1-.6.6-1.4.9-2.2.9-.8 0-1.6-.3-2.2-.9l-19-19c-1.2-1.2-1.2-3.1 0-4.3 1.2-1.2 3.1-1.2 4.3 0l16.9 16.9 41-41c4.2-4.2 6.5-9.8 6.5-15.7 0-5.9-2.3-11.5-6.5-15.7-8.7-8.7-22.7-8.7-31.4 0-4.2 4.2-6.5 9.8-6.5 15.7 0 5.9 2.3 11.5 6.5 15.7l3.3 3.3c1.2 1.2 1.2 3.1 0 4.3-1.2 1.2-3.1 1.2-4.3 0l-3.3-3.3c-2.2-2.2-3.9-4.6-5.3-7.3-1.3 2.6-3.1 5.1-5.2 7.3l-45.9 45.9c13.2 13.2 31.4 21.3 51.5 21.4 20 0 38.1-7.9 51.3-20.9l-22.1-22.3zm-42.2-12.7c1.2-1.2 3.1-1.2 4.3 0l8.7 8.7 32.7-32.7c4.1-4.1 4.1-10.7 0-14.8-2-2-4.6-3.1-7.4-3.1-2.8 0-5.4 1.1-7.4 3.1-4.1 4.1-4.1 10.7 0 14.8l3.4 3.4c1.2 1.2 1.2 3.1 0 4.3-1.2 1.2-3.1 1.2-4.3 0l-3.4-3.4c-6.5-6.5-6.5-17 0-23.4 3.1-3.1 7.3-4.8 11.7-4.8 4.4 0 8.6 1.7 11.7 4.8 6.5 6.5 6.5 17 0 23.4l-34.6 34.6c-.6.6-1.4.9-2.2.9h-.4c-.8 0-1.6-.3-2.2-.9L93.9 112c-1.2-1.1-1.2-3.1 0-4.3'/%3e%3c/svg%3e";
|
|
28720
29082
|
|
|
28721
|
-
const img$
|
|
29083
|
+
const img$a = "data:image/svg+xml,%3csvg width='25' height='27' viewBox='0 0 25 27' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M24 6.72917V21.8333C24 24.125 22.1182 26 19.8182 26H12.1864C11.0573 26 9.99091 25.5521 9.20682 24.7604L1 16.4479C1 16.4479 2.31727 15.1667 2.35909 15.1458C2.58909 14.9479 2.87136 14.8437 3.185 14.8437C3.415 14.8437 3.62409 14.9062 3.81227 15.0104C3.85409 15.0208 8.31818 17.5729 8.31818 17.5729V5.16667C8.31818 4.30208 9.01864 3.60417 9.88636 3.60417C10.7541 3.60417 11.4545 4.30208 11.4545 5.16667V12.4583H12.5V2.5625C12.5 1.69792 13.2005 1 14.0682 1C14.9359 1 15.6364 1.69792 15.6364 2.5625V12.4583H16.6818V3.60417C16.6818 2.73958 17.3823 2.04167 18.25 2.04167C19.1177 2.04167 19.8182 2.73958 19.8182 3.60417V12.4583H20.8636V6.72917C20.8636 5.86458 21.5641 5.16667 22.4318 5.16667C23.2995 5.16667 24 5.86458 24 6.72917Z' stroke='%23469885'/%3e%3c/svg%3e";
|
|
28722
29084
|
|
|
28723
|
-
const img$
|
|
29085
|
+
const img$b = "data:image/svg+xml,%3csvg width='33' height='22' viewBox='0 0 33 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M22.1364 9.57143C24.4684 9.57143 26.3495 7.65 26.3495 5.28571C26.3495 2.92143 24.4684 1 22.1364 1C19.8043 1 17.9091 2.92143 17.9091 5.28571C17.9091 7.65 19.8043 9.57143 22.1364 9.57143ZM10.8636 9.57143C13.1957 9.57143 15.0768 7.65 15.0768 5.28571C15.0768 2.92143 13.1957 1 10.8636 1C8.53159 1 6.63636 2.92143 6.63636 5.28571C6.63636 7.65 8.53159 9.57143 10.8636 9.57143ZM10.8636 12.4286C7.57341 12.4286 1 14.1 1 17.4286V21H20.7273V17.4286C20.7273 14.1 14.1539 12.4286 10.8636 12.4286ZM22.1364 12.4286C21.7277 12.4286 21.2698 12.4571 20.7766 12.5071C22.4111 13.7 23.5455 15.3071 23.5455 17.4286V21H32V17.4286C32 14.1 25.4266 12.4286 22.1364 12.4286Z' stroke='%23469885'/%3e%3c/svg%3e";
|
|
28724
29086
|
|
|
28725
|
-
const img$
|
|
29087
|
+
const img$c = "data:image/svg+xml,%3csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.5 22L9.9775 20.4951C4.57 15.145 1 11.6144 1 7.29428C1 3.76376 3.53575 1 6.775 1C8.602 1 10.3555 1.92698 11.5 3.3861C12.6445 1.92698 14.398 1 16.225 1C19.4642 1 22 3.76376 22 7.29428C22 11.6144 18.43 15.145 13.0225 20.4951L11.5 22Z' stroke='%23469885'/%3e%3c/svg%3e";
|
|
28726
29088
|
|
|
28727
|
-
const img$
|
|
29089
|
+
const img$d = "data:image/svg+xml,%3csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 0.5L6 5.5L11 0.5' stroke='black'/%3e%3c/svg%3e";
|
|
28728
29090
|
|
|
28729
|
-
const img$
|
|
29091
|
+
const img$e = "data:image/svg+xml,%3csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11 6L6 0.999999L1 6' stroke='black'/%3e%3c/svg%3e";
|
|
28730
29092
|
|
|
28731
|
-
const img$
|
|
29093
|
+
const img$f = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 15.117C16 15.6047 15.6047 16 15.117 16H11.0397V9.80371H13.1196L13.4312 7.38917H11.0397V5.84762C11.0397 5.14854 11.2341 4.67173 12.2366 4.67173L13.5153 4.6713V2.51173C13.2939 2.48209 12.5351 2.41628 11.6521 2.41628C9.8085 2.41628 8.54632 3.54161 8.54632 5.60835V7.38917H6.46128V9.80371H8.54632V16H0.883005C0.395304 16 0 15.6047 0 15.117V0.883005C0 0.395304 0.395304 0 0.883005 0H15.117C15.6047 0 16 0.395304 16 0.883005V15.117Z' fill='%23252829'/%3e%3c/svg%3e";
|
|
28732
29094
|
|
|
28733
|
-
const img$
|
|
29095
|
+
const img$g = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00002 0C5.82733 0 5.5549 0.00920933 4.70161 0.0481423C3.8501 0.0869797 3.26855 0.222229 2.7597 0.420006C2.23363 0.624419 1.78748 0.897966 1.34271 1.34271C0.897966 1.78748 0.624419 2.23363 0.420006 2.7597C0.222229 3.26855 0.0869797 3.8501 0.0481423 4.70161C0.00920933 5.5549 0 5.82733 0 8.00002C0 10.1727 0.00920933 10.4451 0.0481423 11.2984C0.0869797 12.1499 0.222229 12.7314 0.420006 13.2403C0.624419 13.7664 0.897966 14.2125 1.34271 14.6573C1.78748 15.102 2.23363 15.3756 2.7597 15.58C3.26855 15.7778 3.8501 15.913 4.70161 15.9519C5.5549 15.9908 5.82733 16 8.00002 16C10.1727 16 10.4451 15.9908 11.2984 15.9519C12.1499 15.913 12.7314 15.7778 13.2403 15.58C13.7664 15.3756 14.2125 15.102 14.6573 14.6573C15.102 14.2125 15.3756 13.7664 15.58 13.2403C15.7778 12.7314 15.913 12.1499 15.9519 11.2984C15.9908 10.4451 16 10.1727 16 8.00002C16 5.82733 15.9908 5.5549 15.9519 4.70161C15.913 3.8501 15.7778 3.26855 15.58 2.7597C15.3756 2.23363 15.102 1.78748 14.6573 1.34271C14.2125 0.897966 13.7664 0.624419 13.2403 0.420006C12.7314 0.222229 12.1499 0.0869797 11.2984 0.0481423C10.4451 0.00920933 10.1727 0 8.00002 0ZM7.99998 1.44141C10.1361 1.44141 10.3891 1.44957 11.2327 1.48806C12.0126 1.52362 12.4362 1.65395 12.7181 1.76351C13.0916 1.90863 13.3581 2.08199 13.638 2.36195C13.9179 2.64188 14.0913 2.90838 14.2364 3.2818C14.346 3.56369 14.4763 3.98729 14.5119 4.76728C14.5504 5.61085 14.5585 5.86388 14.5585 7.99998C14.5585 10.1361 14.5504 10.3891 14.5119 11.2327C14.4763 12.0126 14.346 12.4362 14.2364 12.7181C14.0913 13.0916 13.9179 13.3581 13.638 13.638C13.3581 13.9179 13.0916 14.0913 12.7181 14.2364C12.4362 14.346 12.0126 14.4763 11.2327 14.5119C10.3892 14.5504 10.1362 14.5585 7.99998 14.5585C5.86372 14.5585 5.61075 14.5504 4.76728 14.5119C3.98729 14.4763 3.56369 14.346 3.2818 14.2364C2.90838 14.0913 2.64188 13.9179 2.36195 13.638C2.08202 13.3581 1.90863 13.0916 1.76351 12.7181C1.65395 12.4362 1.52362 12.0126 1.48806 11.2327C1.44957 10.3891 1.44141 10.1361 1.44141 7.99998C1.44141 5.86388 1.44957 5.61085 1.48806 4.76728C1.52362 3.98729 1.65395 3.56369 1.76351 3.2818C1.90863 2.90838 2.08199 2.64188 2.36195 2.36195C2.64188 2.08199 2.90838 1.90863 3.2818 1.76351C3.56369 1.65395 3.98729 1.52362 4.76728 1.48806C5.61085 1.44957 5.86388 1.44141 7.99998 1.44141ZM3.8916 7.99972C3.8916 5.73085 5.73085 3.8916 7.99972 3.8916C10.2686 3.8916 12.1078 5.73085 12.1078 7.99972C12.1078 10.2686 10.2686 12.1078 7.99972 12.1078C5.73085 12.1078 3.8916 10.2686 3.8916 7.99972ZM8.00018 10.6663C6.5274 10.6663 5.3335 9.47244 5.3335 7.99969C5.3335 6.52691 6.5274 5.33301 8.00018 5.33301C9.47293 5.33301 10.6668 6.52691 10.6668 7.99969C10.6668 9.47244 9.47293 10.6663 8.00018 10.6663ZM12.2705 4.68953C12.8007 4.68953 13.2305 4.25975 13.2305 3.72955C13.2305 3.19935 12.8007 2.76953 12.2705 2.76953C11.7404 2.76953 11.3105 3.19935 11.3105 3.72955C11.3105 4.25975 11.7404 4.68953 12.2705 4.68953Z' fill='%23252829'/%3e%3c/svg%3e";
|
|
28734
29096
|
|
|
28735
|
-
const img$
|
|
29097
|
+
const img$h = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14.759 0H1.19668C0.531856 0 0 0.533333 0 1.15556V14.8444C0 15.4667 0.531856 16 1.19668 16H14.8033C15.4681 16 16 15.4667 16 14.8444V1.15556C15.9557 0.533333 15.4238 0 14.759 0ZM4.74238 13.6444H2.34903V6H4.69806V13.6444H4.74238ZM3.54571 4.93333C2.79224 4.93333 2.17175 4.31111 2.17175 3.55556C2.17175 2.8 2.79224 2.22222 3.54571 2.22222C4.29917 2.22222 4.91967 2.84444 4.91967 3.6C4.91967 4.35556 4.29917 4.93333 3.54571 4.93333ZM13.6066 13.6444H11.2576V9.91111C11.2576 9.02222 11.2576 7.86667 10.0166 7.86667C8.77562 7.86667 8.59834 8.84444 8.59834 9.82222V13.6H6.20499V6H8.46537V7.02222H8.5097C8.81995 6.4 9.61773 5.77778 10.7701 5.77778C13.1634 5.77778 13.6066 7.37778 13.6066 9.42222V13.6444Z' fill='%23252829'/%3e%3c/svg%3e";
|
|
28736
29098
|
|
|
28737
|
-
const img$
|
|
29099
|
+
const img$i = "data:image/svg+xml,%3csvg style='color: white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.1.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2022 Fonticons%2c Inc. --%3e%3cpath d='M502.6 278.6l-128 128c-12.51 12.51-32.76 12.49-45.25 0c-12.5-12.5-12.5-32.75 0-45.25L402.8 288H32C14.31 288 0 273.7 0 255.1S14.31 224 32 224h370.8l-73.38-73.38c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l128 128C515.1 245.9 515.1 266.1 502.6 278.6z' fill='white'%3e%3c/path%3e%3c/svg%3e";
|
|
28738
29100
|
|
|
28739
29101
|
function FooterV2(_ref) {
|
|
28740
29102
|
var className = _ref.className,
|
|
@@ -28757,19 +29119,19 @@ function FooterV2(_ref) {
|
|
|
28757
29119
|
setActiveState = _useState2[1];
|
|
28758
29120
|
|
|
28759
29121
|
return React.createElement("footer", {
|
|
28760
|
-
className: classnames(cls$
|
|
29122
|
+
className: classnames(cls$m.wrapper, className)
|
|
28761
29123
|
}, !bottomSectionOnly && React.createElement("div", {
|
|
28762
|
-
className: cls$
|
|
29124
|
+
className: cls$m.container
|
|
28763
29125
|
}, React.createElement("section", {
|
|
28764
|
-
className: cls$
|
|
29126
|
+
className: cls$m.main_block
|
|
28765
29127
|
}, React.createElement("div", {
|
|
28766
|
-
className: cls$
|
|
29128
|
+
className: cls$m.main_block_logo
|
|
28767
29129
|
}, React.createElement("img", {
|
|
28768
|
-
src: img$
|
|
28769
|
-
className: cls$
|
|
29130
|
+
src: img$9,
|
|
29131
|
+
className: cls$m.logo,
|
|
28770
29132
|
alt: "mycause"
|
|
28771
29133
|
})), React.createElement("div", {
|
|
28772
|
-
className: cls$
|
|
29134
|
+
className: cls$m.main_block_left
|
|
28773
29135
|
}, body.map(function (_item) {
|
|
28774
29136
|
var _title = lodash.get(_item, "primary.text[0].text");
|
|
28775
29137
|
|
|
@@ -28777,9 +29139,9 @@ function FooterV2(_ref) {
|
|
|
28777
29139
|
|
|
28778
29140
|
return React.createElement("div", {
|
|
28779
29141
|
key: _item.id,
|
|
28780
|
-
className: cls$
|
|
29142
|
+
className: cls$m.item_link
|
|
28781
29143
|
}, React.createElement("h2", null, _title), React.createElement("div", {
|
|
28782
|
-
className: cls$
|
|
29144
|
+
className: cls$m.list_links
|
|
28783
29145
|
}, _items.map(function (__item) {
|
|
28784
29146
|
return React.createElement("a", {
|
|
28785
29147
|
id: __item.id_click,
|
|
@@ -28788,29 +29150,29 @@ function FooterV2(_ref) {
|
|
|
28788
29150
|
}, __item.call_to_action_text);
|
|
28789
29151
|
})));
|
|
28790
29152
|
}), React.createElement("div", {
|
|
28791
|
-
className: cls$
|
|
29153
|
+
className: cls$m.main_block_left_bottom
|
|
28792
29154
|
}, React.createElement("div", {
|
|
28793
29155
|
id: "GlobalFooterForYourCharityNFPCorporateEventOrSchool",
|
|
28794
|
-
className: cls$
|
|
29156
|
+
className: cls$m.main_block_card,
|
|
28795
29157
|
onClick: function onClick() {
|
|
28796
29158
|
window.open(OrangeCardUrl);
|
|
28797
29159
|
}
|
|
28798
29160
|
}, React.createElement("div", {
|
|
28799
|
-
className: cls$
|
|
29161
|
+
className: cls$m.title
|
|
28800
29162
|
}, React.createElement("div", null, OrangeCardFirstTitle), React.createElement("div", null, OrangeCardSecondTitle)), React.createElement("div", null, React.createElement("img", {
|
|
28801
|
-
src: img$
|
|
29163
|
+
src: img$i,
|
|
28802
29164
|
alt: ""
|
|
28803
29165
|
}))), React.createElement("div", {
|
|
28804
|
-
className: cls$
|
|
29166
|
+
className: cls$m.main_block_follow
|
|
28805
29167
|
}, React.createElement("h2", null, "Follow"), React.createElement("div", {
|
|
28806
|
-
className: cls$
|
|
29168
|
+
className: cls$m.social_icons
|
|
28807
29169
|
}, React.createElement("a", {
|
|
28808
29170
|
id: "GlobalFooterFacebook",
|
|
28809
29171
|
href: "https://www.facebook.com/pages/mycausecomau/127752343910389",
|
|
28810
29172
|
target: "_blank",
|
|
28811
29173
|
rel: "noopener noreferrer"
|
|
28812
29174
|
}, React.createElement("img", {
|
|
28813
|
-
src: img$
|
|
29175
|
+
src: img$f,
|
|
28814
29176
|
alt: ""
|
|
28815
29177
|
})), React.createElement("a", {
|
|
28816
29178
|
id: "GlobalFooterInstagram",
|
|
@@ -28818,7 +29180,7 @@ function FooterV2(_ref) {
|
|
|
28818
29180
|
target: "_blank",
|
|
28819
29181
|
rel: "noopener noreferrer"
|
|
28820
29182
|
}, React.createElement("img", {
|
|
28821
|
-
src: img$
|
|
29183
|
+
src: img$g,
|
|
28822
29184
|
alt: ""
|
|
28823
29185
|
})), React.createElement("a", {
|
|
28824
29186
|
id: "GlobalFooterLinkedIn",
|
|
@@ -28826,10 +29188,10 @@ function FooterV2(_ref) {
|
|
|
28826
29188
|
target: "_blank",
|
|
28827
29189
|
rel: "noopener noreferrer"
|
|
28828
29190
|
}, React.createElement("img", {
|
|
28829
|
-
src: img$
|
|
29191
|
+
src: img$h,
|
|
28830
29192
|
alt: ""
|
|
28831
29193
|
})))))), React.createElement("div", {
|
|
28832
|
-
className: cls$
|
|
29194
|
+
className: cls$m.main_block_left_mobile
|
|
28833
29195
|
}, body.map(function (_item, index) {
|
|
28834
29196
|
var _title = lodash.get(_item, "primary.text[0].text");
|
|
28835
29197
|
|
|
@@ -28837,17 +29199,17 @@ function FooterV2(_ref) {
|
|
|
28837
29199
|
|
|
28838
29200
|
return React.createElement("div", {
|
|
28839
29201
|
key: _title,
|
|
28840
|
-
className: cls$
|
|
29202
|
+
className: cls$m.item_link
|
|
28841
29203
|
}, React.createElement("div", {
|
|
28842
|
-
className: cls$
|
|
29204
|
+
className: cls$m.title_container,
|
|
28843
29205
|
onClick: function onClick() {
|
|
28844
29206
|
return setActiveState(_objectSpread2({}, activeState, _defineProperty({}, index, !activeState[index])));
|
|
28845
29207
|
}
|
|
28846
29208
|
}, React.createElement("h2", null, _title), React.createElement("img", {
|
|
28847
|
-
src: activeState[index] ? img$
|
|
29209
|
+
src: activeState[index] ? img$e : img$d,
|
|
28848
29210
|
alt: ""
|
|
28849
29211
|
})), React.createElement("div", {
|
|
28850
|
-
className: classnames(cls$
|
|
29212
|
+
className: classnames(cls$m.list_links, "".concat(activeState[index] ? cls$m.active : cls$m.inactive))
|
|
28851
29213
|
}, _items.map(function (__item) {
|
|
28852
29214
|
return React.createElement("a", {
|
|
28853
29215
|
id: __item.id_click,
|
|
@@ -28856,16 +29218,16 @@ function FooterV2(_ref) {
|
|
|
28856
29218
|
}, __item.call_to_action_text);
|
|
28857
29219
|
})));
|
|
28858
29220
|
})), React.createElement("div", {
|
|
28859
|
-
className: cls$
|
|
29221
|
+
className: cls$m.main_block_follow_mobile
|
|
28860
29222
|
}, React.createElement("h2", null, "Follow"), React.createElement("div", {
|
|
28861
|
-
className: cls$
|
|
29223
|
+
className: cls$m.social_icons_mobile
|
|
28862
29224
|
}, React.createElement("a", {
|
|
28863
29225
|
id: "GlobalFooterFacebook",
|
|
28864
29226
|
href: "https://www.facebook.com/pages/mycausecomau/127752343910389",
|
|
28865
29227
|
target: "_blank",
|
|
28866
29228
|
rel: "noopener noreferrer"
|
|
28867
29229
|
}, React.createElement("img", {
|
|
28868
|
-
src: img$
|
|
29230
|
+
src: img$f,
|
|
28869
29231
|
alt: ""
|
|
28870
29232
|
})), React.createElement("a", {
|
|
28871
29233
|
id: "GlobalFooterInstagram",
|
|
@@ -28873,7 +29235,7 @@ function FooterV2(_ref) {
|
|
|
28873
29235
|
target: "_blank",
|
|
28874
29236
|
rel: "noopener noreferrer"
|
|
28875
29237
|
}, React.createElement("img", {
|
|
28876
|
-
src: img$
|
|
29238
|
+
src: img$g,
|
|
28877
29239
|
alt: ""
|
|
28878
29240
|
})), React.createElement("a", {
|
|
28879
29241
|
id: "GlobalFooterLinkedIn",
|
|
@@ -28881,54 +29243,54 @@ function FooterV2(_ref) {
|
|
|
28881
29243
|
target: "_blank",
|
|
28882
29244
|
rel: "noopener noreferrer"
|
|
28883
29245
|
}, React.createElement("img", {
|
|
28884
|
-
src: img$
|
|
29246
|
+
src: img$h,
|
|
28885
29247
|
alt: ""
|
|
28886
29248
|
})))), React.createElement("div", {
|
|
28887
|
-
className: cls$
|
|
29249
|
+
className: cls$m.statistics
|
|
28888
29250
|
}, React.createElement("div", {
|
|
28889
|
-
className: cls$
|
|
29251
|
+
className: cls$m.container
|
|
28890
29252
|
}, React.createElement("p", {
|
|
28891
|
-
className: cls$
|
|
29253
|
+
className: cls$m.title
|
|
28892
29254
|
}, "We support your cause"), React.createElement("div", {
|
|
28893
|
-
className: cls$
|
|
29255
|
+
className: cls$m.statistics_item_container
|
|
28894
29256
|
}, React.createElement("div", {
|
|
28895
|
-
className: cls$
|
|
29257
|
+
className: cls$m.statistics_item
|
|
28896
29258
|
}, React.createElement("img", {
|
|
28897
|
-
src: img$
|
|
29259
|
+
src: img$c,
|
|
28898
29260
|
alt: "mycause"
|
|
28899
29261
|
}), React.createElement("p", {
|
|
28900
|
-
className: cls$
|
|
29262
|
+
className: cls$m.statistics_number
|
|
28901
29263
|
}, "100% Australian Owned", " ")), React.createElement("div", {
|
|
28902
|
-
className: cls$
|
|
29264
|
+
className: cls$m.statistics_item
|
|
28903
29265
|
}, React.createElement("img", {
|
|
28904
|
-
src: img$
|
|
29266
|
+
src: img$b,
|
|
28905
29267
|
alt: "mycause"
|
|
28906
29268
|
}), React.createElement("p", {
|
|
28907
|
-
className: cls$
|
|
29269
|
+
className: cls$m.statistics_number
|
|
28908
29270
|
}, "Australia\u2019s largest crowdfunding platform", " ")), React.createElement("div", {
|
|
28909
|
-
className: cls$
|
|
29271
|
+
className: cls$m.statistics_item
|
|
28910
29272
|
}, React.createElement("img", {
|
|
28911
|
-
src: img$
|
|
29273
|
+
src: img$a,
|
|
28912
29274
|
alt: "mycause"
|
|
28913
29275
|
}), React.createElement("p", {
|
|
28914
|
-
className: cls$
|
|
29276
|
+
className: cls$m.statistics_number
|
|
28915
29277
|
}, "Fundraise in five minutes", " ")))))), React.createElement("section", {
|
|
28916
|
-
className: cls$
|
|
29278
|
+
className: cls$m.main_block_card_mobile
|
|
28917
29279
|
}, React.createElement("div", {
|
|
28918
29280
|
id: "GlobalFooterForYourCharityNFPCorporateEventOrSchool",
|
|
28919
|
-
className: cls$
|
|
29281
|
+
className: cls$m.main_block_card,
|
|
28920
29282
|
onClick: function onClick() {
|
|
28921
29283
|
window.open(OrangeCardUrl);
|
|
28922
29284
|
}
|
|
28923
29285
|
}, React.createElement("div", {
|
|
28924
|
-
className: cls$
|
|
29286
|
+
className: cls$m.title
|
|
28925
29287
|
}, React.createElement("div", null, OrangeCardFirstTitle), React.createElement("div", null, OrangeCardSecondTitle)), React.createElement("div", null, React.createElement("img", {
|
|
28926
|
-
src: img$
|
|
29288
|
+
src: img$i,
|
|
28927
29289
|
alt: ""
|
|
28928
29290
|
}))))), React.createElement("section", {
|
|
28929
|
-
className: cls$
|
|
29291
|
+
className: cls$m.bottom_section
|
|
28930
29292
|
}, React.createElement("div", {
|
|
28931
|
-
className: cls$
|
|
29293
|
+
className: cls$m.bottom_container
|
|
28932
29294
|
}, React.createElement(Stack, {
|
|
28933
29295
|
wrap: true
|
|
28934
29296
|
}, React.createElement("a", {
|
|
@@ -28945,365 +29307,4 @@ function FooterV2(_ref) {
|
|
|
28945
29307
|
}, "Copyright \xA9 ", new Date().getFullYear(), " all rights reserved"))));
|
|
28946
29308
|
}
|
|
28947
29309
|
|
|
28948
|
-
|
|
28949
|
-
var cls$f = {"canvasContainer":"partner-line-chart-module_canvasContainer__3SYlg"};
|
|
28950
|
-
styleInject(css$f);
|
|
28951
|
-
|
|
28952
|
-
var PartnerLineChart = function PartnerLineChart(props) {
|
|
28953
|
-
var chartData = props.chartData;
|
|
28954
|
-
var chartRef = useRef(null);
|
|
28955
|
-
var myLineChart = null;
|
|
28956
|
-
useEffect(function () {
|
|
28957
|
-
if (chartData && chartRef.current) {
|
|
28958
|
-
Chart.defaults.global = {
|
|
28959
|
-
// Boolean - Whether to animate the chart
|
|
28960
|
-
animation: true,
|
|
28961
|
-
// Number - Number of animation steps
|
|
28962
|
-
animationSteps: 60,
|
|
28963
|
-
// String - Animation easing effect
|
|
28964
|
-
// Possible effects are:
|
|
28965
|
-
// [easeInOutQuart, linear, easeOutBounce, easeInBack, easeInOutQuad,
|
|
28966
|
-
// easeOutQuart, easeOutQuad, easeInOutBounce, easeOutSine, easeInOutCubic,
|
|
28967
|
-
// easeInExpo, easeInOutBack, easeInCirc, easeInOutElastic, easeOutBack,
|
|
28968
|
-
// easeInQuad, easeInOutExpo, easeInQuart, easeOutQuint, easeInOutCirc,
|
|
28969
|
-
// easeInSine, easeOutExpo, easeOutCirc, easeOutCubic, easeInQuint,
|
|
28970
|
-
// easeInElastic, easeInOutSine, easeInOutQuint, easeInBounce,
|
|
28971
|
-
// easeOutElastic, easeInCubic]
|
|
28972
|
-
animationEasing: "easeOutQuart",
|
|
28973
|
-
// Boolean - If we should show the scale at all
|
|
28974
|
-
showScale: true,
|
|
28975
|
-
// Boolean - If we want to override with a hard coded scale
|
|
28976
|
-
scaleOverride: false,
|
|
28977
|
-
// ** Required if scaleOverride is true **
|
|
28978
|
-
// Number - The number of steps in a hard coded scale
|
|
28979
|
-
scaleSteps: null,
|
|
28980
|
-
// Number - The value jump in the hard coded scale
|
|
28981
|
-
scaleStepWidth: null,
|
|
28982
|
-
// Number - The scale starting value
|
|
28983
|
-
scaleStartValue: null,
|
|
28984
|
-
// String - Colour of the scale line
|
|
28985
|
-
scaleLineColor: "rgba(0,0,0,.1)",
|
|
28986
|
-
// Number - Pixel width of the scale line
|
|
28987
|
-
scaleLineWidth: 1,
|
|
28988
|
-
// Boolean - Whether to show labels on the scale
|
|
28989
|
-
scaleShowLabels: true,
|
|
28990
|
-
// Interpolated JS string - can access value
|
|
28991
|
-
scaleLabel: "<%='$' +parseFloat(value).toLocaleString() %>",
|
|
28992
|
-
// Boolean - Whether the scale should stick to integers, not floats even if drawing space is there
|
|
28993
|
-
scaleIntegersOnly: true,
|
|
28994
|
-
// Boolean - Whether the scale should start at zero, or an order of magnitude down from the lowest value
|
|
28995
|
-
scaleBeginAtZero: false,
|
|
28996
|
-
// String - Scale label font declaration for the scale label
|
|
28997
|
-
scaleFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
|
|
28998
|
-
// Number - Scale label font size in pixels
|
|
28999
|
-
scaleFontSize: 15,
|
|
29000
|
-
// String - Scale label font weight style
|
|
29001
|
-
scaleFontStyle: "normal",
|
|
29002
|
-
// String - Scale label font colour
|
|
29003
|
-
scaleFontColor: "#666",
|
|
29004
|
-
// Boolean - whether or not the chart should be responsive and resize when the browser does.
|
|
29005
|
-
responsive: true,
|
|
29006
|
-
// Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
|
|
29007
|
-
maintainAspectRatio: false,
|
|
29008
|
-
// Boolean - Determines whether to draw tooltips on the canvas or not
|
|
29009
|
-
showTooltips: true,
|
|
29010
|
-
// Function - Determines whether to execute the customTooltips function instead of drawing the built in tooltips (See [Advanced - External Tooltips](#advanced-usage-custom-tooltips))
|
|
29011
|
-
customTooltips: false,
|
|
29012
|
-
// Array - Array of string names to attach tooltip events
|
|
29013
|
-
tooltipEvents: ["mousemove", "touchstart", "touchmove"],
|
|
29014
|
-
// String - Tooltip background colour
|
|
29015
|
-
tooltipFillColor: "rgba(0,0,0,0.8)",
|
|
29016
|
-
// String - Tooltip label font declaration for the scale label
|
|
29017
|
-
tooltipFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
|
|
29018
|
-
// Number - Tooltip label font size in pixels
|
|
29019
|
-
tooltipFontSize: 14,
|
|
29020
|
-
// String - Tooltip font weight style
|
|
29021
|
-
tooltipFontStyle: "normal",
|
|
29022
|
-
// String - Tooltip label font colour
|
|
29023
|
-
tooltipFontColor: "#fff",
|
|
29024
|
-
// String - Tooltip title font declaration for the scale label
|
|
29025
|
-
tooltipTitleFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
|
|
29026
|
-
// Number - Tooltip title font size in pixels
|
|
29027
|
-
tooltipTitleFontSize: 14,
|
|
29028
|
-
// String - Tooltip title font weight style
|
|
29029
|
-
tooltipTitleFontStyle: "bold",
|
|
29030
|
-
// String - Tooltip title font colour
|
|
29031
|
-
tooltipTitleFontColor: "#fff",
|
|
29032
|
-
// Number - pixel width of padding around tooltip text
|
|
29033
|
-
tooltipYPadding: 6,
|
|
29034
|
-
// Number - pixel width of padding around tooltip text
|
|
29035
|
-
tooltipXPadding: 6,
|
|
29036
|
-
// Number - Size of the caret on the tooltip
|
|
29037
|
-
tooltipCaretSize: 8,
|
|
29038
|
-
// Number - Pixel radius of the tooltip border
|
|
29039
|
-
tooltipCornerRadius: 6,
|
|
29040
|
-
// Number - Pixel offset from point x to tooltip edge
|
|
29041
|
-
tooltipXOffset: 10,
|
|
29042
|
-
// String - Template string for single tooltips
|
|
29043
|
-
tooltipTemplate: "<%if (label){%><%=label%>: <%}%><%= '$' +parseFloat(value).toLocaleString() %>",
|
|
29044
|
-
// String - Template string for multiple tooltips
|
|
29045
|
-
multiTooltipTemplate: "<%= '$' +parseFloat(value).toLocaleString() %>",
|
|
29046
|
-
// Function - Will fire on animation progression.
|
|
29047
|
-
onAnimationProgress: function onAnimationProgress() {},
|
|
29048
|
-
// Function - Will fire on animation completion.
|
|
29049
|
-
onAnimationComplete: function onAnimationComplete() {}
|
|
29050
|
-
};
|
|
29051
|
-
var ctx = chartRef.current.getContext("2d");
|
|
29052
|
-
var lineData = {
|
|
29053
|
-
labels: chartData.months_label,
|
|
29054
|
-
datasets: [{
|
|
29055
|
-
label: "My Second dataset",
|
|
29056
|
-
fillColor: "rgba(255,255,255,0)",
|
|
29057
|
-
strokeColor: "#FC595D",
|
|
29058
|
-
pointColor: "#FC595D",
|
|
29059
|
-
pointStrokeColor: "#FC595D",
|
|
29060
|
-
pointHighlightFill: "#d87805",
|
|
29061
|
-
pointHighlightStroke: "#d87805",
|
|
29062
|
-
data: chartData.current_year
|
|
29063
|
-
}]
|
|
29064
|
-
};
|
|
29065
|
-
myLineChart = new Chart(ctx).Line(lineData, {
|
|
29066
|
-
pointDotRadius: 0,
|
|
29067
|
-
bezierCurve: true,
|
|
29068
|
-
scaleShowVerticalLines: true,
|
|
29069
|
-
scaleShowHorizontalLines: false,
|
|
29070
|
-
scaleGridLineColor: "#CCCCCC"
|
|
29071
|
-
});
|
|
29072
|
-
}
|
|
29073
|
-
|
|
29074
|
-
return function () {
|
|
29075
|
-
if (myLineChart) {
|
|
29076
|
-
myLineChart.destroy();
|
|
29077
|
-
}
|
|
29078
|
-
};
|
|
29079
|
-
}, [chartData]); // Update the chart if the props change
|
|
29080
|
-
// useEffect(() => {
|
|
29081
|
-
// if (myLineChart && chartRef.current) {
|
|
29082
|
-
// const ctx = chartRef.current.getContext("2d");
|
|
29083
|
-
// let lineData = {
|
|
29084
|
-
// labels: chartData.monthsLabel,
|
|
29085
|
-
// datasets: [
|
|
29086
|
-
// {
|
|
29087
|
-
// label: "My Second dataset",
|
|
29088
|
-
// fillColor: "rgba(255,255,255,0)",
|
|
29089
|
-
// strokeColor: "#fba026",
|
|
29090
|
-
// pointColor: "#fba026",
|
|
29091
|
-
// pointStrokeColor: "#fba026",
|
|
29092
|
-
// pointHighlightFill: "#d87805",
|
|
29093
|
-
// pointHighlightStroke: "#d87805",
|
|
29094
|
-
// data: chartData.currentYear,
|
|
29095
|
-
// },
|
|
29096
|
-
// ],
|
|
29097
|
-
// };
|
|
29098
|
-
// new Chart(ctx).Line(lineData, {
|
|
29099
|
-
// pointDotRadius: 2,
|
|
29100
|
-
// bezierCurve: true,
|
|
29101
|
-
// scaleShowVerticalLines: true,
|
|
29102
|
-
// scaleShowHorizontalLines: false,
|
|
29103
|
-
// scaleGridLineColor: "#CCCCCC",
|
|
29104
|
-
// });
|
|
29105
|
-
// }
|
|
29106
|
-
// }, [myLineChart, chartData]);
|
|
29107
|
-
|
|
29108
|
-
return React.createElement("div", {
|
|
29109
|
-
className: cls$f.canvasContainer
|
|
29110
|
-
}, React.createElement("canvas", {
|
|
29111
|
-
ref: chartRef,
|
|
29112
|
-
width: "auto",
|
|
29113
|
-
height: "236"
|
|
29114
|
-
}));
|
|
29115
|
-
};
|
|
29116
|
-
|
|
29117
|
-
var css$g = ".partner-line-chart-block-module_partnerLineChartBlock__2qGsV {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px;\n margin: 20px;\n max-width: none;\n text-align: center;\n line-height: 1.5; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_chartWrapper__2qobv {\n margin: 20px 0; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_chartStats__yfboP {\n width: 100%;\n align-items: center;\n text-align: center;\n display: flex; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_chartStats__yfboP .partner-line-chart-block-module_chartStatsItem__UDe3C {\n width: 50%; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_amount_raised__6ljOa {\n line-height: 1.5;\n margin: 20px;\n font-weight: bold; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_amount_raised__6ljOa .partner-line-chart-block-module_highlight__1dTYh {\n font-weight: bold;\n color: #8D8D94; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_amount_raised__6ljOa .partner-line-chart-block-module_highlight__1dTYh span {\n white-space: nowrap; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_amount_raised__6ljOa .partner-line-chart-block-module_title__Rvr77 {\n text-transform: uppercase; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_amount_raised__6ljOa .partner-line-chart-block-module_numeric__1yBjL {\n color: #404041;\n font-weight: bold;\n line-height: 1.3;\n font-family: Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"; }\n\n@media all and (max-width: 540px) {\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_chartStats__yfboP {\n flex-direction: column; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_chartStats__yfboP .partner-line-chart-block-module_chartStatsItem__UDe3C {\n width: 100%; }\n .partner-line-chart-block-module_partnerLineChartBlock__2qGsV .partner-line-chart-block-module_amount_raised__6ljOa {\n margin: 5px; } }\n";
|
|
29118
|
-
var cls$g = {"partnerLineChartBlock":"partner-line-chart-block-module_partnerLineChartBlock__2qGsV","chartWrapper":"partner-line-chart-block-module_chartWrapper__2qobv","chartStats":"partner-line-chart-block-module_chartStats__yfboP","chartStatsItem":"partner-line-chart-block-module_chartStatsItem__UDe3C","amount_raised":"partner-line-chart-block-module_amount_raised__6ljOa","highlight":"partner-line-chart-block-module_highlight__1dTYh","title":"partner-line-chart-block-module_title__Rvr77","numeric":"partner-line-chart-block-module_numeric__1yBjL"};
|
|
29119
|
-
styleInject(css$g);
|
|
29120
|
-
|
|
29121
|
-
var PartnerLineChartBlock = function PartnerLineChartBlock(_ref) {
|
|
29122
|
-
var currentYearData = _ref.currentYearData,
|
|
29123
|
-
totalDonation = _ref.totalDonation,
|
|
29124
|
-
chartData = _ref.chartData;
|
|
29125
|
-
var formatterMoney = new Intl.NumberFormat("en-US", {
|
|
29126
|
-
style: "currency",
|
|
29127
|
-
currency: "USD",
|
|
29128
|
-
minimumFractionDigits: 0
|
|
29129
|
-
});
|
|
29130
|
-
return React.createElement("div", {
|
|
29131
|
-
className: cls$g.partnerLineChartBlock
|
|
29132
|
-
}, React.createElement("div", {
|
|
29133
|
-
className: cls$g.chartWrapper
|
|
29134
|
-
}, React.createElement(PartnerLineChart, {
|
|
29135
|
-
chartData: chartData
|
|
29136
|
-
})), React.createElement("div", {
|
|
29137
|
-
className: cls$g.chartStatsWrap
|
|
29138
|
-
}, React.createElement("div", null, React.createElement("div", null, React.createElement("div", {
|
|
29139
|
-
className: cls$g.chartStats
|
|
29140
|
-
}, React.createElement("div", {
|
|
29141
|
-
className: cls$g.chartStatsItem
|
|
29142
|
-
}, React.createElement("div", {
|
|
29143
|
-
className: cls$g.amount_raised
|
|
29144
|
-
}, React.createElement("div", {
|
|
29145
|
-
className: cls$g.highlight
|
|
29146
|
-
}, "Donations this financial year ", React.createElement("span", null, "(July - June)")), React.createElement("div", {
|
|
29147
|
-
className: cls$g.numeric
|
|
29148
|
-
}, formatterMoney.format(currentYearData.reduce(function (a, b) {
|
|
29149
|
-
return parseFloat(a) + parseFloat(b);
|
|
29150
|
-
}, 0))))), React.createElement("div", {
|
|
29151
|
-
className: cls$g.chartStatsItem
|
|
29152
|
-
}, React.createElement("div", {
|
|
29153
|
-
className: cls$g.amount_raised
|
|
29154
|
-
}, React.createElement("div", {
|
|
29155
|
-
className: cls$g.highlight
|
|
29156
|
-
}, "Donations this calendar year ", React.createElement("span", null, "(Jan - Dec)")), React.createElement("div", {
|
|
29157
|
-
className: cls$g.numeric
|
|
29158
|
-
}, formatterMoney.format(totalDonation)))))))));
|
|
29159
|
-
};
|
|
29160
|
-
|
|
29161
|
-
PartnerLineChartBlock.propTypes = {
|
|
29162
|
-
currentYearData: _pt.any.isRequired,
|
|
29163
|
-
totalDonation: _pt.number.isRequired,
|
|
29164
|
-
chartData: _pt.shape({
|
|
29165
|
-
current_year: _pt.any.isRequired,
|
|
29166
|
-
months_label: _pt.any.isRequired,
|
|
29167
|
-
requested_year: _pt.any.isRequired
|
|
29168
|
-
}).isRequired
|
|
29169
|
-
};
|
|
29170
|
-
|
|
29171
|
-
var css$h = ".partner-monthly-donations-module_wrapper__1bToV {\n width: 100%;\n margin: 0 20px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_title__2qI2n {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX {\n display: flex;\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n justify-content: space-around;\n border-radius: 10px;\n align-items: center;\n min-height: 152px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_wrap__1lxLO {\n display: flex;\n align-items: center;\n justify-content: space-around;\n padding: 20px 0 20px 20px;\n width: 100%; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_text__1wLhB {\n font-size: 24px;\n line-height: 1.5;\n font-family: \"Montserrat\", \"Roboto\", sans-serif;\n font-weight: 500;\n color: #404041; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_item__hXu3n {\n margin: 0 20px;\n color: #fc595d;\n font-size: 36px;\n font-weight: bold;\n font-family: \"Arial\"; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb {\n padding-right: 20px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb .partner-monthly-donations-module_month_donation_button__3F4P8 {\n width: 200px;\n border-radius: 60px;\n background: linear-gradient(to right, #fc595d, #ffa05a);\n padding: 8px;\n float: right;\n margin: 0 10px;\n align-items: center;\n display: flex;\n justify-content: center; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb .partner-monthly-donations-module_month_donation_button__3F4P8 a {\n color: white !important;\n font-family: \"Montserrat\", \"Roboto\", sans-serif;\n font-size: 14px;\n cursor: pointer;\n text-decoration: none;\n font-weight: 600; }\n\n@media (max-width: 760px) {\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX {\n flex-direction: column; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_text__1wLhB {\n font-size: 22px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_wrap__1lxLO {\n flex-direction: column; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_wrap__1lxLO .partner-monthly-donations-module_month_donation_text__1wLhB {\n margin: 0; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_item__hXu3n {\n font-size: 30px; }\n .partner-monthly-donations-module_wrapper__1bToV .partner-monthly-donations-module_month_donation__2-0eX .partner-monthly-donations-module_month_donation_button_wrap__19gRb {\n padding-right: 0;\n padding-bottom: 20px; } }\n";
|
|
29172
|
-
var cls$h = {"wrapper":"partner-monthly-donations-module_wrapper__1bToV","title":"partner-monthly-donations-module_title__2qI2n","month_donation":"partner-monthly-donations-module_month_donation__2-0eX","month_donation_wrap":"partner-monthly-donations-module_month_donation_wrap__1lxLO","month_donation_text":"partner-monthly-donations-module_month_donation_text__1wLhB","month_donation_item":"partner-monthly-donations-module_month_donation_item__hXu3n","month_donation_button_wrap":"partner-monthly-donations-module_month_donation_button_wrap__19gRb","month_donation_button":"partner-monthly-donations-module_month_donation_button__3F4P8"};
|
|
29173
|
-
styleInject(css$h);
|
|
29174
|
-
|
|
29175
|
-
var PartnerMonthlyDonations = function PartnerMonthlyDonations(_ref) {
|
|
29176
|
-
var totalAmount = _ref.totalAmount,
|
|
29177
|
-
numberOfDonations = _ref.numberOfDonations,
|
|
29178
|
-
donationsLink = _ref.donationsLink;
|
|
29179
|
-
return React.createElement("div", {
|
|
29180
|
-
className: cls$h.wrapper
|
|
29181
|
-
}, React.createElement("div", {
|
|
29182
|
-
className: cls$h.title
|
|
29183
|
-
}, "This Month"), React.createElement("div", {
|
|
29184
|
-
className: cls$h.month_donation
|
|
29185
|
-
}, React.createElement("div", {
|
|
29186
|
-
className: cls$h.month_donation_wrap
|
|
29187
|
-
}, React.createElement("p", {
|
|
29188
|
-
className: cls$h.month_donation_text
|
|
29189
|
-
}, "Total donations this month"), React.createElement("span", {
|
|
29190
|
-
className: cls$h.month_donation_item
|
|
29191
|
-
}, "$", totalAmount || 0), React.createElement("span", {
|
|
29192
|
-
className: cls$h.month_donation_item
|
|
29193
|
-
}, numberOfDonations || 0)), React.createElement("div", {
|
|
29194
|
-
className: cls$h.month_donation_button_wrap
|
|
29195
|
-
}, React.createElement("div", {
|
|
29196
|
-
className: cls$h.month_donation_button
|
|
29197
|
-
}, React.createElement("a", {
|
|
29198
|
-
href: donationsLink
|
|
29199
|
-
}, "Go to Donations ", ">>")))));
|
|
29200
|
-
};
|
|
29201
|
-
|
|
29202
|
-
PartnerMonthlyDonations.propTypes = {
|
|
29203
|
-
totalAmount: _pt.number,
|
|
29204
|
-
numberOfDonations: _pt.number,
|
|
29205
|
-
donationsLink: _pt.string
|
|
29206
|
-
};
|
|
29207
|
-
|
|
29208
|
-
var css$i = ".partner-monthly-stats-module_wrapper__1M7HB {\n width: 100%;\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px;\n max-width: 420px;\n text-align: center;\n line-height: 1.5; }\n .partner-monthly-stats-module_wrapper__1M7HB .partner-monthly-stats-module_amount_raised__3DDen {\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center; }\n .partner-monthly-stats-module_wrapper__1M7HB .partner-monthly-stats-module_amount_raised__3DDen .partner-monthly-stats-module_numeric__39u6z {\n color: #FC595D;\n font-weight: bold; }\n .partner-monthly-stats-module_wrapper__1M7HB .partner-monthly-stats-module_amount_raised__3DDen .partner-monthly-stats-module_title__VRsZU {\n font-weight: bold;\n font-family: \"Arial\", Helvetica Neue, Helvetica, sans-serif;\n color: #404041; }\n";
|
|
29209
|
-
var cls$i = {"wrapper":"partner-monthly-stats-module_wrapper__1M7HB","amount_raised":"partner-monthly-stats-module_amount_raised__3DDen","numeric":"partner-monthly-stats-module_numeric__39u6z","title":"partner-monthly-stats-module_title__VRsZU"};
|
|
29210
|
-
styleInject(css$i);
|
|
29211
|
-
|
|
29212
|
-
var PartnerMonthlyStats = function PartnerMonthlyStats(_ref) {
|
|
29213
|
-
var numeric = _ref.numeric,
|
|
29214
|
-
title = _ref.title;
|
|
29215
|
-
return React.createElement("div", {
|
|
29216
|
-
className: cls$i.wrapper
|
|
29217
|
-
}, React.createElement("div", {
|
|
29218
|
-
className: cls$i.amount_raised
|
|
29219
|
-
}, React.createElement("div", {
|
|
29220
|
-
className: cls$i.numeric
|
|
29221
|
-
}, numeric), React.createElement("div", {
|
|
29222
|
-
className: cls$i.title
|
|
29223
|
-
}, title)));
|
|
29224
|
-
};
|
|
29225
|
-
|
|
29226
|
-
PartnerMonthlyStats.propTypes = {
|
|
29227
|
-
numeric: _pt.number.isRequired,
|
|
29228
|
-
title: _pt.string.isRequired
|
|
29229
|
-
};
|
|
29230
|
-
|
|
29231
|
-
var css$j = ".partner-monthly-table-module_wrapper__e92hP {\n width: 100%;\n margin: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_title__2Sfuk {\n font-size: 24px;\n font-weight: bold;\n line-height: 1.4;\n margin-bottom: 5px;\n font-family: \"Montserrat\", \"Roboto\", sans-serif; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk {\n box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px;\n border-radius: 10px;\n padding: 20px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW {\n display: flex;\n align-items: end; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji {\n position: relative;\n display: inline-block; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img {\n margin-bottom: 7px;\n margin-left: 5px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji img svg {\n background-color: #000; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: hidden;\n width: 320px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 8px 13px;\n position: absolute;\n z-index: 1;\n top: 105%;\n right: 50%;\n margin-right: -162px;\n border: 1px solid #fba026;\n opacity: 0;\n transition: opacity 0.5s;\n line-height: 1.2; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji .partner-monthly-table-module_tooltiptext__1Q9pA::after {\n content: \"\";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: transparent transparent #fba026 transparent; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk .partner-monthly-table-module_title_wrap__3zZFW .partner-monthly-table-module_tooltip__2P0Ji:hover .partner-monthly-table-module_tooltiptext__1Q9pA {\n visibility: visible;\n opacity: 1; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk table {\n border-collapse: collapse;\n margin-bottom: 50px; }\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk th,\n .partner-monthly-table-module_wrapper__e92hP .partner-monthly-table-module_table_wrap__j98xk td {\n border-bottom: 1px solid #d5d5d5;\n padding: 20px 0; }\n .partner-monthly-table-module_wrapper__e92hP td {\n text-align: center; }\n";
|
|
29232
|
-
var cls$j = {"wrapper":"partner-monthly-table-module_wrapper__e92hP","title":"partner-monthly-table-module_title__2Sfuk","table_wrap":"partner-monthly-table-module_table_wrap__j98xk","title_wrap":"partner-monthly-table-module_title_wrap__3zZFW","tooltip":"partner-monthly-table-module_tooltip__2P0Ji","tooltiptext":"partner-monthly-table-module_tooltiptext__1Q9pA"};
|
|
29233
|
-
styleInject(css$j);
|
|
29234
|
-
|
|
29235
|
-
const img$i = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Uploaded to: SVG Repo%2c www.svgrepo.com%2c Generator: SVG Repo Mixer Tools --%3e%3csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.3027 13.3942C10.2316 13.7147 10.5038 14 10.8479 14H13.0406C13.2979 14 13.5151 13.8351 13.6064 13.6061C13.697 13.3789 14.0117 12.9674 14.254 12.7518C14.4827 12.5112 14.7213 12.2848 14.9563 12.0618C15.8824 11.183 16.754 10.356 16.754 8.91047C16.754 6.40301 14.582 5 12.2707 5C10.5038 5 8.06416 5.80604 7.58396 8.50363C7.48716 9.04737 7.94773 9.5 8.50002 9.5H9.91229C10.4388 9.5 10.8312 9.07642 11.0121 8.582C11.1863 8.10604 11.5379 7.7551 12.2707 7.7551C13.6066 7.7551 13.6064 9.22371 12.8346 10.1843C12.5434 10.5467 12.2023 10.8677 11.8648 11.1853C11.1798 11.8298 10.5098 12.4602 10.3027 13.3942ZM13.9999 17C13.9999 18.1046 13.1045 19 11.9999 19C10.8954 19 9.99994 18.1046 9.99994 17C9.99994 15.8954 10.8954 15 11.9999 15C13.1045 15 13.9999 15.8954 13.9999 17Z' fill='%23efefef'/%3e%3c/svg%3e";
|
|
29236
|
-
|
|
29237
|
-
var scope$4 = {
|
|
29238
|
-
styles: React.createElement(_JSXStyle, {
|
|
29239
|
-
id: "3002567813"
|
|
29240
|
-
}, ".main-list-meta.jsx-3002567813{margin-left:10px;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnRuZXItbW9udGhseS10YWJsZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBY3lCLEFBR3NCLGlCQUNuQiIsImZpbGUiOiJwYXJ0bmVyLW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Rlbj1cInRydWVcIj48L2k+XG4gICAgICAgICAgICAgIDxpbWcgc3JjPXtRdWVzdGlvbkljb259IHdpZHRoPXsyMn0gaGVpZ2h0PXsyMn0gLz5cbiAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPXtjbHMudG9vbHRpcHRleHR9Pnt0b29sdGlwfTwvc3Bhbj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICApfVxuXG4gICAgICAgIDx0YWJsZSBzdHlsZT17eyB3aWR0aDogXCIxMDAlXCIgfX0+XG4gICAgICAgICAgPHRoZWFkPntyZW5kZXJIZWFkZXIoKX08L3RoZWFkPlxuICAgICAgICAgIDx0Ym9keT4ge2RhdGEubWFwKChpdGVtLCBpbmRleCkgPT4gcmVuZGVyUm93KGl0ZW0sIGluZGV4KSl9PC90Ym9keT5cbiAgICAgICAgPC90YWJsZT5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFydG5lck1vbnRobHlUYWJsZTtcbiJdfQ== */\n/*@ sourceURL=partner-monthly-table.tsx */"),
|
|
29241
|
-
className: "jsx-3002567813"
|
|
29242
|
-
};
|
|
29243
|
-
|
|
29244
|
-
var PartnerMonthlyTable = function PartnerMonthlyTable(_ref) {
|
|
29245
|
-
var columns = _ref.columns,
|
|
29246
|
-
data = _ref.data,
|
|
29247
|
-
title = _ref.title,
|
|
29248
|
-
tooltip = _ref.tooltip;
|
|
29249
|
-
|
|
29250
|
-
var renderHeader = function renderHeader() {
|
|
29251
|
-
return React.createElement("tr", null, columns.map(function (column, index) {
|
|
29252
|
-
return React.createElement("th", {
|
|
29253
|
-
key: index,
|
|
29254
|
-
style: {
|
|
29255
|
-
textAlign: column.align
|
|
29256
|
-
}
|
|
29257
|
-
}, column.label);
|
|
29258
|
-
}));
|
|
29259
|
-
};
|
|
29260
|
-
|
|
29261
|
-
var renderRow = function renderRow(item, rowIndex) {
|
|
29262
|
-
return React.createElement("tr", {
|
|
29263
|
-
key: rowIndex
|
|
29264
|
-
}, columns.map(function (column, colIndex) {
|
|
29265
|
-
return React.createElement("td", {
|
|
29266
|
-
key: colIndex,
|
|
29267
|
-
style: {
|
|
29268
|
-
textAlign: column.align
|
|
29269
|
-
}
|
|
29270
|
-
}, column.renderCell(item));
|
|
29271
|
-
}));
|
|
29272
|
-
};
|
|
29273
|
-
|
|
29274
|
-
return React.createElement("div", {
|
|
29275
|
-
className: cls$j.wrapper
|
|
29276
|
-
}, React.createElement("div", {
|
|
29277
|
-
className: cls$j.table_wrap
|
|
29278
|
-
}, title && React.createElement("div", {
|
|
29279
|
-
className: cls$j.title_wrap
|
|
29280
|
-
}, React.createElement("p", {
|
|
29281
|
-
className: cls$j.title
|
|
29282
|
-
}, title), React.createElement("div", {
|
|
29283
|
-
className: cls$j.tooltip
|
|
29284
|
-
}, React.createElement("i", {
|
|
29285
|
-
className: "fa fa-question-circle",
|
|
29286
|
-
"aria-hidden": "true"
|
|
29287
|
-
}), React.createElement("img", {
|
|
29288
|
-
src: img$i,
|
|
29289
|
-
width: 22,
|
|
29290
|
-
height: 22
|
|
29291
|
-
}), React.createElement("span", {
|
|
29292
|
-
className: cls$j.tooltiptext
|
|
29293
|
-
}, tooltip))), React.createElement("table", {
|
|
29294
|
-
style: {
|
|
29295
|
-
width: "100%"
|
|
29296
|
-
}
|
|
29297
|
-
}, React.createElement("thead", null, renderHeader()), React.createElement("tbody", null, " ", data.map(function (item, index) {
|
|
29298
|
-
return renderRow(item, index);
|
|
29299
|
-
})))));
|
|
29300
|
-
};
|
|
29301
|
-
|
|
29302
|
-
PartnerMonthlyTable.propTypes = {
|
|
29303
|
-
columns: _pt.any.isRequired,
|
|
29304
|
-
data: _pt.any.isRequired,
|
|
29305
|
-
title: _pt.string,
|
|
29306
|
-
tooltip: _pt.string
|
|
29307
|
-
};
|
|
29308
|
-
|
|
29309
|
-
export { Anchor, Avatar, BoldAnchor, Box, Button, ButtonSelect, CampaignCard, CampaignOfMonth, CharityCard, Checkbox, Chip, Chips, ComboField, ComboFieldExpander, CommentSection, CommentSectionV2, Cropper, DatePicker, DonateCard, DonationForm, DonationFormV2, Elevation, FeaturedCampaignCard, FieldHelperText, FieldLabel, Flex, FooterV2, FundraisingSection, Grid, HeartToggle, HeroBnner as HeroBanner, HorizontalBar, Icon, IconButton, IconButtonGroup, InputChips, List, Login, MENU_ANCHOR_CLASS, Menu, MenuList, ListDivider as MenuListDivider, MenuListItem, MenuListItemGraphic, ListItemMeta as MenuListItemMeta, MenuListItemText, MenuSurface, Modal, MyCauseTheme, Navigation$1 as Nav, Navigation, PartnerLineChart, PartnerLineChartBlock, PartnerMonthlyDonations, PartnerMonthlyStats as PartnerMonthlyStart, PartnerMonthlyTable, PhoneNumberInput, Popup, ProgressBar, Radio, RadioGroup, Select, SelectHelperText, CustomSingleDatePicker as SingleDatePicker, Spinner, Stack, StartCampaignCard, Statistics, Switch, Tabs, Text, TextField, HelperText as TextFieldHelperText, TextFieldSearch, ThemeContext, ThemeProvider, Uploader, getColorToken, parseNationalPhoneNumber, useTheme };
|
|
29310
|
+
export { Anchor, Avatar, BoldAnchor, Box, Button, ButtonSelect, CampaignCard, CampaignOfMonth, CharityCard, Checkbox, Chip, Chips, ComboField, ComboFieldExpander, CommentSection, CommentSectionV2, Cropper, DatePicker, DonateCard, DonationForm, DonationFormV2, Elevation, FeaturedCampaignCard, FieldHelperText, FieldLabel, Flex, FooterV2, FundraisingSection, Grid, HeartToggle, HeroBnner as HeroBanner, HorizontalBar, Icon, IconButton, IconButtonGroup, InputChips, List, Login, MENU_ANCHOR_CLASS, Menu, MenuList, ListDivider as MenuListDivider, MenuListItem, MenuListItemGraphic, ListItemMeta as MenuListItemMeta, MenuListItemText, MenuSurface, Modal, ModalImage, MyCauseTheme, Navigation$1 as Nav, Navigation, PartnerChartStats, PartnerMonthlyDonations, PartnerMonthlyStats, PartnerMonthlyTable, PartnerToggleButton, PartnerToggleButtonBlock, PhoneNumberInput, Popup, ProgressBar, Radio, RadioGroup, Select, SelectHelperText, CustomSingleDatePicker as SingleDatePicker, Spinner, Stack, StartCampaignCard, Statistics, Switch, Tabs, Text, TextField, HelperText as TextFieldHelperText, TextFieldSearch, ThemeContext, ThemeProvider, ThisMonthCard, Uploader, getColorToken, parseNationalPhoneNumber, useTheme };
|