Give – Donation Plugin and Fundraising Platform - Version 2.7.3

Version Description

Download this release

Release Info

Developer dlocc
Plugin Icon 128x128 Give – Donation Plugin and Fundraising Platform
Version 2.7.3
Comparing to
See all releases

Code changes from version 2.7.2 to 2.7.3

Files changed (45) hide show
  1. assets/dist/css/admin.css +1 -1
  2. assets/dist/css/admin.rtl.css +1 -1
  3. assets/dist/css/give-sequoia-template.css +1 -1
  4. assets/dist/css/give-sequoia-template.rtl.css +1 -1
  5. assets/dist/js/admin.js +1 -1
  6. assets/dist/js/give-sequoia-template.js +1 -1
  7. give.php +345 -683
  8. includes/admin/class-admin-settings.php +20 -20
  9. includes/admin/forms/class-metabox-form-data.php +9 -8
  10. includes/admin/give-metabox-functions.php +53 -54
  11. includes/admin/settings/class-settings-display.php +9 -8
  12. includes/misc-functions.php +1 -1
  13. languages/give.pot +131 -133
  14. readme.txt +10 -2
  15. src/API/API.php +0 -59
  16. src/API/Endpoints/Reports/AverageDonation.php +77 -46
  17. src/API/Endpoints/Reports/DonationsVsIncome.php +1 -1
  18. src/API/Endpoints/Reports/Endpoint.php +68 -57
  19. src/API/Endpoints/Reports/FormPerformance.php +4 -2
  20. src/API/Endpoints/Reports/Income.php +5 -4
  21. src/API/Endpoints/Reports/IncomeBreakdown.php +9 -9
  22. src/API/Endpoints/Reports/PaymentMethods.php +3 -2
  23. src/API/Endpoints/Reports/PaymentStatuses.php +1 -1
  24. src/API/Endpoints/Reports/RecentDonations.php +2 -2
  25. src/API/Endpoints/Reports/TopDonors.php +3 -2
  26. src/API/Endpoints/Reports/TotalDonors.php +19 -10
  27. src/API/Endpoints/Reports/TotalIncome.php +49 -41
  28. src/API/Endpoints/Reports/TotalRefunds.php +23 -14
  29. src/API/RestRoute.php +14 -0
  30. src/Container/Container.php +1160 -0
  31. src/Container/Exceptions/BindingResolutionException.php +9 -0
  32. src/Helpers/Hooks.php +79 -0
  33. src/ServiceProviders/LegacyServiceProvider.php +254 -0
  34. src/ServiceProviders/RestAPI.php +62 -0
  35. src/ServiceProviders/ServiceProvider.php +33 -0
  36. src/Session/Accessor.php +2 -1
  37. src/Session/SessionDonation/SessionObjects/Donation.php +2 -2
  38. src/Views/Form/Templates/Sequoia/Sequoia.php +16 -0
  39. src/Views/Form/Templates/Sequoia/assets/css/form.scss +0 -1
  40. src/Views/Form/Templates/Sequoia/assets/css/newsletter.scss +1 -0
  41. src/Views/Form/Templates/Sequoia/assets/js/form.js +12 -1
  42. src/Views/Form/Templates/Sequoia/optionConfig.php +3 -3
  43. vendor/autoload.php +1 -1
  44. vendor/composer/autoload_real.php +4 -4
  45. vendor/composer/autoload_static.php +4 -4
assets/dist/css/admin.css CHANGED
@@ -26,4 +26,4 @@ This file is generated by `grunt build`, do not edit it by hand.
26
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
27
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
28
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
29
- */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-grid-row{position:relative;width:100%}.give-grid-row [class^=give-grid-col]{float:left;margin:.5rem 1%;min-height:.125rem}.give-grid-row:after{content:"";display:table;clear:both}.give-grid-col-1{width:6.33333%}.give-grid-col-2{width:14.66667%}.give-grid-col-3{width:23%}.give-grid-col-4{width:31.33333%}.give-grid-col-5{width:39.66667%}.give-grid-col-6{width:48%}.give-grid-col-7{width:56.33333%}.give-grid-col-8{width:64.66667%}.give-grid-col-9{width:73%}.give-grid-col-10{width:81.33333%}.give-grid-col-11{width:89.66667%}.give-grid-col-12{width:98%}@media only screen and (max-width:33.75em){.give-grid-row [class^=give-grid-col]{width:98%}}.give_options_panel input[type=email],.give_options_panel input[type=text]{padding:3px 5px;width:100%;line-height:2;box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c}input.give-text-small,input.give-text_small{width:100px!important}input.give-text-medium,input.give-text_medium{width:200px!important}.give-hidden,.post-type-give_forms .tablenav #post-query-submit{display:none}.give_options_panel .inner-panel{padding:9px 15px}.give_options_panel .give-time-field{width:65px}.give_options_panel .give-money-field{width:75px;margin-right:0;margin-left:0;vertical-align:baseline}.give_options_panel .give-money-symbol{border:1px solid #7e8993;background:#fcfcfc;margin:0;font-size:14px;padding:8px 10px 9px}.give_options_panel .give-money-symbol-before{border-right:0;margin-right:-5px;border-radius:4px 0 0 4px}.give_options_panel .give-money-symbol-before+.give-money-field{border-top-left-radius:0;border-bottom-left-radius:0}.give_options_panel .give-money-symbol-after{margin-left:-5px;border-radius:0 4px 4px 0}.give_options_panel .give-money-symbol-after+.give-money-field{border-top-right-radius:0;border-bottom-right-radius:0}.give-underline{text-decoration:underline}#give-bulk-donors div[id^=give-donor-]{display:block;overflow:hidden}.shortcode-wrap{margin:1px 14px 12px 11px}.shortcode-wrap label{margin:0 0 3px;display:block;cursor:default}.shortcode-wrap .shortcode-input{margin:0;width:100%}input.shortcode-input{width:100%}.price .give_price_range_high,.price .give_price_range_low,.price .give_price_range_sep{display:inline-block}.js-give-shortcode-button{font-weight:500;cursor:help}.js-give-shortcode-button:after{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);text-shadow:none}.js-give-shortcode-button .dashicons{font-size:16px;width:16px;vertical-align:middle;color:inherit;margin-right:2px}@media only screen and (min-width:782px) and (max-width:1260px){.js-give-shortcode-button .give-button-text{display:none}}.give-tooltip{margin:0 3px;padding:0;font-size:14px;color:rgba(51,51,51,.5);position:relative;top:1px}.give-tooltip:hover{color:#333}#give-metabox-form-data .inside{margin:0;padding:0}#give-metabox-form-data .give-upload-button{height:36px}#give-metabox-form-data .give-colorpicker{margin-right:6px!important}#give-metabox-form-data .give-metabox-panel-wrap{background:#fff;overflow:hidden}#give-metabox-form-data .give_options_panel{display:none;padding-left:170px}#give-metabox-form-data .give_options_panel.active,.no-js #give-metabox-form-data .give_options_panel{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:1em 20px 1em 162px;margin:0;border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-field-wrap>label,#give-metabox-form-data .give_options_panel .give-field-wrap>span.give-field-label{float:left;width:135px;padding:0;margin:2px 0 0 -150px;line-height:18px;font-size:12px;font-weight:400}#give-metabox-form-data .give_options_panel .give-field-wrap .give-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-top:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-field-wrap ul{margin:0}#give-metabox-form-data .give_options_panel .give-field-wrap .mce-container iframe{min-height:250px!important}#give-metabox-form-data .give_options_panel .give-field-wrap .wp-editor-wrap{display:inline-block;width:100%}#give-metabox-form-data .give_options_panel textarea.give-field{width:100%}#give-metabox-form-data .give_options_panel .give-field-wrap:hover .give-field-row-actions{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap:last-child{border-bottom:0}#give-metabox-form-data .give_options_panel .give-inline-radio-fields li{display:inline-block;margin-right:15px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section{padding:10px;background:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeatable-fields-section-wrapper{width:100%;background-color:#fff;border-collapse:collapse}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row{border-bottom:15px solid #f5f5f5;background-color:#fff}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-template{display:none}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row:last-child{border-bottom:10px solid #f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-column{padding:0}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head{border-bottom:1px solid #eee;cursor:move}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head h2{text-align:left!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove{float:right;width:22px;height:36px;padding:0;display:block;text-align:center;line-height:34px;font-size:21px;font-weight:300;cursor:pointer}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove:hover{background-color:red;color:#fff;width:22px;height:22px;border-radius:30px;margin-top:8px;line-height:19px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row .give-move .toggle-indicator:before{margin-left:7px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row-wrap{background-color:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row{margin:5px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-field-wrap:last-child{border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-ui-placeholder-state-highlight{background-color:#68bb6c}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-name{border:0!important;padding:0!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-bottom:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .ui-sortable-helper{display:table!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row.ui-sortable-helper{border-bottom:0}#give-metabox-form-data .give_options_panel .give-row.closed .toggle-indicator:before{content:"\f140"}#give-metabox-form-data .give-minmax-wrap{display:block;margin-bottom:.5rem}#give-metabox-form-data .give-minmax-wrap label{display:inline-block;width:120px;font-size:12px}#give-metabox-form-data .give-minmax-wrap input{margin-left:1px;position:relative;z-index:1;border-radius:0 4px 4px 0}#give-metabox-form-data #form_template_options .templates-list{display:grid;grid-gap:36px;grid-template-columns:1fr 1fr;padding:8px 0 24px}#give-metabox-form-data #form_template_options .templates-list .template-image-container{width:100%;height:auto;position:relative;padding-top:70%}#give-metabox-form-data #form_template_options .templates-list .template-image-container .template-image{height:100%;width:100%;object-fit:cover;position:absolute;top:0;left:0;background-color:#fff}#give-metabox-form-data #form_template_options .templates-list .action{display:flex;align-items:center;background-color:#fafafa;border-top:1px solid #eee;padding:10px}#give-metabox-form-data #form_template_options .templates-list .action .template-name{font-weight:500;flex-grow:1;line-height:1.4;padding-left:6px}#give-metabox-form-data #form_template_options .templates-list .action .badge{display:none;padding:2px 9px;line-height:1.4;background-color:#7ad03a;color:#fff;font-style:normal;border-radius:5px;margin-left:10px;text-shadow:0 1px 1px rgba(0,0,0,.25)}#give-metabox-form-data #form_template_options .form-template-introduction{padding-bottom:16px}#give-metabox-form-data #form_template_options .form-template-introduction p{font-weight:300;font-size:18px;margin:0 0 14px;padding:0}#give-metabox-form-data #form_template_options .form-template-introduction p.form-template-description{color:#9c9c9c;font-size:16px;padding-bottom:26px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice{padding:14px;display:flex;justify-content:space-between;align-items:center;margin-top:24px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice p{flex:1;margin:0 14px;font-size:16px;color:#555}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice .dashicons{font-size:17px;margin-top:4px}#give-metabox-form-data #form_template_options .template-options{display:none}#give-metabox-form-data #form_template_options .template-options>.give-row{margin-bottom:20px;border:1px solid #ccd0d4}#give-metabox-form-data #form_template_options .template-options>.give-row>.give-row-head{background-color:#f1f1f1}#give-metabox-form-data #form_template_options .inner-panel{display:flex;flex-direction:column;padding-left:34px;padding-right:34px}#give-metabox-form-data #form_template_options .inner-panel .templates-list-heading{font-size:14px;font-weight:400;margin:10px 0 15px}#give-metabox-form-data #form_template_options .inner-panel .form-template-options-introduction{display:none;padding-bottom:25px}#give-metabox-form-data #form_template_options .inner-panel .template-info{background:#fafafa;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.07);line-height:0}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template{padding-left:20px;padding-right:20px}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list{grid-template-columns:1fr!important}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-image-container,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info:not(.active){display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info.active .badge{display:inline-block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list-heading{display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-options-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .template-options.active{display:block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .give-file{width:calc(100% - 150px)!important}#_give_donation_levels_field .give-row:nth-of-type(2) .give-remove{display:none!important}#give-metabox-form-data .give-metabox-tabs{margin:0;max-width:170px;float:left;line-height:1;padding:0 0 10px;position:relative;background-color:#fafafa;border-right:1px solid #eee;box-sizing:border-box}#give-metabox-form-data .give-metabox-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;left:0;background-color:#fafafa;border-right:1px solid #eee}#give-metabox-form-data .give-metabox-tabs li{margin:0;padding:0;display:block;position:relative}#give-metabox-form-data .give-metabox-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee;overflow:hidden}#give-metabox-form-data .give-metabox-tabs li a span.give-label{width:122px;padding-left:2px;display:inline-block}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs{z-index:999}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li{background-color:#f1f1f1}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li a{border-bottom-color:#e5e5e5;display:flex;align-items:center;justify-content:space-between}#give-metabox-form-data .give-metabox-tabs li.active>a{color:#555;position:relative;background-color:#eee}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields.active>a{background-color:#ddd}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields:not(.active):hover ul.give-metabox-sub-tabs{display:block;position:absolute;bottom:0;left:166px;width:170px;max-height:250px}@media (max-width:550px),only screen and (min-width:851px) and (max-width:1025px){#give-metabox-form-data ul.give-metabox-tabs{min-width:40px}#give-metabox-form-data ul.give-metabox-tabs li>a{text-align:center}#give-metabox-form-data ul.give-metabox-tabs li>a:before{margin-right:0;font-size:15px}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-label{display:none}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-icon:before{margin:0}#give-metabox-form-data .give_options_panel{padding-left:40px}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:10px}#give-metabox-form-data .give_options_panel .give-field-wrap label,#give-metabox-form-data .give_options_panel .give-field-wrap span.give-field-label{display:block;float:none;margin:0 0 10px;font-size:14px;width:100%}}.chosen-container-single a.chosen-single{background:#fff!important}.give-docs-link{text-align:right;margin-right:15px}.give-docs-link a{color:#999;text-decoration:none;font-style:italic}.give-docs-link a:hover{color:#0073aa}.give-docs-link a span{font-style:normal}.post-type-give_forms #posts-filter .search-box{display:none}.post-type-give_forms #posts-filter .tablenav.top{position:relative;margin:42px 0 0;height:auto}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter{margin:0 0 10px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-goal-filter{width:255px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter a{display:inline-block;margin:0}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-search-input{margin-right:6px}.post-type-give_forms #posts-filter .tablenav.top .actions{position:absolute;left:230px;bottom:10px}.post-type-give_forms #posts-filter .tablenav.top .actions.bulkactions{left:0}@-moz-document url-prefix(){.give_options_panel .give-money-symbol{padding:8.5px 10px}}#give-dashboard-widgets-wrap .inside{padding-top:0;padding-bottom:0}.give_forms_page_give-reports #give-dashboard-widgets-wrap .inside{padding-left:0}#give-dashboard-widgets-wrap .inside #give-graphs-filter{float:none}#give-dashboard-widgets-wrap .postbox{margin-bottom:10px}#give-dashboard-widgets-wrap table.reports-table{clear:none}#give-dashboard-widgets-wrap #give-date-range-options{float:left}#give-dashboard-widgets-wrap #give-date-range-options>span{float:left;line-height:30px;font-style:italic;padding:0 5px 0 0}#give-graphs-filter{float:right}#give-graphs-filter .tablenav{margin:0 0 0 17px}#give-graphs-filter .tablenav .actions{padding:0}.give-graph .y1Axis{color:#66bb6a!important}.give-graph .y2Axis{color:#546e7a!important}body.give_forms_page_give-payment-history h1.nav-tab-wrapper,body.give_forms_page_give-payment-history h2.nav-tab-wrapper,body.give_forms_page_give-reports h1.nav-tab-wrapper,body.give_forms_page_give-reports h2.nav-tab-wrapper{margin-bottom:10px}body.give_forms_page_give-payment-history .actions,body.give_forms_page_give-reports .actions{padding-top:0}body.give_forms_page_give-payment-history .pagination-links,body.give_forms_page_give-reports .pagination-links{margin-left:10px}body.give_forms_page_give-payment-history p.donor-search,body.give_forms_page_give-reports p.donor-search{margin-right:10px}body.give_forms_page_give-payment-history .tablenav-right .tablenav-pages,body.give_forms_page_give-reports .tablenav-right .tablenav-pages{float:right}body.give_forms_page_give-payment-history .tablenav-right #give-reports-view,body.give_forms_page_give-reports .tablenav-right #give-reports-view{margin-top:0}body.give_forms_page_give-payment-history .tablenav-right .actions,body.give_forms_page_give-payment-history p.search-box,body.give_forms_page_give-reports .tablenav-right .actions,body.give_forms_page_give-reports p.search-box{float:left}body.give_forms_page_give-payment-history .reports-table-nav.tablenav.top,body.give_forms_page_give-reports .reports-table-nav.tablenav.top{width:100%;float:none;margin:0 0 10px}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top,body.give_forms_page_give-reports .reports-forms-details-wrap.top{float:right;overflow:hidden}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top #give-reports-filter,body.give_forms_page_give-reports .reports-forms-details-wrap.top #give-reports-filter{float:left}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top>.actions,body.give_forms_page_give-reports .reports-forms-details-wrap.top>.actions{padding-right:0}body.give_forms_page_give-payment-history .tablenav.bottom,body.give_forms_page_give-reports .tablenav.bottom{margin-top:10px}body.give_forms_page_give-payment-history h2.reports-earnings-title,body.give_forms_page_give-reports h2.reports-earnings-title{margin:7px 0 0}body.give_forms_page_give-payment-history .reports-views-wrap,body.give_forms_page_give-reports .reports-views-wrap{padding:3px 0 0}body.give_forms_page_give-payment-history .wrap.give-reports-donors-wrap,body.give_forms_page_give-reports .wrap.give-reports-donors-wrap{margin-right:0;margin-bottom:10px}body.give_forms_page_give-payment-history .widefat tbody td,body.give_forms_page_give-payment-history .widefat tbody th,body.give_forms_page_give-reports .widefat tbody td,body.give_forms_page_give-reports .widefat tbody th{padding-top:12px;padding-bottom:12px}body.give_forms_page_give-reports table.export-options-table tbody td{padding:20px 12px;vertical-align:top}body.give_forms_page_give-reports table.export-options-table .give-export-form{position:relative}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap{background-color:transparent;padding:12px 12px 4px;margin:2px 0 -16px -11px;overflow:auto}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap .spinner{margin:-2px -12px 8px 0}body.give_forms_page_give-reports table.export-options-table span#give-end-wrap input,body.give_forms_page_give-reports table.export-options-table span#give-start-wrap input{width:100px}#export-donor-options-wrap p{padding:20px 0 0;margin:0;font-weight:700}#export-donor-options-wrap ul{max-width:900px;overflow:hidden}#export-donor-options-wrap ul li{margin:0;padding:0 5px 5px 0;box-sizing:border-box;float:left;width:33%}.settings-excludes-list{max-height:120px;overflow:auto;padding:.5rem;border:1px solid #ddd}.settings-excludes-list li{margin:3px 0}#give-tools-recount-form .notice-wrap{position:relative;min-height:25px;margin:10px -12px -12px;background:#efefef;padding:10px 12px 12px;border-top:1px solid #e5e5e5}#give-tools-recount-form .notice-wrap .give-progress{position:absolute;top:15px}#give-tools-recount-form .notice-wrap .spinner{position:absolute;right:14px;top:13px;margin:0}#give-tools-recount-form .notice-wrap #give-batch-success{margin-bottom:6px}.recount-stats-controls form{display:inline}.give-recount-stats-descriptions{margin:8px 0 0;display:block}.give-recount-stats-descriptions span{line-height:24px;font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0;display:none}.gateways-report-tablenav .actions.bulkactions{padding-right:0}table.give-table td{vertical-align:middle}table.give-table td.row-title h3{margin:0 0 .4em;font-size:1.2em}table.give-table td.row-title p{font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0}#give-graphs-filter>.tablenav{height:auto}#give-logs-filter .search-box{float:right}#give-logs-filter .tablenav.top{float:left;clear:none;margin-top:0}.give-welcome-wrap{margin:0 0 0 -20px;padding:0}.give-welcome-header{background:#fff;height:100%;min-width:1000px}.give-welcome-header .give-welcome-header-inner{max-width:900px;margin:0;padding:25px 250px 20px 30px;position:relative}.give-welcome-header .give-welcome-h1{margin:0 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:600;display:inline-block;margin-right:15px!important}.give-welcome-header .give-welcome-h1:before{background:url(../images/give-icon-full-circle.svg);width:36px;height:36px;content:" ";display:block;float:left;margin:0 10px 0 0;position:relative;top:4px}.give-welcome-header .give-welcome-text{font-size:20px;margin:20px 0 30px;padding:0}.give-badge{background:url(../images/give-badge.png) no-repeat 0 0 transparent;padding-top:150px;height:52px;width:185px;color:#fff;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.8);margin:0;position:absolute;top:30px;right:20px}.give-welcome-content-wrap{padding:0;margin:0}.give-welcome-content-wrap.give-changelog-wrap{width:1140px}.give-welcome-content-intro{font-size:22px;font-style:italic;color:#8e8e8e;margin:50px 30px 60px;max-width:1400px;min-width:1000px}.give-ipad-showcase-wrap{border:3px solid #9199a5;border-radius:10px;position:relative;box-shadow:0 .75rem 2rem rgba(0,0,0,.4)}.give-ipad-showcase-wrap .give-ipad-showcase-inner{background:#fafbfb;border:10px solid #1e2026;border-radius:7px;display:grid}.give-ipad-showcase-wrap img{height:auto;max-width:100%}.give-feature-section{margin:0;padding:120px 30px}.give-feature-section__inner{display:flex;flex-direction:row;margin:0;align-items:center;justify-content:center;max-width:1400px;min-width:1000px}.give-feature-section:first-of-type{padding-top:0}.give-feature-section__step2{background:#fff}.give-feature-section span.dashicons{width:16px;height:16px;font-size:14px;margin:6px 0 0}.give-feature-section .give-feature-section-item{display:flex;width:50%}.give-feature-section .give-feature-section-item__container{padding:0 60px 0 0;margin:0}.give-feature-section .give-feature-section-item__container-right{padding-left:60px;padding-right:20px}.give-feature-section .give-feature-section-item h3{font-size:24px;font-weight:500;margin:0 0 20px}.give-feature-section .give-feature-section-item h3>.give-feature-section-item-number{background:#fff;width:40px;height:40px;margin:0 10px 0 0;padding:0;line-height:40px;text-align:center;color:#777;box-shadow:0 1px 3px 0 rgba(0,0,0,.2);border-radius:50%;display:inline-block;font-size:22px}.give-feature-section .give-feature-section-item p{font-size:16px}.give-feature-section .give-feature-section-item .give-welcome-gateway-notice{font-size:12px!important;line-height:16px}.give-feature-section .give-feature-btns{margin:30px 0 20px}.give-feature-section .give-feature-btns li{display:inline;margin:0 25px 0 0}.give-feature-section .give-feature-btns .give-feature-btn-link{font-size:15px;line-height:30px}.social-items-wrap,.social-items-wrap>div{display:inline-block}.social-items-wrap .twitter-item-wrap{margin:0 20px 10px 0}.give-welcome-widgets{background:#fff;text-align:center;padding:100px 0 160px}.give-welcome-widgets p{font-size:16px}.give-welcome-widgets__inner{max-width:1400px}.give-welcome-widgets__heading{max-width:500px;margin:0 auto 100px}.give-welcome-widgets__heading h2{font-size:26px;font-weight:500}.give-welcome-widgets__heading .button{margin-top:10px;font-size:15px}.give-welcome-widgets__col{float:left;width:33.33%;box-sizing:border-box;padding:0 20px}.give-welcome-widgets__col h3{font-size:22px;font-weight:500}.give-welcome-widgets__col h3:before{background:url(../images/happy-face.svg) no-repeat top transparent;opacity:.3;content:" ";width:100%;height:85px;display:inline-block;font-size:80px;-moz-transition:.2s all linear;-o-transition:.2s all linear;transition:all .2s linear}.give-welcome-widgets__col p{font-size:13px}.give-welcome-widgets__col:hover h3:before{opacity:.45}.give-welcome-widgets__addons h3:before{background:url(../images/shopping-cart.svg) no-repeat top transparent}.give-welcome-widgets__documentation h3:before{background:url(../images/docs-book.svg) no-repeat top transparent}.give-welcome-widgets__col-inner{max-width:300px;margin:0 auto}.give-welcome-widgets__link{font-weight:700;font-size:15px}.give-contributor-group{list-style:none}.give-contributor-group img{border-radius:50%}.give-contributor-group .give-contributor{margin:0 10px 45px 0;display:inline-block;width:140px;text-align:center}.give-contributor-group .give-contributor a{outline:none;box-shadow:none}.give-contributor-group .give-contributor span{display:block;margin:3px 0 0;font-weight:700}.give-newsletter-form-wrap{margin:10px 0 15px;padding:10px 15px 15px;background:#f1f1f1;border:1px solid #ddd;max-width:900px}.give-newsletter-form-wrap .give-newsletter-intro{font-size:14px;font-style:italic;color:#777;margin:0 0 15px}.give-newsletter-form-wrap ._form-content{display:flex;justify-content:space-between}.give-newsletter-form-wrap ._form-content>div{width:32%}.give-newsletter-form-wrap .button,.give-newsletter-form-wrap input[type=email],.give-newsletter-form-wrap input[type=text]{width:100%;height:36px}.give-newsletter-form-wrap div._form-thank-you{background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 10px 4px 5px;padding:12px;border-left:4px solid #7ad03a;display:none}.give-newsletter-form-wrap div._form-thank-you>p{margin:.5em 0;padding:2px}.give-changelog-wrap .give-changelog{max-height:510px;margin:0 0 100px 30px;padding:20px;overflow-y:scroll;overflow-x:hidden;font-size:18px;line-height:28px;background:#fff;border:1px solid #ddd}.give-changelog-wrap .give-changelog br:first-child,.give-changelog-wrap .give-changelog br:first-child+br{display:none}.give-changelog-wrap .give-changelog h4{margin:0 0 10px;border-bottom:1px solid #e2e2e2;padding:0 0 6px;font-size:20px}.give-changelog-wrap .give-changelog h4+br{display:none}.dashboard_page_give-changelog #wpbody-content,.dashboard_page_give-getting-started #wpbody-content{padding-bottom:0}#give-paypal-connect{background:#039cde;color:#fff;font-size:14px;line-height:30px;font-weight:700;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;box-shadow:none;text-decoration:none;padding:8px 20px;border-radius:40px}#give-paypal-connect span:before{content:" ";width:16px;height:16px;display:inline-block;margin:0 8px 0 0;background-image:url(../images/paypal-48.png);background-size:16px;position:relative;top:2px}#give_donor_export_form{margin:0 0 5px}#give_donor_export #give_donor_export_form_chosen{display:block;margin:5px 0 1px}.column-status .give-donation-status,.column-status .give-test-mode-transactions-label{display:inline-block}.column-status .give-test-mode-transactions-label{margin:0 5px;vertical-align:middle}.give-settings-page .give-settings-section-content{display:flex;background-color:#f4f4f4;border-radius:8px;-webkit-box-shadow:0 0 5px 0 #ddd;-moz-box-shadow:0 0 5px 0 #ddd;box-shadow:0 0 5px 0 #ddd}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:250px}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul,.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li{margin:0}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a{display:block;padding:20px;text-decoration:none;color:#333;font-weight:600;outline:none;box-shadow:none}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a:hover{background-color:#ebebeb}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a.active{background-color:#fff;border-left:4px solid #66bb6a;color:#333}.give-settings-page .give-settings-section-content .give-settings-section-group-content{width:100%;background:#fff;padding:10px 30px;border-bottom-right-radius:8px;border-top-right-radius:8px;min-height:400px}@media only screen and (max-width:480px){.give-settings-page .give-settings-section-content{flex-flow:row wrap}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:100%}.give-settings-page .give-settings-section-content .give-settings-section-group-content{padding:10px}}.give-settings-page{margin:0 20px 0 2px}.give-settings-page #poststuff{padding-top:25px}.give-settings-page .give-settings-header{background:#fff;padding:10px 20px;margin:0 -20px 0 -22px}.give-settings-page .give-settings-heading-sep{font-size:14px;line-height:32px;width:15px}.give-settings-page .nav-tab-wrapper{height:54px;margin:0 -20px 0 -22px}.give-settings-page .give-subsubsub{list-style:none;margin:12px 0 3px;padding:0;float:left}.give-settings-page .give-subsubsub li{display:inline-block;margin:0 0 0 3px;padding:0;white-space:nowrap;color:#d3d3d3;font-weight:300;font-size:16px}.give-settings-page .give-subsubsub a{line-height:2;padding:.2em;margin:0 3px 0 0;text-decoration:none;font-size:14px;box-shadow:none;font-weight:400}.give-settings-page .give-subsubsub a.current{color:#000;font-weight:600;border:none}.give-settings-page .give-setting-tab-body{max-width:1260px}.give-settings-page div.give-submit-wrap{margin:20px 0}.give-settings-page .give_forms_page_give-payment-history .postbox .hndle{cursor:default}.give-settings-page .give-input-field{width:25em}.give-settings-page table table input[type=text]{width:15em}.give-settings-page .give-repeat-setting-field{margin:10px 0}.give-settings-page .give-remove-setting-field{width:25px;height:25px;padding:0;text-align:center;line-height:22px;font-size:21px;font-weight:300;cursor:pointer;margin-left:20px;display:inline-block}.give-settings-page .give-remove-setting-field:hover{background-color:red;color:#fff;border-radius:30px}.give-settings-page .give-forminp p:first-child .give-remove-setting-field{display:none}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd){background:#f4f3f3}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd) th{vertical-align:middle}.give-settings-page .export-options-table .give-import-dropdown:nth-child(2),.give-settings-page .export-options-table tr.give-import-option th:first-child{width:250px}.give-setting-tab-header{clear:both;overflow:hidden;margin:30px 0}.give-setting-tab-header h2{margin-top:8px}.give-setting-tab-header p{margin-top:0;margin-bottom:0}.give-radio-inline ul{margin-top:0}.give-radio-inline li{display:inline-block;margin:0 0 0 15px}.give-radio-inline li:first-child{margin-left:0}.give-tools-setting-page .bulkactions{overflow:visible}.form-table td.give-radio-inline fieldset li>label{margin:5px 0 0!important}div.give-field-description,p.give-field-description{color:#666;font-style:italic;font-size:14px!important;line-height:22px}div.give-field-description strong,p.give-field-description strong{color:#777}.give-setting-tab-header h2{float:left;display:inline-block;width:220px;font-style:italic;color:#aaa;margin:0;font-size:14px}.gateway-enabled-wrap{background-color:#f7f7f7;border:1px solid #e5e5e5}.gateway-enabled-wrap .gateway-enabled-settings-title{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;grid-gap:20px;border-bottom:1px solid #e5e5e5;padding:1rem;font-weight:600}.gateway-enabled-wrap .ui-sortable-placeholder{visibility:visible!important;border:2px dashed #e5e5e5;transition:all .2s ease}.gateway-enabled-wrap .ui-sortable-helper{background-color:#fafafa;box-shadow:0 4px 20px -5px rgba(0,0,0,.25);border:1px solid #e5e5e5;padding:.5rem!important}.give-payment-gatways-list{margin:0;padding:1rem}.give-payment-gatways-list li{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;align-items:center;grid-gap:20px;margin:0;padding:.5rem 0}.give-payment-gatways-list li:first-child{padding-top:0}.give-payment-gatways-list li:last-child{padding-bottom:0}.give-payment-gatways-list li .checkout-label{padding:3px 5px}.give-payment-gatways-list li .gateways-checkbox,.give-payment-gatways-list li .gateways-radio{justify-self:center}.give-payment-gatways-list li span.give-drag-handle{padding:3px 4px 0 0;font-size:15px;font-weight:400;color:#bdbdbd;cursor:move}.give-payment-gatways-list li span.give-drag-handle:hover{color:#333}.give-gateways-notice{display:table;width:100%;max-width:1240px;background:#fff;margin:15px 0 0;padding:0;border:1px solid #e3e3e3}.give-gateways-notice .give-gateways-cc-icon{margin:0;padding:0 15px 0 25px;height:30px;width:30px;display:table-cell;vertical-align:middle}.give-gateways-notice .give-gateways-cc-icon svg{position:relative;top:2px;width:50px;height:40px}.give-gateways-notice .give-gateways-notice-title{font-size:16px;margin:20px 20px 0;padding:0}.give-gateways-notice .give-gateways-notice-message{line-height:24px;font-size:14px;margin:5px 20px 20px}.give-gateways-notice .give-gateways-notice-button{display:table-cell;vertical-align:middle;text-align:right;margin:0;padding:0 15px 0 0;width:200px}.give-gateways-notice .give-gateways-notice-button #give-stripe-connect{margin:0 0 10px}.give-gateways-notice .give-gateways-notice-button .give-view-gateways-btn{text-align:center;width:190px}.give-email-tags-wrap{margin:5px 0 0}.give-email-tags-wrap code{font-style:normal;padding:1px 2px;font-size:12px}.give-email-tags-wrap span{display:block;color:#aaa;font-style:italic;margin:0 0 2px;font-size:13px}.give-email-tags-wrap .give_price_tag,.give-email-tags-wrap .give_receipt_id_tag{display:none}.give-setting-tab-header-emails{margin:20px 0}.give-setting-tab-header-emails hr,.give-settings-admin-email-section .tablenav,.give-settings-donor-email-section .tablenav,.give-settings-email-settings-section .tablenav{display:none}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails{margin:20px 0}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails hr{display:block}.giveemailnotifications .check-column{padding:13px 10px 0 20px!important}.giveemailnotifications td.check-column input{display:none}.giveemailnotifications th.check-column .give-email-notification-status{color:#fff;cursor:pointer}.giveemailnotifications th.check-column .give-email-notification-status[data-edit="1"] i.dashicons{border-radius:1em;padding:2px}.giveemailnotifications th.check-column .give-email-notification-disabled:hover .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-yes{background:#46b450}.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-lock{color:#46b450}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled:hover .dashicons-yes{background:#bbb}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-lock{color:#bbb}.giveemailnotifications th.check-column .dashicons-no-alt:hover:before{content:"\f147"!important}.giveemailnotifications th.check-column .dashicons-yes:hover:before{content:"\f335"!important}.giveemailnotifications .spinner.is-active{margin:0 0 0 2px;float:none}#system-info-textarea{width:800px;height:600px;font-family:Menlo,Monaco,monospace;background:#fff;white-space:pre;overflow:auto;display:block;direction:ltr}#give-download-sysinfo{margin:0}#api .tablenav .actions{overflow:visible}a.give-delete{color:#a00}.give-table thead th{padding:8px 10px!important}.post-type-give_forms .mce-container iframe,.post-type-give_forms .wp-editor-area{min-height:400px}.give-field-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}.give-image-thumb{position:relative;margin-top:14px}.give-image-thumb span.give-delete-image-thumb{position:absolute;background:red;color:#fff;border-radius:30px;left:-10px;top:-10px;cursor:pointer}.give-image-thumb img{max-width:250px;border:4px solid #fff}.give_email_access_link_tag{display:none}.give-license-settings-wrap{max-width:1240px;min-width:1000px;margin:20px 0 0 -10px;padding:0}.give-license-top-widget{border:1px solid #dbdbdb;min-height:250px}.give-license-top-widget .give-license-widget-heading{font-size:20px;margin:0 0 15px;padding:0 0 15px;border-bottom:1px solid #dbdbdb;line-height:1.2em}.give-license-top-widget .give-license-widget-heading .dashicons{height:25px;width:25px;font-size:28px;margin:-5px 10px 0 0}.give-license-top-widget .give-field-description{margin:0 0 20px;padding:0}#give-license-activator-wrap{background:#fff;margin:0;padding:30px}#give-license-activator-wrap .give-license-activation-form{background:#f4f4f4;padding:10px;position:relative}#give-license-activator-wrap .give-license-notices{position:absolute;background:#f4f4f4;top:0;left:0;height:100%;width:100%;padding:20px;z-index:3;box-sizing:border-box;display:none}#give-license-activator-wrap .give-license-notices .notice{position:relative;padding-right:40px}#give-license-activator-wrap #give-license-activator{font-size:22px;height:55px;padding:0 15px;margin:0 0 10px;width:100%}#give-license-activator-wrap .button{height:45px;width:100%;font-size:18px;display:block;clear:both;margin:0}#give-addon-uploader-wrap{background:#fff;padding:30px 25px 25px;margin:0}.give-upload-addon-form-wrap{position:relative}.give-upload-addon-form-wrap .give-upload-addon-instructions{margin:0;padding:0;opacity:.4;font-size:16px}.give-upload-addon-form-wrap .give-upload-addon-instructions span{display:block;margin:8px 0;font-size:14px}.give-upload-addon-form-wrap #give-upload-addon-file-select{display:none}.give-upload-addon-form-wrap .give-spinner-wrap{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99;background-color:#fff}.give-upload-addon-form-wrap .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-left:42%}.give-upload-addon-form{background:#f4f4f4;padding:25px;text-align:center;outline:2px dashed #e2e2e2;outline-offset:-10px;transition:outline-offset .15s ease-in-out,background-color .15s linear;position:relative}.give-upload-addon-form.give-dropzone-active{outline-offset:-13px;outline:2px dashed #c6c6c6;background:#eaeaea}.give-upload-addon-form .give-addon-upload-notices{position:absolute;background:hsla(0,0%,100%,.66);top:0;left:0;height:100%;width:100%;padding:20px;z-index:3;text-align:left;box-sizing:border-box;display:none}.give-upload-addon-form .give-activate-addon-wrap{display:none;border:1px solid #dbdbdb;background:#fff;position:absolute;padding-top:20px;top:0;left:0;height:100%;width:100%;z-index:4;box-sizing:border-box}.give-upload-addon-form .give-activate-addon-wrap .dashicons{color:#66bb6a}#give-licenses-container{position:relative}#give-licenses-container .give-spinner-wrap{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99;background-color:#fff}#give-licenses-container .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-left:45%}.give-licenses-list-header{margin:20px 0 30px;padding:0}.give-licenses-list-header h2{float:left;margin:0 0 20px;padding:0;font-size:18px}.give-licenses-list-header #give-refresh-button-wrap{float:left;margin:-6px 0 0 25px}.give-licenses-list-header #give-refresh-button-wrap #give-last-refresh-notice{margin:0 0 0 10px;line-height:28px;color:#666}.give-licenses-list-header hr{clear:both}.give-addon-wrap{border:1px solid #dbdbdb;background:#fff;padding:0;margin:0 0 20px;position:relative}.give-addon-wrap .give-license-top{background:#f4f4f4;border-bottom:1px solid #dbdbdb;display:flex;color:#333}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown{background:#f4f4f4;border-bottom:1px solid #dbdbdb;padding:30px}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown .notice{margin:0}.give-addon-wrap .give-license-top-header{display:block;font-size:15px;margin:0 0 20px;font-weight:700;color:#23282d}.give-addon-wrap .give-license-top-column{float:left;padding:30px;flex:1}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap,.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{border-right:1px solid #dbdbdb}.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{flex:1.45;padding-right:10px}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap .give-field-description{padding-top:0}.give-addon-wrap .give-license__status{margin:10px 0 0 -4px;padding:0}.give-addon-wrap .give-license__status .dashicons-yes{color:#66bb6a}.give-addon-wrap .give-license__status .dashicons-no{color:#a00}.give-addon-wrap .give-license__key{display:inline-block}.give-addon-wrap .give-license__key input[type=text]{margin:0 10px 0 0}.give-addon-wrap .give-license__key button{font-size:15px;position:relative;top:-1px}@media (min-width:1400px){.give-addon-wrap .give-license__key input[type=text]{min-width:290px;height:40px;font-size:18px;padding:10px}.give-addon-wrap .give-license__key button{width:110px;height:40px}}@media (max-width:1399px){.give-addon-wrap .give-license__key input[type=text]{min-width:230px;height:35px;font-size:15px;padding:8px}.give-addon-wrap .give-license__key button{width:85px;height:35px;font-size:1em}}.give-addon-wrap .give-license-action-link{display:block;margin:0 0 15px;box-shadow:none}.give-addon-wrap .give-license-renewal-date .dashicons{opacity:.8;margin:0 3px 0 0;position:relative;top:-2px}.give-addon-wrap .give-license-activations-remaining-icon{border-radius:100%;height:20px;width:20px;display:inline-block;padding:1px;font-size:12px;line-height:20px;text-align:center;font-weight:700;margin:0 2px 0 0}.give-addon-wrap .give-plugin__info{padding:6px 9px}.give-addon-wrap .give-plugin__status{border:none;padding:0 5px;line-height:20px!important}.give-addon-info-wrap{margin:30px;padding:20px;background:#f4f4f4;border:1px solid #dbdbdb;color:#333}.give-addon-info-wrap .give-addon-info-left{float:left}.give-addon-info-wrap .give-addon-name{font-weight:700;font-size:14px}.give-addon-info-wrap .give-addon-version{font-size:11px;margin:0 0 0 20px}.give-addon-info-wrap .give-addon-info-right{float:right}.give-addon-info-wrap .give-addon-info-right .give-button{margin:-5px 0 0;position:relative;top:2px}.give-addon-info-wrap .give-addon-info-right .give-button .dashicons{font-size:14px;width:14px;height:14px;margin-right:3px;margin-top:5px}.give-addon-info-wrap .give-addon-activation-status{border-radius:4px;color:#fff;background:#777;padding:3px 8px;margin:0 15px 0 0;font-size:11px}.give-addon-info-wrap .give-addon-activation-status__activated{background:#7ad03a;text-shadow:0 0 1px #4b8420}.give-addon-info-wrap .give-addon-view-changelog{margin:0 15px 0 0;font-size:12px}.give-filters{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;padding:12px 12px 0}.give-filters .give-donation-forms-filter .chosen-single{height:28px;line-height:28px}.give-filters .chosen-container-single .chosen-single div b{background-position:0 4px}.give-filters .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 6px}.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{display:inline-block;width:300px}@media screen and (max-width:782px){.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{width:100%}}.give-filters #give-payment-date-filters label,.give-filters #give-payment-form-filter label{vertical-align:initial}.give-filters #give-payment-date-filters label.give-donation-forms-filter-label,.give-filters #give-payment-form-filter label.give-donation-forms-filter-label{vertical-align:middle}.give-filters #give_donation_forms_filter{width:255px}@media screen and (max-width:782px){.give-filters #give_donation_forms_filter{width:100%;max-width:100%}}.give-filters:after{content:"";display:table;clear:both}.give-filter{display:block;margin-bottom:12px;width:100%}.give-filter:after{content:"";display:table;clear:both}.give-filter label{display:block;margin-right:4px}.give-filter input{margin:0}.give-filter input[type=text]{height:28px;width:100%}.give-filter input[type=search],.give-filter input[type=text]{height:28px}.give-filter .button{height:28px;line-height:26px;margin:0;padding:0 10px 1px}.give-filter select{width:100%}@media screen and (min-width:783px){.give-filter{float:left;margin-right:18px;width:auto}.give-filter label{display:inline-block}.give-filter input[type=text]{display:inline-block;width:144px}}.give-filter-search input[type=search]#give-payments-search-input{display:block;float:left;width:205px;max-width:100%}.give-filter-search input[type=submit]{display:block;float:right;width:30%}@media screen and (min-width:783px){.give-filter-search input[type=search]{display:inline-block;margin-right:4px;width:auto}.give-filter-search input[type=submit]{display:inline-block;width:auto}}@media screen and (min-width:600px){.give-filter-half{float:left;width:49%}.give-filter-half:last-child{float:right}}@media screen and (min-width:783px){.give-filter-half{width:auto}.give-filter-half:last-child{float:left}.give-filter-half input[type=text]{width:96px}}.give-clear-filters-button{margin-left:8px}.give-submit-wrap{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;margin:8px 0;padding:12px;font-size:13px;line-height:2.1em}#give-payment-filters ul.subsubsub{margin-bottom:8px}#give-payments-advanced-filter ul.subsubsub{margin-bottom:12px}#give-payments-filter .tablenav.top{float:none}#give-payments-filter .tablenav.top .bulkactions{margin-top:1px;padding-top:0}#give-payments-filter .give-email-column-value{font-size:14px;font-weight:700}#give-payments-filter #the-list .check-column input{margin-top:1px}#give-payments-filter .column-details{width:50px}#give-payments-filter .column-amount{width:120px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.forms th#date{width:140px}.give-mobile-link{line-height:32px;vertical-align:middle}.give-mobile-link img{max-width:80%;height:auto;float:left}.give-donation-status>span{display:inline-block;width:12px;height:12px;position:relative;top:1px;margin:0;padding:0;border-radius:50%;background:#888;line-height:16px}.give-donation-status.status-pending>span{background-color:#ffba00}.give-donation-status.status-complete>span,.give-donation-status.status-publish>span{background-color:#7ad03a}.give-donation-status.status-refunded>span{background-color:#777}.give-donation-status.status-failed>span{background-color:#a00}.give-donation-status.status-abandoned>span{background-color:#333}.give-donation-status.status-revoked>span{background-color:#d9534f}.give-donation-status.status-give_subscription>span,.give-donation-status.status-renewal>span,.give-donation-status.status-subscription>span{background-color:#5bc0de}#test-payment-label{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#ffba00;margin:0 15px;vertical-align:middle}#test-payment-label:hover{color:#fff;text-decoration:none}#give-payments-filter .give-payment-id{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;font-weight:400}#give-payments-filter .give-payment-id:hover{color:#fff;text-decoration:none}#give-payments-filter .column-details{padding-right:30px}#give-payments-filter .give-donation-status{display:inline-block}#give-order-update .give-donation-status{display:inline-block;float:none;margin:0 10px;position:relative;top:3px}#give-order-update .give-order-top{border-bottom:1px solid #eee;overflow-x:auto;white-space:nowrap;width:100%}#give-order-update .give-order-top h3.hndle{float:left;border:none;display:inline-block}#give-order-update .give-order-top .delete-donation{display:inline-block;float:right}#give-order-update .give-order-top .delete-donation a{width:18px;height:16px;display:block;margin:11px 15px;content:"\f182";font-size:18px;color:#b5b5b5}#give-order-update .give-order-top .delete-donation a:focus,#give-order-update .give-order-top .delete-donation a:hover{color:red;box-shadow:none}.column-donation_form .donation-level-text-wrap{font-style:italic;display:block}@media handheld,only screen and (max-width:640px){.wp-list-table.forms th{width:auto!important}}.download_page_give-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}.give-admin-box .label{font-weight:600}.give-admin-box-inside{margin:0;padding:3px 10px;clear:both;border-bottom:1px solid #eee;word-break:break-word}.give-admin-box-inside .strong{font-weight:600}.give-admin-box .right{float:right}#give-order-details .inside,#give-order-update .inside{margin:0;padding:0}#give-order-update input.give_datepicker{width:180px}#give-order-update input[type=number].give-payment-time-hour,#give-order-update input[type=number].give-payment-time-min{width:50px}.give-admin-box-inside:last-child{border-bottom:0}#give-edit-order-form .data-payment-key{word-break:break-all}.give-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}#give-donation-overview th{text-align:left}#give-donation-overview .give-select-chosen{width:97%}#give-edit-order-form .row{margin-top:10px}#give-donation-overview ul,#give-donor-details .order-data-address input,#give-donor-details .order-data-column p.data input,#give-edit-order-form .column input,#give-order-address-country-wrap select{clear:both;display:block}.give-order-data input.small-text{margin:0}#give-order-update span.label{display:inline;width:50px}.give-order-update-box .button-primary{margin-right:0}#give-edit-order-form .column .description{padding-right:10px}#give-donation-overview .inside>ul>li,#give-donation-overview .row>ul>li,#give-edit-order-form .column{display:inline-block;position:relative;vertical-align:top}#give-donation-overview ul{font-size:0}#give-donation-overview ul li{font-size:13px}#give-donation-overview ul li.actions{text-align:right;min-width:200px}#give-donation-overview ul li.remove{text-align:right}#give-donation-overview ul .row{padding:12px;border-bottom:1px solid #eee}#give-order-data .data span{color:#666;font-weight:600}input.give-price-field{width:80px;padding:3px 5px}.give_forms_page_give-payment-history.js .postbox .hndle{cursor:default}#give-payment-notes textarea{min-height:150px}#give-payment-notes #give-add-payment-note{margin:6px 0 15px}#give_comment{min-height:150px}#give-billing-details .column>div{margin:0 0 10px}#give-billing-details label{display:block;margin-bottom:5px}#give-billing-details .column-container{padding:5px 0 10px}#give-billing-details input[type=text]{width:98%}#give-billing-details .chosen-container{width:98%!important}@media screen and (min-width:1200px){#give-edit-order-form .column{width:33%}#give-order-address .column{width:49%}#give-donation-overview.columns-4 li.actions{width:25%;margin-top:0;margin-right:0}}@media screen and (max-width:1199px){#give-edit-order-form .column{width:49%}}@media screen and (max-width:782px){.order-data-column input[type=email]{padding:6px 10px}}#give-donation-overview .inside,#give-donor-details .inside{margin-top:0}.give_forms_page_give-payment-history #give-dashboard-widgets-wrap #side-sortables{padding-top:0}.give-select-chosen .spinner,.give-select .spinner{position:absolute;right:5px;top:2px;z-index:999}.give-select-chosen-ajax .spinner{visibility:visible}.give-select-chosen-ajax.chosen-container-single .chosen-search input[type=text],.give-select-chosen-ajax .chosen-search input[type=text]{background-image:none!important}.give-dashboard-widget .give-dashboard-today{text-align:center}.give-dashboard-widget .give-dashboard-today .give-dashboard-date-today{margin:10px 0 0;padding:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-happy-day{padding:3px;margin:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-today-earnings{font-size:42px;color:#4ead61;font-weight:700;margin:15px 0 0;line-height:1}.give-dashboard-widget .give-dashboard-today .give-donations-today{font-size:18px;font-weight:700;margin:0 0 30px;padding:4px 0 1px}.give-dashboard-widget .give-dashboard-today .give-last-seven{font-size:14px;font-weight:700;padding:0;margin:0 0 30px}.give-dashboard-widget .give-table-stats{width:100%;text-align:center;margin:0;table-layout:fixed;border-top:1px solid #ececec;border-spacing:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total,.give-dashboard-widget .give-table-stats .give-dashboard-stat-total-label{padding:0;margin:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total{color:#4ead61;font-weight:700;font-size:16px}#give_dashboard_sales>.inside{padding:0}#give_dashboard_sales .give-table-stats td{padding:10px 0}#give_dashboard_sales .give-table-stats td:first-of-type{border-right:1px solid #ececec}#give_dashboard_sales .give-table-stats tr#give-table-stats-tr-1 td{border-bottom:1px solid #ececec}#dashboard_right_now .give-forms-count:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:18px;width:18px;height:18px;content:"\e800"}.give-range_slider_field{margin-top:.8rem}.give_forms_page_give-donors .wp-heading-inline+.notice:first-of-type{margin-top:25px}.give_forms_page_give-donors .give-nav-tab-wrapper{margin:10px -20px 20px}.give_forms_page_give-donors #give-donors-filter{position:relative}.give_forms_page_give-donors #give-donors-filter p.search-box{margin:0}.give_forms_page_give-donors #give-donors-search-filter{display:block;overflow:hidden}.give_forms_page_give-donors #give-donor-card-wrapper{margin-left:-1px;z-index:2;min-height:200px}.give_forms_page_give-donors #give-donor-card-wrapper input{font-weight:400}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section{border-bottom:1px solid #eee;margin-bottom:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section .give-donor-search-box{margin-right:25px;width:auto;display:inline-block;float:left}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section table{margin-bottom:0}.give_forms_page_give-donors #give-donor-card-wrapper>div:first-child{padding-top:20px}.give_forms_page_give-donors #give-donor-card-wrapper>div:last-child{padding-bottom:20px;border:none}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap{padding:0 15px 15px 0;text-align:center;float:left}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap img{border-radius:50%}.give_forms_page_give-donors #give-donor-card-wrapper a.delete{text-decoration:none;color:red;margin-right:5px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-since{margin:10px 0;font-size:16px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-id{display:inline-block;font-size:24px;font-weight:600;margin-right:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-name-wrap{display:inline-block}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-edit-link{margin-bottom:15px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box{display:inline-block;float:left;margin-right:18px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box input#give-donors-search-input{width:205px;max-width:100%}.give_forms_page_give-donors #give-donor-filters label{vertical-align:initial}.give_forms_page_give-donors #give-donor-filters label.give-donation-forms-filter-label{vertical-align:middle}.give_forms_page_give-donors .donor-main-wrapper{clear:both;margin:0 0 20px}@media (max-width:655px){.give_forms_page_give-donors .donor-main-wrapper{width:100%}}.give_forms_page_give-donors .donor-main-wrapper table{margin:0}.give_forms_page_give-donors .donor-main-wrapper input[type=email],.give_forms_page_give-donors .donor-main-wrapper input[type=number],.give_forms_page_give-donors .donor-main-wrapper input[type=text]{width:200px}.give_forms_page_give-donors #donor-summary{padding:0 20px}.give_forms_page_give-donors #donor-summary:after{font-family:dashicons;content:"\f110";position:absolute;top:10px;right:10px;font-size:100px;color:#f0f0f0;z-index:0}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper{width:202px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper span[data-key=line2]{display:table;clear:both}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper select{width:200px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-info{min-height:185px}.give_forms_page_give-donors #give-donor-card-wrapper .info-wrapper{min-height:125px}.give_forms_page_give-donors .donor-info .donor-name{font-size:24px;font-weight:600}.give_forms_page_give-donors #disconnect-donor,.give_forms_page_give-donors #view-user-profile{font-size:12px;font-weight:400;text-decoration:none}.give_forms_page_give-donors #donor-edit-actions{text-align:center;margin-bottom:20px;line-height:28px}.give_forms_page_give-donors #donor-edit-actions .button-secondary{margin-right:10px}.give_forms_page_give-donors #give-donor-card-wrapper .edit-item{display:none}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results{left:1px;top:16px}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results ul{width:200px}.give_forms_page_give-donors #donor-stats-wrapper{margin:0 auto;text-align:center;padding:15px}.give_forms_page_give-donors #donor-stats-wrapper ul{margin:0;padding:0;overflow:hidden}.give_forms_page_give-donors #donor-stats-wrapper ul li{width:50%;float:left;line-height:22px;font-size:14px;margin:0}.give_forms_page_give-donors #donor-stats-wrapper a{text-decoration:none}.give_forms_page_give-donors #donor-stats-wrapper .dashicons{color:#888}.give_forms_page_give-donors #donor-tables-wrapper table{width:100%;text-align:center}.give_forms_page_give-donors #donor-tables-wrapper th{text-align:center}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .donations tr>th:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>th:first-child{text-align:left}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:only-child{text-align:center}.give_forms_page_give-donors #donor-notes-wrapper{min-height:50px}.give_forms_page_give-donors .donor-notes-header img,.give_forms_page_give-donors .donor-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.give_forms_page_give-donors .donor-note-input{width:100%;margin-bottom:5px}.give_forms_page_give-donors #give-donor-notes div:nth-of-type(2n){background-color:#f9f9f9}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:0}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper .note-content-wrap{padding:10px 12px;line-height:20px;font-size:14px}.give_forms_page_give-donors #give-donor-notes .give-no-donor-notes{text-align:center;padding:20px}.give_forms_page_give-donors .donor-note-wrapper span{display:block}.give_forms_page_give-donors .delete-donor{text-align:center}.give_forms_page_give-donors .give-lock-block{margin-left:-25px;text-decoration:none;font-size:14px;margin-right:3px}.give_forms_page_give-donors .give-lock-block i{color:#000;font-size:14px}.give_forms_page_give-donors #donor-address-wrapper .give-no-address-message{margin:.5rem 1%;line-height:3.4em}.give_forms_page_give-donors #donor-address-wrapper .give-donor-addresses .inside{padding-bottom:0}.give_forms_page_give-donors #donor-address-wrapper .add-new-address{margin:.5rem 1%!important}.give_forms_page_give-donors #donor-address-wrapper .add-new-address-form-hidden{position:absolute;right:13px;left:13px;top:0;visibility:hidden}.give_forms_page_give-donors #donor-address-wrapper .all-address .address{min-height:146px;border:1px solid #dad9d9;padding:9px;border-radius:5px;background-color:#fff}.give_forms_page_give-donors #donor-address-wrapper .all-address .address .address-number-label{color:grey;cursor:default}.give_forms_page_give-donors #donor-address-wrapper .all-address .address a{text-decoration:none}.give_forms_page_give-donors .comments td:nth-child(3n){text-align:left}.give_forms_page_give-donors .give-donor-admin-avatar{width:40px;height:40px;border-radius:50%;border:1px solid #e5e5e5;float:left;vertical-align:middle;margin-right:10px;line-height:40px;text-align:center}.give_forms_page_give-donors .give-donor-admin-avatar img{border-radius:50%;width:40px;height:40px}.give_forms_page_give-donors .give-donor-name-text{font-weight:600;font-size:14px}.give_forms_page_give-donors .give-donor-id{color:#555}.give_forms_page_give-donors .give-donor-name:focus{box-shadow:none;outline:none}.give_forms_page_give-donors #donor-avatar .give-donor-admin-avatar,.give_forms_page_give-donors #donor-avatar img{width:96px;height:96px;line-height:96px;margin-right:0;font-size:36px}@media screen and (max-width:782px){#wp-content-media-buttons a.give-thickbox{padding:6px 14px;line-height:normal;font-size:14px;height:auto}.wp-media-buttons span#give-media-button{margin-top:0!important;margin-left:2px!important}}.mce-primary.mce-give-primary button{padding-right:10px;padding-left:10px}.wp-core-ui .give-admin-button{padding-left:7px;padding-right:7px}.give-admin-button-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}.give-admin-button-icon:before{font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-admin-button-icon-update:before{content:"\f463"}.give-status-table{margin-bottom:1em}.give-status-table h2{font-size:14px;margin:0}.give-status-table tr:nth-child(2n) td,.give-status-table tr:nth-child(2n) th{background:#fcfcfc}.give-status-table th{font-weight:700;padding:9px}.give-status-table td:first-child{width:33%}.give-status-table td.help{width:1em}.give-status-table td{padding:9px;font-size:1.1em}.give-status-table td mark{background:transparent none}.give-status-table td mark.yes{color:#7ad03a}.give-status-table td mark.no{color:#999}.give-status-table td mark.error{color:#a00}.give-status-table td ul{margin:0}.wrap div.give-debug-report-wrapper{margin-bottom:5px}.wrap div.give-debug-report-wrapper p{font-size:18px;margin:1em 0 .7em;padding:0}.wrap div.give-debug-report-wrapper .give-debug-report-actions{margin:0 0 1.7em}.wrap div.give-debug-report-wrapper .give-debug-report-actions .js-give-debug-report-button{margin-right:10px}.wrap div.give-debug-report-wrapper .give-debug-report-actions .dashicons{font-size:16px;position:relative;top:4px;left:-2px}.give-debug-report{display:none;margin:10px 0;padding:0;position:relative}.give-debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}.give-progress{height:15px;width:95%;border-radius:4px;overflow:hidden;background-color:#f5f5f5}.give-progress>div{height:100%;width:0}.admin-color-fresh .give-progress div,.give-progress div{background:#0073aa}.admin-color-light .give-progress div{background:#888}.admin-color-blue .give-progress div{background:#096484}.admin-color-coffee .give-progress div{background:#c7a589}.admin-color-ectoplasm .give-progress div{background:#a3b745}.admin-color-midnight .give-progress div{background:#e14d43}.admin-color-sunrise .give-progress div{background:#dd823b}.give-spinner-wrapper{position:absolute;left:0;right:0;bottom:0;top:0;background:hsla(0,0%,96.1%,.57);z-index:1;display:none}.give-spinner-wrapper.is-active{display:inline-block}.give-spinner-wrapper .aligncenter{position:absolute;top:50%;left:50%;margin:10px 10px 0 0}.give-spinner.is-show,.give-spinner.spinner.is-active{margin:0 0 0 2px;float:none}.give-spinner.is-show{visibility:visible}ul.give-radio-inline input,ul.give-radio-inline li{display:inline-block!important}.chosen-container a{transition:none}.give-width-25em{width:25em}.give-spinner-wrap{position:relative}.give-spinner-wrap .spinner{float:none;margin-top:0;margin-right:0}.give-update-panel-content p{font-size:16px}#give-updates .give-update-panel-content{margin:0 0 30px}#give-updates .give-update-panel-content p{font-size:17px;font-style:italic;margin:0}#give-updates .dashicons-no-alt{color:red}#give-updates .dashicons-yes{color:green}#give-updates #give-db-updates .spinner{margin-top:0}#give-updates #give-updates-content{max-width:1200px}#give-updates .give-update-paused-text-p{margin:0 20px 0 0;line-height:30px;font-style:italic;font-size:14px}body.give_forms_page_give-updates .give-run-update-containt .give-run-update-button{margin-right:10px}.give-blank-slate{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0 auto;padding:40px;text-align:center}.give-blank-slate :last-child{margin-bottom:0}.give-blank-slate__cta,.give-blank-slate__heading,.give-blank-slate__help,.give-blank-slate__message{margin:0 0 10px}.give-blank-slate__image{display:block;height:80px!important;margin:0 auto 10px;width:auto}.give-blank-slate__select{margin-bottom:20px}.give-blank-slate__help{color:#666;font-style:italic}.give-blank-slate__help a{display:inline-block;text-decoration:underline}.give-blank-slate a.give-blank-slate__cta{display:inline-block;font-size:1.2em;height:auto;margin:0 0 10px;padding:.75em 1.5em}.wp-block .give-blank-slate{background-color:#f1f1f1}.wp-block .give-blank-slate .give-blank-slate__heading{font-weight:700;font-size:20px;margin-bottom:10px;margin-top:20px}.wp-block .give-blank-slate a{color:#32373c;text-decoration:none}.chosen-container-single .chosen-single{background:#fff;height:30px;line-height:30px;border:1px solid #7e8993;box-shadow:none}.chosen-container-single .chosen-single span{font-size:14px}.chosen-container-single .chosen-single div b,.chosen-container-single.chosen-with-drop .chosen-single div b{background-position-y:4px}.chosen-container-active.chosen-with-drop .chosen-single{background:#fff}.chosen-container .chosen-results li.highlighted{background:#3875d7;color:#fff}.chosen-container-multi .chosen-choices{border:1px solid #aaa;background-image:none}.chosen-container-multi .chosen-choices li.search-choice{background-image:none}.give-tools-setting-page-import h1.handle{padding:15px 0 0}.give-tools-setting-page-import .give-progress-steps{width:100%;padding:0 0 24px;margin-left:0;list-style:none outside;overflow:hidden;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.give-tools-setting-page-import .give-progress-steps li{width:25%;float:left;padding:0 0 1.2em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1.4em}.give-tools-setting-page-import .give-progress-steps li.active{border-color:#4ead61;color:#4ead61}.give-tools-setting-page-import .give-progress-steps li.active:before{border-color:#4ead61;color:#4ead61;background:#4ead61}.give-tools-setting-page-import .give-progress-steps li:before{content:"";border:4px solid #ccc;border-radius:100%;width:10px;height:10px;position:absolute;bottom:0;left:50%;margin-left:-6px;margin-bottom:-10px;background:#fff}.give-tools-setting-page-import .step-4 h2{text-align:center;font-size:20px!important}.give-tools-setting-page-import .step-4 p{text-align:center}.give-tools-setting-page-import .button-secondary.step-4,.give-tools-setting-page-import .give-image-thumb{display:none}.give-tools-setting-page-import h2#give-import-title{background:#f3f3f3;font-size:15px;font-weight:600;margin:-8px -22px 11px;padding:12px 22px}.give-tools-setting-page-import table.step-2 h2#give-import-title{font-size:small;font-weight:inherit}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields-title{font-size:18px;font-weight:600;margin:0}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields{white-space:nowrap;overflow:hidden}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li{display:inline-block;margin:0 10% 0 0}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.give-import-donation-required-symbol{border-radius:1em;vertical-align:middle;padding:2px;background:#46b450;color:#fff}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.dashicons-no-alt{background:#bbb}.give-tools-setting-page-import .give-progress{margin-top:7px}.give-import-core-settings .give-progress-steps li{width:33.33%}.give-import-core-settings .step-3 h2{text-align:center;font-size:20px!important}.give-import-core-settings .step-3 p{text-align:center}form.give-import-form table.widefat{border:none}.wrap .give-importer-h1{margin:0;padding:20px 0}.give-tools-setting-page #give-export_donations-form table{padding-left:10px}.give-tools-setting-page #give-export_donations-form table tbody h2{padding:8px 0 0}.give-tools-setting-page #give-export_donations-form table tbody td.row-title{width:30%;vertical-align:top}.give-tools-setting-page #give-export_donations-form table tbody td ul.give-export-option-ul{margin-top:5px}.give-tools-setting-page #give-export_donations-form table tbody p.give-field-description{display:table;width:100%}.give-tools-setting-page #give-export_donations-form table tbody .add-notices{margin-top:15px}.give-tools-setting-page #give-export_donations-form table tbody .add-notices .give-progress{margin-top:7px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices{min-height:30px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices li{margin:4px 4px 4px 0}.give-tools-setting-page #give-export_donations-form .give-export-option{display:flex;flex-flow:row wrap;border-top:1px solid #e5e5e5;border-left:1px solid #e5e5e5}.give-tools-setting-page #give-export_donations-form .give-export-option ul{margin-bottom:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li{position:relative;margin-bottom:.7rem;padding:0 1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{display:block;padding-left:22px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{position:absolute;top:6px;left:15px}.give-tools-setting-page #give-export_donations-form .give-export-option ul .give-export-option-label{font-size:15px;font-weight:500;border-bottom:1px solid #e5e5e5;margin-bottom:1rem;padding:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option>li{border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;width:33%;margin-bottom:0}.give-tools-setting-page .give-export-donors .give-progress{margin-top:7px}#give-export-donations .give_forms_categories,#give-export-donations .give_forms_tags{min-width:250px;margin:0 0 10px;display:block}#give-export-donations .give_forms_categories input,#give-export-donations .give_forms_tags input{color:#999}#give-export-donations div.chosen-container ul.chosen-choices{border:1px solid #ddd}#give-export-donations div.chosen-container ul.chosen-choices input.chosen-search-input{border:1px solid #ddd;height:20px}#give-export-donations select{vertical-align:inherit;margin:0;height:26px;line-height:26px;border:1px solid #ddd}@media only screen and (max-width:1080px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}}@media only screen and (max-width:782px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{padding-left:32px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{top:0}}.give-admin-progress-bar{height:8px;position:relative;background:#eee;border-radius:25px;overflow:hidden;margin:5px 0 2px}.give-admin-progress-bar>span{display:block;height:100%;border-top-right-radius:8px;border-bottom-right-radius:8px;border-top-left-radius:20px;border-bottom-left-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}.give-admin-goal-achieved>.dashicons{color:#ffba00;font-size:13px;height:16px;width:13px;line-height:18px}#give-form-goal-stats .inside{margin:0;padding:15px;text-align:center}#give-form-goal-stats .give-admin-progress-bar{margin-bottom:10px}#give-form-goal-stats .give-admin-goal-achieved{display:block;margin-top:6px}.give-nav-tab-wrapper{background:#ddd;border:none!important;padding-top:0;overflow:hidden}.give-nav-tab-wrapper .nav-tab{border:none;margin:0;padding:15px 30px;outline:none;box-shadow:none;background:#ddd}.give-nav-tab-wrapper .nav-tab:hover{background:#ebebeb}.give-nav-tab-wrapper .nav-tab.nav-tab-active{background:#f1f1f1;box-shadow:inset 0 4px 0 #66bb6a;margin:0}@media screen and (max-width:600px){.give-nav-tab-wrapper{position:relative;padding-top:0!important}.give-nav-tab-wrapper>a{width:100%;box-sizing:border-box;margin:0;background-color:#fff;border:1px solid #ccc}.give-nav-tab-wrapper>a:hover{border-bottom:1px solid #ccc}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper{position:absolute;top:0;right:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav{height:28px;width:30px;border-radius:0;margin:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav>span.dashicons{margin:6px auto 0;display:block}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{top:35px;right:0;left:auto}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{background:#fff}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#e5e5e5}.give-mobile-hidden{display:none}}.give-sub-nav-tab-wrapper{position:relative;z-index:999;float:left;display:none}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{border:1px solid #f1f1f1;border-bottom:none;position:absolute;top:37px;right:0}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{float:left;background:#fff;padding:8px 10px;clear:both;text-decoration:none;border-bottom:1px solid #f1f1f1;min-width:170px;color:#555;font-size:14px;font-weight:600}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#ebebeb}#give-show-sub-nav{text-decoration:none;padding:3px 4px;border-bottom:1px solid #ccc;line-height:0;background:#fff;border-radius:4px;margin:15px 0 0 10px}#give-show-sub-nav>span.dashicons{font-size:16px;height:16px;width:16px}#give-show-sub-nav:active,#give-show-sub-nav:hover{outline:none;box-shadow:inset 0 0 4px #ddd}.give-upsell-notice{border:1px solid #e2e2e2;padding:10px;margin:10px;box-shadow:1px 1px 5px #e2e2e2;display:flex;align-items:center}.give-upsell-notice a{text-decoration:none}.give-upsell-notice .description,.give-upsell-notice .icon{font-style:normal}.give-upsell-notice .icon{color:#aaa;font-size:30px;line-height:22px;width:30px}.give-upsell-notice .description{padding:0 10px}.give-upsell-notice a.view-addon-link{background:none!important;margin-left:auto}.give_forms_page_give-subscriptions .wp-header-end+.notice,.post-type-give_forms .wp-header-end+.notice{margin-top:11px}.give_forms_page_give-subscriptions #give-subscription-details-h1,.give_forms_page_give-subscriptions #give-subscription-list-h1,.give_forms_page_give-subscriptions .wp-heading-inline,.post-type-give_forms #give-subscription-details-h1,.post-type-give_forms #give-subscription-list-h1,.post-type-give_forms .wp-heading-inline{margin:0;padding:10px 0}.give_forms_page_give-subscriptions #give-subscription-details-h1:before,.give_forms_page_give-subscriptions #give-subscription-list-h1:before,.give_forms_page_give-subscriptions .wp-heading-inline:before,.post-type-give_forms #give-subscription-details-h1:before,.post-type-give_forms #give-subscription-list-h1:before,.post-type-give_forms .wp-heading-inline:before{background:url(../images/give-icon-full-circle.svg);width:30px;height:30px;content:" ";display:block;float:left;margin-right:12px}.give_forms_page_give-subscriptions #wpcontent,.post-type-give_forms #wpcontent{padding:0}.give_forms_page_give-subscriptions #wpbody,.post-type-give_forms #wpbody{color:#000;padding-left:20px;position:relative}.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{content:"";background-color:#fff;border-bottom:1px solid #dbdbdb;height:72px;left:0;top:46px;position:absolute;width:100%;z-index:-1}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{top:0}}.give_forms_page_give-subscriptions #wpbody .wrap:not(.give-settings-page),.post-type-give_forms #wpbody .wrap:not(.give-settings-page){margin-top:12px}.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:6px}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:15px}}@media (min-width:601px){.give_forms_page_give-subscriptions.give_forms_page_give-donors #wpbody .wp-header-end,.give_forms_page_give-subscriptions.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-donors #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-subscriptions #wpbody .wp-header-end{margin-top:25px}}.give_forms_page_give-subscriptions #wpbody #screen-meta-links,.post-type-give_forms #wpbody #screen-meta-links{display:none}@media (min-width:783px){.give_forms_page_give-subscriptions #screen-meta,.post-type-give_forms #screen-meta{background-color:#fff;border:0;margin:0}.give_forms_page_give-subscriptions #screen-meta-links,.post-type-give_forms #screen-meta-links{position:absolute;top:0;right:0;z-index:1}}.give-subheader{background:#fff;margin:0 0 0 -22px;padding:12px 20px}.give-subheader .give-subheader-right-text{float:right;font-size:13px;line-height:22px;font-style:italic;color:#555;margin:0;padding:0}.give-subheader h1{float:left;font-size:15px;line-height:22px;color:#555;font-weight:600;margin:0;padding:0}@media (max-width:700px){.give-subheader{text-align:center}.give-subheader .give-subheader-right-text,.give-subheader h1{float:none}}
26
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
27
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
28
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
29
+ */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-grid-row{position:relative;width:100%}.give-grid-row [class^=give-grid-col]{float:left;margin:.5rem 1%;min-height:.125rem}.give-grid-row:after{content:"";display:table;clear:both}.give-grid-col-1{width:6.33333%}.give-grid-col-2{width:14.66667%}.give-grid-col-3{width:23%}.give-grid-col-4{width:31.33333%}.give-grid-col-5{width:39.66667%}.give-grid-col-6{width:48%}.give-grid-col-7{width:56.33333%}.give-grid-col-8{width:64.66667%}.give-grid-col-9{width:73%}.give-grid-col-10{width:81.33333%}.give-grid-col-11{width:89.66667%}.give-grid-col-12{width:98%}@media only screen and (max-width:33.75em){.give-grid-row [class^=give-grid-col]{width:98%}}.give_options_panel input[type=email],.give_options_panel input[type=text]{padding:3px 5px;width:100%;line-height:2;box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c}input.give-text-small,input.give-text_small{width:100px!important}input.give-text-medium,input.give-text_medium{width:200px!important}.give-hidden,.post-type-give_forms .tablenav #post-query-submit{display:none}.give_options_panel .inner-panel{padding:9px 15px}.give_options_panel .give-time-field{width:65px}.give_options_panel .give-money-field{width:75px;margin-right:0;margin-left:0;vertical-align:baseline}.give_options_panel .give-money-symbol{border:1px solid #7e8993;background:#fcfcfc;margin:0;font-size:14px;padding:8px 10px 9px}.give_options_panel .give-money-symbol-before{border-right:0;margin-right:-5px;border-radius:4px 0 0 4px}.give_options_panel .give-money-symbol-before+.give-money-field{border-top-left-radius:0;border-bottom-left-radius:0}.give_options_panel .give-money-symbol-after{margin-left:-5px;border-radius:0 4px 4px 0}.give_options_panel .give-money-symbol-after+.give-money-field{border-top-right-radius:0;border-bottom-right-radius:0}.give-underline{text-decoration:underline}#give-bulk-donors div[id^=give-donor-]{display:block;overflow:hidden}.shortcode-wrap{margin:1px 14px 12px 11px}.shortcode-wrap label{margin:0 0 3px;display:block;cursor:default}.shortcode-wrap .shortcode-input{margin:0;width:100%}input.shortcode-input{width:100%}.price .give_price_range_high,.price .give_price_range_low,.price .give_price_range_sep{display:inline-block}.js-give-shortcode-button{font-weight:500;cursor:help}.js-give-shortcode-button:after{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);text-shadow:none}.js-give-shortcode-button .dashicons{font-size:16px;width:16px;vertical-align:middle;color:inherit;margin-right:2px}@media only screen and (min-width:782px) and (max-width:1260px){.js-give-shortcode-button .give-button-text{display:none}}.give-tooltip{margin:0 3px;padding:0;font-size:14px;color:rgba(51,51,51,.5);position:relative;top:1px}.give-tooltip:hover{color:#333}#give-metabox-form-data .inside{margin:0;padding:0}#give-metabox-form-data .give-upload-button{height:36px}#give-metabox-form-data .give-colorpicker{margin-right:6px!important}#give-metabox-form-data .give-metabox-panel-wrap{background:#fff;overflow:hidden}#give-metabox-form-data .give_options_panel{display:none;padding-left:170px}#give-metabox-form-data .give_options_panel.active,.no-js #give-metabox-form-data .give_options_panel{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:1em 20px 1em 162px;margin:0;border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-field-wrap>label,#give-metabox-form-data .give_options_panel .give-field-wrap>span.give-field-label{float:left;width:135px;padding:0;margin:2px 0 0 -150px;line-height:18px;font-size:12px;font-weight:400}#give-metabox-form-data .give_options_panel .give-field-wrap .give-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-top:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-field-wrap ul{margin:0}#give-metabox-form-data .give_options_panel .give-field-wrap .mce-container iframe{min-height:250px!important}#give-metabox-form-data .give_options_panel .give-field-wrap .wp-editor-wrap{display:inline-block;width:100%}#give-metabox-form-data .give_options_panel textarea.give-field{width:100%}#give-metabox-form-data .give_options_panel .give-field-wrap:hover .give-field-row-actions{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap:last-child{border-bottom:0}#give-metabox-form-data .give_options_panel .give-inline-radio-fields li{display:inline-block;margin-right:15px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section{padding:10px;background:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeatable-fields-section-wrapper{width:100%;background-color:#fff;border-collapse:collapse}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row{border-bottom:15px solid #f5f5f5;background-color:#fff}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-template{display:none}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row:last-child{border-bottom:10px solid #f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-column{padding:0}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head{border-bottom:1px solid #eee;cursor:move}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head h2{text-align:left!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove{float:right;width:22px;height:36px;padding:0;display:block;text-align:center;line-height:34px;font-size:21px;font-weight:300;cursor:pointer}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove:hover{background-color:red;color:#fff;width:22px;height:22px;border-radius:30px;margin-top:8px;line-height:19px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row .give-move .toggle-indicator:before{margin-left:7px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row-wrap{background-color:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row{margin:5px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-field-wrap:last-child{border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-ui-placeholder-state-highlight{background-color:#68bb6c}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-name{border:0!important;padding:0!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-bottom:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .ui-sortable-helper{display:table!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row.ui-sortable-helper{border-bottom:0}#give-metabox-form-data .give_options_panel .give-row.closed .toggle-indicator:before{content:"\f140"}#give-metabox-form-data .give-minmax-wrap{display:block;margin-bottom:.5rem}#give-metabox-form-data .give-minmax-wrap label{display:inline-block;width:120px;font-size:12px}#give-metabox-form-data .give-minmax-wrap input{margin-left:1px;position:relative;z-index:1;border-radius:0 4px 4px 0}#give-metabox-form-data #form_template_options .templates-list{display:grid;grid-gap:36px;grid-template-columns:1fr 1fr;padding:8px 0 24px}#give-metabox-form-data #form_template_options .templates-list .template-image-container{width:100%;height:auto;position:relative;padding-top:70%}#give-metabox-form-data #form_template_options .templates-list .template-image-container .template-image{height:100%;width:100%;object-fit:cover;position:absolute;top:0;left:0;background-color:#fff}#give-metabox-form-data #form_template_options .templates-list .action{display:flex;align-items:center;background-color:#fafafa;border-top:1px solid #eee;padding:10px}#give-metabox-form-data #form_template_options .templates-list .action .template-name{font-weight:500;flex-grow:1;line-height:1.4;padding-left:6px}#give-metabox-form-data #form_template_options .templates-list .action .badge{display:none;padding:2px 9px;line-height:1.4;background-color:#7ad03a;color:#fff;font-style:normal;border-radius:5px;margin-left:10px;text-shadow:0 1px 1px rgba(0,0,0,.25)}#give-metabox-form-data #form_template_options .form-template-introduction{padding-bottom:16px}#give-metabox-form-data #form_template_options .form-template-introduction p{font-weight:300;font-size:18px;margin:0 0 14px;padding:0}#give-metabox-form-data #form_template_options .form-template-introduction p.form-template-description{color:#9c9c9c;font-size:16px;padding-bottom:26px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice{padding:14px;display:flex;justify-content:space-between;align-items:center;margin-top:24px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice p{flex:1;margin:0 14px;font-size:16px;color:#555}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice .dashicons{font-size:17px;margin-top:4px}#give-metabox-form-data #form_template_options .template-options{display:none}#give-metabox-form-data #form_template_options .template-options>.give-row{margin-bottom:20px;border:1px solid #ccd0d4}#give-metabox-form-data #form_template_options .template-options>.give-row>.give-row-head{background-color:#f1f1f1}#give-metabox-form-data #form_template_options .inner-panel{display:flex;flex-direction:column;padding-left:34px;padding-right:34px}#give-metabox-form-data #form_template_options .inner-panel .templates-list-heading{font-size:14px;font-weight:400;margin:10px 0 15px}#give-metabox-form-data #form_template_options .inner-panel .form-template-options-introduction{display:none;padding-bottom:25px}#give-metabox-form-data #form_template_options .inner-panel .template-info{background:#fafafa;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.07);line-height:0}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template{padding-left:20px;padding-right:20px}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list{grid-template-columns:1fr!important}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-image-container,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info:not(.active){display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info.active .badge{display:inline-block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list-heading{display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-options-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .template-options.active{display:block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .give-file{width:calc(100% - 150px)!important}#_give_donation_levels_field .give-row:nth-of-type(2) .give-remove{display:none!important}#give-metabox-form-data .give-metabox-tabs{margin:0;max-width:170px;float:left;line-height:1;padding:0 0 10px;position:relative;background-color:#fafafa;border-right:1px solid #eee;box-sizing:border-box}#give-metabox-form-data .give-metabox-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;left:0;background-color:#fafafa;border-right:1px solid #eee}#give-metabox-form-data .give-metabox-tabs li{margin:0;padding:0;display:block;position:relative}#give-metabox-form-data .give-metabox-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee;overflow:hidden}#give-metabox-form-data .give-metabox-tabs li a span.give-label{width:122px;padding-left:2px;display:inline-block}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs{z-index:999}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li{background-color:#f1f1f1}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li a{border-bottom-color:#e5e5e5;display:flex;align-items:center;justify-content:space-between}#give-metabox-form-data .give-metabox-tabs li.active>a{color:#555;position:relative;background-color:#eee}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields.active>a{background-color:#ddd}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields:not(.active):hover ul.give-metabox-sub-tabs{display:block;position:absolute;bottom:0;left:166px;width:170px;max-height:250px}@media (max-width:550px),only screen and (min-width:851px) and (max-width:1025px){#give-metabox-form-data ul.give-metabox-tabs{min-width:40px}#give-metabox-form-data ul.give-metabox-tabs li>a{text-align:center}#give-metabox-form-data ul.give-metabox-tabs li>a:before{margin-right:0;font-size:15px}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-label{display:none}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-icon:before{margin:0}#give-metabox-form-data .give_options_panel{padding-left:40px}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:10px}#give-metabox-form-data .give_options_panel .give-field-wrap label,#give-metabox-form-data .give_options_panel .give-field-wrap span.give-field-label{display:block;float:none;margin:0 0 10px;font-size:14px;width:100%}}.chosen-container-single a.chosen-single{background:#fff!important}.give-docs-link{text-align:right;margin-right:15px}.give-docs-link a{color:#999;text-decoration:none;font-style:italic}.give-docs-link a:hover{color:#0073aa}.give-docs-link a span{font-style:normal}.post-type-give_forms #posts-filter .search-box{display:none}.post-type-give_forms #posts-filter .tablenav.top{position:relative;margin:42px 0 0;height:auto}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter{margin:0 0 10px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-goal-filter{width:255px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter a{display:inline-block;margin:0}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-search-input{margin-right:6px}.post-type-give_forms #posts-filter .tablenav.top .actions{position:absolute;left:230px;bottom:10px}.post-type-give_forms #posts-filter .tablenav.top .actions.bulkactions{left:0}@-moz-document url-prefix(){.give_options_panel .give-money-symbol{padding:8.5px 10px}}#give-dashboard-widgets-wrap .inside{padding-top:0;padding-bottom:0}.give_forms_page_give-reports #give-dashboard-widgets-wrap .inside{padding-left:0}#give-dashboard-widgets-wrap .inside #give-graphs-filter{float:none}#give-dashboard-widgets-wrap .postbox{margin-bottom:10px}#give-dashboard-widgets-wrap table.reports-table{clear:none}#give-dashboard-widgets-wrap #give-date-range-options{float:left}#give-dashboard-widgets-wrap #give-date-range-options>span{float:left;line-height:30px;font-style:italic;padding:0 5px 0 0}#give-graphs-filter{float:right}#give-graphs-filter .tablenav{margin:0 0 0 17px}#give-graphs-filter .tablenav .actions{padding:0}.give-graph .y1Axis{color:#66bb6a!important}.give-graph .y2Axis{color:#546e7a!important}body.give_forms_page_give-payment-history h1.nav-tab-wrapper,body.give_forms_page_give-payment-history h2.nav-tab-wrapper,body.give_forms_page_give-reports h1.nav-tab-wrapper,body.give_forms_page_give-reports h2.nav-tab-wrapper{margin-bottom:10px}body.give_forms_page_give-payment-history .actions,body.give_forms_page_give-reports .actions{padding-top:0}body.give_forms_page_give-payment-history .pagination-links,body.give_forms_page_give-reports .pagination-links{margin-left:10px}body.give_forms_page_give-payment-history p.donor-search,body.give_forms_page_give-reports p.donor-search{margin-right:10px}body.give_forms_page_give-payment-history .tablenav-right .tablenav-pages,body.give_forms_page_give-reports .tablenav-right .tablenav-pages{float:right}body.give_forms_page_give-payment-history .tablenav-right #give-reports-view,body.give_forms_page_give-reports .tablenav-right #give-reports-view{margin-top:0}body.give_forms_page_give-payment-history .tablenav-right .actions,body.give_forms_page_give-payment-history p.search-box,body.give_forms_page_give-reports .tablenav-right .actions,body.give_forms_page_give-reports p.search-box{float:left}body.give_forms_page_give-payment-history .reports-table-nav.tablenav.top,body.give_forms_page_give-reports .reports-table-nav.tablenav.top{width:100%;float:none;margin:0 0 10px}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top,body.give_forms_page_give-reports .reports-forms-details-wrap.top{float:right;overflow:hidden}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top #give-reports-filter,body.give_forms_page_give-reports .reports-forms-details-wrap.top #give-reports-filter{float:left}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top>.actions,body.give_forms_page_give-reports .reports-forms-details-wrap.top>.actions{padding-right:0}body.give_forms_page_give-payment-history .tablenav.bottom,body.give_forms_page_give-reports .tablenav.bottom{margin-top:10px}body.give_forms_page_give-payment-history h2.reports-earnings-title,body.give_forms_page_give-reports h2.reports-earnings-title{margin:7px 0 0}body.give_forms_page_give-payment-history .reports-views-wrap,body.give_forms_page_give-reports .reports-views-wrap{padding:3px 0 0}body.give_forms_page_give-payment-history .wrap.give-reports-donors-wrap,body.give_forms_page_give-reports .wrap.give-reports-donors-wrap{margin-right:0;margin-bottom:10px}body.give_forms_page_give-payment-history .widefat tbody td,body.give_forms_page_give-payment-history .widefat tbody th,body.give_forms_page_give-reports .widefat tbody td,body.give_forms_page_give-reports .widefat tbody th{padding-top:12px;padding-bottom:12px}body.give_forms_page_give-reports table.export-options-table tbody td{padding:20px 12px;vertical-align:top}body.give_forms_page_give-reports table.export-options-table .give-export-form{position:relative}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap{background-color:transparent;padding:12px 12px 4px;margin:2px 0 -16px -11px;overflow:auto}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap .spinner{margin:-2px -12px 8px 0}body.give_forms_page_give-reports table.export-options-table span#give-end-wrap input,body.give_forms_page_give-reports table.export-options-table span#give-start-wrap input{width:100px}#export-donor-options-wrap p{padding:20px 0 0;margin:0;font-weight:700}#export-donor-options-wrap ul{max-width:900px;overflow:hidden}#export-donor-options-wrap ul li{margin:0;padding:0 5px 5px 0;box-sizing:border-box;float:left;width:33%}.settings-excludes-list{max-height:120px;overflow:auto;padding:.5rem;border:1px solid #ddd}.settings-excludes-list li{margin:3px 0}#give-tools-recount-form .notice-wrap{position:relative;min-height:25px;margin:10px -12px -12px;background:#efefef;padding:10px 12px 12px;border-top:1px solid #e5e5e5}#give-tools-recount-form .notice-wrap .give-progress{position:absolute;top:15px}#give-tools-recount-form .notice-wrap .spinner{position:absolute;right:14px;top:13px;margin:0}#give-tools-recount-form .notice-wrap #give-batch-success{margin-bottom:6px}.recount-stats-controls form{display:inline}.give-recount-stats-descriptions{margin:8px 0 0;display:block}.give-recount-stats-descriptions span{line-height:24px;font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0;display:none}.gateways-report-tablenav .actions.bulkactions{padding-right:0}table.give-table td{vertical-align:middle}table.give-table td.row-title h3{margin:0 0 .4em;font-size:1.2em}table.give-table td.row-title p{font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0}#give-graphs-filter>.tablenav{height:auto}#give-logs-filter .search-box{float:right}#give-logs-filter .tablenav.top{float:left;clear:none;margin-top:0}.give-welcome-wrap{margin:0 0 0 -20px;padding:0}.give-welcome-header{background:#fff;height:100%;min-width:1000px}.give-welcome-header .give-welcome-header-inner{max-width:900px;margin:0;padding:25px 250px 20px 30px;position:relative}.give-welcome-header .give-welcome-h1{margin:0 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:600;display:inline-block;margin-right:15px!important}.give-welcome-header .give-welcome-h1:before{background:url(../images/give-icon-full-circle.svg);width:36px;height:36px;content:" ";display:block;float:left;margin:0 10px 0 0;position:relative;top:4px}.give-welcome-header .give-welcome-text{font-size:20px;margin:20px 0 30px;padding:0}.give-badge{background:url(../images/give-badge.png) no-repeat 0 0 transparent;padding-top:150px;height:52px;width:185px;color:#fff;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.8);margin:0;position:absolute;top:30px;right:20px}.give-welcome-content-wrap{padding:0;margin:0}.give-welcome-content-wrap.give-changelog-wrap{width:1140px}.give-welcome-content-intro{font-size:22px;font-style:italic;color:#8e8e8e;margin:50px 30px 60px;max-width:1400px;min-width:1000px}.give-ipad-showcase-wrap{border:3px solid #9199a5;border-radius:10px;position:relative;box-shadow:0 .75rem 2rem rgba(0,0,0,.4)}.give-ipad-showcase-wrap .give-ipad-showcase-inner{background:#fafbfb;border:10px solid #1e2026;border-radius:7px;display:grid}.give-ipad-showcase-wrap img{height:auto;max-width:100%}.give-feature-section{margin:0;padding:120px 30px}.give-feature-section__inner{display:flex;flex-direction:row;margin:0;align-items:center;justify-content:center;max-width:1400px;min-width:1000px}.give-feature-section:first-of-type{padding-top:0}.give-feature-section__step2{background:#fff}.give-feature-section span.dashicons{width:16px;height:16px;font-size:14px;margin:6px 0 0}.give-feature-section .give-feature-section-item{display:flex;width:50%}.give-feature-section .give-feature-section-item__container{padding:0 60px 0 0;margin:0}.give-feature-section .give-feature-section-item__container-right{padding-left:60px;padding-right:20px}.give-feature-section .give-feature-section-item h3{font-size:24px;font-weight:500;margin:0 0 20px}.give-feature-section .give-feature-section-item h3>.give-feature-section-item-number{background:#fff;width:40px;height:40px;margin:0 10px 0 0;padding:0;line-height:40px;text-align:center;color:#777;box-shadow:0 1px 3px 0 rgba(0,0,0,.2);border-radius:50%;display:inline-block;font-size:22px}.give-feature-section .give-feature-section-item p{font-size:16px}.give-feature-section .give-feature-section-item .give-welcome-gateway-notice{font-size:12px!important;line-height:16px}.give-feature-section .give-feature-btns{margin:30px 0 20px}.give-feature-section .give-feature-btns li{display:inline;margin:0 25px 0 0}.give-feature-section .give-feature-btns .give-feature-btn-link{font-size:15px;line-height:30px}.social-items-wrap,.social-items-wrap>div{display:inline-block}.social-items-wrap .twitter-item-wrap{margin:0 20px 10px 0}.give-welcome-widgets{background:#fff;text-align:center;padding:100px 0 160px}.give-welcome-widgets p{font-size:16px}.give-welcome-widgets__inner{max-width:1400px}.give-welcome-widgets__heading{max-width:500px;margin:0 auto 100px}.give-welcome-widgets__heading h2{font-size:26px;font-weight:500}.give-welcome-widgets__heading .button{margin-top:10px;font-size:15px}.give-welcome-widgets__col{float:left;width:33.33%;box-sizing:border-box;padding:0 20px}.give-welcome-widgets__col h3{font-size:22px;font-weight:500}.give-welcome-widgets__col h3:before{background:url(../images/happy-face.svg) no-repeat top transparent;opacity:.3;content:" ";width:100%;height:85px;display:inline-block;font-size:80px;-moz-transition:.2s all linear;-o-transition:.2s all linear;transition:all .2s linear}.give-welcome-widgets__col p{font-size:13px}.give-welcome-widgets__col:hover h3:before{opacity:.45}.give-welcome-widgets__addons h3:before{background:url(../images/shopping-cart.svg) no-repeat top transparent}.give-welcome-widgets__documentation h3:before{background:url(../images/docs-book.svg) no-repeat top transparent}.give-welcome-widgets__col-inner{max-width:300px;margin:0 auto}.give-welcome-widgets__link{font-weight:700;font-size:15px}.give-contributor-group{list-style:none}.give-contributor-group img{border-radius:50%}.give-contributor-group .give-contributor{margin:0 10px 45px 0;display:inline-block;width:140px;text-align:center}.give-contributor-group .give-contributor a{outline:none;box-shadow:none}.give-contributor-group .give-contributor span{display:block;margin:3px 0 0;font-weight:700}.give-newsletter-form-wrap{margin:10px 0 15px;padding:10px 15px 15px;background:#f1f1f1;border:1px solid #ddd;max-width:900px}.give-newsletter-form-wrap .give-newsletter-intro{font-size:14px;font-style:italic;color:#777;margin:0 0 15px}.give-newsletter-form-wrap ._form-content{display:flex;justify-content:space-between}.give-newsletter-form-wrap ._form-content>div{width:32%}.give-newsletter-form-wrap .button,.give-newsletter-form-wrap input[type=email],.give-newsletter-form-wrap input[type=text]{width:100%;height:36px}.give-newsletter-form-wrap div._form-thank-you{background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 10px 4px 5px;padding:12px;border-left:4px solid #7ad03a;display:none}.give-newsletter-form-wrap div._form-thank-you>p{margin:.5em 0;padding:2px}.give-changelog-wrap .give-changelog{max-height:510px;margin:0 0 100px 30px;padding:20px;overflow-y:scroll;overflow-x:hidden;font-size:18px;line-height:28px;background:#fff;border:1px solid #ddd}.give-changelog-wrap .give-changelog br:first-child,.give-changelog-wrap .give-changelog br:first-child+br{display:none}.give-changelog-wrap .give-changelog h4{margin:0 0 10px;border-bottom:1px solid #e2e2e2;padding:0 0 6px;font-size:20px}.give-changelog-wrap .give-changelog h4+br{display:none}.dashboard_page_give-changelog #wpbody-content,.dashboard_page_give-getting-started #wpbody-content{padding-bottom:0}#give-paypal-connect{background:#039cde;color:#fff;font-size:14px;line-height:30px;font-weight:700;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;box-shadow:none;text-decoration:none;padding:8px 20px;border-radius:40px}#give-paypal-connect span:before{content:" ";width:16px;height:16px;display:inline-block;margin:0 8px 0 0;background-image:url(../images/paypal-48.png);background-size:16px;position:relative;top:2px}#give_donor_export_form{margin:0 0 5px}#give_donor_export #give_donor_export_form_chosen{display:block;margin:5px 0 1px}.column-status .give-donation-status,.column-status .give-test-mode-transactions-label{display:inline-block}.column-status .give-test-mode-transactions-label{margin:0 5px;vertical-align:middle}.give-settings-page .give-settings-section-content{display:flex;background-color:#f4f4f4;border-radius:8px;-webkit-box-shadow:0 0 5px 0 #ddd;-moz-box-shadow:0 0 5px 0 #ddd;box-shadow:0 0 5px 0 #ddd}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:250px}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul,.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li{margin:0}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a{display:block;padding:20px;text-decoration:none;color:#333;font-weight:600;outline:none;box-shadow:none}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a:hover{background-color:#ebebeb}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a.active{background-color:#fff;border-left:4px solid #66bb6a;color:#333}.give-settings-page .give-settings-section-content .give-settings-section-group-content{width:100%;background:#fff;padding:10px 30px;border-bottom-right-radius:8px;border-top-right-radius:8px;min-height:400px}@media only screen and (max-width:480px){.give-settings-page .give-settings-section-content{flex-flow:row wrap}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:100%}.give-settings-page .give-settings-section-content .give-settings-section-group-content{padding:10px}}.give-settings-page{margin:0 20px 0 2px}.give-settings-page #poststuff{padding-top:25px}.give-settings-page .give-settings-header{background:#fff;padding:10px 20px;margin:0 -20px 0 -22px}.give-settings-page .give-settings-heading-sep{font-size:14px;line-height:32px;width:15px}.give-settings-page .nav-tab-wrapper{height:54px;margin:0 -20px 0 -22px}.give-settings-page .give-subsubsub{list-style:none;margin:12px 0 3px;padding:0;float:left}.give-settings-page .give-subsubsub li{display:inline-block;margin:0 0 0 3px;padding:0;white-space:nowrap;color:#d3d3d3;font-weight:300;font-size:16px}.give-settings-page .give-subsubsub a{line-height:2;padding:.2em;margin:0 3px 0 0;text-decoration:none;font-size:14px;box-shadow:none;font-weight:400}.give-settings-page .give-subsubsub a.current{color:#000;font-weight:600;border:none}.give-settings-page .give-setting-tab-body{max-width:1260px}.give-settings-page div.give-submit-wrap{margin:20px 0}.give-settings-page .give_forms_page_give-payment-history .postbox .hndle{cursor:default}.give-settings-page .give-input-field{width:25em}.give-settings-page table table input[type=text]{width:15em}.give-settings-page .give-repeat-setting-field{margin:10px 0}.give-settings-page .give-remove-setting-field{width:25px;height:25px;padding:0;text-align:center;line-height:22px;font-size:21px;font-weight:300;cursor:pointer;margin-left:20px;display:inline-block}.give-settings-page .give-remove-setting-field:hover{background-color:red;color:#fff;border-radius:30px}.give-settings-page .give-forminp p:first-child .give-remove-setting-field{display:none}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd){background:#f4f3f3}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd) th{vertical-align:middle}.give-settings-page .export-options-table .give-import-dropdown:nth-child(2),.give-settings-page .export-options-table tr.give-import-option th:first-child{width:250px}.give-setting-tab-header{clear:both;overflow:hidden;margin:30px 0}.give-setting-tab-header h2{margin-top:8px}.give-setting-tab-header p{margin-top:0;margin-bottom:0}.give-radio-inline ul{margin-top:0}.give-radio-inline li{display:inline-block;margin:0 0 0 15px}.give-radio-inline li:first-child{margin-left:0}.give-tools-setting-page .bulkactions{overflow:visible}.form-table td.give-radio-inline fieldset li>label{margin:5px 0 0!important}div.give-field-description,p.give-field-description{color:#666;font-style:italic;font-size:14px!important;line-height:22px}div.give-field-description strong,p.give-field-description strong{color:#777}.give-setting-tab-header h2{float:left;display:inline-block;width:220px;font-style:italic;color:#aaa;margin:0;font-size:14px}.gateway-enabled-wrap{background-color:#f7f7f7;border:1px solid #e5e5e5}.gateway-enabled-wrap .gateway-enabled-settings-title{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;grid-gap:20px;border-bottom:1px solid #e5e5e5;padding:1rem;font-weight:600}.gateway-enabled-wrap .ui-sortable-placeholder{visibility:visible!important;border:2px dashed #e5e5e5;transition:all .2s ease}.gateway-enabled-wrap .ui-sortable-helper{background-color:#fafafa;box-shadow:0 4px 20px -5px rgba(0,0,0,.25);border:1px solid #e5e5e5;padding:.5rem!important}.give-payment-gatways-list{margin:0;padding:1rem}.give-payment-gatways-list li{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;align-items:center;grid-gap:20px;margin:0;padding:.5rem 0}.give-payment-gatways-list li:first-child{padding-top:0}.give-payment-gatways-list li:last-child{padding-bottom:0}.give-payment-gatways-list li .checkout-label{padding:3px 5px}.give-payment-gatways-list li .gateways-checkbox,.give-payment-gatways-list li .gateways-radio{justify-self:center}.give-payment-gatways-list li span.give-drag-handle{padding:3px 4px 0 0;font-size:15px;font-weight:400;color:#bdbdbd;cursor:move}.give-payment-gatways-list li span.give-drag-handle:hover{color:#333}.give-gateways-notice{display:table;width:100%;max-width:1240px;background:#fff;margin:15px 0 0;padding:0;border:1px solid #e3e3e3}.give-gateways-notice .give-gateways-cc-icon{margin:0;padding:0 15px 0 25px;height:30px;width:30px;display:table-cell;vertical-align:middle}.give-gateways-notice .give-gateways-cc-icon svg{position:relative;top:2px;width:50px;height:40px}.give-gateways-notice .give-gateways-notice-title{font-size:16px;margin:20px 20px 0;padding:0}.give-gateways-notice .give-gateways-notice-message{line-height:24px;font-size:14px;margin:5px 20px 20px}.give-gateways-notice .give-gateways-notice-button{display:table-cell;vertical-align:middle;text-align:right;margin:0;padding:0 15px 0 0;width:200px}.give-gateways-notice .give-gateways-notice-button #give-stripe-connect{margin:0 0 10px}.give-gateways-notice .give-gateways-notice-button .give-view-gateways-btn{text-align:center;width:190px}.give-email-tags-wrap{margin:5px 0 0}.give-email-tags-wrap code{font-style:normal;padding:1px 2px;font-size:12px}.give-email-tags-wrap span{display:block;color:#aaa;font-style:italic;margin:0 0 2px;font-size:13px}.give-email-tags-wrap .give_price_tag,.give-email-tags-wrap .give_receipt_id_tag{display:none}.give-setting-tab-header-emails{margin:20px 0}.give-setting-tab-header-emails hr,.give-settings-admin-email-section .tablenav,.give-settings-donor-email-section .tablenav,.give-settings-email-settings-section .tablenav{display:none}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails{margin:20px 0}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails hr{display:block}.giveemailnotifications .check-column{padding:13px 10px 0 20px!important}.giveemailnotifications td.check-column input{display:none}.giveemailnotifications th.check-column .give-email-notification-status{color:#fff;cursor:pointer}.giveemailnotifications th.check-column .give-email-notification-status[data-edit="1"] i.dashicons{border-radius:1em;padding:2px}.giveemailnotifications th.check-column .give-email-notification-disabled:hover .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-yes{background:#46b450}.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-lock{color:#46b450}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled:hover .dashicons-yes{background:#bbb}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-lock{color:#bbb}.giveemailnotifications th.check-column .dashicons-no-alt:hover:before{content:"\f147"!important}.giveemailnotifications th.check-column .dashicons-yes:hover:before{content:"\f335"!important}.giveemailnotifications .spinner.is-active{margin:0 0 0 2px;float:none}#system-info-textarea{width:800px;height:600px;font-family:Menlo,Monaco,monospace;background:#fff;white-space:pre;overflow:auto;display:block;direction:ltr}#give-download-sysinfo{margin:0}#api .tablenav .actions{overflow:visible}a.give-delete{color:#a00}.give-table thead th{padding:8px 10px!important}.post-type-give_forms .mce-container iframe,.post-type-give_forms .wp-editor-area{min-height:400px}.give-field-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}.give-image-thumb{position:relative;margin-top:14px}.give-image-thumb span.give-delete-image-thumb{position:absolute;background:red;color:#fff;border-radius:30px;left:-10px;top:-10px;cursor:pointer}.give-image-thumb img{max-width:250px;border:4px solid #fff}.give_email_access_link_tag{display:none}.give-license-settings-wrap{max-width:1240px;min-width:1000px;margin:20px 0 0 -10px;padding:0}.give-license-top-widget{border:1px solid #dbdbdb;min-height:250px}.give-license-top-widget .give-license-widget-heading{font-size:20px;margin:0 0 15px;padding:0 0 15px;border-bottom:1px solid #dbdbdb;line-height:1.2em}.give-license-top-widget .give-license-widget-heading .dashicons{height:25px;width:25px;font-size:28px;margin:-5px 10px 0 0}.give-license-top-widget .give-field-description{margin:0 0 20px;padding:0}#give-license-activator-wrap{background:#fff;margin:0;padding:30px}#give-license-activator-wrap .give-license-activation-form{background:#f4f4f4;padding:10px;position:relative}#give-license-activator-wrap .give-license-notices{position:absolute;background:#f4f4f4;top:0;left:0;height:100%;width:100%;padding:20px;z-index:3;box-sizing:border-box;display:none}#give-license-activator-wrap .give-license-notices .notice{position:relative;padding-right:40px}#give-license-activator-wrap #give-license-activator{font-size:22px;height:55px;padding:0 15px;margin:0 0 10px;width:100%}#give-license-activator-wrap .button{height:45px;width:100%;font-size:18px;display:block;clear:both;margin:0}#give-addon-uploader-wrap{background:#fff;padding:30px 25px 25px;margin:0}.give-upload-addon-form-wrap{position:relative}.give-upload-addon-form-wrap .give-upload-addon-instructions{margin:0;padding:0;opacity:.4;font-size:16px}.give-upload-addon-form-wrap .give-upload-addon-instructions span{display:block;margin:8px 0;font-size:14px}.give-upload-addon-form-wrap #give-upload-addon-file-select{display:none}.give-upload-addon-form-wrap .give-spinner-wrap{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99;background-color:#fff}.give-upload-addon-form-wrap .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-left:42%}.give-upload-addon-form{background:#f4f4f4;padding:25px;text-align:center;outline:2px dashed #e2e2e2;outline-offset:-10px;transition:outline-offset .15s ease-in-out,background-color .15s linear;position:relative}.give-upload-addon-form.give-dropzone-active{outline-offset:-13px;outline:2px dashed #c6c6c6;background:#eaeaea}.give-upload-addon-form .give-addon-upload-notices{position:absolute;background:hsla(0,0%,100%,.66);top:0;left:0;height:100%;width:100%;padding:20px;z-index:3;text-align:left;box-sizing:border-box;display:none}.give-upload-addon-form .give-activate-addon-wrap{display:none;border:1px solid #dbdbdb;background:#fff;position:absolute;padding-top:20px;top:0;left:0;height:100%;width:100%;z-index:4;box-sizing:border-box}.give-upload-addon-form .give-activate-addon-wrap .dashicons{color:#66bb6a}#give-licenses-container{position:relative}#give-licenses-container .give-spinner-wrap{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99;background-color:#fff}#give-licenses-container .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-left:45%}.give-licenses-list-header{margin:20px 0 30px;padding:0}.give-licenses-list-header h2{float:left;margin:0 0 20px;padding:0;font-size:18px}.give-licenses-list-header #give-refresh-button-wrap{float:left;margin:-6px 0 0 25px}.give-licenses-list-header #give-refresh-button-wrap #give-last-refresh-notice{margin:0 0 0 10px;line-height:28px;color:#666}.give-licenses-list-header hr{clear:both}.give-addon-wrap{border:1px solid #dbdbdb;background:#fff;padding:0;margin:0 0 20px;position:relative}.give-addon-wrap .give-license-top{background:#f4f4f4;border-bottom:1px solid #dbdbdb;display:flex;color:#333}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown{background:#f4f4f4;border-bottom:1px solid #dbdbdb;padding:30px}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown .notice{margin:0}.give-addon-wrap .give-license-top-header{display:block;font-size:15px;margin:0 0 20px;font-weight:700;color:#23282d}.give-addon-wrap .give-license-top-column{float:left;padding:30px;flex:1}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap,.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{border-right:1px solid #dbdbdb}.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{flex:1.45;padding-right:10px}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap .give-field-description{padding-top:0}.give-addon-wrap .give-license__status{margin:10px 0 0 -4px;padding:0}.give-addon-wrap .give-license__status .dashicons-yes{color:#66bb6a}.give-addon-wrap .give-license__status .dashicons-no{color:#a00}.give-addon-wrap .give-license__key{display:inline-block}.give-addon-wrap .give-license__key input[type=text]{margin:0 10px 0 0}.give-addon-wrap .give-license__key button{font-size:15px;position:relative;top:-1px}@media (min-width:1400px){.give-addon-wrap .give-license__key input[type=text]{min-width:290px;height:40px;font-size:18px;padding:10px}.give-addon-wrap .give-license__key button{width:110px;height:40px}}@media (max-width:1399px){.give-addon-wrap .give-license__key input[type=text]{min-width:230px;height:35px;font-size:15px;padding:8px}.give-addon-wrap .give-license__key button{width:85px;height:35px;font-size:1em}}.give-addon-wrap .give-license-action-link{display:block;margin:0 0 15px;box-shadow:none}.give-addon-wrap .give-license-renewal-date .dashicons{opacity:.8;margin:0 3px 0 0;position:relative;top:-2px}.give-addon-wrap .give-license-activations-remaining-icon{border-radius:100%;height:20px;width:20px;display:inline-block;padding:1px;font-size:12px;line-height:20px;text-align:center;font-weight:700;margin:0 2px 0 0}.give-addon-wrap .give-plugin__info{padding:6px 9px}.give-addon-wrap .give-plugin__status{border:none;padding:0 5px;line-height:20px!important}.give-addon-info-wrap{margin:30px;padding:20px;background:#f4f4f4;border:1px solid #dbdbdb;color:#333}.give-addon-info-wrap .give-addon-info-left{float:left}.give-addon-info-wrap .give-addon-name{font-weight:700;font-size:14px}.give-addon-info-wrap .give-addon-version{font-size:11px;margin:0 0 0 20px}.give-addon-info-wrap .give-addon-info-right{float:right}.give-addon-info-wrap .give-addon-info-right .give-button{margin:-5px 0 0;position:relative;top:2px;height:auto}.give-addon-info-wrap .give-addon-info-right .give-button .dashicons{font-size:14px;width:14px;height:14px;margin-right:3px;margin-top:5px}.give-addon-info-wrap .give-addon-activation-status{border-radius:4px;color:#fff;background:#777;padding:3px 8px;margin:0 15px 0 0;font-size:11px}.give-addon-info-wrap .give-addon-activation-status__activated{background:#7ad03a;text-shadow:0 0 1px #4b8420}.give-addon-info-wrap .give-addon-view-changelog{margin:0 15px 0 0;font-size:12px}.give-filters{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;padding:12px 12px 0}.give-filters .give-donation-forms-filter .chosen-single{height:28px;line-height:28px}.give-filters .chosen-container-single .chosen-single div b{background-position:0 4px}.give-filters .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 6px}.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{display:inline-block;width:300px}@media screen and (max-width:782px){.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{width:100%}}.give-filters #give-payment-date-filters label,.give-filters #give-payment-form-filter label{vertical-align:initial}.give-filters #give-payment-date-filters label.give-donation-forms-filter-label,.give-filters #give-payment-form-filter label.give-donation-forms-filter-label{vertical-align:middle}.give-filters #give_donation_forms_filter{width:255px}@media screen and (max-width:782px){.give-filters #give_donation_forms_filter{width:100%;max-width:100%}}.give-filters:after{content:"";display:table;clear:both}.give-filter{display:block;margin-bottom:12px;width:100%}.give-filter:after{content:"";display:table;clear:both}.give-filter label{display:block;margin-right:4px}.give-filter input{margin:0}.give-filter input[type=text]{height:28px;width:100%}.give-filter input[type=search],.give-filter input[type=text]{height:28px}.give-filter .button{height:28px;line-height:26px;margin:0;padding:0 10px 1px}.give-filter select{width:100%}@media screen and (min-width:783px){.give-filter{float:left;margin-right:18px;width:auto}.give-filter label{display:inline-block}.give-filter input[type=text]{display:inline-block;width:144px}}.give-filter-search input[type=search]#give-payments-search-input{display:block;float:left;width:205px;max-width:100%}.give-filter-search input[type=submit]{display:block;float:right;width:30%}@media screen and (min-width:783px){.give-filter-search input[type=search]{display:inline-block;margin-right:4px;width:auto}.give-filter-search input[type=submit]{display:inline-block;width:auto}}@media screen and (min-width:600px){.give-filter-half{float:left;width:49%}.give-filter-half:last-child{float:right}}@media screen and (min-width:783px){.give-filter-half{width:auto}.give-filter-half:last-child{float:left}.give-filter-half input[type=text]{width:96px}}.give-clear-filters-button{margin-left:8px}.give-submit-wrap{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;margin:8px 0;padding:12px;font-size:13px;line-height:2.1em}#give-payment-filters ul.subsubsub{margin-bottom:8px}#give-payments-advanced-filter ul.subsubsub{margin-bottom:12px}#give-payments-filter .tablenav.top{float:none}#give-payments-filter .tablenav.top .bulkactions{margin-top:1px;padding-top:0}#give-payments-filter .give-email-column-value{font-size:14px;font-weight:700}#give-payments-filter #the-list .check-column input{margin-top:1px}#give-payments-filter .column-details{width:50px}#give-payments-filter .column-amount{width:120px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.forms th#date{width:140px}.give-mobile-link{line-height:32px;vertical-align:middle}.give-mobile-link img{max-width:80%;height:auto;float:left}.give-donation-status>span{display:inline-block;width:12px;height:12px;position:relative;top:1px;margin:0;padding:0;border-radius:50%;background:#888;line-height:16px}.give-donation-status.status-pending>span{background-color:#ffba00}.give-donation-status.status-complete>span,.give-donation-status.status-publish>span{background-color:#7ad03a}.give-donation-status.status-refunded>span{background-color:#777}.give-donation-status.status-failed>span{background-color:#a00}.give-donation-status.status-abandoned>span{background-color:#333}.give-donation-status.status-revoked>span{background-color:#d9534f}.give-donation-status.status-give_subscription>span,.give-donation-status.status-renewal>span,.give-donation-status.status-subscription>span{background-color:#5bc0de}#test-payment-label{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#ffba00;margin:0 15px;vertical-align:middle}#test-payment-label:hover{color:#fff;text-decoration:none}#give-payments-filter .give-payment-id{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;font-weight:400}#give-payments-filter .give-payment-id:hover{color:#fff;text-decoration:none}#give-payments-filter .column-details{padding-right:30px}#give-payments-filter .give-donation-status{display:inline-block}#give-order-update .give-donation-status{display:inline-block;float:none;margin:0 10px;position:relative;top:3px}#give-order-update .give-order-top{border-bottom:1px solid #eee;overflow-x:auto;white-space:nowrap;width:100%}#give-order-update .give-order-top h3.hndle{float:left;border:none;display:inline-block}#give-order-update .give-order-top .delete-donation{display:inline-block;float:right}#give-order-update .give-order-top .delete-donation a{width:18px;height:16px;display:block;margin:11px 15px;content:"\f182";font-size:18px;color:#b5b5b5}#give-order-update .give-order-top .delete-donation a:focus,#give-order-update .give-order-top .delete-donation a:hover{color:red;box-shadow:none}.column-donation_form .donation-level-text-wrap{font-style:italic;display:block}@media handheld,only screen and (max-width:640px){.wp-list-table.forms th{width:auto!important}}.download_page_give-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-left:-8px;margin-top:-8px}.give-admin-box .label{font-weight:600}.give-admin-box-inside{margin:0;padding:3px 10px;clear:both;border-bottom:1px solid #eee;word-break:break-word}.give-admin-box-inside .strong{font-weight:600}.give-admin-box .right{float:right}#give-order-details .inside,#give-order-update .inside{margin:0;padding:0}#give-order-update input.give_datepicker{width:180px}#give-order-update input[type=number].give-payment-time-hour,#give-order-update input[type=number].give-payment-time-min{width:50px}.give-admin-box-inside:last-child{border-bottom:0}#give-edit-order-form .data-payment-key{word-break:break-all}.give-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}#give-donation-overview th{text-align:left}#give-donation-overview .give-select-chosen{width:97%}#give-edit-order-form .row{margin-top:10px}#give-donation-overview ul,#give-donor-details .order-data-address input,#give-donor-details .order-data-column p.data input,#give-edit-order-form .column input,#give-order-address-country-wrap select{clear:both;display:block}.give-order-data input.small-text{margin:0}#give-order-update span.label{display:inline;width:50px}.give-order-update-box .button-primary{margin-right:0}#give-edit-order-form .column .description{padding-right:10px}#give-donation-overview .inside>ul>li,#give-donation-overview .row>ul>li,#give-edit-order-form .column{display:inline-block;position:relative;vertical-align:top}#give-donation-overview ul{font-size:0}#give-donation-overview ul li{font-size:13px}#give-donation-overview ul li.actions{text-align:right;min-width:200px}#give-donation-overview ul li.remove{text-align:right}#give-donation-overview ul .row{padding:12px;border-bottom:1px solid #eee}#give-order-data .data span{color:#666;font-weight:600}input.give-price-field{width:80px;padding:3px 5px}.give_forms_page_give-payment-history.js .postbox .hndle{cursor:default}#give-payment-notes textarea{min-height:150px}#give-payment-notes #give-add-payment-note{margin:6px 0 15px}#give_comment{min-height:150px}#give-billing-details .column>div{margin:0 0 10px}#give-billing-details label{display:block;margin-bottom:5px}#give-billing-details .column-container{padding:5px 0 10px}#give-billing-details input[type=text]{width:98%}#give-billing-details .chosen-container{width:98%!important}@media screen and (min-width:1200px){#give-edit-order-form .column{width:33%}#give-order-address .column{width:49%}#give-donation-overview.columns-4 li.actions{width:25%;margin-top:0;margin-right:0}}@media screen and (max-width:1199px){#give-edit-order-form .column{width:49%}}@media screen and (max-width:782px){.order-data-column input[type=email]{padding:6px 10px}}#give-donation-overview .inside,#give-donor-details .inside{margin-top:0}.give_forms_page_give-payment-history #give-dashboard-widgets-wrap #side-sortables{padding-top:0}.give-select-chosen .spinner,.give-select .spinner{position:absolute;right:5px;top:2px;z-index:999}.give-select-chosen-ajax .spinner{visibility:visible}.give-select-chosen-ajax.chosen-container-single .chosen-search input[type=text],.give-select-chosen-ajax .chosen-search input[type=text]{background-image:none!important}.give-dashboard-widget .give-dashboard-today{text-align:center}.give-dashboard-widget .give-dashboard-today .give-dashboard-date-today{margin:10px 0 0;padding:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-happy-day{padding:3px;margin:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-today-earnings{font-size:42px;color:#4ead61;font-weight:700;margin:15px 0 0;line-height:1}.give-dashboard-widget .give-dashboard-today .give-donations-today{font-size:18px;font-weight:700;margin:0 0 30px;padding:4px 0 1px}.give-dashboard-widget .give-dashboard-today .give-last-seven{font-size:14px;font-weight:700;padding:0;margin:0 0 30px}.give-dashboard-widget .give-table-stats{width:100%;text-align:center;margin:0;table-layout:fixed;border-top:1px solid #ececec;border-spacing:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total,.give-dashboard-widget .give-table-stats .give-dashboard-stat-total-label{padding:0;margin:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total{color:#4ead61;font-weight:700;font-size:16px}#give_dashboard_sales>.inside{padding:0}#give_dashboard_sales .give-table-stats td{padding:10px 0}#give_dashboard_sales .give-table-stats td:first-of-type{border-right:1px solid #ececec}#give_dashboard_sales .give-table-stats tr#give-table-stats-tr-1 td{border-bottom:1px solid #ececec}#dashboard_right_now .give-forms-count:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:18px;width:18px;height:18px;content:"\e800"}.give-range_slider_field{margin-top:.8rem}.give_forms_page_give-donors .wp-heading-inline+.notice:first-of-type{margin-top:25px}.give_forms_page_give-donors .give-nav-tab-wrapper{margin:10px -20px 20px}.give_forms_page_give-donors #give-donors-filter{position:relative}.give_forms_page_give-donors #give-donors-filter p.search-box{margin:0}.give_forms_page_give-donors #give-donors-search-filter{display:block;overflow:hidden}.give_forms_page_give-donors #give-donor-card-wrapper{margin-left:-1px;z-index:2;min-height:200px}.give_forms_page_give-donors #give-donor-card-wrapper input{font-weight:400}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section{border-bottom:1px solid #eee;margin-bottom:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section .give-donor-search-box{margin-right:25px;width:auto;display:inline-block;float:left}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section table{margin-bottom:0}.give_forms_page_give-donors #give-donor-card-wrapper>div:first-child{padding-top:20px}.give_forms_page_give-donors #give-donor-card-wrapper>div:last-child{padding-bottom:20px;border:none}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap{padding:0 15px 15px 0;text-align:center;float:left}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap img{border-radius:50%}.give_forms_page_give-donors #give-donor-card-wrapper a.delete{text-decoration:none;color:red;margin-right:5px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-since{margin:10px 0;font-size:16px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-id{display:inline-block;font-size:24px;font-weight:600;margin-right:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-name-wrap{display:inline-block}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-edit-link{margin-bottom:15px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box{display:inline-block;float:left;margin-right:18px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box input#give-donors-search-input{width:205px;max-width:100%}.give_forms_page_give-donors #give-donor-filters label{vertical-align:initial}.give_forms_page_give-donors #give-donor-filters label.give-donation-forms-filter-label{vertical-align:middle}.give_forms_page_give-donors .donor-main-wrapper{clear:both;margin:0 0 20px}@media (max-width:655px){.give_forms_page_give-donors .donor-main-wrapper{width:100%}}.give_forms_page_give-donors .donor-main-wrapper table{margin:0}.give_forms_page_give-donors .donor-main-wrapper input[type=email],.give_forms_page_give-donors .donor-main-wrapper input[type=number],.give_forms_page_give-donors .donor-main-wrapper input[type=text]{width:200px}.give_forms_page_give-donors #donor-summary{padding:0 20px}.give_forms_page_give-donors #donor-summary:after{font-family:dashicons;content:"\f110";position:absolute;top:10px;right:10px;font-size:100px;color:#f0f0f0;z-index:0}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper{width:202px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper span[data-key=line2]{display:table;clear:both}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper select{width:200px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-info{min-height:185px}.give_forms_page_give-donors #give-donor-card-wrapper .info-wrapper{min-height:125px}.give_forms_page_give-donors .donor-info .donor-name{font-size:24px;font-weight:600}.give_forms_page_give-donors #disconnect-donor,.give_forms_page_give-donors #view-user-profile{font-size:12px;font-weight:400;text-decoration:none}.give_forms_page_give-donors #donor-edit-actions{text-align:center;margin-bottom:20px;line-height:28px}.give_forms_page_give-donors #donor-edit-actions .button-secondary{margin-right:10px}.give_forms_page_give-donors #give-donor-card-wrapper .edit-item{display:none}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results{left:1px;top:16px}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results ul{width:200px}.give_forms_page_give-donors #donor-stats-wrapper{margin:0 auto;text-align:center;padding:15px}.give_forms_page_give-donors #donor-stats-wrapper ul{margin:0;padding:0;overflow:hidden}.give_forms_page_give-donors #donor-stats-wrapper ul li{width:50%;float:left;line-height:22px;font-size:14px;margin:0}.give_forms_page_give-donors #donor-stats-wrapper a{text-decoration:none}.give_forms_page_give-donors #donor-stats-wrapper .dashicons{color:#888}.give_forms_page_give-donors #donor-tables-wrapper table{width:100%;text-align:center}.give_forms_page_give-donors #donor-tables-wrapper th{text-align:center}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .donations tr>th:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>th:first-child{text-align:left}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:only-child{text-align:center}.give_forms_page_give-donors #donor-notes-wrapper{min-height:50px}.give_forms_page_give-donors .donor-notes-header img,.give_forms_page_give-donors .donor-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.give_forms_page_give-donors .donor-note-input{width:100%;margin-bottom:5px}.give_forms_page_give-donors #give-donor-notes div:nth-of-type(2n){background-color:#f9f9f9}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:0}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper .note-content-wrap{padding:10px 12px;line-height:20px;font-size:14px}.give_forms_page_give-donors #give-donor-notes .give-no-donor-notes{text-align:center;padding:20px}.give_forms_page_give-donors .donor-note-wrapper span{display:block}.give_forms_page_give-donors .delete-donor{text-align:center}.give_forms_page_give-donors .give-lock-block{margin-left:-25px;text-decoration:none;font-size:14px;margin-right:3px}.give_forms_page_give-donors .give-lock-block i{color:#000;font-size:14px}.give_forms_page_give-donors #donor-address-wrapper .give-no-address-message{margin:.5rem 1%;line-height:3.4em}.give_forms_page_give-donors #donor-address-wrapper .give-donor-addresses .inside{padding-bottom:0}.give_forms_page_give-donors #donor-address-wrapper .add-new-address{margin:.5rem 1%!important}.give_forms_page_give-donors #donor-address-wrapper .add-new-address-form-hidden{position:absolute;right:13px;left:13px;top:0;visibility:hidden}.give_forms_page_give-donors #donor-address-wrapper .all-address .address{min-height:146px;border:1px solid #dad9d9;padding:9px;border-radius:5px;background-color:#fff}.give_forms_page_give-donors #donor-address-wrapper .all-address .address .address-number-label{color:grey;cursor:default}.give_forms_page_give-donors #donor-address-wrapper .all-address .address a{text-decoration:none}.give_forms_page_give-donors .comments td:nth-child(3n){text-align:left}.give_forms_page_give-donors .give-donor-admin-avatar{width:40px;height:40px;border-radius:50%;border:1px solid #e5e5e5;float:left;vertical-align:middle;margin-right:10px;line-height:40px;text-align:center}.give_forms_page_give-donors .give-donor-admin-avatar img{border-radius:50%;width:40px;height:40px}.give_forms_page_give-donors .give-donor-name-text{font-weight:600;font-size:14px}.give_forms_page_give-donors .give-donor-id{color:#555}.give_forms_page_give-donors .give-donor-name:focus{box-shadow:none;outline:none}.give_forms_page_give-donors #donor-avatar .give-donor-admin-avatar,.give_forms_page_give-donors #donor-avatar img{width:96px;height:96px;line-height:96px;margin-right:0;font-size:36px}@media screen and (max-width:782px){#wp-content-media-buttons a.give-thickbox{padding:6px 14px;line-height:normal;font-size:14px;height:auto}.wp-media-buttons span#give-media-button{margin-top:0!important;margin-left:2px!important}}.mce-primary.mce-give-primary button{padding-right:10px;padding-left:10px}.wp-core-ui .give-admin-button{padding-left:7px;padding-right:7px}.give-admin-button-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}.give-admin-button-icon:before{font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-admin-button-icon-update:before{content:"\f463"}.give-status-table{margin-bottom:1em}.give-status-table h2{font-size:14px;margin:0}.give-status-table tr:nth-child(2n) td,.give-status-table tr:nth-child(2n) th{background:#fcfcfc}.give-status-table th{font-weight:700;padding:9px}.give-status-table td:first-child{width:33%}.give-status-table td.help{width:1em}.give-status-table td{padding:9px;font-size:1.1em}.give-status-table td mark{background:transparent none}.give-status-table td mark.yes{color:#7ad03a}.give-status-table td mark.no{color:#999}.give-status-table td mark.error{color:#a00}.give-status-table td ul{margin:0}.wrap div.give-debug-report-wrapper{margin-bottom:5px}.wrap div.give-debug-report-wrapper p{font-size:18px;margin:1em 0 .7em;padding:0}.wrap div.give-debug-report-wrapper .give-debug-report-actions{margin:0 0 1.7em}.wrap div.give-debug-report-wrapper .give-debug-report-actions .js-give-debug-report-button{margin-right:10px}.wrap div.give-debug-report-wrapper .give-debug-report-actions .dashicons{font-size:16px;position:relative;top:4px;left:-2px}.give-debug-report{display:none;margin:10px 0;padding:0;position:relative}.give-debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}.give-progress{height:15px;width:95%;border-radius:4px;overflow:hidden;background-color:#f5f5f5}.give-progress>div{height:100%;width:0}.admin-color-fresh .give-progress div,.give-progress div{background:#0073aa}.admin-color-light .give-progress div{background:#888}.admin-color-blue .give-progress div{background:#096484}.admin-color-coffee .give-progress div{background:#c7a589}.admin-color-ectoplasm .give-progress div{background:#a3b745}.admin-color-midnight .give-progress div{background:#e14d43}.admin-color-sunrise .give-progress div{background:#dd823b}.give-spinner-wrapper{position:absolute;left:0;right:0;bottom:0;top:0;background:hsla(0,0%,96.1%,.57);z-index:1;display:none}.give-spinner-wrapper.is-active{display:inline-block}.give-spinner-wrapper .aligncenter{position:absolute;top:50%;left:50%;margin:10px 10px 0 0}.give-spinner.is-show,.give-spinner.spinner.is-active{margin:0 0 0 2px;float:none}.give-spinner.is-show{visibility:visible}ul.give-radio-inline input,ul.give-radio-inline li{display:inline-block!important}.chosen-container a{transition:none}.give-width-25em{width:25em}.give-spinner-wrap{position:relative}.give-spinner-wrap .spinner{float:none;margin-top:0;margin-right:0}.give-update-panel-content p{font-size:16px}#give-updates .give-update-panel-content{margin:0 0 30px}#give-updates .give-update-panel-content p{font-size:17px;font-style:italic;margin:0}#give-updates .dashicons-no-alt{color:red}#give-updates .dashicons-yes{color:green}#give-updates #give-db-updates .spinner{margin-top:0}#give-updates #give-updates-content{max-width:1200px}#give-updates .give-update-paused-text-p{margin:0 20px 0 0;line-height:30px;font-style:italic;font-size:14px}body.give_forms_page_give-updates .give-run-update-containt .give-run-update-button{margin-right:10px}.give-blank-slate{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0 auto;padding:40px;text-align:center}.give-blank-slate :last-child{margin-bottom:0}.give-blank-slate__cta,.give-blank-slate__heading,.give-blank-slate__help,.give-blank-slate__message{margin:0 0 10px}.give-blank-slate__image{display:block;height:80px!important;margin:0 auto 10px;width:auto}.give-blank-slate__select{margin-bottom:20px}.give-blank-slate__help{color:#666;font-style:italic}.give-blank-slate__help a{display:inline-block;text-decoration:underline}.give-blank-slate a.give-blank-slate__cta{display:inline-block;font-size:1.2em;height:auto;margin:0 0 10px;padding:.75em 1.5em}.wp-block .give-blank-slate{background-color:#f1f1f1}.wp-block .give-blank-slate .give-blank-slate__heading{font-weight:700;font-size:20px;margin-bottom:10px;margin-top:20px}.wp-block .give-blank-slate a{color:#32373c;text-decoration:none}.chosen-container-single .chosen-single{background:#fff;height:30px;line-height:30px;border:1px solid #7e8993;box-shadow:none}.chosen-container-single .chosen-single span{font-size:14px}.chosen-container-single .chosen-single div b,.chosen-container-single.chosen-with-drop .chosen-single div b{background-position-y:4px}.chosen-container-active.chosen-with-drop .chosen-single{background:#fff}.chosen-container .chosen-results li.highlighted{background:#3875d7;color:#fff}.chosen-container-multi .chosen-choices{border:1px solid #aaa;background-image:none}.chosen-container-multi .chosen-choices li.search-choice{background-image:none}.give-tools-setting-page-import h1.handle{padding:15px 0 0}.give-tools-setting-page-import .give-progress-steps{width:100%;padding:0 0 24px;margin-left:0;list-style:none outside;overflow:hidden;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.give-tools-setting-page-import .give-progress-steps li{width:25%;float:left;padding:0 0 1.2em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1.4em}.give-tools-setting-page-import .give-progress-steps li.active{border-color:#4ead61;color:#4ead61}.give-tools-setting-page-import .give-progress-steps li.active:before{border-color:#4ead61;color:#4ead61;background:#4ead61}.give-tools-setting-page-import .give-progress-steps li:before{content:"";border:4px solid #ccc;border-radius:100%;width:10px;height:10px;position:absolute;bottom:0;left:50%;margin-left:-6px;margin-bottom:-10px;background:#fff}.give-tools-setting-page-import .step-4 h2{text-align:center;font-size:20px!important}.give-tools-setting-page-import .step-4 p{text-align:center}.give-tools-setting-page-import .button-secondary.step-4,.give-tools-setting-page-import .give-image-thumb{display:none}.give-tools-setting-page-import h2#give-import-title{background:#f3f3f3;font-size:15px;font-weight:600;margin:-8px -22px 11px;padding:12px 22px}.give-tools-setting-page-import table.step-2 h2#give-import-title{font-size:small;font-weight:inherit}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields-title{font-size:18px;font-weight:600;margin:0}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields{white-space:nowrap;overflow:hidden}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li{display:inline-block;margin:0 10% 0 0}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.give-import-donation-required-symbol{border-radius:1em;vertical-align:middle;padding:2px;background:#46b450;color:#fff}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.dashicons-no-alt{background:#bbb}.give-tools-setting-page-import .give-progress{margin-top:7px}.give-import-core-settings .give-progress-steps li{width:33.33%}.give-import-core-settings .step-3 h2{text-align:center;font-size:20px!important}.give-import-core-settings .step-3 p{text-align:center}form.give-import-form table.widefat{border:none}.wrap .give-importer-h1{margin:0;padding:20px 0}.give-tools-setting-page #give-export_donations-form table{padding-left:10px}.give-tools-setting-page #give-export_donations-form table tbody h2{padding:8px 0 0}.give-tools-setting-page #give-export_donations-form table tbody td.row-title{width:30%;vertical-align:top}.give-tools-setting-page #give-export_donations-form table tbody td ul.give-export-option-ul{margin-top:5px}.give-tools-setting-page #give-export_donations-form table tbody p.give-field-description{display:table;width:100%}.give-tools-setting-page #give-export_donations-form table tbody .add-notices{margin-top:15px}.give-tools-setting-page #give-export_donations-form table tbody .add-notices .give-progress{margin-top:7px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices{min-height:30px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices li{margin:4px 4px 4px 0}.give-tools-setting-page #give-export_donations-form .give-export-option{display:flex;flex-flow:row wrap;border-top:1px solid #e5e5e5;border-left:1px solid #e5e5e5}.give-tools-setting-page #give-export_donations-form .give-export-option ul{margin-bottom:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li{position:relative;margin-bottom:.7rem;padding:0 1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{display:block;padding-left:22px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{position:absolute;top:6px;left:15px}.give-tools-setting-page #give-export_donations-form .give-export-option ul .give-export-option-label{font-size:15px;font-weight:500;border-bottom:1px solid #e5e5e5;margin-bottom:1rem;padding:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option>li{border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;width:33%;margin-bottom:0}.give-tools-setting-page .give-export-donors .give-progress{margin-top:7px}#give-export-donations .give_forms_categories,#give-export-donations .give_forms_tags{min-width:250px;margin:0 0 10px;display:block}#give-export-donations .give_forms_categories input,#give-export-donations .give_forms_tags input{color:#999}#give-export-donations div.chosen-container ul.chosen-choices{border:1px solid #ddd}#give-export-donations div.chosen-container ul.chosen-choices input.chosen-search-input{border:1px solid #ddd;height:20px}#give-export-donations select{vertical-align:inherit;margin:0;height:26px;line-height:26px;border:1px solid #ddd}@media only screen and (max-width:1080px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}}@media only screen and (max-width:782px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{padding-left:32px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{top:0}}.give-admin-progress-bar{height:8px;position:relative;background:#eee;border-radius:25px;overflow:hidden;margin:5px 0 2px}.give-admin-progress-bar>span{display:block;height:100%;border-top-right-radius:8px;border-bottom-right-radius:8px;border-top-left-radius:20px;border-bottom-left-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}.give-admin-goal-achieved>.dashicons{color:#ffba00;font-size:13px;height:16px;width:13px;line-height:18px}#give-form-goal-stats .inside{margin:0;padding:15px;text-align:center}#give-form-goal-stats .give-admin-progress-bar{margin-bottom:10px}#give-form-goal-stats .give-admin-goal-achieved{display:block;margin-top:6px}.give-nav-tab-wrapper{background:#ddd;border:none!important;padding-top:0;overflow:hidden}.give-nav-tab-wrapper .nav-tab{border:none;margin:0;padding:15px 30px;outline:none;box-shadow:none;background:#ddd}.give-nav-tab-wrapper .nav-tab:hover{background:#ebebeb}.give-nav-tab-wrapper .nav-tab.nav-tab-active{background:#f1f1f1;box-shadow:inset 0 4px 0 #66bb6a;margin:0}@media screen and (max-width:600px){.give-nav-tab-wrapper{position:relative;padding-top:0!important}.give-nav-tab-wrapper>a{width:100%;box-sizing:border-box;margin:0;background-color:#fff;border:1px solid #ccc}.give-nav-tab-wrapper>a:hover{border-bottom:1px solid #ccc}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper{position:absolute;top:0;right:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav{height:28px;width:30px;border-radius:0;margin:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav>span.dashicons{margin:6px auto 0;display:block}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{top:35px;right:0;left:auto}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{background:#fff}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#e5e5e5}.give-mobile-hidden{display:none}}.give-sub-nav-tab-wrapper{position:relative;z-index:999;float:left;display:none}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{border:1px solid #f1f1f1;border-bottom:none;position:absolute;top:37px;right:0}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{float:left;background:#fff;padding:8px 10px;clear:both;text-decoration:none;border-bottom:1px solid #f1f1f1;min-width:170px;color:#555;font-size:14px;font-weight:600}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#ebebeb}#give-show-sub-nav{text-decoration:none;padding:3px 4px;border-bottom:1px solid #ccc;line-height:0;background:#fff;border-radius:4px;margin:15px 0 0 10px}#give-show-sub-nav>span.dashicons{font-size:16px;height:16px;width:16px}#give-show-sub-nav:active,#give-show-sub-nav:hover{outline:none;box-shadow:inset 0 0 4px #ddd}.give-upsell-notice{border:1px solid #e2e2e2;padding:10px;margin:10px;box-shadow:1px 1px 5px #e2e2e2;display:flex;align-items:center}.give-upsell-notice a{text-decoration:none}.give-upsell-notice .description,.give-upsell-notice .icon{font-style:normal}.give-upsell-notice .icon{color:#aaa;font-size:30px;line-height:22px;width:30px}.give-upsell-notice .description{padding:0 10px}.give-upsell-notice a.view-addon-link{background:none!important;margin-left:auto}.give_forms_page_give-subscriptions .wp-header-end+.notice,.post-type-give_forms .wp-header-end+.notice{margin-top:11px}.give_forms_page_give-subscriptions #give-subscription-details-h1,.give_forms_page_give-subscriptions #give-subscription-list-h1,.give_forms_page_give-subscriptions .wp-heading-inline,.post-type-give_forms #give-subscription-details-h1,.post-type-give_forms #give-subscription-list-h1,.post-type-give_forms .wp-heading-inline{margin:0;padding:10px 0}.give_forms_page_give-subscriptions #give-subscription-details-h1:before,.give_forms_page_give-subscriptions #give-subscription-list-h1:before,.give_forms_page_give-subscriptions .wp-heading-inline:before,.post-type-give_forms #give-subscription-details-h1:before,.post-type-give_forms #give-subscription-list-h1:before,.post-type-give_forms .wp-heading-inline:before{background:url(../images/give-icon-full-circle.svg);width:30px;height:30px;content:" ";display:block;float:left;margin-right:12px}.give_forms_page_give-subscriptions #wpcontent,.post-type-give_forms #wpcontent{padding:0}.give_forms_page_give-subscriptions #wpbody,.post-type-give_forms #wpbody{color:#000;padding-left:20px;position:relative}.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{content:"";background-color:#fff;border-bottom:1px solid #dbdbdb;height:72px;left:0;top:46px;position:absolute;width:100%;z-index:-1}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{top:0}}.give_forms_page_give-subscriptions #wpbody .wrap:not(.give-settings-page),.post-type-give_forms #wpbody .wrap:not(.give-settings-page){margin-top:12px}.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:6px}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:15px}}@media (min-width:601px){.give_forms_page_give-subscriptions.give_forms_page_give-donors #wpbody .wp-header-end,.give_forms_page_give-subscriptions.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-donors #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-subscriptions #wpbody .wp-header-end{margin-top:25px}}.give_forms_page_give-subscriptions #wpbody #screen-meta-links,.post-type-give_forms #wpbody #screen-meta-links{display:none}@media (min-width:783px){.give_forms_page_give-subscriptions #screen-meta,.post-type-give_forms #screen-meta{background-color:#fff;border:0;margin:0}.give_forms_page_give-subscriptions #screen-meta-links,.post-type-give_forms #screen-meta-links{position:absolute;top:0;right:0;z-index:1}}.give-subheader{background:#fff;margin:0 0 0 -22px;padding:12px 20px}.give-subheader .give-subheader-right-text{float:right;font-size:13px;line-height:22px;font-style:italic;color:#555;margin:0;padding:0}.give-subheader h1{float:left;font-size:15px;line-height:22px;color:#555;font-weight:600;margin:0;padding:0}@media (max-width:700px){.give-subheader{text-align:center}.give-subheader .give-subheader-right-text,.give-subheader h1{float:none}}
assets/dist/css/admin.rtl.css CHANGED
@@ -26,4 +26,4 @@ This file is generated by `grunt build`, do not edit it by hand.
26
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
27
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
28
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
29
- */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-grid-row{position:relative;width:100%}.give-grid-row [class^=give-grid-col]{float:right;margin:.5rem 1%;min-height:.125rem}.give-grid-row:after{content:"";display:table;clear:both}.give-grid-col-1{width:6.33333%}.give-grid-col-2{width:14.66667%}.give-grid-col-3{width:23%}.give-grid-col-4{width:31.33333%}.give-grid-col-5{width:39.66667%}.give-grid-col-6{width:48%}.give-grid-col-7{width:56.33333%}.give-grid-col-8{width:64.66667%}.give-grid-col-9{width:73%}.give-grid-col-10{width:81.33333%}.give-grid-col-11{width:89.66667%}.give-grid-col-12{width:98%}@media only screen and (max-width:33.75em){.give-grid-row [class^=give-grid-col]{width:98%}}.give_options_panel input[type=email],.give_options_panel input[type=text]{padding:3px 5px;width:100%;line-height:2;box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c}input.give-text-small,input.give-text_small{width:100px!important}input.give-text-medium,input.give-text_medium{width:200px!important}.give-hidden,.post-type-give_forms .tablenav #post-query-submit{display:none}.give_options_panel .inner-panel{padding:9px 15px}.give_options_panel .give-time-field{width:65px}.give_options_panel .give-money-field{width:75px;margin-left:0;margin-right:0;vertical-align:baseline}.give_options_panel .give-money-symbol{border:1px solid #7e8993;background:#fcfcfc;margin:0;font-size:14px;padding:8px 10px 9px}.give_options_panel .give-money-symbol-before{border-left:0;margin-left:-5px;border-radius:0 4px 4px 0}.give_options_panel .give-money-symbol-before+.give-money-field{border-top-right-radius:0;border-bottom-right-radius:0}.give_options_panel .give-money-symbol-after{margin-right:-5px;border-radius:4px 0 0 4px}.give_options_panel .give-money-symbol-after+.give-money-field{border-top-left-radius:0;border-bottom-left-radius:0}.give-underline{text-decoration:underline}#give-bulk-donors div[id^=give-donor-]{display:block;overflow:hidden}.shortcode-wrap{margin:1px 11px 12px 14px}.shortcode-wrap label{margin:0 0 3px;display:block;cursor:default}.shortcode-wrap .shortcode-input{margin:0;width:100%}input.shortcode-input{width:100%}.price .give_price_range_high,.price .give_price_range_low,.price .give_price_range_sep{display:inline-block}.js-give-shortcode-button{font-weight:500;cursor:help}.js-give-shortcode-button:after{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);text-shadow:none}.js-give-shortcode-button .dashicons{font-size:16px;width:16px;vertical-align:middle;color:inherit;margin-left:2px}@media only screen and (min-width:782px) and (max-width:1260px){.js-give-shortcode-button .give-button-text{display:none}}.give-tooltip{margin:0 3px;padding:0;font-size:14px;color:rgba(51,51,51,.5);position:relative;top:1px}.give-tooltip:hover{color:#333}#give-metabox-form-data .inside{margin:0;padding:0}#give-metabox-form-data .give-upload-button{height:36px}#give-metabox-form-data .give-colorpicker{margin-left:6px!important}#give-metabox-form-data .give-metabox-panel-wrap{background:#fff;overflow:hidden}#give-metabox-form-data .give_options_panel{display:none;padding-right:170px}#give-metabox-form-data .give_options_panel.active,.no-js #give-metabox-form-data .give_options_panel{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:1em 162px 1em 20px;margin:0;border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-field-wrap>label,#give-metabox-form-data .give_options_panel .give-field-wrap>span.give-field-label{float:right;width:135px;padding:0;margin:2px -150px 0 0;line-height:18px;font-size:12px;font-weight:400}#give-metabox-form-data .give_options_panel .give-field-wrap .give-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-top:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-field-wrap ul{margin:0}#give-metabox-form-data .give_options_panel .give-field-wrap .mce-container iframe{min-height:250px!important}#give-metabox-form-data .give_options_panel .give-field-wrap .wp-editor-wrap{display:inline-block;width:100%}#give-metabox-form-data .give_options_panel textarea.give-field{width:100%}#give-metabox-form-data .give_options_panel .give-field-wrap:hover .give-field-row-actions{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap:last-child{border-bottom:0}#give-metabox-form-data .give_options_panel .give-inline-radio-fields li{display:inline-block;margin-left:15px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section{padding:10px;background:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeatable-fields-section-wrapper{width:100%;background-color:#fff;border-collapse:collapse}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row{border-bottom:15px solid #f5f5f5;background-color:#fff}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-template{display:none}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row:last-child{border-bottom:10px solid #f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-column{padding:0}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head{border-bottom:1px solid #eee;cursor:move}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head h2{text-align:right!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove{float:left;width:22px;height:36px;padding:0;display:block;text-align:center;line-height:34px;font-size:21px;font-weight:300;cursor:pointer}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove:hover{background-color:red;color:#fff;width:22px;height:22px;border-radius:30px;margin-top:8px;line-height:19px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row .give-move .toggle-indicator:before{margin-right:7px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row-wrap{background-color:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row{margin:5px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-field-wrap:last-child{border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-ui-placeholder-state-highlight{background-color:#68bb6c}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-name{border:0!important;padding:0!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-bottom:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .ui-sortable-helper{display:table!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row.ui-sortable-helper{border-bottom:0}#give-metabox-form-data .give_options_panel .give-row.closed .toggle-indicator:before{content:"\f140"}#give-metabox-form-data .give-minmax-wrap{display:block;margin-bottom:.5rem}#give-metabox-form-data .give-minmax-wrap label{display:inline-block;width:120px;font-size:12px}#give-metabox-form-data .give-minmax-wrap input{margin-right:1px;position:relative;z-index:1;border-radius:4px 0 0 4px}#give-metabox-form-data #form_template_options .templates-list{display:grid;grid-gap:36px;grid-template-columns:1fr 1fr;padding:8px 0 24px}#give-metabox-form-data #form_template_options .templates-list .template-image-container{width:100%;height:auto;position:relative;padding-top:70%}#give-metabox-form-data #form_template_options .templates-list .template-image-container .template-image{height:100%;width:100%;object-fit:cover;position:absolute;top:0;right:0;background-color:#fff}#give-metabox-form-data #form_template_options .templates-list .action{display:flex;align-items:center;background-color:#fafafa;border-top:1px solid #eee;padding:10px}#give-metabox-form-data #form_template_options .templates-list .action .template-name{font-weight:500;flex-grow:1;line-height:1.4;padding-right:6px}#give-metabox-form-data #form_template_options .templates-list .action .badge{display:none;padding:2px 9px;line-height:1.4;background-color:#7ad03a;color:#fff;font-style:normal;border-radius:5px;margin-right:10px;text-shadow:0 1px 1px rgba(0,0,0,.25)}#give-metabox-form-data #form_template_options .form-template-introduction{padding-bottom:16px}#give-metabox-form-data #form_template_options .form-template-introduction p{font-weight:300;font-size:18px;margin:0 0 14px;padding:0}#give-metabox-form-data #form_template_options .form-template-introduction p.form-template-description{color:#9c9c9c;font-size:16px;padding-bottom:26px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice{padding:14px;display:flex;justify-content:space-between;align-items:center;margin-top:24px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice p{flex:1;margin:0 14px;font-size:16px;color:#555}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice .dashicons{font-size:17px;margin-top:4px}#give-metabox-form-data #form_template_options .template-options{display:none}#give-metabox-form-data #form_template_options .template-options>.give-row{margin-bottom:20px;border:1px solid #ccd0d4}#give-metabox-form-data #form_template_options .template-options>.give-row>.give-row-head{background-color:#f1f1f1}#give-metabox-form-data #form_template_options .inner-panel{display:flex;flex-direction:column;padding-right:34px;padding-left:34px}#give-metabox-form-data #form_template_options .inner-panel .templates-list-heading{font-size:14px;font-weight:400;margin:10px 0 15px}#give-metabox-form-data #form_template_options .inner-panel .form-template-options-introduction{display:none;padding-bottom:25px}#give-metabox-form-data #form_template_options .inner-panel .template-info{background:#fafafa;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.07);line-height:0}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template{padding-right:20px;padding-left:20px}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list{grid-template-columns:1fr!important}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-image-container,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info:not(.active){display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info.active .badge{display:inline-block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list-heading{display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-options-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .template-options.active{display:block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .give-file{width:calc(100% - 150px)!important}#_give_donation_levels_field .give-row:nth-of-type(2) .give-remove{display:none!important}#give-metabox-form-data .give-metabox-tabs{margin:0;max-width:170px;float:right;line-height:1;padding:0 0 10px;position:relative;background-color:#fafafa;border-left:1px solid #eee;box-sizing:border-box}#give-metabox-form-data .give-metabox-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;right:0;background-color:#fafafa;border-left:1px solid #eee}#give-metabox-form-data .give-metabox-tabs li{margin:0;padding:0;display:block;position:relative}#give-metabox-form-data .give-metabox-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee;overflow:hidden}#give-metabox-form-data .give-metabox-tabs li a span.give-label{width:122px;padding-right:2px;display:inline-block}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs{z-index:999}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li{background-color:#f1f1f1}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li a{border-bottom-color:#e5e5e5;display:flex;align-items:center;justify-content:space-between}#give-metabox-form-data .give-metabox-tabs li.active>a{color:#555;position:relative;background-color:#eee}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields.active>a{background-color:#ddd}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields:not(.active):hover ul.give-metabox-sub-tabs{display:block;position:absolute;bottom:0;right:166px;width:170px;max-height:250px}@media (max-width:550px),only screen and (min-width:851px) and (max-width:1025px){#give-metabox-form-data ul.give-metabox-tabs{min-width:40px}#give-metabox-form-data ul.give-metabox-tabs li>a{text-align:center}#give-metabox-form-data ul.give-metabox-tabs li>a:before{margin-left:0;font-size:15px}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-label{display:none}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-icon:before{margin:0}#give-metabox-form-data .give_options_panel{padding-right:40px}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:10px}#give-metabox-form-data .give_options_panel .give-field-wrap label,#give-metabox-form-data .give_options_panel .give-field-wrap span.give-field-label{display:block;float:none;margin:0 0 10px;font-size:14px;width:100%}}.chosen-container-single a.chosen-single{background:#fff!important}.give-docs-link{text-align:left;margin-left:15px}.give-docs-link a{color:#999;text-decoration:none;font-style:italic}.give-docs-link a:hover{color:#0073aa}.give-docs-link a span{font-style:normal}.post-type-give_forms #posts-filter .search-box{display:none}.post-type-give_forms #posts-filter .tablenav.top{position:relative;margin:42px 0 0;height:auto}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter{margin:0 0 10px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-goal-filter{width:255px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter a{display:inline-block;margin:0}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-search-input{margin-left:6px}.post-type-give_forms #posts-filter .tablenav.top .actions{position:absolute;right:230px;bottom:10px}.post-type-give_forms #posts-filter .tablenav.top .actions.bulkactions{right:0}@-moz-document url-prefix(){.give_options_panel .give-money-symbol{padding:8.5px 10px}}#give-dashboard-widgets-wrap .inside{padding-top:0;padding-bottom:0}.give_forms_page_give-reports #give-dashboard-widgets-wrap .inside{padding-right:0}#give-dashboard-widgets-wrap .inside #give-graphs-filter{float:none}#give-dashboard-widgets-wrap .postbox{margin-bottom:10px}#give-dashboard-widgets-wrap table.reports-table{clear:none}#give-dashboard-widgets-wrap #give-date-range-options{float:right}#give-dashboard-widgets-wrap #give-date-range-options>span{float:right;line-height:30px;font-style:italic;padding:0 0 0 5px}#give-graphs-filter{float:left}#give-graphs-filter .tablenav{margin:0 17px 0 0}#give-graphs-filter .tablenav .actions{padding:0}.give-graph .y1Axis{color:#66bb6a!important}.give-graph .y2Axis{color:#546e7a!important}body.give_forms_page_give-payment-history h1.nav-tab-wrapper,body.give_forms_page_give-payment-history h2.nav-tab-wrapper,body.give_forms_page_give-reports h1.nav-tab-wrapper,body.give_forms_page_give-reports h2.nav-tab-wrapper{margin-bottom:10px}body.give_forms_page_give-payment-history .actions,body.give_forms_page_give-reports .actions{padding-top:0}body.give_forms_page_give-payment-history .pagination-links,body.give_forms_page_give-reports .pagination-links{margin-right:10px}body.give_forms_page_give-payment-history p.donor-search,body.give_forms_page_give-reports p.donor-search{margin-left:10px}body.give_forms_page_give-payment-history .tablenav-right .tablenav-pages,body.give_forms_page_give-reports .tablenav-right .tablenav-pages{float:left}body.give_forms_page_give-payment-history .tablenav-right #give-reports-view,body.give_forms_page_give-reports .tablenav-right #give-reports-view{margin-top:0}body.give_forms_page_give-payment-history .tablenav-right .actions,body.give_forms_page_give-payment-history p.search-box,body.give_forms_page_give-reports .tablenav-right .actions,body.give_forms_page_give-reports p.search-box{float:right}body.give_forms_page_give-payment-history .reports-table-nav.tablenav.top,body.give_forms_page_give-reports .reports-table-nav.tablenav.top{width:100%;float:none;margin:0 0 10px}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top,body.give_forms_page_give-reports .reports-forms-details-wrap.top{float:left;overflow:hidden}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top #give-reports-filter,body.give_forms_page_give-reports .reports-forms-details-wrap.top #give-reports-filter{float:right}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top>.actions,body.give_forms_page_give-reports .reports-forms-details-wrap.top>.actions{padding-left:0}body.give_forms_page_give-payment-history .tablenav.bottom,body.give_forms_page_give-reports .tablenav.bottom{margin-top:10px}body.give_forms_page_give-payment-history h2.reports-earnings-title,body.give_forms_page_give-reports h2.reports-earnings-title{margin:7px 0 0}body.give_forms_page_give-payment-history .reports-views-wrap,body.give_forms_page_give-reports .reports-views-wrap{padding:3px 0 0}body.give_forms_page_give-payment-history .wrap.give-reports-donors-wrap,body.give_forms_page_give-reports .wrap.give-reports-donors-wrap{margin-left:0;margin-bottom:10px}body.give_forms_page_give-payment-history .widefat tbody td,body.give_forms_page_give-payment-history .widefat tbody th,body.give_forms_page_give-reports .widefat tbody td,body.give_forms_page_give-reports .widefat tbody th{padding-top:12px;padding-bottom:12px}body.give_forms_page_give-reports table.export-options-table tbody td{padding:20px 12px;vertical-align:top}body.give_forms_page_give-reports table.export-options-table .give-export-form{position:relative}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap{background-color:transparent;padding:12px 12px 4px;margin:2px -11px -16px 0;overflow:auto}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap .spinner{margin:-2px 0 8px -12px}body.give_forms_page_give-reports table.export-options-table span#give-end-wrap input,body.give_forms_page_give-reports table.export-options-table span#give-start-wrap input{width:100px}#export-donor-options-wrap p{padding:20px 0 0;margin:0;font-weight:700}#export-donor-options-wrap ul{max-width:900px;overflow:hidden}#export-donor-options-wrap ul li{margin:0;padding:0 0 5px 5px;box-sizing:border-box;float:right;width:33%}.settings-excludes-list{max-height:120px;overflow:auto;padding:.5rem;border:1px solid #ddd}.settings-excludes-list li{margin:3px 0}#give-tools-recount-form .notice-wrap{position:relative;min-height:25px;margin:10px -12px -12px;background:#efefef;padding:10px 12px 12px;border-top:1px solid #e5e5e5}#give-tools-recount-form .notice-wrap .give-progress{position:absolute;top:15px}#give-tools-recount-form .notice-wrap .spinner{position:absolute;left:14px;top:13px;margin:0}#give-tools-recount-form .notice-wrap #give-batch-success{margin-bottom:6px}.recount-stats-controls form{display:inline}.give-recount-stats-descriptions{margin:8px 0 0;display:block}.give-recount-stats-descriptions span{line-height:24px;font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0;display:none}.gateways-report-tablenav .actions.bulkactions{padding-left:0}table.give-table td{vertical-align:middle}table.give-table td.row-title h3{margin:0 0 .4em;font-size:1.2em}table.give-table td.row-title p{font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0}#give-graphs-filter>.tablenav{height:auto}#give-logs-filter .search-box{float:left}#give-logs-filter .tablenav.top{float:right;clear:none;margin-top:0}.give-welcome-wrap{margin:0 -20px 0 0;padding:0}.give-welcome-header{background:#fff;height:100%;min-width:1000px}.give-welcome-header .give-welcome-header-inner{max-width:900px;margin:0;padding:25px 30px 20px 250px;position:relative}.give-welcome-header .give-welcome-h1{margin:0 0 0 200px;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:600;display:inline-block;margin-left:15px!important}.give-welcome-header .give-welcome-h1:before{background:url(../images/give-icon-full-circle.svg);width:36px;height:36px;content:" ";display:block;float:right;margin:0 0 0 10px;position:relative;top:4px}.give-welcome-header .give-welcome-text{font-size:20px;margin:20px 0 30px;padding:0}.give-badge{background:url(../images/give-badge.png) no-repeat 100% 0 transparent;padding-top:150px;height:52px;width:185px;color:#fff;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.8);margin:0;position:absolute;top:30px;left:20px}.give-welcome-content-wrap{padding:0;margin:0}.give-welcome-content-wrap.give-changelog-wrap{width:1140px}.give-welcome-content-intro{font-size:22px;font-style:italic;color:#8e8e8e;margin:50px 30px 60px;max-width:1400px;min-width:1000px}.give-ipad-showcase-wrap{border:3px solid #9199a5;border-radius:10px;position:relative;box-shadow:0 .75rem 2rem rgba(0,0,0,.4)}.give-ipad-showcase-wrap .give-ipad-showcase-inner{background:#fafbfb;border:10px solid #1e2026;border-radius:7px;display:grid}.give-ipad-showcase-wrap img{height:auto;max-width:100%}.give-feature-section{margin:0;padding:120px 30px}.give-feature-section__inner{display:flex;flex-direction:row;margin:0;align-items:center;justify-content:center;max-width:1400px;min-width:1000px}.give-feature-section:first-of-type{padding-top:0}.give-feature-section__step2{background:#fff}.give-feature-section span.dashicons{width:16px;height:16px;font-size:14px;margin:6px 0 0}.give-feature-section .give-feature-section-item{display:flex;width:50%}.give-feature-section .give-feature-section-item__container{padding:0 0 0 60px;margin:0}.give-feature-section .give-feature-section-item__container-right{padding-right:60px;padding-left:20px}.give-feature-section .give-feature-section-item h3{font-size:24px;font-weight:500;margin:0 0 20px}.give-feature-section .give-feature-section-item h3>.give-feature-section-item-number{background:#fff;width:40px;height:40px;margin:0 0 0 10px;padding:0;line-height:40px;text-align:center;color:#777;box-shadow:0 1px 3px 0 rgba(0,0,0,.2);border-radius:50%;display:inline-block;font-size:22px}.give-feature-section .give-feature-section-item p{font-size:16px}.give-feature-section .give-feature-section-item .give-welcome-gateway-notice{font-size:12px!important;line-height:16px}.give-feature-section .give-feature-btns{margin:30px 0 20px}.give-feature-section .give-feature-btns li{display:inline;margin:0 0 0 25px}.give-feature-section .give-feature-btns .give-feature-btn-link{font-size:15px;line-height:30px}.social-items-wrap,.social-items-wrap>div{display:inline-block}.social-items-wrap .twitter-item-wrap{margin:0 0 10px 20px}.give-welcome-widgets{background:#fff;text-align:center;padding:100px 0 160px}.give-welcome-widgets p{font-size:16px}.give-welcome-widgets__inner{max-width:1400px}.give-welcome-widgets__heading{max-width:500px;margin:0 auto 100px}.give-welcome-widgets__heading h2{font-size:26px;font-weight:500}.give-welcome-widgets__heading .button{margin-top:10px;font-size:15px}.give-welcome-widgets__col{float:right;width:33.33%;box-sizing:border-box;padding:0 20px}.give-welcome-widgets__col h3{font-size:22px;font-weight:500}.give-welcome-widgets__col h3:before{background:url(../images/happy-face.svg) no-repeat top transparent;opacity:.3;content:" ";width:100%;height:85px;display:inline-block;font-size:80px;-moz-transition:.2s all linear;-o-transition:.2s all linear;transition:all .2s linear}.give-welcome-widgets__col p{font-size:13px}.give-welcome-widgets__col:hover h3:before{opacity:.45}.give-welcome-widgets__addons h3:before{background:url(../images/shopping-cart.svg) no-repeat top transparent}.give-welcome-widgets__documentation h3:before{background:url(../images/docs-book.svg) no-repeat top transparent}.give-welcome-widgets__col-inner{max-width:300px;margin:0 auto}.give-welcome-widgets__link{font-weight:700;font-size:15px}.give-contributor-group{list-style:none}.give-contributor-group img{border-radius:50%}.give-contributor-group .give-contributor{margin:0 0 45px 10px;display:inline-block;width:140px;text-align:center}.give-contributor-group .give-contributor a{outline:none;box-shadow:none}.give-contributor-group .give-contributor span{display:block;margin:3px 0 0;font-weight:700}.give-newsletter-form-wrap{margin:10px 0 15px;padding:10px 15px 15px;background:#f1f1f1;border:1px solid #ddd;max-width:900px}.give-newsletter-form-wrap .give-newsletter-intro{font-size:14px;font-style:italic;color:#777;margin:0 0 15px}.give-newsletter-form-wrap ._form-content{display:flex;justify-content:space-between}.give-newsletter-form-wrap ._form-content>div{width:32%}.give-newsletter-form-wrap .button,.give-newsletter-form-wrap input[type=email],.give-newsletter-form-wrap input[type=text]{width:100%;height:36px}.give-newsletter-form-wrap div._form-thank-you{background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 5px 4px 10px;padding:12px;border-right:4px solid #7ad03a;display:none}.give-newsletter-form-wrap div._form-thank-you>p{margin:.5em 0;padding:2px}.give-changelog-wrap .give-changelog{max-height:510px;margin:0 30px 100px 0;padding:20px;overflow-y:scroll;overflow-x:hidden;font-size:18px;line-height:28px;background:#fff;border:1px solid #ddd}.give-changelog-wrap .give-changelog br:first-child,.give-changelog-wrap .give-changelog br:first-child+br{display:none}.give-changelog-wrap .give-changelog h4{margin:0 0 10px;border-bottom:1px solid #e2e2e2;padding:0 0 6px;font-size:20px}.give-changelog-wrap .give-changelog h4+br{display:none}.dashboard_page_give-changelog #wpbody-content,.dashboard_page_give-getting-started #wpbody-content{padding-bottom:0}#give-paypal-connect{background:#039cde;color:#fff;font-size:14px;line-height:30px;font-weight:700;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;box-shadow:none;text-decoration:none;padding:8px 20px;border-radius:40px}#give-paypal-connect span:before{content:" ";width:16px;height:16px;display:inline-block;margin:0 0 0 8px;background-image:url(../images/paypal-48.png);background-size:16px;position:relative;top:2px}#give_donor_export_form{margin:0 0 5px}#give_donor_export #give_donor_export_form_chosen{display:block;margin:5px 0 1px}.column-status .give-donation-status,.column-status .give-test-mode-transactions-label{display:inline-block}.column-status .give-test-mode-transactions-label{margin:0 5px;vertical-align:middle}.give-settings-page .give-settings-section-content{display:flex;background-color:#f4f4f4;border-radius:8px;-webkit-box-shadow:0 0 5px 0 #ddd;-moz-box-shadow:0 0 5px 0 #ddd;box-shadow:0 0 5px 0 #ddd}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:250px}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul,.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li{margin:0}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a{display:block;padding:20px;text-decoration:none;color:#333;font-weight:600;outline:none;box-shadow:none}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a:hover{background-color:#ebebeb}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a.active{background-color:#fff;border-right:4px solid #66bb6a;color:#333}.give-settings-page .give-settings-section-content .give-settings-section-group-content{width:100%;background:#fff;padding:10px 30px;border-bottom-left-radius:8px;border-top-left-radius:8px;min-height:400px}@media only screen and (max-width:480px){.give-settings-page .give-settings-section-content{flex-flow:row wrap}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:100%}.give-settings-page .give-settings-section-content .give-settings-section-group-content{padding:10px}}.give-settings-page{margin:0 2px 0 20px}.give-settings-page #poststuff{padding-top:25px}.give-settings-page .give-settings-header{background:#fff;padding:10px 20px;margin:0 -22px 0 -20px}.give-settings-page .give-settings-heading-sep{font-size:14px;line-height:32px;width:15px}.give-settings-page .nav-tab-wrapper{height:54px;margin:0 -22px 0 -20px}.give-settings-page .give-subsubsub{list-style:none;margin:12px 0 3px;padding:0;float:right}.give-settings-page .give-subsubsub li{display:inline-block;margin:0 3px 0 0;padding:0;white-space:nowrap;color:#d3d3d3;font-weight:300;font-size:16px}.give-settings-page .give-subsubsub a{line-height:2;padding:.2em;margin:0 0 0 3px;text-decoration:none;font-size:14px;box-shadow:none;font-weight:400}.give-settings-page .give-subsubsub a.current{color:#000;font-weight:600;border:none}.give-settings-page .give-setting-tab-body{max-width:1260px}.give-settings-page div.give-submit-wrap{margin:20px 0}.give-settings-page .give_forms_page_give-payment-history .postbox .hndle{cursor:default}.give-settings-page .give-input-field{width:25em}.give-settings-page table table input[type=text]{width:15em}.give-settings-page .give-repeat-setting-field{margin:10px 0}.give-settings-page .give-remove-setting-field{width:25px;height:25px;padding:0;text-align:center;line-height:22px;font-size:21px;font-weight:300;cursor:pointer;margin-right:20px;display:inline-block}.give-settings-page .give-remove-setting-field:hover{background-color:red;color:#fff;border-radius:30px}.give-settings-page .give-forminp p:first-child .give-remove-setting-field{display:none}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd){background:#f4f3f3}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd) th{vertical-align:middle}.give-settings-page .export-options-table .give-import-dropdown:nth-child(2),.give-settings-page .export-options-table tr.give-import-option th:first-child{width:250px}.give-setting-tab-header{clear:both;overflow:hidden;margin:30px 0}.give-setting-tab-header h2{margin-top:8px}.give-setting-tab-header p{margin-top:0;margin-bottom:0}.give-radio-inline ul{margin-top:0}.give-radio-inline li{display:inline-block;margin:0 15px 0 0}.give-radio-inline li:first-child{margin-right:0}.give-tools-setting-page .bulkactions{overflow:visible}.form-table td.give-radio-inline fieldset li>label{margin:5px 0 0!important}div.give-field-description,p.give-field-description{color:#666;font-style:italic;font-size:14px!important;line-height:22px}div.give-field-description strong,p.give-field-description strong{color:#777}.give-setting-tab-header h2{float:right;display:inline-block;width:220px;font-style:italic;color:#aaa;margin:0;font-size:14px}.gateway-enabled-wrap{background-color:#f7f7f7;border:1px solid #e5e5e5}.gateway-enabled-wrap .gateway-enabled-settings-title{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;grid-gap:20px;border-bottom:1px solid #e5e5e5;padding:1rem;font-weight:600}.gateway-enabled-wrap .ui-sortable-placeholder{visibility:visible!important;border:2px dashed #e5e5e5;transition:all .2s ease}.gateway-enabled-wrap .ui-sortable-helper{background-color:#fafafa;box-shadow:0 4px 20px -5px rgba(0,0,0,.25);border:1px solid #e5e5e5;padding:.5rem!important}.give-payment-gatways-list{margin:0;padding:1rem}.give-payment-gatways-list li{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;align-items:center;grid-gap:20px;margin:0;padding:.5rem 0}.give-payment-gatways-list li:first-child{padding-top:0}.give-payment-gatways-list li:last-child{padding-bottom:0}.give-payment-gatways-list li .checkout-label{padding:3px 5px}.give-payment-gatways-list li .gateways-checkbox,.give-payment-gatways-list li .gateways-radio{justify-self:center}.give-payment-gatways-list li span.give-drag-handle{padding:3px 0 0 4px;font-size:15px;font-weight:400;color:#bdbdbd;cursor:move}.give-payment-gatways-list li span.give-drag-handle:hover{color:#333}.give-gateways-notice{display:table;width:100%;max-width:1240px;background:#fff;margin:15px 0 0;padding:0;border:1px solid #e3e3e3}.give-gateways-notice .give-gateways-cc-icon{margin:0;padding:0 25px 0 15px;height:30px;width:30px;display:table-cell;vertical-align:middle}.give-gateways-notice .give-gateways-cc-icon svg{position:relative;top:2px;width:50px;height:40px}.give-gateways-notice .give-gateways-notice-title{font-size:16px;margin:20px 20px 0;padding:0}.give-gateways-notice .give-gateways-notice-message{line-height:24px;font-size:14px;margin:5px 20px 20px}.give-gateways-notice .give-gateways-notice-button{display:table-cell;vertical-align:middle;text-align:left;margin:0;padding:0 0 0 15px;width:200px}.give-gateways-notice .give-gateways-notice-button #give-stripe-connect{margin:0 0 10px}.give-gateways-notice .give-gateways-notice-button .give-view-gateways-btn{text-align:center;width:190px}.give-email-tags-wrap{margin:5px 0 0}.give-email-tags-wrap code{font-style:normal;padding:1px 2px;font-size:12px}.give-email-tags-wrap span{display:block;color:#aaa;font-style:italic;margin:0 0 2px;font-size:13px}.give-email-tags-wrap .give_price_tag,.give-email-tags-wrap .give_receipt_id_tag{display:none}.give-setting-tab-header-emails{margin:20px 0}.give-setting-tab-header-emails hr,.give-settings-admin-email-section .tablenav,.give-settings-donor-email-section .tablenav,.give-settings-email-settings-section .tablenav{display:none}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails{margin:20px 0}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails hr{display:block}.giveemailnotifications .check-column{padding:13px 20px 0 10px!important}.giveemailnotifications td.check-column input{display:none}.giveemailnotifications th.check-column .give-email-notification-status{color:#fff;cursor:pointer}.giveemailnotifications th.check-column .give-email-notification-status[data-edit="1"] i.dashicons{border-radius:1em;padding:2px}.giveemailnotifications th.check-column .give-email-notification-disabled:hover .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-yes{background:#46b450}.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-lock{color:#46b450}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled:hover .dashicons-yes{background:#bbb}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-lock{color:#bbb}.giveemailnotifications th.check-column .dashicons-no-alt:hover:before{content:"\f147"!important}.giveemailnotifications th.check-column .dashicons-yes:hover:before{content:"\f335"!important}.giveemailnotifications .spinner.is-active{margin:0 2px 0 0;float:none}#system-info-textarea{width:800px;height:600px;font-family:Menlo,Monaco,monospace;background:#fff;white-space:pre;overflow:auto;display:block;direction:rtl}#give-download-sysinfo{margin:0}#api .tablenav .actions{overflow:visible}a.give-delete{color:#a00}.give-table thead th{padding:8px 10px!important}.post-type-give_forms .mce-container iframe,.post-type-give_forms .wp-editor-area{min-height:400px}.give-field-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}.give-image-thumb{position:relative;margin-top:14px}.give-image-thumb span.give-delete-image-thumb{position:absolute;background:red;color:#fff;border-radius:30px;right:-10px;top:-10px;cursor:pointer}.give-image-thumb img{max-width:250px;border:4px solid #fff}.give_email_access_link_tag{display:none}.give-license-settings-wrap{max-width:1240px;min-width:1000px;margin:20px -10px 0 0;padding:0}.give-license-top-widget{border:1px solid #dbdbdb;min-height:250px}.give-license-top-widget .give-license-widget-heading{font-size:20px;margin:0 0 15px;padding:0 0 15px;border-bottom:1px solid #dbdbdb;line-height:1.2em}.give-license-top-widget .give-license-widget-heading .dashicons{height:25px;width:25px;font-size:28px;margin:-5px 0 0 10px}.give-license-top-widget .give-field-description{margin:0 0 20px;padding:0}#give-license-activator-wrap{background:#fff;margin:0;padding:30px}#give-license-activator-wrap .give-license-activation-form{background:#f4f4f4;padding:10px;position:relative}#give-license-activator-wrap .give-license-notices{position:absolute;background:#f4f4f4;top:0;right:0;height:100%;width:100%;padding:20px;z-index:3;box-sizing:border-box;display:none}#give-license-activator-wrap .give-license-notices .notice{position:relative;padding-left:40px}#give-license-activator-wrap #give-license-activator{font-size:22px;height:55px;padding:0 15px;margin:0 0 10px;width:100%}#give-license-activator-wrap .button{height:45px;width:100%;font-size:18px;display:block;clear:both;margin:0}#give-addon-uploader-wrap{background:#fff;padding:30px 25px 25px;margin:0}.give-upload-addon-form-wrap{position:relative}.give-upload-addon-form-wrap .give-upload-addon-instructions{margin:0;padding:0;opacity:.4;font-size:16px}.give-upload-addon-form-wrap .give-upload-addon-instructions span{display:block;margin:8px 0;font-size:14px}.give-upload-addon-form-wrap #give-upload-addon-file-select{display:none}.give-upload-addon-form-wrap .give-spinner-wrap{position:absolute;right:0;top:0;left:0;bottom:0;z-index:99;background-color:#fff}.give-upload-addon-form-wrap .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-right:42%}.give-upload-addon-form{background:#f4f4f4;padding:25px;text-align:center;outline:2px dashed #e2e2e2;outline-offset:-10px;transition:outline-offset .15s ease-in-out,background-color .15s linear;position:relative}.give-upload-addon-form.give-dropzone-active{outline-offset:-13px;outline:2px dashed #c6c6c6;background:#eaeaea}.give-upload-addon-form .give-addon-upload-notices{position:absolute;background:hsla(0,0%,100%,.66);top:0;right:0;height:100%;width:100%;padding:20px;z-index:3;text-align:right;box-sizing:border-box;display:none}.give-upload-addon-form .give-activate-addon-wrap{display:none;border:1px solid #dbdbdb;background:#fff;position:absolute;padding-top:20px;top:0;right:0;height:100%;width:100%;z-index:4;box-sizing:border-box}.give-upload-addon-form .give-activate-addon-wrap .dashicons{color:#66bb6a}#give-licenses-container{position:relative}#give-licenses-container .give-spinner-wrap{position:absolute;right:0;top:0;left:0;bottom:0;z-index:99;background-color:#fff}#give-licenses-container .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-right:45%}.give-licenses-list-header{margin:20px 0 30px;padding:0}.give-licenses-list-header h2{float:right;margin:0 0 20px;padding:0;font-size:18px}.give-licenses-list-header #give-refresh-button-wrap{float:right;margin:-6px 25px 0 0}.give-licenses-list-header #give-refresh-button-wrap #give-last-refresh-notice{margin:0 10px 0 0;line-height:28px;color:#666}.give-licenses-list-header hr{clear:both}.give-addon-wrap{border:1px solid #dbdbdb;background:#fff;padding:0;margin:0 0 20px;position:relative}.give-addon-wrap .give-license-top{background:#f4f4f4;border-bottom:1px solid #dbdbdb;display:flex;color:#333}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown{background:#f4f4f4;border-bottom:1px solid #dbdbdb;padding:30px}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown .notice{margin:0}.give-addon-wrap .give-license-top-header{display:block;font-size:15px;margin:0 0 20px;font-weight:700;color:#23282d}.give-addon-wrap .give-license-top-column{float:right;padding:30px;flex:1}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap,.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{border-left:1px solid #dbdbdb}.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{flex:1.45;padding-left:10px}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap .give-field-description{padding-top:0}.give-addon-wrap .give-license__status{margin:10px -4px 0 0;padding:0}.give-addon-wrap .give-license__status .dashicons-yes{color:#66bb6a}.give-addon-wrap .give-license__status .dashicons-no{color:#a00}.give-addon-wrap .give-license__key{display:inline-block}.give-addon-wrap .give-license__key input[type=text]{margin:0 0 0 10px}.give-addon-wrap .give-license__key button{font-size:15px;position:relative;top:-1px}@media (min-width:1400px){.give-addon-wrap .give-license__key input[type=text]{min-width:290px;height:40px;font-size:18px;padding:10px}.give-addon-wrap .give-license__key button{width:110px;height:40px}}@media (max-width:1399px){.give-addon-wrap .give-license__key input[type=text]{min-width:230px;height:35px;font-size:15px;padding:8px}.give-addon-wrap .give-license__key button{width:85px;height:35px;font-size:1em}}.give-addon-wrap .give-license-action-link{display:block;margin:0 0 15px;box-shadow:none}.give-addon-wrap .give-license-renewal-date .dashicons{opacity:.8;margin:0 0 0 3px;position:relative;top:-2px}.give-addon-wrap .give-license-activations-remaining-icon{border-radius:100%;height:20px;width:20px;display:inline-block;padding:1px;font-size:12px;line-height:20px;text-align:center;font-weight:700;margin:0 0 0 2px}.give-addon-wrap .give-plugin__info{padding:6px 9px}.give-addon-wrap .give-plugin__status{border:none;padding:0 5px;line-height:20px!important}.give-addon-info-wrap{margin:30px;padding:20px;background:#f4f4f4;border:1px solid #dbdbdb;color:#333}.give-addon-info-wrap .give-addon-info-left{float:right}.give-addon-info-wrap .give-addon-name{font-weight:700;font-size:14px}.give-addon-info-wrap .give-addon-version{font-size:11px;margin:0 20px 0 0}.give-addon-info-wrap .give-addon-info-right{float:left}.give-addon-info-wrap .give-addon-info-right .give-button{margin:-5px 0 0;position:relative;top:2px}.give-addon-info-wrap .give-addon-info-right .give-button .dashicons{font-size:14px;width:14px;height:14px;margin-left:3px;margin-top:5px}.give-addon-info-wrap .give-addon-activation-status{border-radius:4px;color:#fff;background:#777;padding:3px 8px;margin:0 0 0 15px;font-size:11px}.give-addon-info-wrap .give-addon-activation-status__activated{background:#7ad03a;text-shadow:0 0 1px #4b8420}.give-addon-info-wrap .give-addon-view-changelog{margin:0 0 0 15px;font-size:12px}.give-filters{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;padding:12px 12px 0}.give-filters .give-donation-forms-filter .chosen-single{height:28px;line-height:28px}.give-filters .chosen-container-single .chosen-single div b{background-position:100% 4px}.give-filters .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 6px}.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{display:inline-block;width:300px}@media screen and (max-width:782px){.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{width:100%}}.give-filters #give-payment-date-filters label,.give-filters #give-payment-form-filter label{vertical-align:initial}.give-filters #give-payment-date-filters label.give-donation-forms-filter-label,.give-filters #give-payment-form-filter label.give-donation-forms-filter-label{vertical-align:middle}.give-filters #give_donation_forms_filter{width:255px}@media screen and (max-width:782px){.give-filters #give_donation_forms_filter{width:100%;max-width:100%}}.give-filters:after{content:"";display:table;clear:both}.give-filter{display:block;margin-bottom:12px;width:100%}.give-filter:after{content:"";display:table;clear:both}.give-filter label{display:block;margin-left:4px}.give-filter input{margin:0}.give-filter input[type=text]{height:28px;width:100%}.give-filter input[type=search],.give-filter input[type=text]{height:28px}.give-filter .button{height:28px;line-height:26px;margin:0;padding:0 10px 1px}.give-filter select{width:100%}@media screen and (min-width:783px){.give-filter{float:right;margin-left:18px;width:auto}.give-filter label{display:inline-block}.give-filter input[type=text]{display:inline-block;width:144px}}.give-filter-search input[type=search]#give-payments-search-input{display:block;float:right;width:205px;max-width:100%}.give-filter-search input[type=submit]{display:block;float:left;width:30%}@media screen and (min-width:783px){.give-filter-search input[type=search]{display:inline-block;margin-left:4px;width:auto}.give-filter-search input[type=submit]{display:inline-block;width:auto}}@media screen and (min-width:600px){.give-filter-half{float:right;width:49%}.give-filter-half:last-child{float:left}}@media screen and (min-width:783px){.give-filter-half{width:auto}.give-filter-half:last-child{float:right}.give-filter-half input[type=text]{width:96px}}.give-clear-filters-button{margin-right:8px}.give-submit-wrap{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;margin:8px 0;padding:12px;font-size:13px;line-height:2.1em}#give-payment-filters ul.subsubsub{margin-bottom:8px}#give-payments-advanced-filter ul.subsubsub{margin-bottom:12px}#give-payments-filter .tablenav.top{float:none}#give-payments-filter .tablenav.top .bulkactions{margin-top:1px;padding-top:0}#give-payments-filter .give-email-column-value{font-size:14px;font-weight:700}#give-payments-filter #the-list .check-column input{margin-top:1px}#give-payments-filter .column-details{width:50px}#give-payments-filter .column-amount{width:120px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.forms th#date{width:140px}.give-mobile-link{line-height:32px;vertical-align:middle}.give-mobile-link img{max-width:80%;height:auto;float:right}.give-donation-status>span{display:inline-block;width:12px;height:12px;position:relative;top:1px;margin:0;padding:0;border-radius:50%;background:#888;line-height:16px}.give-donation-status.status-pending>span{background-color:#ffba00}.give-donation-status.status-complete>span,.give-donation-status.status-publish>span{background-color:#7ad03a}.give-donation-status.status-refunded>span{background-color:#777}.give-donation-status.status-failed>span{background-color:#a00}.give-donation-status.status-abandoned>span{background-color:#333}.give-donation-status.status-revoked>span{background-color:#d9534f}.give-donation-status.status-give_subscription>span,.give-donation-status.status-renewal>span,.give-donation-status.status-subscription>span{background-color:#5bc0de}#test-payment-label{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#ffba00;margin:0 15px;vertical-align:middle}#test-payment-label:hover{color:#fff;text-decoration:none}#give-payments-filter .give-payment-id{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;font-weight:400}#give-payments-filter .give-payment-id:hover{color:#fff;text-decoration:none}#give-payments-filter .column-details{padding-left:30px}#give-payments-filter .give-donation-status{display:inline-block}#give-order-update .give-donation-status{display:inline-block;float:none;margin:0 10px;position:relative;top:3px}#give-order-update .give-order-top{border-bottom:1px solid #eee;overflow-x:auto;white-space:nowrap;width:100%}#give-order-update .give-order-top h3.hndle{float:right;border:none;display:inline-block}#give-order-update .give-order-top .delete-donation{display:inline-block;float:left}#give-order-update .give-order-top .delete-donation a{width:18px;height:16px;display:block;margin:11px 15px;content:"\f182";font-size:18px;color:#b5b5b5}#give-order-update .give-order-top .delete-donation a:focus,#give-order-update .give-order-top .delete-donation a:hover{color:red;box-shadow:none}.column-donation_form .donation-level-text-wrap{font-style:italic;display:block}@media handheld,only screen and (max-width:640px){.wp-list-table.forms th{width:auto!important}}.download_page_give-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-right:-8px;margin-top:-8px}.give-admin-box .label{font-weight:600}.give-admin-box-inside{margin:0;padding:3px 10px;clear:both;border-bottom:1px solid #eee;word-break:break-word}.give-admin-box-inside .strong{font-weight:600}.give-admin-box .right{float:left}#give-order-details .inside,#give-order-update .inside{margin:0;padding:0}#give-order-update input.give_datepicker{width:180px}#give-order-update input[type=number].give-payment-time-hour,#give-order-update input[type=number].give-payment-time-min{width:50px}.give-admin-box-inside:last-child{border-bottom:0}#give-edit-order-form .data-payment-key{word-break:break-all}.give-order-update-box #major-publishing-actions .button-secondary{margin-left:10px}#give-donation-overview th{text-align:right}#give-donation-overview .give-select-chosen{width:97%}#give-edit-order-form .row{margin-top:10px}#give-donation-overview ul,#give-donor-details .order-data-address input,#give-donor-details .order-data-column p.data input,#give-edit-order-form .column input,#give-order-address-country-wrap select{clear:both;display:block}.give-order-data input.small-text{margin:0}#give-order-update span.label{display:inline;width:50px}.give-order-update-box .button-primary{margin-left:0}#give-edit-order-form .column .description{padding-left:10px}#give-donation-overview .inside>ul>li,#give-donation-overview .row>ul>li,#give-edit-order-form .column{display:inline-block;position:relative;vertical-align:top}#give-donation-overview ul{font-size:0}#give-donation-overview ul li{font-size:13px}#give-donation-overview ul li.actions{text-align:left;min-width:200px}#give-donation-overview ul li.remove{text-align:left}#give-donation-overview ul .row{padding:12px;border-bottom:1px solid #eee}#give-order-data .data span{color:#666;font-weight:600}input.give-price-field{width:80px;padding:3px 5px}.give_forms_page_give-payment-history.js .postbox .hndle{cursor:default}#give-payment-notes textarea{min-height:150px}#give-payment-notes #give-add-payment-note{margin:6px 0 15px}#give_comment{min-height:150px}#give-billing-details .column>div{margin:0 0 10px}#give-billing-details label{display:block;margin-bottom:5px}#give-billing-details .column-container{padding:5px 0 10px}#give-billing-details input[type=text]{width:98%}#give-billing-details .chosen-container{width:98%!important}@media screen and (min-width:1200px){#give-edit-order-form .column{width:33%}#give-order-address .column{width:49%}#give-donation-overview.columns-4 li.actions{width:25%;margin-top:0;margin-left:0}}@media screen and (max-width:1199px){#give-edit-order-form .column{width:49%}}@media screen and (max-width:782px){.order-data-column input[type=email]{padding:6px 10px}}#give-donation-overview .inside,#give-donor-details .inside{margin-top:0}.give_forms_page_give-payment-history #give-dashboard-widgets-wrap #side-sortables{padding-top:0}.give-select-chosen .spinner,.give-select .spinner{position:absolute;left:5px;top:2px;z-index:999}.give-select-chosen-ajax .spinner{visibility:visible}.give-select-chosen-ajax.chosen-container-single .chosen-search input[type=text],.give-select-chosen-ajax .chosen-search input[type=text]{background-image:none!important}.give-dashboard-widget .give-dashboard-today{text-align:center}.give-dashboard-widget .give-dashboard-today .give-dashboard-date-today{margin:10px 0 0;padding:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-happy-day{padding:3px;margin:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-today-earnings{font-size:42px;color:#4ead61;font-weight:700;margin:15px 0 0;line-height:1}.give-dashboard-widget .give-dashboard-today .give-donations-today{font-size:18px;font-weight:700;margin:0 0 30px;padding:4px 0 1px}.give-dashboard-widget .give-dashboard-today .give-last-seven{font-size:14px;font-weight:700;padding:0;margin:0 0 30px}.give-dashboard-widget .give-table-stats{width:100%;text-align:center;margin:0;table-layout:fixed;border-top:1px solid #ececec;border-spacing:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total,.give-dashboard-widget .give-table-stats .give-dashboard-stat-total-label{padding:0;margin:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total{color:#4ead61;font-weight:700;font-size:16px}#give_dashboard_sales>.inside{padding:0}#give_dashboard_sales .give-table-stats td{padding:10px 0}#give_dashboard_sales .give-table-stats td:first-of-type{border-left:1px solid #ececec}#give_dashboard_sales .give-table-stats tr#give-table-stats-tr-1 td{border-bottom:1px solid #ececec}#dashboard_right_now .give-forms-count:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:18px;width:18px;height:18px;content:"\e800"}.give-range_slider_field{margin-top:.8rem}.give_forms_page_give-donors .wp-heading-inline+.notice:first-of-type{margin-top:25px}.give_forms_page_give-donors .give-nav-tab-wrapper{margin:10px -20px 20px}.give_forms_page_give-donors #give-donors-filter{position:relative}.give_forms_page_give-donors #give-donors-filter p.search-box{margin:0}.give_forms_page_give-donors #give-donors-search-filter{display:block;overflow:hidden}.give_forms_page_give-donors #give-donor-card-wrapper{margin-right:-1px;z-index:2;min-height:200px}.give_forms_page_give-donors #give-donor-card-wrapper input{font-weight:400}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section{border-bottom:1px solid #eee;margin-bottom:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section .give-donor-search-box{margin-left:25px;width:auto;display:inline-block;float:right}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section table{margin-bottom:0}.give_forms_page_give-donors #give-donor-card-wrapper>div:first-child{padding-top:20px}.give_forms_page_give-donors #give-donor-card-wrapper>div:last-child{padding-bottom:20px;border:none}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap{padding:0 0 15px 15px;text-align:center;float:right}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap img{border-radius:50%}.give_forms_page_give-donors #give-donor-card-wrapper a.delete{text-decoration:none;color:red;margin-left:5px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-since{margin:10px 0;font-size:16px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-id{display:inline-block;font-size:24px;font-weight:600;margin-left:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-name-wrap{display:inline-block}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-edit-link{margin-bottom:15px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box{display:inline-block;float:right;margin-left:18px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box input#give-donors-search-input{width:205px;max-width:100%}.give_forms_page_give-donors #give-donor-filters label{vertical-align:initial}.give_forms_page_give-donors #give-donor-filters label.give-donation-forms-filter-label{vertical-align:middle}.give_forms_page_give-donors .donor-main-wrapper{clear:both;margin:0 0 20px}@media (max-width:655px){.give_forms_page_give-donors .donor-main-wrapper{width:100%}}.give_forms_page_give-donors .donor-main-wrapper table{margin:0}.give_forms_page_give-donors .donor-main-wrapper input[type=email],.give_forms_page_give-donors .donor-main-wrapper input[type=number],.give_forms_page_give-donors .donor-main-wrapper input[type=text]{width:200px}.give_forms_page_give-donors #donor-summary{padding:0 20px}.give_forms_page_give-donors #donor-summary:after{font-family:dashicons;content:"\f110";position:absolute;top:10px;left:10px;font-size:100px;color:#f0f0f0;z-index:0}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper{width:202px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper span[data-key=line2]{display:table;clear:both}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper select{width:200px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-info{min-height:185px}.give_forms_page_give-donors #give-donor-card-wrapper .info-wrapper{min-height:125px}.give_forms_page_give-donors .donor-info .donor-name{font-size:24px;font-weight:600}.give_forms_page_give-donors #disconnect-donor,.give_forms_page_give-donors #view-user-profile{font-size:12px;font-weight:400;text-decoration:none}.give_forms_page_give-donors #donor-edit-actions{text-align:center;margin-bottom:20px;line-height:28px}.give_forms_page_give-donors #donor-edit-actions .button-secondary{margin-left:10px}.give_forms_page_give-donors #give-donor-card-wrapper .edit-item{display:none}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results{right:1px;top:16px}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results ul{width:200px}.give_forms_page_give-donors #donor-stats-wrapper{margin:0 auto;text-align:center;padding:15px}.give_forms_page_give-donors #donor-stats-wrapper ul{margin:0;padding:0;overflow:hidden}.give_forms_page_give-donors #donor-stats-wrapper ul li{width:50%;float:right;line-height:22px;font-size:14px;margin:0}.give_forms_page_give-donors #donor-stats-wrapper a{text-decoration:none}.give_forms_page_give-donors #donor-stats-wrapper .dashicons{color:#888}.give_forms_page_give-donors #donor-tables-wrapper table{width:100%;text-align:center}.give_forms_page_give-donors #donor-tables-wrapper th{text-align:center}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .donations tr>th:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>th:first-child{text-align:right}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:only-child{text-align:center}.give_forms_page_give-donors #donor-notes-wrapper{min-height:50px}.give_forms_page_give-donors .donor-notes-header img,.give_forms_page_give-donors .donor-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.give_forms_page_give-donors .donor-note-input{width:100%;margin-bottom:5px}.give_forms_page_give-donors #give-donor-notes div:nth-of-type(2n){background-color:#f9f9f9}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:0}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper .note-content-wrap{padding:10px 12px;line-height:20px;font-size:14px}.give_forms_page_give-donors #give-donor-notes .give-no-donor-notes{text-align:center;padding:20px}.give_forms_page_give-donors .donor-note-wrapper span{display:block}.give_forms_page_give-donors .delete-donor{text-align:center}.give_forms_page_give-donors .give-lock-block{margin-right:-25px;text-decoration:none;font-size:14px;margin-left:3px}.give_forms_page_give-donors .give-lock-block i{color:#000;font-size:14px}.give_forms_page_give-donors #donor-address-wrapper .give-no-address-message{margin:.5rem 1%;line-height:3.4em}.give_forms_page_give-donors #donor-address-wrapper .give-donor-addresses .inside{padding-bottom:0}.give_forms_page_give-donors #donor-address-wrapper .add-new-address{margin:.5rem 1%!important}.give_forms_page_give-donors #donor-address-wrapper .add-new-address-form-hidden{position:absolute;left:13px;right:13px;top:0;visibility:hidden}.give_forms_page_give-donors #donor-address-wrapper .all-address .address{min-height:146px;border:1px solid #dad9d9;padding:9px;border-radius:5px;background-color:#fff}.give_forms_page_give-donors #donor-address-wrapper .all-address .address .address-number-label{color:grey;cursor:default}.give_forms_page_give-donors #donor-address-wrapper .all-address .address a{text-decoration:none}.give_forms_page_give-donors .comments td:nth-child(3n){text-align:right}.give_forms_page_give-donors .give-donor-admin-avatar{width:40px;height:40px;border-radius:50%;border:1px solid #e5e5e5;float:right;vertical-align:middle;margin-left:10px;line-height:40px;text-align:center}.give_forms_page_give-donors .give-donor-admin-avatar img{border-radius:50%;width:40px;height:40px}.give_forms_page_give-donors .give-donor-name-text{font-weight:600;font-size:14px}.give_forms_page_give-donors .give-donor-id{color:#555}.give_forms_page_give-donors .give-donor-name:focus{box-shadow:none;outline:none}.give_forms_page_give-donors #donor-avatar .give-donor-admin-avatar,.give_forms_page_give-donors #donor-avatar img{width:96px;height:96px;line-height:96px;margin-left:0;font-size:36px}@media screen and (max-width:782px){#wp-content-media-buttons a.give-thickbox{padding:6px 14px;line-height:normal;font-size:14px;height:auto}.wp-media-buttons span#give-media-button{margin-top:0!important;margin-right:2px!important}}.mce-primary.mce-give-primary button{padding-left:10px;padding-right:10px}.wp-core-ui .give-admin-button{padding-right:7px;padding-left:7px}.give-admin-button-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}.give-admin-button-icon:before{font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-admin-button-icon-update:before{content:"\f463"}.give-status-table{margin-bottom:1em}.give-status-table h2{font-size:14px;margin:0}.give-status-table tr:nth-child(2n) td,.give-status-table tr:nth-child(2n) th{background:#fcfcfc}.give-status-table th{font-weight:700;padding:9px}.give-status-table td:first-child{width:33%}.give-status-table td.help{width:1em}.give-status-table td{padding:9px;font-size:1.1em}.give-status-table td mark{background:transparent none}.give-status-table td mark.yes{color:#7ad03a}.give-status-table td mark.no{color:#999}.give-status-table td mark.error{color:#a00}.give-status-table td ul{margin:0}.wrap div.give-debug-report-wrapper{margin-bottom:5px}.wrap div.give-debug-report-wrapper p{font-size:18px;margin:1em 0 .7em;padding:0}.wrap div.give-debug-report-wrapper .give-debug-report-actions{margin:0 0 1.7em}.wrap div.give-debug-report-wrapper .give-debug-report-actions .js-give-debug-report-button{margin-left:10px}.wrap div.give-debug-report-wrapper .give-debug-report-actions .dashicons{font-size:16px;position:relative;top:4px;right:-2px}.give-debug-report{display:none;margin:10px 0;padding:0;position:relative}.give-debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}.give-progress{height:15px;width:95%;border-radius:4px;overflow:hidden;background-color:#f5f5f5}.give-progress>div{height:100%;width:0}.admin-color-fresh .give-progress div,.give-progress div{background:#0073aa}.admin-color-light .give-progress div{background:#888}.admin-color-blue .give-progress div{background:#096484}.admin-color-coffee .give-progress div{background:#c7a589}.admin-color-ectoplasm .give-progress div{background:#a3b745}.admin-color-midnight .give-progress div{background:#e14d43}.admin-color-sunrise .give-progress div{background:#dd823b}.give-spinner-wrapper{position:absolute;right:0;left:0;bottom:0;top:0;background:hsla(0,0%,96.1%,.57);z-index:1;display:none}.give-spinner-wrapper.is-active{display:inline-block}.give-spinner-wrapper .aligncenter{position:absolute;top:50%;right:50%;margin:10px 0 0 10px}.give-spinner.is-show,.give-spinner.spinner.is-active{margin:0 2px 0 0;float:none}.give-spinner.is-show{visibility:visible}ul.give-radio-inline input,ul.give-radio-inline li{display:inline-block!important}.chosen-container a{transition:none}.give-width-25em{width:25em}.give-spinner-wrap{position:relative}.give-spinner-wrap .spinner{float:none;margin-top:0;margin-left:0}.give-update-panel-content p{font-size:16px}#give-updates .give-update-panel-content{margin:0 0 30px}#give-updates .give-update-panel-content p{font-size:17px;font-style:italic;margin:0}#give-updates .dashicons-no-alt{color:red}#give-updates .dashicons-yes{color:green}#give-updates #give-db-updates .spinner{margin-top:0}#give-updates #give-updates-content{max-width:1200px}#give-updates .give-update-paused-text-p{margin:0 0 0 20px;line-height:30px;font-style:italic;font-size:14px}body.give_forms_page_give-updates .give-run-update-containt .give-run-update-button{margin-left:10px}.give-blank-slate{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0 auto;padding:40px;text-align:center}.give-blank-slate :last-child{margin-bottom:0}.give-blank-slate__cta,.give-blank-slate__heading,.give-blank-slate__help,.give-blank-slate__message{margin:0 0 10px}.give-blank-slate__image{display:block;height:80px!important;margin:0 auto 10px;width:auto}.give-blank-slate__select{margin-bottom:20px}.give-blank-slate__help{color:#666;font-style:italic}.give-blank-slate__help a{display:inline-block;text-decoration:underline}.give-blank-slate a.give-blank-slate__cta{display:inline-block;font-size:1.2em;height:auto;margin:0 0 10px;padding:.75em 1.5em}.wp-block .give-blank-slate{background-color:#f1f1f1}.wp-block .give-blank-slate .give-blank-slate__heading{font-weight:700;font-size:20px;margin-bottom:10px;margin-top:20px}.wp-block .give-blank-slate a{color:#32373c;text-decoration:none}.chosen-container-single .chosen-single{background:#fff;height:30px;line-height:30px;border:1px solid #7e8993;box-shadow:none}.chosen-container-single .chosen-single span{font-size:14px}.chosen-container-single .chosen-single div b,.chosen-container-single.chosen-with-drop .chosen-single div b{background-position-y:4px}.chosen-container-active.chosen-with-drop .chosen-single{background:#fff}.chosen-container .chosen-results li.highlighted{background:#3875d7;color:#fff}.chosen-container-multi .chosen-choices{border:1px solid #aaa;background-image:none}.chosen-container-multi .chosen-choices li.search-choice{background-image:none}.give-tools-setting-page-import h1.handle{padding:15px 0 0}.give-tools-setting-page-import .give-progress-steps{width:100%;padding:0 0 24px;margin-right:0;list-style:none outside;overflow:hidden;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.give-tools-setting-page-import .give-progress-steps li{width:25%;float:right;padding:0 0 1.2em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1.4em}.give-tools-setting-page-import .give-progress-steps li.active{border-color:#4ead61;color:#4ead61}.give-tools-setting-page-import .give-progress-steps li.active:before{border-color:#4ead61;color:#4ead61;background:#4ead61}.give-tools-setting-page-import .give-progress-steps li:before{content:"";border:4px solid #ccc;border-radius:100%;width:10px;height:10px;position:absolute;bottom:0;right:50%;margin-right:-6px;margin-bottom:-10px;background:#fff}.give-tools-setting-page-import .step-4 h2{text-align:center;font-size:20px!important}.give-tools-setting-page-import .step-4 p{text-align:center}.give-tools-setting-page-import .button-secondary.step-4,.give-tools-setting-page-import .give-image-thumb{display:none}.give-tools-setting-page-import h2#give-import-title{background:#f3f3f3;font-size:15px;font-weight:600;margin:-8px -22px 11px;padding:12px 22px}.give-tools-setting-page-import table.step-2 h2#give-import-title{font-size:small;font-weight:inherit}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields-title{font-size:18px;font-weight:600;margin:0}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields{white-space:nowrap;overflow:hidden}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li{display:inline-block;margin:0 0 0 10%}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.give-import-donation-required-symbol{border-radius:1em;vertical-align:middle;padding:2px;background:#46b450;color:#fff}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.dashicons-no-alt{background:#bbb}.give-tools-setting-page-import .give-progress{margin-top:7px}.give-import-core-settings .give-progress-steps li{width:33.33%}.give-import-core-settings .step-3 h2{text-align:center;font-size:20px!important}.give-import-core-settings .step-3 p{text-align:center}form.give-import-form table.widefat{border:none}.wrap .give-importer-h1{margin:0;padding:20px 0}.give-tools-setting-page #give-export_donations-form table{padding-right:10px}.give-tools-setting-page #give-export_donations-form table tbody h2{padding:8px 0 0}.give-tools-setting-page #give-export_donations-form table tbody td.row-title{width:30%;vertical-align:top}.give-tools-setting-page #give-export_donations-form table tbody td ul.give-export-option-ul{margin-top:5px}.give-tools-setting-page #give-export_donations-form table tbody p.give-field-description{display:table;width:100%}.give-tools-setting-page #give-export_donations-form table tbody .add-notices{margin-top:15px}.give-tools-setting-page #give-export_donations-form table tbody .add-notices .give-progress{margin-top:7px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices{min-height:30px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices li{margin:4px 0 4px 4px}.give-tools-setting-page #give-export_donations-form .give-export-option{display:flex;flex-flow:row wrap;border-top:1px solid #e5e5e5;border-right:1px solid #e5e5e5}.give-tools-setting-page #give-export_donations-form .give-export-option ul{margin-bottom:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li{position:relative;margin-bottom:.7rem;padding:0 1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{display:block;padding-right:22px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{position:absolute;top:6px;right:15px}.give-tools-setting-page #give-export_donations-form .give-export-option ul .give-export-option-label{font-size:15px;font-weight:500;border-bottom:1px solid #e5e5e5;margin-bottom:1rem;padding:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option>li{border-left:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;width:33%;margin-bottom:0}.give-tools-setting-page .give-export-donors .give-progress{margin-top:7px}#give-export-donations .give_forms_categories,#give-export-donations .give_forms_tags{min-width:250px;margin:0 0 10px;display:block}#give-export-donations .give_forms_categories input,#give-export-donations .give_forms_tags input{color:#999}#give-export-donations div.chosen-container ul.chosen-choices{border:1px solid #ddd}#give-export-donations div.chosen-container ul.chosen-choices input.chosen-search-input{border:1px solid #ddd;height:20px}#give-export-donations select{vertical-align:inherit;margin:0;height:26px;line-height:26px;border:1px solid #ddd}@media only screen and (max-width:1080px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}}@media only screen and (max-width:782px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{padding-right:32px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{top:0}}.give-admin-progress-bar{height:8px;position:relative;background:#eee;border-radius:25px;overflow:hidden;margin:5px 0 2px}.give-admin-progress-bar>span{display:block;height:100%;border-top-left-radius:8px;border-bottom-left-radius:8px;border-top-right-radius:20px;border-bottom-right-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}.give-admin-goal-achieved>.dashicons{color:#ffba00;font-size:13px;height:16px;width:13px;line-height:18px}#give-form-goal-stats .inside{margin:0;padding:15px;text-align:center}#give-form-goal-stats .give-admin-progress-bar{margin-bottom:10px}#give-form-goal-stats .give-admin-goal-achieved{display:block;margin-top:6px}.give-nav-tab-wrapper{background:#ddd;border:none!important;padding-top:0;overflow:hidden}.give-nav-tab-wrapper .nav-tab{border:none;margin:0;padding:15px 30px;outline:none;box-shadow:none;background:#ddd}.give-nav-tab-wrapper .nav-tab:hover{background:#ebebeb}.give-nav-tab-wrapper .nav-tab.nav-tab-active{background:#f1f1f1;box-shadow:inset 0 4px 0 #66bb6a;margin:0}@media screen and (max-width:600px){.give-nav-tab-wrapper{position:relative;padding-top:0!important}.give-nav-tab-wrapper>a{width:100%;box-sizing:border-box;margin:0;background-color:#fff;border:1px solid #ccc}.give-nav-tab-wrapper>a:hover{border-bottom:1px solid #ccc}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper{position:absolute;top:0;left:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav{height:28px;width:30px;border-radius:0;margin:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav>span.dashicons{margin:6px auto 0;display:block}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{top:35px;left:0;right:auto}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{background:#fff}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#e5e5e5}.give-mobile-hidden{display:none}}.give-sub-nav-tab-wrapper{position:relative;z-index:999;float:right;display:none}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{border:1px solid #f1f1f1;border-bottom:none;position:absolute;top:37px;left:0}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{float:right;background:#fff;padding:8px 10px;clear:both;text-decoration:none;border-bottom:1px solid #f1f1f1;min-width:170px;color:#555;font-size:14px;font-weight:600}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#ebebeb}#give-show-sub-nav{text-decoration:none;padding:3px 4px;border-bottom:1px solid #ccc;line-height:0;background:#fff;border-radius:4px;margin:15px 10px 0 0}#give-show-sub-nav>span.dashicons{font-size:16px;height:16px;width:16px}#give-show-sub-nav:active,#give-show-sub-nav:hover{outline:none;box-shadow:inset 0 0 4px #ddd}.give-upsell-notice{border:1px solid #e2e2e2;padding:10px;margin:10px;box-shadow:-1px 1px 5px #e2e2e2;display:flex;align-items:center}.give-upsell-notice a{text-decoration:none}.give-upsell-notice .description,.give-upsell-notice .icon{font-style:normal}.give-upsell-notice .icon{color:#aaa;font-size:30px;line-height:22px;width:30px}.give-upsell-notice .description{padding:0 10px}.give-upsell-notice a.view-addon-link{background:none!important;margin-right:auto}.give_forms_page_give-subscriptions .wp-header-end+.notice,.post-type-give_forms .wp-header-end+.notice{margin-top:11px}.give_forms_page_give-subscriptions #give-subscription-details-h1,.give_forms_page_give-subscriptions #give-subscription-list-h1,.give_forms_page_give-subscriptions .wp-heading-inline,.post-type-give_forms #give-subscription-details-h1,.post-type-give_forms #give-subscription-list-h1,.post-type-give_forms .wp-heading-inline{margin:0;padding:10px 0}.give_forms_page_give-subscriptions #give-subscription-details-h1:before,.give_forms_page_give-subscriptions #give-subscription-list-h1:before,.give_forms_page_give-subscriptions .wp-heading-inline:before,.post-type-give_forms #give-subscription-details-h1:before,.post-type-give_forms #give-subscription-list-h1:before,.post-type-give_forms .wp-heading-inline:before{background:url(../images/give-icon-full-circle.svg);width:30px;height:30px;content:" ";display:block;float:right;margin-left:12px}.give_forms_page_give-subscriptions #wpcontent,.post-type-give_forms #wpcontent{padding:0}.give_forms_page_give-subscriptions #wpbody,.post-type-give_forms #wpbody{color:#000;padding-right:20px;position:relative}.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{content:"";background-color:#fff;border-bottom:1px solid #dbdbdb;height:72px;right:0;top:46px;position:absolute;width:100%;z-index:-1}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{top:0}}.give_forms_page_give-subscriptions #wpbody .wrap:not(.give-settings-page),.post-type-give_forms #wpbody .wrap:not(.give-settings-page){margin-top:12px}.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:6px}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:15px}}@media (min-width:601px){.give_forms_page_give-subscriptions.give_forms_page_give-donors #wpbody .wp-header-end,.give_forms_page_give-subscriptions.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-donors #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-subscriptions #wpbody .wp-header-end{margin-top:25px}}.give_forms_page_give-subscriptions #wpbody #screen-meta-links,.post-type-give_forms #wpbody #screen-meta-links{display:none}@media (min-width:783px){.give_forms_page_give-subscriptions #screen-meta,.post-type-give_forms #screen-meta{background-color:#fff;border:0;margin:0}.give_forms_page_give-subscriptions #screen-meta-links,.post-type-give_forms #screen-meta-links{position:absolute;top:0;left:0;z-index:1}}.give-subheader{background:#fff;margin:0 -22px 0 0;padding:12px 20px}.give-subheader .give-subheader-right-text{float:left;font-size:13px;line-height:22px;font-style:italic;color:#555;margin:0;padding:0}.give-subheader h1{float:right;font-size:15px;line-height:22px;color:#555;font-weight:600;margin:0;padding:0}@media (max-width:700px){.give-subheader{text-align:center}.give-subheader .give-subheader-right-text,.give-subheader h1{float:none}}
26
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
27
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
28
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
29
+ */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-grid-row{position:relative;width:100%}.give-grid-row [class^=give-grid-col]{float:right;margin:.5rem 1%;min-height:.125rem}.give-grid-row:after{content:"";display:table;clear:both}.give-grid-col-1{width:6.33333%}.give-grid-col-2{width:14.66667%}.give-grid-col-3{width:23%}.give-grid-col-4{width:31.33333%}.give-grid-col-5{width:39.66667%}.give-grid-col-6{width:48%}.give-grid-col-7{width:56.33333%}.give-grid-col-8{width:64.66667%}.give-grid-col-9{width:73%}.give-grid-col-10{width:81.33333%}.give-grid-col-11{width:89.66667%}.give-grid-col-12{width:98%}@media only screen and (max-width:33.75em){.give-grid-row [class^=give-grid-col]{width:98%}}.give_options_panel input[type=email],.give_options_panel input[type=text]{padding:3px 5px;width:100%;line-height:2;box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c}input.give-text-small,input.give-text_small{width:100px!important}input.give-text-medium,input.give-text_medium{width:200px!important}.give-hidden,.post-type-give_forms .tablenav #post-query-submit{display:none}.give_options_panel .inner-panel{padding:9px 15px}.give_options_panel .give-time-field{width:65px}.give_options_panel .give-money-field{width:75px;margin-left:0;margin-right:0;vertical-align:baseline}.give_options_panel .give-money-symbol{border:1px solid #7e8993;background:#fcfcfc;margin:0;font-size:14px;padding:8px 10px 9px}.give_options_panel .give-money-symbol-before{border-left:0;margin-left:-5px;border-radius:0 4px 4px 0}.give_options_panel .give-money-symbol-before+.give-money-field{border-top-right-radius:0;border-bottom-right-radius:0}.give_options_panel .give-money-symbol-after{margin-right:-5px;border-radius:4px 0 0 4px}.give_options_panel .give-money-symbol-after+.give-money-field{border-top-left-radius:0;border-bottom-left-radius:0}.give-underline{text-decoration:underline}#give-bulk-donors div[id^=give-donor-]{display:block;overflow:hidden}.shortcode-wrap{margin:1px 11px 12px 14px}.shortcode-wrap label{margin:0 0 3px;display:block;cursor:default}.shortcode-wrap .shortcode-input{margin:0;width:100%}input.shortcode-input{width:100%}.price .give_price_range_high,.price .give_price_range_low,.price .give_price_range_sep{display:inline-block}.js-give-shortcode-button{font-weight:500;cursor:help}.js-give-shortcode-button:after{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);text-shadow:none}.js-give-shortcode-button .dashicons{font-size:16px;width:16px;vertical-align:middle;color:inherit;margin-left:2px}@media only screen and (min-width:782px) and (max-width:1260px){.js-give-shortcode-button .give-button-text{display:none}}.give-tooltip{margin:0 3px;padding:0;font-size:14px;color:rgba(51,51,51,.5);position:relative;top:1px}.give-tooltip:hover{color:#333}#give-metabox-form-data .inside{margin:0;padding:0}#give-metabox-form-data .give-upload-button{height:36px}#give-metabox-form-data .give-colorpicker{margin-left:6px!important}#give-metabox-form-data .give-metabox-panel-wrap{background:#fff;overflow:hidden}#give-metabox-form-data .give_options_panel{display:none;padding-right:170px}#give-metabox-form-data .give_options_panel.active,.no-js #give-metabox-form-data .give_options_panel{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:1em 162px 1em 20px;margin:0;border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-field-wrap>label,#give-metabox-form-data .give_options_panel .give-field-wrap>span.give-field-label{float:right;width:135px;padding:0;margin:2px -150px 0 0;line-height:18px;font-size:12px;font-weight:400}#give-metabox-form-data .give_options_panel .give-field-wrap .give-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-top:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-field-wrap ul{margin:0}#give-metabox-form-data .give_options_panel .give-field-wrap .mce-container iframe{min-height:250px!important}#give-metabox-form-data .give_options_panel .give-field-wrap .wp-editor-wrap{display:inline-block;width:100%}#give-metabox-form-data .give_options_panel textarea.give-field{width:100%}#give-metabox-form-data .give_options_panel .give-field-wrap:hover .give-field-row-actions{display:block}#give-metabox-form-data .give_options_panel .give-field-wrap:last-child{border-bottom:0}#give-metabox-form-data .give_options_panel .give-inline-radio-fields li{display:inline-block;margin-left:15px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section{padding:10px;background:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeatable-fields-section-wrapper{width:100%;background-color:#fff;border-collapse:collapse}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row{border-bottom:15px solid #f5f5f5;background-color:#fff}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-template{display:none}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row:last-child{border-bottom:10px solid #f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-column{padding:0}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head{border-bottom:1px solid #eee;cursor:move}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row-head h2{text-align:right!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove{float:left;width:22px;height:36px;padding:0;display:block;text-align:center;line-height:34px;font-size:21px;font-weight:300;cursor:pointer}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-remove:hover{background-color:red;color:#fff;width:22px;height:22px;border-radius:30px;margin-top:8px;line-height:19px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row .give-move .toggle-indicator:before{margin-right:7px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row-wrap{background-color:#f5f5f5}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-add-repeater-field-section-row{margin:5px}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-field-wrap:last-child{border-bottom:1px solid #eee}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-ui-placeholder-state-highlight{background-color:#68bb6c}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-name{border:0!important;padding:0!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-repeater-field-description{color:#aaa;font-size:12px;line-height:18px;display:block;padding-bottom:10px;font-style:italic}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .ui-sortable-helper{display:table!important}#give-metabox-form-data .give_options_panel .give-repeatable-field-section .give-row.ui-sortable-helper{border-bottom:0}#give-metabox-form-data .give_options_panel .give-row.closed .toggle-indicator:before{content:"\f140"}#give-metabox-form-data .give-minmax-wrap{display:block;margin-bottom:.5rem}#give-metabox-form-data .give-minmax-wrap label{display:inline-block;width:120px;font-size:12px}#give-metabox-form-data .give-minmax-wrap input{margin-right:1px;position:relative;z-index:1;border-radius:4px 0 0 4px}#give-metabox-form-data #form_template_options .templates-list{display:grid;grid-gap:36px;grid-template-columns:1fr 1fr;padding:8px 0 24px}#give-metabox-form-data #form_template_options .templates-list .template-image-container{width:100%;height:auto;position:relative;padding-top:70%}#give-metabox-form-data #form_template_options .templates-list .template-image-container .template-image{height:100%;width:100%;object-fit:cover;position:absolute;top:0;right:0;background-color:#fff}#give-metabox-form-data #form_template_options .templates-list .action{display:flex;align-items:center;background-color:#fafafa;border-top:1px solid #eee;padding:10px}#give-metabox-form-data #form_template_options .templates-list .action .template-name{font-weight:500;flex-grow:1;line-height:1.4;padding-right:6px}#give-metabox-form-data #form_template_options .templates-list .action .badge{display:none;padding:2px 9px;line-height:1.4;background-color:#7ad03a;color:#fff;font-style:normal;border-radius:5px;margin-right:10px;text-shadow:0 1px 1px rgba(0,0,0,.25)}#give-metabox-form-data #form_template_options .form-template-introduction{padding-bottom:16px}#give-metabox-form-data #form_template_options .form-template-introduction p{font-weight:300;font-size:18px;margin:0 0 14px;padding:0}#give-metabox-form-data #form_template_options .form-template-introduction p.form-template-description{color:#9c9c9c;font-size:16px;padding-bottom:26px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice{padding:14px;display:flex;justify-content:space-between;align-items:center;margin-top:24px}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice p{flex:1;margin:0 14px;font-size:16px;color:#555}#give-metabox-form-data #form_template_options .form-template-introduction .form-template-notice .dashicons{font-size:17px;margin-top:4px}#give-metabox-form-data #form_template_options .template-options{display:none}#give-metabox-form-data #form_template_options .template-options>.give-row{margin-bottom:20px;border:1px solid #ccd0d4}#give-metabox-form-data #form_template_options .template-options>.give-row>.give-row-head{background-color:#f1f1f1}#give-metabox-form-data #form_template_options .inner-panel{display:flex;flex-direction:column;padding-right:34px;padding-left:34px}#give-metabox-form-data #form_template_options .inner-panel .templates-list-heading{font-size:14px;font-weight:400;margin:10px 0 15px}#give-metabox-form-data #form_template_options .inner-panel .form-template-options-introduction{display:none;padding-bottom:25px}#give-metabox-form-data #form_template_options .inner-panel .template-info{background:#fafafa;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.07);line-height:0}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template{padding-right:20px;padding-left:20px}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list{grid-template-columns:1fr!important}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-image-container,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info:not(.active){display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list .template-info.active .badge{display:inline-block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .templates-list-heading{display:none}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .form-template-options-introduction,#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .template-options.active{display:block}#give-metabox-form-data #form_template_options .inner-panel.has-activated-template .give-file{width:calc(100% - 150px)!important}#_give_donation_levels_field .give-row:nth-of-type(2) .give-remove{display:none!important}#give-metabox-form-data .give-metabox-tabs{margin:0;max-width:170px;float:right;line-height:1;padding:0 0 10px;position:relative;background-color:#fafafa;border-left:1px solid #eee;box-sizing:border-box}#give-metabox-form-data .give-metabox-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;right:0;background-color:#fafafa;border-left:1px solid #eee}#give-metabox-form-data .give-metabox-tabs li{margin:0;padding:0;display:block;position:relative}#give-metabox-form-data .give-metabox-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee;overflow:hidden}#give-metabox-form-data .give-metabox-tabs li a span.give-label{width:122px;padding-right:2px;display:inline-block}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs{z-index:999}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li{background-color:#f1f1f1}#give-metabox-form-data .give-metabox-tabs .give-metabox-sub-tabs li a{border-bottom-color:#e5e5e5;display:flex;align-items:center;justify-content:space-between}#give-metabox-form-data .give-metabox-tabs li.active>a{color:#555;position:relative;background-color:#eee}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields.active>a{background-color:#ddd}#give-metabox-form-data .give-metabox-tabs li.has-sub-fields:not(.active):hover ul.give-metabox-sub-tabs{display:block;position:absolute;bottom:0;right:166px;width:170px;max-height:250px}@media (max-width:550px),only screen and (min-width:851px) and (max-width:1025px){#give-metabox-form-data ul.give-metabox-tabs{min-width:40px}#give-metabox-form-data ul.give-metabox-tabs li>a{text-align:center}#give-metabox-form-data ul.give-metabox-tabs li>a:before{margin-left:0;font-size:15px}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-label{display:none}#give-metabox-form-data ul.give-metabox-tabs li>a span.give-icon:before{margin:0}#give-metabox-form-data .give_options_panel{padding-right:40px}#give-metabox-form-data .give_options_panel .give-field-wrap{padding:10px}#give-metabox-form-data .give_options_panel .give-field-wrap label,#give-metabox-form-data .give_options_panel .give-field-wrap span.give-field-label{display:block;float:none;margin:0 0 10px;font-size:14px;width:100%}}.chosen-container-single a.chosen-single{background:#fff!important}.give-docs-link{text-align:left;margin-left:15px}.give-docs-link a{color:#999;text-decoration:none;font-style:italic}.give-docs-link a:hover{color:#0073aa}.give-docs-link a span{font-style:normal}.post-type-give_forms #posts-filter .search-box{display:none}.post-type-give_forms #posts-filter .tablenav.top{position:relative;margin:42px 0 0;height:auto}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter{margin:0 0 10px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-goal-filter{width:255px}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter a{display:inline-block;margin:0}.post-type-give_forms #posts-filter .tablenav.top #give-forms-advanced-filter #give-forms-search-input{margin-left:6px}.post-type-give_forms #posts-filter .tablenav.top .actions{position:absolute;right:230px;bottom:10px}.post-type-give_forms #posts-filter .tablenav.top .actions.bulkactions{right:0}@-moz-document url-prefix(){.give_options_panel .give-money-symbol{padding:8.5px 10px}}#give-dashboard-widgets-wrap .inside{padding-top:0;padding-bottom:0}.give_forms_page_give-reports #give-dashboard-widgets-wrap .inside{padding-right:0}#give-dashboard-widgets-wrap .inside #give-graphs-filter{float:none}#give-dashboard-widgets-wrap .postbox{margin-bottom:10px}#give-dashboard-widgets-wrap table.reports-table{clear:none}#give-dashboard-widgets-wrap #give-date-range-options{float:right}#give-dashboard-widgets-wrap #give-date-range-options>span{float:right;line-height:30px;font-style:italic;padding:0 0 0 5px}#give-graphs-filter{float:left}#give-graphs-filter .tablenav{margin:0 17px 0 0}#give-graphs-filter .tablenav .actions{padding:0}.give-graph .y1Axis{color:#66bb6a!important}.give-graph .y2Axis{color:#546e7a!important}body.give_forms_page_give-payment-history h1.nav-tab-wrapper,body.give_forms_page_give-payment-history h2.nav-tab-wrapper,body.give_forms_page_give-reports h1.nav-tab-wrapper,body.give_forms_page_give-reports h2.nav-tab-wrapper{margin-bottom:10px}body.give_forms_page_give-payment-history .actions,body.give_forms_page_give-reports .actions{padding-top:0}body.give_forms_page_give-payment-history .pagination-links,body.give_forms_page_give-reports .pagination-links{margin-right:10px}body.give_forms_page_give-payment-history p.donor-search,body.give_forms_page_give-reports p.donor-search{margin-left:10px}body.give_forms_page_give-payment-history .tablenav-right .tablenav-pages,body.give_forms_page_give-reports .tablenav-right .tablenav-pages{float:left}body.give_forms_page_give-payment-history .tablenav-right #give-reports-view,body.give_forms_page_give-reports .tablenav-right #give-reports-view{margin-top:0}body.give_forms_page_give-payment-history .tablenav-right .actions,body.give_forms_page_give-payment-history p.search-box,body.give_forms_page_give-reports .tablenav-right .actions,body.give_forms_page_give-reports p.search-box{float:right}body.give_forms_page_give-payment-history .reports-table-nav.tablenav.top,body.give_forms_page_give-reports .reports-table-nav.tablenav.top{width:100%;float:none;margin:0 0 10px}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top,body.give_forms_page_give-reports .reports-forms-details-wrap.top{float:left;overflow:hidden}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top #give-reports-filter,body.give_forms_page_give-reports .reports-forms-details-wrap.top #give-reports-filter{float:right}body.give_forms_page_give-payment-history .reports-forms-details-wrap.top>.actions,body.give_forms_page_give-reports .reports-forms-details-wrap.top>.actions{padding-left:0}body.give_forms_page_give-payment-history .tablenav.bottom,body.give_forms_page_give-reports .tablenav.bottom{margin-top:10px}body.give_forms_page_give-payment-history h2.reports-earnings-title,body.give_forms_page_give-reports h2.reports-earnings-title{margin:7px 0 0}body.give_forms_page_give-payment-history .reports-views-wrap,body.give_forms_page_give-reports .reports-views-wrap{padding:3px 0 0}body.give_forms_page_give-payment-history .wrap.give-reports-donors-wrap,body.give_forms_page_give-reports .wrap.give-reports-donors-wrap{margin-left:0;margin-bottom:10px}body.give_forms_page_give-payment-history .widefat tbody td,body.give_forms_page_give-payment-history .widefat tbody th,body.give_forms_page_give-reports .widefat tbody td,body.give_forms_page_give-reports .widefat tbody th{padding-top:12px;padding-bottom:12px}body.give_forms_page_give-reports table.export-options-table tbody td{padding:20px 12px;vertical-align:top}body.give_forms_page_give-reports table.export-options-table .give-export-form{position:relative}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap{background-color:transparent;padding:12px 12px 4px;margin:2px -11px -16px 0;overflow:auto}body.give_forms_page_give-reports table.export-options-table .give-export-form .notice-wrap .spinner{margin:-2px 0 8px -12px}body.give_forms_page_give-reports table.export-options-table span#give-end-wrap input,body.give_forms_page_give-reports table.export-options-table span#give-start-wrap input{width:100px}#export-donor-options-wrap p{padding:20px 0 0;margin:0;font-weight:700}#export-donor-options-wrap ul{max-width:900px;overflow:hidden}#export-donor-options-wrap ul li{margin:0;padding:0 0 5px 5px;box-sizing:border-box;float:right;width:33%}.settings-excludes-list{max-height:120px;overflow:auto;padding:.5rem;border:1px solid #ddd}.settings-excludes-list li{margin:3px 0}#give-tools-recount-form .notice-wrap{position:relative;min-height:25px;margin:10px -12px -12px;background:#efefef;padding:10px 12px 12px;border-top:1px solid #e5e5e5}#give-tools-recount-form .notice-wrap .give-progress{position:absolute;top:15px}#give-tools-recount-form .notice-wrap .spinner{position:absolute;left:14px;top:13px;margin:0}#give-tools-recount-form .notice-wrap #give-batch-success{margin-bottom:6px}.recount-stats-controls form{display:inline}.give-recount-stats-descriptions{margin:8px 0 0;display:block}.give-recount-stats-descriptions span{line-height:24px;font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0;display:none}.gateways-report-tablenav .actions.bulkactions{padding-left:0}table.give-table td{vertical-align:middle}table.give-table td.row-title h3{margin:0 0 .4em;font-size:1.2em}table.give-table td.row-title p{font-size:13px;font-style:italic;font-weight:400;color:#aaa;margin:0}#give-graphs-filter>.tablenav{height:auto}#give-logs-filter .search-box{float:left}#give-logs-filter .tablenav.top{float:right;clear:none;margin-top:0}.give-welcome-wrap{margin:0 -20px 0 0;padding:0}.give-welcome-header{background:#fff;height:100%;min-width:1000px}.give-welcome-header .give-welcome-header-inner{max-width:900px;margin:0;padding:25px 30px 20px 250px;position:relative}.give-welcome-header .give-welcome-h1{margin:0 0 0 200px;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:600;display:inline-block;margin-left:15px!important}.give-welcome-header .give-welcome-h1:before{background:url(../images/give-icon-full-circle.svg);width:36px;height:36px;content:" ";display:block;float:right;margin:0 0 0 10px;position:relative;top:4px}.give-welcome-header .give-welcome-text{font-size:20px;margin:20px 0 30px;padding:0}.give-badge{background:url(../images/give-badge.png) no-repeat 100% 0 transparent;padding-top:150px;height:52px;width:185px;color:#fff;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.8);margin:0;position:absolute;top:30px;left:20px}.give-welcome-content-wrap{padding:0;margin:0}.give-welcome-content-wrap.give-changelog-wrap{width:1140px}.give-welcome-content-intro{font-size:22px;font-style:italic;color:#8e8e8e;margin:50px 30px 60px;max-width:1400px;min-width:1000px}.give-ipad-showcase-wrap{border:3px solid #9199a5;border-radius:10px;position:relative;box-shadow:0 .75rem 2rem rgba(0,0,0,.4)}.give-ipad-showcase-wrap .give-ipad-showcase-inner{background:#fafbfb;border:10px solid #1e2026;border-radius:7px;display:grid}.give-ipad-showcase-wrap img{height:auto;max-width:100%}.give-feature-section{margin:0;padding:120px 30px}.give-feature-section__inner{display:flex;flex-direction:row;margin:0;align-items:center;justify-content:center;max-width:1400px;min-width:1000px}.give-feature-section:first-of-type{padding-top:0}.give-feature-section__step2{background:#fff}.give-feature-section span.dashicons{width:16px;height:16px;font-size:14px;margin:6px 0 0}.give-feature-section .give-feature-section-item{display:flex;width:50%}.give-feature-section .give-feature-section-item__container{padding:0 0 0 60px;margin:0}.give-feature-section .give-feature-section-item__container-right{padding-right:60px;padding-left:20px}.give-feature-section .give-feature-section-item h3{font-size:24px;font-weight:500;margin:0 0 20px}.give-feature-section .give-feature-section-item h3>.give-feature-section-item-number{background:#fff;width:40px;height:40px;margin:0 0 0 10px;padding:0;line-height:40px;text-align:center;color:#777;box-shadow:0 1px 3px 0 rgba(0,0,0,.2);border-radius:50%;display:inline-block;font-size:22px}.give-feature-section .give-feature-section-item p{font-size:16px}.give-feature-section .give-feature-section-item .give-welcome-gateway-notice{font-size:12px!important;line-height:16px}.give-feature-section .give-feature-btns{margin:30px 0 20px}.give-feature-section .give-feature-btns li{display:inline;margin:0 0 0 25px}.give-feature-section .give-feature-btns .give-feature-btn-link{font-size:15px;line-height:30px}.social-items-wrap,.social-items-wrap>div{display:inline-block}.social-items-wrap .twitter-item-wrap{margin:0 0 10px 20px}.give-welcome-widgets{background:#fff;text-align:center;padding:100px 0 160px}.give-welcome-widgets p{font-size:16px}.give-welcome-widgets__inner{max-width:1400px}.give-welcome-widgets__heading{max-width:500px;margin:0 auto 100px}.give-welcome-widgets__heading h2{font-size:26px;font-weight:500}.give-welcome-widgets__heading .button{margin-top:10px;font-size:15px}.give-welcome-widgets__col{float:right;width:33.33%;box-sizing:border-box;padding:0 20px}.give-welcome-widgets__col h3{font-size:22px;font-weight:500}.give-welcome-widgets__col h3:before{background:url(../images/happy-face.svg) no-repeat top transparent;opacity:.3;content:" ";width:100%;height:85px;display:inline-block;font-size:80px;-moz-transition:.2s all linear;-o-transition:.2s all linear;transition:all .2s linear}.give-welcome-widgets__col p{font-size:13px}.give-welcome-widgets__col:hover h3:before{opacity:.45}.give-welcome-widgets__addons h3:before{background:url(../images/shopping-cart.svg) no-repeat top transparent}.give-welcome-widgets__documentation h3:before{background:url(../images/docs-book.svg) no-repeat top transparent}.give-welcome-widgets__col-inner{max-width:300px;margin:0 auto}.give-welcome-widgets__link{font-weight:700;font-size:15px}.give-contributor-group{list-style:none}.give-contributor-group img{border-radius:50%}.give-contributor-group .give-contributor{margin:0 0 45px 10px;display:inline-block;width:140px;text-align:center}.give-contributor-group .give-contributor a{outline:none;box-shadow:none}.give-contributor-group .give-contributor span{display:block;margin:3px 0 0;font-weight:700}.give-newsletter-form-wrap{margin:10px 0 15px;padding:10px 15px 15px;background:#f1f1f1;border:1px solid #ddd;max-width:900px}.give-newsletter-form-wrap .give-newsletter-intro{font-size:14px;font-style:italic;color:#777;margin:0 0 15px}.give-newsletter-form-wrap ._form-content{display:flex;justify-content:space-between}.give-newsletter-form-wrap ._form-content>div{width:32%}.give-newsletter-form-wrap .button,.give-newsletter-form-wrap input[type=email],.give-newsletter-form-wrap input[type=text]{width:100%;height:36px}.give-newsletter-form-wrap div._form-thank-you{background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 5px 4px 10px;padding:12px;border-right:4px solid #7ad03a;display:none}.give-newsletter-form-wrap div._form-thank-you>p{margin:.5em 0;padding:2px}.give-changelog-wrap .give-changelog{max-height:510px;margin:0 30px 100px 0;padding:20px;overflow-y:scroll;overflow-x:hidden;font-size:18px;line-height:28px;background:#fff;border:1px solid #ddd}.give-changelog-wrap .give-changelog br:first-child,.give-changelog-wrap .give-changelog br:first-child+br{display:none}.give-changelog-wrap .give-changelog h4{margin:0 0 10px;border-bottom:1px solid #e2e2e2;padding:0 0 6px;font-size:20px}.give-changelog-wrap .give-changelog h4+br{display:none}.dashboard_page_give-changelog #wpbody-content,.dashboard_page_give-getting-started #wpbody-content{padding-bottom:0}#give-paypal-connect{background:#039cde;color:#fff;font-size:14px;line-height:30px;font-weight:700;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;box-shadow:none;text-decoration:none;padding:8px 20px;border-radius:40px}#give-paypal-connect span:before{content:" ";width:16px;height:16px;display:inline-block;margin:0 0 0 8px;background-image:url(../images/paypal-48.png);background-size:16px;position:relative;top:2px}#give_donor_export_form{margin:0 0 5px}#give_donor_export #give_donor_export_form_chosen{display:block;margin:5px 0 1px}.column-status .give-donation-status,.column-status .give-test-mode-transactions-label{display:inline-block}.column-status .give-test-mode-transactions-label{margin:0 5px;vertical-align:middle}.give-settings-page .give-settings-section-content{display:flex;background-color:#f4f4f4;border-radius:8px;-webkit-box-shadow:0 0 5px 0 #ddd;-moz-box-shadow:0 0 5px 0 #ddd;box-shadow:0 0 5px 0 #ddd}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:250px}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul,.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li{margin:0}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a{display:block;padding:20px;text-decoration:none;color:#333;font-weight:600;outline:none;box-shadow:none}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a:hover{background-color:#ebebeb}.give-settings-page .give-settings-section-content .give-settings-section-group-menu ul li a.active{background-color:#fff;border-right:4px solid #66bb6a;color:#333}.give-settings-page .give-settings-section-content .give-settings-section-group-content{width:100%;background:#fff;padding:10px 30px;border-bottom-left-radius:8px;border-top-left-radius:8px;min-height:400px}@media only screen and (max-width:480px){.give-settings-page .give-settings-section-content{flex-flow:row wrap}.give-settings-page .give-settings-section-content .give-settings-section-group-menu{width:100%}.give-settings-page .give-settings-section-content .give-settings-section-group-content{padding:10px}}.give-settings-page{margin:0 2px 0 20px}.give-settings-page #poststuff{padding-top:25px}.give-settings-page .give-settings-header{background:#fff;padding:10px 20px;margin:0 -22px 0 -20px}.give-settings-page .give-settings-heading-sep{font-size:14px;line-height:32px;width:15px}.give-settings-page .nav-tab-wrapper{height:54px;margin:0 -22px 0 -20px}.give-settings-page .give-subsubsub{list-style:none;margin:12px 0 3px;padding:0;float:right}.give-settings-page .give-subsubsub li{display:inline-block;margin:0 3px 0 0;padding:0;white-space:nowrap;color:#d3d3d3;font-weight:300;font-size:16px}.give-settings-page .give-subsubsub a{line-height:2;padding:.2em;margin:0 0 0 3px;text-decoration:none;font-size:14px;box-shadow:none;font-weight:400}.give-settings-page .give-subsubsub a.current{color:#000;font-weight:600;border:none}.give-settings-page .give-setting-tab-body{max-width:1260px}.give-settings-page div.give-submit-wrap{margin:20px 0}.give-settings-page .give_forms_page_give-payment-history .postbox .hndle{cursor:default}.give-settings-page .give-input-field{width:25em}.give-settings-page table table input[type=text]{width:15em}.give-settings-page .give-repeat-setting-field{margin:10px 0}.give-settings-page .give-remove-setting-field{width:25px;height:25px;padding:0;text-align:center;line-height:22px;font-size:21px;font-weight:300;cursor:pointer;margin-right:20px;display:inline-block}.give-settings-page .give-remove-setting-field:hover{background-color:red;color:#fff;border-radius:30px}.give-settings-page .give-forminp p:first-child .give-remove-setting-field{display:none}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd){background:#f4f3f3}.give-settings-page .export-options-table tr.give-import-option:nth-child(odd) th{vertical-align:middle}.give-settings-page .export-options-table .give-import-dropdown:nth-child(2),.give-settings-page .export-options-table tr.give-import-option th:first-child{width:250px}.give-setting-tab-header{clear:both;overflow:hidden;margin:30px 0}.give-setting-tab-header h2{margin-top:8px}.give-setting-tab-header p{margin-top:0;margin-bottom:0}.give-radio-inline ul{margin-top:0}.give-radio-inline li{display:inline-block;margin:0 15px 0 0}.give-radio-inline li:first-child{margin-right:0}.give-tools-setting-page .bulkactions{overflow:visible}.form-table td.give-radio-inline fieldset li>label{margin:5px 0 0!important}div.give-field-description,p.give-field-description{color:#666;font-style:italic;font-size:14px!important;line-height:22px}div.give-field-description strong,p.give-field-description strong{color:#777}.give-setting-tab-header h2{float:right;display:inline-block;width:220px;font-style:italic;color:#aaa;margin:0;font-size:14px}.gateway-enabled-wrap{background-color:#f7f7f7;border:1px solid #e5e5e5}.gateway-enabled-wrap .gateway-enabled-settings-title{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;grid-gap:20px;border-bottom:1px solid #e5e5e5;padding:1rem;font-weight:600}.gateway-enabled-wrap .ui-sortable-placeholder{visibility:visible!important;border:2px dashed #e5e5e5;transition:all .2s ease}.gateway-enabled-wrap .ui-sortable-helper{background-color:#fafafa;box-shadow:0 4px 20px -5px rgba(0,0,0,.25);border:1px solid #e5e5e5;padding:.5rem!important}.give-payment-gatways-list{margin:0;padding:1rem}.give-payment-gatways-list li{display:grid;grid-template-columns:.5fr 2.5fr 5fr 1fr 1fr;align-items:center;grid-gap:20px;margin:0;padding:.5rem 0}.give-payment-gatways-list li:first-child{padding-top:0}.give-payment-gatways-list li:last-child{padding-bottom:0}.give-payment-gatways-list li .checkout-label{padding:3px 5px}.give-payment-gatways-list li .gateways-checkbox,.give-payment-gatways-list li .gateways-radio{justify-self:center}.give-payment-gatways-list li span.give-drag-handle{padding:3px 0 0 4px;font-size:15px;font-weight:400;color:#bdbdbd;cursor:move}.give-payment-gatways-list li span.give-drag-handle:hover{color:#333}.give-gateways-notice{display:table;width:100%;max-width:1240px;background:#fff;margin:15px 0 0;padding:0;border:1px solid #e3e3e3}.give-gateways-notice .give-gateways-cc-icon{margin:0;padding:0 25px 0 15px;height:30px;width:30px;display:table-cell;vertical-align:middle}.give-gateways-notice .give-gateways-cc-icon svg{position:relative;top:2px;width:50px;height:40px}.give-gateways-notice .give-gateways-notice-title{font-size:16px;margin:20px 20px 0;padding:0}.give-gateways-notice .give-gateways-notice-message{line-height:24px;font-size:14px;margin:5px 20px 20px}.give-gateways-notice .give-gateways-notice-button{display:table-cell;vertical-align:middle;text-align:left;margin:0;padding:0 0 0 15px;width:200px}.give-gateways-notice .give-gateways-notice-button #give-stripe-connect{margin:0 0 10px}.give-gateways-notice .give-gateways-notice-button .give-view-gateways-btn{text-align:center;width:190px}.give-email-tags-wrap{margin:5px 0 0}.give-email-tags-wrap code{font-style:normal;padding:1px 2px;font-size:12px}.give-email-tags-wrap span{display:block;color:#aaa;font-style:italic;margin:0 0 2px;font-size:13px}.give-email-tags-wrap .give_price_tag,.give-email-tags-wrap .give_receipt_id_tag{display:none}.give-setting-tab-header-emails{margin:20px 0}.give-setting-tab-header-emails hr,.give-settings-admin-email-section .tablenav,.give-settings-donor-email-section .tablenav,.give-settings-email-settings-section .tablenav{display:none}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails{margin:20px 0}.give-settings-admin-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-donor-email-section .tablenav.bottom+.give-setting-tab-header-emails hr,.give-settings-email-settings-section .tablenav.bottom+.give-setting-tab-header-emails hr{display:block}.giveemailnotifications .check-column{padding:13px 20px 0 10px!important}.giveemailnotifications td.check-column input{display:none}.giveemailnotifications th.check-column .give-email-notification-status{color:#fff;cursor:pointer}.giveemailnotifications th.check-column .give-email-notification-status[data-edit="1"] i.dashicons{border-radius:1em;padding:2px}.giveemailnotifications th.check-column .give-email-notification-disabled:hover .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-yes{background:#46b450}.giveemailnotifications th.check-column .give-email-notification-enabled .dashicons-lock{color:#46b450}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-no-alt,.giveemailnotifications th.check-column .give-email-notification-enabled:hover .dashicons-yes{background:#bbb}.giveemailnotifications th.check-column .give-email-notification-disabled .dashicons-lock{color:#bbb}.giveemailnotifications th.check-column .dashicons-no-alt:hover:before{content:"\f147"!important}.giveemailnotifications th.check-column .dashicons-yes:hover:before{content:"\f335"!important}.giveemailnotifications .spinner.is-active{margin:0 2px 0 0;float:none}#system-info-textarea{width:800px;height:600px;font-family:Menlo,Monaco,monospace;background:#fff;white-space:pre;overflow:auto;display:block;direction:rtl}#give-download-sysinfo{margin:0}#api .tablenav .actions{overflow:visible}a.give-delete{color:#a00}.give-table thead th{padding:8px 10px!important}.post-type-give_forms .mce-container iframe,.post-type-give_forms .wp-editor-area{min-height:400px}.give-field-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}.give-image-thumb{position:relative;margin-top:14px}.give-image-thumb span.give-delete-image-thumb{position:absolute;background:red;color:#fff;border-radius:30px;right:-10px;top:-10px;cursor:pointer}.give-image-thumb img{max-width:250px;border:4px solid #fff}.give_email_access_link_tag{display:none}.give-license-settings-wrap{max-width:1240px;min-width:1000px;margin:20px -10px 0 0;padding:0}.give-license-top-widget{border:1px solid #dbdbdb;min-height:250px}.give-license-top-widget .give-license-widget-heading{font-size:20px;margin:0 0 15px;padding:0 0 15px;border-bottom:1px solid #dbdbdb;line-height:1.2em}.give-license-top-widget .give-license-widget-heading .dashicons{height:25px;width:25px;font-size:28px;margin:-5px 0 0 10px}.give-license-top-widget .give-field-description{margin:0 0 20px;padding:0}#give-license-activator-wrap{background:#fff;margin:0;padding:30px}#give-license-activator-wrap .give-license-activation-form{background:#f4f4f4;padding:10px;position:relative}#give-license-activator-wrap .give-license-notices{position:absolute;background:#f4f4f4;top:0;right:0;height:100%;width:100%;padding:20px;z-index:3;box-sizing:border-box;display:none}#give-license-activator-wrap .give-license-notices .notice{position:relative;padding-left:40px}#give-license-activator-wrap #give-license-activator{font-size:22px;height:55px;padding:0 15px;margin:0 0 10px;width:100%}#give-license-activator-wrap .button{height:45px;width:100%;font-size:18px;display:block;clear:both;margin:0}#give-addon-uploader-wrap{background:#fff;padding:30px 25px 25px;margin:0}.give-upload-addon-form-wrap{position:relative}.give-upload-addon-form-wrap .give-upload-addon-instructions{margin:0;padding:0;opacity:.4;font-size:16px}.give-upload-addon-form-wrap .give-upload-addon-instructions span{display:block;margin:8px 0;font-size:14px}.give-upload-addon-form-wrap #give-upload-addon-file-select{display:none}.give-upload-addon-form-wrap .give-spinner-wrap{position:absolute;right:0;top:0;left:0;bottom:0;z-index:99;background-color:#fff}.give-upload-addon-form-wrap .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-right:42%}.give-upload-addon-form{background:#f4f4f4;padding:25px;text-align:center;outline:2px dashed #e2e2e2;outline-offset:-10px;transition:outline-offset .15s ease-in-out,background-color .15s linear;position:relative}.give-upload-addon-form.give-dropzone-active{outline-offset:-13px;outline:2px dashed #c6c6c6;background:#eaeaea}.give-upload-addon-form .give-addon-upload-notices{position:absolute;background:hsla(0,0%,100%,.66);top:0;right:0;height:100%;width:100%;padding:20px;z-index:3;text-align:right;box-sizing:border-box;display:none}.give-upload-addon-form .give-activate-addon-wrap{display:none;border:1px solid #dbdbdb;background:#fff;position:absolute;padding-top:20px;top:0;right:0;height:100%;width:100%;z-index:4;box-sizing:border-box}.give-upload-addon-form .give-activate-addon-wrap .dashicons{color:#66bb6a}#give-licenses-container{position:relative}#give-licenses-container .give-spinner-wrap{position:absolute;right:0;top:0;left:0;bottom:0;z-index:99;background-color:#fff}#give-licenses-container .give-spinner-wrap .give-spinner-inner{margin-top:5%;margin-right:45%}.give-licenses-list-header{margin:20px 0 30px;padding:0}.give-licenses-list-header h2{float:right;margin:0 0 20px;padding:0;font-size:18px}.give-licenses-list-header #give-refresh-button-wrap{float:right;margin:-6px 25px 0 0}.give-licenses-list-header #give-refresh-button-wrap #give-last-refresh-notice{margin:0 10px 0 0;line-height:28px;color:#666}.give-licenses-list-header hr{clear:both}.give-addon-wrap{border:1px solid #dbdbdb;background:#fff;padding:0;margin:0 0 20px;position:relative}.give-addon-wrap .give-license-top{background:#f4f4f4;border-bottom:1px solid #dbdbdb;display:flex;color:#333}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown{background:#f4f4f4;border-bottom:1px solid #dbdbdb;padding:30px}.give-addon-wrap .give-license-notice-container.give-addon-notice-shown .notice{margin:0}.give-addon-wrap .give-license-top-header{display:block;font-size:15px;margin:0 0 20px;font-weight:700;color:#23282d}.give-addon-wrap .give-license-top-column{float:right;padding:30px;flex:1}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap,.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{border-left:1px solid #dbdbdb}.give-addon-wrap .give-license-top-column.give-license-key-field-wrap{flex:1.45;padding-left:10px}.give-addon-wrap .give-license-top-column.give-license-info-field-wrap .give-field-description{padding-top:0}.give-addon-wrap .give-license__status{margin:10px -4px 0 0;padding:0}.give-addon-wrap .give-license__status .dashicons-yes{color:#66bb6a}.give-addon-wrap .give-license__status .dashicons-no{color:#a00}.give-addon-wrap .give-license__key{display:inline-block}.give-addon-wrap .give-license__key input[type=text]{margin:0 0 0 10px}.give-addon-wrap .give-license__key button{font-size:15px;position:relative;top:-1px}@media (min-width:1400px){.give-addon-wrap .give-license__key input[type=text]{min-width:290px;height:40px;font-size:18px;padding:10px}.give-addon-wrap .give-license__key button{width:110px;height:40px}}@media (max-width:1399px){.give-addon-wrap .give-license__key input[type=text]{min-width:230px;height:35px;font-size:15px;padding:8px}.give-addon-wrap .give-license__key button{width:85px;height:35px;font-size:1em}}.give-addon-wrap .give-license-action-link{display:block;margin:0 0 15px;box-shadow:none}.give-addon-wrap .give-license-renewal-date .dashicons{opacity:.8;margin:0 0 0 3px;position:relative;top:-2px}.give-addon-wrap .give-license-activations-remaining-icon{border-radius:100%;height:20px;width:20px;display:inline-block;padding:1px;font-size:12px;line-height:20px;text-align:center;font-weight:700;margin:0 0 0 2px}.give-addon-wrap .give-plugin__info{padding:6px 9px}.give-addon-wrap .give-plugin__status{border:none;padding:0 5px;line-height:20px!important}.give-addon-info-wrap{margin:30px;padding:20px;background:#f4f4f4;border:1px solid #dbdbdb;color:#333}.give-addon-info-wrap .give-addon-info-left{float:right}.give-addon-info-wrap .give-addon-name{font-weight:700;font-size:14px}.give-addon-info-wrap .give-addon-version{font-size:11px;margin:0 20px 0 0}.give-addon-info-wrap .give-addon-info-right{float:left}.give-addon-info-wrap .give-addon-info-right .give-button{margin:-5px 0 0;position:relative;top:2px;height:auto}.give-addon-info-wrap .give-addon-info-right .give-button .dashicons{font-size:14px;width:14px;height:14px;margin-left:3px;margin-top:5px}.give-addon-info-wrap .give-addon-activation-status{border-radius:4px;color:#fff;background:#777;padding:3px 8px;margin:0 0 0 15px;font-size:11px}.give-addon-info-wrap .give-addon-activation-status__activated{background:#7ad03a;text-shadow:0 0 1px #4b8420}.give-addon-info-wrap .give-addon-view-changelog{margin:0 0 0 15px;font-size:12px}.give-filters{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;padding:12px 12px 0}.give-filters .give-donation-forms-filter .chosen-single{height:28px;line-height:28px}.give-filters .chosen-container-single .chosen-single div b{background-position:100% 4px}.give-filters .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 6px}.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{display:inline-block;width:300px}@media screen and (max-width:782px){.give-filters #give-payment-form-filter,.give-filters #give_donation_forms_filter{width:100%}}.give-filters #give-payment-date-filters label,.give-filters #give-payment-form-filter label{vertical-align:initial}.give-filters #give-payment-date-filters label.give-donation-forms-filter-label,.give-filters #give-payment-form-filter label.give-donation-forms-filter-label{vertical-align:middle}.give-filters #give_donation_forms_filter{width:255px}@media screen and (max-width:782px){.give-filters #give_donation_forms_filter{width:100%;max-width:100%}}.give-filters:after{content:"";display:table;clear:both}.give-filter{display:block;margin-bottom:12px;width:100%}.give-filter:after{content:"";display:table;clear:both}.give-filter label{display:block;margin-left:4px}.give-filter input{margin:0}.give-filter input[type=text]{height:28px;width:100%}.give-filter input[type=search],.give-filter input[type=text]{height:28px}.give-filter .button{height:28px;line-height:26px;margin:0;padding:0 10px 1px}.give-filter select{width:100%}@media screen and (min-width:783px){.give-filter{float:right;margin-left:18px;width:auto}.give-filter label{display:inline-block}.give-filter input[type=text]{display:inline-block;width:144px}}.give-filter-search input[type=search]#give-payments-search-input{display:block;float:right;width:205px;max-width:100%}.give-filter-search input[type=submit]{display:block;float:left;width:30%}@media screen and (min-width:783px){.give-filter-search input[type=search]{display:inline-block;margin-left:4px;width:auto}.give-filter-search input[type=submit]{display:inline-block;width:auto}}@media screen and (min-width:600px){.give-filter-half{float:right;width:49%}.give-filter-half:last-child{float:left}}@media screen and (min-width:783px){.give-filter-half{width:auto}.give-filter-half:last-child{float:right}.give-filter-half input[type=text]{width:96px}}.give-clear-filters-button{margin-right:8px}.give-submit-wrap{clear:both;background:#f5f5f5;border:1px solid #dfdfdf;margin:8px 0;padding:12px;font-size:13px;line-height:2.1em}#give-payment-filters ul.subsubsub{margin-bottom:8px}#give-payments-advanced-filter ul.subsubsub{margin-bottom:12px}#give-payments-filter .tablenav.top{float:none}#give-payments-filter .tablenav.top .bulkactions{margin-top:1px;padding-top:0}#give-payments-filter .give-email-column-value{font-size:14px;font-weight:700}#give-payments-filter #the-list .check-column input{margin-top:1px}#give-payments-filter .column-details{width:50px}#give-payments-filter .column-amount{width:120px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}.wp-list-table.forms th#date{width:140px}.give-mobile-link{line-height:32px;vertical-align:middle}.give-mobile-link img{max-width:80%;height:auto;float:right}.give-donation-status>span{display:inline-block;width:12px;height:12px;position:relative;top:1px;margin:0;padding:0;border-radius:50%;background:#888;line-height:16px}.give-donation-status.status-pending>span{background-color:#ffba00}.give-donation-status.status-complete>span,.give-donation-status.status-publish>span{background-color:#7ad03a}.give-donation-status.status-refunded>span{background-color:#777}.give-donation-status.status-failed>span{background-color:#a00}.give-donation-status.status-abandoned>span{background-color:#333}.give-donation-status.status-revoked>span{background-color:#d9534f}.give-donation-status.status-give_subscription>span,.give-donation-status.status-renewal>span,.give-donation-status.status-subscription>span{background-color:#5bc0de}#test-payment-label{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#ffba00;margin:0 15px;vertical-align:middle}#test-payment-label:hover{color:#fff;text-decoration:none}#give-payments-filter .give-payment-id{padding:.2em .4em .3em;font-size:11px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;font-weight:400}#give-payments-filter .give-payment-id:hover{color:#fff;text-decoration:none}#give-payments-filter .column-details{padding-left:30px}#give-payments-filter .give-donation-status{display:inline-block}#give-order-update .give-donation-status{display:inline-block;float:none;margin:0 10px;position:relative;top:3px}#give-order-update .give-order-top{border-bottom:1px solid #eee;overflow-x:auto;white-space:nowrap;width:100%}#give-order-update .give-order-top h3.hndle{float:right;border:none;display:inline-block}#give-order-update .give-order-top .delete-donation{display:inline-block;float:left}#give-order-update .give-order-top .delete-donation a{width:18px;height:16px;display:block;margin:11px 15px;content:"\f182";font-size:18px;color:#b5b5b5}#give-order-update .give-order-top .delete-donation a:focus,#give-order-update .give-order-top .delete-donation a:hover{color:red;box-shadow:none}.column-donation_form .donation-level-text-wrap{font-style:italic;display:block}@media handheld,only screen and (max-width:640px){.wp-list-table.forms th{width:auto!important}}.download_page_give-payment-history .ui-dialog .ui-dialog-titlebar-close span{margin-right:-8px;margin-top:-8px}.give-admin-box .label{font-weight:600}.give-admin-box-inside{margin:0;padding:3px 10px;clear:both;border-bottom:1px solid #eee;word-break:break-word}.give-admin-box-inside .strong{font-weight:600}.give-admin-box .right{float:left}#give-order-details .inside,#give-order-update .inside{margin:0;padding:0}#give-order-update input.give_datepicker{width:180px}#give-order-update input[type=number].give-payment-time-hour,#give-order-update input[type=number].give-payment-time-min{width:50px}.give-admin-box-inside:last-child{border-bottom:0}#give-edit-order-form .data-payment-key{word-break:break-all}.give-order-update-box #major-publishing-actions .button-secondary{margin-left:10px}#give-donation-overview th{text-align:right}#give-donation-overview .give-select-chosen{width:97%}#give-edit-order-form .row{margin-top:10px}#give-donation-overview ul,#give-donor-details .order-data-address input,#give-donor-details .order-data-column p.data input,#give-edit-order-form .column input,#give-order-address-country-wrap select{clear:both;display:block}.give-order-data input.small-text{margin:0}#give-order-update span.label{display:inline;width:50px}.give-order-update-box .button-primary{margin-left:0}#give-edit-order-form .column .description{padding-left:10px}#give-donation-overview .inside>ul>li,#give-donation-overview .row>ul>li,#give-edit-order-form .column{display:inline-block;position:relative;vertical-align:top}#give-donation-overview ul{font-size:0}#give-donation-overview ul li{font-size:13px}#give-donation-overview ul li.actions{text-align:left;min-width:200px}#give-donation-overview ul li.remove{text-align:left}#give-donation-overview ul .row{padding:12px;border-bottom:1px solid #eee}#give-order-data .data span{color:#666;font-weight:600}input.give-price-field{width:80px;padding:3px 5px}.give_forms_page_give-payment-history.js .postbox .hndle{cursor:default}#give-payment-notes textarea{min-height:150px}#give-payment-notes #give-add-payment-note{margin:6px 0 15px}#give_comment{min-height:150px}#give-billing-details .column>div{margin:0 0 10px}#give-billing-details label{display:block;margin-bottom:5px}#give-billing-details .column-container{padding:5px 0 10px}#give-billing-details input[type=text]{width:98%}#give-billing-details .chosen-container{width:98%!important}@media screen and (min-width:1200px){#give-edit-order-form .column{width:33%}#give-order-address .column{width:49%}#give-donation-overview.columns-4 li.actions{width:25%;margin-top:0;margin-left:0}}@media screen and (max-width:1199px){#give-edit-order-form .column{width:49%}}@media screen and (max-width:782px){.order-data-column input[type=email]{padding:6px 10px}}#give-donation-overview .inside,#give-donor-details .inside{margin-top:0}.give_forms_page_give-payment-history #give-dashboard-widgets-wrap #side-sortables{padding-top:0}.give-select-chosen .spinner,.give-select .spinner{position:absolute;left:5px;top:2px;z-index:999}.give-select-chosen-ajax .spinner{visibility:visible}.give-select-chosen-ajax.chosen-container-single .chosen-search input[type=text],.give-select-chosen-ajax .chosen-search input[type=text]{background-image:none!important}.give-dashboard-widget .give-dashboard-today{text-align:center}.give-dashboard-widget .give-dashboard-today .give-dashboard-date-today{margin:10px 0 0;padding:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-happy-day{padding:3px;margin:0}.give-dashboard-widget .give-dashboard-today .give-dashboard-today-earnings{font-size:42px;color:#4ead61;font-weight:700;margin:15px 0 0;line-height:1}.give-dashboard-widget .give-dashboard-today .give-donations-today{font-size:18px;font-weight:700;margin:0 0 30px;padding:4px 0 1px}.give-dashboard-widget .give-dashboard-today .give-last-seven{font-size:14px;font-weight:700;padding:0;margin:0 0 30px}.give-dashboard-widget .give-table-stats{width:100%;text-align:center;margin:0;table-layout:fixed;border-top:1px solid #ececec;border-spacing:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total,.give-dashboard-widget .give-table-stats .give-dashboard-stat-total-label{padding:0;margin:0}.give-dashboard-widget .give-table-stats .give-dashboard-stat-total{color:#4ead61;font-weight:700;font-size:16px}#give_dashboard_sales>.inside{padding:0}#give_dashboard_sales .give-table-stats td{padding:10px 0}#give_dashboard_sales .give-table-stats td:first-of-type{border-left:1px solid #ececec}#give_dashboard_sales .give-table-stats tr#give-table-stats-tr-1 td{border-bottom:1px solid #ececec}#dashboard_right_now .give-forms-count:before{font-family:give-icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:18px;width:18px;height:18px;content:"\e800"}.give-range_slider_field{margin-top:.8rem}.give_forms_page_give-donors .wp-heading-inline+.notice:first-of-type{margin-top:25px}.give_forms_page_give-donors .give-nav-tab-wrapper{margin:10px -20px 20px}.give_forms_page_give-donors #give-donors-filter{position:relative}.give_forms_page_give-donors #give-donors-filter p.search-box{margin:0}.give_forms_page_give-donors #give-donors-search-filter{display:block;overflow:hidden}.give_forms_page_give-donors #give-donor-card-wrapper{margin-right:-1px;z-index:2;min-height:200px}.give_forms_page_give-donors #give-donor-card-wrapper input{font-weight:400}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section{border-bottom:1px solid #eee;margin-bottom:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section .give-donor-search-box{margin-left:25px;width:auto;display:inline-block;float:right}.give_forms_page_give-donors #give-donor-card-wrapper .donor-section table{margin-bottom:0}.give_forms_page_give-donors #give-donor-card-wrapper>div:first-child{padding-top:20px}.give_forms_page_give-donors #give-donor-card-wrapper>div:last-child{padding-bottom:20px;border:none}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap{padding:0 0 15px 15px;text-align:center;float:right}.give_forms_page_give-donors #give-donor-card-wrapper .avatar-wrap img{border-radius:50%}.give_forms_page_give-donors #give-donor-card-wrapper a.delete{text-decoration:none;color:red;margin-left:5px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-since{margin:10px 0;font-size:16px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-id{display:inline-block;font-size:24px;font-weight:600;margin-left:10px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-name-wrap{display:inline-block}.give_forms_page_give-donors #give-donor-card-wrapper .donor-bio-header .donor-edit-link{margin-bottom:15px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box{display:inline-block;float:right;margin-left:18px}.give_forms_page_give-donors #give-donor-filters .give-donor-search-box input#give-donors-search-input{width:205px;max-width:100%}.give_forms_page_give-donors #give-donor-filters label{vertical-align:initial}.give_forms_page_give-donors #give-donor-filters label.give-donation-forms-filter-label{vertical-align:middle}.give_forms_page_give-donors .donor-main-wrapper{clear:both;margin:0 0 20px}@media (max-width:655px){.give_forms_page_give-donors .donor-main-wrapper{width:100%}}.give_forms_page_give-donors .donor-main-wrapper table{margin:0}.give_forms_page_give-donors .donor-main-wrapper input[type=email],.give_forms_page_give-donors .donor-main-wrapper input[type=number],.give_forms_page_give-donors .donor-main-wrapper input[type=text]{width:200px}.give_forms_page_give-donors #donor-summary{padding:0 20px}.give_forms_page_give-donors #donor-summary:after{font-family:dashicons;content:"\f110";position:absolute;top:10px;left:10px;font-size:100px;color:#f0f0f0;z-index:0}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper{width:202px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper span[data-key=line2]{display:table;clear:both}.give_forms_page_give-donors #give-donor-card-wrapper .donor-address-wrapper select{width:200px}.give_forms_page_give-donors #give-donor-card-wrapper .donor-info{min-height:185px}.give_forms_page_give-donors #give-donor-card-wrapper .info-wrapper{min-height:125px}.give_forms_page_give-donors .donor-info .donor-name{font-size:24px;font-weight:600}.give_forms_page_give-donors #disconnect-donor,.give_forms_page_give-donors #view-user-profile{font-size:12px;font-weight:400;text-decoration:none}.give_forms_page_give-donors #donor-edit-actions{text-align:center;margin-bottom:20px;line-height:28px}.give_forms_page_give-donors #donor-edit-actions .button-secondary{margin-left:10px}.give_forms_page_give-donors #give-donor-card-wrapper .edit-item{display:none}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results{right:1px;top:16px}.give_forms_page_give-donors #give-donor-card-wrapper .give_user_search_results ul{width:200px}.give_forms_page_give-donors #donor-stats-wrapper{margin:0 auto;text-align:center;padding:15px}.give_forms_page_give-donors #donor-stats-wrapper ul{margin:0;padding:0;overflow:hidden}.give_forms_page_give-donors #donor-stats-wrapper ul li{width:50%;float:right;line-height:22px;font-size:14px;margin:0}.give_forms_page_give-donors #donor-stats-wrapper a{text-decoration:none}.give_forms_page_give-donors #donor-stats-wrapper .dashicons{color:#888}.give_forms_page_give-donors #donor-tables-wrapper table{width:100%;text-align:center}.give_forms_page_give-donors #donor-tables-wrapper th{text-align:center}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .donations tr>th:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>td:first-child,.give_forms_page_give-donors #donor-tables-wrapper .emails tr>th:first-child{text-align:right}.give_forms_page_give-donors #donor-tables-wrapper .donations tr>td:only-child{text-align:center}.give_forms_page_give-donors #donor-notes-wrapper{min-height:50px}.give_forms_page_give-donors .donor-notes-header img,.give_forms_page_give-donors .donor-notes-header span{font-weight:600;line-height:30px;vertical-align:middle}.give_forms_page_give-donors .donor-note-input{width:100%;margin-bottom:5px}.give_forms_page_give-donors #give-donor-notes div:nth-of-type(2n){background-color:#f9f9f9}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:0}.give_forms_page_give-donors #give-donor-notes .donor-note-wrapper .note-content-wrap{padding:10px 12px;line-height:20px;font-size:14px}.give_forms_page_give-donors #give-donor-notes .give-no-donor-notes{text-align:center;padding:20px}.give_forms_page_give-donors .donor-note-wrapper span{display:block}.give_forms_page_give-donors .delete-donor{text-align:center}.give_forms_page_give-donors .give-lock-block{margin-right:-25px;text-decoration:none;font-size:14px;margin-left:3px}.give_forms_page_give-donors .give-lock-block i{color:#000;font-size:14px}.give_forms_page_give-donors #donor-address-wrapper .give-no-address-message{margin:.5rem 1%;line-height:3.4em}.give_forms_page_give-donors #donor-address-wrapper .give-donor-addresses .inside{padding-bottom:0}.give_forms_page_give-donors #donor-address-wrapper .add-new-address{margin:.5rem 1%!important}.give_forms_page_give-donors #donor-address-wrapper .add-new-address-form-hidden{position:absolute;left:13px;right:13px;top:0;visibility:hidden}.give_forms_page_give-donors #donor-address-wrapper .all-address .address{min-height:146px;border:1px solid #dad9d9;padding:9px;border-radius:5px;background-color:#fff}.give_forms_page_give-donors #donor-address-wrapper .all-address .address .address-number-label{color:grey;cursor:default}.give_forms_page_give-donors #donor-address-wrapper .all-address .address a{text-decoration:none}.give_forms_page_give-donors .comments td:nth-child(3n){text-align:right}.give_forms_page_give-donors .give-donor-admin-avatar{width:40px;height:40px;border-radius:50%;border:1px solid #e5e5e5;float:right;vertical-align:middle;margin-left:10px;line-height:40px;text-align:center}.give_forms_page_give-donors .give-donor-admin-avatar img{border-radius:50%;width:40px;height:40px}.give_forms_page_give-donors .give-donor-name-text{font-weight:600;font-size:14px}.give_forms_page_give-donors .give-donor-id{color:#555}.give_forms_page_give-donors .give-donor-name:focus{box-shadow:none;outline:none}.give_forms_page_give-donors #donor-avatar .give-donor-admin-avatar,.give_forms_page_give-donors #donor-avatar img{width:96px;height:96px;line-height:96px;margin-left:0;font-size:36px}@media screen and (max-width:782px){#wp-content-media-buttons a.give-thickbox{padding:6px 14px;line-height:normal;font-size:14px;height:auto}.wp-media-buttons span#give-media-button{margin-top:0!important;margin-right:2px!important}}.mce-primary.mce-give-primary button{padding-left:10px;padding-right:10px}.wp-core-ui .give-admin-button{padding-right:7px;padding-left:7px}.give-admin-button-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}.give-admin-button-icon:before{font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.give-admin-button-icon-update:before{content:"\f463"}.give-status-table{margin-bottom:1em}.give-status-table h2{font-size:14px;margin:0}.give-status-table tr:nth-child(2n) td,.give-status-table tr:nth-child(2n) th{background:#fcfcfc}.give-status-table th{font-weight:700;padding:9px}.give-status-table td:first-child{width:33%}.give-status-table td.help{width:1em}.give-status-table td{padding:9px;font-size:1.1em}.give-status-table td mark{background:transparent none}.give-status-table td mark.yes{color:#7ad03a}.give-status-table td mark.no{color:#999}.give-status-table td mark.error{color:#a00}.give-status-table td ul{margin:0}.wrap div.give-debug-report-wrapper{margin-bottom:5px}.wrap div.give-debug-report-wrapper p{font-size:18px;margin:1em 0 .7em;padding:0}.wrap div.give-debug-report-wrapper .give-debug-report-actions{margin:0 0 1.7em}.wrap div.give-debug-report-wrapper .give-debug-report-actions .js-give-debug-report-button{margin-left:10px}.wrap div.give-debug-report-wrapper .give-debug-report-actions .dashicons{font-size:16px;position:relative;top:4px;right:-2px}.give-debug-report{display:none;margin:10px 0;padding:0;position:relative}.give-debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}.give-progress{height:15px;width:95%;border-radius:4px;overflow:hidden;background-color:#f5f5f5}.give-progress>div{height:100%;width:0}.admin-color-fresh .give-progress div,.give-progress div{background:#0073aa}.admin-color-light .give-progress div{background:#888}.admin-color-blue .give-progress div{background:#096484}.admin-color-coffee .give-progress div{background:#c7a589}.admin-color-ectoplasm .give-progress div{background:#a3b745}.admin-color-midnight .give-progress div{background:#e14d43}.admin-color-sunrise .give-progress div{background:#dd823b}.give-spinner-wrapper{position:absolute;right:0;left:0;bottom:0;top:0;background:hsla(0,0%,96.1%,.57);z-index:1;display:none}.give-spinner-wrapper.is-active{display:inline-block}.give-spinner-wrapper .aligncenter{position:absolute;top:50%;right:50%;margin:10px 0 0 10px}.give-spinner.is-show,.give-spinner.spinner.is-active{margin:0 2px 0 0;float:none}.give-spinner.is-show{visibility:visible}ul.give-radio-inline input,ul.give-radio-inline li{display:inline-block!important}.chosen-container a{transition:none}.give-width-25em{width:25em}.give-spinner-wrap{position:relative}.give-spinner-wrap .spinner{float:none;margin-top:0;margin-left:0}.give-update-panel-content p{font-size:16px}#give-updates .give-update-panel-content{margin:0 0 30px}#give-updates .give-update-panel-content p{font-size:17px;font-style:italic;margin:0}#give-updates .dashicons-no-alt{color:red}#give-updates .dashicons-yes{color:green}#give-updates #give-db-updates .spinner{margin-top:0}#give-updates #give-updates-content{max-width:1200px}#give-updates .give-update-paused-text-p{margin:0 0 0 20px;line-height:30px;font-style:italic;font-size:14px}body.give_forms_page_give-updates .give-run-update-containt .give-run-update-button{margin-left:10px}.give-blank-slate{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0 auto;padding:40px;text-align:center}.give-blank-slate :last-child{margin-bottom:0}.give-blank-slate__cta,.give-blank-slate__heading,.give-blank-slate__help,.give-blank-slate__message{margin:0 0 10px}.give-blank-slate__image{display:block;height:80px!important;margin:0 auto 10px;width:auto}.give-blank-slate__select{margin-bottom:20px}.give-blank-slate__help{color:#666;font-style:italic}.give-blank-slate__help a{display:inline-block;text-decoration:underline}.give-blank-slate a.give-blank-slate__cta{display:inline-block;font-size:1.2em;height:auto;margin:0 0 10px;padding:.75em 1.5em}.wp-block .give-blank-slate{background-color:#f1f1f1}.wp-block .give-blank-slate .give-blank-slate__heading{font-weight:700;font-size:20px;margin-bottom:10px;margin-top:20px}.wp-block .give-blank-slate a{color:#32373c;text-decoration:none}.chosen-container-single .chosen-single{background:#fff;height:30px;line-height:30px;border:1px solid #7e8993;box-shadow:none}.chosen-container-single .chosen-single span{font-size:14px}.chosen-container-single .chosen-single div b,.chosen-container-single.chosen-with-drop .chosen-single div b{background-position-y:4px}.chosen-container-active.chosen-with-drop .chosen-single{background:#fff}.chosen-container .chosen-results li.highlighted{background:#3875d7;color:#fff}.chosen-container-multi .chosen-choices{border:1px solid #aaa;background-image:none}.chosen-container-multi .chosen-choices li.search-choice{background-image:none}.give-tools-setting-page-import h1.handle{padding:15px 0 0}.give-tools-setting-page-import .give-progress-steps{width:100%;padding:0 0 24px;margin-right:0;list-style:none outside;overflow:hidden;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.give-tools-setting-page-import .give-progress-steps li{width:25%;float:right;padding:0 0 1.2em;margin:0;text-align:center;position:relative;border-bottom:4px solid #ccc;line-height:1.4em}.give-tools-setting-page-import .give-progress-steps li.active{border-color:#4ead61;color:#4ead61}.give-tools-setting-page-import .give-progress-steps li.active:before{border-color:#4ead61;color:#4ead61;background:#4ead61}.give-tools-setting-page-import .give-progress-steps li:before{content:"";border:4px solid #ccc;border-radius:100%;width:10px;height:10px;position:absolute;bottom:0;right:50%;margin-right:-6px;margin-bottom:-10px;background:#fff}.give-tools-setting-page-import .step-4 h2{text-align:center;font-size:20px!important}.give-tools-setting-page-import .step-4 p{text-align:center}.give-tools-setting-page-import .button-secondary.step-4,.give-tools-setting-page-import .give-image-thumb{display:none}.give-tools-setting-page-import h2#give-import-title{background:#f3f3f3;font-size:15px;font-weight:600;margin:-8px -22px 11px;padding:12px 22px}.give-tools-setting-page-import table.step-2 h2#give-import-title{font-size:small;font-weight:inherit}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields-title{font-size:18px;font-weight:600;margin:0}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields{white-space:nowrap;overflow:hidden}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li{display:inline-block;margin:0 0 0 10%}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.give-import-donation-required-symbol{border-radius:1em;vertical-align:middle;padding:2px;background:#46b450;color:#fff}.give-tools-setting-page-import table.step-2 .give-import-donation-required-fields li span.dashicons-no-alt{background:#bbb}.give-tools-setting-page-import .give-progress{margin-top:7px}.give-import-core-settings .give-progress-steps li{width:33.33%}.give-import-core-settings .step-3 h2{text-align:center;font-size:20px!important}.give-import-core-settings .step-3 p{text-align:center}form.give-import-form table.widefat{border:none}.wrap .give-importer-h1{margin:0;padding:20px 0}.give-tools-setting-page #give-export_donations-form table{padding-right:10px}.give-tools-setting-page #give-export_donations-form table tbody h2{padding:8px 0 0}.give-tools-setting-page #give-export_donations-form table tbody td.row-title{width:30%;vertical-align:top}.give-tools-setting-page #give-export_donations-form table tbody td ul.give-export-option-ul{margin-top:5px}.give-tools-setting-page #give-export_donations-form table tbody p.give-field-description{display:table;width:100%}.give-tools-setting-page #give-export_donations-form table tbody .add-notices{margin-top:15px}.give-tools-setting-page #give-export_donations-form table tbody .add-notices .give-progress{margin-top:7px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices{min-height:30px}.give-tools-setting-page #give-export_donations-form table tbody .chosen-container-multi .chosen-choices li{margin:4px 0 4px 4px}.give-tools-setting-page #give-export_donations-form .give-export-option{display:flex;flex-flow:row wrap;border-top:1px solid #e5e5e5;border-right:1px solid #e5e5e5}.give-tools-setting-page #give-export_donations-form .give-export-option ul{margin-bottom:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li{position:relative;margin-bottom:.7rem;padding:0 1rem}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{display:block;padding-right:22px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{position:absolute;top:6px;right:15px}.give-tools-setting-page #give-export_donations-form .give-export-option ul .give-export-option-label{font-size:15px;font-weight:500;border-bottom:1px solid #e5e5e5;margin-bottom:1rem;padding:1rem}.give-tools-setting-page #give-export_donations-form .give-export-option>li{border-left:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;width:33%;margin-bottom:0}.give-tools-setting-page .give-export-donors .give-progress{margin-top:7px}#give-export-donations .give_forms_categories,#give-export-donations .give_forms_tags{min-width:250px;margin:0 0 10px;display:block}#give-export-donations .give_forms_categories input,#give-export-donations .give_forms_tags input{color:#999}#give-export-donations div.chosen-container ul.chosen-choices{border:1px solid #ddd}#give-export-donations div.chosen-container ul.chosen-choices input.chosen-search-input{border:1px solid #ddd;height:20px}#give-export-donations select{vertical-align:inherit;margin:0;height:26px;line-height:26px;border:1px solid #ddd}@media only screen and (max-width:1080px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}}@media only screen and (max-width:782px){.give-tools-setting-page #give-export_donations-form .give-export-option>li{width:49.5%}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label{padding-right:32px}.give-tools-setting-page #give-export_donations-form .give-export-option ul li label input{top:0}}.give-admin-progress-bar{height:8px;position:relative;background:#eee;border-radius:25px;overflow:hidden;margin:5px 0 2px}.give-admin-progress-bar>span{display:block;height:100%;border-top-left-radius:8px;border-bottom-left-radius:8px;border-top-right-radius:20px;border-bottom-right-radius:20px;background-color:#2bc253;position:relative;overflow:hidden}.give-admin-goal-achieved>.dashicons{color:#ffba00;font-size:13px;height:16px;width:13px;line-height:18px}#give-form-goal-stats .inside{margin:0;padding:15px;text-align:center}#give-form-goal-stats .give-admin-progress-bar{margin-bottom:10px}#give-form-goal-stats .give-admin-goal-achieved{display:block;margin-top:6px}.give-nav-tab-wrapper{background:#ddd;border:none!important;padding-top:0;overflow:hidden}.give-nav-tab-wrapper .nav-tab{border:none;margin:0;padding:15px 30px;outline:none;box-shadow:none;background:#ddd}.give-nav-tab-wrapper .nav-tab:hover{background:#ebebeb}.give-nav-tab-wrapper .nav-tab.nav-tab-active{background:#f1f1f1;box-shadow:inset 0 4px 0 #66bb6a;margin:0}@media screen and (max-width:600px){.give-nav-tab-wrapper{position:relative;padding-top:0!important}.give-nav-tab-wrapper>a{width:100%;box-sizing:border-box;margin:0;background-color:#fff;border:1px solid #ccc}.give-nav-tab-wrapper>a:hover{border-bottom:1px solid #ccc}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper{position:absolute;top:0;left:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav{height:28px;width:30px;border-radius:0;margin:0}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper #give-show-sub-nav>span.dashicons{margin:6px auto 0;display:block}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{top:35px;left:0;right:auto}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{background:#fff}.give-nav-tab-wrapper div.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#e5e5e5}.give-mobile-hidden{display:none}}.give-sub-nav-tab-wrapper{position:relative;z-index:999;float:right;display:none}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab{border:1px solid #f1f1f1;border-bottom:none;position:absolute;top:37px;left:0}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a{float:right;background:#fff;padding:8px 10px;clear:both;text-decoration:none;border-bottom:1px solid #f1f1f1;min-width:170px;color:#555;font-size:14px;font-weight:600}.give-sub-nav-tab-wrapper nav.give-sub-nav-tab a:hover{background:#ebebeb}#give-show-sub-nav{text-decoration:none;padding:3px 4px;border-bottom:1px solid #ccc;line-height:0;background:#fff;border-radius:4px;margin:15px 10px 0 0}#give-show-sub-nav>span.dashicons{font-size:16px;height:16px;width:16px}#give-show-sub-nav:active,#give-show-sub-nav:hover{outline:none;box-shadow:inset 0 0 4px #ddd}.give-upsell-notice{border:1px solid #e2e2e2;padding:10px;margin:10px;box-shadow:-1px 1px 5px #e2e2e2;display:flex;align-items:center}.give-upsell-notice a{text-decoration:none}.give-upsell-notice .description,.give-upsell-notice .icon{font-style:normal}.give-upsell-notice .icon{color:#aaa;font-size:30px;line-height:22px;width:30px}.give-upsell-notice .description{padding:0 10px}.give-upsell-notice a.view-addon-link{background:none!important;margin-right:auto}.give_forms_page_give-subscriptions .wp-header-end+.notice,.post-type-give_forms .wp-header-end+.notice{margin-top:11px}.give_forms_page_give-subscriptions #give-subscription-details-h1,.give_forms_page_give-subscriptions #give-subscription-list-h1,.give_forms_page_give-subscriptions .wp-heading-inline,.post-type-give_forms #give-subscription-details-h1,.post-type-give_forms #give-subscription-list-h1,.post-type-give_forms .wp-heading-inline{margin:0;padding:10px 0}.give_forms_page_give-subscriptions #give-subscription-details-h1:before,.give_forms_page_give-subscriptions #give-subscription-list-h1:before,.give_forms_page_give-subscriptions .wp-heading-inline:before,.post-type-give_forms #give-subscription-details-h1:before,.post-type-give_forms #give-subscription-list-h1:before,.post-type-give_forms .wp-heading-inline:before{background:url(../images/give-icon-full-circle.svg);width:30px;height:30px;content:" ";display:block;float:right;margin-left:12px}.give_forms_page_give-subscriptions #wpcontent,.post-type-give_forms #wpcontent{padding:0}.give_forms_page_give-subscriptions #wpbody,.post-type-give_forms #wpbody{color:#000;padding-right:20px;position:relative}.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{content:"";background-color:#fff;border-bottom:1px solid #dbdbdb;height:72px;right:0;top:46px;position:absolute;width:100%;z-index:-1}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody:after,.post-type-give_forms #wpbody:after{top:0}}.give_forms_page_give-subscriptions #wpbody .wrap:not(.give-settings-page),.post-type-give_forms #wpbody .wrap:not(.give-settings-page){margin-top:12px}.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:6px}@media (min-width:601px){.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms #wpbody .wp-header-end{margin-top:15px}}@media (min-width:601px){.give_forms_page_give-subscriptions.give_forms_page_give-donors #wpbody .wp-header-end,.give_forms_page_give-subscriptions.give_forms_page_give-subscriptions #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-donors #wpbody .wp-header-end,.post-type-give_forms.give_forms_page_give-subscriptions #wpbody .wp-header-end{margin-top:25px}}.give_forms_page_give-subscriptions #wpbody #screen-meta-links,.post-type-give_forms #wpbody #screen-meta-links{display:none}@media (min-width:783px){.give_forms_page_give-subscriptions #screen-meta,.post-type-give_forms #screen-meta{background-color:#fff;border:0;margin:0}.give_forms_page_give-subscriptions #screen-meta-links,.post-type-give_forms #screen-meta-links{position:absolute;top:0;left:0;z-index:1}}.give-subheader{background:#fff;margin:0 -22px 0 0;padding:12px 20px}.give-subheader .give-subheader-right-text{float:left;font-size:13px;line-height:22px;font-style:italic;color:#555;margin:0;padding:0}.give-subheader h1{float:right;font-size:15px;line-height:22px;color:#555;font-weight:600;margin:0;padding:0}@media (max-width:700px){.give-subheader{text-align:center}.give-subheader .give-subheader-right-text,.give-subheader h1{float:none}}
assets/dist/css/give-sequoia-template.css CHANGED
@@ -10,4 +10,4 @@
10
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
11
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
12
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13
- */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-left:0;margin-right:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-right:auto;margin-left:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-left:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-left:0}.receipt .social-sharing .social-btn:last-of-type{margin-right:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-right:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:right;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-left:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-left:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 20px 14px 22px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 20px 0 0!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right 4px top 50%,0 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}#give_purchase_form_wrap .fee-break-down-message,#give_purchase_form_wrap .give-fee-recovery-donors-choice.give-fee-message,#give_purchase_form_wrap .give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 0 0!important}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 20px 14px 22px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 20px 20px 22px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-left:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);left:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-right:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-left:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 10px 0 28px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);left:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);left:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-left:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 20px 14px 22px!important}}.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-left:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-left:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 0 0 5px;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;left:0;right:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:6px 0 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-right:auto;margin-left:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-right:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-left:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(180deg,#28c77b,#28c77b),linear-gradient(180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-right:20px;margin-left:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give-anonymous-donation-wrap .give-label{display:block!important;font-weight:400;font-size:14px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 40px);margin-left:0;color:#696969;display:inline-block}.payment #give-anonymous-donation-wrap .give-label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-anonymous-donation-wrap .give-label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment #give-anonymous-donation-wrap .give-label.active:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 20px 17px 22px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;left:27px}.payment #give_terms_agreement #give_show_terms{order:3}@media screen and (max-width:500px){.payment #give_terms_agreement #give_show_terms{bottom:20px;left:60px;position:absolute;z-index:99}}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;padding:0 10px 0 0;overflow-y:scroll!important}.payment #give_terms_agreement #give_terms>p:first-of-type{margin-top:0}.payment #give_terms_agreement label{margin:0;padding:0 0 0 40px;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}@media screen and (max-width:500px){.payment #give_terms_agreement label{width:calc(100% - 30px);padding:0 0 30px 40px}}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-right:auto!important;margin-left:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-left:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-left:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-left:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-right:20px;margin-left:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-left:20px!important;padding-right:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:left;padding-left:23px;padding-right:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);left:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);left:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_form_wrap.give-single-gateway-wrap{background:none;padding:0;margin:0 20px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset,.payment .give-submit-button-wrap{display:flex;flex-direction:column}.payment .give-submit-button-wrap{align-items:center;position:relative;order:3}.payment .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);left:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;left:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 82px);margin-left:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right .7em top 50%,0 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-right:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}
10
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
11
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
12
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13
+ */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-left:0;margin-right:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-right:auto;margin-left:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-left:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-left:0}.receipt .social-sharing .social-btn:last-of-type{margin-right:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-right:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:right;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-left:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-left:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 20px 14px 22px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 20px 0 0!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right 4px top 50%,0 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}#give_purchase_form_wrap .fee-break-down-message,#give_purchase_form_wrap .give-fee-recovery-donors-choice.give-fee-message,#give_purchase_form_wrap .give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 0 0!important}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 20px 14px 22px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 20px 20px 22px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-left:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:100%;margin-left:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);left:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-right:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-left:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 10px 0 28px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);left:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);left:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-activecampaign-fieldset,.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-activecampaign-fieldset label,.give-activecampaign-fieldset p,.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-activecampaign-fieldset span,.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-left:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 20px 17px 22px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-activecampaign-fieldset span,.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 20px 14px 22px!important}}.give-activecampaign-fieldset span:before,.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);left:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-activecampaign-fieldset:hover,.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-activecampaign-fieldset:hover .give-mc-message-text:before,.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-activecampaign-fieldset.active,.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-activecampaign-fieldset input[type=checkbox]:checked+span:after,.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-activecampaign-fieldset input[type=checkbox]+span:after,.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-left:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-left:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 0 0 5px;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;left:0;right:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:6px 0 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-right:auto;margin-left:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-right:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-left:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(180deg,#28c77b,#28c77b),linear-gradient(180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-right:20px;margin-left:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give-anonymous-donation-wrap .give-label{display:block!important;font-weight:400;font-size:14px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 40px);margin-left:0;color:#696969;display:inline-block}.payment #give-anonymous-donation-wrap .give-label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-anonymous-donation-wrap .give-label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment #give-anonymous-donation-wrap .give-label.active:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 20px 17px 22px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;left:27px}.payment #give_terms_agreement #give_show_terms{order:3}@media screen and (max-width:500px){.payment #give_terms_agreement #give_show_terms{bottom:20px;left:60px;position:absolute;z-index:99}}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;padding:0 10px 0 0;overflow-y:scroll!important}.payment #give_terms_agreement #give_terms>p:first-of-type{margin-top:0}.payment #give_terms_agreement label{margin:0;padding:0 0 0 40px;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}@media screen and (max-width:500px){.payment #give_terms_agreement label{width:calc(100% - 30px);padding:0 0 30px 40px}}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-right:auto!important;margin-left:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-left:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-left:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);left:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-left:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-right:20px;margin-left:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-left:20px!important;padding-right:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:left;padding-left:23px;padding-right:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);left:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);left:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_form_wrap.give-single-gateway-wrap{background:none;padding:0;margin:0 20px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset,.payment .give-submit-button-wrap{display:flex;flex-direction:column}.payment .give-submit-button-wrap{align-items:center;position:relative;order:3}.payment .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);left:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;left:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 0 0 32px;width:calc(100% - 82px);margin-left:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);left:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:right .7em top 50%,0 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-right:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}
assets/dist/css/give-sequoia-template.rtl.css CHANGED
@@ -10,4 +10,4 @@
10
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
11
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
12
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13
- */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-right:0;margin-left:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-left:auto;margin-right:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-right:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-right:0}.receipt .social-sharing .social-btn:last-of-type{margin-left:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-left:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:left;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-right:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-right:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 22px 14px 20px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 0 0 20px!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left 4px top 50%,100% 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}#give_purchase_form_wrap .fee-break-down-message,#give_purchase_form_wrap .give-fee-recovery-donors-choice.give-fee-message,#give_purchase_form_wrap .give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 0 0!important}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 22px 14px 20px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 22px 20px 20px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-right:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);right:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-left:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-right:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 28px 0 10px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);right:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);right:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-right:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 22px 14px 20px!important}}.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-right:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-right:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 5px 0 0;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;right:0;left:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:0 6px 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-left:auto;margin-right:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-left:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-right:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(-180deg,#28c77b,#28c77b),linear-gradient(-180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-left:20px;margin-right:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give-anonymous-donation-wrap .give-label{display:block!important;font-weight:400;font-size:14px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 40px);margin-right:0;color:#696969;display:inline-block}.payment #give-anonymous-donation-wrap .give-label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-anonymous-donation-wrap .give-label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment #give-anonymous-donation-wrap .give-label.active:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 22px 17px 20px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;right:27px}.payment #give_terms_agreement #give_show_terms{order:3}@media screen and (max-width:500px){.payment #give_terms_agreement #give_show_terms{bottom:20px;right:60px;position:absolute;z-index:99}}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;padding:0 0 0 10px;overflow-y:scroll!important}.payment #give_terms_agreement #give_terms>p:first-of-type{margin-top:0}.payment #give_terms_agreement label{margin:0;padding:0 40px 0 0;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}@media screen and (max-width:500px){.payment #give_terms_agreement label{width:calc(100% - 30px);padding:0 40px 30px 0}}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-left:auto!important;margin-right:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-right:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-right:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-right:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-left:20px;margin-right:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-right:20px!important;padding-left:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:right;padding-right:23px;padding-left:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);right:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);right:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_form_wrap.give-single-gateway-wrap{background:none;padding:0;margin:0 20px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset,.payment .give-submit-button-wrap{display:flex;flex-direction:column}.payment .give-submit-button-wrap{align-items:center;position:relative;order:3}.payment .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);right:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;right:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 82px);margin-right:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left .7em top 50%,100% 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:-4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(-180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-left:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}
10
  */@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../images/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}/*!
11
  * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
12
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13
+ */@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../images/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands;font-weight:400}.give-flex{display:flex!important}.give-grid{display:grid!important}.receipt .checkmark{display:flex;justify-content:center;align-items:center;margin:50px auto 0;height:60px;width:60px;border-radius:50%;border:7px solid #24b347;color:#24b347;font-size:42px}@media screen and (max-width:500px){.receipt .checkmark{margin:38px auto 0}}.receipt .headline{margin:30px 10px 10px;text-align:center}.receipt .message{margin-top:10px;max-width:80%;text-align:center}@media screen and (max-width:500px){.receipt .message{margin-top:5px}}.receipt .social-sharing{display:flex;flex-direction:column;background:#fbfbfb;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;padding:24px 20px 26px;margin-right:0;margin-left:0;margin-top:28px}@media screen and (max-width:500px){.receipt .social-sharing{padding:12px 20px 14px;margin-top:6px}}.receipt .social-sharing .instruction{margin:0 0 14px;line-height:1.5;grid-column:span 2;font-size:13px;color:#767676;text-align:center}@media screen and (max-width:500px){.receipt .social-sharing .instruction{margin:0 24px;font-size:15px;line-height:1.5}}.receipt .social-sharing .btn-row{margin-top:9px;display:flex;align-items:center;margin-left:auto;margin-right:auto}@media screen and (max-width:500px){.receipt .social-sharing .btn-row{flex-direction:column;align-items:stretch}}.receipt .social-sharing .social-btn{display:flex;align-items:center;font-size:16px;padding:14px 27px;margin:0 14px;border:none!important}@media screen and (max-width:500px){.receipt .social-sharing .social-btn{margin:6px 0}}.receipt .social-sharing .social-btn>i{margin-right:12px;font-size:22px}.receipt .social-sharing .social-btn.facebook-btn{background-color:#3b5998!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.facebook-btn:hover{background-color:#4668b1!important}.receipt .social-sharing .social-btn.twitter-btn{background-color:#00acee!important;transition:background-color .2s ease}.receipt .social-sharing .social-btn.twitter-btn:hover{background-color:#00b7ff!important}.receipt .social-sharing .social-btn:first-of-type{margin-right:0}.receipt .social-sharing .social-btn:last-of-type{margin-left:0}.receipt .details{margin:0 24px}.receipt .details .headline{margin-top:24px!important;margin-bottom:18px!important;font-size:16px;line-height:20px;text-align:center;color:#555;font-weight:400}@media screen and (max-width:500px){.receipt .details .headline{margin-top:16px!important;margin-bottom:6px!important}}.receipt .details .details-table{display:flex;flex-direction:column;border:1px solid #f2f2f2;border-radius:6px;padding:8px 16px;margin:10px 0 24px}.receipt .details .details-table .details-row{display:flex;align-items:flex-start;font-size:14px;line-height:17px;margin:10px 0;font-weight:300;flex-wrap:wrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row{justify-content:center;align-items:center}}.receipt .details .details-table .details-row>i{color:#989898;padding-left:10px}.receipt .details .details-table .details-row .detail{text-transform:uppercase;color:#6b6b6b;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .detail{padding:5px 0}}.receipt .details .details-table .details-row .value{flex:1;text-align:left;color:#555;white-space:nowrap}@media screen and (max-width:500px){.receipt .details .details-table .details-row .value{flex:0;padding:5px 10px}}.receipt .details .details-table .details-row.total{background:#fbfbfb;font-weight:600;padding:8px 16px 10px;margin:0 -16px -8px;border-top:1px solid #f2f2f2}.receipt .details .details-table .details-row.total .value{color:#333}.receipt .details .details-table.payment-details{border-bottom:2px solid #f2f2f2}.receipt .details .details-table:empty{display:none!important}.receipt #give-pdf-receipt-link,.receipt #give-pdf-receipt-link:visited{display:flex;align-items:center;text-decoration:none;color:#fff}.receipt #give-pdf-receipt-link:after,.receipt #give-pdf-receipt-link:visited:after{display:inline-block;content:"\f1c1";font-family:Font Awesome\ 5 Free,serif;font-weight:900;font-size:20px;margin-right:15px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.give-recurring-multi-level-message{display:none}.give-recurring-donors-choice{background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0;position:relative;transition:border .2s ease}@media screen and (max-width:500px){.give-recurring-donors-choice{margin:20px 20px 0!important}}.give-recurring-donors-choice label{font-weight:400!important;font-size:16px;line-height:1.4;padding:14px 22px!important;width:calc(100% - 62px);margin-right:40px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-recurring-donors-choice label{font-size:14px!important;padding:14px 22px 14px 20px!important}}.give-recurring-donors-choice label:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px!important;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-recurring-donors-choice:focus-within,.give-recurring-donors-choice:hover{border:1px solid #3398db}.give-recurring-donors-choice:focus-within label:before,.give-recurring-donors-choice:hover label:before{background-color:hsla(0,0%,96.1%,.815)}.give-recurring-donors-choice.active{border:1px solid #3398db}.give-recurring-donors-choice input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-recurring-donors-choice input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.give-recurring-donors-choice .give-recurring-donors-choice-period{font-family:Montserrat,sans-serif;font-weight:400;font-size:16px;line-height:1;display:inline;margin:0;color:#333;padding:0 0 0 20px!important;border:none;border-bottom:1px solid #a2a3a2;border-radius:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left 4px top 50%,100% 0;background-size:.65em auto,100%}@media screen and (max-width:500px){.give-recurring-donors-choice .give-recurring-donors-choice-period{font-size:14px}}.give-recurring-donors-choice .give-recurring-donors-choice-period::-ms-expand{display:none}.give-recurring-donors-choice .give-recurring-donors-choice-period:hover{border-color:#888}.give-recurring-donors-choice .give-recurring-donors-choice-period:focus{box-shadow:none;outline:none}.give-recurring-donors-choice .give-recurring-donors-choice-period option{font-weight:400}.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 30px 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}@media screen and (max-width:500px){.fee-break-down-message,.give-fee-recovery-donors-choice.give-fee-message,.give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 20px 0!important}}#give_purchase_form_wrap .fee-break-down-message,#give_purchase_form_wrap .give-fee-recovery-donors-choice.give-fee-message,#give_purchase_form_wrap .give-fee-total-wrap.fee-coverage-required.give-fee-message{margin:20px 0 0!important}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block;cursor:pointer}@media screen and (max-width:500px){.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text,.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{font-size:14px;padding:14px 22px 14px 20px!important}}.fee-break-down-message{margin:20px 0 0!important;font-weight:500;font-size:16px;line-height:1.4;padding:20px 22px 20px 20px!important;color:#333;display:inline-block;text-align:center}@media screen and (max-width:500px){.fee-break-down-message{font-size:14px}}.give-fee-total-wrap.fee-coverage-required.give-fee-message .give-fee-message-label-text{text-align:center;width:calc(100% - 40px)}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label{margin:0}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text{width:calc(100% - 82px);margin-right:40px!important;display:inline-block}.give-fee-recovery-donors-choice.give-fee-message .give-fee-message-label-text:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-fee-recovery-donors-choice.give-fee-message:hover{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message:hover .give-fee-message-label-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-fee-recovery-donors-choice.give-fee-message.active{border:1px solid #3398db}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]:checked+.give-fee-message-label-text:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-fee-recovery-donors-choice.give-fee-message input[type=checkbox]+.give-fee-message-label-text:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.choose-amount #give-ffm-section{margin:20px!important}.give-ffm-form-row-responsive .give-label{display:block!important;position:absolute;font-size:14px}.ffm-checkbox-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-checkbox-field label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-checkbox-field label:after,.ffm-checkbox-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}.ffm-checkbox-field label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.ffm-checkbox-field label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ffm-radio-field input[type=radio]{opacity:0!important;position:absolute!important}.ffm-radio-field label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:100%;margin-right:0;color:#333;display:inline-block}.ffm-radio-field label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.ffm-radio-field label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:12px;width:10px;height:10px;position:absolute;top:calc(50% - 6px);right:6px;content:" ";display:block;background:#333}.ffm-radio-field label.selected:after{transform:scaleX(1)}.ffm-attachment-upload-filelist{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;font-size:14px;line-height:1;color:#8d8e8e;padding:0;position:relative;display:flex;overflow:hidden}.ffm-attachment-upload-filelist a.file-selector{display:inline-block;height:100%;top:0;padding:14px;border-radius:0;border-left:1px solid #b8b8b8;font-size:14px;line-height:20px;color:#333;background:#f1f1f1;text-decoration:none}.ffm-attachment-upload-filelist a.file-selector:focus{outline:none}.give-tributes-dedicate-donation .give_tributes_mail_card_country>label,.give-tributes-dedicate-donation .give_tributes_mail_card_state>label{display:none!important}.give-tributes-dedicate-donation #give_tributes_address_state{min-height:48px!important}@media screen and (max-width:500px){.give-tributes-dedicate-donation .give-tributes-grab-info{display:flex;flex-direction:column}}.give-tributes-dedicate-donation .give-tributes-label,.give-tributes-dedicate-donation .give-tributes-legend,.give-tributes-dedicate-donation legend{display:inline-block;font-size:14px!important;font-weight:400!important;border-bottom:none!important;padding:0!important;margin:0 0 5px!important;line-height:1.7}.give-tributes-dedicate-donation .give_tributes_send_ecard_fields>.give-tributes-legend{width:auto!important}.give-tributes-dedicate-donation .give-tributes-add-recipient{margin-top:-3px;margin-right:8px}.give-tributes-dedicate-donation input[type=radio]{opacity:0!important;position:absolute!important}.give-tributes-dedicate-donation input[type=radio]+label{padding:0 28px 0 10px;width:100%;color:#696969;font-size:14px!important;font-weight:400!important;display:inline-block;position:relative;margin:0 0 5px;line-height:1.7}.give-tributes-dedicate-donation input[type=radio]+label:before{content:" ";position:absolute;top:calc(50% - 9px);right:0;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-tributes-dedicate-donation input[type=radio]+label:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:8px;width:8px;height:8px;position:absolute;top:calc(50% - 4px);right:5px;content:" ";display:block;background:#333}.give-tributes-dedicate-donation input[type=radio]:checked+label:after{transform:scaleX(1)}.give-tributes-dedicate-donation .give-tributes-ecard-personalized-message-left,.give-tributes-dedicate-donation .give-tributes-mail-card-personalized-message-left{padding-bottom:8px}.give-activecampaign-fieldset,.give-constant-contact-fieldset,.give-mailchimp-fieldset{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0)!important;box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;padding:0!important;position:relative;transition:border .2s ease;width:auto!important}.give-activecampaign-fieldset label,.give-activecampaign-fieldset p,.give-constant-contact-fieldset label,.give-constant-contact-fieldset p,.give-mailchimp-fieldset label,.give-mailchimp-fieldset p{margin:0;cursor:pointer}.give-activecampaign-fieldset span,.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{width:calc(100% - 82px);margin-right:40px!important;font-weight:400;font-size:16px;line-height:1.4;padding:17px 22px 17px 20px!important;color:#333;display:inline-block}@media screen and (max-width:500px){.give-activecampaign-fieldset span,.give-constant-contact-fieldset span,.give-mailchimp-fieldset span{font-size:14px;padding:14px 22px 14px 20px!important}}.give-activecampaign-fieldset span:before,.give-constant-contact-fieldset span:before,.give-mailchimp-fieldset span:before{content:" ";position:absolute;top:calc(50% - 12px);right:22px;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.give-activecampaign-fieldset:hover,.give-constant-contact-fieldset:hover,.give-mailchimp-fieldset:hover{border:1px solid #3398db!important}.give-activecampaign-fieldset:hover .give-mc-message-text:before,.give-constant-contact-fieldset:hover .give-mc-message-text:before,.give-mailchimp-fieldset:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.give-activecampaign-fieldset.active,.give-constant-contact-fieldset.active,.give-mailchimp-fieldset.active{border:1px solid #3398db!important}.give-activecampaign-fieldset input[type=checkbox]:checked+span:after,.give-constant-contact-fieldset input[type=checkbox]:checked+span:after,.give-mailchimp-fieldset input[type=checkbox]:checked+span:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.give-activecampaign-fieldset input[type=checkbox]+span:after,.give-constant-contact-fieldset input[type=checkbox]+span:after,.give-mailchimp-fieldset input[type=checkbox]+span:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:22px;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.gateway-square input,.gateway-square select{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;height:52px!important}html{margin:0;padding:0;border:0}body{margin:10px;font-family:Montserrat,sans-serif;color:#555}form{margin:0!important;position:relative}h2{font-weight:600;font-size:26px;line-height:30px;color:#333}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text,p{font-size:15px;font-weight:400;line-height:24px;color:#6f6f6f}.give-stripe-becs-mandate-acceptance-text,.give-stripe-sepa-mandate-acceptance-text{margin-bottom:16px!important}.give-stripe-becs-mandate-acceptance-text:after,.give-stripe-becs-mandate-acceptance-text:before,.give-stripe-sepa-mandate-acceptance-text:after,.give-stripe-sepa-mandate-acceptance-text:before{display:none!important;content:none!important}.give-stripe-becs-mandate-acceptance-text:empty,.give-stripe-sepa-mandate-acceptance-text:empty{margin-bottom:0!important}.give-embed-form,.give-embed-receipt{max-width:552px;margin:auto;border-radius:6px;color:#696969;display:flex;flex-direction:column;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);width:100%;overflow:hidden;position:relative}.give-btn{background-color:#28c77b;font-family:Montserrat,sans-serif;color:#fff;font-weight:500;text-align:center;border-radius:4px;font-size:30px;padding-top:15px;padding-bottom:15px}.give-btn:focus{outline:none;box-shadow:0 0 8px #28c77b}.give-btn:hover{filter:brightness(1.2)}.advance-btn,.download-btn,.give-submit{order:99!important;display:flex;align-items:center;justify-content:center;padding:20px 28px!important;border-radius:4px;border:none;font-size:22px;line-height:20px;margin-top:48px;margin-bottom:16px;min-width:236px;filter:brightness(1);transition:filter .2s ease}.advance-btn>i,.download-btn>i,.give-submit>i{font-size:15px;margin-right:15px}@media screen and (max-width:500px){.advance-btn,.download-btn,.give-submit{margin-top:26px}}.advance-btn:disabled,.download-btn:disabled,.give-submit:disabled{filter:grayscale(.3);opacity:.6}.download-btn{font-size:16px;line-height:20px;margin-top:10px;margin-bottom:15px;padding:16px 10px!important}.download-btn>i{font-size:16px;margin-right:15px}.give_error,.give_success,.give_warning{position:relative;margin:20px 20px 0;padding:10px 15px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);border-width:0 5px 0 0;font-weight:400;font-size:16px;line-height:24px;word-break:break-word;color:#555!important}.give_error:after,.give_error:before,.give_success:after,.give_success:before,.give_warning:after,.give_warning:before{content:none!important}.give_error>strong,.give_success>strong,.give_warning>strong{font-weight:500!important}.image{height:auto;position:relative;overflow:hidden;padding:55.4% 0 0;margin:0}.image,.image img{display:block;width:100%}.image img{height:100%;position:absolute;object-fit:cover;top:0;bottom:0;right:0;left:0}.give-form-navigator{display:flex;align-items:center;background:#fbfbfb;border-bottom:1px solid #f2f2f2;height:50px;width:100%;position:absolute;z-index:99;transition:transform .2s ease;transform:translate3d(0,-50px,0)}.give-form-navigator.nav-visible{transform:translateZ(0);transition-delay:.15s}.give-form-navigator>.back-btn{padding:0 20px;height:100%;background:none;border:none;color:#424242;font-size:12px;position:absolute;border-radius:0 6px 0 0;overflow:hidden;cursor:pointer}.give-form-navigator>.back-btn:focus{outline:none;background:rgba(0,0,0,.04);box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-form-navigator>.title{flex:1;text-align:center;font-size:15px;font-weight:500;color:#424242}.form-footer{display:flex;flex-direction:column}.form-footer .navigator-tracker{display:flex;align-items:center;margin:5px auto 15px}.form-footer .navigator-tracker .step-tracker{background-color:#e4e4e4;border-radius:50%;overflow:hidden;height:12px;width:12px;margin:7.5px;padding:0;cursor:pointer;transition:background-color .2s ease;border:none}.form-footer .navigator-tracker .step-tracker.current{background-color:#747474}.form-footer .navigator-tracker .step-tracker:focus{border:1px solid #959595;outline:none}@media screen and (max-width:500px){.form-footer .navigator-tracker{margin:5px auto}}.form-footer .secure-notice{margin-top:15px;color:#989898;display:flex;align-items:center;height:60px;justify-content:center;background:#fbfbfb;border-top:1px solid #f2f2f2;font-size:12px}.form-footer .secure-notice>i{padding:8px;font-size:12px}.give-section{display:flex;flex-direction:column}.give-section>*{margin-left:auto;margin-right:auto}.introduction{display:flex;flex-direction:column;text-align:center;width:100%}.introduction .headline{max-width:75%;margin-bottom:16px;margin-top:30px}.introduction .seperator{width:90px;height:4px;background:#28c77b;border-radius:4px}.introduction .description{font-size:16px;font-weight:500;margin:18px 70px 29px}@media screen and (max-width:500px){.introduction .description{margin:14px 12px 16px}}.introduction .description+.advance-btn{margin-top:6px!important}@media screen and (max-width:500px){.introduction .description+.advance-btn{margin-top:10px!important}}.introduction .income-stats{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:row;background-color:#fbfbfb;color:#767676;font-weight:500;font-size:14px}.introduction .income-stats .number{color:#4c4c4c;font-size:18px}.introduction .income-stats>div{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;padding:10px;border-color:#f2f2f2;border-style:solid;border-width:1px 0}.introduction .income-stats>div:first-of-type{border-left:1px solid #f2f2f2}.introduction .income-stats>div:last-of-type{border-right:1px solid #f2f2f2}.introduction .progress-bar{width:100%;border-bottom:1px solid #f2f2f2}.introduction .progress-bar>div{margin:20px}.give-progress-bar{height:20px;background:#f1f1f1;box-shadow:inset 0 1px 4px rgba(0,0,0,.09487)}.give-progress-bar,.give-progress-bar>span{position:relative;border-radius:20px;overflow:hidden}.give-progress-bar>span{background:linear-gradient(-180deg,#28c77b,#28c77b),linear-gradient(-180deg,#fff,#ccc);background-blend-mode:multiply}.choose-amount>*{order:2}.choose-amount>.give_error{order:1;margin-left:20px;margin-right:20px}.choose-amount .content{text-align:center;margin:24px 30px 22px;font-size:15px}@media screen and (max-width:500px){.choose-amount .content{margin:20px 20px 16px}}.choose-amount .give-total-wrap{width:100%}.choose-amount .give-donation-amount{display:flex;width:207px;align-items:center;background-color:#fff;box-shadow:inset 0 1px 4px rgba(0,0,0,.22);border:1px solid #979797;border-radius:4px!important;overflow:hidden;padding:18px 24px;float:none!important;margin:5px auto 15px!important}.choose-amount .give-donation-amount:after,.choose-amount .give-donation-amount:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-amount{padding:12px 16px;margin-top:0;margin-bottom:5px}}.choose-amount .give-donation-amount .give-amount-top{font-family:Montserrat,sans-serif;height:auto!important;width:auto!important;text-align:center;font-weight:500!important;font-size:42px!important;line-height:1!important;color:#333;border:0!important}.choose-amount .give-donation-amount .give-amount-top:focus{outline:none}.choose-amount .give-donation-amount span.give-currency-symbol{background-color:transparent!important;border:0!important;position:relative;z-index:3;padding:0!important;color:#555}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-before{padding-left:24px!important;border-left:1px dotted #aaa!important}.choose-amount .give-donation-amount span.give-currency-symbol.give-currency-position-after{padding-right:24px!important;border-right:1px dotted #aaa!important}.choose-amount .give-donation-levels-wrap{display:grid!important;grid-gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 30px 0!important}.choose-amount .give-donation-levels-wrap:after,.choose-amount .give-donation-levels-wrap:before{content:none!important}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap{margin:16px 20px 0!important}}.choose-amount .give-donation-levels-wrap li{margin:0!important}.choose-amount .give-donation-levels-wrap .give-donation-level-btn{display:inline-flex!important;align-items:center;justify-content:center;width:100%;background:#28c77b;border:2px solid #28c77b;line-height:1;text-align:center;color:#fff;padding-top:24px;padding-bottom:24px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{font-size:21px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency{font-size:14px}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{margin:0 0 11px 6px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--before{font-size:11px;margin:0 0 6px 3px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{margin:0 6px 11px 0}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn>.currency.currency--after{font-size:11px;margin:0 3px 6px 0}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{height:100%;font-size:18px;line-height:1.2;padding:10px}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-btn-level-custom{font-size:14px}}.choose-amount .give-donation-levels-wrap .give-donation-level-btn.give-default-level{background:#fff;border:2px solid #28c77b;color:#28c77b}@media screen and (max-width:500px){.choose-amount .give-donation-levels-wrap .give-donation-level-btn{padding-top:16px;padding-bottom:16px}}.payment>*{order:99}.payment .donation-errors{position:relative;width:100%}.payment #give-anonymous-donation-wrap .give-label{display:block!important;font-weight:400;font-size:14px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 40px);margin-right:0;color:#696969;display:inline-block}.payment #give-anonymous-donation-wrap .give-label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-anonymous-donation-wrap .give-label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment #give-anonymous-donation-wrap .give-label.active:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment #give_terms_agreement{order:3;background:#fff;border:1px solid hsla(0,0%,100%,0);box-sizing:border-box;box-shadow:0 0 16px rgba(0,0,0,.121203);border-radius:5px;margin:20px 0 0!important;position:relative;transition:border .2s ease;width:auto!important;padding:17px 22px 17px 20px!important;display:flex;justify-content:space-between;flex-wrap:wrap}.payment #give_terms_agreement input[type=checkbox]{bottom:14px;right:27px}.payment #give_terms_agreement #give_show_terms{order:3}@media screen and (max-width:500px){.payment #give_terms_agreement #give_show_terms{bottom:20px;right:60px;position:absolute;z-index:99}}.payment #give_terms_agreement #give_terms{margin-bottom:17px;max-height:300px;padding:0 0 0 10px;overflow-y:scroll!important}.payment #give_terms_agreement #give_terms>p:first-of-type{margin-top:0}.payment #give_terms_agreement label{margin:0;padding:0 40px 0 0;width:calc(100% - 180px);display:inline-block;font-weight:400;font-size:16px;line-height:1.4;position:relative;cursor:pointer}@media screen and (max-width:500px){.payment #give_terms_agreement label{width:calc(100% - 30px);padding:0 40px 30px 0}}.payment #give_terms_agreement:hover{border:1px solid #3398db}.payment #give_terms_agreement:hover .give-mc-message-text:before{background-color:hsla(0,0%,96.1%,.815)}.payment #give_terms_agreement.active{border:1px solid #3398db}.payment [id*=give-checkout-login-register-]{width:100%}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-]{display:flex!important;justify-content:center}}@media screen and (max-width:500px){.payment [id*=give-checkout-login-register-] .give-login-message{width:fit-content!important;margin-left:auto!important;margin-right:auto!important;text-align:center}}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-]{display:flex!important;justify-content:center;margin-bottom:2px!important}}.payment [id*=give-create-account-wrap-] input{display:none}.payment [id*=give-create-account-wrap-] label{padding-right:30px;font-size:14px}@media screen and (max-width:500px){.payment [id*=give-create-account-wrap-] label{width:fit-content!important}}.payment [id*=give-create-account-wrap-] label .give-tooltip{padding-right:6px}.payment [id*=give-create-account-wrap-] label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment [id*=give-create-account-wrap-] label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;width:20px;height:20px;position:absolute;top:calc(50% - 12px);right:0;content:" ";display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}.payment [id*=give-create-account-wrap-] label.checked:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.payment .give-login-message{font-size:14px}.payment [id*=give-login-fields-]{display:grid;grid-template-columns:1fr}.payment [id*=give-login-fields-] .give-user-login-fields-container{grid-row:1}.payment [id*=give-login-fields-] .give-new-account-link{grid-row:2;display:none}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]{grid-row:3;display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-]>*{order:99}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-submit{margin-top:0;margin-bottom:12px;flex-basis:100%;order:1;padding:14px!important;line-height:1;font-size:16px}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] .give-cancel-login{padding:0;background:none!important;font-size:14px;display:inline-block;width:fit-content;border:none!important;text-decoration:underline;color:#b8b8b8;margin-right:10px;font-weight:400}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-]{font-size:14px;display:inline-block}.payment [id*=give-login-fields-] [id*=give-user-login-submit-] [id*=give-forgot-password-wrap-] a{color:#b8b8b8;font-weight:400}.payment #give_error_invalid_donation_amount,.payment #give_error_invalid_donation_maximum{cursor:pointer}.payment>.give_error{margin-left:20px;margin-right:20px}.payment .heading{padding:39px 3px 0;font-size:16px;font-weight:500;color:#6b6b6b;text-align:center}@media screen and (max-width:500px){.payment .heading{padding:20px 3px 0}}@media screen and (max-width:500px){.payment .subheading{padding-right:20px!important;padding-left:20px!important}}.payment .give_notices{width:100%;order:1}.payment .give_error+.heading,.payment .give_notices+.heading{padding:28px 3px 0}.payment .subheading{padding:5px 0 34px;font-style:italic;font-size:12px;color:#767676;text-align:center}@media screen and (max-width:500px){.payment .subheading{padding:5px 0 20px}}.payment fieldset{padding:0 20px}.payment fieldset>fieldset{padding:0}.payment #give_checkout_user_info legend{display:none}.payment #give-payment-mode-select .gateway-stripe-apple_pay,.payment #give-payment-mode-select .gateway-stripe-google_pay{display:none!important}.payment #give-payment-mode-select legend{display:none}.payment #give-payment-mode-select ul{display:grid;grid-gap:10px;grid-template-rows:1fr;margin:0}.payment #give-payment-mode-select ul:after,.payment #give-payment-mode-select ul:before{content:none!important}.payment #give-payment-mode-select ul>li{background-color:#f1f1f1;margin:0!important;padding:14px 20px!important;border-radius:4px;border:1px solid #f1f1f1;position:relative;display:flex;justify-content:flex-start;align-items:center}.payment #give-payment-mode-select ul>li .give-gateway-option{font-size:14px;text-align:right;padding-right:23px;padding-left:12px;font-weight:600;color:#333;flex-grow:1;line-height:1.4}.payment #give-payment-mode-select ul input[type=radio]{opacity:0!important;position:absolute!important}.payment #give-payment-mode-select ul .give-gateway-option:before{content:" ";position:absolute;top:calc(50% - 10px);right:15px;width:16px;height:16px;border-radius:50%;border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}.payment #give-payment-mode-select ul input[type=radio]:checked+.give-gateway-option:after{transform:scaleX(1)}.payment #give-payment-mode-select ul input[type=radio]+.give-gateway-option:after{transform:scale3d(0,0,0);transition:transform .2s ease;border-radius:11px;width:8px;height:8px;position:absolute;top:calc(50% - 5px);right:20px;content:" ";display:block;background:#333}.payment #give_offline_payment_info>ol{list-style:none;padding:0}.payment #give_offline_payment_info>ol>li{line-height:1.4;padding:4px 0;font-size:15px}.payment #give_purchase_form_wrap{background:#fbfbfb;padding:20px 20px 6px}@media screen and (max-width:500px){.payment #give_purchase_form_wrap{padding:14px 14px 0}}.payment #give_purchase_form_wrap fieldset{padding:0}.payment #give_purchase_form_wrap .cc-address{margin-bottom:0}.payment #give_purchase_form_wrap .no-fields{margin-bottom:8px}.payment #give_purchase_form_wrap.give-single-gateway-wrap{background:none;padding:0;margin:0 20px}.payment #give_purchase_submit{display:flex;flex-direction:column;order:3}.payment #give_purchase_submit #give-final-total-wrap{display:none}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button{margin:16px auto;order:3}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button.StripeElement,.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button.StripeElement{margin-top:48px;display:flex!important;justify-content:center}.payment #give_purchase_submit input[value=stripe_apple_pay]~.give-stripe-payment-request-button>:not(.give_error),.payment #give_purchase_submit input[value=stripe_google_pay]~.give-stripe-payment-request-button>:not(.give_error){width:236px}.payment #donate-fieldset,.payment .give-submit-button-wrap{display:flex;flex-direction:column}.payment .give-submit-button-wrap{align-items:center;position:relative;order:3}.payment .give-submit-button-wrap .sequoia-loader{height:30px;width:30px;bottom:32px;position:absolute;font-size:4px}.payment .give-submit-button-wrap .give-submit:not(:disabled)+.sequoia-loader,fieldset legend{display:none}fieldset p{position:relative}fieldset p>i{position:absolute;bottom:calc(50% - 6px);right:14px;font-size:12px;color:#989898}fieldset .give-ffm-form-row-responsive{position:relative}fieldset .give-ffm-form-row-responsive>i{position:absolute;bottom:18px;right:22px;font-size:12px;color:#989898}fieldset .give_error,fieldset .give_success,fieldset .give_warning{margin:20px 0}.give-label{display:none!important}input[type=checkbox]{opacity:0!important;position:absolute!important}input[type=checkbox]+label{font-weight:500;font-size:16px;line-height:1.4;padding:0 32px 0 0;width:calc(100% - 82px);margin-right:0;color:#333;display:inline-block}input[type=checkbox]+label:before{border:1px solid #b4b9be;background-color:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}input[type=checkbox]+label:after,input[type=checkbox]+label:before{content:" ";position:absolute;top:calc(50% - 12px);right:0;width:20px;height:20px}input[type=checkbox]+label:after{transition:clip-path .2s ease,-webkit-clip-path .2s ease;border-radius:11px;display:block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73 10.781a.726.726 0 001.012 0l8.04-8.039a.726.726 0 000-1.012l-.985-.984a.693.693 0 00-.985 0L6.25 7.31 3.16 4.246a.693.693 0 00-.984 0l-.985.984a.726.726 0 000 1.012l4.54 4.54z' fill='%231E8CBE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;clip-path:polygon(0 0,11% 0,0 100%,0 55%);-webkit-clip-path:polygon(0 0,11% 0,0 100%,0 55%)}input[type=checkbox]+label.checked:after,input[type=checkbox]:checked+label:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}#give-recurring-form .form-row input[type=email],#give-recurring-form .form-row input[type=password],#give-recurring-form .form-row input[type=tel],#give-recurring-form .form-row input[type=text],#give-recurring-form .form-row input[type=url],#give-recurring-form .form-row textarea,.give-square-cc-fields,.give-stripe-cc-field,.give-stripe-single-cc-field-wrap,form.give-form .form-row input[type=email],form.give-form .form-row input[type=password],form.give-form .form-row input[type=tel],form.give-form .form-row input[type=text],form.give-form .form-row input[type=url],form.give-form .form-row textarea,form[id*=give-form] .form-row input[type=email],form[id*=give-form] .form-row input[type=email].required,form[id*=give-form] .form-row input[type=password],form[id*=give-form] .form-row input[type=password].required,form[id*=give-form] .form-row input[type=tel],form[id*=give-form] .form-row input[type=tel].required,form[id*=give-form] .form-row input[type=text],form[id*=give-form] .form-row input[type=text].required,form[id*=give-form] .form-row input[type=url],form[id*=give-form] .form-row input[type=url].required,form[id*=give-form] .form-row textarea,form[id*=give-form] .form-row textarea.required{font-family:Montserrat,sans-serif;background:#fff;border:1px solid #b8b8b8!important;box-sizing:border-box;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289);border-radius:4px!important;font-weight:400;height:auto;font-size:14px;line-height:1;color:#828382;padding:14px!important}.give-square-cc-fields{height:52px}#give-recurring-form .form-row textarea,form.give-form .form-row textarea,form[id*=give-form] .form-row textarea{line-height:1.4}#give-recurring-form .form-row select,#give-recurring-form .form-row select.required,.give-select,form.give-form .form-row select,form.give-form .form-row select.required,form[id*=give-form] .form-row select,form[id*=give-form] .form-row select.required{font-family:Montserrat,sans-serif;font-size:14px;font-weight:400;color:#828382;line-height:1.2;padding:12px!important;min-height:48px;margin:0;border:1px solid #b8b8b8!important;border-radius:4px!important;box-shadow:inset 0 1px 5px rgba(0,0,0,.152289),0 1px 0 1px rgba(0,0,0,.04);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"),linear-gradient(180deg,#fff 0,#fff);background-repeat:no-repeat,repeat;background-position:left .7em top 50%,100% 0;background-size:.65em auto,100%}#give-recurring-form .form-row select.multiselect,form.give-form .form-row select.multiselect,form[id*=give-form] .form-row select.multiselect{background-image:none}.give-input:hover,.give-select:hover{border:1px solid #363636}.give-tooltip{margin:0!important}.give-tooltip:after{display:block;padding:12px 18px;background:#383838;color:#fff;font-size:16px;font-family:Montserrat,sans-serif;border-radius:4px;line-height:1.2;text-align:center;text-shadow:0 -1px 0 #000;box-shadow:-4px 4px 8px rgba(0,0,0,.2);word-wrap:normal;white-space:normal;width:136px;max-width:136px}.give-tooltip.narrow:after{width:fit-content}.sequoia-loader{background-image:url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E");pointer-events:none;opacity:0}.sequoia-loader.spinning{opacity:1;transition:opacity .2s ease;animation:load .6s linear infinite}@keyframes load{0%{transform:rotate(0deg)}to{transform:rotate(-180deg)}}.slide-in-left,.slide-in-right,.slide-out-left,.slide-out-right{position:absolute;width:100%}.slide-in-right{animation-name:slideInRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-right{animation-name:slideOutRight;animation-duration:.3s;animation-fill-mode:forwards}.slide-in-left{animation-name:slideInLeft;animation-duration:.3s;animation-fill-mode:forwards}.slide-out-left{animation-name:slideOutLeft;animation-duration:.3s;animation-fill-mode:forwards}[id*=give_secure_site_wrapper]{font-size:12px;color:#8d8e8e;padding-top:0;line-height:1.2}[id*=give_secure_site_wrapper] span.padlock{font-size:12px;margin-left:4px;line-height:1}[id*=give_secure_site_wrapper] span.padlock:before{font-family:Font Awesome\ 5 Free;font-weight:900;content:"\f023"}body>:not([class^=give]):not([id^=give]){display:none}@keyframes slideInRight{0%{transform:translate3d(-100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}@keyframes slideInLeft{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}
assets/dist/js/admin.js CHANGED
@@ -67,4 +67,4 @@ jQuery(document).ready((function(e){function t(t){var n=void 0!==t.standard_fiel
67
  * @subpackage: Assets/JS
68
  * @copyright: Copyright (c) 2016, GiveWP
69
  * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License
70
- */();s=s.filter((function(e){var t=-1!==parseInt(e.attr("href").indexOf("&tab="+r.tab));return t&&(n=e),!t})),n.length&&(s.unshift(a.pop()),a.push(n))}new Promise((function(e,t){a.length&&jQuery.each(a,(function(e,t){(t=jQuery(t)).hasClass("give-hidden")&&t.removeClass("give-hidden")})),e(!0)})).then((function(e){s.length?(o.html(""),jQuery.each(s,(function(e,t){(t=jQuery(t)).hasClass("nav-tab-active")||t.addClass("give-hidden"),t.clone().removeClass().appendTo(o)})),jQuery(".give-sub-nav-tab-wrapper",t).length||t.append(i),i.show()):i.hide()}))}))}!function(e){var t=function(t,n){var i=(n=jQuery.extend({wrapper:!0,show:!1},n)).wrapper?e(".give-spinner-wrapper",t):{},o=e(".give-spinner",t);if(n.show)return i.length&&i.addClass("is-active"),void o.addClass("is-active");i.length&&i.removeClass("is-active"),o.removeClass("is-active")},n=function(e){var t=document.location.href,n=t.split("?");e=void 0===e?"":e.replace("give-","");if(n.length>=2){for(var i=n.shift(),o=n.join("?"),r=encodeURIComponent("give-message")+"=",a=o.split(/[&;]/g),s=a.length;s-- >0;)(-1!==a[s].lastIndexOf(r,0)||""!==e&&-1!==a[s].lastIndexOf("give-messages",0)&&a[s].match(e+"$"))&&a.splice(s,1);t=i+"?"+a.join("&"),window.history.pushState("",document.title,t)}return t};function i(e,t){return e=accounting.unformat(e,Give.fn.getGlobalVar("decimal_separator")).toString(),e=!1!==(t="undefined"!==t&&t)?parseFloat(e).toFixed(t):parseFloat(e).toFixed(Give.fn.getGlobalVar("currency_decimals"))}var o={init:function(){this.deleteSingleDonation(),this.resendSingleDonationReceipt()},deleteSingleDonation:function(){new a.GiveConfirmModal({triggerSelector:".delete-single-donation",modalWrapper:"give-modal--warning",modalContent:{title:Give.fn.getGlobalVar("confirm_delete_donation"),desc:Give.fn.getGlobalVar("delete_payment")},successConfirm:function(e){window.location.assign(e.el.attr("href"))}})},resendSingleDonationReceipt:function(){new a.GiveConfirmModal({triggerSelector:".resend-single-donation-receipt",modalContent:{title:Give.fn.getGlobalVar("confirm_resend"),desc:Give.fn.getGlobalVar("resend_receipt")},successConfirm:function(e){window.location.assign(e.el.attr("href"))}})}},s={init:function(){this.edit_address(),this.add_note(),this.remove_note(),this.new_donor(),this.resend_receipt(),this.variable_price_list()},edit_address:function(){e('select[name="give-payment-address[0][country]"]').change((function(){var t=e(this),n={action:"give_get_states",country:t.val(),field_name:"give-payment-address[0][state]"};return e.post(ajaxurl,n,(function(n){t.closest(".column-container").find("#give-order-address-state-wrap").removeClass("give-hidden"),t.closest(".column-container").find(".give-column").removeClass("column-full"),t.closest(".column-container").find(".give-column").addClass("column");var i=e("#give-order-address-state-wrap");i.find("*").not(".order-data-address-line").remove(),void 0!==r()(n.states_found)&&!0===n.states_found?(i.append(n.data),i.find("select").chosen()):(i.append('<input type="text" name="give-payment-address[0][state]" value="'+n.default_state+'" class="give-edit-toggles medium-text"/>'),void 0!==r()(n.show_field)&&!1===n.show_field&&(t.closest(".column-container").find("#give-order-address-state-wrap").addClass("give-hidden"),t.closest(".column-container").find(".give-column").addClass("column-full"),t.closest(".column-container").find(".give-column").removeClass("column")))})),!1}))},add_note:function(){e("#give-add-payment-note").on("click",(function(t){function n(){e.ajax({type:"POST",data:a,url:ajaxurl,beforeSend:function(){o.prop("disabled",!0),i.prop("disabled",!0)},success:function(t){e("#give-payment-notes-inner").append(t),e(".give-no-payment-notes").hide(),e("#give-payment-note").val("")}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).always((function(){o.prop("disabled",!1),i.prop("disabled",!1)}))}t.preventDefault();var i=e(this),o=e("#give-payment-note"),r=e("#donation_note_type"),a={action:"give_insert_payment_note",payment_id:e(this).data("payment-id"),note:o.val(),type:r.val()};if(a.note)"donor"===a.type&&give_vars.email_notification.donor_note.status?new Give.modal.GiveConfirmModal({successConfirm:function(){n()},modalContent:{desc:give_vars.donor_note_confirm_msg}}).render():n();else{var s=o.css("border-color");o.css("border-color","red"),setTimeout((function(){o.css("border-color",s)}),500)}}))},remove_note:function(){e("body").on("click",".give-delete-payment-note",(function(t){t.preventDefault();var n=this;new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_deletion"),desc:Give.fn.getGlobalVar("delete_payment_note")},successConfirm:function(t){var i={action:"give_delete_payment_note",payment_id:e(n).data("payment-id"),note_id:e(n).data("note-id")};e.ajax({type:"POST",data:i,url:ajaxurl,success:function(t){return e("#give-payment-note-"+i.note_id).remove(),e(".give-payment-note").length||e(".give-no-payment-notes").show(),!1}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}}).render()}))},new_donor:function(){e("#give-donor-details").on("click",".give-payment-new-donor, .give-payment-new-donor-cancel",(function(t){t.preventDefault(),e(".donor-info").toggle(),e(".new-donor").toggle(),e(".new-donor").is(":visible")?e("#give-new-donor").val(1):e("#give-new-donor").val(0)}))},resend_receipt:function(){e("body").on("click","#give-resend-receipt",(function(t){var n=this;t.preventDefault(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("resend_receipt")},successConfirm:function(){window.location.assign(e(n).attr("href"))}}).render()}))},variable_price_list:function(){e("#give_payment_form_select").chosen().change((function(){var t,n=e(".give-donation-level");return!!(t=e(this).val())&&(!!n.length&&void e.ajax({type:"POST",url:ajaxurl,data:{form_id:t,payment_id:e('input[name="give_payment_id"]').val(),action:"give_check_for_form_price_variations_html"},success:function(t){(t=t.trim())?(n.html(t),e('select[name="give-variable-price"]').chosen().change()):n.html("")}}))})),e("#give-donation-overview").on("change",'select[name="give-variable-price"]',(function(){var t=jQuery(this).data("prices"),n=e("#give-payment-total");""!==t&&e(this).val()in t&&(n.val(t[e(this).val()]).css("background-color","yellow"),window.setTimeout((function(){n.css("background-color","white")}),1e3))}))}},l={init:function(){this.toggle_gateways(),this.setting_change_country(),this.toggle_options(),this.main_setting_update_notice(),this.verify_settings(),this.saveButtonTriggered(),this.changeAlert(),this.detectSettingsChange(),this.sequentialDonationIDPreview()},toggle_gateways:function(){e(".gateways-checkbox").on("click",(function(){var t=e(this).prev(".gateways-radio"),n=(this.checked,e(".gateways-checkbox:checked"));1===n.length?(n.prev(".gateways-radio").attr("checked","checked"),this.checked?t.removeAttr("disabled"):t.attr("disabled","disabled")):this.checked?(t.removeAttr("disabled"),t.removeAttr("checked")):t.attr("disabled","disabled")}))},setting_change_country:function(){e('select[name="base_country"]').change((function(){var t=e(this),n={action:"give_get_states",country:t.val(),field_name:"base_state"};return e.post(ajaxurl,n,(function(i){t.closest("tr").next().show(),e("#base_state_chosen").remove(),void 0!==r()(i.states_found)&&1==i.states_found?(e(':input[name="base_state"]').replaceWith(i.data).addClass("give-select-chosen"),e(':input[name="base_state"]').chosen()):(void 0!==r()(i.show_field)&&0==i.show_field&&t.closest("tr").next().hide(),e(':input[name="base_state"]').replaceWith('<input type="text" name="'+n.field_name+'" value="'+i.default_state+'" class="give-edit-toggles medium-text"/>'))})),!1}))},toggle_options:function(){e('input[name="email_access"]',".give-setting-tab-body-general").on("change",(function(){var t=e('input[name="email_access"]:checked',".give-setting-tab-body-general").val(),n=e('input[name="enable_recaptcha"]:checked',".give-setting-tab-body-general").val();"enabled"===t?(e('input[name="enable_recaptcha"]').parents("tr").show(),"enabled"===n?(e("#recaptcha_key").parents("tr").show(),e("#recaptcha_secret").parents("tr").show()):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide())):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide(),e('input[name="enable_recaptcha"]').parents("tr").hide())})).change(),e('input[name="enable_recaptcha"]',".give-setting-tab-body-general").on("change",(function(){var t=e('input[name="email_access"]:checked',".give-setting-tab-body-general").val(),n=e('input[name="enable_recaptcha"]:checked',".give-setting-tab-body-general").val();"enabled"===t&&"enabled"===n?(e("#recaptcha_key").parents("tr").show(),e("#recaptcha_secret").parents("tr").show()):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide())})).change(),e('input[name="form_featured_img"]',".give-setting-tab-body-display").on("change",(function(){"enabled"===e('input[name="form_featured_img"]:checked',".give-setting-tab-body-display").val()?e("#featured_image_size").parents("tr").show():e("#featured_image_size").parents("tr").hide()})).change(),e('input[name="terms"]',".give-setting-tab-body-display").on("change",(function(){"enabled"===e('input[name="terms"]:checked',".give-setting-tab-body-display").val()?(e("#agree_to_terms_label").parents("tr").show(),e("#wp-agreement_text-wrap").parents("tr").show()):(e("#agree_to_terms_label").parents("tr").hide(),e("#wp-agreement_text-wrap").parents("tr").hide())})).change(),e('input[name="admin_notices"]',".give-setting-tab-body-emails").on("change",(function(){"enabled"===e('input[name="admin_notices"]:checked',".give-setting-tab-body-emails").val()?(e("#donation_notification_subject").parents("tr").show(),e("#wp-donation_notification-wrap").parents("tr").show(),e("#admin_notice_emails").parents("tr").show()):(e("#donation_notification_subject").parents("tr").hide(),e("#wp-donation_notification-wrap").parents("tr").hide(),e("#admin_notice_emails").parents("tr").hide())})).change(),e('input[name="sequential-ordering_status"]',".give-setting-tab-body-general").on("change",(function(){var t=e('input[name="sequential-ordering_status"]:checked',".give-setting-tab-body-general").val(),n=e(this).closest("table");"enabled"===t?e("input",n).not('input[name="sequential-ordering_status"]').parents("tr").show():e("input",n).not('input[name="sequential-ordering_status"]').parents("tr").hide()})).change()},main_setting_update_notice:function(){var t=e("#setting-error-give-setting-updated");t.length&&window.setTimeout((function(){t.slideUp()}),5e3)},verify_settings:function(){var t=e("#success_page"),n=e("#failure_page");t.add(n).change((function(){if(t.val()===n.val()){var i='<div id="setting-error-give-matched-success-failure-page" class="updated settings-error notice is-dismissible"> <p><strong>'+Give.fn.getGlobalVar("matched_success_failure_page")+'</strong></p> <button type="button" class="notice-dismiss"><span class="screen-reader-text">'+Give.fn.getGlobalVar("dismiss_notice_text")+"</span></button> </div>",o=e("#setting-error-give-matched-success-failure-page");if(e(this).val(""),o.length)return!1;e("h1","#give-mainform").after(i),o=e("#setting-error-give-matched-success-failure-page"),e(".notice-dismiss",o).click((function(){o.remove()}))}})).change()},saveButtonTriggered:function(){e(".give-settings-setting-page").on("click",".give-save-button",(function(){e(window).unbind("beforeunload")}))},changeAlert:function(){e(window).bind("beforeunload",(function(e){var t=Give.fn.getGlobalVar("setting_not_save_message");if(I)return(e||window.event).returnValue=t,t}))},detectSettingsChange:function(){var t=e(".give-settings-setting-page");if(t.length>0){var n=e("#give-mainform").serialize();t.on("change keyup blur","form",(function(t){if(!e(t.target).closest(".js-fields-has-custom-saving-logic").length){var i=e("#give-mainform").serialize();I=n!==i}}))}},sequentialDonationIDPreview:function(){var t=jQuery("#sequential-ordering_preview");t.length&&(jQuery("#sequential-ordering_number_prefix, #sequential-ordering_number, #sequential-ordering_number_padding, #sequential-ordering_number_suffix").on("keyup change",(function(){var e=jQuery("#sequential-ordering_number_prefix").val(),n=jQuery("#sequential-ordering_number").val().trim()||"1",i=jQuery("#sequential-ordering_number_padding").val().trim(),o=jQuery("#sequential-ordering_number_suffix").val(),r="".concat(e).concat(n.padStart(i,"0")).concat(o);t.val(r)})),jQuery("#sequential-ordering_number_prefix").trigger("keyup"),jQuery("#sequential-ordering_number_prefix, #sequential-ordering_number_suffix").on("blur",(function(){e(this).val(e(this).val().replace(new RegExp(" ","g"),"-"))})))}},c={init:function(){this.date_options(),this.donors_export(),this.recount_stats()},date_options:function(){e("#give-graphs-date-options").change((function(){"other"===e(this).val()?e("#give-date-range-options").show():e("#give-date-range-options").hide()}))},donors_export:function(){e("#give_donor_export_form").change((function(){var t=e(this),n=e("option:selected",t).val(),i=e("#give_customer_export_option");"0"===t.val()?i.show():i.hide();var o=e(".give_price_options_select");if(0!=parseInt(n)){var r={action:"give_check_for_form_price_variations",form_id:n,all_prices:!0};e.post(ajaxurl,r,(function(t){o.remove(),e("#give_donor_export_form_chosen").after(t)}))}else o.remove()}))},recount_stats:function(){e("body").on("change","#recount-stats-type",(function(){var t=e("#give-tools-recount-form"),n=e("option:selected",this).data("type"),i=e("#recount-stats-submit"),o=e(".tools-form-dropdown"),r=e(".tools-date-dropdown-delete-donations");if(t.find(".notice-wrap").remove(),i.removeClass("button-disabled").attr("disabled",!1),o.hide(),r.hide(),e(".give-recount-stats-descriptions span").hide(),"reset-stats"===n)t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("reset_stats_warn")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled");else if("delete-test-donors"===n){t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("delete_test_donor")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled")}else if("delete-import-donors"===n){t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("delete_import_donor")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled")}else if("delete-donations"===n){r.show(),t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("delete_donations_only")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled")}else o.hide(),o.val(0);var a=e(".tools-form-dropdown-"+n);a.show(),a.find(".give-select-chosen").css({width:"auto","min-width":"250px"}),e("#"+n).show()})),e("body").on("change","#confirm-reset",(function(){e(this).is(":checked")?e("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")})),e("#give-tools-recount-form").submit((function(t){var n=e("#recount-stats-type").val(),i=e(this),o=e("option:selected",this).data("type");if("reset-stats"===o){if(e("#confirm-reset").is(":checked"))return!0;a=!0}i.find(".notice-wrap").remove(),i.append('<div class="notice-wrap"></div>');var r=i.find(".notice-wrap"),a=!1;(null!==n&&0!==n||(r.html('<div class="updated error"><p>'+Give.fn.getGlobalVar("batch_export_no_class")+"</p></div>"),a=!0),"recount-form"===o)&&(0==e('select[name="form_id"]').val()&&(r.html('<div class="updated error"><p>'+Give.fn.getGlobalVar("batch_export_no_reqs")+"</p></div>"),a=!0));if(a)return i.find(".button-disabled").removeClass("button-disabled"),!1}))}},d={init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;e(document.body).on("submit",".give-export-form",(function(n){n.preventDefault();var i=e(this).find('input[type="submit"]');if(!i.hasClass("button-disabled")){var o=e(this).serialize();i.addClass("button-disabled"),e("form.give-export-form select").attr("disabled",!0).trigger("chosen:updated");var r=e(this);e(this).find(".add-notices").length>0&&(r=e(this).find(".add-notices")),r.find(".notice-wrap").remove(),r.append('<div class="notice-wrap give-clearfix"><span class="spinner is-active"></span><div class="give-progress"><div></div></div></div>'),t.process_step(1,o,t,this)}}))},process_step:function(t,n,i,o){I=!0;var r=!1;e.ajax({type:"POST",url:ajaxurl,data:{form:n,action:"give_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step||t.error||t.success){I=!1,r=!0;var a=e(o).parent().find(".notice-wrap");a.find(".give-progress");if(e(o).find(".button-disabled").removeClass("button-disabled"),e(o).find("select").attr("disabled",!1).trigger("chosen:updated"),t.error){var s=t.message;a.html('<div class="updated error"><p>'+s+"</p></div>")}else if(t.success){var l=t.message;a.html('<div id="give-batch-success" class="updated notice is-dismissible"><p>'+l+'<span class="notice-dismiss"></span></p></div>')}else a.remove(),window.location=t.url}else e(".give-progress div").animate({width:t.percentage+"%"},50,(function(){})),i.process_step(parseInt(t.step),n,i,o);!0===r&&e("#give-tools-recount-form").length>0&&(e("#give-tools-recount-form")[0].reset(),e("#give-tools-recount-form .tools-form-dropdown").hide(),e("#give-tools-recount-form .tools-date-dropdown").hide(),e("#give-tools-recount-form .tools-form-dropdown-recount-form-select").val("0").trigger("chosen:updated"))}}).fail((function(t){I=!1,window.console&&window.console.log&&console.log(t),e(".notice-wrap").append(t.responseText)}))},dismiss_message:function(){e("body").on("click","#give-batch-success .notice-dismiss",(function(){e("#give-batch-success").parent().slideUp("fast")}))}},u={el:{},init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;t.el.main_container=Give_Selector_Cache.get("#give-db-updates"),t.el.update_link=Give_Selector_Cache.get(".give-update-now",t.el.main_container),t.el.run_upload_container=Give_Selector_Cache.get(".give-run-database-update",t.el.progress_main_container),t.el.progress_main_container=Give_Selector_Cache.get(".progress-container",t.el.main_container),t.el.heading=Give_Selector_Cache.get(".update-message",t.el.progress_main_container),t.el.progress_container=Give_Selector_Cache.get(".progress-content",t.el.progress_main_container),t.el.update_progress_counter=Give_Selector_Cache.get(e(".give-update-progress-count")),t.el.main_container.data("resume-update")&&(t.el.update_link.addClass("active").hide().removeClass("give-hidden"),e("#give-restart-upgrades").length||(Give.fn.getGlobalVar("ajax").length||window.setTimeout(u.start_db_update,1e3),window.setTimeout(u.get_db_updates_info,1e3,t))),t.el.update_link.hasClass("active")||(t.el.update_link.on("click","",(function(e){e.preventDefault(),t.el.run_upload_container.find(".notice").remove(),t.el.run_upload_container.append('<div class="notice notice-error non-dismissible give-run-update-containt"><p> <a href="#" class="give-run-update-button button">'+Give.fn.getGlobalVar("db_update_confirmation_msg_button")+"</a> "+Give.fn.getGlobalVar("db_update_confirmation_msg")+"</p></div>")})),e("#give-db-updates").on("click","a.give-run-update-button",(function(n){return n.preventDefault(),e(this).hasClass("active")||(e(this).addClass("active").fadeOut(),t.el.update_link.addClass("active").fadeOut(),e("#give-db-updates .give-run-update-containt").slideUp(),t.el.progress_container.find(".notice-wrap").remove(),t.el.progress_container.append('<div class="notice-wrap give-clearfix"><span class="spinner is-active"></span><div class="give-progress"><div></div></div></div>'),t.el.progress_main_container.removeClass("give-hidden"),u.start_db_update(),window.setTimeout(u.get_db_updates_info,500,t)),!1})))},start_db_update:function(){e.ajax({type:"POST",url:ajaxurl,data:{action:"give_run_db_updates",run_db_update:1,nonce:Give.fn.getGlobalVar("db_update_nonce")},dataType:"json",success:function(e){}}).always((function(){Give.fn.getGlobalVar("ajax").length||window.setTimeout(u.start_db_update,1e3)}))},get_db_updates_info:function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"give_db_updates_info"},dataType:"json",success:function(n){var i=Give_Selector_Cache.get(".notice-wrap",t.el.progress_container,!0);-1!==e.inArray("success",Object.keys(n))?n.success?(t.el.update_progress_counter.length&&t.el.update_progress_counter.text("100%"),-1!==e.inArray("heading",Object.keys(n.data))&&t.el.heading.html("<strong>"+n.data.heading+"</strong>"),t.el.update_link.closest("p").remove(),i.html('<div class="notice notice-success is-dismissible"><p>'+n.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):(-1!==e.inArray("heading",Object.keys(n.data))&&t.el.heading.html("<strong>"+n.data.heading+"</strong>"),n.data.message?(t.el.update_link.closest("p").remove(),i.html('<div class="notice notice-error is-dismissible"><p>'+n.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):setTimeout((function(){t.el.update_link.removeClass("active").show(),t.el.progress_main_container.addClass("give-hidden")}),1e3)):n&&-1!==e.inArray("percentage",Object.keys(n.data))?(t.el.update_progress_counter.length&&t.el.update_progress_counter.text(n.data.total_percentage+"%"),-1!==e.inArray("heading",Object.keys(n.data))&&t.el.heading.html("<strong>"+n.data.heading+"</strong>"),e(".give-progress div","#give-db-updates").animate({width:n.data.percentage+"%"},50,(function(){})),window.setTimeout(u.get_db_updates_info,1e3,t)):(i.html('<div class="notice notice-error"><p>'+Give.fn.getGlobal().updates.ajax_error+"</p></div>"),setTimeout((function(){t.el.update_link.removeClass("active").show(),t.el.progress_main_container.addClass("give-hidden")}),1e3))}})},process_step:function(t,n,i){I=!0,e.ajax({type:"POST",url:ajaxurl,data:{action:"give_do_ajax_updates",step:parseInt(t),update:parseInt(n)},dataType:"json",success:function(t){I=!1;var n=Give_Selector_Cache.get(".notice-wrap",i.el.progress_container,!0);-1!==e.inArray("success",Object.keys(t))?t.success?(-1!==e.inArray("heading",Object.keys(t.data))&&i.el.heading.html("<strong>"+t.data.heading+"</strong>"),i.el.update_link.closest("p").remove(),n.html('<div class="notice notice-success is-dismissible"><p>'+t.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):(-1!==e.inArray("heading",Object.keys(t.data))&&i.el.heading.html("<strong>"+t.data.heading+"</strong>"),n.html('<div class="notice notice-error"><p>'+t.data.message+"</p></div>"),setTimeout((function(){i.el.update_link.removeClass("active").show(),i.el.progress_main_container.addClass("give-hidden")}),5e3)):t&&-1!==e.inArray("percentage",Object.keys(t.data))?(e(".give-progress div","#give-db-updates").animate({width:t.data.percentage+"%"},50,(function(){})),-1!==e.inArray("heading",Object.keys(t.data))&&i.el.heading.html("<strong>"+t.data.heading.replace("{update_count}",i.el.heading.data("update-count"))+"</strong>"),i.process_step(parseInt(t.data.step),t.data.update,i)):(n.html('<div class="notice notice-error"><p>'+Give.fn.getGlobal().updates.ajax_error+"</p></div>"),setTimeout((function(){i.el.update_link.removeClass("active").show(),i.el.progress_main_container.addClass("give-hidden")}),5e3))}}).fail((function(e){I=!1,window.console&&window.console.log&&console.log(e),Give_Selector_Cache.get(".notice-wrap",self.el.progress_container).append(e.responseText)})).always((function(){}))},dismiss_message:function(){e("body").on("click","#poststuff .notice-dismiss",(function(){e(this).parent().slideUp("fast")}))}},f={init:function(){this.restartUpgrade(),this.stopUpgrade(),this.restartUpdater()},restartUpgrade:function(){jQuery("#give-restart-upgrades").click("click",(function(e){var t=this;e.preventDefault(),jQuery(".give-doing-update-text-p").show(),jQuery(".give-update-paused-text-p").hide(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("restart_upgrade")},successConfirm:function(){window.location.assign(jQuery(t).data("redirect-url"))}}).render()}))},stopUpgrade:function(){jQuery("#give-pause-upgrades").click("click",(function(e){var t=this;e.preventDefault(),jQuery(".give-doing-update-text-p").hide(),jQuery(".give-update-paused-text-p").show(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("stop_upgrade")},successConfirm:function(){window.location.assign(jQuery(t).data("redirect-url"))}}).render()}))},restartUpdater:function(){jQuery(".give-restart-updater-btn,.give-run-update-now").click("click",(function(e){var t=this;e.preventDefault(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("restart_update")},successConfirm:function(){window.location.assign(jQuery(t).attr("href"))}}).render()}))}},h={onLoadPageNumber:"",init:function(){this.loadGravatar(),this.unlockDonorFields(),this.editDonor(),this.add_email(),this.removeUser(),this.cancelEdit(),this.add_note(),this.delete_checked(),this.addressesAction(),this.bulkDeleteDonor(),h.onLoadPageNumber=e("#current-page-selector").val(),e("body").on("click",'#give-donors-filter .bulkactions input[type="submit"]',this.handleBulkActions)},loadGravatar:function(){var t,n;e(".give-donor-name").each((function(){if(!(t=e(this).find(".give-donor__image")).hasClass("gravatar-loaded")){if(n=t.attr("data-donor_email"),"1"===t.attr("data-has-valid-gravatar")){var i=e("<img>");i.attr("src",G.url(n)),i.attr("width","60"),i.attr("height","60"),e(this).find(".give-donor__image").html(i)}t.addClass("gravatar-loaded")}}))},unlockDonorFields:function(t){e("body").on("click",".give-lock-block",(function(e){new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("unlock_donor_fields_title"),desc:Give.fn.getGlobalVar("unlock_donor_fields_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),e.preventDefault()}))},editDonor:function(){e("body").on("click","#edit-donor",(function(t){t.preventDefault(),e("#give-donor-card-wrapper .editable").hide(),e("#give-donor-card-wrapper .edit-item").fadeIn().css("display","block")}))},removeUser:function(){e("body").on("click","#disconnect-donor",(function(t){return t.preventDefault(),new a.GiveConfirmModal({modalWrapper:"give-modal--warning",modalContent:{desc:Give.fn.getGlobalVar("disconnect_user")},successConfirm:function(){var t={give_action:"disconnect-userid",customer_id:e('input[name="donor_info[id]"]').val(),_wpnonce:e("#edit-donor-info #_wpnonce").val()};e.post(ajaxurl,t,(function(e){window.location.href=e.redirect}),"json")}}).render(),!1}))},cancelEdit:function(){e("body").on("click","#give-edit-donor-cancel",(function(t){t.preventDefault(),e("#give-donor-card-wrapper .edit-item").hide(),e("#give-donor-card-wrapper .editable").show(),e(".give_user_search_results").html("")}))},add_note:function(){e("body").on("click","#add-donor-note",(function(t){t.preventDefault();var n={give_action:"add-donor-note",customer_id:e("#donor-id").val(),donor_note:e("#donor-note").val(),add_donor_note_nonce:e("#add_donor_note_nonce").val()};if(n.donor_note)e.ajax({type:"POST",data:n,url:ajaxurl,success:function(t){e("#give-donor-notes").prepend(t),e(".give-no-donor-notes").hide(),e("#donor-note").val("")}}).fail((function(e){window.console&&window.console.log&&console.log(e)}));else{var i=e("#donor-note").css("border-color");e("#donor-note").css("border-color","red"),setTimeout((function(){e("#donor-note").css("border-color",i)}),500)}}))},delete_checked:function(){e("#give-donor-delete-confirm").change((function(){var t=e("#give-donor-delete-records"),n=e("#give-delete-donor");e(this).prop("checked")?(t.attr("disabled",!1),n.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),n.attr("disabled",!0))}))},add_email:function(){e("#add-donor-email").length&&e(document.body).on("click","#add-donor-email",(function(t){t.preventDefault();var n=e(this),i=n.parent();i.parent().find(".notice-wrap").remove(),i.find(".spinner").css("visibility","visible"),n.attr("disabled",!0);var o={give_action:"add_donor_email",customer_id:i.find('input[name="donor-id"]').val(),email:i.find('input[name="additional-email"]').val(),primary:i.find('input[name="make-additional-primary"]').is(":checked"),_wpnonce:i.find('input[name="add_email_nonce"]').val()};e.post(ajaxurl,o,(function(e){!0===e.success?window.location.href=e.redirect:(n.attr("disabled",!1),i.after('<div class="notice-wrap"><div class="notice notice-error inline"><p>'+e.message+"</p></div></div>"),i.find(".spinner").css("visibility","hidden"))}),"json")}))},addressesAction:function(){var n=this,i=e("#donor-address-wrapper"),o=e(".all-address",i),r=e(".give-no-address-message",i),a=e(o).parent(),s=e(".address-form",i),l=e(".js-cancel",s),c=e('select[name="country"]',s),d=e(".add-new-address",i),u=parseInt(e('input[name="donor-id"]').val());c.on("change",(function(){e(this).trigger("chosen:updated")})),o.on("click",".js-edit",(function(t){var i=e(this).closest(".address");t.preventDefault(),e(".notice",a).remove(),n.__set_address_form_val(i),n.__set_address_form_action("update",i.data("address-id")),d.hide(),o.addClass("give-hidden"),s.removeClass("add-new-address-form-hidden"),s.data("process","update")})),o.on("click",".js-remove",(function(t){t.preventDefault();var i=e(this).closest(".address");e(".notice",a).remove(),s.data("changed",!0),n.__set_address_form_val(i),n.__set_address_form_action("remove",i.data("address-id")),s.trigger("submit")})),d.on("click",(function(t){t.preventDefault(),e(".notice",a).remove(),e(this).hide(),o.addClass("give-hidden"),s.removeClass("add-new-address-form-hidden"),n.__set_address_form_action("add"),n.__set_address_form_action()})),l.on("click",(function(e){e.preventDefault(),s.find('input[type="text"]').val(""),d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden")})),s.on("change",(function(){e(this).data("changed",!0)})).on("submit",(function(n){n.preventDefault();var l=e(this);return e(".notice",a).remove(),e(this).data("changed")?(e.ajax({type:"POST",url:ajaxurl,data:{action:"donor_manage_addresses",donorID:u,form:e("form",s).serialize()},beforeSend:function(){t(i,{show:!0})},success:function(n){if(t(i),n.success){var s;switch(n.data.action){case"add":e(".give-grid-row",o).append(n.data.address_html),!r.hasClass("give-hidden")&&e("div.give-grid-col-4",o).length&&r.addClass("give-hidden");break;case"remove":(s=o.find('div[data-address-id*="'+n.data.id+'"]').parent()).length&&s.animate({"margin-left":"-999"},1e3,(function(){s.remove(),r.hasClass("give-hidden")&&!e("div.give-grid-col-4",o).length&&r.removeClass("give-hidden")}));break;case"update":var l=(s=o.find('div[data-address-id*="'+n.data.id+'"]').parent()).prev(),c={},d=!1;parseInt(e(".give-grid-row>div",o).length)<2?e(".give-grid-row",o).append(n.data.address_html):(l.length&&(l.after(n.data.address_html),d=!0),d||(c=s.next()).length&&c.before(n.data.address_html)),s.remove()}a.prepend(n.data.success_msg)}else a.prepend(n.data.error_msg)},dataType:"json"}).always((function(){l.data("changed",!1),s.find('input[type="text"]').val(""),d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden")})),!1):(d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden"),!1)}))},__set_address_form_action:function(t,n){var i=e("#donor-address-wrapper"),o=e(".address-form",i),r=e('input[name="address-action"]',o),a=e('input[name="address-id"]',o);t=t||"add",n=n||"billing",r.val(t),a.val(n)},__set_address_form_val:function(t){var n=e("#donor-address-wrapper"),i=e(".address-form",n),o=e('[data-address-type="state"]',t).text().substr(2).trim();e('select[name="country"]',i).val().trim()!==e('[data-address-type="country"]',t).text().trim()?(e('select[name="country"]',i).val(e('[data-address-type="country"]',t).text().trim()).trigger("chosen:updated").change(),window.setTimeout((function(){e('[name="state"]',i).val(o).trigger("chosen:updated")}),500)):e('[name="state"]',i).val(o).trigger("chosen:updated"),e('input[name="line1"]',i).val(e('[data-address-type="line1"]',t).text().trim()),e('input[name="line2"]',i).val(e('[data-address-type="line2"]',t).text().trim()),e('input[name="city"]',i).val(e('[data-address-type="city"]',t).text().trim()),e('input[name="zip"]',i).val(e('[data-address-type="zip"]',t).text().trim())},bulkDeleteDonor:function(){var t=e("body");t.on("click","#give-bulk-delete-cancel",(function(t){e(this).closest("tr").hide(),e(".give-skip-donor").trigger("click"),t.preventDefault()})),t.on("click","#cb-select-all-1, #cb-select-all-2",(function(){var t=e(this);e.each(e(".donor-selector"),(function(){var n=e(this).val(),i=e(this).data("name"),o='<div id="give-donor-'+n+'" data-id="'+n+'"><a class="give-skip-donor" title="'+Give.fn.getGlobalVar("remove_from_bulk_delete")+'">X</a>'+i+"</div>";t.is(":checked")&&!e(this).is(":checked")?e("#give-bulk-donors").append(o):t.is(":checked")||e("#give-bulk-donors").find("#give-donor-"+n).remove()}))})),t.on("click",".donor-selector",(function(){var t=e(this).val(),n=e(this).data("name"),i='<div id="give-donor-'+t+'" data-id="'+t+'"><a class="give-skip-donor" title="'+Give.fn.getGlobalVar("remove_from_bulk_delete")+'">X</a>'+n+"</div>";e(this).is(":checked")?e("#give-bulk-donors").prepend(i):e("#give-bulk-donors").find("#give-donor-"+t).remove()})),t.on("click","#give-bulk-delete .give-donor-delete-confirm",(function(){e(this).is(":checked")?e("#give-bulk-delete-button").removeAttr("disabled"):(e("#give-bulk-delete-button").attr("disabled",!0),e("#give-bulk-delete .give-donor-delete-records").removeAttr("checked"))})),t.on("click","#give-bulk-delete .give-donor-delete-records",(function(){e(this).is(":checked")&&(e("#give-bulk-delete .give-donor-delete-confirm").attr("checked","checked"),e("#give-bulk-delete-button").removeAttr("disabled"))})),t.on("click",".give-skip-donor",(function(){var t=e(this).closest("div").data("id");e("#give-donor-"+t).remove(),e("#donor-"+t).find('input[type="checkbox"]').removeAttr("checked")})),t.on("click",".give-single-donor-delete",(function(t){var n=e(this).data("id"),i=e("tr#donor-"+n).find(".donor-selector"),o=e('[id^="cb-select-all-"]'),r=e("#give-bulk-donors"),a=i.data("name"),s='<div id="give-donor-'+n+'" data-id="'+n+'"><a class="give-skip-donor" title="'+Give.fn.getGlobalVar("remove_from_bulk_delete")+'">X</a>'+a+"</div>";r.html(""),o.is(":checked")&&o.removeAttr("checked"),e(".donor-selector").removeAttr("checked"),i.attr("checked","checked"),0===e("#give-donor-"+n).length&&(r.prepend(s),e("#give-bulk-delete").slideDown()),t.preventDefault()}))},handleBulkActions:function(t){var n=e(this).closest(".tablenav").find("select").val(),i=[],o=e("#current-page-selector").val(),r=h.onLoadPageNumber!==o,s=Give.fn.getGlobalVar("donors_bulk_action.no_action_selected"),l=Give.fn.getGlobalVar("donors_bulk_action.no_donor_selected");return!!r||(e.each(e(".donor-selector:checked"),(function(){i.push(e(this).val())})),"-1"===n?(new a.GiveWarningAlert({modalContent:{title:s.title,desc:s.desc,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1):parseInt(i)?("delete"===n&&e("#give-bulk-delete").slideDown(),void t.preventDefault()):(new a.GiveWarningAlert({modalContent:{title:l.title,desc:l.desc,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1))}},p={init:function(){this.revoke_api_key(),this.regenerate_api_key()},revoke_api_key:function(){e("body").on("click",".give-revoke-api-key",(function(t){t.preventDefault();var n=e(this).attr("href");return new a.GiveConfirmModal({modalWrapper:"give-modal--warning",modalContent:{desc:Give.fn.getGlobalVar("revoke_api_key")},successConfirm:function(){window.location.assign(n)}}).render(),!1}))},regenerate_api_key:function(){e("body").on("click",".give-regenerate-api-key",(function(t){var n=e(this).attr("href");return new a.GiveConfirmModal({modalWrapper:"give-modal--warning",modalContent:{desc:Give.fn.getGlobalVar("regenerate_api_key")},successConfirm:function(){window.location.assign(n)}}).render(),!1}))}},m={init:function(){var t=e.query.get("give_tab").length?e.query.get("give_tab"):"form_template_options";this.handle_metabox_tab_click(),this.setup_colorpicker_fields(),this.setup_media_fields(),this.setup_repeatable_fields(),this.handle_repeater_group_events(),this.handle_multi_levels_repeater_group_events(),this.activate_tab(e('a[href="#'+t+'"]'))},handle_metabox_tab_click:function(){var t=this;e(".give-metabox-tabs a").on("click",(function(n){n.preventDefault();var i=e(this);t.activate_tab(i),t.update_query(i)}))},activate_tab:function(t){var n=t.data("tab-id"),i=t.parent(),o=e("ul.give-metabox-sub-tabs",i),r=o.length,a=e(".give-metabox-tabs a").parents("li"),s=e("ul.give-metabox-sub-tabs"),l=t.parents("ul.give-metabox-sub-tabs").length;if(e("#give_form_active_tab").val(n),r){i.toggleClass("active"),o.removeClass("give-hidden");var c=e("li.active","ul.give-metabox-sub-tabs");s.not(o).addClass("give-hidden"),a.not(i).removeClass("active"),c.addClass("active")}else l?l&&(e("ul.give-metabox-sub-tabs").addClass("give-hidden"),a.removeClass("active"),t.parents("ul.give-metabox-sub-tabs").removeClass("give-hidden").children("li").removeClass("active"),t.parents("li.has-sub-fields").addClass("active")):a.each((function(t,n){(n=e(n)).removeClass("active"),n.hasClass("has-sub-fields")&&e("ul.give-metabox-sub-tabs",n).addClass("give-hidden")}));t.parent().addClass("active"),e(".give_options_panel").removeClass("active"),e(t.attr("href")).addClass("active")},update_query:function(t){var n=t.data("tab-id"),i=e.query.set("give_tab",n).remove("message").toString();history.replaceState&&history.replaceState(null,null,i)},setup_colorpicker_fields:function(){e(document).ready((function(){var t=e(".give-colorpicker");t.length&&t.each((function(t,n){var i=e(n);i.parents(".give-template").length||i.wpColorPicker()}))}))},setup_media_fields:function(){var t,n,i=e("body");i.on("click",".give-upload-button",(function(o){o.preventDefault();var r={};switch(n=e(this),e(this).data("field-type")){case"media":r={title:Give.fn.getGlobal().metabox_fields.media.button_title,button:{text:Give.fn.getGlobal().metabox_fields.media.button_title},multiple:!1,library:{type:"image"}};break;default:r={title:Give.fn.getGlobal().metabox_fields.file.button_title,button:{text:Give.fn.getGlobal().metabox_fields.file.button_title},multiple:!1}}void 0!==jQuery(this).closest(".give-field-wrap").find(".give-input-field").attr("editing")&&(wp.media.controller.Library.prototype.defaults.contentUserSetting=!1);var a=jQuery(this).closest(".give-field-wrap").find(".give-input-field").attr("library");void 0!==a&&""!==a&&(r.library={type:a}),(t=wp.media(r)).on("select",(function(){var e=t.state().get("selection").first().toJSON(),o=n.prev(),r="id"===n.data("fvalue")?e.id:e.url;if(i.trigger("give_media_inserted",[e,o]),o.val(r),"id"!==n.data("fvalue")){var a='input[name="'+o.attr("name")+'_id"]';o.closest("tr").next("tr").find(a).length&&o.closest("tr").next("tr").find(a).val(e.id)}})),t.open()})),i.on("give_media_inserted",(function(t,i){var o=n.parents(".give-field-wrap"),r=e(".give-image-thumb",o);return!!r.length&&("image"!==i.type?(r.addClass("give-hidden"),e("img",r).attr("src",""),!1):(r.find("img").attr("src",i.url),void r.removeClass("give-hidden")))})),e("span.give-delete-image-thumb",".give-image-thumb").on("click",(function(t){t.preventDefault();var n=e(this).parents(".give-field-wrap"),i=e(this).parent(),o=e('input[type="text"]',n);i.addClass("give-hidden"),o.val(""),e("img",i).attr("src","")}))},setup_repeatable_fields:function(){jQuery((function(){jQuery(".give-repeatable-field-section").each((function(){var t=e(this),n={wrapper:".give-repeatable-fields-section-wrapper",container:".container",row:".give-row",add:".give-add-repeater-field-section-row",remove:".give-remove",move:".give-move",template:".give-template",confirm_before_remove_row:!0,confirm_before_remove_row_text:Give.fn.getGlobalVar("confirm_before_remove_row_text"),is_sortable:!0,before_add:null,after_add:g,before_remove:null,after_remove:v,sortable_options:{placeholder:"give-ui-placeholder-state-highlight",start:function(n,i){i.item.next().hasClass("give-template")&&i.item.next().after(i.item);var o=e(".give-row",t).not(".give-template");o.length&&o.each((function(t,n){var i=e('input[type="radio"].give-field',e(n));i.length&&i.each((function(){e(this).attr("data-give-checked",e(this).is(":checked"))}))})),e("body").trigger("repeater_field_sorting_start",[i.item])},stop:function(t,n){n.item.next().hasClass("give-template")&&n.item.next().after(n.item),e("body").trigger("repeater_field_sorting_stop",[n.item])},update:function(n,i){i.item.next().hasClass("give-template")&&i.item.next().after(i.item);var o=e(".give-row",t).not(".give-template"),r=e(this).closest(".give-repeatable-fields-section-wrapper");if(o.length){var a=1;o.each((function(t,n){var i=e(".give-field, label",e(n));i.length&&i.each((function(){var t=e(this).parents(".give-field-wrap"),n=e(this);e.each(this.attributes,(function(e,i){var o,r=this.value.replace(/\[/g,"_").replace(/]/g,""),s=r+"_field",l="";this.value&&(this.value=this.value.replace(/\[\d+\]/g,"["+(a-1)+"]"),o=this.value.replace(/\[/g,"_").replace(/]/g,""),t.hasClass(s)&&(l=o+"_field",t.removeClass(s).addClass(l)),r==n.attr("id")&&n.attr("id",o))}))})),a++})),window.setTimeout((function(){e("input[data-give-checked]",r).each((function(t,n){(n=e(n)).prop("checked","true"===n.attr("data-give-checked"))}))}),100),t.trigger("repeater_field_row_reordered",[i.item])}}}};jQuery(this).repeatable_fields(n)}))}))},handle_repeater_group_events:function(){var t=e(".give-repeatable-field-section"),n=e("body");n.on("click",".give-row-head button",(function(){var t=e(this).closest(".give-row");t.toggleClass("closed"),e(".give-row-body",t).toggle()})),t.on("repeater_field_new_row_added repeater_field_row_deleted repeater_field_row_reordered",(function(){_(e(this))})),n.on("repeater_field_sorting_start",(function(t,n){var i=e(".wp-editor-area",n);i.length&&i.each((function(t,n){window.setTimeout((function(){tinyMCE.execCommand("mceRemoveEditor",!0,e(n).attr("id"))}),300)}))})),n.on("repeater_field_sorting_stop",(function(t,n){var i=e(".wp-editor-area",n);i.length&&i.each((function(t,n){window.setTimeout((function(){var t=e(n).attr("id");tinyMCE.execCommand("mceAddEditor",!0,t),window.setTimeout((function(){switchEditors.go(t,"html"),e("#"+t+"-tmce").trigger("click")}),100)}),300)}))})),t.each((function(t,n){var i=e(n);_(i),parseInt(i.data("close-tabs"))&&(e(".give-row-head button",i).trigger("click"),e(".give-template",i).removeClass("closed"),e(".give-template .give-row-body",i).show())})),t.on("repeater_field_new_row_added",(function(t,n,i){e(".give-colorpicker",e(this)).each((function(t,n){var i=e(n);i.parents(".wp-picker-container").length||i.parents(".give-template").length||i.wpColorPicker()}));var o=e("div[data-wp-editor]",i);o.length&&o.each((function(t,n){var i=e(n),o=e(".wp-editor-wrap",i),r=e("textarea",i),a="give_wysiwyg_unique_"+Math.random().toString().replace(".","_"),s=o.prev();r.attr("id",a),e.post(ajaxurl,{action:"give_load_wp_editor",wp_editor:i.data("wp-editor"),wp_editor_id:a,textarea_name:e("textarea",i).attr("name")},(function(t){o.remove(),s.after(t),tinyMCEPreInit.qtInit[r.attr("id")]=e.extend(!0,tinyMCEPreInit.qtInit._give_agree_text,{id:a}),tinyMCEPreInit.mceInit[a]=e.extend(!0,tinyMCEPreInit.mceInit._give_agree_text,{body_class:a+" post-type-give_forms post-status-publish locale-"+tinyMCEPreInit.mceInit._give_agree_text.wp_lang_attr.toLowerCase(),selector:"#"+a}),tinymce.init(tinyMCEPreInit.mceInit[a]),quicktags(tinyMCEPreInit.qtInit[a]),QTags._buttonsInit(),window.setTimeout((function(){switchEditors.go(a,"html"),e("#"+a+"-tmce").trigger("click")}),100),window.wpActiveEditor||(window.wpActiveEditor=a)}))}))}))},handle_multi_levels_repeater_group_events:function(){var t=e("#_give_donation_levels_field");e("body").on("keyup",".give-multilevel-text-field",(function(){var t=e(this).closest("tr"),n=e(".give-row-head h2 span",t),i=n.data("header-title");if(e(this).val()&&e(this).val()===n.html())return!1;e(this).val()?n.html(i+": "+e(this).val()):n.html(i)})),e(".give-multilevel-text-field").each((function(t,n){if(t){var i=e(n),o=i.closest("tr"),r=e(".give-row-head h2 span",o),a=r.data("header-title");if(i.val()&&i.val()===r.html())return!1;i.val()?r.html(a+": "+i.val()):r.html(a)}})),t.on("repeater_field_row_deleted",(function(){var t=e(this);window.setTimeout((function(){var n=e(".give-row",t).not(".give-template"),i=e(".give-give_default_radio_inline",n);1===n.length&&i.prop("checked",!0)}),200)})),t.on("repeater_field_new_row_added",(function(t,n,i){var o=e(this),r=0;window.setTimeout((function(){!1===e(".give-give_default_radio_inline",o).is(":checked")&&e(".give-row",o).not(".give-template").first().find(".give-give_default_radio_inline").prop("checked",!0)}),200),e('input[type="hidden"].give-levels_id',o).each((function(t,n){var i=e(n),o=parseInt(i.val());r<o&&(r=o)})),e('input[type="hidden"].give-levels_id',i).val(++r)}))}},g=function(t,n){var i=e(t).attr("data-rf-row-count"),o=e(t).parents(".give-repeatable-field-section");i++,e("*",n).each((function(){e.each(this.attributes,(function(e,t){this.value=this.value.replace("{{row-count-placeholder}}",i-1)}))})),e(t).attr("data-rf-row-count",i),o.trigger("repeater_field_new_row_added",[t,n])},v=function(t){var n=e(t),i=n.parents(".give-repeatable-field-section"),o=e(t).attr("data-rf-row-count");n.attr("data-rf-row-count",--o),i.trigger("repeater_field_row_deleted")},_=function(t){if(parseInt(t.data("group-numbering"))){var n=e(".give-row-head h2 span",t),i=n.data("header-title");n.each((function(t,n){var o=e(n);o.parents(".give-template").length||o.html(i+": "+t)}))}},b={onLoadPageNumber:"",init:function(){b.onLoadPageNumber=e("#current-page-selector").val(),e("body").on("click",'#give-payments-filter input[type="submit"]',this.handleBulkActions)},handleBulkActions:function(t){var n=e(this).closest(".tablenav").find("select").val(),i=e(this).closest(".tablenav").find('option[value="'+n+'"]').text(),o=e('input[name="payment[]"]:checked').length,r=-1!==n.indexOf("set-status-"),s="",l="",c=e("#current-page-selector").val();if(b.onLoadPageNumber!==c)return!0;if("-1"===(n=r?"set-to-status":n))return new a.GiveWarningAlert({modalContent:{title:Give.fn.getGlobal().donors_bulk_action.no_action_selected.title,desc:Give.fn.getGlobal().donors_bulk_action.no_action_selected.desc,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1;if(Object.keys(Give.fn.getGlobalVar("donations_bulk_action")).length)for(l in Give.fn.getGlobalVar("donations_bulk_action"))if(l===n){if(s=r?Give.fn.getGlobal().donations_bulk_action[n].zero.replace("{status}",i.replace("Set To ","")):Give.fn.getGlobal().donations_bulk_action[n].zero,!parseInt(o))return new a.GiveWarningAlert({modalContent:{title:Give.fn.getGlobal().donations_bulk_action.titles.zero,desc:s,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1;s=1<o?Give.fn.getGlobal().donations_bulk_action[n].multiple:Give.fn.getGlobal().donations_bulk_action[n].single,t.preventDefault(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_bulk_action"),desc:s.replace("{payment_count}",o).replace("{status}",i.replace("Set To ",""))},successConfirm:function(t){e("#give-payments-filter").submit()}}).render()}return!0}},y=function(){var e=document.querySelectorAll(".js-give-shortcode-button");if(e){var t,n=j(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;new S(i).init()}}catch(e){n.e(e)}finally{n.f()}}};e((function(){var t;e("body").on("click","button.notice-dismiss",(function(){"give-invalid-license"!==jQuery(this).closest("div.give-notice").data("notice-id")&&n(jQuery(this).closest("div.give-notice").attr("id"))})),function(){var t,n=e(".give_datepicker");if(n.length){var i={},o={altFormat:"yy-mm-dd",onClose:function(e,t){e.length||t.input.next().val("")}};e.each(n,(function(o,r){r=e(r),t=void 0!==r.attr("data-standard-date")?r.attr("data-standard-date"):r.attr("value"),r.attr("name").length&&(i=r.clone(),n[o]=i,i.attr("name",""),r.before(i),r.hide(),r.attr("class",""),r.attr("id",""),r.val(t),r.prop("readonly",!0))})),n.length>0&&e.each(n,(function(t,n){n=e(n),o.altField=n.next(),n.datepicker(o)}))}}(),e('select[name="give-payment-status"]').on("change",(function(){var t=e(this).val();e(".give-donation-status").removeClass((function(e,t){return(t.match(/\bstatus-\S+/g)||[]).join(" ")})).addClass("status-"+t)})),(t=e(".give-select-chosen")).hasClass("give-chosen-settings")?t.chosen({no_results_text:Give.fn.getGlobalVar("chosen_add_title_prefix")+" ",width:"30%"}).on("chosen:no_results",(function(t,n){e(n.chosen.container).on("keydown",(function(i){var o=n.chosen.get_search_text();13!==i.keyCode||jQuery(n.chosen.form_field).find('option[value="'+o+'"]').length||(e(n.chosen.form_field).append('<option value="'+o+'" selected>'+o+"</option>").trigger("chosen:updated"),n.chosen.result_highlight=n.chosen.search_results.find("li.active-result").lasteturn,n.chosen.result_select(t))}))})):Object(T.a)(t),e(".chosen-container").each((function(){0===e(this).width()&&e(this).css("width","100%")})),e("#post").on("click",".give-thickbox",(function(){e(".give-select-chosen","#choose-give-form").css("width","100%")})),e.giveAjaxifyFields({type:"country_state",debug:!0}),o.init(),s.init(),l.init(),c.init(),h.init(),p.init(),d.init(),u.init(),f.init(),m.init(),b.init(),y(),e("a.give-rating-link").click((function(){jQuery(this).parent().text(jQuery(this).data("rated"))})),e(".give-ajax-user-search").on("keyup",(function(){var t=e(this).val(),n="";e(this).data("exclude")&&(n=e(this).data("exclude")),e(".give-ajax").show(),data={action:"give_search_users",user_name:t,exclude:n},document.body.style.cursor="wait",e.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(t){e(".give-ajax").hide(),e(".give_user_search_results").removeClass("hidden"),e(".give_user_search_results span").html(""),e(t.results).appendTo(".give_user_search_results span"),document.body.style.cursor="default"}})})),e("body").on("click.giveSelectUser",".give_user_search_results span a",(function(t){t.preventDefault();var n=e(this).data("login");e(".give-ajax-user-search").val(n),e(".give_user_search_results").addClass("hidden"),e(".give_user_search_results span").html("")})),e("body").on("click.giveCancelUserSearch",".give_user_search_results a.give-ajax-user-cancel",(function(t){t.preventDefault(),e(".give-ajax-user-search").val(""),e(".give_user_search_results").addClass("hidden"),e(".give_user_search_results span").html("")}));var r=e("#poststuff"),a=Give.fn.getGlobalVar("thousands_separator"),g=Give.fn.getGlobalVar("decimal_separator"),v="",_="",w="",x=g===a?1:0;r.on("keyup","input.give-money-field, input.give-price-field",(function(){var t={label:Give.fn.getGlobalVar("price_format_guide").trim()};v=(e(this).val().match(new RegExp(a,"g"))||[]).length,_=(e(this).val().match(new RegExp("[a-z]","g"))||[]).length,-1!==e(this).val().indexOf(a)&&x<v||_?e(this).giveHintCss("show",t):e(this).giveHintCss("hide",t),v=_=""})),r.on("focusout","input.give-money-field, input.give-price-field",(function(){if(w=i(e(this).val(),!1),e(this).giveHintCss("hide",{label:Give.fn.getGlobalVar("price_format_guide").trim()}),i("0",!1)===i(e(this).val(),!1)){var t=e(this).attr("placeholder");return t=t||"0",e(this).val(t),!1}-1!==(w=w.replace(".",g)).indexOf("-")&&(w=w.replace("-","")),e(this).val(w)})),r.on("focusout","#_give_number_of_donation_goal",(function(){1>e(this).val()&&e(this).val(1)})),e(".give-settings-page").on("click","#give-show-sub-nav",(function(t){t.preventDefault();var n=e(this).next();return n.is(":hover")||n.toggleClass("give-hidden"),!1})).on("blur","#give-show-sub-nav",(function(){var t=e(this).next();t.is(":hover")||t.addClass("give-hidden")})),e(".give_email_api_notification_status_setting input").change((function(){var t=e(this).val(),n="enabled"===t,i={};return e(this).closest(".give_options_panel").length?i=e(this).closest(".give_options_panel").children(".give-field-wrap:not(.give_email_api_notification_status_setting), .give-repeatable-field-section"):e(this).closest("table").length&&(i=e(this).closest("table").find("tr:not(.give_email_api_notification_status_setting)")),-1!==jQuery.inArray(t,["enabled","disabled","global"])&&(!!i.length&&void(n?i.show():i.hide()))})),e(".give_email_api_notification_status_setting input:checked").change(),E()}))}(jQuery),jQuery(window).resize((function(){E()}));function A(){var e=document.querySelector(".give-tools-setting-page-import table.step-2 .give-import-donation-required-fields");if("undefined"!==e&&null!==e){var t=!0,n=!1,i=!1,o=!1,r=!1;document.querySelectorAll(".give-import-donation-required-fields li").forEach((function(e){e.querySelector(".dashicons").classList.remove("dashicons-yes"),e.querySelector(".dashicons").classList.add("dashicons-no-alt")}));var a=Array.from(document.querySelectorAll("table.step-2 tbody select")).map((function(e){return e.value}));a.includes("email")&&(n=!0,document.querySelector(".give-import-donation-required-email .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-email .dashicons").classList.add("dashicons-yes")),a.includes("first_name")&&(i=!0,document.querySelector(".give-import-donation-required-first .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-first .dashicons").classList.add("dashicons-yes")),a.includes("amount")&&(o=!0,document.querySelector(".give-import-donation-required-amount .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-amount .dashicons").classList.add("dashicons-yes")),(a.includes("form_id")||a.includes("form_title"))&&(r=!0,document.querySelector(".give-import-donation-required-form .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-form .dashicons").classList.add("dashicons-yes")),n&&i&&o&&r&&(t=!1),document.getElementById("recount-stats-submit").disabled=t}}jQuery((function(){window.onload=function(){var e,t;A(),"undefined"!==(e=document.querySelector(".give-tools-setting-page-import table.step-2 tbody select"))&&null!==e&&jQuery(".give-tools-setting-page-import table.step-2 tbody").on("change","select",(function(){A()})),jQuery("body.give_forms_page_give-tools .give-tools-import-tab #give-import-donations-form table.step-3").length>0&&function e(){var t=jQuery("form.tools-setting-page-import");!0;var n=t.find(".give-progress"),i=jQuery(n).data("total_ajax"),o=jQuery(n).data("current"),r=jQuery(n).data("start"),s=jQuery(n).data("end"),l=jQuery(n).data("next"),c=jQuery(n).data("total"),d=jQuery(n).data("per_page");jQuery.ajax({type:"POST",url:ajaxurl,data:{action:Give.fn.getGlobalVar("give_donation_import"),total_ajax:i,current:o,start:r,end:s,next:l,total:c,per_page:d,fields:t.serialize()},dataType:"json",success:function(t){jQuery(n).data("current",t.current),jQuery(n).find("div").width(t.percentage+"%"),1==t.next?(jQuery(n).data("start",t.start),jQuery(n).data("end",t.end),1==t.last&&jQuery(n).data("next",!1),e()):(!1,window.location=t.url)},error:function(){!1,new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("import_failed"),desc:Give.fn.getGlobalVar("error_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render()}})}(),t="body.give_forms_page_give-tools .give-tools-import-tab #give-import-donations-form table.step-1 .is_csv_valid",jQuery(t).length>0&&(window.location=jQuery(t).val()),function(){var e="body.give_forms_page_give-tools .give-tools-import-tab #give-import-donations-form table.step-2 .csv_not_valid";jQuery(e).length>0&&(window.location=jQuery(e).val())}(),function(){if(jQuery("body.give_forms_page_give-tools .give-tools-import-tab #give-import-core-settings-form table.step-2").length>0){var e=jQuery("form.tools-setting-page-import"),t=e.find(".give-progress");!0,jQuery.ajax({type:"POST",url:ajaxurl,data:{action:Give.fn.getGlobalVar("core_settings_import"),fields:e.serialize()},dataType:"json",success:function(e){!1,!0===e.success?(jQuery(t).find("div").width(e.percentage+"%"),window.location=e.url):new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("import_failed"),desc:Give.fn.getGlobalVar("error_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render()},error:function(){!1,new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("import_failed"),desc:Give.fn.getGlobalVar("error_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render()}})}}(),function(){var e="body.give_forms_page_give-tools .give-tools-import-tab #give-import-core-settings-form table.step-1 .is_json_valid";jQuery(e).length>0&&(window.location=jQuery(e).val())}()}}));n(508);function O(e,t){var n="",i=document.querySelector(".give-save-button");try{n=JSON.parse(t),e.value=JSON.stringify(n,void 0,2),e.style.border="none",i.removeAttribute("disabled")}catch(t){e.style.border="1px solid red",i.setAttribute("disabled","disabled")}}function P(e){null!==e&&(O(e,e.value),e.addEventListener("blur",(function(t){O(e,t.target.value)})))}window.addEventListener("DOMContentLoaded",(function(){document.querySelector(".stripe-cc-field-format-settings");var e=document.querySelectorAll('input[name="stripe_fonts"]'),t=document.getElementById("stripe_styles_base"),n=document.getElementById("stripe_styles_empty"),i=document.getElementById("stripe_styles_invalid"),o=document.getElementById("stripe_styles_complete"),r=document.getElementById("stripe_custom_fonts"),s=document.getElementById("give-payment-status"),l=(document.querySelector(".give-stripe-disconnect"),document.querySelectorAll('input[name="stripe_checkout_type"]')),c=Array.from(document.querySelectorAll(".stripe-checkout-field")),d=document.getElementById("give-stripe-connected"),u=Array.from(document.querySelectorAll('input[name="stripe_hide_icon"]')),f=document.querySelector(".stripe-icon-style"),h=Array.from(document.querySelectorAll(' input[name="stripe_mandate_acceptance_option"]')),p=document.querySelector(".stripe-mandate-acceptance-text"),m=Array.from(document.querySelectorAll('input[name="stripe_becs_hide_icon"]')),g=document.querySelector(".stripe-becs-icon-style"),v=Array.from(document.querySelectorAll(' input[name="stripe_becs_mandate_acceptance_option"]')),_=document.querySelector(".stripe-becs-mandate-acceptance-text"),b=Array.from(document.querySelectorAll(".give-stripe-account-type-manual")),y=document.querySelector(".give-stripe-account-type-connect"),w=Array.from(document.querySelectorAll('input[name="stripe_connection_type"]')),x=document.querySelector('input[name="stripe_connection_type"]:checked'),k=Array.from(document.querySelectorAll(".give-stripe-disconnect-account-btn")),C=Array.from(document.querySelectorAll(".give-stripe-account-set-default")),S=Array.from(document.querySelectorAll('input[name="give_stripe_per_form_accounts"]')),T=document.querySelector(".give-stripe-per-form-default-account"),j=Array.from(document.querySelectorAll(".give-stripe-account-edit-name")),M=Array.from(document.querySelectorAll(".give-stripe-account-update-name")),I=Array.from(document.querySelectorAll(".give-stripe-account-cancel-name")),G=document.getElementById("give-stripe-account-manager-errors");function E(e){"connect"===e?(b.map((function(e){e.classList.add("give-hidden")})),y.classList.remove("give-hidden")):(b.map((function(e){e.classList.remove("give-hidden")})),y.classList.add("give-hidden"))}if(P(t),P(n),P(i),P(o),P(r),null!==I&&I.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target,n=t.parentNode.parentNode,i=n.querySelector(".give-stripe-account-update-name"),o=n.querySelector(".give-stripe-account-edit-name"),r=n.querySelector(".give-stripe-account-name"),a=n.querySelector('input[name="account_name"]'),s=n.querySelector(".give-stripe-account-default > a");r.textContent=a.value,t.classList.add("give-hidden"),i.classList.add("give-hidden"),a.classList.add("give-hidden"),o.classList.remove("give-hidden"),null!==s&&s.classList.remove("give-hidden")}))})),null!==j&&j.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target,n=t.parentNode.parentNode,i=n.querySelector(".give-stripe-account-update-name"),o=n.querySelector(".give-stripe-account-cancel-name"),r=n.querySelector(".give-stripe-account-name"),a=n.querySelector(".give-stripe-account-default > a"),s=r.textContent.trim(),l=document.createElement("input");l.type="text",l.name="account_name",l.value=s,r.textContent="",r.append(l),t.classList.add("give-hidden"),i.classList.remove("give-hidden"),o.classList.remove("give-hidden"),null!==a&&a.classList.add("give-hidden")}))})),null!==M&&M.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target,n=t.parentNode.parentNode.parentNode,i=n.querySelector(".give-stripe-disconnect-account-btn"),o=t.getAttribute("data-account"),r=n.querySelector(".give-stripe-account-name"),a=n.querySelector(".give-stripe-account-cancel-name"),s=n.querySelector(".give-stripe-account-default > a"),l=n.querySelector('input[name="account_name"]').value,c=new XMLHttpRequest,d=new FormData,u=e.target.previousElementSibling;d.append("action","give_stripe_update_account_name"),d.append("account_slug",o),d.append("new_account_name",l),c.open("POST",ajaxurl),c.onload=function(){var e=JSON.parse(c.response),n="";if(200===c.status&&e.success){var o=e.data.slug;n='<div class="give-notice notice inline success notice-success"><p>'.concat(e.data.message,"</p></div>"),r.innerHTML=e.data.name,t.classList.add("give-hidden"),a.classList.add("give-hidden"),t.setAttribute("data-account",o),u.classList.remove("give-hidden"),null!==i&&i.setAttribute("data-account",o),null!==s&&s.classList.remove("give-hidden")}else n='<div class="give-notice notice inline error notice-error"><p>'.concat(e.data.message,"</p></div>");G.innerHTML=n},c.send(d)}))})),null!==S&&S.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?T.classList.remove("give-hidden"):T.classList.add("give-hidden")}))})),null!==C&&C.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=new XMLHttpRequest,n=new FormData;n.append("action","give_stripe_set_account_default"),n.append("account_slug",e.target.getAttribute("data-account")),t.open("POST",ajaxurl),t.onload=function(){var n=JSON.parse(t.response);200===t.status&&n.success&&(window.location.href=e.target.getAttribute("data-url"))},t.send(n)}))})),null!==w&&null!==x&&(E(x.value),w.forEach((function(e){e.addEventListener("change",(function(e){E(e.target.value)}))}))),null!==u&&u.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?f.classList.remove("give-hidden"):f.classList.add("give-hidden")}))})),null!==h&&h.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?p.classList.remove("give-hidden"):p.classList.add("give-hidden")}))})),null!==m&&m.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?g.classList.remove("give-hidden"):g.classList.add("give-hidden")}))})),null!==v&&v.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?_.classList.remove("give-hidden"):_.classList.add("give-hidden")}))})),null!==d){var A=d.getAttribute("data-status"),O=d.getAttribute("data-redirect-url"),z=d.getAttribute("data-display"),L=d.getAttribute("data-title"),N=d.getAttribute("data-first-detail"),q=d.getAttribute("data-second-detail");"connected"===A&&"0"===z&&(new a.GiveConfirmModal({modalWrapper:"give-stripe-connected-modal give-modal--success",type:"confirm",modalContent:{title:L,desc:"<span>".concat(N,'</span><span class="give-field-description">').concat(q,"</span>")},successConfirm:function(e){window.location.href=O}}).render(),d.setAttribute("data-display","1"),history.pushState({urlPath:O},"",O))}null!==l&&l.forEach((function(e){e.addEventListener("change",(function(e){"modal"===e.target.value?c.map((function(e){return e.classList.remove("give-hidden")})):c.map((function(e){return e.classList.add("give-hidden")}))}))})),null!==k&&k.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target;new Give.modal.GiveConfirmModal({type:"alert",classes:{modalWrapper:"give-modal--warning"},modalContent:{title:Give.fn.getGlobalVar("disconnect_stripe_title"),desc:t.getAttribute("data-disconnect-message")},successConfirm:function(){window.location.href="".concat(t.getAttribute("href"),"&account=").concat(t.getAttribute("data-account"))}}).render()}))})),null!==s&&s.addEventListener("change",(function(e){var t=document.getElementById("give-stripe-opt-refund");null!==t&&(t.checked=!1,"refunded"===e.target.value?document.getElementById("give-stripe-opt-refund-wrap").style.display="block":document.getElementById("give-stripe-opt-refund-wrap").style.display="none")})),null!==e&&e.forEach((function(e){var t=document.querySelector(".give-stripe-google-fonts-wrap"),n=document.querySelector(".give-stripe-custom-fonts-wrap");e.addEventListener("change",(function(e){"custom_fonts"===e.target.value?(t.style.display="none",n.style.display="table-row"):"google_fonts"===e.target.value&&(t.style.display="table-row",n.style.display="none")}))}))})),s.a.modal=a;var z=s.a.init,L=s.a.fn,N=s.a.cache,q=s.a.modal,W=s.a.notice;window.Give={init:z,fn:L,cache:N,modal:q,notice:W,initializeIframeResize:l.a}},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(102),o=function(e){return new i.iframeResize({log:!1,sizeWidth:!0,checkOrigin:[window.location.origin],heightCalculationMethod:"documentElementOffset",widthCalculationMethod:"documentElementOffset",onMessage:function(t){var n=e.parentElement;switch(e.parentElement.classList.contains("modal-content")&&(n=n.parentElement.parentElement),t.message.action){case"giveEmbedFormContentLoaded":var i=setTimeout((function(){o()}),400);e.setAttribute("data-contentLoaded","1");var o=function(){clearTimeout(i),n.querySelector(".iframe-loader").style.opacity=0,n.querySelector(".iframe-loader").style.transition="opacity 0.2s ease",e.style.visibility="visible",e.style.minHeight="",n.style.height=null}}},onInit:function(){var t=e.parentElement,n=!1;window.addEventListener("beforeunload",(function(){n=!0})),e.contentWindow.addEventListener("beforeunload",(function(){!1===n&&(e.scrollIntoView({behavior:"smooth",inline:"nearest"}),e.parentElement.querySelector(".iframe-loader").style.opacity=1,e.parentElement.querySelector(".iframe-loader").style.transition="",e.style.visibility="hidden",t.style.height="700px")})),e.iFrameResizer.sendMessage({currentPage:Give.fn.removeURLParameter(window.location.href,"giveDonationAction")})}},e)}},9:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}});
67
  * @subpackage: Assets/JS
68
  * @copyright: Copyright (c) 2016, GiveWP
69
  * @license: http://opensource.org/licenses/gpl-2.0.php GNU Public License
70
+ */();s=s.filter((function(e){var t=-1!==parseInt(e.attr("href").indexOf("&tab="+r.tab));return t&&(n=e),!t})),n.length&&(s.unshift(a.pop()),a.push(n))}new Promise((function(e,t){a.length&&jQuery.each(a,(function(e,t){(t=jQuery(t)).hasClass("give-hidden")&&t.removeClass("give-hidden")})),e(!0)})).then((function(e){s.length?(o.html(""),jQuery.each(s,(function(e,t){(t=jQuery(t)).hasClass("nav-tab-active")||t.addClass("give-hidden"),t.clone().removeClass().appendTo(o)})),jQuery(".give-sub-nav-tab-wrapper",t).length||t.append(i),i.show()):i.hide()}))}))}!function(e){var t=function(t,n){var i=(n=jQuery.extend({wrapper:!0,show:!1},n)).wrapper?e(".give-spinner-wrapper",t):{},o=e(".give-spinner",t);if(n.show)return i.length&&i.addClass("is-active"),void o.addClass("is-active");i.length&&i.removeClass("is-active"),o.removeClass("is-active")},n=function(e){var t=document.location.href,n=t.split("?");e=void 0===e?"":e.replace("give-","");if(n.length>=2){for(var i=n.shift(),o=n.join("?"),r=encodeURIComponent("give-message")+"=",a=o.split(/[&;]/g),s=a.length;s-- >0;)(-1!==a[s].lastIndexOf(r,0)||""!==e&&-1!==a[s].lastIndexOf("give-messages",0)&&a[s].match(e+"$"))&&a.splice(s,1);t=i+"?"+a.join("&"),window.history.pushState("",document.title,t)}return t};function i(e,t){return e=accounting.unformat(e,Give.fn.getGlobalVar("decimal_separator")).toString(),e=!1!==(t="undefined"!==t&&t)?parseFloat(e).toFixed(t):parseFloat(e).toFixed(Give.fn.getGlobalVar("currency_decimals"))}var o={init:function(){this.deleteSingleDonation(),this.resendSingleDonationReceipt()},deleteSingleDonation:function(){new a.GiveConfirmModal({triggerSelector:".delete-single-donation",modalWrapper:"give-modal--warning",modalContent:{title:Give.fn.getGlobalVar("confirm_delete_donation"),desc:Give.fn.getGlobalVar("delete_payment")},successConfirm:function(e){window.location.assign(e.el.attr("href"))}})},resendSingleDonationReceipt:function(){new a.GiveConfirmModal({triggerSelector:".resend-single-donation-receipt",modalContent:{title:Give.fn.getGlobalVar("confirm_resend"),desc:Give.fn.getGlobalVar("resend_receipt")},successConfirm:function(e){window.location.assign(e.el.attr("href"))}})}},s={init:function(){this.edit_address(),this.add_note(),this.remove_note(),this.new_donor(),this.resend_receipt(),this.variable_price_list()},edit_address:function(){e('select[name="give-payment-address[0][country]"]').change((function(){var t=e(this),n={action:"give_get_states",country:t.val(),field_name:"give-payment-address[0][state]"};return e.post(ajaxurl,n,(function(n){t.closest(".column-container").find("#give-order-address-state-wrap").removeClass("give-hidden"),t.closest(".column-container").find(".give-column").removeClass("column-full"),t.closest(".column-container").find(".give-column").addClass("column");var i=e("#give-order-address-state-wrap");i.find("*").not(".order-data-address-line").remove(),void 0!==r()(n.states_found)&&!0===n.states_found?(i.append(n.data),i.find("select").chosen()):(i.append('<input type="text" name="give-payment-address[0][state]" value="'+n.default_state+'" class="give-edit-toggles medium-text"/>'),void 0!==r()(n.show_field)&&!1===n.show_field&&(t.closest(".column-container").find("#give-order-address-state-wrap").addClass("give-hidden"),t.closest(".column-container").find(".give-column").addClass("column-full"),t.closest(".column-container").find(".give-column").removeClass("column")))})),!1}))},add_note:function(){e("#give-add-payment-note").on("click",(function(t){function n(){e.ajax({type:"POST",data:a,url:ajaxurl,beforeSend:function(){o.prop("disabled",!0),i.prop("disabled",!0)},success:function(t){e("#give-payment-notes-inner").append(t),e(".give-no-payment-notes").hide(),e("#give-payment-note").val("")}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).always((function(){o.prop("disabled",!1),i.prop("disabled",!1)}))}t.preventDefault();var i=e(this),o=e("#give-payment-note"),r=e("#donation_note_type"),a={action:"give_insert_payment_note",payment_id:e(this).data("payment-id"),note:o.val(),type:r.val()};if(a.note)"donor"===a.type&&give_vars.email_notification.donor_note.status?new Give.modal.GiveConfirmModal({successConfirm:function(){n()},modalContent:{desc:give_vars.donor_note_confirm_msg}}).render():n();else{var s=o.css("border-color");o.css("border-color","red"),setTimeout((function(){o.css("border-color",s)}),500)}}))},remove_note:function(){e("body").on("click",".give-delete-payment-note",(function(t){t.preventDefault();var n=this;new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_deletion"),desc:Give.fn.getGlobalVar("delete_payment_note")},successConfirm:function(t){var i={action:"give_delete_payment_note",payment_id:e(n).data("payment-id"),note_id:e(n).data("note-id")};e.ajax({type:"POST",data:i,url:ajaxurl,success:function(t){return e("#give-payment-note-"+i.note_id).remove(),e(".give-payment-note").length||e(".give-no-payment-notes").show(),!1}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}}).render()}))},new_donor:function(){e("#give-donor-details").on("click",".give-payment-new-donor, .give-payment-new-donor-cancel",(function(t){t.preventDefault(),e(".donor-info").toggle(),e(".new-donor").toggle(),e(".new-donor").is(":visible")?e("#give-new-donor").val(1):e("#give-new-donor").val(0)}))},resend_receipt:function(){e("body").on("click","#give-resend-receipt",(function(t){var n=this;t.preventDefault(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("resend_receipt")},successConfirm:function(){window.location.assign(e(n).attr("href"))}}).render()}))},variable_price_list:function(){e("#give_payment_form_select").chosen().change((function(){var t,n=e(".give-donation-level");return!!(t=e(this).val())&&(!!n.length&&void e.ajax({type:"POST",url:ajaxurl,data:{form_id:t,payment_id:e('input[name="give_payment_id"]').val(),action:"give_check_for_form_price_variations_html"},success:function(t){(t=t.trim())?(n.html(t),e('select[name="give-variable-price"]').chosen().change()):n.html("")}}))})),e("#give-donation-overview").on("change",'select[name="give-variable-price"]',(function(){var t=jQuery(this).data("prices"),n=e("#give-payment-total");""!==t&&e(this).val()in t&&(n.val(t[e(this).val()]).css("background-color","yellow"),window.setTimeout((function(){n.css("background-color","white")}),1e3))}))}},l={init:function(){this.toggle_gateways(),this.setting_change_country(),this.toggle_options(),this.main_setting_update_notice(),this.verify_settings(),this.saveButtonTriggered(),this.changeAlert(),this.detectSettingsChange(),this.sequentialDonationIDPreview()},toggle_gateways:function(){e(".gateways-checkbox").on("click",(function(){var t=e(this).prev(".gateways-radio"),n=(this.checked,e(".gateways-checkbox:checked"));1===n.length?(n.prev(".gateways-radio").attr("checked","checked"),this.checked?t.removeAttr("disabled"):t.attr("disabled","disabled")):this.checked?(t.removeAttr("disabled"),t.removeAttr("checked")):t.attr("disabled","disabled")}))},setting_change_country:function(){e('select[name="base_country"]').change((function(){var t=e(this),n={action:"give_get_states",country:t.val(),field_name:"base_state"};return e.post(ajaxurl,n,(function(i){t.closest("tr").next().show(),e("#base_state_chosen").remove(),void 0!==r()(i.states_found)&&1==i.states_found?(e(':input[name="base_state"]').replaceWith(i.data).addClass("give-select-chosen"),e(':input[name="base_state"]').chosen()):(void 0!==r()(i.show_field)&&0==i.show_field&&t.closest("tr").next().hide(),e(':input[name="base_state"]').replaceWith('<input type="text" name="'+n.field_name+'" value="'+i.default_state+'" class="give-edit-toggles medium-text"/>'))})),!1}))},toggle_options:function(){e('input[name="email_access"]',".give-setting-tab-body-general").on("change",(function(){var t=e('input[name="email_access"]:checked',".give-setting-tab-body-general").val(),n=e('input[name="enable_recaptcha"]:checked',".give-setting-tab-body-general").val();"enabled"===t?(e('input[name="enable_recaptcha"]').parents("tr").show(),"enabled"===n?(e("#recaptcha_key").parents("tr").show(),e("#recaptcha_secret").parents("tr").show()):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide())):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide(),e('input[name="enable_recaptcha"]').parents("tr").hide())})).change(),e('input[name="enable_recaptcha"]',".give-setting-tab-body-general").on("change",(function(){var t=e('input[name="email_access"]:checked',".give-setting-tab-body-general").val(),n=e('input[name="enable_recaptcha"]:checked',".give-setting-tab-body-general").val();"enabled"===t&&"enabled"===n?(e("#recaptcha_key").parents("tr").show(),e("#recaptcha_secret").parents("tr").show()):(e("#recaptcha_key").parents("tr").hide(),e("#recaptcha_secret").parents("tr").hide())})).change(),e('input[name="form_featured_img"]',".give-setting-tab-body-display").on("change",(function(){"enabled"===e('input[name="form_featured_img"]:checked',".give-setting-tab-body-display").val()?e("#featured_image_size").parents("tr").show():e("#featured_image_size").parents("tr").hide()})).change(),e('input[name="terms"]',".give-setting-tab-body-display").on("change",(function(){"enabled"===e('input[name="terms"]:checked',".give-setting-tab-body-display").val()?(e("#agree_to_terms_label").parents("tr").show(),e("#wp-agreement_text-wrap").parents("tr").show()):(e("#agree_to_terms_label").parents("tr").hide(),e("#wp-agreement_text-wrap").parents("tr").hide())})).change(),e('input[name="admin_notices"]',".give-setting-tab-body-emails").on("change",(function(){"enabled"===e('input[name="admin_notices"]:checked',".give-setting-tab-body-emails").val()?(e("#donation_notification_subject").parents("tr").show(),e("#wp-donation_notification-wrap").parents("tr").show(),e("#admin_notice_emails").parents("tr").show()):(e("#donation_notification_subject").parents("tr").hide(),e("#wp-donation_notification-wrap").parents("tr").hide(),e("#admin_notice_emails").parents("tr").hide())})).change(),e('input[name="sequential-ordering_status"]',".give-setting-tab-body-general").on("change",(function(){var t=e('input[name="sequential-ordering_status"]:checked',".give-setting-tab-body-general").val(),n=e(this).closest("table");"enabled"===t?e("input",n).not('input[name="sequential-ordering_status"]').parents("tr").show():e("input",n).not('input[name="sequential-ordering_status"]').parents("tr").hide()})).change()},main_setting_update_notice:function(){var t=e("#setting-error-give-setting-updated");t.length&&window.setTimeout((function(){t.slideUp()}),5e3)},verify_settings:function(){var t=e("#success_page"),n=e("#failure_page");t.add(n).change((function(){if(t.val()===n.val()){var i='<div id="setting-error-give-matched-success-failure-page" class="updated settings-error notice is-dismissible"> <p><strong>'+Give.fn.getGlobalVar("matched_success_failure_page")+'</strong></p> <button type="button" class="notice-dismiss"><span class="screen-reader-text">'+Give.fn.getGlobalVar("dismiss_notice_text")+"</span></button> </div>",o=e("#setting-error-give-matched-success-failure-page");if(e(this).val(""),o.length)return!1;e("h1","#give-mainform").after(i),o=e("#setting-error-give-matched-success-failure-page"),e(".notice-dismiss",o).click((function(){o.remove()}))}})).change()},saveButtonTriggered:function(){e(".give-settings-setting-page").on("click",".give-save-button",(function(){e(window).unbind("beforeunload")}))},changeAlert:function(){e(window).bind("beforeunload",(function(e){var t=Give.fn.getGlobalVar("setting_not_save_message");if(I)return(e||window.event).returnValue=t,t}))},detectSettingsChange:function(){var t=e(".give-settings-setting-page");if(t.length>0){var n=e("#give-mainform").serialize();t.on("change keyup blur","form",(function(t){if(!e(t.target).closest(".js-fields-has-custom-saving-logic").length){var i=e("#give-mainform").serialize();I=n!==i}}))}},sequentialDonationIDPreview:function(){var t=jQuery("#sequential-ordering_preview");t.length&&(jQuery("#sequential-ordering_number_prefix, #sequential-ordering_number, #sequential-ordering_number_padding, #sequential-ordering_number_suffix").on("keyup change",(function(){var e=jQuery("#sequential-ordering_number_prefix").val(),n=jQuery("#sequential-ordering_number").val().trim()||"1",i=jQuery("#sequential-ordering_number_padding").val().trim(),o=jQuery("#sequential-ordering_number_suffix").val(),r="".concat(e).concat(n.padStart(i,"0")).concat(o);t.val(r)})),jQuery("#sequential-ordering_number_prefix").trigger("keyup"),jQuery("#sequential-ordering_number_prefix, #sequential-ordering_number_suffix").on("blur",(function(){e(this).val(e(this).val().replace(new RegExp(" ","g"),"-"))})))}},c={init:function(){this.date_options(),this.donors_export(),this.recount_stats()},date_options:function(){e("#give-graphs-date-options").change((function(){"other"===e(this).val()?e("#give-date-range-options").show():e("#give-date-range-options").hide()}))},donors_export:function(){e("#give_donor_export_form").change((function(){var t=e(this),n=e("option:selected",t).val(),i=e("#give_customer_export_option");"0"===t.val()?i.show():i.hide();var o=e(".give_price_options_select");if(0!=parseInt(n)){var r={action:"give_check_for_form_price_variations",form_id:n,all_prices:!0};e.post(ajaxurl,r,(function(t){o.remove(),e("#give_donor_export_form_chosen").after(t)}))}else o.remove()}))},recount_stats:function(){e("body").on("change","#recount-stats-type",(function(){var t=e("#give-tools-recount-form"),n=e("option:selected",this).data("type"),i=e("#recount-stats-submit"),o=e(".tools-form-dropdown"),r=e(".tools-date-dropdown-delete-donations");if(t.find(".notice-wrap").remove(),i.removeClass("button-disabled").attr("disabled",!1),o.hide(),r.hide(),e(".give-recount-stats-descriptions span").hide(),"reset-stats"===n)t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("reset_stats_warn")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled");else if("delete-test-donors"===n){t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("delete_test_donor")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled")}else if("delete-import-donors"===n){t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("delete_import_donor")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled")}else if("delete-donations"===n){r.show(),t.append('<div class="notice-wrap"></div>'),t.find(".notice-wrap").html('<div class="notice notice-warning"><p><input type="checkbox" id="confirm-reset" name="confirm_reset_store" value="1" /> <label for="confirm-reset">'+Give.fn.getGlobalVar("delete_donations_only")+"</label></p></div>"),i.addClass("button-disabled").attr("disabled","disabled")}else o.hide(),o.val(0);var a=e(".tools-form-dropdown-"+n);a.show(),a.find(".give-select-chosen").css({width:"auto","min-width":"250px"}),e("#"+n).show()})),e("body").on("change","#confirm-reset",(function(){e(this).is(":checked")?e("#recount-stats-submit").removeClass("button-disabled").removeAttr("disabled"):e("#recount-stats-submit").addClass("button-disabled").attr("disabled","disabled")})),e("#give-tools-recount-form").submit((function(t){var n=e("#recount-stats-type").val(),i=e(this),o=e("option:selected",this).data("type");if("reset-stats"===o){if(e("#confirm-reset").is(":checked"))return!0;a=!0}i.find(".notice-wrap").remove(),i.append('<div class="notice-wrap"></div>');var r=i.find(".notice-wrap"),a=!1;(null!==n&&0!==n||(r.html('<div class="updated error"><p>'+Give.fn.getGlobalVar("batch_export_no_class")+"</p></div>"),a=!0),"recount-form"===o)&&(0==e('select[name="form_id"]').val()&&(r.html('<div class="updated error"><p>'+Give.fn.getGlobalVar("batch_export_no_reqs")+"</p></div>"),a=!0));if(a)return i.find(".button-disabled").removeClass("button-disabled"),!1}))}},d={init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;e(document.body).on("submit",".give-export-form",(function(n){n.preventDefault();var i=e(this).find('input[type="submit"]');if(!i.hasClass("button-disabled")){var o=e(this).serialize();i.addClass("button-disabled"),e("form.give-export-form select").attr("disabled",!0).trigger("chosen:updated");var r=e(this);e(this).find(".add-notices").length>0&&(r=e(this).find(".add-notices")),r.find(".notice-wrap").remove(),r.append('<div class="notice-wrap give-clearfix"><span class="spinner is-active"></span><div class="give-progress"><div></div></div></div>'),t.process_step(1,o,t,this)}}))},process_step:function(t,n,i,o){I=!0;var r=!1;e.ajax({type:"POST",url:ajaxurl,data:{form:n,action:"give_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"==t.step||t.error||t.success){I=!1,r=!0;var a=e(o).parent().find(".notice-wrap");a.find(".give-progress");if(e(o).find(".button-disabled").removeClass("button-disabled"),e(o).find("select").attr("disabled",!1).trigger("chosen:updated"),t.error){var s=t.message;a.html('<div class="updated error"><p>'+s+"</p></div>")}else if(t.success){var l=t.message;a.html('<div id="give-batch-success" class="updated notice is-dismissible"><p>'+l+'<span class="notice-dismiss"></span></p></div>')}else a.remove(),window.location=t.url}else e(".give-progress div").animate({width:t.percentage+"%"},50,(function(){})),i.process_step(parseInt(t.step),n,i,o);!0===r&&e("#give-tools-recount-form").length>0&&(e("#give-tools-recount-form")[0].reset(),e("#give-tools-recount-form .tools-form-dropdown").hide(),e("#give-tools-recount-form .tools-date-dropdown").hide(),e("#give-tools-recount-form .tools-form-dropdown-recount-form-select").val("0").trigger("chosen:updated"))}}).fail((function(t){I=!1,window.console&&window.console.log&&console.log(t),e(".notice-wrap").append(t.responseText)}))},dismiss_message:function(){e("body").on("click","#give-batch-success .notice-dismiss",(function(){e("#give-batch-success").parent().slideUp("fast")}))}},u={el:{},init:function(){this.submit(),this.dismiss_message()},submit:function(){var t=this;t.el.main_container=Give_Selector_Cache.get("#give-db-updates"),t.el.update_link=Give_Selector_Cache.get(".give-update-now",t.el.main_container),t.el.run_upload_container=Give_Selector_Cache.get(".give-run-database-update",t.el.progress_main_container),t.el.progress_main_container=Give_Selector_Cache.get(".progress-container",t.el.main_container),t.el.heading=Give_Selector_Cache.get(".update-message",t.el.progress_main_container),t.el.progress_container=Give_Selector_Cache.get(".progress-content",t.el.progress_main_container),t.el.update_progress_counter=Give_Selector_Cache.get(e(".give-update-progress-count")),t.el.main_container.data("resume-update")&&(t.el.update_link.addClass("active").hide().removeClass("give-hidden"),e("#give-restart-upgrades").length||(Give.fn.getGlobalVar("ajax").length||window.setTimeout(u.start_db_update,1e3),window.setTimeout(u.get_db_updates_info,1e3,t))),t.el.update_link.hasClass("active")||(t.el.update_link.on("click","",(function(e){e.preventDefault(),t.el.run_upload_container.find(".notice").remove(),t.el.run_upload_container.append('<div class="notice notice-error non-dismissible give-run-update-containt"><p> <a href="#" class="give-run-update-button button">'+Give.fn.getGlobalVar("db_update_confirmation_msg_button")+"</a> "+Give.fn.getGlobalVar("db_update_confirmation_msg")+"</p></div>")})),e("#give-db-updates").on("click","a.give-run-update-button",(function(n){return n.preventDefault(),e(this).hasClass("active")||(e(this).addClass("active").fadeOut(),t.el.update_link.addClass("active").fadeOut(),e("#give-db-updates .give-run-update-containt").slideUp(),t.el.progress_container.find(".notice-wrap").remove(),t.el.progress_container.append('<div class="notice-wrap give-clearfix"><span class="spinner is-active"></span><div class="give-progress"><div></div></div></div>'),t.el.progress_main_container.removeClass("give-hidden"),u.start_db_update(),window.setTimeout(u.get_db_updates_info,500,t)),!1})))},start_db_update:function(){e.ajax({type:"POST",url:ajaxurl,data:{action:"give_run_db_updates",run_db_update:1,nonce:Give.fn.getGlobalVar("db_update_nonce")},dataType:"json",success:function(e){}}).always((function(){Give.fn.getGlobalVar("ajax").length||window.setTimeout(u.start_db_update,1e3)}))},get_db_updates_info:function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"give_db_updates_info"},dataType:"json",success:function(n){var i=Give_Selector_Cache.get(".notice-wrap",t.el.progress_container,!0);-1!==e.inArray("success",Object.keys(n))?n.success?(t.el.update_progress_counter.length&&t.el.update_progress_counter.text("100%"),-1!==e.inArray("heading",Object.keys(n.data))&&t.el.heading.html("<strong>"+n.data.heading+"</strong>"),t.el.update_link.closest("p").remove(),i.html('<div class="notice notice-success is-dismissible"><p>'+n.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):(-1!==e.inArray("heading",Object.keys(n.data))&&t.el.heading.html("<strong>"+n.data.heading+"</strong>"),n.data.message?(t.el.update_link.closest("p").remove(),i.html('<div class="notice notice-error is-dismissible"><p>'+n.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):setTimeout((function(){t.el.update_link.removeClass("active").show(),t.el.progress_main_container.addClass("give-hidden")}),1e3)):n&&-1!==e.inArray("percentage",Object.keys(n.data))?(t.el.update_progress_counter.length&&t.el.update_progress_counter.text(n.data.total_percentage+"%"),-1!==e.inArray("heading",Object.keys(n.data))&&t.el.heading.html("<strong>"+n.data.heading+"</strong>"),e(".give-progress div","#give-db-updates").animate({width:n.data.percentage+"%"},50,(function(){})),window.setTimeout(u.get_db_updates_info,1e3,t)):(i.html('<div class="notice notice-error"><p>'+Give.fn.getGlobal().updates.ajax_error+"</p></div>"),setTimeout((function(){t.el.update_link.removeClass("active").show(),t.el.progress_main_container.addClass("give-hidden")}),1e3))}})},process_step:function(t,n,i){I=!0,e.ajax({type:"POST",url:ajaxurl,data:{action:"give_do_ajax_updates",step:parseInt(t),update:parseInt(n)},dataType:"json",success:function(t){I=!1;var n=Give_Selector_Cache.get(".notice-wrap",i.el.progress_container,!0);-1!==e.inArray("success",Object.keys(t))?t.success?(-1!==e.inArray("heading",Object.keys(t.data))&&i.el.heading.html("<strong>"+t.data.heading+"</strong>"),i.el.update_link.closest("p").remove(),n.html('<div class="notice notice-success is-dismissible"><p>'+t.data.message+'</p><button type="button" class="notice-dismiss"></button></div>')):(-1!==e.inArray("heading",Object.keys(t.data))&&i.el.heading.html("<strong>"+t.data.heading+"</strong>"),n.html('<div class="notice notice-error"><p>'+t.data.message+"</p></div>"),setTimeout((function(){i.el.update_link.removeClass("active").show(),i.el.progress_main_container.addClass("give-hidden")}),5e3)):t&&-1!==e.inArray("percentage",Object.keys(t.data))?(e(".give-progress div","#give-db-updates").animate({width:t.data.percentage+"%"},50,(function(){})),-1!==e.inArray("heading",Object.keys(t.data))&&i.el.heading.html("<strong>"+t.data.heading.replace("{update_count}",i.el.heading.data("update-count"))+"</strong>"),i.process_step(parseInt(t.data.step),t.data.update,i)):(n.html('<div class="notice notice-error"><p>'+Give.fn.getGlobal().updates.ajax_error+"</p></div>"),setTimeout((function(){i.el.update_link.removeClass("active").show(),i.el.progress_main_container.addClass("give-hidden")}),5e3))}}).fail((function(e){I=!1,window.console&&window.console.log&&console.log(e),Give_Selector_Cache.get(".notice-wrap",self.el.progress_container).append(e.responseText)})).always((function(){}))},dismiss_message:function(){e("body").on("click","#poststuff .notice-dismiss",(function(){e(this).parent().slideUp("fast")}))}},f={init:function(){this.restartUpgrade(),this.stopUpgrade(),this.restartUpdater()},restartUpgrade:function(){jQuery("#give-restart-upgrades").click("click",(function(e){var t=this;e.preventDefault(),jQuery(".give-doing-update-text-p").show(),jQuery(".give-update-paused-text-p").hide(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("restart_upgrade")},successConfirm:function(){window.location.assign(jQuery(t).data("redirect-url"))}}).render()}))},stopUpgrade:function(){jQuery("#give-pause-upgrades").click("click",(function(e){var t=this;e.preventDefault(),jQuery(".give-doing-update-text-p").hide(),jQuery(".give-update-paused-text-p").show(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("stop_upgrade")},successConfirm:function(){window.location.assign(jQuery(t).data("redirect-url"))}}).render()}))},restartUpdater:function(){jQuery(".give-restart-updater-btn,.give-run-update-now").click("click",(function(e){var t=this;e.preventDefault(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_action"),desc:Give.fn.getGlobalVar("restart_update")},successConfirm:function(){window.location.assign(jQuery(t).attr("href"))}}).render()}))}},h={onLoadPageNumber:"",init:function(){this.loadGravatar(),this.unlockDonorFields(),this.editDonor(),this.add_email(),this.removeUser(),this.cancelEdit(),this.add_note(),this.delete_checked(),this.addressesAction(),this.bulkDeleteDonor(),h.onLoadPageNumber=e("#current-page-selector").val(),e("body").on("click",'#give-donors-filter .bulkactions input[type="submit"]',this.handleBulkActions)},loadGravatar:function(){var t,n;e(".give-donor-name").each((function(){if(!(t=e(this).find(".give-donor__image")).hasClass("gravatar-loaded")){if(n=t.attr("data-donor_email"),"1"===t.attr("data-has-valid-gravatar")){var i=e("<img>");i.attr("src",G.url(n)),i.attr("width","60"),i.attr("height","60"),e(this).find(".give-donor__image").html(i)}t.addClass("gravatar-loaded")}}))},unlockDonorFields:function(t){e("body").on("click",".give-lock-block",(function(e){new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("unlock_donor_fields_title"),desc:Give.fn.getGlobalVar("unlock_donor_fields_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),e.preventDefault()}))},editDonor:function(){e("body").on("click","#edit-donor",(function(t){t.preventDefault(),e("#give-donor-card-wrapper .editable").hide(),e("#give-donor-card-wrapper .edit-item").fadeIn().css("display","block")}))},removeUser:function(){e("body").on("click","#disconnect-donor",(function(t){return t.preventDefault(),new a.GiveConfirmModal({modalWrapper:"give-modal--warning",modalContent:{desc:Give.fn.getGlobalVar("disconnect_user")},successConfirm:function(){var t={give_action:"disconnect-userid",customer_id:e('input[name="donor_info[id]"]').val(),_wpnonce:e("#edit-donor-info #_wpnonce").val()};e.post(ajaxurl,t,(function(e){window.location.href=e.redirect}),"json")}}).render(),!1}))},cancelEdit:function(){e("body").on("click","#give-edit-donor-cancel",(function(t){t.preventDefault(),e("#give-donor-card-wrapper .edit-item").hide(),e("#give-donor-card-wrapper .editable").show(),e(".give_user_search_results").html("")}))},add_note:function(){e("body").on("click","#add-donor-note",(function(t){t.preventDefault();var n={give_action:"add-donor-note",customer_id:e("#donor-id").val(),donor_note:e("#donor-note").val(),add_donor_note_nonce:e("#add_donor_note_nonce").val()};if(n.donor_note)e.ajax({type:"POST",data:n,url:ajaxurl,success:function(t){e("#give-donor-notes").prepend(t),e(".give-no-donor-notes").hide(),e("#donor-note").val("")}}).fail((function(e){window.console&&window.console.log&&console.log(e)}));else{var i=e("#donor-note").css("border-color");e("#donor-note").css("border-color","red"),setTimeout((function(){e("#donor-note").css("border-color",i)}),500)}}))},delete_checked:function(){e("#give-donor-delete-confirm").change((function(){var t=e("#give-donor-delete-records"),n=e("#give-delete-donor");e(this).prop("checked")?(t.attr("disabled",!1),n.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),n.attr("disabled",!0))}))},add_email:function(){e("#add-donor-email").length&&e(document.body).on("click","#add-donor-email",(function(t){t.preventDefault();var n=e(this),i=n.parent();i.parent().find(".notice-wrap").remove(),i.find(".spinner").css("visibility","visible"),n.attr("disabled",!0);var o={give_action:"add_donor_email",customer_id:i.find('input[name="donor-id"]').val(),email:i.find('input[name="additional-email"]').val(),primary:i.find('input[name="make-additional-primary"]').is(":checked"),_wpnonce:i.find('input[name="add_email_nonce"]').val()};e.post(ajaxurl,o,(function(e){!0===e.success?window.location.href=e.redirect:(n.attr("disabled",!1),i.after('<div class="notice-wrap"><div class="notice notice-error inline"><p>'+e.message+"</p></div></div>"),i.find(".spinner").css("visibility","hidden"))}),"json")}))},addressesAction:function(){var n=this,i=e("#donor-address-wrapper"),o=e(".all-address",i),r=e(".give-no-address-message",i),a=e(o).parent(),s=e(".address-form",i),l=e(".js-cancel",s),c=e('select[name="country"]',s),d=e(".add-new-address",i),u=parseInt(e('input[name="donor-id"]').val());c.on("change",(function(){e(this).trigger("chosen:updated")})),o.on("click",".js-edit",(function(t){var i=e(this).closest(".address");t.preventDefault(),e(".notice",a).remove(),n.__set_address_form_val(i),n.__set_address_form_action("update",i.data("address-id")),d.hide(),o.addClass("give-hidden"),s.removeClass("add-new-address-form-hidden"),s.data("process","update")})),o.on("click",".js-remove",(function(t){t.preventDefault();var i=e(this).closest(".address");e(".notice",a).remove(),s.data("changed",!0),n.__set_address_form_val(i),n.__set_address_form_action("remove",i.data("address-id")),s.trigger("submit")})),d.on("click",(function(t){t.preventDefault(),e(".notice",a).remove(),e(this).hide(),o.addClass("give-hidden"),s.removeClass("add-new-address-form-hidden"),n.__set_address_form_action("add"),n.__set_address_form_action()})),l.on("click",(function(e){e.preventDefault(),s.find('input[type="text"]').val(""),d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden")})),s.on("change",(function(){e(this).data("changed",!0)})).on("submit",(function(n){n.preventDefault();var l=e(this);return e(".notice",a).remove(),e(this).data("changed")?(e.ajax({type:"POST",url:ajaxurl,data:{action:"donor_manage_addresses",donorID:u,form:e("form",s).serialize()},beforeSend:function(){t(i,{show:!0})},success:function(n){if(t(i),n.success){var s;switch(n.data.action){case"add":e(".give-grid-row",o).append(n.data.address_html),!r.hasClass("give-hidden")&&e("div.give-grid-col-4",o).length&&r.addClass("give-hidden");break;case"remove":(s=o.find('div[data-address-id*="'+n.data.id+'"]').parent()).length&&s.animate({"margin-left":"-999"},1e3,(function(){s.remove(),r.hasClass("give-hidden")&&!e("div.give-grid-col-4",o).length&&r.removeClass("give-hidden")}));break;case"update":var l=(s=o.find('div[data-address-id*="'+n.data.id+'"]').parent()).prev(),c={},d=!1;parseInt(e(".give-grid-row>div",o).length)<2?e(".give-grid-row",o).append(n.data.address_html):(l.length&&(l.after(n.data.address_html),d=!0),d||(c=s.next()).length&&c.before(n.data.address_html)),s.remove()}a.prepend(n.data.success_msg)}else a.prepend(n.data.error_msg)},dataType:"json"}).always((function(){l.data("changed",!1),s.find('input[type="text"]').val(""),d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden")})),!1):(d.show(),o.removeClass("give-hidden"),s.addClass("add-new-address-form-hidden"),!1)}))},__set_address_form_action:function(t,n){var i=e("#donor-address-wrapper"),o=e(".address-form",i),r=e('input[name="address-action"]',o),a=e('input[name="address-id"]',o);t=t||"add",n=n||"billing",r.val(t),a.val(n)},__set_address_form_val:function(t){var n=e("#donor-address-wrapper"),i=e(".address-form",n),o=e('[data-address-type="state"]',t).text().substr(2).trim();e('select[name="country"]',i).val().trim()!==e('[data-address-type="country"]',t).text().trim()?(e('select[name="country"]',i).val(e('[data-address-type="country"]',t).text().trim()).trigger("chosen:updated").change(),window.setTimeout((function(){e('[name="state"]',i).val(o).trigger("chosen:updated")}),500)):e('[name="state"]',i).val(o).trigger("chosen:updated"),e('input[name="line1"]',i).val(e('[data-address-type="line1"]',t).text().trim()),e('input[name="line2"]',i).val(e('[data-address-type="line2"]',t).text().trim()),e('input[name="city"]',i).val(e('[data-address-type="city"]',t).text().trim()),e('input[name="zip"]',i).val(e('[data-address-type="zip"]',t).text().trim())},bulkDeleteDonor:function(){var t=e("body");t.on("click","#give-bulk-delete-cancel",(function(t){e(this).closest("tr").hide(),e(".give-skip-donor").trigger("click"),t.preventDefault()})),t.on("click","#cb-select-all-1, #cb-select-all-2",(function(){var t=e(this);e.each(e(".donor-selector"),(function(){var n=e(this).val(),i=e(this).data("name"),o='<div id="give-donor-'+n+'" data-id="'+n+'"><a class="give-skip-donor" title="'+Give.fn.getGlobalVar("remove_from_bulk_delete")+'">X</a>'+i+"</div>";t.is(":checked")&&!e(this).is(":checked")?e("#give-bulk-donors").append(o):t.is(":checked")||e("#give-bulk-donors").find("#give-donor-"+n).remove()}))})),t.on("click",".donor-selector",(function(){var t=e(this).val(),n=e(this).data("name"),i='<div id="give-donor-'+t+'" data-id="'+t+'"><a class="give-skip-donor" title="'+Give.fn.getGlobalVar("remove_from_bulk_delete")+'">X</a>'+n+"</div>";e(this).is(":checked")?e("#give-bulk-donors").prepend(i):e("#give-bulk-donors").find("#give-donor-"+t).remove()})),t.on("click","#give-bulk-delete .give-donor-delete-confirm",(function(){e(this).is(":checked")?e("#give-bulk-delete-button").removeAttr("disabled"):(e("#give-bulk-delete-button").attr("disabled",!0),e("#give-bulk-delete .give-donor-delete-records").removeAttr("checked"))})),t.on("click","#give-bulk-delete .give-donor-delete-records",(function(){e(this).is(":checked")&&(e("#give-bulk-delete .give-donor-delete-confirm").attr("checked","checked"),e("#give-bulk-delete-button").removeAttr("disabled"))})),t.on("click",".give-skip-donor",(function(){var t=e(this).closest("div").data("id");e("#give-donor-"+t).remove(),e("#donor-"+t).find('input[type="checkbox"]').removeAttr("checked")})),t.on("click",".give-single-donor-delete",(function(t){var n=e(this).data("id"),i=e("tr#donor-"+n).find(".donor-selector"),o=e('[id^="cb-select-all-"]'),r=e("#give-bulk-donors"),a=i.data("name"),s='<div id="give-donor-'+n+'" data-id="'+n+'"><a class="give-skip-donor" title="'+Give.fn.getGlobalVar("remove_from_bulk_delete")+'">X</a>'+a+"</div>";r.html(""),o.is(":checked")&&o.removeAttr("checked"),e(".donor-selector").removeAttr("checked"),i.attr("checked","checked"),0===e("#give-donor-"+n).length&&(r.prepend(s),e("#give-bulk-delete").slideDown()),t.preventDefault()}))},handleBulkActions:function(t){var n=e(this).closest(".tablenav").find("select").val(),i=[],o=e("#current-page-selector").val(),r=h.onLoadPageNumber!==o,s=Give.fn.getGlobalVar("donors_bulk_action.no_action_selected"),l=Give.fn.getGlobalVar("donors_bulk_action.no_donor_selected");return!!r||(e.each(e(".donor-selector:checked"),(function(){i.push(e(this).val())})),"-1"===n?(new a.GiveWarningAlert({modalContent:{title:s.title,desc:s.desc,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1):parseInt(i)?("delete"===n&&e("#give-bulk-delete").slideDown(),void t.preventDefault()):(new a.GiveWarningAlert({modalContent:{title:l.title,desc:l.desc,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1))}},p={init:function(){this.revoke_api_key(),this.regenerate_api_key()},revoke_api_key:function(){e("body").on("click",".give-revoke-api-key",(function(t){t.preventDefault();var n=e(this).attr("href");return new a.GiveConfirmModal({modalWrapper:"give-modal--warning",modalContent:{desc:Give.fn.getGlobalVar("revoke_api_key")},successConfirm:function(){window.location.assign(n)}}).render(),!1}))},regenerate_api_key:function(){e("body").on("click",".give-regenerate-api-key",(function(t){var n=e(this).attr("href");return new a.GiveConfirmModal({modalWrapper:"give-modal--warning",modalContent:{desc:Give.fn.getGlobalVar("regenerate_api_key")},successConfirm:function(){window.location.assign(n)}}).render(),!1}))}},m={init:function(){var t=e.query.get("give_tab").length?e.query.get("give_tab"):"form_template_options";this.handle_metabox_tab_click(),this.setup_colorpicker_fields(),this.setup_media_fields(),this.setup_repeatable_fields(),this.handle_repeater_group_events(),this.handle_multi_levels_repeater_group_events(),this.activate_tab(e('a[href="#'+t+'"]'))},handle_metabox_tab_click:function(){var t=this;e(".give-metabox-tabs a").on("click",(function(n){n.preventDefault();var i=e(this);t.activate_tab(i),t.update_query(i)}))},activate_tab:function(t){var n=t.data("tab-id"),i=t.parent(),o=e("ul.give-metabox-sub-tabs",i),r=o.length,a=e(".give-metabox-tabs a").parents("li"),s=e("ul.give-metabox-sub-tabs"),l=t.parents("ul.give-metabox-sub-tabs").length;if(e("#give_form_active_tab").val(n),r){i.toggleClass("active"),o.removeClass("give-hidden");var c=e("li.active","ul.give-metabox-sub-tabs");s.not(o).addClass("give-hidden"),a.not(i).removeClass("active"),c.addClass("active")}else l?l&&(e("ul.give-metabox-sub-tabs").addClass("give-hidden"),a.removeClass("active"),t.parents("ul.give-metabox-sub-tabs").removeClass("give-hidden").children("li").removeClass("active"),t.parents("li.has-sub-fields").addClass("active")):a.each((function(t,n){(n=e(n)).removeClass("active"),n.hasClass("has-sub-fields")&&e("ul.give-metabox-sub-tabs",n).addClass("give-hidden")}));t.parent().addClass("active"),e(".give_options_panel").removeClass("active"),e(t.attr("href")).addClass("active")},update_query:function(t){var n=t.data("tab-id"),i=e.query.set("give_tab",n).remove("message").toString();history.replaceState&&history.replaceState(null,null,i)},setup_colorpicker_fields:function(){e(document).ready((function(){var t=e(".give-colorpicker");t.length&&t.each((function(t,n){var i=e(n);i.parents(".give-template").length||i.wpColorPicker()}))}))},setup_media_fields:function(){var t,n,i=e("body");i.on("click",".give-upload-button",(function(o){o.preventDefault();var r={};switch(n=e(this),e(this).data("field-type")){case"media":r={title:Give.fn.getGlobal().metabox_fields.media.button_title,button:{text:Give.fn.getGlobal().metabox_fields.media.button_title},multiple:!1,library:{type:"image"}};break;default:r={title:Give.fn.getGlobal().metabox_fields.file.button_title,button:{text:Give.fn.getGlobal().metabox_fields.file.button_title},multiple:!1}}void 0!==jQuery(this).closest(".give-field-wrap").find(".give-input-field").attr("editing")&&(wp.media.controller.Library.prototype.defaults.contentUserSetting=!1);var a=jQuery(this).closest(".give-field-wrap").find(".give-input-field").attr("library");void 0!==a&&""!==a&&(r.library={type:a}),(t=wp.media(r)).on("select",(function(){var e=t.state().get("selection").first().toJSON(),o=n.prev(),r="id"===n.data("fvalue")?e.id:e.url;if(i.trigger("give_media_inserted",[e,o]),o.val(r),"id"!==n.data("fvalue")){var a='input[name="'+o.attr("name")+'_id"]';o.closest("tr").next("tr").find(a).length&&o.closest("tr").next("tr").find(a).val(e.id)}})),t.open()})),i.on("give_media_inserted",(function(t,i){var o=n.parents(".give-field-wrap"),r=e(".give-image-thumb",o);return!!r.length&&("image"!==i.type?(r.addClass("give-hidden"),e("img",r).attr("src",""),!1):(r.find("img").attr("src",i.url),void r.removeClass("give-hidden")))})),e("span.give-delete-image-thumb",".give-image-thumb").on("click",(function(t){t.preventDefault();var n=e(this).parents(".give-field-wrap"),i=e(this).parent(),o=e('input[type="text"]',n);i.addClass("give-hidden"),o.val(""),e("img",i).attr("src","")}))},setup_repeatable_fields:function(){jQuery((function(){jQuery(".give-repeatable-field-section").each((function(){var t=e(this),n={wrapper:".give-repeatable-fields-section-wrapper",container:".container",row:".give-row",add:".give-add-repeater-field-section-row",remove:".give-remove",move:".give-move",template:".give-template",confirm_before_remove_row:!0,confirm_before_remove_row_text:Give.fn.getGlobalVar("confirm_before_remove_row_text"),is_sortable:!0,before_add:null,after_add:g,before_remove:null,after_remove:v,sortable_options:{placeholder:"give-ui-placeholder-state-highlight",start:function(n,i){i.item.next().hasClass("give-template")&&i.item.next().after(i.item);var o=e(".give-row",t).not(".give-template");o.length&&o.each((function(t,n){var i=e('input[type="radio"].give-field',e(n));i.length&&i.each((function(){e(this).attr("data-give-checked",e(this).is(":checked"))}))})),e("body").trigger("repeater_field_sorting_start",[i.item])},stop:function(t,n){n.item.next().hasClass("give-template")&&n.item.next().after(n.item),e("body").trigger("repeater_field_sorting_stop",[n.item])},update:function(n,i){i.item.next().hasClass("give-template")&&i.item.next().after(i.item);var o=e(".give-row",t).not(".give-template"),r=e(this).closest(".give-repeatable-fields-section-wrapper");if(o.length){var a=1;o.each((function(t,n){var i=e(".give-field, label",e(n));i.length&&i.each((function(){var t=e(this).parents(".give-field-wrap"),n=e(this);e.each(this.attributes,(function(e,i){var o,r=this.value.replace(/\[/g,"_").replace(/]/g,""),s=r+"_field",l="";this.value&&(this.value=this.value.replace(/\[\d+\]/g,"["+(a-1)+"]"),o=this.value.replace(/\[/g,"_").replace(/]/g,""),t.hasClass(s)&&(l=o+"_field",t.removeClass(s).addClass(l)),r==n.attr("id")&&n.attr("id",o))}))})),a++})),window.setTimeout((function(){e("input[data-give-checked]",r).each((function(t,n){(n=e(n)).prop("checked","true"===n.attr("data-give-checked"))}))}),100),t.trigger("repeater_field_row_reordered",[i.item])}}}};jQuery(this).repeatable_fields(n)}))}))},handle_repeater_group_events:function(){var t=e(".give-repeatable-field-section"),n=e("body");n.on("click",".give-row-head button",(function(){var t=e(this).closest(".give-row");t.toggleClass("closed"),e(".give-row-body",t).toggle()})),t.on("repeater_field_new_row_added repeater_field_row_deleted repeater_field_row_reordered",(function(){_(e(this))})),n.on("repeater_field_sorting_start",(function(t,n){var i=e(".wp-editor-area",n);i.length&&i.each((function(t,n){window.setTimeout((function(){tinyMCE.execCommand("mceRemoveEditor",!0,e(n).attr("id"))}),300)}))})),n.on("repeater_field_sorting_stop",(function(t,n){var i=e(".wp-editor-area",n);i.length&&i.each((function(t,n){window.setTimeout((function(){var t=e(n).attr("id");tinyMCE.execCommand("mceAddEditor",!0,t),window.setTimeout((function(){switchEditors.go(t,"html"),e("#"+t+"-tmce").trigger("click")}),100)}),300)}))})),t.each((function(t,n){var i=e(n);_(i),parseInt(i.data("close-tabs"))&&(e(".give-row-head button",i).trigger("click"),e(".give-template",i).removeClass("closed"),e(".give-template .give-row-body",i).show())})),t.on("repeater_field_new_row_added",(function(t,n,i){e(".give-colorpicker",e(this)).each((function(t,n){var i=e(n);i.parents(".wp-picker-container").length||i.parents(".give-template").length||i.wpColorPicker()}));var o=e("div[data-wp-editor]",i);o.length&&o.each((function(t,n){var i=e(n),o=e(".wp-editor-wrap",i),r=e("textarea",i),a="give_wysiwyg_unique_"+Math.random().toString().replace(".","_"),s=o.prev();r.attr("id",a),e.post(ajaxurl,{action:"give_load_wp_editor",wp_editor:i.data("wp-editor"),wp_editor_id:a,textarea_name:e("textarea",i).attr("name")},(function(t){o.remove(),s.after(t),tinyMCEPreInit.qtInit[r.attr("id")]=e.extend(!0,tinyMCEPreInit.qtInit._give_agree_text,{id:a}),tinyMCEPreInit.mceInit[a]=e.extend(!0,tinyMCEPreInit.mceInit._give_agree_text,{body_class:a+" post-type-give_forms post-status-publish locale-"+tinyMCEPreInit.mceInit._give_agree_text.wp_lang_attr.toLowerCase(),selector:"#"+a}),tinymce.init(tinyMCEPreInit.mceInit[a]),quicktags(tinyMCEPreInit.qtInit[a]),QTags._buttonsInit(),window.setTimeout((function(){switchEditors.go(a,"html"),e("#"+a+"-tmce").trigger("click")}),100),window.wpActiveEditor||(window.wpActiveEditor=a)}))}))}))},handle_multi_levels_repeater_group_events:function(){var t=e("#_give_donation_levels_field");e("body").on("keyup",".give-multilevel-text-field",(function(){var t=e(this).closest("tr"),n=e(".give-row-head h2 span",t),i=n.data("header-title");if(e(this).val()&&e(this).val()===n.html())return!1;e(this).val()?n.html(i+": "+e(this).val()):n.html(i)})),e(".give-multilevel-text-field").each((function(t,n){if(t){var i=e(n),o=i.closest("tr"),r=e(".give-row-head h2 span",o),a=r.data("header-title");if(i.val()&&i.val()===r.html())return!1;i.val()?r.html(a+": "+i.val()):r.html(a)}})),t.on("repeater_field_row_deleted",(function(){var t=e(this);window.setTimeout((function(){var n=e(".give-row",t).not(".give-template"),i=e(".give-give_default_radio_inline",n);1===n.length&&i.prop("checked",!0)}),200)})),t.on("repeater_field_new_row_added",(function(t,n,i){var o=e(this),r=0;window.setTimeout((function(){!1===e(".give-give_default_radio_inline",o).is(":checked")&&e(".give-row",o).not(".give-template").first().find(".give-give_default_radio_inline").prop("checked",!0)}),200),e('input[type="hidden"].give-levels_id',o).each((function(t,n){var i=e(n),o=parseInt(i.val());r<o&&(r=o)})),e('input[type="hidden"].give-levels_id',i).val(++r)}))}},g=function(t,n){var i=e(t).attr("data-rf-row-count"),o=e(t).parents(".give-repeatable-field-section");i++,e("*",n).each((function(){e.each(this.attributes,(function(e,t){this.value=this.value.replace("{{row-count-placeholder}}",i-1)}))})),e(t).attr("data-rf-row-count",i),o.trigger("repeater_field_new_row_added",[t,n])},v=function(t){var n=e(t),i=n.parents(".give-repeatable-field-section"),o=e(t).attr("data-rf-row-count");n.attr("data-rf-row-count",--o),i.trigger("repeater_field_row_deleted")},_=function(t){if(parseInt(t.data("group-numbering"))){var n=e(".give-row-head h2 span",t),i=n.data("header-title");n.each((function(t,n){var o=e(n);o.parents(".give-template").length||o.html(i+": "+t)}))}},b={onLoadPageNumber:"",init:function(){b.onLoadPageNumber=e("#current-page-selector").val(),e("body").on("click",'#give-payments-filter input[type="submit"]',this.handleBulkActions)},handleBulkActions:function(t){var n=e(this).closest(".tablenav").find("select").val(),i=e(this).closest(".tablenav").find('option[value="'+n+'"]').text(),o=e('input[name="payment[]"]:checked').length,r=-1!==n.indexOf("set-status-"),s="",l="",c=e("#current-page-selector").val();if(b.onLoadPageNumber!==c)return!0;if("-1"===(n=r?"set-to-status":n))return new a.GiveWarningAlert({modalContent:{title:Give.fn.getGlobal().donors_bulk_action.no_action_selected.title,desc:Give.fn.getGlobal().donors_bulk_action.no_action_selected.desc,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1;if(Object.keys(Give.fn.getGlobalVar("donations_bulk_action")).length)for(l in Give.fn.getGlobalVar("donations_bulk_action"))if(l===n){if(s=r?Give.fn.getGlobal().donations_bulk_action[n].zero.replace("{status}",i.replace("Set To ","")):Give.fn.getGlobal().donations_bulk_action[n].zero,!parseInt(o))return new a.GiveWarningAlert({modalContent:{title:Give.fn.getGlobal().donations_bulk_action.titles.zero,desc:s,cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render(),!1;s=1<o?Give.fn.getGlobal().donations_bulk_action[n].multiple:Give.fn.getGlobal().donations_bulk_action[n].single,t.preventDefault(),new a.GiveConfirmModal({modalContent:{title:Give.fn.getGlobalVar("confirm_bulk_action"),desc:s.replace("{payment_count}",o).replace("{status}",i.replace("Set To ",""))},successConfirm:function(t){e("#give-payments-filter").submit()}}).render()}return!0}},y=function(){var e=document.querySelectorAll(".js-give-shortcode-button");if(e){var t,n=j(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;new S(i).init()}}catch(e){n.e(e)}finally{n.f()}}};e((function(){var t;e("body").on("click","button.notice-dismiss",(function(){"give-invalid-license"!==jQuery(this).closest("div.give-notice").data("notice-id")&&n(jQuery(this).closest("div.give-notice").attr("id"))})),function(){var t,n=e(".give_datepicker");if(n.length){var i={},o={altFormat:"yy-mm-dd",onClose:function(e,t){e.length||t.input.next().val("")}};e.each(n,(function(o,r){r=e(r),t=void 0!==r.attr("data-standard-date")?r.attr("data-standard-date"):r.attr("value"),r.attr("name").length&&(i=r.clone(),n[o]=i,i.attr("name",""),r.before(i),r.hide(),r.attr("class",""),r.attr("id",""),r.val(t),r.prop("readonly",!0))})),n.length>0&&e.each(n,(function(t,n){n=e(n),o.altField=n.next(),n.datepicker(o)}))}}(),e('select[name="give-payment-status"]').on("change",(function(){var t=e(this).val();e(".give-donation-status").removeClass((function(e,t){return(t.match(/\bstatus-\S+/g)||[]).join(" ")})).addClass("status-"+t)})),(t=e(".give-select-chosen")).hasClass("give-chosen-settings")?t.chosen({no_results_text:Give.fn.getGlobalVar("chosen_add_title_prefix")+" ",width:"30%"}).on("chosen:no_results",(function(t,n){e(n.chosen.container).on("keydown",(function(i){var o=n.chosen.get_search_text(),r=jQuery(n.chosen.form_field);13!==i.keyCode||r.find('option[value="'+o+'"]').length||"true"!==r.attr("data-allows-new-values")||(e(n.chosen.form_field).append('<option value="'+o+'" selected>'+o+"</option>").trigger("chosen:updated"),n.chosen.result_highlight=n.chosen.search_results.find("li.active-result").lasteturn,n.chosen.result_select(t))}))})):Object(T.a)(t),e(".chosen-container").each((function(){0===e(this).width()&&e(this).css("width","100%")})),e("#post").on("click",".give-thickbox",(function(){e(".give-select-chosen","#choose-give-form").css("width","100%")})),e.giveAjaxifyFields({type:"country_state",debug:!0}),o.init(),s.init(),l.init(),c.init(),h.init(),p.init(),d.init(),u.init(),f.init(),m.init(),b.init(),y(),e("a.give-rating-link").click((function(){jQuery(this).parent().text(jQuery(this).data("rated"))})),e(".give-ajax-user-search").on("keyup",(function(){var t=e(this).val(),n="";e(this).data("exclude")&&(n=e(this).data("exclude")),e(".give-ajax").show(),data={action:"give_search_users",user_name:t,exclude:n},document.body.style.cursor="wait",e.ajax({type:"POST",data:data,dataType:"json",url:ajaxurl,success:function(t){e(".give-ajax").hide(),e(".give_user_search_results").removeClass("hidden"),e(".give_user_search_results span").html(""),e(t.results).appendTo(".give_user_search_results span"),document.body.style.cursor="default"}})})),e("body").on("click.giveSelectUser",".give_user_search_results span a",(function(t){t.preventDefault();var n=e(this).data("login");e(".give-ajax-user-search").val(n),e(".give_user_search_results").addClass("hidden"),e(".give_user_search_results span").html("")})),e("body").on("click.giveCancelUserSearch",".give_user_search_results a.give-ajax-user-cancel",(function(t){t.preventDefault(),e(".give-ajax-user-search").val(""),e(".give_user_search_results").addClass("hidden"),e(".give_user_search_results span").html("")}));var r=e("#poststuff"),a=Give.fn.getGlobalVar("thousands_separator"),g=Give.fn.getGlobalVar("decimal_separator"),v="",_="",w="",x=g===a?1:0;r.on("keyup","input.give-money-field, input.give-price-field",(function(){var t={label:Give.fn.getGlobalVar("price_format_guide").trim()};v=(e(this).val().match(new RegExp(a,"g"))||[]).length,_=(e(this).val().match(new RegExp("[a-z]","g"))||[]).length,-1!==e(this).val().indexOf(a)&&x<v||_?e(this).giveHintCss("show",t):e(this).giveHintCss("hide",t),v=_=""})),r.on("focusout","input.give-money-field, input.give-price-field",(function(){if(w=i(e(this).val(),!1),e(this).giveHintCss("hide",{label:Give.fn.getGlobalVar("price_format_guide").trim()}),i("0",!1)===i(e(this).val(),!1)){var t=e(this).attr("placeholder");return t=t||"0",e(this).val(t),!1}-1!==(w=w.replace(".",g)).indexOf("-")&&(w=w.replace("-","")),e(this).val(w)})),r.on("focusout","#_give_number_of_donation_goal",(function(){1>e(this).val()&&e(this).val(1)})),e(".give-settings-page").on("click","#give-show-sub-nav",(function(t){t.preventDefault();var n=e(this).next();return n.is(":hover")||n.toggleClass("give-hidden"),!1})).on("blur","#give-show-sub-nav",(function(){var t=e(this).next();t.is(":hover")||t.addClass("give-hidden")})),e(".give_email_api_notification_status_setting input").change((function(){var t=e(this).val(),n="enabled"===t,i={};return e(this).closest(".give_options_panel").length?i=e(this).closest(".give_options_panel").children(".give-field-wrap:not(.give_email_api_notification_status_setting), .give-repeatable-field-section"):e(this).closest("table").length&&(i=e(this).closest("table").find("tr:not(.give_email_api_notification_status_setting)")),-1!==jQuery.inArray(t,["enabled","disabled","global"])&&(!!i.length&&void(n?i.show():i.hide()))})),e(".give_email_api_notification_status_setting input:checked").change(),E()}))}(jQuery),jQuery(window).resize((function(){E()}));function A(){var e=document.querySelector(".give-tools-setting-page-import table.step-2 .give-import-donation-required-fields");if("undefined"!==e&&null!==e){var t=!0,n=!1,i=!1,o=!1,r=!1;document.querySelectorAll(".give-import-donation-required-fields li").forEach((function(e){e.querySelector(".dashicons").classList.remove("dashicons-yes"),e.querySelector(".dashicons").classList.add("dashicons-no-alt")}));var a=Array.from(document.querySelectorAll("table.step-2 tbody select")).map((function(e){return e.value}));a.includes("email")&&(n=!0,document.querySelector(".give-import-donation-required-email .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-email .dashicons").classList.add("dashicons-yes")),a.includes("first_name")&&(i=!0,document.querySelector(".give-import-donation-required-first .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-first .dashicons").classList.add("dashicons-yes")),a.includes("amount")&&(o=!0,document.querySelector(".give-import-donation-required-amount .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-amount .dashicons").classList.add("dashicons-yes")),(a.includes("form_id")||a.includes("form_title"))&&(r=!0,document.querySelector(".give-import-donation-required-form .dashicons").classList.remove("dashicons-no-alt"),document.querySelector(".give-import-donation-required-form .dashicons").classList.add("dashicons-yes")),n&&i&&o&&r&&(t=!1),document.getElementById("recount-stats-submit").disabled=t}}jQuery((function(){window.onload=function(){var e,t;A(),"undefined"!==(e=document.querySelector(".give-tools-setting-page-import table.step-2 tbody select"))&&null!==e&&jQuery(".give-tools-setting-page-import table.step-2 tbody").on("change","select",(function(){A()})),jQuery("body.give_forms_page_give-tools .give-tools-import-tab #give-import-donations-form table.step-3").length>0&&function e(){var t=jQuery("form.tools-setting-page-import");!0;var n=t.find(".give-progress"),i=jQuery(n).data("total_ajax"),o=jQuery(n).data("current"),r=jQuery(n).data("start"),s=jQuery(n).data("end"),l=jQuery(n).data("next"),c=jQuery(n).data("total"),d=jQuery(n).data("per_page");jQuery.ajax({type:"POST",url:ajaxurl,data:{action:Give.fn.getGlobalVar("give_donation_import"),total_ajax:i,current:o,start:r,end:s,next:l,total:c,per_page:d,fields:t.serialize()},dataType:"json",success:function(t){jQuery(n).data("current",t.current),jQuery(n).find("div").width(t.percentage+"%"),1==t.next?(jQuery(n).data("start",t.start),jQuery(n).data("end",t.end),1==t.last&&jQuery(n).data("next",!1),e()):(!1,window.location=t.url)},error:function(){!1,new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("import_failed"),desc:Give.fn.getGlobalVar("error_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render()}})}(),t="body.give_forms_page_give-tools .give-tools-import-tab #give-import-donations-form table.step-1 .is_csv_valid",jQuery(t).length>0&&(window.location=jQuery(t).val()),function(){var e="body.give_forms_page_give-tools .give-tools-import-tab #give-import-donations-form table.step-2 .csv_not_valid";jQuery(e).length>0&&(window.location=jQuery(e).val())}(),function(){if(jQuery("body.give_forms_page_give-tools .give-tools-import-tab #give-import-core-settings-form table.step-2").length>0){var e=jQuery("form.tools-setting-page-import"),t=e.find(".give-progress");!0,jQuery.ajax({type:"POST",url:ajaxurl,data:{action:Give.fn.getGlobalVar("core_settings_import"),fields:e.serialize()},dataType:"json",success:function(e){!1,!0===e.success?(jQuery(t).find("div").width(e.percentage+"%"),window.location=e.url):new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("import_failed"),desc:Give.fn.getGlobalVar("error_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render()},error:function(){!1,new a.GiveErrorAlert({modalContent:{title:Give.fn.getGlobalVar("import_failed"),desc:Give.fn.getGlobalVar("error_message"),cancelBtnTitle:Give.fn.getGlobalVar("ok")}}).render()}})}}(),function(){var e="body.give_forms_page_give-tools .give-tools-import-tab #give-import-core-settings-form table.step-1 .is_json_valid";jQuery(e).length>0&&(window.location=jQuery(e).val())}()}}));n(508);function O(e,t){var n="",i=document.querySelector(".give-save-button");try{n=JSON.parse(t),e.value=JSON.stringify(n,void 0,2),e.style.border="none",i.removeAttribute("disabled")}catch(t){e.style.border="1px solid red",i.setAttribute("disabled","disabled")}}function P(e){null!==e&&(O(e,e.value),e.addEventListener("blur",(function(t){O(e,t.target.value)})))}window.addEventListener("DOMContentLoaded",(function(){document.querySelector(".stripe-cc-field-format-settings");var e=document.querySelectorAll('input[name="stripe_fonts"]'),t=document.getElementById("stripe_styles_base"),n=document.getElementById("stripe_styles_empty"),i=document.getElementById("stripe_styles_invalid"),o=document.getElementById("stripe_styles_complete"),r=document.getElementById("stripe_custom_fonts"),s=document.getElementById("give-payment-status"),l=(document.querySelector(".give-stripe-disconnect"),document.querySelectorAll('input[name="stripe_checkout_type"]')),c=Array.from(document.querySelectorAll(".stripe-checkout-field")),d=document.getElementById("give-stripe-connected"),u=Array.from(document.querySelectorAll('input[name="stripe_hide_icon"]')),f=document.querySelector(".stripe-icon-style"),h=Array.from(document.querySelectorAll(' input[name="stripe_mandate_acceptance_option"]')),p=document.querySelector(".stripe-mandate-acceptance-text"),m=Array.from(document.querySelectorAll('input[name="stripe_becs_hide_icon"]')),g=document.querySelector(".stripe-becs-icon-style"),v=Array.from(document.querySelectorAll(' input[name="stripe_becs_mandate_acceptance_option"]')),_=document.querySelector(".stripe-becs-mandate-acceptance-text"),b=Array.from(document.querySelectorAll(".give-stripe-account-type-manual")),y=document.querySelector(".give-stripe-account-type-connect"),w=Array.from(document.querySelectorAll('input[name="stripe_connection_type"]')),x=document.querySelector('input[name="stripe_connection_type"]:checked'),k=Array.from(document.querySelectorAll(".give-stripe-disconnect-account-btn")),C=Array.from(document.querySelectorAll(".give-stripe-account-set-default")),S=Array.from(document.querySelectorAll('input[name="give_stripe_per_form_accounts"]')),T=document.querySelector(".give-stripe-per-form-default-account"),j=Array.from(document.querySelectorAll(".give-stripe-account-edit-name")),M=Array.from(document.querySelectorAll(".give-stripe-account-update-name")),I=Array.from(document.querySelectorAll(".give-stripe-account-cancel-name")),G=document.getElementById("give-stripe-account-manager-errors");function E(e){"connect"===e?(b.map((function(e){e.classList.add("give-hidden")})),y.classList.remove("give-hidden")):(b.map((function(e){e.classList.remove("give-hidden")})),y.classList.add("give-hidden"))}if(P(t),P(n),P(i),P(o),P(r),null!==I&&I.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target,n=t.parentNode.parentNode,i=n.querySelector(".give-stripe-account-update-name"),o=n.querySelector(".give-stripe-account-edit-name"),r=n.querySelector(".give-stripe-account-name"),a=n.querySelector('input[name="account_name"]'),s=n.querySelector(".give-stripe-account-default > a");r.textContent=a.value,t.classList.add("give-hidden"),i.classList.add("give-hidden"),a.classList.add("give-hidden"),o.classList.remove("give-hidden"),null!==s&&s.classList.remove("give-hidden")}))})),null!==j&&j.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target,n=t.parentNode.parentNode,i=n.querySelector(".give-stripe-account-update-name"),o=n.querySelector(".give-stripe-account-cancel-name"),r=n.querySelector(".give-stripe-account-name"),a=n.querySelector(".give-stripe-account-default > a"),s=r.textContent.trim(),l=document.createElement("input");l.type="text",l.name="account_name",l.value=s,r.textContent="",r.append(l),t.classList.add("give-hidden"),i.classList.remove("give-hidden"),o.classList.remove("give-hidden"),null!==a&&a.classList.add("give-hidden")}))})),null!==M&&M.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target,n=t.parentNode.parentNode.parentNode,i=n.querySelector(".give-stripe-disconnect-account-btn"),o=t.getAttribute("data-account"),r=n.querySelector(".give-stripe-account-name"),a=n.querySelector(".give-stripe-account-cancel-name"),s=n.querySelector(".give-stripe-account-default > a"),l=n.querySelector('input[name="account_name"]').value,c=new XMLHttpRequest,d=new FormData,u=e.target.previousElementSibling;d.append("action","give_stripe_update_account_name"),d.append("account_slug",o),d.append("new_account_name",l),c.open("POST",ajaxurl),c.onload=function(){var e=JSON.parse(c.response),n="";if(200===c.status&&e.success){var o=e.data.slug;n='<div class="give-notice notice inline success notice-success"><p>'.concat(e.data.message,"</p></div>"),r.innerHTML=e.data.name,t.classList.add("give-hidden"),a.classList.add("give-hidden"),t.setAttribute("data-account",o),u.classList.remove("give-hidden"),null!==i&&i.setAttribute("data-account",o),null!==s&&s.classList.remove("give-hidden")}else n='<div class="give-notice notice inline error notice-error"><p>'.concat(e.data.message,"</p></div>");G.innerHTML=n},c.send(d)}))})),null!==S&&S.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?T.classList.remove("give-hidden"):T.classList.add("give-hidden")}))})),null!==C&&C.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=new XMLHttpRequest,n=new FormData;n.append("action","give_stripe_set_account_default"),n.append("account_slug",e.target.getAttribute("data-account")),t.open("POST",ajaxurl),t.onload=function(){var n=JSON.parse(t.response);200===t.status&&n.success&&(window.location.href=e.target.getAttribute("data-url"))},t.send(n)}))})),null!==w&&null!==x&&(E(x.value),w.forEach((function(e){e.addEventListener("change",(function(e){E(e.target.value)}))}))),null!==u&&u.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?f.classList.remove("give-hidden"):f.classList.add("give-hidden")}))})),null!==h&&h.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?p.classList.remove("give-hidden"):p.classList.add("give-hidden")}))})),null!==m&&m.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?g.classList.remove("give-hidden"):g.classList.add("give-hidden")}))})),null!==v&&v.forEach((function(e){e.addEventListener("change",(function(e){"enabled"===e.target.value?_.classList.remove("give-hidden"):_.classList.add("give-hidden")}))})),null!==d){var A=d.getAttribute("data-status"),O=d.getAttribute("data-redirect-url"),z=d.getAttribute("data-display"),L=d.getAttribute("data-title"),N=d.getAttribute("data-first-detail"),q=d.getAttribute("data-second-detail");"connected"===A&&"0"===z&&(new a.GiveConfirmModal({modalWrapper:"give-stripe-connected-modal give-modal--success",type:"confirm",modalContent:{title:L,desc:"<span>".concat(N,'</span><span class="give-field-description">').concat(q,"</span>")},successConfirm:function(e){window.location.href=O}}).render(),d.setAttribute("data-display","1"),history.pushState({urlPath:O},"",O))}null!==l&&l.forEach((function(e){e.addEventListener("change",(function(e){"modal"===e.target.value?c.map((function(e){return e.classList.remove("give-hidden")})):c.map((function(e){return e.classList.add("give-hidden")}))}))})),null!==k&&k.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.target;new Give.modal.GiveConfirmModal({type:"alert",classes:{modalWrapper:"give-modal--warning"},modalContent:{title:Give.fn.getGlobalVar("disconnect_stripe_title"),desc:t.getAttribute("data-disconnect-message")},successConfirm:function(){window.location.href="".concat(t.getAttribute("href"),"&account=").concat(t.getAttribute("data-account"))}}).render()}))})),null!==s&&s.addEventListener("change",(function(e){var t=document.getElementById("give-stripe-opt-refund");null!==t&&(t.checked=!1,"refunded"===e.target.value?document.getElementById("give-stripe-opt-refund-wrap").style.display="block":document.getElementById("give-stripe-opt-refund-wrap").style.display="none")})),null!==e&&e.forEach((function(e){var t=document.querySelector(".give-stripe-google-fonts-wrap"),n=document.querySelector(".give-stripe-custom-fonts-wrap");e.addEventListener("change",(function(e){"custom_fonts"===e.target.value?(t.style.display="none",n.style.display="table-row"):"google_fonts"===e.target.value&&(t.style.display="table-row",n.style.display="none")}))}))})),s.a.modal=a;var z=s.a.init,L=s.a.fn,N=s.a.cache,q=s.a.modal,W=s.a.notice;window.Give={init:z,fn:L,cache:N,modal:q,notice:W,initializeIframeResize:l.a}},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(102),o=function(e){return new i.iframeResize({log:!1,sizeWidth:!0,checkOrigin:[window.location.origin],heightCalculationMethod:"documentElementOffset",widthCalculationMethod:"documentElementOffset",onMessage:function(t){var n=e.parentElement;switch(e.parentElement.classList.contains("modal-content")&&(n=n.parentElement.parentElement),t.message.action){case"giveEmbedFormContentLoaded":var i=setTimeout((function(){o()}),400);e.setAttribute("data-contentLoaded","1");var o=function(){clearTimeout(i),n.querySelector(".iframe-loader").style.opacity=0,n.querySelector(".iframe-loader").style.transition="opacity 0.2s ease",e.style.visibility="visible",e.style.minHeight="",n.style.height=null}}},onInit:function(){var t=e.parentElement,n=!1;window.addEventListener("beforeunload",(function(){n=!0})),e.contentWindow.addEventListener("beforeunload",(function(){!1===n&&(e.scrollIntoView({behavior:"smooth",inline:"nearest"}),e.parentElement.querySelector(".iframe-loader").style.opacity=1,e.parentElement.querySelector(".iframe-loader").style.transition="",e.style.visibility="hidden",t.style.height="700px")})),e.iFrameResizer.sendMessage({currentPage:Give.fn.removeURLParameter(window.location.href,"giveDonationAction")})}},e)}},9:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}});
assets/dist/js/give-sequoia-template.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=710)}({14:function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=i=function(e){return typeof e}:e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}e.exports=i},710:function(e,t,i){i(711),e.exports=i(712)},711:function(e,t,i){},712:function(e,t,i){"use strict";i.r(t);var n=i(14),a=i.n(n);!function(e){var t=window.sequoiaTemplateOptions,i=e(".give-embed-form"),n=e(".advance-btn",i),o=e(".back-btn"),r=e(".give-form-navigator .title"),c=e("#give-payment-mode-select"),s=!1,l={currentStep:"enabled"===t.introduction.enabled?0:1,animating:!1,goToStep:function(n){var a=d[n].title?e(d[n].selector).height()+50:e(d[n].selector).height(),o=d[l.currentStep].title?e(d[l.currentStep].selector).height()+50:e(d[l.currentStep].selector).height();a>o?e(".give-form-templates").css("min-height","".concat(a+123,"px")):setTimeout((function(){e(".give-form-templates").css("min-height","".concat(a+123,"px"))}),200),e(".step-tracker").removeClass("current"),e('.step-tracker[data-step="'+n+'"]').addClass("current"),"disabled"===t.introduction.enabled?(3===e(".step-tracker").length&&e(".step-tracker").remove(),1===(n=n>0?n:1)?e(".back-btn",i).hide():e(".back-btn",i).show(),e(".give-form-navigator",i).addClass("nav-visible"),e(d[n].selector).css("padding-top","50px")):0===n?(e(".give-form-navigator",i).removeClass("nav-visible"),e(d[n].selector).css("padding-top","")):(e(".give-form-navigator",i).addClass("nav-visible"),e(d[n].selector).css("padding-top","50px")),d[n].title&&r.text(d[n].title);var c=d.map((function(e,t){return t===n||t===l.currentStep?null:e.selector})).filter(Boolean).join(", ");if(e(c).hide(),l.currentStep!==n){var s="slide-in-right slide-in-left slide-out-right slide-out-left",p=l.currentStep<n?"left":"right",u=l.currentStep<n?"right":"left";e(d[l.currentStep].selector).removeClass(s).addClass("slide-out-".concat(p)),e(d[n].selector).show().removeClass(s).addClass("slide-in-".concat(u))}l.currentStep=n,f(),setTimeout((function(){d[l.currentStep].firstFocus&&e(d[l.currentStep].firstFocus).focus()}),200)},init:function(){var t,i;d.forEach((function(t){void 0!==t.setup&&t.setup(),e(t.selector).css("position","absolute")})),n.on("click",(function(e){e.preventDefault(),l.forward()})),o.on("click",(function(e){e.preventDefault(),l.back()})),e(".step-tracker").on("click",(function(t){t.preventDefault(),l.goToStep(parseInt(e(t.target).attr("data-step")))})),t=function(t){!1===s?e(".form-footer").css("transition","margin-top 0.2s ease"):e(".form-footer").css("transition",""),e(".form-footer").css("margin-top","".concat(t,"px"))},i=0,window.requestAnimationFrame((function n(){var a=e(d[l.currentStep].selector);i!==e(a).outerHeight()&&(t(e(a).outerHeight()),i=e(a).outerHeight()),window.requestAnimationFrame(n)})),l.goToStep(Give.fn.getParameterByName("showDonationProcessingError")||Give.fn.getParameterByName("showFailedDonationError")?2:0)},back:function(){var e=0!==l.currentStep?l.currentStep-1:0;l.goToStep(e),l.currentStep=e},forward:function(){var e=null!==l.currentStep?l.currentStep+1:1;l.goToStep(e),l.currentStep=e}},d=[{id:"introduction",title:null,selector:".give-section.introduction",label:t.introduction.donate_label,showErrors:!1,tabOrder:[".introduction .advance-btn",".step-tracker"]},{id:"choose-amount",title:t.payment_amount.header_label,selector:".give-section.choose-amount",label:t.payment_amount.next_label,showErrors:!1,tabOrder:["input.give-amount-top",".give-donation-levels-wrap button",".give-recurring-period",".give-recurring-donors-choice-period",".give_fee_mode_checkbox",".choose-amount .advance-btn",".step-tracker",".back-btn"],firstFocus:".give-default-level",setup:function(){var t=e(".give-donation-level-btn").length;1===t?e(".give-donation-levels-wrap").attr("style","display: none!important;"):t%2==0&&t<6&&e(".give-donation-levels-wrap").css("grid-template-columns","repeat(2, minmax(0, 1fr))"),e("#give-amount").on("blur",(function(){Give.form.fn.isValidDonationAmount(e("form"))?e(".advance-btn").attr("disabled",!1):e(".advance-btn").attr("disabled",!0)})),e(".give-donation-level-btn").each((function(){if(!e(this).attr("has-tooltip")){var t=e(this).attr("value"),i=e(this).text(),n=window.give_global_vars.currency_sign,a=window.give_global_vars.currency_pos;if("custom"!==t){var o="before"===a?'<div class="currency currency--before">'.concat(n,"</div>").concat(t):"".concat(t,'<div class="currency currency--after">').concat(n,"</div>");e(this).html(o)}if("custom"!==t&&i!==("before"===a?n+t:t+n)){var r='<span class="give-tooltip hint--top hint--bounce '.concat(i.length<50?"narrow":"",'" style="width: 100%" aria-label="').concat(i.length<50?i:i.substr(0,50)+"...",'" rel="tooltip"></span>');e(this).wrap(r),e(this).attr("has-tooltip",!0)}}}))}},{id:"payment",title:t.payment_information.header_label,label:t.payment_information.checkout_label,selector:".give-section.payment",showErrors:!0,tabOrder:[".payment input, .payment a, .payment button, .payment select, .payment multiselect, .payment textarea, .payment .button",".give-submit",".step-tracker",".back-btn"],firstFocus:"#give-first",setup:function(){e(".give-section.payment").on("click",".give-cancel-login, .give-checkout-register-cancel",h),e(".give-section.payment").on("click touchend",'input[name="give_login_submit"]',(function(){e('input[name="give_login_submit"] + .give-loading-animation').removeClass("give-loading-animation").addClass("sequoia-loader spinning")})),window.give_global_vars.purchase_loading="",e(".give_error").each((function(){p(e(this))})),v({container:"#give-anonymous-donation-wrap label",label:"#give-anonymous-donation-wrap label",input:"#give-anonymous-donation"}),v({container:".give-recurring-donors-choice",label:".give-recurring-donors-choice label",input:'input[name="give-recurring-period"]'}),v({container:".give-fee-recovery-donors-choice",label:".give-fee-message-label-text",input:'input[name="give_fee_mode_checkbox"]'}),v({container:".give-mailchimp-fieldset",label:".give-mc-message-text",input:'input[name="give_mailchimp_signup"]'}),v({container:".give-constant-contact-fieldset",label:".give-constant-contact-fieldset span",input:'input[name="give_constant_contact_signup"]'}),v({container:"#give_terms_agreement",label:"#give_terms_agreement label",input:'input[name="give_agree_to_terms"]'}),e("body.give-form-templates").on("click touchend",'form.give-form input[name="give-purchase"].give-submit',(function(){e("#give-purchase-button + .give-loading-animation").removeClass("give-loading-animation").addClass("sequoia-loader"),e("form").get(0).checkValidity()&&e(".sequoia-loader").addClass("spinning")})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_maximum",(function(){l.goToStep(1)})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_amount",(function(){l.goToStep(1)})),e("#give-gateway-radio-list li").each((function(){var t;switch(e("input",this).val()){case"manual":t="fas fa-tools";break;case"offline":t="fas fa-wallet";break;case"paypal":t="fab fa-paypal";break;case"stripe":case"stripe_checkout":t="far fa-credit-card";break;case"stripe_sepa":case"stripe_ach":case"stripe_ideal":case"stripe_becs":t="fas fa-university";break;case"paypalpro_payflow":t="far fa-credit-card";break;case"stripe_google_pay":t="fab fa-google";break;case"stripe_apple_pay":t="fab fa-apple";break;default:t="fas fa-hand-holding-heart"}e(this).append('<i class="'.concat(t,'"></i>'))})),new window.MutationObserver((function(t){t.forEach((function(t){if(t.addedNodes)for(var i=0;i<t.addedNodes.length;i++){var n=t.addedNodes[i];if(e(n).find(".give_error").length>0&&p(e(n).find(".give_error")),e(n).children().hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&e(n).children(".give_errors").each((function(){p(e(this))})),e(n).hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&(p(e(n)),e(".sequoia-loader").removeClass("spinning")),"give_tributes_address_state"===e(n).attr("id")){var a=e(n).attr("placeholder");e(n).prepend("<option selected disabled>".concat(a,"</option>"))}if("give_tributes_address_state"===e(n).attr("name")&&e(n).attr("class").includes("give-input")&&e(n).attr("placeholder",e(n).siblings("label").text().trim()),e(n).attr("id")&&e(n).attr("id").includes("give-checkout-login-register")&&e('[id*="give-register-account-fields"]').on("click",m),e(n).prop("tagName")&&"select"===e(n).prop("tagName").toLowerCase()){var o=e(n).attr("placeholder");e(n).prepend('<option value="" disabled selected>'.concat(o,"</option>"))}}}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}}];function p(t){e(t).parent().hasClass("give-stripe-payment-request-button")||(0===e(".donation-errors").length&&e(".payment").prepend('<div class="donation-errors"></div>'),void 0===a()(e(".donation-errors").html())||e(".donation-errors").html().includes(e(t).html())?e(t).remove():e(t).appendTo(".donation-errors"))}function u(){0===e("#donate-fieldset").length&&e("#give-payment-mode-select").after('<fieldset id="donate-fieldset"></fieldset>');if([".give-constant-contact-fieldset",".give-mailchimp-fieldset","#give_terms_agreement",".give-donation-submit"].forEach((function(t){0===e("#donate-fieldset ".concat(t)).length?e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t))):e("#donate-fieldset ".concat(t)).html()!==e("#give_purchase_form_wrap ".concat(t)).html()?(e("#donate-fieldset ".concat(t)).remove(),e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t)))):e("#give_purchase_form_wrap ".concat(t)).remove()})),0!==e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]').length){var t=!1;0!==e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').length&&(t=e('input[name="give_fee_mode_checkbox"]').prop("checked"),e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').remove()),e(".choose-amount").append(e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]')),e('input[name="give_fee_mode_checkbox"]').prop("checked",t)}e("li.give-gateway-option-selected").after(e("#give_purchase_form_wrap"));var i="gateway-"+e(".give-gateway-option-selected input").attr("value").replace("_","-");e("#give_purchase_form_wrap").attr("class",i),e("#give-ffm-section").off("click",m),e('[id*="give-register-account-fields"]').off("click",m),e("#give-ffm-section").on("click",m),e('[id*="give-register-account-fields"]').on("click",m),e("#give-ffm-section input").each((function(){switch(e(this).prop("type")){case"checkbox":e(this).prop("checked")?e(this).parent().addClass("checked"):e(this).parent().removeClass("checked");break;case"radio":e(this).prop("checked")?e(this).parent().addClass("selected"):e(this).parent().removeClass("selected")}})),g("#give-first-name-wrap","user"),g("#give-email-wrap","envelope"),g("#give-company-wrap","building"),g("#date_field-wrap","calendar-alt"),g("#url_field-wrap","globe"),g("#phone_field-wrap","phone"),g("#give-phone-wrap","phone"),g("#email_field-wrap","envelope")}function g(t,i){e(t).each((function(){""!==e(this).html()&&!1===e(this).html().includes('<i class="fas fa-'.concat(i,'"></i>'))&&(e(this).prepend('<i class="fas fa-'.concat(i,'"></i>')),e(this).children("input, selector").each((function(){e(this).attr("style","padding-left: 33px!important;")})))}))}function f(){e("select, button, input, textarea, multiselect, a").attr("tabindex",-1),d[l.currentStep].tabOrder.forEach((function(t,i){e(t).attr("tabindex",i+1)}))}function v(t){var i=t.container,n=t.label,a=t.input;!0===e(a).prop("checked")&&e(i).addClass("active"),e(n).on("click touchend",(function(t){i===n&&(t.stopPropagation(),t.preventDefault()),e(i).toggleClass("active")}))}function m(t){if(e(t.target).is("input"))switch(e(t.target).prop("type")){case"checkbox":e(t.target).parent().toggleClass("checked");break;case"radio":e(t.target).parent().addClass("selected"),e(t.target).parent().siblings().removeClass("selected")}}function h(){e("#give_error_must_log_in").remove()}function b(){e('select option[selected="selected"][value=""]').length>0&&e('select option[selected="selected"][value=""]').each((function(){e(this).parent().siblings("label").length&&(e(this).text(e(this).parent().siblings("label").text().replace("*","").trim()),e(this).attr("disabled",!0))}))}l.init(),c.length&&"none"!==c.css("display")?(u(),e(document).on("give_gateway_loaded",(function(){f(),u(),b(),e("#give_purchase_form_wrap").slideDown(200,(function(){s=!1}))})),e(document).on("Give:onPreGatewayLoad",(function(){s=!0,e("#give_purchase_form_wrap").slideUp(200)})),e(document).on("Give:onPreGatewayLoad",(function(){var t=["give_error_test_mode"];e(".give_errors, .give_notices, .give_error").each((function(){t.includes(e(this).attr("id"))||e(this).slideUp(200,(function(){e(this).remove()}))}))})),e(document).on("give_gateway_loaded",(function(t,i,n){2===l.currentStep&&e(".give-form-templates").css("min-height","");var a=e("#".concat(n));if(a.parent().hasClass("give-embed-form")){var o={action:"give_cancel_login",form_id:a.find('[name="give-form-id"]').val()};e.post(Give.fn.getGlobalVar("ajaxurl"),o,(function(t){a.find("[id^=give-checkout-login-register]").replaceWith(e.parseJSON(t.fields)),a.find("[id^=give-checkout-login-register]").css({display:"block"}),a.find(".give-submit-button-wrap").show()})).done((function(){window.give_fl_trigger()}))}}))):(e("#give_purchase_form_wrap").addClass("give-single-gateway-wrap"),b())}(jQuery)}});
1
+ !function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=710)}({14:function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=i=function(e){return typeof e}:e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}e.exports=i},710:function(e,t,i){i(711),e.exports=i(712)},711:function(e,t,i){},712:function(e,t,i){"use strict";i.r(t);var n=i(14),a=i.n(n);!function(e){var t=window.sequoiaTemplateOptions,i=e(".give-embed-form"),n=e(".advance-btn",i),o=e(".back-btn"),r=e(".give-form-navigator .title"),c=e("#give-payment-mode-select"),s=!1,l={currentStep:"enabled"===t.introduction.enabled?0:1,animating:!1,goToStep:function(n){var a=p[n].title?e(p[n].selector).height()+50:e(p[n].selector).height(),o=p[l.currentStep].title?e(p[l.currentStep].selector).height()+50:e(p[l.currentStep].selector).height();a>o?e(".give-form-templates").css("min-height","".concat(a+123,"px")):setTimeout((function(){e(".give-form-templates").css("min-height","".concat(a+123,"px"))}),200),e(".step-tracker").removeClass("current"),e('.step-tracker[data-step="'+n+'"]').addClass("current"),"disabled"===t.introduction.enabled?(3===e(".step-tracker").length&&e(".step-tracker").remove(),1===(n=n>0?n:1)?e(".back-btn",i).hide():e(".back-btn",i).show(),e(".give-form-navigator",i).addClass("nav-visible"),e(p[n].selector).css("padding-top","50px")):0===n?(e(".give-form-navigator",i).removeClass("nav-visible"),e(p[n].selector).css("padding-top","")):(e(".give-form-navigator",i).addClass("nav-visible"),e(p[n].selector).css("padding-top","50px")),p[n].title&&r.text(p[n].title);var c=p.map((function(e,t){return t===n||t===l.currentStep?null:e.selector})).filter(Boolean).join(", ");if(e(c).hide(),l.currentStep!==n){var s="slide-in-right slide-in-left slide-out-right slide-out-left",d=l.currentStep<n?"left":"right",u=l.currentStep<n?"right":"left";e(p[l.currentStep].selector).removeClass(s).addClass("slide-out-".concat(d)),e(p[n].selector).show().removeClass(s).addClass("slide-in-".concat(u))}l.currentStep=n,f(),setTimeout((function(){p[l.currentStep].firstFocus&&e(p[l.currentStep].firstFocus).focus()}),200)},init:function(){var t,i;p.forEach((function(t){void 0!==t.setup&&t.setup(),e(t.selector).css("position","absolute")})),n.on("click",(function(e){e.preventDefault(),l.forward()})),o.on("click",(function(e){e.preventDefault(),l.back()})),e(".step-tracker").on("click",(function(t){t.preventDefault(),l.goToStep(parseInt(e(t.target).attr("data-step")))})),t=function(t){!1===s?e(".form-footer").css("transition","margin-top 0.2s ease"):e(".form-footer").css("transition",""),e(".form-footer").css("margin-top","".concat(t,"px"))},i=0,window.requestAnimationFrame((function n(){var a=e(p[l.currentStep].selector);i!==e(a).outerHeight()&&(t(e(a).outerHeight()),i=e(a).outerHeight()),window.requestAnimationFrame(n)})),l.goToStep(Give.fn.getParameterByName("showDonationProcessingError")||Give.fn.getParameterByName("showFailedDonationError")?2:0)},back:function(){var e=0!==l.currentStep?l.currentStep-1:0;l.goToStep(e),l.currentStep=e},forward:function(){var e=null!==l.currentStep?l.currentStep+1:1;l.goToStep(e),l.currentStep=e}},p=[{id:"introduction",title:null,selector:".give-section.introduction",label:t.introduction.donate_label,showErrors:!1,tabOrder:[".introduction .advance-btn",".step-tracker"]},{id:"choose-amount",title:t.payment_amount.header_label,selector:".give-section.choose-amount",label:t.payment_amount.next_label,showErrors:!1,tabOrder:["input.give-amount-top",".give-donation-levels-wrap button",".give-recurring-period",".give-recurring-donors-choice-period",".give_fee_mode_checkbox",".choose-amount .advance-btn",".step-tracker",".back-btn"],firstFocus:".give-default-level",setup:function(){var t=e(".give-donation-level-btn").length;1===t?e(".give-donation-levels-wrap").attr("style","display: none!important;"):t%2==0&&t<6&&e(".give-donation-levels-wrap").css("grid-template-columns","repeat(2, minmax(0, 1fr))"),e("#give-amount").on("blur",(function(){Give.form.fn.isValidDonationAmount(e("form"))?e(".advance-btn").attr("disabled",!1):e(".advance-btn").attr("disabled",!0)})),e(".give-donation-level-btn").each((function(){if(!e(this).attr("has-tooltip")){var t=e(this).attr("value"),i=e(this).text(),n=window.give_global_vars.currency_sign,a=window.give_global_vars.currency_pos;if("custom"!==t){var o="before"===a?'<div class="currency currency--before">'.concat(n,"</div>").concat(t):"".concat(t,'<div class="currency currency--after">').concat(n,"</div>");e(this).html(o)}if("custom"!==t&&i!==("before"===a?n+t:t+n)){var r='<span class="give-tooltip hint--top hint--bounce '.concat(i.length<50?"narrow":"",'" style="width: 100%" aria-label="').concat(i.length<50?i:i.substr(0,50)+"...",'" rel="tooltip"></span>');e(this).wrap(r),e(this).attr("has-tooltip",!0)}}}))}},{id:"payment",title:t.payment_information.header_label,label:t.payment_information.checkout_label,selector:".give-section.payment",showErrors:!0,tabOrder:[".payment input, .payment a, .payment button, .payment select, .payment multiselect, .payment textarea, .payment .button",".give-submit",".step-tracker",".back-btn"],firstFocus:"#give-first",setup:function(){e(".give-section.payment").on("click",".give-cancel-login, .give-checkout-register-cancel",h),e(".give-section.payment").on("click touchend",'input[name="give_login_submit"]',(function(){e('input[name="give_login_submit"] + .give-loading-animation').removeClass("give-loading-animation").addClass("sequoia-loader spinning")})),window.give_global_vars.purchase_loading="",e(".give_error").each((function(){d(e(this))})),v({container:"#give-anonymous-donation-wrap label",label:"#give-anonymous-donation-wrap label",input:"#give-anonymous-donation"}),v({container:".give-recurring-donors-choice",label:".give-recurring-donors-choice label",input:'input[name="give-recurring-period"]'}),v({container:".give-fee-recovery-donors-choice",label:".give-fee-message-label-text",input:'input[name="give_fee_mode_checkbox"]'}),v({container:".give-activecampaign-fieldset",label:".give-activecampaign-optin-label",input:".give-activecampaign-optin-input"}),v({container:".give-mailchimp-fieldset",label:".give-mc-message-text",input:'input[name="give_mailchimp_signup"]'}),v({container:".give-constant-contact-fieldset",label:".give-constant-contact-fieldset span",input:'input[name="give_constant_contact_signup"]'}),v({container:"#give_terms_agreement",label:"#give_terms_agreement label",input:'input[name="give_agree_to_terms"]'}),e("body.give-form-templates").on("click touchend",'form.give-form input[name="give-purchase"].give-submit',(function(){e("#give-purchase-button + .give-loading-animation").removeClass("give-loading-animation").addClass("sequoia-loader"),e("form").get(0).checkValidity()&&e(".sequoia-loader").addClass("spinning")})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_maximum",(function(){l.goToStep(1)})),e("body.give-form-templates").on("click touchend","#give_error_invalid_donation_amount",(function(){l.goToStep(1)})),e("#give-gateway-radio-list li").each((function(){var t;switch(e("input",this).val()){case"manual":t="fas fa-tools";break;case"offline":t="fas fa-wallet";break;case"paypal":t="fab fa-paypal";break;case"stripe":case"stripe_checkout":t="far fa-credit-card";break;case"stripe_sepa":case"stripe_ach":case"stripe_ideal":case"stripe_becs":t="fas fa-university";break;case"paypalpro_payflow":t="far fa-credit-card";break;case"stripe_google_pay":t="fab fa-google";break;case"stripe_apple_pay":t="fab fa-apple";break;default:t="fas fa-hand-holding-heart"}e(this).append('<i class="'.concat(t,'"></i>'))})),new window.MutationObserver((function(t){t.forEach((function(t){if(t.addedNodes)for(var i=0;i<t.addedNodes.length;i++){var n=t.addedNodes[i];if(e(n).find(".give_error").length>0&&d(e(n).find(".give_error")),e(n).children().hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&e(n).children(".give_errors").each((function(){d(e(this))})),e(n).hasClass("give_errors")&&!e(n).parent().hasClass("donation-errors")&&(d(e(n)),e(".sequoia-loader").removeClass("spinning")),"give_tributes_address_state"===e(n).attr("id")){var a=e(n).attr("placeholder");e(n).prepend("<option selected disabled>".concat(a,"</option>"))}if("give_tributes_address_state"===e(n).attr("name")&&e(n).attr("class").includes("give-input")&&e(n).attr("placeholder",e(n).siblings("label").text().trim()),e(n).attr("id")&&e(n).attr("id").includes("give-checkout-login-register")&&e('[id*="give-register-account-fields"]').on("click",m),e(n).prop("tagName")&&"select"===e(n).prop("tagName").toLowerCase()){var o=e(n).attr("placeholder");e(n).prepend('<option value="" disabled selected>'.concat(o,"</option>"))}}}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}}];function d(t){e(t).parent().hasClass("give-stripe-payment-request-button")||(0===e(".donation-errors").length&&e(".payment").prepend('<div class="donation-errors"></div>'),void 0===a()(e(".donation-errors").html())||e(".donation-errors").html().includes(e(t).html())?e(t).remove():e(t).appendTo(".donation-errors"))}function u(){0===e("#donate-fieldset").length&&e("#give-payment-mode-select").after('<fieldset id="donate-fieldset"></fieldset>');if([".give-constant-contact-fieldset",".give-activecampaign-fieldset",".give-mailchimp-fieldset","#give_terms_agreement",".give-donation-submit"].forEach((function(t){0===e("#donate-fieldset ".concat(t)).length?e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t))):e("#donate-fieldset ".concat(t)).html()!==e("#give_purchase_form_wrap ".concat(t)).html()?(e("#donate-fieldset ".concat(t)).remove(),e("#donate-fieldset").append(e("#give_purchase_form_wrap ".concat(t)))):e("#give_purchase_form_wrap ".concat(t)).remove()})),0!==e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]').length){var t=!1;0!==e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').length&&(t=e('input[name="give_fee_mode_checkbox"]').prop("checked"),e('.choose-amount fieldset[id*="give-fee-recovery-wrap"]').remove()),e(".choose-amount").append(e('#give_purchase_form_wrap fieldset[id*="give-fee-recovery-wrap"]')),e('input[name="give_fee_mode_checkbox"]').prop("checked",t)}e("li.give-gateway-option-selected").after(e("#give_purchase_form_wrap"));var i="gateway-"+e(".give-gateway-option-selected input").attr("value").replace("_","-");e("#give_purchase_form_wrap").attr("class",i),e("#give-ffm-section").off("click",m),e('[id*="give-register-account-fields"]').off("click",m),e("#give-ffm-section").on("click",m),e('[id*="give-register-account-fields"]').on("click",m),e("#give-ffm-section input").each((function(){switch(e(this).prop("type")){case"checkbox":e(this).prop("checked")?e(this).parent().addClass("checked"):e(this).parent().removeClass("checked");break;case"radio":e(this).prop("checked")?e(this).parent().addClass("selected"):e(this).parent().removeClass("selected")}})),g("#give-first-name-wrap","user"),g("#give-email-wrap","envelope"),g("#give-company-wrap","building"),g("#date_field-wrap","calendar-alt"),g("#url_field-wrap","globe"),g("#phone_field-wrap","phone"),g("#give-phone-wrap","phone"),g("#email_field-wrap","envelope")}function g(t,i){e(t).each((function(){""!==e(this).html()&&!1===e(this).html().includes('<i class="fas fa-'.concat(i,'"></i>'))&&(e(this).prepend('<i class="fas fa-'.concat(i,'"></i>')),e(this).children("input, selector").each((function(){e(this).attr("style","padding-left: 33px!important;")})))}))}function f(){e("select, button, input, textarea, multiselect, a").attr("tabindex",-1),p[l.currentStep].tabOrder.forEach((function(t,i){e(t).attr("tabindex",i+1)}))}function v(t){var i=t.container,n=t.label,a=t.input;!0===e(a).prop("checked")&&e(i).addClass("active"),e(n).on("click touchend",(function(t){i===n&&(t.stopPropagation(),t.preventDefault(),e(a).prop("checked",!e(a).prop("checked"))),e(i).toggleClass("active")}))}function m(t){if(e(t.target).is("input"))switch(e(t.target).prop("type")){case"checkbox":e(t.target).parent().toggleClass("checked");break;case"radio":e(t.target).parent().addClass("selected"),e(t.target).parent().siblings().removeClass("selected")}}function h(){e("#give_error_must_log_in").remove()}function b(){e('select option[selected="selected"][value=""]').length>0&&e('select option[selected="selected"][value=""]').each((function(){e(this).parent().siblings("label").length&&(e(this).text(e(this).parent().siblings("label").text().replace("*","").trim()),e(this).attr("disabled",!0))}))}l.init(),c.length&&"none"!==c.css("display")?(u(),e(document).on("give_gateway_loaded",(function(){f(),u(),b(),e("#give_purchase_form_wrap").slideDown(200,(function(){s=!1}))})),e(document).on("Give:onPreGatewayLoad",(function(){s=!0,e("#give_purchase_form_wrap").slideUp(200)})),e(document).on("Give:onPreGatewayLoad",(function(){var t=["give_error_test_mode"];e(".give_errors, .give_notices, .give_error").each((function(){t.includes(e(this).attr("id"))||e(this).slideUp(200,(function(){e(this).remove()}))}))})),e(document).on("give_gateway_loaded",(function(t,i,n){2===l.currentStep&&e(".give-form-templates").css("min-height","");var a=e("#".concat(n));if(a.parent().hasClass("give-embed-form")){var o={action:"give_cancel_login",form_id:a.find('[name="give-form-id"]').val()};e.post(Give.fn.getGlobalVar("ajaxurl"),o,(function(t){a.find("[id^=give-checkout-login-register]").replaceWith(e.parseJSON(t.fields)),a.find("[id^=give-checkout-login-register]").css({display:"block"}),a.find(".give-submit-button-wrap").show()})).done((function(){window.give_fl_trigger()}))}}))):(e("#give_purchase_form_wrap").addClass("give-single-gateway-wrap"),b())}(jQuery)}});
give.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
6
  * Author: GiveWP
7
  * Author URI: https://givewp.com/
8
- * Version: 2.7.2
9
  * Text Domain: give
10
  * Domain Path: /languages
11
  *
@@ -24,767 +24,413 @@
24
  *
25
  * A Tribute to Open Source:
26
  *
27
- * "Open source software is software that can be freely used, changed, and shared (in modified or unmodified form) by anyone. Open
28
- * source software is made by many people, and distributed under licenses that comply with the Open Source Definition."
 
29
  *
30
  * -- The Open Source Initiative
31
  *
32
- * Give is a tribute to the spirit and philosophy of Open Source. We at GiveWP gladly embrace the Open Source philosophy both
33
- * in how Give itself was developed, and how we hope to see others build more from our code base.
34
  *
35
- * Give would not have been possible without the tireless efforts of WordPress and the surrounding Open Source projects and their talented developers. Thank you all for your contribution to WordPress.
 
36
  *
37
  * - The GiveWP Team
38
  */
39
 
 
40
  use Give\Form\Templates;
41
  use Give\Route\Form as FormRoute;
42
  use Give\Controller\Form as FormRouteController;
 
 
 
43
 
44
  // Exit if accessed directly.
45
  if ( ! defined( 'ABSPATH' ) ) {
46
  exit;
47
  }
48
 
49
- if ( ! class_exists( 'Give' ) ) :
50
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  /**
52
- * Main Give Class
53
  *
54
- * @since 1.0
 
55
  *
56
- * @property-read Templates $templates
57
- * @property-read FormRoute $routeForm
58
  */
59
- final class Give {
60
-
61
- /** Singleton *************************************************************/
62
 
63
- /**
64
- * Give Instance
65
- *
66
- * @since 1.0
67
- * @access private
68
- *
69
- * @var Give() The one true Give
70
- */
71
- protected static $_instance;
72
-
73
- /**
74
- * Give Roles Object
75
- *
76
- * @since 1.0
77
- * @access public
78
- *
79
- * @var Give_Roles object
80
- */
81
- public $roles;
82
-
83
- /**
84
- * Give Settings Object
85
- *
86
- * @since 1.0
87
- * @access public
88
- *
89
- * @var Give_Admin_Settings object
90
- */
91
- public $give_settings;
92
-
93
- /**
94
- * Give Session Object
95
- *
96
- * This holds donation data for user's session.
97
- *
98
- * @since 1.0
99
- * @access public
100
- *
101
- * @var Give_Session object
102
- */
103
- public $session;
104
-
105
- /**
106
- * Give Session DB Object
107
- *
108
- * This holds donation data for user's session.
109
- *
110
- * @since 1.0
111
- * @access public
112
- *
113
- * @var Give_DB_Sessions object
114
- */
115
- public $session_db;
116
-
117
- /**
118
- * Give HTML Element Helper Object
119
- *
120
- * @since 1.0
121
- * @access public
122
- *
123
- * @var Give_HTML_Elements object
124
- */
125
- public $html;
126
-
127
- /**
128
- * Give Emails Object
129
- *
130
- * @since 1.0
131
- * @access public
132
- *
133
- * @var Give_Emails object
134
- */
135
- public $emails;
136
-
137
- /**
138
- * Give Email Template Tags Object
139
- *
140
- * @since 1.0
141
- * @access public
142
- *
143
- * @var Give_Email_Template_Tags object
144
- */
145
- public $email_tags;
146
-
147
- /**
148
- * Give Donors DB Object
149
- *
150
- * @since 1.0
151
- * @access public
152
- *
153
- * @var Give_DB_Donors object
154
- */
155
- public $donors;
156
-
157
- /**
158
- * Give Donor meta DB Object
159
- *
160
- * @since 1.6
161
- * @access public
162
- *
163
- * @var Give_DB_Donor_Meta object
164
- */
165
- public $donor_meta;
166
-
167
- /**
168
- * Give Sequential Donation DB Object
169
- *
170
- * @since 2.1.0
171
- * @access public
172
- *
173
- * @var Give_DB_Sequential_Ordering object
174
- */
175
- public $sequential_donation_db;
176
-
177
- /**
178
- * Give API Object
179
- *
180
- * @since 1.0
181
- * @access public
182
- *
183
- * @var Give_API object
184
- */
185
- public $api;
186
 
187
- /**
188
- * Give Template Loader Object
189
- *
190
- * @since 1.0
191
- * @access public
192
- *
193
- * @var Give_Template_Loader object
194
- */
195
- public $template_loader;
196
 
197
- /**
198
- * Give No Login Object
199
- *
200
- * @since 1.0
201
- * @access public
202
- *
203
- * @var Give_Email_Access object
204
- */
205
- public $email_access;
206
 
207
- /**
208
- * Give_tooltips Object
209
- *
210
- * @since 1.8.9
211
- * @access public
212
- *
213
- * @var Give_Tooltips object
214
- */
215
- public $tooltips;
216
 
217
- /**
218
- * Give notices Object
219
- *
220
- * @var Give_Notices $notices
221
- */
222
- public $notices;
 
 
 
 
223
 
 
 
 
 
 
 
 
 
 
 
224
 
225
- /**
226
- * Give logging Object
227
- *
228
- * @var Give_Logging $logs
229
- */
230
- public $logs;
231
 
232
- /**
233
- * Give log db Object
234
- *
235
- * @var Give_DB_Logs $log_db
236
- */
237
- public $log_db;
238
 
239
- /**
240
- * Give log meta db Object
241
- *
242
- * @var Give_DB_Log_Meta $logmeta_db
243
- */
244
- public $logmeta_db;
245
 
246
- /**
247
- * Give payment Object
248
- *
249
- * @var Give_DB_Payment_Meta $payment_meta
250
- */
251
- public $payment_meta;
252
 
253
- /**
254
- * Give form Object
255
- *
256
- * @var Give_DB_Form_Meta $form_meta
257
- */
258
- public $form_meta;
259
 
260
- /**
261
- * Give form Object
262
- *
263
- * @var Give_Async_Process $async_process
264
- */
265
- public $async_process;
266
 
 
 
 
 
 
 
267
  /**
268
- * Give scripts Object.
269
  *
270
- * @var Give_Scripts
271
  */
272
- public $scripts;
273
 
274
- /**
275
- * Give_Seq_Donation_Number Object.
276
- *
277
- * @var Give_Sequential_Donation_Number
278
- */
279
- public $seq_donation_number;
280
 
281
- /**
282
- * Give_Comment Object
283
- *
284
- * @var Give_Comment
285
- */
286
- public $comment;
287
 
288
- /**
289
- * Give_Stripe Object.
290
- *
291
- * @since 2.5.0
292
- * @access public
293
- *
294
- * @var Give_Stripe
295
- */
296
- public $stripe;
297
 
298
- /**
299
- * Array of singleton objects
300
- *
301
- * @since 2.7.0
302
- * @var array
303
- */
304
- private $singletonsCache = [];
305
 
 
 
306
 
307
  /**
308
- * Main Give Instance
309
- *
310
- * Ensures that only one instance of Give exists in memory at any one
311
- * time. Also prevents needing to define globals all over the place.
312
  *
313
- * @since 1.0
314
- * @access public
315
  *
316
- * @static
317
- * @see Give()
318
  *
319
- * @return Give
320
  */
321
- public static function instance() {
322
- if ( is_null( self::$_instance ) ) {
323
- self::$_instance = new self();
324
- }
325
-
326
- return self::$_instance;
327
- }
328
-
329
- /**
330
- * Give Constructor.
331
- */
332
- public function __construct() {
333
- // PHP version
334
- if ( ! defined( 'GIVE_REQUIRED_PHP_VERSION' ) ) {
335
- define( 'GIVE_REQUIRED_PHP_VERSION', '5.6.0' );
336
- }
337
-
338
- // Bailout: Need minimum php version to load plugin.
339
- if ( function_exists( 'phpversion' ) && version_compare( GIVE_REQUIRED_PHP_VERSION, phpversion(), '>' ) ) {
340
- add_action( 'admin_notices', [ $this, 'minimum_phpversion_notice' ] );
341
-
342
- return;
343
- }
344
-
345
- // Add compatibility notice for recurring and stripe support with Give 2.5.0.
346
- add_action( 'admin_notices', [ $this, 'display_old_recurring_compatibility_notice' ] );
347
 
348
- $this->setup_constants();
349
- $this->includes();
350
- $this->init_hooks();
 
 
 
 
 
 
351
 
352
- do_action( 'give_loaded' );
 
 
 
 
 
 
 
 
 
 
 
353
  }
354
 
355
- /**
356
- * Hook into actions and filters.
357
- *
358
- * @since 1.8.9
359
- */
360
- private function init_hooks() {
361
- register_activation_hook( GIVE_PLUGIN_FILE, 'give_install' );
362
- add_action( 'plugins_loaded', [ $this, 'init' ], 0 );
363
  }
364
 
365
-
366
- /**
367
- * Init Give when WordPress Initializes.
368
- *
369
- * @since 1.8.9
370
- */
371
- public function init() {
372
-
373
- /**
374
- * Fires before the Give core is initialized.
375
- *
376
- * @since 1.8.9
377
- */
378
- do_action( 'before_give_init' );
379
-
380
- // Set up localization.
381
- $this->load_textdomain();
382
-
383
- $this->roles = new Give_Roles();
384
- $this->api = new Give_API();
385
- $this->give_settings = new Give_Admin_Settings();
386
- $this->emails = new Give_Emails();
387
- $this->email_tags = new Give_Email_Template_Tags();
388
- $this->html = Give_HTML_Elements::get_instance();
389
- $this->donors = new Give_DB_Donors();
390
- $this->donor_meta = new Give_DB_Donor_Meta();
391
- $this->tooltips = new Give_Tooltips();
392
- $this->notices = new Give_Notices();
393
- $this->payment_meta = new Give_DB_Payment_Meta();
394
- $this->log_db = new Give_DB_Logs();
395
- $this->logmeta_db = new Give_DB_Log_Meta();
396
- $this->logs = new Give_Logging();
397
- $this->form_meta = new Give_DB_Form_Meta();
398
- $this->sequential_donation_db = new Give_DB_Sequential_Ordering();
399
- $this->async_process = new Give_Async_Process();
400
- $this->scripts = new Give_Scripts();
401
- $this->seq_donation_number = Give_Sequential_Donation_Number::get_instance();
402
- $this->comment = Give_Comment::get_instance();
403
- $this->session_db = new Give_DB_Sessions();
404
- $this->session = Give_Session::get_instance();
405
-
406
- // Load form template
407
- $this->templates->load();
408
-
409
- // Load routes.
410
- $this->routeForm->init( new FormRouteController() );
411
-
412
- /**
413
- * Fire the action after Give core loads.
414
- *
415
- * @param Give class instance.
416
- *
417
- * @since 1.8.7
418
- */
419
- do_action( 'give_init', $this );
420
-
421
  }
422
 
423
- /**
424
- * Throw error on object clone
425
- *
426
- * The whole idea of the singleton design pattern is that there is a single
427
- * object, therefore we don't want the object to be cloned.
428
- *
429
- * @since 1.0
430
- * @access protected
431
- *
432
- * @return void
433
- */
434
- public function __clone() {
435
- // Cloning instances of the class is forbidden.
436
- give_doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'give' ) );
437
  }
438
 
439
- /**
440
- * Disable unserializing of the class
441
- *
442
- * @since 1.0
443
- * @access protected
444
- *
445
- * @return void
446
- */
447
- public function __wakeup() {
448
- // Unserializing instances of the class is forbidden.
449
- give_doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'give' ) );
450
- }
451
-
452
- /**
453
- * Setup plugin constants
454
- *
455
- * @since 1.0
456
- * @access private
457
- *
458
- * @return void
459
- */
460
- private function setup_constants() {
461
-
462
- // Plugin version.
463
- if ( ! defined( 'GIVE_VERSION' ) ) {
464
- define( 'GIVE_VERSION', '2.7.2' );
465
- }
466
-
467
- // Plugin Root File.
468
- if ( ! defined( 'GIVE_PLUGIN_FILE' ) ) {
469
- define( 'GIVE_PLUGIN_FILE', __FILE__ );
470
- }
471
-
472
- // Plugin Folder Path.
473
- if ( ! defined( 'GIVE_PLUGIN_DIR' ) ) {
474
- define( 'GIVE_PLUGIN_DIR', plugin_dir_path( GIVE_PLUGIN_FILE ) );
475
- }
476
-
477
- // Plugin Folder URL.
478
- if ( ! defined( 'GIVE_PLUGIN_URL' ) ) {
479
- define( 'GIVE_PLUGIN_URL', plugin_dir_url( GIVE_PLUGIN_FILE ) );
480
- }
481
-
482
- // Plugin Basename aka: "give/give.php".
483
- if ( ! defined( 'GIVE_PLUGIN_BASENAME' ) ) {
484
- define( 'GIVE_PLUGIN_BASENAME', plugin_basename( GIVE_PLUGIN_FILE ) );
485
- }
486
-
487
- // Make sure CAL_GREGORIAN is defined.
488
- if ( ! defined( 'CAL_GREGORIAN' ) ) {
489
- define( 'CAL_GREGORIAN', 1 );
490
- }
491
  }
492
 
493
- /**
494
- * Include required files
495
- *
496
- * @since 1.0
497
- * @access private
498
- *
499
- * @return void
500
- */
501
- private function includes() {
502
- global $give_options;
503
-
504
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-cache-setting.php';
505
-
506
- /**
507
- * Load libraries.
508
- */
509
- if ( ! class_exists( 'WP_Async_Request' ) ) {
510
- include_once GIVE_PLUGIN_DIR . 'includes/libraries/wp-async-request.php';
511
- }
512
-
513
- if ( ! class_exists( 'WP_Background_Process' ) ) {
514
- include_once GIVE_PLUGIN_DIR . 'includes/libraries/wp-background-process.php';
515
- }
516
-
517
- require_once GIVE_PLUGIN_DIR . 'includes/setting-functions.php';
518
- require_once GIVE_PLUGIN_DIR . 'includes/country-functions.php';
519
- require_once GIVE_PLUGIN_DIR . 'includes/template-functions.php';
520
- require_once GIVE_PLUGIN_DIR . 'includes/misc-functions.php';
521
- require_once GIVE_PLUGIN_DIR . 'includes/forms/functions.php';
522
- require_once GIVE_PLUGIN_DIR . 'includes/ajax-functions.php';
523
- require_once GIVE_PLUGIN_DIR . 'includes/currency-functions.php';
524
- require_once GIVE_PLUGIN_DIR . 'includes/price-functions.php';
525
- require_once GIVE_PLUGIN_DIR . 'includes/user-functions.php';
526
- require_once GIVE_PLUGIN_DIR . 'includes/donors/frontend-donor-functions.php';
527
- require_once GIVE_PLUGIN_DIR . 'includes/payments/functions.php';
528
- require_once GIVE_PLUGIN_DIR . 'includes/gateways/functions.php';
529
-
530
- /**
531
- * Load plugin files
532
- */
533
- require_once GIVE_PLUGIN_DIR . 'includes/admin/class-admin-settings.php';
534
- $give_options = give_get_settings();
535
-
536
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-cron.php';
537
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-async-process.php';
538
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-cache.php';
539
- require_once GIVE_PLUGIN_DIR . 'includes/post-types.php';
540
- require_once GIVE_PLUGIN_DIR . 'includes/filters.php';
541
- require_once GIVE_PLUGIN_DIR . 'includes/api/class-give-api.php';
542
- require_once GIVE_PLUGIN_DIR . 'includes/api/class-give-api-v2.php';
543
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-tooltips.php';
544
- require_once GIVE_PLUGIN_DIR . 'includes/class-notices.php';
545
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-translation.php';
546
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-license-handler.php';
547
- require_once GIVE_PLUGIN_DIR . 'includes/admin/class-give-html-elements.php';
548
-
549
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-scripts.php';
550
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-roles.php';
551
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-donate-form.php';
552
-
553
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db.php';
554
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-meta.php';
555
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-comments.php';
556
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-comments-meta.php';
557
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-donors.php';
558
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-donor-meta.php';
559
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-form-meta.php';
560
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-sequential-ordering.php';
561
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-logs.php';
562
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-logs-meta.php';
563
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-sessions.php';
564
- require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-payment-meta.php';
565
-
566
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-donor.php';
567
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-stats.php';
568
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-session.php';
569
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-logging.php';
570
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-comment.php';
571
-
572
- require_once GIVE_PLUGIN_DIR . 'includes/forms/widget.php';
573
- require_once GIVE_PLUGIN_DIR . 'includes/forms/class-give-forms-query.php';
574
- require_once GIVE_PLUGIN_DIR . 'includes/forms/template.php';
575
- require_once GIVE_PLUGIN_DIR . 'includes/shortcodes.php';
576
- require_once GIVE_PLUGIN_DIR . 'includes/formatting.php';
577
- require_once GIVE_PLUGIN_DIR . 'includes/error-tracking.php';
578
- require_once GIVE_PLUGIN_DIR . 'includes/login-register.php';
579
- require_once GIVE_PLUGIN_DIR . 'includes/plugin-compatibility.php';
580
- require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-classes.php';
581
- require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-functions.php';
582
- require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-actions.php';
583
- require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-filters.php';
584
-
585
- require_once GIVE_PLUGIN_DIR . 'includes/process-donation.php';
586
- require_once GIVE_PLUGIN_DIR . 'includes/payments/backward-compatibility.php';
587
- require_once GIVE_PLUGIN_DIR . 'includes/payments/actions.php';
588
- require_once GIVE_PLUGIN_DIR . 'includes/payments/class-payment-stats.php';
589
- require_once GIVE_PLUGIN_DIR . 'includes/payments/class-payments-query.php';
590
- require_once GIVE_PLUGIN_DIR . 'includes/payments/class-give-payment.php';
591
- require_once GIVE_PLUGIN_DIR . 'includes/payments/class-give-sequential-donation-number.php';
592
-
593
- require_once GIVE_PLUGIN_DIR . 'includes/gateways/actions.php';
594
- require_once GIVE_PLUGIN_DIR . 'includes/gateways/paypal-standard.php';
595
- require_once GIVE_PLUGIN_DIR . 'includes/gateways/offline-donations.php';
596
- require_once GIVE_PLUGIN_DIR . 'includes/gateways/manual.php';
597
- require_once GIVE_PLUGIN_DIR . 'includes/emails/class-give-emails.php';
598
- require_once GIVE_PLUGIN_DIR . 'includes/emails/class-give-email-tags.php';
599
- require_once GIVE_PLUGIN_DIR . 'includes/admin/emails/class-email-notifications.php';
600
- require_once GIVE_PLUGIN_DIR . 'includes/emails/functions.php';
601
- require_once GIVE_PLUGIN_DIR . 'includes/emails/template.php';
602
- require_once GIVE_PLUGIN_DIR . 'includes/emails/actions.php';
603
-
604
- require_once GIVE_PLUGIN_DIR . 'includes/donors/class-give-donors-query.php';
605
- require_once GIVE_PLUGIN_DIR . 'includes/donors/class-give-donor-wall.php';
606
- require_once GIVE_PLUGIN_DIR . 'includes/donors/class-give-donor-stats.php';
607
- require_once GIVE_PLUGIN_DIR . 'includes/donors/backward-compatibility.php';
608
- require_once GIVE_PLUGIN_DIR . 'includes/donors/actions.php';
609
-
610
- require_once GIVE_PLUGIN_DIR . 'includes/admin/upgrades/class-give-updates.php';
611
-
612
- require_once GIVE_PLUGIN_DIR . 'blocks/load.php';
613
-
614
- // Include API
615
- require_once GIVE_PLUGIN_DIR . 'src/API/API.php';
616
-
617
- // Include Views
618
- require_once GIVE_PLUGIN_DIR . 'src/Views/Views.php';
619
-
620
- if ( defined( 'WP_CLI' ) && WP_CLI ) {
621
- require_once GIVE_PLUGIN_DIR . 'includes/class-give-cli-commands.php';
622
- }
623
-
624
- // Load file for frontend
625
- if ( $this->is_request( 'frontend' ) ) {
626
- require_once GIVE_PLUGIN_DIR . 'includes/frontend/class-give-frontend.php';
627
- }
628
-
629
- if ( $this->is_request( 'admin' ) || $this->is_request( 'wpcli' ) ) {
630
- require_once GIVE_PLUGIN_DIR . 'includes/admin/class-give-admin.php';
631
- }// End if().
632
-
633
- require_once GIVE_PLUGIN_DIR . 'includes/actions.php';
634
- require_once GIVE_PLUGIN_DIR . 'includes/install.php';
635
-
636
- // This conditional check will add backward compatibility to older Stripe versions (i.e. < 2.2.0) when used with Give 2.5.0.
637
- if (
638
- ! defined( 'GIVE_STRIPE_VERSION' ) ||
639
- (
640
- defined( 'GIVE_STRIPE_VERSION' ) &&
641
- version_compare( GIVE_STRIPE_VERSION, '2.2.0', '>=' )
642
- )
643
- ) {
644
- require_once GIVE_PLUGIN_DIR . 'includes/gateways/stripe/class-give-stripe.php';
645
- }
646
-
647
  }
 
648
 
649
- /**
650
- * Loads the plugin language files.
651
- *
652
- * @since 1.0
653
- * @access public
654
- *
655
- * @return void
656
- */
657
- public function load_textdomain() {
658
-
659
- // Set filter for Give's languages directory
660
- $give_lang_dir = dirname( plugin_basename( GIVE_PLUGIN_FILE ) ) . '/languages/';
661
- $give_lang_dir = apply_filters( 'give_languages_directory', $give_lang_dir );
662
-
663
- // Traditional WordPress plugin locale filter.
664
- $locale = is_admin() && function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale();
665
- $locale = apply_filters( 'plugin_locale', $locale, 'give' );
 
 
 
 
666
 
667
- unload_textdomain( 'give' );
668
- load_textdomain( 'give', WP_LANG_DIR . '/give/give-' . $locale . '.mo' );
669
- load_plugin_textdomain( 'give', false, $give_lang_dir );
670
 
 
 
 
 
 
 
 
 
 
 
671
  }
672
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
673
 
674
- /**
675
- * Show minimum PHP version notice.
676
- *
677
- * @since 1.8.12
678
- * @access public
679
- */
680
- public function minimum_phpversion_notice() {
681
- // Bailout.
682
- if ( ! is_admin() ) {
683
- return;
684
- }
 
 
 
 
 
 
 
 
 
 
 
 
685
 
686
- $notice_desc = '<p><strong>' . __( 'Your site could be faster and more secure with a newer PHP version.', 'give' ) . '</strong></p>';
687
- $notice_desc .= '<p>' . __( 'Hey, we\'ve noticed that you\'re running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we\'re sending you this notice.', 'give' ) . '</p>';
688
- $notice_desc .= '<p>' . __( 'Hosts have the ability to update your PHP version, but sometimes they don\'t dare to do that because they\'re afraid they\'ll break your site.', 'give' ) . '</p>';
689
- $notice_desc .= '<p><strong>' . __( 'To which version should I update?', 'give' ) . '</strong></p>';
690
- $notice_desc .= '<p>' . __( 'You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It\'s also the only PHP version still in active development and therefore the better option for your site in the long run.', 'give' ) . '</p>';
691
- $notice_desc .= '<p><strong>' . __( 'Can\'t update? Ask your host!', 'give' ) . '</strong></p>';
692
- $notice_desc .= '<p>' . sprintf( __( 'If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don\'t want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s.', 'give' ), sprintf( '<a href="%1$s" target="_blank">', esc_url( 'https://wordpress.org/hosting/' ) ), '</a>' ) . '</p>';
693
-
694
- echo sprintf(
695
- '<div class="notice notice-error">%1$s</div>',
696
- wp_kses_post( $notice_desc )
697
  );
698
  }
 
699
 
700
- /**
701
- * Display compatibility notice for Give 2.5.0 and Recurring 1.8.13 when Stripe premium is not active.
702
- *
703
- * @since 2.5.0
704
- *
705
- * @return void
706
- */
707
- public function display_old_recurring_compatibility_notice() {
708
-
709
- // Show notice, if incompatibility found.
710
- if (
711
- defined( 'GIVE_RECURRING_VERSION' )
712
- && version_compare( GIVE_RECURRING_VERSION, '1.9.0', '<' )
713
- && defined( 'GIVE_STRIPE_VERSION' )
714
- && version_compare( GIVE_STRIPE_VERSION, '2.2.0', '<' )
715
- ) {
716
-
717
- $message = sprintf(
718
- __( '<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href="%1$s" target="_blank">logging into your account</a> and visiting <a href="%1$s" target="_blank">your downloads</a> page on the GiveWP website.', 'give' ),
719
- esc_url( 'https://givewp.com/wp-login.php' ),
720
- esc_url( 'https://givewp.com/my-account/#tab_downloads' )
721
- );
722
-
723
- Give()->notices->register_notice(
724
- [
725
- 'id' => 'give-compatibility-with-old-recurring',
726
- 'description' => $message,
727
- 'dismissible_type' => 'user',
728
- 'dismiss_interval' => 'shortly',
729
- ]
730
- );
731
- }
732
-
733
- }
734
 
735
- /**
736
- * What type of request is this?
737
- *
738
- * @since 2.4.0
739
- *
740
- * @param string $type admin, ajax, cron or frontend.
741
- * @return bool
742
- */
743
- private function is_request( $type ) {
744
- switch ( $type ) {
745
- case 'admin':
746
- return is_admin();
747
- case 'ajax':
748
- return defined( 'DOING_AJAX' );
749
- case 'cron':
750
- return defined( 'DOING_CRON' );
751
- case 'frontend':
752
- return ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) && ! defined( 'REST_REQUEST' );
753
- case 'wpcli':
754
- return defined( 'WP_CLI' ) && WP_CLI;
755
  }
756
- }
757
 
758
- /**
759
- * Handle property get request
760
- *
761
- * @param string $propertyName
762
- *
763
- * @since 2.7.0
764
- * @return mixed
765
- */
766
- function __get( $propertyName ) {
767
- switch ( $propertyName ) {
768
- case 'templates':
769
- if ( ! isset( $this->singletonsCache[ Templates::class ] ) ) {
770
- $this->singletonsCache[ Templates::class ] = new Templates();
771
- }
772
 
773
- return $this->singletonsCache[ Templates::class ];
774
 
775
- case 'routeForm':
776
- if ( ! isset( $this->singletonsCache[ FormRoute::class ] ) ) {
777
- $this->singletonsCache[ FormRoute::class ] = new FormRoute();
778
- }
779
 
780
- return $this->singletonsCache[ FormRoute::class ];
781
- }
782
  }
 
783
 
 
 
 
 
 
 
 
 
 
784
  }
785
 
786
- endif; // End if class_exists check
 
 
 
 
 
 
 
 
 
 
 
 
 
787
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
 
789
  /**
790
  * Start Give
@@ -796,11 +442,27 @@ endif; // End if class_exists check
796
  *
797
  * Example: <?php $give = Give(); ?>
798
  *
 
799
  * @since 1.0
 
 
 
800
  * @return object|Give
801
  */
802
- function Give() { // phpcs:ignore
803
- return Give::instance();
 
 
 
 
 
 
 
 
 
 
804
  }
805
 
806
- Give();
 
 
5
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
6
  * Author: GiveWP
7
  * Author URI: https://givewp.com/
8
+ * Version: 2.7.3
9
  * Text Domain: give
10
  * Domain Path: /languages
11
  *
24
  *
25
  * A Tribute to Open Source:
26
  *
27
+ * "Open source software is software that can be freely used, changed, and shared (in modified or unmodified form) by
28
+ * anyone. Open source software is made by many people, and distributed under licenses that comply with the Open Source
29
+ * Definition."
30
  *
31
  * -- The Open Source Initiative
32
  *
33
+ * Give is a tribute to the spirit and philosophy of Open Source. We at GiveWP gladly embrace the Open Source
34
+ * philosophy both in how Give itself was developed, and how we hope to see others build more from our code base.
35
  *
36
+ * Give would not have been possible without the tireless efforts of WordPress and the surrounding Open Source projects
37
+ * and their talented developers. Thank you all for your contribution to WordPress.
38
  *
39
  * - The GiveWP Team
40
  */
41
 
42
+ use Give\Container\Container;
43
  use Give\Form\Templates;
44
  use Give\Route\Form as FormRoute;
45
  use Give\Controller\Form as FormRouteController;
46
+ use Give\ServiceProviders\LegacyServiceProvider;
47
+ use Give\ServiceProviders\RestAPI;
48
+ use Give\ServiceProviders\ServiceProvider;
49
 
50
  // Exit if accessed directly.
51
  if ( ! defined( 'ABSPATH' ) ) {
52
  exit;
53
  }
54
 
55
+ /**
56
+ * Main Give Class
57
+ *
58
+ * @since 2.8.0 build in a service container
59
+ * @since 1.0
60
+ *
61
+ * @property-read Give_API $api
62
+ * @property-read Give_Async_Process $async_process
63
+ * @property-read Give_Comment $comment
64
+ * @property-read Give_DB_Donors $donors
65
+ * @property-read Give_DB_Donor_Meta $donor_meta
66
+ * @property-read Give_Emails $emails
67
+ * @property-read Give_Email_Template_Tags $email_tags
68
+ * @property-read Give_DB_Form_Meta $form_meta
69
+ * @property-read Give_Admin_Settings $give_settings
70
+ * @property-read Give_HTML_Elements $html
71
+ * @property-read Give_Logging $logs
72
+ * @property-read Give_DB_Logs $log_db
73
+ * @property-read Give_DB_Log_Meta $logmeta_db
74
+ * @property-read Give_Notices $notices
75
+ * @property-read Give_DB_Payment_Meta $payment_meta
76
+ * @property-read Give_Roles $roles
77
+ * @property-read FormRoute $routeForm
78
+ * @property-read Templates $templates
79
+ * @property-read Give_Scripts $scripts
80
+ * @property-read Give_DB_Sequential_Ordering $sequential_donation_db
81
+ * @property-read Give_Sequential_Donation_Number $seq_donation_number
82
+ * @property-read Give_Session $session
83
+ * @property-read Give_DB_Sessions $session_db
84
+ * @property-read Give_Tooltips $tooltips
85
+ *
86
+ * @mixin Container
87
+ */
88
+ final class Give {
89
  /**
90
+ * Give Template Loader Object
91
  *
92
+ * @since 1.0
93
+ * @access public
94
  *
95
+ * @var Give_Template_Loader object
 
96
  */
97
+ public $template_loader;
 
 
98
 
99
+ /**
100
+ * Give No Login Object
101
+ *
102
+ * @since 1.0
103
+ * @access public
104
+ *
105
+ * @var Give_Email_Access object
106
+ */
107
+ public $email_access;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
 
109
+ /**
110
+ * Give_Stripe Object.
111
+ *
112
+ * @since 2.5.0
113
+ * @access public
114
+ *
115
+ * @var Give_Stripe
116
+ */
117
+ public $stripe;
118
 
119
+ /**
120
+ * @since 2.8.0
121
+ *
122
+ * @var Container
123
+ */
124
+ private $container;
 
 
 
125
 
126
+ /**
127
+ * @since 2.8.0
128
+ *
129
+ * @var array Array of Service Providers to load
130
+ */
131
+ private $serviceProviders = [
132
+ LegacyServiceProvider::class,
133
+ RestAPI::class,
134
+ ];
135
 
136
+ /**
137
+ * Give constructor.
138
+ *
139
+ * Sets up the Container to be used for managing all other instances and data
140
+ *
141
+ * @since 2.8.0
142
+ */
143
+ public function __construct() {
144
+ $this->container = new Container();
145
+ }
146
 
147
+ /**
148
+ * Bootstraps the Give Plugin
149
+ *
150
+ * @since 2.8.0
151
+ */
152
+ public function boot() {
153
+ // PHP version
154
+ if ( ! defined( 'GIVE_REQUIRED_PHP_VERSION' ) ) {
155
+ define( 'GIVE_REQUIRED_PHP_VERSION', '5.6.0' );
156
+ }
157
 
158
+ // Bailout: Need minimum php version to load plugin.
159
+ if ( function_exists( 'phpversion' ) && version_compare( GIVE_REQUIRED_PHP_VERSION, phpversion(), '>' ) ) {
160
+ add_action( 'admin_notices', [ $this, 'minimum_phpversion_notice' ] );
 
 
 
161
 
162
+ return;
163
+ }
 
 
 
 
164
 
165
+ // Add compatibility notice for recurring and stripe support with Give 2.5.0.
166
+ add_action( 'admin_notices', [ $this, 'display_old_recurring_compatibility_notice' ] );
 
 
 
 
167
 
168
+ add_action( 'plugins_loaded', [ $this, 'init' ], 0 );
 
 
 
 
 
169
 
170
+ $this->setup_constants();
 
 
 
 
 
171
 
172
+ do_action( 'give_loaded' );
173
+ }
 
 
 
 
174
 
175
+ /**
176
+ * Init Give when WordPress Initializes.
177
+ *
178
+ * @since 1.8.9
179
+ */
180
+ public function init() {
181
  /**
182
+ * Fires before the Give core is initialized.
183
  *
184
+ * @since 1.8.9
185
  */
186
+ do_action( 'before_give_init' );
187
 
188
+ // Set up localization.
189
+ $this->load_textdomain();
 
 
 
 
190
 
191
+ $this->bindClasses();
 
 
 
 
 
192
 
193
+ $this->loadServiceProviders();
 
 
 
 
 
 
 
 
194
 
195
+ // Load form template
196
+ $this->templates->load();
 
 
 
 
 
197
 
198
+ // Load routes.
199
+ $this->routeForm->init( new FormRouteController() );
200
 
201
  /**
202
+ * Fire the action after Give core loads.
 
 
 
203
  *
204
+ * @since 1.8.7
 
205
  *
206
+ * @param Give class instance.
 
207
  *
 
208
  */
209
+ do_action( 'give_init', $this );
210
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
 
212
+ /**
213
+ * Binds the initial classes to the service provider.
214
+ *
215
+ * @since 2.8.0
216
+ */
217
+ private function bindClasses() {
218
+ $this->container->singleton( 'templates', Templates::class );
219
+ $this->container->singleton( 'routeForm', FormRoute::class );
220
+ }
221
 
222
+ /**
223
+ * Setup plugin constants
224
+ *
225
+ * @since 1.0
226
+ * @access private
227
+ *
228
+ * @return void
229
+ */
230
+ private function setup_constants() {
231
+ // Plugin version.
232
+ if ( ! defined( 'GIVE_VERSION' ) ) {
233
+ define( 'GIVE_VERSION', '2.7.3' );
234
  }
235
 
236
+ // Plugin Root File.
237
+ if ( ! defined( 'GIVE_PLUGIN_FILE' ) ) {
238
+ define( 'GIVE_PLUGIN_FILE', __FILE__ );
 
 
 
 
 
239
  }
240
 
241
+ // Plugin Folder Path.
242
+ if ( ! defined( 'GIVE_PLUGIN_DIR' ) ) {
243
+ define( 'GIVE_PLUGIN_DIR', plugin_dir_path( GIVE_PLUGIN_FILE ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  }
245
 
246
+ // Plugin Folder URL.
247
+ if ( ! defined( 'GIVE_PLUGIN_URL' ) ) {
248
+ define( 'GIVE_PLUGIN_URL', plugin_dir_url( GIVE_PLUGIN_FILE ) );
 
 
 
 
 
 
 
 
 
 
 
249
  }
250
 
251
+ // Plugin Basename aka: "give/give.php".
252
+ if ( ! defined( 'GIVE_PLUGIN_BASENAME' ) ) {
253
+ define( 'GIVE_PLUGIN_BASENAME', plugin_basename( GIVE_PLUGIN_FILE ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
  }
255
 
256
+ // Make sure CAL_GREGORIAN is defined.
257
+ if ( ! defined( 'CAL_GREGORIAN' ) ) {
258
+ define( 'CAL_GREGORIAN', 1 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  }
260
+ }
261
 
262
+ /**
263
+ * Loads the plugin language files.
264
+ *
265
+ * @since 1.0
266
+ * @access public
267
+ *
268
+ * @return void
269
+ */
270
+ public function load_textdomain() {
271
+ // Set filter for Give's languages directory
272
+ $give_lang_dir = dirname( plugin_basename( GIVE_PLUGIN_FILE ) ) . '/languages/';
273
+ $give_lang_dir = apply_filters( 'give_languages_directory', $give_lang_dir );
274
+
275
+ // Traditional WordPress plugin locale filter.
276
+ $locale = is_admin() && function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale();
277
+ $locale = apply_filters( 'plugin_locale', $locale, 'give' );
278
+
279
+ unload_textdomain( 'give' );
280
+ load_textdomain( 'give', WP_LANG_DIR . '/give/give-' . $locale . '.mo' );
281
+ load_plugin_textdomain( 'give', false, $give_lang_dir );
282
+ }
283
 
 
 
 
284
 
285
+ /**
286
+ * Show minimum PHP version notice.
287
+ *
288
+ * @since 1.8.12
289
+ * @access public
290
+ */
291
+ public function minimum_phpversion_notice() {
292
+ // Bailout.
293
+ if ( ! is_admin() ) {
294
+ return;
295
  }
296
 
297
+ $notice_desc = '<p><strong>' . __(
298
+ 'Your site could be faster and more secure with a newer PHP version.',
299
+ 'give'
300
+ ) . '</strong></p>';
301
+ $notice_desc .= '<p>' . __(
302
+ 'Hey, we\'ve noticed that you\'re running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we\'re sending you this notice.',
303
+ 'give'
304
+ ) . '</p>';
305
+ $notice_desc .= '<p>' . __(
306
+ 'Hosts have the ability to update your PHP version, but sometimes they don\'t dare to do that because they\'re afraid they\'ll break your site.',
307
+ 'give'
308
+ ) . '</p>';
309
+ $notice_desc .= '<p><strong>' . __( 'To which version should I update?', 'give' ) . '</strong></p>';
310
+ $notice_desc .= '<p>' . __(
311
+ 'You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It\'s also the only PHP version still in active development and therefore the better option for your site in the long run.',
312
+ 'give'
313
+ ) . '</p>';
314
+ $notice_desc .= '<p><strong>' . __( 'Can\'t update? Ask your host!', 'give' ) . '</strong></p>';
315
+ $notice_desc .= '<p>' . sprintf(
316
+ __(
317
+ 'If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don\'t want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s.',
318
+ 'give'
319
+ ),
320
+ sprintf(
321
+ '<a href="%1$s" target="_blank">',
322
+ esc_url( 'https://wordpress.org/hosting/' )
323
+ ),
324
+ '</a>'
325
+ ) . '</p>';
326
+
327
+ echo sprintf(
328
+ '<div class="notice notice-error">%1$s</div>',
329
+ wp_kses_post( $notice_desc )
330
+ );
331
+ }
332
 
333
+ /**
334
+ * Display compatibility notice for Give 2.5.0 and Recurring 1.8.13 when Stripe premium is not active.
335
+ *
336
+ * @since 2.5.0
337
+ *
338
+ * @return void
339
+ */
340
+ public function display_old_recurring_compatibility_notice() {
341
+ // Show notice, if incompatibility found.
342
+ if (
343
+ defined( 'GIVE_RECURRING_VERSION' )
344
+ && version_compare( GIVE_RECURRING_VERSION, '1.9.0', '<' )
345
+ && defined( 'GIVE_STRIPE_VERSION' )
346
+ && version_compare( GIVE_STRIPE_VERSION, '2.2.0', '<' )
347
+ ) {
348
+ $message = sprintf(
349
+ __(
350
+ '<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href="%1$s" target="_blank">logging into your account</a> and visiting <a href="%1$s" target="_blank">your downloads</a> page on the GiveWP website.',
351
+ 'give'
352
+ ),
353
+ esc_url( 'https://givewp.com/wp-login.php' ),
354
+ esc_url( 'https://givewp.com/my-account/#tab_downloads' )
355
+ );
356
 
357
+ Give()->notices->register_notice(
358
+ [
359
+ 'id' => 'give-compatibility-with-old-recurring',
360
+ 'description' => $message,
361
+ 'dismissible_type' => 'user',
362
+ 'dismiss_interval' => 'shortly',
363
+ ]
 
 
 
 
364
  );
365
  }
366
+ }
367
 
368
+ /**
369
+ * Load all the service providers to bootstrap the various parts of the application.
370
+ *
371
+ * @since 2.8.0
372
+ */
373
+ private function loadServiceProviders() {
374
+ $providers = [];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
 
376
+ foreach ( $this->serviceProviders as $serviceProvider ) {
377
+ if ( ! is_subclass_of( $serviceProvider, ServiceProvider::class ) ) {
378
+ throw new InvalidArgumentException( "$serviceProvider class must implement the ServiceProvider interface" );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
379
  }
 
380
 
381
+ /** @var ServiceProvider $serviceProvider */
382
+ $serviceProvider = new $serviceProvider();
 
 
 
 
 
 
 
 
 
 
 
 
383
 
384
+ $serviceProvider->register();
385
 
386
+ $providers[] = $serviceProvider;
387
+ }
 
 
388
 
389
+ foreach ( $providers as $serviceProvider ) {
390
+ $serviceProvider->boot();
391
  }
392
+ }
393
 
394
+ /**
395
+ * Register a Service Provider for bootstrapping
396
+ *
397
+ * @since 2.8.0
398
+ *
399
+ * @param $serviceProvider
400
+ */
401
+ public function registerServiceProvider( $serviceProvider ) {
402
+ $this->serviceProviders[] = $serviceProvider;
403
  }
404
 
405
+ /**
406
+ * Magic properties are passed to the service container to retrieve the data.
407
+ *
408
+ * @since 2.8.0 retrieve from the service container
409
+ * @since 2.7.0
410
+ *
411
+ * @param string $propertyName
412
+ *
413
+ * @return mixed
414
+ * @throws Exception
415
+ */
416
+ public function __get( $propertyName ) {
417
+ return $this->container->get( $propertyName );
418
+ }
419
 
420
+ /**
421
+ * Magic methods are passed to the service container.
422
+ *
423
+ * @since 2.8.0
424
+ *
425
+ * @param $name
426
+ * @param $arguments
427
+ *
428
+ * @return mixed
429
+ */
430
+ public function __call( $name, $arguments ) {
431
+ return call_user_func_array( [ $this->container, $name ], $arguments );
432
+ }
433
+ }
434
 
435
  /**
436
  * Start Give
442
  *
443
  * Example: <?php $give = Give(); ?>
444
  *
445
+ * @since 2.8.0 add parameter for quick retrieval from container
446
  * @since 1.0
447
+ *
448
+ * @param null $abstract Selector for data to retrieve from the service container
449
+ *
450
  * @return object|Give
451
  */
452
+ function Give( $abstract = null ) {
453
+ static $instance = null;
454
+
455
+ if ( $instance === null ) {
456
+ $instance = new Give();
457
+ }
458
+
459
+ if ( $abstract !== null ) {
460
+ return $instance->make( $abstract );
461
+ }
462
+
463
+ return $instance;
464
  }
465
 
466
+ require 'vendor/autoload.php';
467
+
468
+ Give()->boot();
includes/admin/class-admin-settings.php CHANGED
@@ -885,25 +885,26 @@ if ( ! class_exists( 'Give_Admin_Settings' ) ) :
885
  // Note: only for internal use.
886
  case 'chosen':
887
  // Get option value.
888
- $option_value = self::get_option( $option_name, $value['id'], $value['default'] );
889
- $option_value = is_array( $option_value ) ? array_fill_keys( $option_value, 'selected' ) : $option_value;
890
  $wrapper_class = ! empty( $value['wrapper_class'] ) ? 'class="' . $value['wrapper_class'] . '"' : '';
891
  $type = '';
892
- $allow_new_values = '';
893
  $name = give_get_field_name( $value );
 
 
894
 
895
  // Set attributes based on multiselect datatype.
896
- if ( 'multiselect' === $value['data_type'] ) {
897
- $type = 'multiple';
898
- $allow_new_values = 'data-allows-new-values="true"';
899
- $name = $name . '[]';
900
- $option_value = empty( $option_value ) ? [] : $option_value;
901
  }
902
 
903
- $title_prefixes_value = ( is_array( $option_value ) && count( $option_value ) > 0 ) ?
904
- array_merge( $value['options'], $option_value ) :
905
- $value['options'];
906
-
 
907
  ?>
908
  <tr valign="top" <?php echo $wrapper_class; ?>>
909
  <th scope="row" class="titledesc">
@@ -921,14 +922,13 @@ if ( ! class_exists( 'Give_Admin_Settings' ) ) :
921
  ?>
922
  >
923
  <?php
924
- if ( is_array( $title_prefixes_value ) && count( $title_prefixes_value ) > 0 ) {
925
- foreach ( $title_prefixes_value as $key => $item_value ) {
926
- echo sprintf(
927
- '<option %1$s value="%2$s">%2$s</option>',
928
- ( 'selected' === $item_value ) ? 'selected="selected"' : '',
929
- esc_attr( $key )
930
- );
931
- }
932
  }
933
  ?>
934
  </select>
885
  // Note: only for internal use.
886
  case 'chosen':
887
  // Get option value.
888
+ $option_value = array_filter( (array) self::get_option( $option_name, $value['id'], $value['default'] ) );
 
889
  $wrapper_class = ! empty( $value['wrapper_class'] ) ? 'class="' . $value['wrapper_class'] . '"' : '';
890
  $type = '';
891
+ $allow_new_values = ! empty( $value['allow-custom-values'] ) && (bool) $value['allow-custom-values'] ? 'data-allows-new-values="true"' : '';
892
  $name = give_get_field_name( $value );
893
+ $choices = $value['options'];
894
+ $value['style'] = isset( $value['style'] ) ? $value['style'] : '';
895
 
896
  // Set attributes based on multiselect datatype.
897
+ if ( ! empty( $value['data_type'] ) && 'multiselect' === $value['data_type'] ) {
898
+ $type = 'multiple';
899
+ $name .= '[]';
900
+ $option_value = empty( $option_value ) ? [] : $option_value;
 
901
  }
902
 
903
+ // Add dynamically added values to options
904
+ // we can add option dynamically to chosen select field. For example: "Title Prefixes"
905
+ if ( $allow_new_values && $option_value && ( $missing_options = array_diff( $option_value, array_keys( $choices ) ) ) ) {
906
+ $choices = array_merge( $value['options'], array_combine( $missing_options, $missing_options ) );
907
+ }
908
  ?>
909
  <tr valign="top" <?php echo $wrapper_class; ?>>
910
  <th scope="row" class="titledesc">
922
  ?>
923
  >
924
  <?php
925
+ foreach ( $choices as $key => $name ) {
926
+ echo sprintf(
927
+ '<option %1$s value="%2$s">%3$s</option>',
928
+ in_array( $key, $option_value ) ? 'selected="selected"' : '',
929
+ esc_attr( $key ),
930
+ $name
931
+ );
 
932
  }
933
  ?>
934
  </select>
includes/admin/forms/class-metabox-form-data.php CHANGED
@@ -328,14 +328,15 @@ class Give_MetaBox_Form_Data {
328
  'default' => 'global',
329
  ],
330
  [
331
- 'name' => __( 'Title Prefixes', 'give' ),
332
- 'desc' => __( 'Add or remove salutations from the dropdown using the field above.', 'give' ),
333
- 'id' => $prefix . 'title_prefixes',
334
- 'type' => 'chosen',
335
- 'data_type' => 'multiselect',
336
- 'style' => 'width: 100%',
337
- 'wrapper_class' => 'give-hidden give-title-prefixes-wrap',
338
- 'options' => give_get_default_title_prefixes(),
 
339
  ],
340
  [
341
  'name' => __( 'Company Donations', 'give' ),
328
  'default' => 'global',
329
  ],
330
  [
331
+ 'name' => __( 'Title Prefixes', 'give' ),
332
+ 'desc' => __( 'Add or remove salutations from the dropdown using the field above.', 'give' ),
333
+ 'id' => $prefix . 'title_prefixes',
334
+ 'type' => 'chosen',
335
+ 'data_type' => 'multiselect',
336
+ 'allow-custom-values' => true,
337
+ 'style' => 'width: 100%',
338
+ 'wrapper_class' => 'give-hidden give-title-prefixes-wrap',
339
+ 'options' => give_get_default_title_prefixes(),
340
  ],
341
  [
342
  'name' => __( 'Company Donations', 'give' ),
includes/admin/give-metabox-functions.php CHANGED
@@ -195,9 +195,9 @@ function give_render_field( $field ) {
195
 
196
  case 'give_default_radio_inline':
197
  $field['type'] = 'radio';
198
- $field['options'] = array(
199
  'default' => __( 'Default', 'give' ),
200
- );
201
  break;
202
 
203
  case 'donation_limit':
@@ -329,21 +329,21 @@ function give_chosen_input( $field ) {
329
  $placeholder = isset( $field['placeholder'] ) ? 'data-placeholder="' . $field['placeholder'] . '"' : '';
330
  $data_type = ! empty( $field['data_type'] ) ? $field['data_type'] : '';
331
  $type = '';
332
- $allow_new_values = '';
333
- $field['value'] = give_get_field_value( $field, $thepostid );
334
- $field['value'] = is_array( $field['value'] ) ?
335
- array_fill_keys( array_filter( $field['value'] ), 'selected' ) :
336
- $field['value'];
337
- $title_prefixes_value = ( is_array( $field['value'] ) && count( $field['value'] ) > 0 ) ?
338
- array_merge( $field['options'], $field['value'] ) :
339
- $field['options'];
340
 
341
  // Set attributes based on multiselect datatype.
342
  if ( 'multiselect' === $data_type ) {
343
- $type = 'multiple';
344
- $allow_new_values = 'data-allows-new-values="true"';
 
345
  }
346
 
 
 
 
347
  ?>
348
  <p class="give-field-wrap <?php echo esc_attr( $field['id'] ); ?>_field <?php echo esc_attr( $field['wrapper_class'] ); ?>">
349
  <label for="<?php echo esc_attr( give_get_field_name( $field ) ); ?>">
@@ -353,19 +353,18 @@ function give_chosen_input( $field ) {
353
  <select
354
  class="give-select-chosen give-chosen-settings"
355
  style="<?php echo esc_attr( $field['style'] ); ?>"
356
- name="<?php echo esc_attr( give_get_field_name( $field ) ); ?>[]"
357
  id="<?php echo esc_attr( $field['id'] ); ?>"
358
  <?php echo "{$type} {$allow_new_values} {$placeholder}"; ?>
359
  >
360
  <?php
361
- if ( is_array( $title_prefixes_value ) && count( $title_prefixes_value ) > 0 ) {
362
- foreach ( $title_prefixes_value as $key => $value ) {
363
- echo sprintf(
364
- '<option %1$s value="%2$s">%2$s</option>',
365
- ( 'selected' === $value ) ? 'selected="selected"' : '',
366
- esc_attr( $key )
367
- );
368
- }
369
  }
370
  ?>
371
  </select>
@@ -445,26 +444,26 @@ function give_donation_limit( $field ) {
445
  $thepostid = empty( $thepostid ) ? $post->ID : $thepostid;
446
 
447
  // Default arguments.
448
- $default_options = array(
449
  'style' => '',
450
  'wrapper_class' => '',
451
  'value' => give_get_field_value( $field, $thepostid ),
452
  'data_type' => 'decimal',
453
  'before_field' => '',
454
  'after_field' => '',
455
- );
456
 
457
  // Field options.
458
- $field['options'] = ! empty( $field['options'] ) ? $field['options'] : array();
459
 
460
  // Default field option arguments.
461
  $field['options'] = wp_parse_args(
462
  $field['options'],
463
- array(
464
  'display_label' => '',
465
  'minimum' => give_format_decimal( '1.00', false, false ),
466
  'maximum' => give_format_decimal( '999999.99', false, false ),
467
- )
468
  );
469
 
470
  // Set default field options.
@@ -491,20 +490,20 @@ function give_donation_limit( $field ) {
491
  $currency_position = give_get_option( 'currency_position', 'before' );
492
  $price_field_labels = 'minimum' === $amount_range ? __( 'Minimum amount', 'give' ) : __( 'Maximum amount', 'give' );
493
 
494
- $tooltip_html = array(
495
  'before' => Give()->tooltips->render_span(
496
- array(
497
  'label' => $price_field_labels,
498
  'tag_content' => sprintf( '<span class="give-money-symbol give-money-symbol-before">%s</span>', give_currency_symbol() ),
499
- )
500
  ),
501
  'after' => Give()->tooltips->render_span(
502
- array(
503
  'label' => $price_field_labels,
504
  'tag_content' => sprintf( '<span class="give-money-symbol give-money-symbol-after">%s</span>', give_currency_symbol() ),
505
- )
506
  ),
507
- );
508
 
509
  $before_html = ! empty( $field_options['before_field'] )
510
  ? $field_options['before_field']
@@ -574,7 +573,7 @@ function give_hidden_input( $field ) {
574
  $field['value'] = give_get_field_value( $field, $thepostid );
575
 
576
  // Custom attribute handling
577
- $custom_attributes = array();
578
 
579
  if ( ! empty( $field['attributes'] ) && is_array( $field['attributes'] ) ) {
580
 
@@ -622,10 +621,10 @@ function give_textarea_input( $field ) {
622
  $field['style'] = isset( $field['style'] ) ? $field['style'] : '';
623
  $field['wrapper_class'] = isset( $field['wrapper_class'] ) ? $field['wrapper_class'] : '';
624
  $field['value'] = give_get_field_value( $field, $thepostid );
625
- $default_attributes = array(
626
  'cols' => 20,
627
  'rows' => 10,
628
- );
629
  ?>
630
  <div class="give-field-wrap <?php echo esc_attr( $field['id'] ); ?>_field <?php echo esc_attr( $field['wrapper_class'] ); ?>">
631
  <label for="<?php echo give_get_field_name( $field ); ?>"><?php echo wp_kses_post( $field['name'] ); ?></label>
@@ -673,13 +672,13 @@ function give_wysiwyg( $field ) {
673
  // wp-includes/class-wp-editor.php::parse_settings::106
674
  $field['unique_field_id'] = str_replace( [ '[', ']' ], [ '_', '' ], give_get_field_name( $field ) );
675
 
676
- $editor_attributes = [
677
  'textarea_name' => isset( $field['repeatable_field_id'] ) ? $field['repeatable_field_id'] : $field['id'],
678
  'textarea_rows' => '10',
679
  'editor_css' => esc_attr( $field['style'] ),
680
  'editor_class' => $field['attributes']['class'],
681
  ];
682
- $data_wp_editor = ' data-wp-editor="' . base64_encode(
683
  json_encode(
684
  [
685
  $field['value'],
@@ -688,7 +687,7 @@ function give_wysiwyg( $field ) {
688
  ]
689
  )
690
  ) . '"';
691
- $data_wp_editor = isset( $field['repeatable_field_id'] ) ? $data_wp_editor : '';
692
 
693
  echo '<div class="give-field-wrap ' . $field['unique_field_id'] . '_field ' . esc_attr( $field['wrapper_class'] ) . '"' . $data_wp_editor . '><label for="' . $field['unique_field_id'] . '">' . wp_kses_post( $field['name'] ) . '</label>';
694
 
@@ -928,7 +927,7 @@ function give_media( $field ) {
928
  // Allow developer to save attachment ID or attachment url as metadata.
929
  $field['fvalue'] = isset( $field['fvalue'] ) ? $field['fvalue'] : 'url';
930
 
931
- $allow_media_preview_tags = array( 'jpg', 'jpeg', 'png', 'gif', 'ico' );
932
  $preview_image_src = $field['value'] ? ( 'id' === $field['fvalue'] ? wp_get_attachment_url( $field['value'] ) : $field['value'] ) : '#';
933
  $preview_image_extension = $preview_image_src ? pathinfo( $preview_image_src, PATHINFO_EXTENSION ) : '';
934
  $is_show_preview = in_array( $preview_image_extension, $allow_media_preview_tags );
@@ -966,7 +965,7 @@ function give_default_gateway( $field ) {
966
 
967
  // get all active payment gateways.
968
  $gateways = give_get_enabled_payment_gateways( $thepostid );
969
- $field['options'] = array();
970
 
971
  // Set field option value.
972
  if ( ! empty( $gateways ) ) {
@@ -977,7 +976,7 @@ function give_default_gateway( $field ) {
977
 
978
  // Add a field to the Give Form admin single post view of this field
979
  if ( is_object( $post ) && 'give_forms' === $post->post_type ) {
980
- $field['options'] = array_merge( array( 'global' => esc_html__( 'Global Default', 'give' ) ), $field['options'] );
981
  }
982
 
983
  // Render select field.
@@ -1025,7 +1024,7 @@ function give_email_preview_buttons( $field ) {
1025
  /* @var WP_Post $post */
1026
  global $post;
1027
 
1028
- $field_id = str_replace( array( '_give_', '_preview_buttons' ), '', $field['id'] );
1029
 
1030
  ob_start();
1031
 
@@ -1035,11 +1034,11 @@ function give_email_preview_buttons( $field ) {
1035
  '<a href="%1$s" class="button-secondary" target="_blank">%2$s</a>',
1036
  wp_nonce_url(
1037
  add_query_arg(
1038
- array(
1039
  'give_action' => 'preview_email',
1040
  'email_type' => $field_id,
1041
  'form_id' => $post->ID,
1042
- ),
1043
  home_url()
1044
  ),
1045
  'give-preview-email'
@@ -1051,12 +1050,12 @@ function give_email_preview_buttons( $field ) {
1051
  ' <a href="%1$s" aria-label="%2$s" class="button-secondary">%3$s</a>',
1052
  wp_nonce_url(
1053
  add_query_arg(
1054
- array(
1055
  'give_action' => 'send_preview_email',
1056
  'email_type' => $field_id,
1057
  'give-messages[]' => 'sent-test-email',
1058
  'form_id' => $post->ID,
1059
- )
1060
  ),
1061
  'give-send-preview-email'
1062
  ),
@@ -1102,10 +1101,10 @@ function give_get_field_value( $field, $postid ) {
1102
  $minimum = give_get_meta( $postid, '_give_custom_amount_minimum', true );
1103
  }
1104
 
1105
- $field_value = array(
1106
  'minimum' => $minimum,
1107
  'maximum' => give_get_meta( $postid, $field['id'] . '_maximum', true ),
1108
- );
1109
  } else {
1110
  // Get value from db.
1111
  $field_value = give_get_meta( $postid, $field['id'], true );
@@ -1343,8 +1342,8 @@ function _give_metabox_form_data_repeater_fields( $fields ) {
1343
  $field['repeat'] = true;
1344
  $field['repeatable_field_id'] = give_get_repeater_field_id( $field, $fields );
1345
  $field['id'] = str_replace(
1346
- array( '[', ']' ),
1347
- array( '_', '' ),
1348
  $field['repeatable_field_id']
1349
  );
1350
  ?>
@@ -1380,8 +1379,8 @@ function _give_metabox_form_data_repeater_fields( $fields ) {
1380
  $field['repeatable_field_id'] = give_get_repeater_field_id( $field, $fields, $index );
1381
  $field['attributes']['value'] = give_get_repeater_field_value( $field, $field_group, $fields );
1382
  $field['id'] = str_replace(
1383
- array( '[', ']' ),
1384
- array( '_', '' ),
1385
  $field['repeatable_field_id']
1386
  );
1387
  ?>
@@ -1423,8 +1422,8 @@ function _give_metabox_form_data_repeater_fields( $fields ) {
1423
  $fields
1424
  );
1425
  $field['id'] = str_replace(
1426
- array( '[', ']' ),
1427
- array( '_', '' ),
1428
  $field['repeatable_field_id']
1429
  );
1430
  give_render_field( $field );
195
 
196
  case 'give_default_radio_inline':
197
  $field['type'] = 'radio';
198
+ $field['options'] = [
199
  'default' => __( 'Default', 'give' ),
200
+ ];
201
  break;
202
 
203
  case 'donation_limit':
329
  $placeholder = isset( $field['placeholder'] ) ? 'data-placeholder="' . $field['placeholder'] . '"' : '';
330
  $data_type = ! empty( $field['data_type'] ) ? $field['data_type'] : '';
331
  $type = '';
332
+ $field['value'] = array_filter( (array) give_get_field_value( $field, $thepostid ) );
333
+ $choices = $field['options'];
334
+ $fieldName = esc_attr( give_get_field_name( $field ) );
335
+ $allow_new_values = ! empty( $field['allow-custom-values'] ) && (bool) $field['allow-custom-values'] ? 'data-allows-new-values="true"' : '';
 
 
 
 
336
 
337
  // Set attributes based on multiselect datatype.
338
  if ( 'multiselect' === $data_type ) {
339
+ $type = 'multiple';
340
+ $field['value'] = empty( $field['value'] ) ? [] : $field['value'];
341
+ $fieldName .= '[]';
342
  }
343
 
344
+ if ( $allow_new_values && $field['value'] && ( $missing = array_diff( $field['value'], array_keys( $choices ) ) ) ) {
345
+ $choices = array_merge( $choices, array_combine( $missing, $missing ) );
346
+ }
347
  ?>
348
  <p class="give-field-wrap <?php echo esc_attr( $field['id'] ); ?>_field <?php echo esc_attr( $field['wrapper_class'] ); ?>">
349
  <label for="<?php echo esc_attr( give_get_field_name( $field ) ); ?>">
353
  <select
354
  class="give-select-chosen give-chosen-settings"
355
  style="<?php echo esc_attr( $field['style'] ); ?>"
356
+ name="<?php echo $fieldName; ?>"
357
  id="<?php echo esc_attr( $field['id'] ); ?>"
358
  <?php echo "{$type} {$allow_new_values} {$placeholder}"; ?>
359
  >
360
  <?php
361
+ foreach ( $choices as $key => $name ) {
362
+ echo sprintf(
363
+ '<option %1$s value="%2$s">%3$s</option>',
364
+ in_array( $key, $field['value'] ) ? 'selected="selected"' : '',
365
+ esc_attr( $key ),
366
+ $name
367
+ );
 
368
  }
369
  ?>
370
  </select>
444
  $thepostid = empty( $thepostid ) ? $post->ID : $thepostid;
445
 
446
  // Default arguments.
447
+ $default_options = [
448
  'style' => '',
449
  'wrapper_class' => '',
450
  'value' => give_get_field_value( $field, $thepostid ),
451
  'data_type' => 'decimal',
452
  'before_field' => '',
453
  'after_field' => '',
454
+ ];
455
 
456
  // Field options.
457
+ $field['options'] = ! empty( $field['options'] ) ? $field['options'] : [];
458
 
459
  // Default field option arguments.
460
  $field['options'] = wp_parse_args(
461
  $field['options'],
462
+ [
463
  'display_label' => '',
464
  'minimum' => give_format_decimal( '1.00', false, false ),
465
  'maximum' => give_format_decimal( '999999.99', false, false ),
466
+ ]
467
  );
468
 
469
  // Set default field options.
490
  $currency_position = give_get_option( 'currency_position', 'before' );
491
  $price_field_labels = 'minimum' === $amount_range ? __( 'Minimum amount', 'give' ) : __( 'Maximum amount', 'give' );
492
 
493
+ $tooltip_html = [
494
  'before' => Give()->tooltips->render_span(
495
+ [
496
  'label' => $price_field_labels,
497
  'tag_content' => sprintf( '<span class="give-money-symbol give-money-symbol-before">%s</span>', give_currency_symbol() ),
498
+ ]
499
  ),
500
  'after' => Give()->tooltips->render_span(
501
+ [
502
  'label' => $price_field_labels,
503
  'tag_content' => sprintf( '<span class="give-money-symbol give-money-symbol-after">%s</span>', give_currency_symbol() ),
504
+ ]
505
  ),
506
+ ];
507
 
508
  $before_html = ! empty( $field_options['before_field'] )
509
  ? $field_options['before_field']
573
  $field['value'] = give_get_field_value( $field, $thepostid );
574
 
575
  // Custom attribute handling
576
+ $custom_attributes = [];
577
 
578
  if ( ! empty( $field['attributes'] ) && is_array( $field['attributes'] ) ) {
579
 
621
  $field['style'] = isset( $field['style'] ) ? $field['style'] : '';
622
  $field['wrapper_class'] = isset( $field['wrapper_class'] ) ? $field['wrapper_class'] : '';
623
  $field['value'] = give_get_field_value( $field, $thepostid );
624
+ $default_attributes = [
625
  'cols' => 20,
626
  'rows' => 10,
627
+ ];
628
  ?>
629
  <div class="give-field-wrap <?php echo esc_attr( $field['id'] ); ?>_field <?php echo esc_attr( $field['wrapper_class'] ); ?>">
630
  <label for="<?php echo give_get_field_name( $field ); ?>"><?php echo wp_kses_post( $field['name'] ); ?></label>
672
  // wp-includes/class-wp-editor.php::parse_settings::106
673
  $field['unique_field_id'] = str_replace( [ '[', ']' ], [ '_', '' ], give_get_field_name( $field ) );
674
 
675
+ $editor_attributes = [
676
  'textarea_name' => isset( $field['repeatable_field_id'] ) ? $field['repeatable_field_id'] : $field['id'],
677
  'textarea_rows' => '10',
678
  'editor_css' => esc_attr( $field['style'] ),
679
  'editor_class' => $field['attributes']['class'],
680
  ];
681
+ $data_wp_editor = ' data-wp-editor="' . base64_encode(
682
  json_encode(
683
  [
684
  $field['value'],
687
  ]
688
  )
689
  ) . '"';
690
+ $data_wp_editor = isset( $field['repeatable_field_id'] ) ? $data_wp_editor : '';
691
 
692
  echo '<div class="give-field-wrap ' . $field['unique_field_id'] . '_field ' . esc_attr( $field['wrapper_class'] ) . '"' . $data_wp_editor . '><label for="' . $field['unique_field_id'] . '">' . wp_kses_post( $field['name'] ) . '</label>';
693
 
927
  // Allow developer to save attachment ID or attachment url as metadata.
928
  $field['fvalue'] = isset( $field['fvalue'] ) ? $field['fvalue'] : 'url';
929
 
930
+ $allow_media_preview_tags = [ 'jpg', 'jpeg', 'png', 'gif', 'ico' ];
931
  $preview_image_src = $field['value'] ? ( 'id' === $field['fvalue'] ? wp_get_attachment_url( $field['value'] ) : $field['value'] ) : '#';
932
  $preview_image_extension = $preview_image_src ? pathinfo( $preview_image_src, PATHINFO_EXTENSION ) : '';
933
  $is_show_preview = in_array( $preview_image_extension, $allow_media_preview_tags );
965
 
966
  // get all active payment gateways.
967
  $gateways = give_get_enabled_payment_gateways( $thepostid );
968
+ $field['options'] = [];
969
 
970
  // Set field option value.
971
  if ( ! empty( $gateways ) ) {
976
 
977
  // Add a field to the Give Form admin single post view of this field
978
  if ( is_object( $post ) && 'give_forms' === $post->post_type ) {
979
+ $field['options'] = array_merge( [ 'global' => esc_html__( 'Global Default', 'give' ) ], $field['options'] );
980
  }
981
 
982
  // Render select field.
1024
  /* @var WP_Post $post */
1025
  global $post;
1026
 
1027
+ $field_id = str_replace( [ '_give_', '_preview_buttons' ], '', $field['id'] );
1028
 
1029
  ob_start();
1030
 
1034
  '<a href="%1$s" class="button-secondary" target="_blank">%2$s</a>',
1035
  wp_nonce_url(
1036
  add_query_arg(
1037
+ [
1038
  'give_action' => 'preview_email',
1039
  'email_type' => $field_id,
1040
  'form_id' => $post->ID,
1041
+ ],
1042
  home_url()
1043
  ),
1044
  'give-preview-email'
1050
  ' <a href="%1$s" aria-label="%2$s" class="button-secondary">%3$s</a>',
1051
  wp_nonce_url(
1052
  add_query_arg(
1053
+ [
1054
  'give_action' => 'send_preview_email',
1055
  'email_type' => $field_id,
1056
  'give-messages[]' => 'sent-test-email',
1057
  'form_id' => $post->ID,
1058
+ ]
1059
  ),
1060
  'give-send-preview-email'
1061
  ),
1101
  $minimum = give_get_meta( $postid, '_give_custom_amount_minimum', true );
1102
  }
1103
 
1104
+ $field_value = [
1105
  'minimum' => $minimum,
1106
  'maximum' => give_get_meta( $postid, $field['id'] . '_maximum', true ),
1107
+ ];
1108
  } else {
1109
  // Get value from db.
1110
  $field_value = give_get_meta( $postid, $field['id'], true );
1342
  $field['repeat'] = true;
1343
  $field['repeatable_field_id'] = give_get_repeater_field_id( $field, $fields );
1344
  $field['id'] = str_replace(
1345
+ [ '[', ']' ],
1346
+ [ '_', '' ],
1347
  $field['repeatable_field_id']
1348
  );
1349
  ?>
1379
  $field['repeatable_field_id'] = give_get_repeater_field_id( $field, $fields, $index );
1380
  $field['attributes']['value'] = give_get_repeater_field_value( $field, $field_group, $fields );
1381
  $field['id'] = str_replace(
1382
+ [ '[', ']' ],
1383
+ [ '_', '' ],
1384
  $field['repeatable_field_id']
1385
  );
1386
  ?>
1422
  $fields
1423
  );
1424
  $field['id'] = str_replace(
1425
+ [ '[', ']' ],
1426
+ [ '_', '' ],
1427
  $field['repeatable_field_id']
1428
  );
1429
  give_render_field( $field );
includes/admin/settings/class-settings-display.php CHANGED
@@ -65,14 +65,15 @@ if ( ! class_exists( 'Give_Settings_Display' ) ) :
65
  ],
66
  ],
67
  [
68
- 'name' => __( 'Title Prefixes', 'give' ),
69
- 'desc' => __( 'Add or remove salutations from the dropdown using the field above.', 'give' ),
70
- 'id' => 'title_prefixes',
71
- 'type' => 'chosen',
72
- 'data_type' => 'multiselect',
73
- 'wrapper_class' => 'give-hidden give-title-prefixes-settings-wrap',
74
- 'style' => 'width: 30%',
75
- 'options' => give_get_default_title_prefixes(),
 
76
  ],
77
  [
78
  'name' => __( 'Company Field', 'give' ),
65
  ],
66
  ],
67
  [
68
+ 'name' => __( 'Title Prefixes', 'give' ),
69
+ 'desc' => __( 'Add or remove salutations from the dropdown using the field above.', 'give' ),
70
+ 'id' => 'title_prefixes',
71
+ 'type' => 'chosen',
72
+ 'data_type' => 'multiselect',
73
+ 'allow-custom-values' => true,
74
+ 'wrapper_class' => 'give-hidden give-title-prefixes-settings-wrap',
75
+ 'style' => 'width: 30%',
76
+ 'options' => give_get_default_title_prefixes(),
77
  ],
78
  [
79
  'name' => __( 'Company Field', 'give' ),
includes/misc-functions.php CHANGED
@@ -980,7 +980,7 @@ function give_get_meta( $id, $meta_key = '', $single = false, $default = false,
980
  *
981
  * @since 1.8.8
982
  */
983
- $meta_value = apply_filters( 'give_get_meta', $meta_value, $id, $meta_key, $default, $meta_value );
984
 
985
  if ( ( empty( $meta_key ) || empty( $meta_value ) ) && $default ) {
986
  $meta_value = $default;
980
  *
981
  * @since 1.8.8
982
  */
983
+ $meta_value = apply_filters( 'give_get_meta', $meta_value, $id, $meta_key, $default, $meta_type );
984
 
985
  if ( ( empty( $meta_key ) || empty( $meta_value ) ) && $default ) {
986
  $meta_value = $default;
languages/give.pot CHANGED
@@ -63,39 +63,35 @@ msgstr ""
63
  msgid "Need help? Learn more about %1$sDonors%2$s."
64
  msgstr ""
65
 
66
- #: give.php:436, give.php:449
67
- msgid "Cheatin&#8217; huh?"
68
- msgstr ""
69
-
70
- #: give.php:686
71
  msgid "Your site could be faster and more secure with a newer PHP version."
72
  msgstr ""
73
 
74
- #: give.php:687
75
  msgid "Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice."
76
  msgstr ""
77
 
78
- #: give.php:688
79
  msgid "Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site."
80
  msgstr ""
81
 
82
- #: give.php:689
83
  msgid "To which version should I update?"
84
  msgstr ""
85
 
86
- #: give.php:690
87
  msgid "You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run."
88
  msgstr ""
89
 
90
- #: give.php:691
91
  msgid "Can't update? Ask your host!"
92
  msgstr ""
93
 
94
- #: give.php:692
95
  msgid "If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s."
96
  msgstr ""
97
 
98
- #: give.php:718
99
  msgid "<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href=\"%1$s\" target=\"_blank\">logging into your account</a> and visiting <a href=\"%1$s\" target=\"_blank\">your downloads</a> page on the GiveWP website."
100
  msgstr ""
101
 
@@ -5601,7 +5597,7 @@ msgstr ""
5601
  msgid "We're unable to recognize your session. Please refresh the screen to try again; otherwise contact your website administrator for assistance."
5602
  msgstr ""
5603
 
5604
- #: includes/install.php:360, includes/forms/template.php:1762, includes/forms/template.php:1757, includes/admin/forms/class-metabox-form-data.php:560, includes/admin/settings/class-settings-display.php:283, tests/unit-tests/tests-install.php:100
5605
  msgid "Agree to Terms?"
5606
  msgstr ""
5607
 
@@ -5765,7 +5761,7 @@ msgstr ""
5765
  msgid "No forms found in Trash."
5766
  msgstr ""
5767
 
5768
- #: includes/post-types.php:68, includes/post-types.php:124, includes/deprecated/deprecated-functions.php:68, includes/admin/donors/class-donor-table.php:296, includes/admin/forms/dashboard-columns.php:40, includes/admin/reports/class-donor-reports-table.php:220, includes/admin/reports/class-form-reports-table.php:123, includes/admin/upgrades/class-give-updates.php:225, includes/admin/tools/export/class-export-earnings.php:62, includes/admin/tools/export/pdf-reports.php:311, includes/admin/tools/import/class-give-import-donations.php:584, src/API/Endpoints/Reports/FormPerformance.php:99, src/API/Endpoints/Reports/FormPerformance.php:69
5769
  msgid "Donations"
5770
  msgstr ""
5771
 
@@ -6477,7 +6473,7 @@ msgstr ""
6477
  msgid "Thanks :)"
6478
  msgstr ""
6479
 
6480
- #: includes/admin/admin-pages.php:48, includes/admin/admin-pages.php:49, includes/admin/donors/class-donor-table.php:66, includes/admin/reports/class-donor-reports-table.php:68, includes/admin/tools/import/class-give-import-donations.php:590, src/API/Endpoints/Reports/Income.php:95, src/API/Endpoints/Reports/TotalDonors.php:82
6481
  msgid "Donors"
6482
  msgstr ""
6483
 
@@ -6547,20 +6543,20 @@ msgstr ""
6547
  msgid "Remove setting field"
6548
  msgstr ""
6549
 
6550
- #: includes/admin/class-admin-settings.php:776, includes/admin/give-metabox-functions.php:920
6551
  msgid "Add or Upload %s"
6552
  msgstr ""
6553
 
6554
- #: includes/admin/class-admin-settings.php:776, includes/admin/give-metabox-functions.php:920
6555
  msgid "File"
6556
  msgstr ""
6557
 
6558
- #: includes/admin/class-admin-settings.php:776, includes/admin/give-metabox-functions.php:920, src/Views/Form/Templates/Sequoia/optionConfig.php:51, src/Views/Form/Templates/Sequoia/optionConfig.php:152
6559
  msgid "Image"
6560
  msgstr ""
6561
 
6562
  #. translators: %s Title
6563
- #: includes/admin/class-admin-settings.php:974, includes/admin/give-metabox-functions.php:1012
6564
  msgid "Need Help? See docs on \"%s\""
6565
  msgstr ""
6566
 
@@ -6653,7 +6649,7 @@ msgstr ""
6653
  msgid "All"
6654
  msgstr ""
6655
 
6656
- #: includes/admin/class-give-html-elements.php:489, includes/forms/widget.php:262, includes/admin/forms/class-metabox-form-data.php:395, includes/admin/payments/view-payment-details.php:461
6657
  msgid "None"
6658
  msgstr ""
6659
 
@@ -6894,35 +6890,35 @@ msgstr[1] ""
6894
  msgid "Default"
6895
  msgstr ""
6896
 
6897
- #: includes/admin/give-metabox-functions.php:492
6898
  msgid "Minimum amount"
6899
  msgstr ""
6900
 
6901
- #: includes/admin/give-metabox-functions.php:492
6902
  msgid "Maximum amount"
6903
  msgstr ""
6904
 
6905
- #: includes/admin/give-metabox-functions.php:980
6906
  msgid "Global Default"
6907
  msgstr ""
6908
 
6909
- #: includes/admin/give-metabox-functions.php:1063, includes/emails/template.php:142
6910
  msgid "Send Test Email."
6911
  msgstr ""
6912
 
6913
- #: includes/admin/give-metabox-functions.php:1064, includes/emails/template.php:143
6914
  msgid "Send Test Email"
6915
  msgstr ""
6916
 
6917
- #: includes/admin/give-metabox-functions.php:1311, src/FormAPI/Form/Group.php:34
6918
  msgid "Group"
6919
  msgstr ""
6920
 
6921
- #: includes/admin/give-metabox-functions.php:1330, includes/admin/give-metabox-functions.php:1404, includes/admin/give-metabox-functions.php:1365
6922
  msgid "Remove Group"
6923
  msgstr ""
6924
 
6925
- #: includes/admin/give-metabox-functions.php:1444, src/FormAPI/Form/Group.php:35
6926
  msgid "Add Row"
6927
  msgstr ""
6928
 
@@ -7738,7 +7734,7 @@ msgstr ""
7738
  msgid "Already have an account?"
7739
  msgstr ""
7740
 
7741
- #: includes/forms/template.php:1416, includes/forms/template.php:1553, includes/admin/forms/class-metabox-form-data.php:397, includes/admin/shortcodes/shortcode-give-login.php:24, includes/admin/shortcodes/shortcode-give-login.php:25
7742
  msgid "Login"
7743
  msgstr ""
7744
 
@@ -7890,15 +7886,15 @@ msgstr ""
7890
  msgid "Floating Labels (optional):"
7891
  msgstr ""
7892
 
7893
- #: includes/forms/widget.php:245, includes/gateways/offline-donations.php:284, includes/admin/forms/class-metabox-form-data.php:323, includes/admin/forms/class-metabox-form-data.php:347, includes/admin/forms/class-metabox-form-data.php:361, includes/admin/forms/class-metabox-form-data.php:373, includes/admin/forms/class-metabox-form-data.php:547, src/Form/Template/Options.php:154
7894
  msgid "Global Option"
7895
  msgstr ""
7896
 
7897
- #: includes/forms/widget.php:246, includes/gateways/offline-donations.php:298, includes/admin/emails/class-email-setting-field.php:166, includes/admin/forms/class-metabox-form-data.php:170, includes/admin/forms/class-metabox-form-data.php:362, includes/admin/forms/class-metabox-form-data.php:374, includes/admin/forms/class-metabox-form-data.php:385, includes/admin/forms/class-metabox-form-data.php:434, includes/admin/forms/class-metabox-form-data.php:501, includes/admin/settings/class-settings-advanced.php:75, includes/admin/settings/class-settings-advanced.php:107, includes/admin/settings/class-settings-advanced.php:129, includes/admin/settings/class-settings-advanced.php:152, includes/admin/settings/class-settings-advanced.php:200, includes/admin/settings/class-settings-advanced.php:248, includes/admin/settings/class-settings-display.php:96, includes/admin/settings/class-settings-display.php:107, includes/admin/settings/class-settings-display.php:138, includes/admin/settings/class-settings-display.php:160, includes/admin/settings/class-settings-display.php:171, includes/admin/settings/class-settings-display.php:182, includes/admin/settings/class-settings-display.php:201, includes/admin/settings/class-settings-display.php:232, includes/admin/settings/class-settings-display.php:243, includes/admin/settings/class-settings-display.php:274, includes/admin/settings/class-settings-gateways.php:91, includes/admin/settings/class-settings-gateways.php:102, includes/admin/settings/class-settings-gateways.php:141, includes/admin/settings/class-settings-gateways.php:187, includes/admin/settings/class-settings-gateways.php:370, includes/admin/settings/class-settings-general.php:93, includes/admin/settings/class-settings-general.php:104, includes/admin/settings/class-settings-general.php:378, includes/admin/tools/import/class-give-import-donations.php:946, includes/admin/tools/import/class-give-import-donations.php:957, includes/admin/tools/import/class-give-import-donations.php:968, includes/admin/tools/views/html-admin-page-system-info.php:477, includes/admin/tools/views/html-admin-page-system-info.php:544, includes/admin/tools/views/html-admin-page-system-info.php:581, includes/admin/tools/views/html-admin-page-system-info.php:659, includes/admin/tools/views/html-admin-page-system-info.php:695, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:416, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:444, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:488, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:516, src/Form/Template/Options.php:155, src/Form/Template/Options.php:178, src/Views/Form/Templates/Sequoia/optionConfig.php:24, src/Views/Form/Templates/Sequoia/optionConfig.php:182
7898
  msgid "Enabled"
7899
  msgstr ""
7900
 
7901
- #: includes/forms/widget.php:247, includes/gateways/offline-donations.php:299, includes/admin/emails/class-email-setting-field.php:167, includes/admin/emails/class-email-setting-field.php:177, includes/admin/forms/class-metabox-form-data.php:171, includes/admin/forms/class-metabox-form-data.php:326, includes/admin/forms/class-metabox-form-data.php:350, includes/admin/forms/class-metabox-form-data.php:363, includes/admin/forms/class-metabox-form-data.php:375, includes/admin/forms/class-metabox-form-data.php:386, includes/admin/forms/class-metabox-form-data.php:435, includes/admin/forms/class-metabox-form-data.php:502, includes/admin/settings/class-settings-advanced.php:76, includes/admin/settings/class-settings-advanced.php:108, includes/admin/settings/class-settings-advanced.php:130, includes/admin/settings/class-settings-advanced.php:153, includes/admin/settings/class-settings-advanced.php:201, includes/admin/settings/class-settings-advanced.php:249, includes/admin/settings/class-settings-display.php:62, includes/admin/settings/class-settings-display.php:84, includes/admin/settings/class-settings-display.php:97, includes/admin/settings/class-settings-display.php:108, includes/admin/settings/class-settings-display.php:139, includes/admin/settings/class-settings-display.php:161, includes/admin/settings/class-settings-display.php:172, includes/admin/settings/class-settings-display.php:183, includes/admin/settings/class-settings-display.php:202, includes/admin/settings/class-settings-display.php:233, includes/admin/settings/class-settings-display.php:244, includes/admin/settings/class-settings-display.php:275, includes/admin/settings/class-settings-gateways.php:92, includes/admin/settings/class-settings-gateways.php:103, includes/admin/settings/class-settings-gateways.php:142, includes/admin/settings/class-settings-gateways.php:188, includes/admin/settings/class-settings-general.php:94, includes/admin/settings/class-settings-general.php:105, includes/admin/settings/class-settings-general.php:379, includes/admin/tools/import/class-give-import-donations.php:947, includes/admin/tools/import/class-give-import-donations.php:958, includes/admin/tools/import/class-give-import-donations.php:969, includes/admin/tools/views/html-admin-page-system-info.php:477, includes/admin/tools/views/html-admin-page-system-info.php:544, includes/admin/tools/views/html-admin-page-system-info.php:581, includes/admin/tools/views/html-admin-page-system-info.php:659, includes/admin/tools/views/html-admin-page-system-info.php:695, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:417, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:445, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:489, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:517, src/Form/Template/Options.php:156, src/Form/Template/Options.php:179, src/Views/Form/Templates/Sequoia/optionConfig.php:25, src/Views/Form/Templates/Sequoia/optionConfig.php:183
7902
  msgid "Disabled"
7903
  msgstr ""
7904
 
@@ -8008,7 +8004,7 @@ msgstr ""
8008
  msgid "New Offline Donation"
8009
  msgstr ""
8010
 
8011
- #: includes/gateways/offline-donations.php:276, includes/gateways/offline-donations.php:317, includes/admin/forms/class-metabox-form-data.php:1370, includes/admin/settings/class-settings-gateways.php:268
8012
  msgid "Offline Donations"
8013
  msgstr ""
8014
 
@@ -8016,11 +8012,11 @@ msgstr ""
8016
  msgid "Do you want to customize the donation instructions for this form?"
8017
  msgstr ""
8018
 
8019
- #: includes/gateways/offline-donations.php:285, includes/admin/emails/class-email-notifications.php:131, includes/admin/emails/class-email-setting-field.php:176, includes/admin/forms/class-metabox-form-data.php:548
8020
  msgid "Customize"
8021
  msgstr ""
8022
 
8023
- #: includes/gateways/offline-donations.php:286, includes/admin/forms/class-metabox-form-data.php:549
8024
  msgid "Disable"
8025
  msgstr ""
8026
 
@@ -9029,7 +9025,7 @@ msgstr ""
9029
  msgid "Text"
9030
  msgstr ""
9031
 
9032
- #: includes/admin/forms/class-metabox-form-data.php:306, includes/admin/settings/class-settings-display.php:336
9033
  msgid "Form Fields"
9034
  msgstr ""
9035
 
@@ -9049,11 +9045,11 @@ msgstr ""
9049
  msgid "Do you want to add a name title prefix dropdown field before the donor's first name field? This will display a dropdown with options such as Mrs, Miss, Ms, Sir, and Dr for donor to choose from."
9050
  msgstr ""
9051
 
9052
- #: includes/admin/forms/class-metabox-form-data.php:324, includes/admin/forms/class-metabox-form-data.php:348, includes/admin/settings/class-settings-display.php:63, includes/admin/settings/class-settings-display.php:85
9053
  msgid "Required"
9054
  msgstr ""
9055
 
9056
- #: includes/admin/forms/class-metabox-form-data.php:325, includes/admin/forms/class-metabox-form-data.php:349, includes/admin/settings/class-settings-display.php:64, includes/admin/settings/class-settings-display.php:86
9057
  msgid "Optional"
9058
  msgstr ""
9059
 
@@ -9065,175 +9061,175 @@ msgstr ""
9065
  msgid "Add or remove salutations from the dropdown using the field above."
9066
  msgstr ""
9067
 
9068
- #: includes/admin/forms/class-metabox-form-data.php:341
9069
  msgid "Company Donations"
9070
  msgstr ""
9071
 
9072
- #: includes/admin/forms/class-metabox-form-data.php:342
9073
  msgid "Do you want a Company field to appear after First Name and Last Name?"
9074
  msgstr ""
9075
 
9076
- #: includes/admin/forms/class-metabox-form-data.php:355, includes/admin/settings/class-settings-display.php:90
9077
  msgid "Anonymous Donations"
9078
  msgstr ""
9079
 
9080
- #: includes/admin/forms/class-metabox-form-data.php:356
9081
  msgid "Do you want to provide donors the ability mark themselves anonymous while giving? This will prevent their information from appearing publicly on your website but you will still receive their information for your records in the admin panel."
9082
  msgstr ""
9083
 
9084
- #: includes/admin/forms/class-metabox-form-data.php:367, includes/admin/settings/class-settings-display.php:101
9085
  msgid "Donor Comments"
9086
  msgstr ""
9087
 
9088
- #: includes/admin/forms/class-metabox-form-data.php:368, includes/admin/settings/class-settings-display.php:102
9089
  msgid "Do you want to provide donors the ability to add a comment to their donation? The comment will display publicly on the donor wall if they do not select to give anonymously."
9090
  msgstr ""
9091
 
9092
- #: includes/admin/forms/class-metabox-form-data.php:379
9093
  msgid "Guest Donations"
9094
  msgstr ""
9095
 
9096
- #: includes/admin/forms/class-metabox-form-data.php:380
9097
  msgid "Do you want to allow non-logged-in users to make donations?"
9098
  msgstr ""
9099
 
9100
- #: includes/admin/forms/class-metabox-form-data.php:390, includes/admin/forms/class-metabox-form-data.php:396
9101
  msgid "Registration"
9102
  msgstr ""
9103
 
9104
- #: includes/admin/forms/class-metabox-form-data.php:391
9105
  msgid "Display the registration and login forms in the payment section for non-logged-in users."
9106
  msgstr ""
9107
 
9108
- #: includes/admin/forms/class-metabox-form-data.php:398
9109
  msgid "Registration + Login"
9110
  msgstr ""
9111
 
9112
- #: includes/admin/forms/class-metabox-form-data.php:406, src/Views/Form/Templates/Legacy/optionConfig.php:9
9113
  msgid "Form Display"
9114
  msgstr ""
9115
 
9116
- #: includes/admin/forms/class-metabox-form-data.php:421, includes/admin/forms/class-metabox-form-data.php:428, includes/admin/forms/class-metabox-form-data.php:467, includes/admin/forms/class-metabox-form-data.php:518
9117
  msgid "Donation Goal"
9118
  msgstr ""
9119
 
9120
- #: includes/admin/forms/class-metabox-form-data.php:429
9121
  msgid "Do you want to set a donation goal for this form?"
9122
  msgstr ""
9123
 
9124
- #: includes/admin/forms/class-metabox-form-data.php:440
9125
  msgid "Goal Format"
9126
  msgstr ""
9127
 
9128
- #: includes/admin/forms/class-metabox-form-data.php:441
9129
  msgid "Do you want to display the total amount raised based on your monetary goal or a percentage? For instance, \"$500 of $1,000 raised\" or \"50% funded\" or \"1 of 5 donations\". You can also display a donor-based goal, such as \"100 of 1,000 donors have given\"."
9130
  msgstr ""
9131
 
9132
- #: includes/admin/forms/class-metabox-form-data.php:446
9133
  msgid "Amount Raised"
9134
  msgstr ""
9135
 
9136
- #: includes/admin/forms/class-metabox-form-data.php:447
9137
  msgid "Percentage Raised"
9138
  msgstr ""
9139
 
9140
- #: includes/admin/forms/class-metabox-form-data.php:448, includes/admin/shortcodes/shortcode-give-donation-grid.php:66, includes/admin/tools/export/pdf-reports.php:113
9141
  msgid "Number of Donations"
9142
  msgstr ""
9143
 
9144
- #: includes/admin/forms/class-metabox-form-data.php:449
9145
  msgid "Number of Donors"
9146
  msgstr ""
9147
 
9148
- #: includes/admin/forms/class-metabox-form-data.php:454
9149
  msgid "Goal Amount"
9150
  msgstr ""
9151
 
9152
- #: includes/admin/forms/class-metabox-form-data.php:455
9153
  msgid "This is the monetary goal amount you want to reach for this form."
9154
  msgstr ""
9155
 
9156
- #: includes/admin/forms/class-metabox-form-data.php:468
9157
  msgid "Set the total number of donations as a goal."
9158
  msgstr ""
9159
 
9160
- #: includes/admin/forms/class-metabox-form-data.php:477
9161
  msgid "Donor Goal"
9162
  msgstr ""
9163
 
9164
- #: includes/admin/forms/class-metabox-form-data.php:478
9165
  msgid "Set the total number of donors as a goal."
9166
  msgstr ""
9167
 
9168
- #: includes/admin/forms/class-metabox-form-data.php:486
9169
  msgid "Progress Bar Color"
9170
  msgstr ""
9171
 
9172
- #: includes/admin/forms/class-metabox-form-data.php:487
9173
  msgid "Customize the color of the goal progress bar."
9174
  msgstr ""
9175
 
9176
- #: includes/admin/forms/class-metabox-form-data.php:495
9177
  msgid "Close Form"
9178
  msgstr ""
9179
 
9180
- #: includes/admin/forms/class-metabox-form-data.php:496
9181
  msgid "Do you want to close the donation forms and stop accepting donations once this goal has been met?"
9182
  msgstr ""
9183
 
9184
- #: includes/admin/forms/class-metabox-form-data.php:507
9185
  msgid "Goal Achieved Message"
9186
  msgstr ""
9187
 
9188
- #: includes/admin/forms/class-metabox-form-data.php:508
9189
  msgid "Do you want to display a custom message when the goal is closed?"
9190
  msgstr ""
9191
 
9192
- #: includes/admin/forms/class-metabox-form-data.php:511
9193
  msgid "Thank you to all our donors, we have met our fundraising goal."
9194
  msgstr ""
9195
 
9196
- #: includes/admin/forms/class-metabox-form-data.php:533
9197
  msgid "Terms & Conditions"
9198
  msgstr ""
9199
 
9200
- #: includes/admin/forms/class-metabox-form-data.php:540, includes/admin/forms/class-metabox-form-data.php:577, includes/admin/settings/class-settings-display.php:268, includes/admin/settings/class-settings-display.php:339
9201
  msgid "Terms and Conditions"
9202
  msgstr ""
9203
 
9204
- #: includes/admin/forms/class-metabox-form-data.php:541
9205
  msgid "Do you want to require the donor to accept terms prior to being able to complete their donation?"
9206
  msgstr ""
9207
 
9208
- #: includes/admin/forms/class-metabox-form-data.php:556
9209
  msgid "Agreement Label"
9210
  msgstr ""
9211
 
9212
- #: includes/admin/forms/class-metabox-form-data.php:557
9213
  msgid "The label shown next to the agree to terms check box. Add your own to customize or leave blank to use the default text placeholder."
9214
  msgstr ""
9215
 
9216
- #: includes/admin/forms/class-metabox-form-data.php:567, includes/admin/settings/class-settings-display.php:289
9217
  msgid "Agreement Text"
9218
  msgstr ""
9219
 
9220
- #: includes/admin/forms/class-metabox-form-data.php:568
9221
  msgid "This is the actual text which the user will have to agree to in order to make a donation."
9222
  msgstr ""
9223
 
9224
- #: includes/admin/forms/class-metabox-form-data.php:616
9225
  msgid "Goal Statistics"
9226
  msgstr ""
9227
 
9228
- #: includes/admin/forms/class-metabox-form-data.php:833
9229
  msgid "Activate the <a href=\"%1$s\" title=\"%2$s\" target=\"_blank\">Recurring Donations add-on</a> and provide your donors with flexible subscription giving options."
9230
  msgstr ""
9231
 
9232
- #: includes/admin/forms/class-metabox-form-data.php:835
9233
  msgid "Click to view the Recurring Donations add-on"
9234
  msgstr ""
9235
 
9236
- #: includes/admin/forms/class-metabox-form-data.php:838
9237
  msgid "View Add-on"
9238
  msgstr ""
9239
 
@@ -9309,7 +9305,7 @@ msgstr ""
9309
  msgid "Preapproval Pending"
9310
  msgstr ""
9311
 
9312
- #: includes/admin/payments/class-payments-table.php:412, includes/admin/settings/class-settings-gateways.php:79, src/API/Endpoints/Reports/TopDonors.php:42, templates/shortcode-receipt.php:82
9313
  msgid "Donation"
9314
  msgid_plural "Donations"
9315
  msgstr[0] ""
@@ -9861,135 +9857,135 @@ msgstr ""
9861
  msgid "Do you want a Name Title Prefix field to appear before First Name?"
9862
  msgstr ""
9863
 
9864
- #: includes/admin/settings/class-settings-display.php:78
9865
  msgid "Company Field"
9866
  msgstr ""
9867
 
9868
- #: includes/admin/settings/class-settings-display.php:79
9869
  msgid "Do you want a Company field to appear after First Name and Last Name fields on all donation forms? You can enable this option per form as well."
9870
  msgstr ""
9871
 
9872
- #: includes/admin/settings/class-settings-display.php:91
9873
  msgid "Do you want to provide donors the ability mark themselves anonymous while giving. This will prevent their information from appearing publicly on your website but you will still receive their information for your records in the admin panel."
9874
  msgstr ""
9875
 
9876
- #: includes/admin/settings/class-settings-display.php:112
9877
  msgid "Display Settings Docs Link"
9878
  msgstr ""
9879
 
9880
- #: includes/admin/settings/class-settings-display.php:115
9881
  msgid "Display Options Settings"
9882
  msgstr ""
9883
 
9884
- #: includes/admin/settings/class-settings-display.php:132
9885
  msgid "Form Single Views"
9886
  msgstr ""
9887
 
9888
- #: includes/admin/settings/class-settings-display.php:133
9889
  msgid "By default, all donation forms have single views enabled. This creates a specific URL on your website for that form. Selecting \"Disabled\" will prevent the single view from being publicly displayed. Note: if selecting \"Disabled\", to display each form you will need to embed it using a block, shortcode, or widget."
9890
  msgstr ""
9891
 
9892
- #: includes/admin/settings/class-settings-display.php:143
9893
  msgid "Form Archives"
9894
  msgstr ""
9895
 
9896
- #: includes/admin/settings/class-settings-display.php:146
9897
  msgid "Archive pages list all the donation forms you have created. This option will disable only the form's archive page(s). The form's single view will still be displayed. Note: you will need to <a href=\"%s\">refresh your permalinks</a> after this option has been enabled."
9898
  msgstr ""
9899
 
9900
- #: includes/admin/settings/class-settings-display.php:165
9901
  msgid "Form Excerpts"
9902
  msgstr ""
9903
 
9904
- #: includes/admin/settings/class-settings-display.php:166
9905
  msgid "The excerpt is an optional summary or description of a donation form; in short, a summary as to why the user should give."
9906
  msgstr ""
9907
 
9908
- #: includes/admin/settings/class-settings-display.php:176
9909
  msgid "Form Featured Image"
9910
  msgstr ""
9911
 
9912
- #: includes/admin/settings/class-settings-display.php:177
9913
  msgid "If you do not wish to use the featured image functionality you can disable it using this option and it will not be displayed for single donation forms."
9914
  msgstr ""
9915
 
9916
- #: includes/admin/settings/class-settings-display.php:187
9917
  msgid "Featured Image Size"
9918
  msgstr ""
9919
 
9920
- #: includes/admin/settings/class-settings-display.php:188
9921
  msgid "The Featured Image is an image that is chosen as the representative image for a donation form. Some themes may have custom featured image sizes. Please select the size you would like to display for your single donation form's featured image."
9922
  msgstr ""
9923
 
9924
- #: includes/admin/settings/class-settings-display.php:195
9925
  msgid "Single Form Sidebar"
9926
  msgstr ""
9927
 
9928
- #: includes/admin/settings/class-settings-display.php:196
9929
  msgid "The sidebar allows you to add additional widgets to the GiveWP single form view. If you don't plan on using the sidebar you may disable it with this option."
9930
  msgstr ""
9931
 
9932
- #: includes/admin/settings/class-settings-display.php:206
9933
  msgid "Post Types Docs Link"
9934
  msgstr ""
9935
 
9936
- #: includes/admin/settings/class-settings-display.php:209
9937
  msgid "Post Types Settings"
9938
  msgstr ""
9939
 
9940
- #: includes/admin/settings/class-settings-display.php:226
9941
  msgid "Form Categories"
9942
  msgstr ""
9943
 
9944
- #: includes/admin/settings/class-settings-display.php:227
9945
  msgid "Enable Categories for all GiveWP forms."
9946
  msgstr ""
9947
 
9948
- #: includes/admin/settings/class-settings-display.php:237
9949
  msgid "Form Tags"
9950
  msgstr ""
9951
 
9952
- #: includes/admin/settings/class-settings-display.php:238
9953
  msgid "Enable Tags for all GiveWP forms."
9954
  msgstr ""
9955
 
9956
- #: includes/admin/settings/class-settings-display.php:248
9957
  msgid "Taxonomies Docs Link"
9958
  msgstr ""
9959
 
9960
- #: includes/admin/settings/class-settings-display.php:251
9961
  msgid "Taxonomies Settings"
9962
  msgstr ""
9963
 
9964
- #: includes/admin/settings/class-settings-display.php:269
9965
  msgid "Would you like donors to require that donors agree to your terms when donating? Note: You can enable/disable this option and customize the terms per form as well."
9966
  msgstr ""
9967
 
9968
- #: includes/admin/settings/class-settings-display.php:279
9969
  msgid "Agree to Terms Label"
9970
  msgstr ""
9971
 
9972
- #: includes/admin/settings/class-settings-display.php:280
9973
  msgid "The label shown next to the agree to terms check box. Customize it here or leave blank to use the default placeholder text. Note: You can customize the label per form."
9974
  msgstr ""
9975
 
9976
- #: includes/admin/settings/class-settings-display.php:290
9977
  msgid "This is the actual text which the user will be asked to agree to in order to donate. Note: You can customize the content per form as needed."
9978
  msgstr ""
9979
 
9980
- #: includes/admin/settings/class-settings-display.php:295
9981
  msgid "Terms and Conditions Docs Link"
9982
  msgstr ""
9983
 
9984
- #: includes/admin/settings/class-settings-display.php:298
9985
  msgid "Terms and Conditions Settings"
9986
  msgstr ""
9987
 
9988
- #: includes/admin/settings/class-settings-display.php:337
9989
  msgid "Post Types"
9990
  msgstr ""
9991
 
9992
- #: includes/admin/settings/class-settings-display.php:338
9993
  msgid "Taxonomies"
9994
  msgstr ""
9995
 
@@ -13788,47 +13784,49 @@ msgstr ""
13788
  msgid "Redirecting..."
13789
  msgstr ""
13790
 
13791
- #: src/API/Endpoints/Reports/AverageDonation.php:93
13792
- msgid "Avg Donation"
13793
  msgstr ""
13794
 
13795
- #: src/API/Endpoints/Reports/AverageDonation.php:106, src/API/Endpoints/Reports/TotalDonors.php:96, src/API/Endpoints/Reports/TotalIncome.php:102
13796
  msgid "VS previous"
13797
  msgstr ""
13798
 
13799
- #: src/API/Endpoints/Reports/AverageDonation.php:106, src/API/Endpoints/Reports/TotalDonors.php:96, src/API/Endpoints/Reports/TotalIncome.php:102, src/API/Endpoints/Reports/TotalRefunds.php:98
13800
  msgid "days"
13801
  msgstr ""
13802
 
13803
- #: src/API/Endpoints/Reports/AverageDonation.php:106, src/API/Endpoints/Reports/TotalDonors.php:96, src/API/Endpoints/Reports/TotalIncome.php:102
13804
  msgid "VS previous day"
13805
  msgstr ""
13806
 
13807
- #: src/API/Endpoints/Reports/Endpoint.php:200
13808
  msgid "You cannot view the reports resource."
13809
  msgstr ""
13810
 
13811
- #: src/API/Endpoints/Reports/Endpoint.php:242
13812
  msgid "The data for the report."
13813
  msgstr ""
13814
 
13815
- #: src/API/Endpoints/Reports/PaymentMethods.php:69, src/API/Endpoints/Reports/PaymentStatuses.php:79, src/API/Endpoints/Reports/PaymentStatuses.php:84, src/API/Endpoints/Reports/PaymentStatuses.php:89, src/API/Endpoints/Reports/PaymentStatuses.php:94, src/API/Endpoints/Reports/PaymentStatuses.php:99, src/API/Endpoints/Reports/PaymentStatuses.php:104
13816
  msgid "Payments"
13817
  msgstr ""
13818
 
13819
- #: src/API/Endpoints/Reports/TotalDonors.php:83
 
 
 
 
 
 
13820
  msgid "Total Donors"
13821
  msgstr ""
13822
 
13823
- #: src/API/Endpoints/Reports/TotalIncome.php:89
13824
  msgid "Total Income"
13825
  msgstr ""
13826
 
13827
- #: src/API/Endpoints/Reports/TotalRefunds.php:84
13828
- msgid "Refunds"
13829
- msgstr ""
13830
-
13831
- #: src/API/Endpoints/Reports/TotalRefunds.php:85
13832
  msgid "Total Refunds"
13833
  msgstr ""
13834
 
@@ -14057,11 +14055,11 @@ msgid "A great big thank you!"
14057
  msgstr ""
14058
 
14059
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:169
14060
- msgid "The description is displayed directly below the main headline and should be 1-2 sentences. You may use any of the available template tags within this message."
14061
  msgstr ""
14062
 
14063
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:172, src/Views/Form/Templates/Sequoia/optionConfig.php:174
14064
- msgid "{name}, you contribution means a lot and will be put to good use making a difference. We’ve sent your donation receipt to {donor_email}. "
14065
  msgstr ""
14066
 
14067
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:177
@@ -14100,7 +14098,7 @@ msgstr ""
14100
  msgid "Process Donation"
14101
  msgstr ""
14102
 
14103
- #: src/Views/Form/Templates/Sequoia/Sequoia.php:279
14104
  msgid "Multi-Step Donation Form"
14105
  msgstr ""
14106
 
63
  msgid "Need help? Learn more about %1$sDonors%2$s."
64
  msgstr ""
65
 
66
+ #: give.php:297
 
 
 
 
67
  msgid "Your site could be faster and more secure with a newer PHP version."
68
  msgstr ""
69
 
70
+ #: give.php:301
71
  msgid "Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and GiveWP are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice."
72
  msgstr ""
73
 
74
+ #: give.php:305
75
  msgid "Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site."
76
  msgstr ""
77
 
78
+ #: give.php:309
79
  msgid "To which version should I update?"
80
  msgstr ""
81
 
82
+ #: give.php:310
83
  msgid "You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run."
84
  msgstr ""
85
 
86
+ #: give.php:314
87
  msgid "Can't update? Ask your host!"
88
  msgstr ""
89
 
90
+ #: give.php:316
91
  msgid "If you cannot upgrade your PHP version yourself, you can send an email to your host. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of the recommended %1$sWordPress hosting partners%2$s."
92
  msgstr ""
93
 
94
+ #: give.php:349
95
  msgid "<strong>Attention:</strong> GiveWP 2.5.0+ requires the latest version of the Recurring Donations add-on to process payments properly with Stripe. Please update to the latest version add-on to resolve compatibility issues. If your license is active, you should see the update available in WordPress. Otherwise, you can access the latest version by <a href=\"%1$s\" target=\"_blank\">logging into your account</a> and visiting <a href=\"%1$s\" target=\"_blank\">your downloads</a> page on the GiveWP website."
96
  msgstr ""
97
 
5597
  msgid "We're unable to recognize your session. Please refresh the screen to try again; otherwise contact your website administrator for assistance."
5598
  msgstr ""
5599
 
5600
+ #: includes/install.php:360, includes/forms/template.php:1762, includes/forms/template.php:1757, includes/admin/forms/class-metabox-form-data.php:561, includes/admin/settings/class-settings-display.php:284, tests/unit-tests/tests-install.php:100
5601
  msgid "Agree to Terms?"
5602
  msgstr ""
5603
 
5761
  msgid "No forms found in Trash."
5762
  msgstr ""
5763
 
5764
+ #: includes/post-types.php:68, includes/post-types.php:124, includes/deprecated/deprecated-functions.php:68, includes/admin/donors/class-donor-table.php:296, includes/admin/forms/dashboard-columns.php:40, includes/admin/reports/class-donor-reports-table.php:220, includes/admin/reports/class-form-reports-table.php:123, includes/admin/upgrades/class-give-updates.php:225, includes/admin/tools/export/class-export-earnings.php:62, includes/admin/tools/export/pdf-reports.php:311, includes/admin/tools/import/class-give-import-donations.php:584, src/API/Endpoints/Reports/FormPerformance.php:101, src/API/Endpoints/Reports/FormPerformance.php:70
5765
  msgid "Donations"
5766
  msgstr ""
5767
 
6473
  msgid "Thanks :)"
6474
  msgstr ""
6475
 
6476
+ #: includes/admin/admin-pages.php:48, includes/admin/admin-pages.php:49, includes/admin/donors/class-donor-table.php:66, includes/admin/reports/class-donor-reports-table.php:68, includes/admin/tools/import/class-give-import-donations.php:590, src/API/Endpoints/Reports/Income.php:96
6477
  msgid "Donors"
6478
  msgstr ""
6479
 
6543
  msgid "Remove setting field"
6544
  msgstr ""
6545
 
6546
+ #: includes/admin/class-admin-settings.php:776, includes/admin/give-metabox-functions.php:919
6547
  msgid "Add or Upload %s"
6548
  msgstr ""
6549
 
6550
+ #: includes/admin/class-admin-settings.php:776, includes/admin/give-metabox-functions.php:919
6551
  msgid "File"
6552
  msgstr ""
6553
 
6554
+ #: includes/admin/class-admin-settings.php:776, includes/admin/give-metabox-functions.php:919, src/Views/Form/Templates/Sequoia/optionConfig.php:51, src/Views/Form/Templates/Sequoia/optionConfig.php:152
6555
  msgid "Image"
6556
  msgstr ""
6557
 
6558
  #. translators: %s Title
6559
+ #: includes/admin/class-admin-settings.php:974, includes/admin/give-metabox-functions.php:1011
6560
  msgid "Need Help? See docs on \"%s\""
6561
  msgstr ""
6562
 
6649
  msgid "All"
6650
  msgstr ""
6651
 
6652
+ #: includes/admin/class-give-html-elements.php:489, includes/forms/widget.php:262, includes/admin/forms/class-metabox-form-data.php:396, includes/admin/payments/view-payment-details.php:461
6653
  msgid "None"
6654
  msgstr ""
6655
 
6890
  msgid "Default"
6891
  msgstr ""
6892
 
6893
+ #: includes/admin/give-metabox-functions.php:491
6894
  msgid "Minimum amount"
6895
  msgstr ""
6896
 
6897
+ #: includes/admin/give-metabox-functions.php:491
6898
  msgid "Maximum amount"
6899
  msgstr ""
6900
 
6901
+ #: includes/admin/give-metabox-functions.php:979
6902
  msgid "Global Default"
6903
  msgstr ""
6904
 
6905
+ #: includes/admin/give-metabox-functions.php:1062, includes/emails/template.php:142
6906
  msgid "Send Test Email."
6907
  msgstr ""
6908
 
6909
+ #: includes/admin/give-metabox-functions.php:1063, includes/emails/template.php:143
6910
  msgid "Send Test Email"
6911
  msgstr ""
6912
 
6913
+ #: includes/admin/give-metabox-functions.php:1310, src/FormAPI/Form/Group.php:34
6914
  msgid "Group"
6915
  msgstr ""
6916
 
6917
+ #: includes/admin/give-metabox-functions.php:1329, includes/admin/give-metabox-functions.php:1403, includes/admin/give-metabox-functions.php:1364
6918
  msgid "Remove Group"
6919
  msgstr ""
6920
 
6921
+ #: includes/admin/give-metabox-functions.php:1443, src/FormAPI/Form/Group.php:35
6922
  msgid "Add Row"
6923
  msgstr ""
6924
 
7734
  msgid "Already have an account?"
7735
  msgstr ""
7736
 
7737
+ #: includes/forms/template.php:1416, includes/forms/template.php:1553, includes/admin/forms/class-metabox-form-data.php:398, includes/admin/shortcodes/shortcode-give-login.php:24, includes/admin/shortcodes/shortcode-give-login.php:25
7738
  msgid "Login"
7739
  msgstr ""
7740
 
7886
  msgid "Floating Labels (optional):"
7887
  msgstr ""
7888
 
7889
+ #: includes/forms/widget.php:245, includes/gateways/offline-donations.php:284, includes/admin/forms/class-metabox-form-data.php:323, includes/admin/forms/class-metabox-form-data.php:348, includes/admin/forms/class-metabox-form-data.php:362, includes/admin/forms/class-metabox-form-data.php:374, includes/admin/forms/class-metabox-form-data.php:548, src/Form/Template/Options.php:154
7890
  msgid "Global Option"
7891
  msgstr ""
7892
 
7893
+ #: includes/forms/widget.php:246, includes/gateways/offline-donations.php:298, includes/admin/emails/class-email-setting-field.php:166, includes/admin/forms/class-metabox-form-data.php:170, includes/admin/forms/class-metabox-form-data.php:363, includes/admin/forms/class-metabox-form-data.php:375, includes/admin/forms/class-metabox-form-data.php:386, includes/admin/forms/class-metabox-form-data.php:435, includes/admin/forms/class-metabox-form-data.php:502, includes/admin/settings/class-settings-advanced.php:75, includes/admin/settings/class-settings-advanced.php:107, includes/admin/settings/class-settings-advanced.php:129, includes/admin/settings/class-settings-advanced.php:152, includes/admin/settings/class-settings-advanced.php:200, includes/admin/settings/class-settings-advanced.php:248, includes/admin/settings/class-settings-display.php:97, includes/admin/settings/class-settings-display.php:108, includes/admin/settings/class-settings-display.php:139, includes/admin/settings/class-settings-display.php:161, includes/admin/settings/class-settings-display.php:172, includes/admin/settings/class-settings-display.php:183, includes/admin/settings/class-settings-display.php:202, includes/admin/settings/class-settings-display.php:233, includes/admin/settings/class-settings-display.php:244, includes/admin/settings/class-settings-display.php:275, includes/admin/settings/class-settings-gateways.php:91, includes/admin/settings/class-settings-gateways.php:102, includes/admin/settings/class-settings-gateways.php:141, includes/admin/settings/class-settings-gateways.php:187, includes/admin/settings/class-settings-gateways.php:370, includes/admin/settings/class-settings-general.php:93, includes/admin/settings/class-settings-general.php:104, includes/admin/settings/class-settings-general.php:378, includes/admin/tools/import/class-give-import-donations.php:946, includes/admin/tools/import/class-give-import-donations.php:957, includes/admin/tools/import/class-give-import-donations.php:968, includes/admin/tools/views/html-admin-page-system-info.php:477, includes/admin/tools/views/html-admin-page-system-info.php:544, includes/admin/tools/views/html-admin-page-system-info.php:581, includes/admin/tools/views/html-admin-page-system-info.php:659, includes/admin/tools/views/html-admin-page-system-info.php:695, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:416, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:444, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:488, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:516, src/Form/Template/Options.php:155, src/Form/Template/Options.php:178, src/Views/Form/Templates/Sequoia/optionConfig.php:24, src/Views/Form/Templates/Sequoia/optionConfig.php:182
7894
  msgid "Enabled"
7895
  msgstr ""
7896
 
7897
+ #: includes/forms/widget.php:247, includes/gateways/offline-donations.php:299, includes/admin/emails/class-email-setting-field.php:167, includes/admin/emails/class-email-setting-field.php:177, includes/admin/forms/class-metabox-form-data.php:171, includes/admin/forms/class-metabox-form-data.php:326, includes/admin/forms/class-metabox-form-data.php:351, includes/admin/forms/class-metabox-form-data.php:364, includes/admin/forms/class-metabox-form-data.php:376, includes/admin/forms/class-metabox-form-data.php:387, includes/admin/forms/class-metabox-form-data.php:436, includes/admin/forms/class-metabox-form-data.php:503, includes/admin/settings/class-settings-advanced.php:76, includes/admin/settings/class-settings-advanced.php:108, includes/admin/settings/class-settings-advanced.php:130, includes/admin/settings/class-settings-advanced.php:153, includes/admin/settings/class-settings-advanced.php:201, includes/admin/settings/class-settings-advanced.php:249, includes/admin/settings/class-settings-display.php:62, includes/admin/settings/class-settings-display.php:85, includes/admin/settings/class-settings-display.php:98, includes/admin/settings/class-settings-display.php:109, includes/admin/settings/class-settings-display.php:140, includes/admin/settings/class-settings-display.php:162, includes/admin/settings/class-settings-display.php:173, includes/admin/settings/class-settings-display.php:184, includes/admin/settings/class-settings-display.php:203, includes/admin/settings/class-settings-display.php:234, includes/admin/settings/class-settings-display.php:245, includes/admin/settings/class-settings-display.php:276, includes/admin/settings/class-settings-gateways.php:92, includes/admin/settings/class-settings-gateways.php:103, includes/admin/settings/class-settings-gateways.php:142, includes/admin/settings/class-settings-gateways.php:188, includes/admin/settings/class-settings-general.php:94, includes/admin/settings/class-settings-general.php:105, includes/admin/settings/class-settings-general.php:379, includes/admin/tools/import/class-give-import-donations.php:947, includes/admin/tools/import/class-give-import-donations.php:958, includes/admin/tools/import/class-give-import-donations.php:969, includes/admin/tools/views/html-admin-page-system-info.php:477, includes/admin/tools/views/html-admin-page-system-info.php:544, includes/admin/tools/views/html-admin-page-system-info.php:581, includes/admin/tools/views/html-admin-page-system-info.php:659, includes/admin/tools/views/html-admin-page-system-info.php:695, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:417, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:445, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:489, includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:517, src/Form/Template/Options.php:156, src/Form/Template/Options.php:179, src/Views/Form/Templates/Sequoia/optionConfig.php:25, src/Views/Form/Templates/Sequoia/optionConfig.php:183
7898
  msgid "Disabled"
7899
  msgstr ""
7900
 
8004
  msgid "New Offline Donation"
8005
  msgstr ""
8006
 
8007
+ #: includes/gateways/offline-donations.php:276, includes/gateways/offline-donations.php:317, includes/admin/forms/class-metabox-form-data.php:1371, includes/admin/settings/class-settings-gateways.php:268
8008
  msgid "Offline Donations"
8009
  msgstr ""
8010
 
8012
  msgid "Do you want to customize the donation instructions for this form?"
8013
  msgstr ""
8014
 
8015
+ #: includes/gateways/offline-donations.php:285, includes/admin/emails/class-email-notifications.php:131, includes/admin/emails/class-email-setting-field.php:176, includes/admin/forms/class-metabox-form-data.php:549
8016
  msgid "Customize"
8017
  msgstr ""
8018
 
8019
+ #: includes/gateways/offline-donations.php:286, includes/admin/forms/class-metabox-form-data.php:550
8020
  msgid "Disable"
8021
  msgstr ""
8022
 
9025
  msgid "Text"
9026
  msgstr ""
9027
 
9028
+ #: includes/admin/forms/class-metabox-form-data.php:306, includes/admin/settings/class-settings-display.php:337
9029
  msgid "Form Fields"
9030
  msgstr ""
9031
 
9045
  msgid "Do you want to add a name title prefix dropdown field before the donor's first name field? This will display a dropdown with options such as Mrs, Miss, Ms, Sir, and Dr for donor to choose from."
9046
  msgstr ""
9047
 
9048
+ #: includes/admin/forms/class-metabox-form-data.php:324, includes/admin/forms/class-metabox-form-data.php:349, includes/admin/settings/class-settings-display.php:63, includes/admin/settings/class-settings-display.php:86
9049
  msgid "Required"
9050
  msgstr ""
9051
 
9052
+ #: includes/admin/forms/class-metabox-form-data.php:325, includes/admin/forms/class-metabox-form-data.php:350, includes/admin/settings/class-settings-display.php:64, includes/admin/settings/class-settings-display.php:87
9053
  msgid "Optional"
9054
  msgstr ""
9055
 
9061
  msgid "Add or remove salutations from the dropdown using the field above."
9062
  msgstr ""
9063
 
9064
+ #: includes/admin/forms/class-metabox-form-data.php:342
9065
  msgid "Company Donations"
9066
  msgstr ""
9067
 
9068
+ #: includes/admin/forms/class-metabox-form-data.php:343
9069
  msgid "Do you want a Company field to appear after First Name and Last Name?"
9070
  msgstr ""
9071
 
9072
+ #: includes/admin/forms/class-metabox-form-data.php:356, includes/admin/settings/class-settings-display.php:91
9073
  msgid "Anonymous Donations"
9074
  msgstr ""
9075
 
9076
+ #: includes/admin/forms/class-metabox-form-data.php:357
9077
  msgid "Do you want to provide donors the ability mark themselves anonymous while giving? This will prevent their information from appearing publicly on your website but you will still receive their information for your records in the admin panel."
9078
  msgstr ""
9079
 
9080
+ #: includes/admin/forms/class-metabox-form-data.php:368, includes/admin/settings/class-settings-display.php:102
9081
  msgid "Donor Comments"
9082
  msgstr ""
9083
 
9084
+ #: includes/admin/forms/class-metabox-form-data.php:369, includes/admin/settings/class-settings-display.php:103
9085
  msgid "Do you want to provide donors the ability to add a comment to their donation? The comment will display publicly on the donor wall if they do not select to give anonymously."
9086
  msgstr ""
9087
 
9088
+ #: includes/admin/forms/class-metabox-form-data.php:380
9089
  msgid "Guest Donations"
9090
  msgstr ""
9091
 
9092
+ #: includes/admin/forms/class-metabox-form-data.php:381
9093
  msgid "Do you want to allow non-logged-in users to make donations?"
9094
  msgstr ""
9095
 
9096
+ #: includes/admin/forms/class-metabox-form-data.php:391, includes/admin/forms/class-metabox-form-data.php:397
9097
  msgid "Registration"
9098
  msgstr ""
9099
 
9100
+ #: includes/admin/forms/class-metabox-form-data.php:392
9101
  msgid "Display the registration and login forms in the payment section for non-logged-in users."
9102
  msgstr ""
9103
 
9104
+ #: includes/admin/forms/class-metabox-form-data.php:399
9105
  msgid "Registration + Login"
9106
  msgstr ""
9107
 
9108
+ #: includes/admin/forms/class-metabox-form-data.php:407, src/Views/Form/Templates/Legacy/optionConfig.php:9
9109
  msgid "Form Display"
9110
  msgstr ""
9111
 
9112
+ #: includes/admin/forms/class-metabox-form-data.php:422, includes/admin/forms/class-metabox-form-data.php:429, includes/admin/forms/class-metabox-form-data.php:468, includes/admin/forms/class-metabox-form-data.php:519
9113
  msgid "Donation Goal"
9114
  msgstr ""
9115
 
9116
+ #: includes/admin/forms/class-metabox-form-data.php:430
9117
  msgid "Do you want to set a donation goal for this form?"
9118
  msgstr ""
9119
 
9120
+ #: includes/admin/forms/class-metabox-form-data.php:441
9121
  msgid "Goal Format"
9122
  msgstr ""
9123
 
9124
+ #: includes/admin/forms/class-metabox-form-data.php:442
9125
  msgid "Do you want to display the total amount raised based on your monetary goal or a percentage? For instance, \"$500 of $1,000 raised\" or \"50% funded\" or \"1 of 5 donations\". You can also display a donor-based goal, such as \"100 of 1,000 donors have given\"."
9126
  msgstr ""
9127
 
9128
+ #: includes/admin/forms/class-metabox-form-data.php:447
9129
  msgid "Amount Raised"
9130
  msgstr ""
9131
 
9132
+ #: includes/admin/forms/class-metabox-form-data.php:448
9133
  msgid "Percentage Raised"
9134
  msgstr ""
9135
 
9136
+ #: includes/admin/forms/class-metabox-form-data.php:449, includes/admin/shortcodes/shortcode-give-donation-grid.php:66, includes/admin/tools/export/pdf-reports.php:113
9137
  msgid "Number of Donations"
9138
  msgstr ""
9139
 
9140
+ #: includes/admin/forms/class-metabox-form-data.php:450
9141
  msgid "Number of Donors"
9142
  msgstr ""
9143
 
9144
+ #: includes/admin/forms/class-metabox-form-data.php:455
9145
  msgid "Goal Amount"
9146
  msgstr ""
9147
 
9148
+ #: includes/admin/forms/class-metabox-form-data.php:456
9149
  msgid "This is the monetary goal amount you want to reach for this form."
9150
  msgstr ""
9151
 
9152
+ #: includes/admin/forms/class-metabox-form-data.php:469
9153
  msgid "Set the total number of donations as a goal."
9154
  msgstr ""
9155
 
9156
+ #: includes/admin/forms/class-metabox-form-data.php:478
9157
  msgid "Donor Goal"
9158
  msgstr ""
9159
 
9160
+ #: includes/admin/forms/class-metabox-form-data.php:479
9161
  msgid "Set the total number of donors as a goal."
9162
  msgstr ""
9163
 
9164
+ #: includes/admin/forms/class-metabox-form-data.php:487
9165
  msgid "Progress Bar Color"
9166
  msgstr ""
9167
 
9168
+ #: includes/admin/forms/class-metabox-form-data.php:488
9169
  msgid "Customize the color of the goal progress bar."
9170
  msgstr ""
9171
 
9172
+ #: includes/admin/forms/class-metabox-form-data.php:496
9173
  msgid "Close Form"
9174
  msgstr ""
9175
 
9176
+ #: includes/admin/forms/class-metabox-form-data.php:497
9177
  msgid "Do you want to close the donation forms and stop accepting donations once this goal has been met?"
9178
  msgstr ""
9179
 
9180
+ #: includes/admin/forms/class-metabox-form-data.php:508
9181
  msgid "Goal Achieved Message"
9182
  msgstr ""
9183
 
9184
+ #: includes/admin/forms/class-metabox-form-data.php:509
9185
  msgid "Do you want to display a custom message when the goal is closed?"
9186
  msgstr ""
9187
 
9188
+ #: includes/admin/forms/class-metabox-form-data.php:512
9189
  msgid "Thank you to all our donors, we have met our fundraising goal."
9190
  msgstr ""
9191
 
9192
+ #: includes/admin/forms/class-metabox-form-data.php:534
9193
  msgid "Terms & Conditions"
9194
  msgstr ""
9195
 
9196
+ #: includes/admin/forms/class-metabox-form-data.php:541, includes/admin/forms/class-metabox-form-data.php:578, includes/admin/settings/class-settings-display.php:269, includes/admin/settings/class-settings-display.php:340
9197
  msgid "Terms and Conditions"
9198
  msgstr ""
9199
 
9200
+ #: includes/admin/forms/class-metabox-form-data.php:542
9201
  msgid "Do you want to require the donor to accept terms prior to being able to complete their donation?"
9202
  msgstr ""
9203
 
9204
+ #: includes/admin/forms/class-metabox-form-data.php:557
9205
  msgid "Agreement Label"
9206
  msgstr ""
9207
 
9208
+ #: includes/admin/forms/class-metabox-form-data.php:558
9209
  msgid "The label shown next to the agree to terms check box. Add your own to customize or leave blank to use the default text placeholder."
9210
  msgstr ""
9211
 
9212
+ #: includes/admin/forms/class-metabox-form-data.php:568, includes/admin/settings/class-settings-display.php:290
9213
  msgid "Agreement Text"
9214
  msgstr ""
9215
 
9216
+ #: includes/admin/forms/class-metabox-form-data.php:569
9217
  msgid "This is the actual text which the user will have to agree to in order to make a donation."
9218
  msgstr ""
9219
 
9220
+ #: includes/admin/forms/class-metabox-form-data.php:617
9221
  msgid "Goal Statistics"
9222
  msgstr ""
9223
 
9224
+ #: includes/admin/forms/class-metabox-form-data.php:834
9225
  msgid "Activate the <a href=\"%1$s\" title=\"%2$s\" target=\"_blank\">Recurring Donations add-on</a> and provide your donors with flexible subscription giving options."
9226
  msgstr ""
9227
 
9228
+ #: includes/admin/forms/class-metabox-form-data.php:836
9229
  msgid "Click to view the Recurring Donations add-on"
9230
  msgstr ""
9231
 
9232
+ #: includes/admin/forms/class-metabox-form-data.php:839
9233
  msgid "View Add-on"
9234
  msgstr ""
9235
 
9305
  msgid "Preapproval Pending"
9306
  msgstr ""
9307
 
9308
+ #: includes/admin/payments/class-payments-table.php:412, includes/admin/settings/class-settings-gateways.php:79, src/API/Endpoints/Reports/TopDonors.php:43, templates/shortcode-receipt.php:82
9309
  msgid "Donation"
9310
  msgid_plural "Donations"
9311
  msgstr[0] ""
9857
  msgid "Do you want a Name Title Prefix field to appear before First Name?"
9858
  msgstr ""
9859
 
9860
+ #: includes/admin/settings/class-settings-display.php:79
9861
  msgid "Company Field"
9862
  msgstr ""
9863
 
9864
+ #: includes/admin/settings/class-settings-display.php:80
9865
  msgid "Do you want a Company field to appear after First Name and Last Name fields on all donation forms? You can enable this option per form as well."
9866
  msgstr ""
9867
 
9868
+ #: includes/admin/settings/class-settings-display.php:92
9869
  msgid "Do you want to provide donors the ability mark themselves anonymous while giving. This will prevent their information from appearing publicly on your website but you will still receive their information for your records in the admin panel."
9870
  msgstr ""
9871
 
9872
+ #: includes/admin/settings/class-settings-display.php:113
9873
  msgid "Display Settings Docs Link"
9874
  msgstr ""
9875
 
9876
+ #: includes/admin/settings/class-settings-display.php:116
9877
  msgid "Display Options Settings"
9878
  msgstr ""
9879
 
9880
+ #: includes/admin/settings/class-settings-display.php:133
9881
  msgid "Form Single Views"
9882
  msgstr ""
9883
 
9884
+ #: includes/admin/settings/class-settings-display.php:134
9885
  msgid "By default, all donation forms have single views enabled. This creates a specific URL on your website for that form. Selecting \"Disabled\" will prevent the single view from being publicly displayed. Note: if selecting \"Disabled\", to display each form you will need to embed it using a block, shortcode, or widget."
9886
  msgstr ""
9887
 
9888
+ #: includes/admin/settings/class-settings-display.php:144
9889
  msgid "Form Archives"
9890
  msgstr ""
9891
 
9892
+ #: includes/admin/settings/class-settings-display.php:147
9893
  msgid "Archive pages list all the donation forms you have created. This option will disable only the form's archive page(s). The form's single view will still be displayed. Note: you will need to <a href=\"%s\">refresh your permalinks</a> after this option has been enabled."
9894
  msgstr ""
9895
 
9896
+ #: includes/admin/settings/class-settings-display.php:166
9897
  msgid "Form Excerpts"
9898
  msgstr ""
9899
 
9900
+ #: includes/admin/settings/class-settings-display.php:167
9901
  msgid "The excerpt is an optional summary or description of a donation form; in short, a summary as to why the user should give."
9902
  msgstr ""
9903
 
9904
+ #: includes/admin/settings/class-settings-display.php:177
9905
  msgid "Form Featured Image"
9906
  msgstr ""
9907
 
9908
+ #: includes/admin/settings/class-settings-display.php:178
9909
  msgid "If you do not wish to use the featured image functionality you can disable it using this option and it will not be displayed for single donation forms."
9910
  msgstr ""
9911
 
9912
+ #: includes/admin/settings/class-settings-display.php:188
9913
  msgid "Featured Image Size"
9914
  msgstr ""
9915
 
9916
+ #: includes/admin/settings/class-settings-display.php:189
9917
  msgid "The Featured Image is an image that is chosen as the representative image for a donation form. Some themes may have custom featured image sizes. Please select the size you would like to display for your single donation form's featured image."
9918
  msgstr ""
9919
 
9920
+ #: includes/admin/settings/class-settings-display.php:196
9921
  msgid "Single Form Sidebar"
9922
  msgstr ""
9923
 
9924
+ #: includes/admin/settings/class-settings-display.php:197
9925
  msgid "The sidebar allows you to add additional widgets to the GiveWP single form view. If you don't plan on using the sidebar you may disable it with this option."
9926
  msgstr ""
9927
 
9928
+ #: includes/admin/settings/class-settings-display.php:207
9929
  msgid "Post Types Docs Link"
9930
  msgstr ""
9931
 
9932
+ #: includes/admin/settings/class-settings-display.php:210
9933
  msgid "Post Types Settings"
9934
  msgstr ""
9935
 
9936
+ #: includes/admin/settings/class-settings-display.php:227
9937
  msgid "Form Categories"
9938
  msgstr ""
9939
 
9940
+ #: includes/admin/settings/class-settings-display.php:228
9941
  msgid "Enable Categories for all GiveWP forms."
9942
  msgstr ""
9943
 
9944
+ #: includes/admin/settings/class-settings-display.php:238
9945
  msgid "Form Tags"
9946
  msgstr ""
9947
 
9948
+ #: includes/admin/settings/class-settings-display.php:239
9949
  msgid "Enable Tags for all GiveWP forms."
9950
  msgstr ""
9951
 
9952
+ #: includes/admin/settings/class-settings-display.php:249
9953
  msgid "Taxonomies Docs Link"
9954
  msgstr ""
9955
 
9956
+ #: includes/admin/settings/class-settings-display.php:252
9957
  msgid "Taxonomies Settings"
9958
  msgstr ""
9959
 
9960
+ #: includes/admin/settings/class-settings-display.php:270
9961
  msgid "Would you like donors to require that donors agree to your terms when donating? Note: You can enable/disable this option and customize the terms per form as well."
9962
  msgstr ""
9963
 
9964
+ #: includes/admin/settings/class-settings-display.php:280
9965
  msgid "Agree to Terms Label"
9966
  msgstr ""
9967
 
9968
+ #: includes/admin/settings/class-settings-display.php:281
9969
  msgid "The label shown next to the agree to terms check box. Customize it here or leave blank to use the default placeholder text. Note: You can customize the label per form."
9970
  msgstr ""
9971
 
9972
+ #: includes/admin/settings/class-settings-display.php:291
9973
  msgid "This is the actual text which the user will be asked to agree to in order to donate. Note: You can customize the content per form as needed."
9974
  msgstr ""
9975
 
9976
+ #: includes/admin/settings/class-settings-display.php:296
9977
  msgid "Terms and Conditions Docs Link"
9978
  msgstr ""
9979
 
9980
+ #: includes/admin/settings/class-settings-display.php:299
9981
  msgid "Terms and Conditions Settings"
9982
  msgstr ""
9983
 
9984
+ #: includes/admin/settings/class-settings-display.php:338
9985
  msgid "Post Types"
9986
  msgstr ""
9987
 
9988
+ #: includes/admin/settings/class-settings-display.php:339
9989
  msgid "Taxonomies"
9990
  msgstr ""
9991
 
13784
  msgid "Redirecting..."
13785
  msgstr ""
13786
 
13787
+ #: src/API/Endpoints/Reports/AverageDonation.php:106
13788
+ msgid "Avg Income"
13789
  msgstr ""
13790
 
13791
+ #: src/API/Endpoints/Reports/AverageDonation.php:124, src/API/Endpoints/Reports/TotalDonors.php:105, src/API/Endpoints/Reports/TotalIncome.php:112, src/API/Endpoints/Reports/TotalRefunds.php:107
13792
  msgid "VS previous"
13793
  msgstr ""
13794
 
13795
+ #: src/API/Endpoints/Reports/AverageDonation.php:124, src/API/Endpoints/Reports/TotalDonors.php:105, src/API/Endpoints/Reports/TotalIncome.php:112, src/API/Endpoints/Reports/TotalRefunds.php:107
13796
  msgid "days"
13797
  msgstr ""
13798
 
13799
+ #: src/API/Endpoints/Reports/AverageDonation.php:124, src/API/Endpoints/Reports/TotalDonors.php:105, src/API/Endpoints/Reports/TotalIncome.php:112, src/API/Endpoints/Reports/TotalRefunds.php:107
13800
  msgid "VS previous day"
13801
  msgstr ""
13802
 
13803
+ #: src/API/Endpoints/Reports/Endpoint.php:205
13804
  msgid "You cannot view the reports resource."
13805
  msgstr ""
13806
 
13807
+ #: src/API/Endpoints/Reports/Endpoint.php:248
13808
  msgid "The data for the report."
13809
  msgstr ""
13810
 
13811
+ #: src/API/Endpoints/Reports/PaymentMethods.php:70, src/API/Endpoints/Reports/PaymentStatuses.php:79, src/API/Endpoints/Reports/PaymentStatuses.php:84, src/API/Endpoints/Reports/PaymentStatuses.php:89, src/API/Endpoints/Reports/PaymentStatuses.php:94, src/API/Endpoints/Reports/PaymentStatuses.php:99, src/API/Endpoints/Reports/PaymentStatuses.php:104
13812
  msgid "Payments"
13813
  msgstr ""
13814
 
13815
+ #: src/API/Endpoints/Reports/TotalDonors.php:86, src/API/Endpoints/Reports/TotalRefunds.php:88
13816
+ msgid "%d Donor"
13817
+ msgid_plural "%d Donors"
13818
+ msgstr[0] ""
13819
+ msgstr[1] ""
13820
+
13821
+ #: src/API/Endpoints/Reports/TotalDonors.php:87
13822
  msgid "Total Donors"
13823
  msgstr ""
13824
 
13825
+ #: src/API/Endpoints/Reports/TotalIncome.php:94
13826
  msgid "Total Income"
13827
  msgstr ""
13828
 
13829
+ #: src/API/Endpoints/Reports/TotalRefunds.php:89
 
 
 
 
13830
  msgid "Total Refunds"
13831
  msgstr ""
13832
 
14055
  msgstr ""
14056
 
14057
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:169
14058
+ msgid "The description is displayed directly below the main headline and should be 1-2 sentences. You may use <a href=\"http://docs.givewp.com/email-tags target=\"_blank\">any of the available template tags</a> within this message."
14059
  msgstr ""
14060
 
14061
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:172, src/Views/Form/Templates/Sequoia/optionConfig.php:174
14062
+ msgid "{name}, your contribution means a lot and will be put to good use making a difference. We’ve sent your donation receipt to {donor_email}. "
14063
  msgstr ""
14064
 
14065
  #: src/Views/Form/Templates/Sequoia/optionConfig.php:177
14098
  msgid "Process Donation"
14099
  msgstr ""
14100
 
14101
+ #: src/Views/Form/Templates/Sequoia/Sequoia.php:295
14102
  msgid "Multi-Step Donation Form"
14103
  msgstr ""
14104
 
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: givewp, dlocc, webdevmattcrom, ravinderk, mehul0810, kevinwhoffman
3
  Donate link: https://givewp.com/
4
  Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, give, wp donation, ecommerce, e-commerce, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, commerce, wordpress ecommerce, giving, charity, donate, gifts, non-profit, paypal, stripe, churches, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations
5
  Requires at least: 4.8
6
- Tested up to: 5.4
7
  Requires PHP: 5.6
8
- Stable tag: 2.7.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -223,6 +223,14 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
223
 
224
  == Changelog ==
225
 
 
 
 
 
 
 
 
 
226
  = 2.7.2: July 6th, 2020 =
227
  * Fix: The 2.7.0 upgrade routine could cause WP-Admin to be incorrectly redirected to the update success screen for certain hosting environments after completion. [#4900](https://github.com/impress-org/givewp/issues/4900)
228
  * Fix: The Donor Wall shortcode now allows you to properly only display certain donors by their donor IDs. [#4864](https://github.com/impress-org/givewp/issues/4864)
3
  Donate link: https://givewp.com/
4
  Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, give, wp donation, ecommerce, e-commerce, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, commerce, wordpress ecommerce, giving, charity, donate, gifts, non-profit, paypal, stripe, churches, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations
5
  Requires at least: 4.8
6
+ Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 2.7.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
223
 
224
  == Changelog ==
225
 
226
+ = 2.7.3: =
227
+ * Fix: The Donation Reports were not correctly calculating renewals processed via the Recurring Donations add-on leading to incorrect figures. [#4883](https://github.com/impress-org/givewp/issues/4883)
228
+ * Fix: The new Multi-Step Form Template was not correctly marking donations as anonymous if the donor elected to give anonymously. [#4959](https://github.com/impress-org/givewp/issues/4959)
229
+ * Fix: Reports have been improved to account for the use of a comma as the currency decimal separator. Previously, when using a ',' as the decimal separator for a currency, it produced inconsistent errors in terms of decimal placement for totals displayed on the Reports page. Furthermore, using a ',' for the decimal separator resulted in consistent misplacement of the decimal in the Average Donations totals. [#4926](https://github.com/impress-org/givewp/issues/4926)
230
+ * Fix: The Chosen select dropdown field now can properly have separate values and labels. [#4943](https://github.com/impress-org/givewp/issues/4943)
231
+ * Fix: Fixed a typo in the default Thank You page content for the new Multi-step Form Template. [#4909](https://github.com/impress-org/givewp/issues/4909)
232
+ * Fix: The `give_get_meta` filter had a duplicate parameter passed and now properly passes all parameters. [#4464](https://github.com/impress-org/givewp/issues/4464)
233
+
234
  = 2.7.2: July 6th, 2020 =
235
  * Fix: The 2.7.0 upgrade routine could cause WP-Admin to be incorrectly redirected to the update success screen for certain hosting environments after completion. [#4900](https://github.com/impress-org/givewp/issues/4900)
236
  * Fix: The Donor Wall shortcode now allows you to properly only display certain donors by their donor IDs. [#4864](https://github.com/impress-org/givewp/issues/4864)
src/API/API.php DELETED
@@ -1,59 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * API class
5
- *
6
- * @package Give
7
- */
8
-
9
- namespace Give\API;
10
-
11
- use Give\API\Endpoints\Reports as Reports;
12
-
13
- defined( 'ABSPATH' ) || exit;
14
-
15
- /**
16
- * Manages API Endpoints
17
- */
18
- class API {
19
-
20
- protected $endpoints = [
21
- Reports\PaymentStatuses::class,
22
- Reports\PaymentMethods::class,
23
- Reports\FormPerformance::class,
24
- Reports\TopDonors::class,
25
- Reports\RecentDonations::class,
26
- Reports\Income::class,
27
- Reports\IncomeBreakdown::class,
28
- Reports\AverageDonation::class,
29
- Reports\TotalDonors::class,
30
- Reports\TotalIncome::class,
31
- Reports\TotalRefunds::class,
32
- ];
33
-
34
- /**
35
- * Initialize Reports and Pages, register hooks
36
- */
37
- public function init() {
38
- // To prevent conflict on we are loading autoload.php when need for now. In future we can loaded it globally.
39
- require GIVE_PLUGIN_DIR . 'vendor/autoload.php';
40
-
41
- // Load endpoints
42
- $this->load_endpoints();
43
-
44
- }
45
-
46
- public function __construct() {
47
- // Do nothing
48
- }
49
-
50
- public function load_endpoints() {
51
- foreach ( $this->endpoints as $endpoint ) {
52
- $class = new $endpoint();
53
- $class->init();
54
- }
55
- }
56
-
57
- }
58
- $api = new API();
59
- $api->init();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/API/Endpoints/Reports/AverageDonation.php CHANGED
@@ -28,7 +28,7 @@ class AverageDonation extends Endpoint {
28
  *
29
  * @return array
30
  */
31
- public function get_report( $request ) {
32
  $start = date_create( $request->get_param( 'start' ) );
33
  $end = date_create( $request->get_param( 'end' ) );
34
  $diff = date_diff( $start, $end );
@@ -40,7 +40,10 @@ class AverageDonation extends Endpoint {
40
  $interval = round( $diff->days / 12 );
41
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
42
  break;
43
- case ( $diff->days > 7 ):
 
 
 
44
  $data = $this->get_data( $start, $end, 'PT12H' );
45
  break;
46
  case ( $diff->days > 2 ):
@@ -54,10 +57,11 @@ class AverageDonation extends Endpoint {
54
  return $data;
55
  }
56
 
 
57
  public function get_data( $start, $end, $intervalStr ) {
58
 
59
- $income = [];
60
  $tooltips = [];
 
61
 
62
  $interval = new \DateInterval( $intervalStr );
63
 
@@ -69,62 +73,77 @@ class AverageDonation extends Endpoint {
69
 
70
  while ( $periodStart < $end ) {
71
 
72
- $averageForPeriod = $this->get_average_donation( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
73
-
74
- if ( $intervalStr == 'PT1H' ) {
75
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
76
- } else {
77
- $periodLabel = $periodStart->format( 'M j, Y' ) . ' - ' . $periodEnd->format( 'M j, Y' );
 
 
 
 
 
 
 
 
78
  }
79
 
80
  $income[] = [
81
- 'x' => $periodEnd->format( 'Y-m-d H:i:s' ),
82
- 'y' => $averageForPeriod,
83
  ];
84
 
85
  $tooltips[] = [
86
  'title' => give_currency_filter(
87
- give_format_amount( $averageForPeriod ),
88
  [
89
  'currency_code' => $this->currency,
90
  'decode_currency' => true,
 
91
  ]
92
  ),
93
- 'body' => __( 'Avg Donation', 'give' ),
94
  'footer' => $periodLabel,
95
  ];
96
 
97
- // Add interval to set up next period
98
- date_add( $periodStart, $interval );
99
- date_add( $periodEnd, $interval );
100
  }
101
 
102
- $averageIncomeForPeriod = $this->get_average_donation( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
103
- $trend = $this->get_trend( $start, $end, $income );
104
-
105
- $diff = date_diff( $start, $end );
106
- $info = $diff->days > 1 ? __( 'VS previous', 'give' ) . ' ' . $diff->days . ' ' . __( 'days', 'give' ) : __( 'VS previous day', 'give' );
107
 
108
- // Create data objec to be returned, with 'highlights' object containing total and average figures to display
109
- $data = [
110
- 'datasets' => [
111
- [
112
- 'data' => $income,
113
- 'tooltips' => $tooltips,
114
- 'trend' => $trend,
115
- 'info' => $info,
116
- 'highlight' => give_currency_filter(
117
- give_format_amount( $averageIncomeForPeriod ),
118
- [
119
- 'currency_code' => $this->currency,
120
- 'decode_currency' => true,
121
- ]
122
- ),
123
- ],
 
 
 
 
 
 
124
  ],
125
- ];
 
126
 
127
- return $data;
128
 
129
  }
130
 
@@ -137,8 +156,8 @@ class AverageDonation extends Endpoint {
137
 
138
  $prevEnd = clone $start;
139
 
140
- $prevAverage = $this->get_average_donation( $prevStart->format( 'Y-m-d H:i:s' ), $prevEnd->format( 'Y-m-d H:i:s' ) );
141
- $currentAverage = $this->get_average_donation( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
142
 
143
  // Set default trend to 0
144
  $trend = 0;
@@ -159,15 +178,27 @@ class AverageDonation extends Endpoint {
159
  return $trend;
160
  }
161
 
162
- public function get_average_donation( $startStr, $endStr ) {
 
 
 
 
 
 
 
 
 
 
 
 
163
 
164
- $paymentObjects = $this->get_payments( $startStr, $endStr );
165
 
166
  $earnings = 0;
167
  $paymentCount = 0;
168
 
169
  foreach ( $paymentObjects as $paymentObject ) {
170
- if ( $paymentObject->date > $startStr && $paymentObject->date < $endStr ) {
171
  if ( $paymentObject->status == 'publish' || $paymentObject->status == 'give_subscription' ) {
172
  $earnings += $paymentObject->total;
173
  $paymentCount += 1;
@@ -175,9 +206,9 @@ class AverageDonation extends Endpoint {
175
  }
176
  }
177
 
178
- $average = $paymentCount > 0 ? $earnings / $paymentCount : 0;
179
 
180
  // Return rounded average (avoid displaying figures with many decimal places)
181
- return round( $average, 2 );
182
  }
183
  }
28
  *
29
  * @return array
30
  */
31
+ public function getReport( $request ) {
32
  $start = date_create( $request->get_param( 'start' ) );
33
  $end = date_create( $request->get_param( 'end' ) );
34
  $diff = date_diff( $start, $end );
40
  $interval = round( $diff->days / 12 );
41
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
42
  break;
43
+ case ( $diff->days > 5 ):
44
+ $data = $this->get_data( $start, $end, 'P1D' );
45
+ break;
46
+ case ( $diff->days > 4 ):
47
  $data = $this->get_data( $start, $end, 'PT12H' );
48
  break;
49
  case ( $diff->days > 2 ):
57
  return $data;
58
  }
59
 
60
+
61
  public function get_data( $start, $end, $intervalStr ) {
62
 
 
63
  $tooltips = [];
64
+ $income = [];
65
 
66
  $interval = new \DateInterval( $intervalStr );
67
 
73
 
74
  while ( $periodStart < $end ) {
75
 
76
+ $avgIncomeForPeriod = $this->get_average_income( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
77
+ $time = $periodEnd->format( 'Y-m-d H:i:s' );
78
+
79
+ switch ( $intervalStr ) {
80
+ case 'P1D':
81
+ $periodLabel = $periodStart->format( 'l' );
82
+ break;
83
+ case 'PT12H':
84
+ case 'PT3H':
85
+ case 'PT1H':
86
+ $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
87
+ break;
88
+ default:
89
+ $periodLabel = $periodStart->format( 'M j, Y' ) . ' - ' . $periodEnd->format( 'M j, Y' );
90
  }
91
 
92
  $income[] = [
93
+ 'x' => $time,
94
+ 'y' => $avgIncomeForPeriod,
95
  ];
96
 
97
  $tooltips[] = [
98
  'title' => give_currency_filter(
99
+ give_format_amount( $avgIncomeForPeriod ),
100
  [
101
  'currency_code' => $this->currency,
102
  'decode_currency' => true,
103
+ 'sanitize' => false,
104
  ]
105
  ),
106
+ 'body' => __( 'Avg Income', 'give' ),
107
  'footer' => $periodLabel,
108
  ];
109
 
110
+ // Add interval to set up next period
111
+ date_add( $periodStart, $interval );
112
+ date_add( $periodEnd, $interval );
113
  }
114
 
115
+ if ( $intervalStr === 'P1D' ) {
116
+ $income = array_slice( $income, 1 );
117
+ $tooltips = array_slice( $tooltips, 1 );
118
+ }
 
119
 
120
+ $totalAvgIncomeForPeriod = $this->get_average_income( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
121
+ $trend = $this->get_trend( $start, $end, $income );
122
+
123
+ $diff = date_diff( $start, $end );
124
+ $info = $diff->days > 1 ? __( 'VS previous', 'give' ) . ' ' . $diff->days . ' ' . __( 'days', 'give' ) : __( 'VS previous day', 'give' );
125
+
126
+ // Create data objec to be returned, with 'highlights' object containing total and average figures to display
127
+ $data = [
128
+ 'datasets' => [
129
+ [
130
+ 'data' => $income,
131
+ 'tooltips' => $tooltips,
132
+ 'trend' => $trend,
133
+ 'info' => $info,
134
+ 'highlight' => give_currency_filter(
135
+ give_format_amount( $totalAvgIncomeForPeriod ),
136
+ [
137
+ 'currency_code' => $this->currency,
138
+ 'decode_currency' => true,
139
+ 'sanitize' => false,
140
+ ]
141
+ ),
142
  ],
143
+ ],
144
+ ];
145
 
146
+ return $data;
147
 
148
  }
149
 
156
 
157
  $prevEnd = clone $start;
158
 
159
+ $prevAverage = $this->get_average_income( $prevStart->format( 'Y-m-d H:i:s' ), $prevEnd->format( 'Y-m-d H:i:s' ) );
160
+ $currentAverage = $this->get_average_income( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
161
 
162
  // Set default trend to 0
163
  $trend = 0;
178
  return $trend;
179
  }
180
 
181
+ /**
182
+ * Calculate average income for a period
183
+ *
184
+ * Based on provided start and end strings, return the calculated income,
185
+ * rounded to the appropriate decimal place for the currently queried currency
186
+ *
187
+ * @param string $startStr Period start string
188
+ * @param string $endStr Period end string
189
+ *
190
+ * @return float Average income float (rounded to the decimal place of currently queried currency)
191
+ * @since 2.6.0
192
+ **/
193
+ public function get_average_income( $startStr, $endStr ) {
194
 
195
+ $paymentObjects = $this->getPayments( $startStr, $endStr );
196
 
197
  $earnings = 0;
198
  $paymentCount = 0;
199
 
200
  foreach ( $paymentObjects as $paymentObject ) {
201
+ if ( $paymentObject->date >= $startStr && $paymentObject->date < $endStr ) {
202
  if ( $paymentObject->status == 'publish' || $paymentObject->status == 'give_subscription' ) {
203
  $earnings += $paymentObject->total;
204
  $paymentCount += 1;
206
  }
207
  }
208
 
209
+ $averageIncome = $paymentCount > 0 ? $earnings / $paymentCount : 0;
210
 
211
  // Return rounded average (avoid displaying figures with many decimal places)
212
+ return round( $averageIncome, give_get_price_decimals( $this->currency ) );
213
  }
214
  }
src/API/Endpoints/Reports/DonationsVsIncome.php CHANGED
@@ -14,7 +14,7 @@ class DonationsVsIncome extends Endpoint {
14
  $this->endpoint = 'donations-vs-income';
15
  }
16
 
17
- public function get_report( $request ) {
18
 
19
  $start = date_create( $request->get_param( 'start' ) );
20
  $end = date_create( $request->get_param( 'end' ) );
14
  $this->endpoint = 'donations-vs-income';
15
  }
16
 
17
+ public function getReport( $request ) {
18
 
19
  $start = date_create( $request->get_param( 'start' ) );
20
  $end = date_create( $request->get_param( 'end' ) );
src/API/Endpoints/Reports/Endpoint.php CHANGED
@@ -10,13 +10,14 @@ namespace Give\API\Endpoints\Reports;
10
 
11
  use DateInterval;
12
  use DateTime;
 
13
  use \Give_Cache;
14
  use Give_Payment;
 
15
  use WP_REST_Request;
16
  use WP_REST_Response;
17
 
18
- abstract class Endpoint {
19
-
20
  /**
21
  * @since 2.6.1
22
  * @var WP_REST_Request
@@ -53,12 +54,10 @@ abstract class Endpoint {
53
  */
54
  protected $currency;
55
 
56
- public function init() {
57
- add_action( 'rest_api_init', [ $this, 'register_route' ] );
58
- }
59
-
60
- // Register our routes.
61
- public function register_route() {
62
  register_rest_route(
63
  'give-api/v2',
64
  '/reports/' . $this->endpoint,
@@ -66,35 +65,35 @@ abstract class Endpoint {
66
  // Here we register the readable endpoint
67
  [
68
  'methods' => 'GET',
69
- 'callback' => [ $this, 'handle_request' ],
70
- 'permission_callback' => [ $this, 'permissions_check' ],
71
  'args' => [
72
  'start' => [
73
  'type' => 'string',
74
  'required' => true,
75
- 'validate_callback' => [ $this, 'validate_date' ],
76
- 'sanitize_callback' => [ $this, 'sanitize_date' ],
77
  ],
78
  'end' => [
79
  'type' => 'string',
80
  'required' => true,
81
- 'validate_callback' => [ $this, 'validate_date' ],
82
- 'sanitize_callback' => [ $this, 'sanitize_date' ],
83
  ],
84
  'currency' => [
85
  'type' => 'string',
86
  'required' => true,
87
- 'validate_callback' => [ $this, 'validate_currency' ],
88
  ],
89
  'testMode' => [
90
  'type' => 'boolean',
91
  'required' => true,
92
- 'sanitize_callback' => [ $this, 'sanitize_test_mode' ],
93
  ],
94
  ],
95
  ],
96
  // Register our schema callback.
97
- 'schema' => [ $this, 'get_report_schema' ],
98
  ]
99
  );
100
  }
@@ -103,13 +102,14 @@ abstract class Endpoint {
103
  * Handle rest request.
104
  *
105
  * @since 2.6.1
 
106
  * @param WP_REST_Request $request
107
  *
108
  * @return WP_REST_Response
109
  */
110
- public function handle_request( $request ) {
111
  // Check if a cached version exists
112
- $cached_report = $this->get_cached_report( $request );
113
  if ( $cached_report !== null ) {
114
  // Bail and return the cached version
115
  return new WP_REST_Response( $cached_report );
@@ -118,11 +118,11 @@ abstract class Endpoint {
118
  $this->setupProperties( $request );
119
 
120
  $responseData = [
121
- 'status' => $this->get_give_status(),
122
- 'data' => $this->get_report( $request ),
123
  ];
124
 
125
- $this->cache_report( $request, $responseData );
126
 
127
  return new WP_REST_Response( $responseData );
128
  }
@@ -131,6 +131,7 @@ abstract class Endpoint {
131
  * Setup properties
132
  *
133
  * @since 2.6.1
 
134
  * @param WP_REST_Request $request
135
  */
136
  private function setupProperties( $request ) {
@@ -142,7 +143,7 @@ abstract class Endpoint {
142
  $this->dateDiff = date_diff( $this->startDate, $this->endDate );
143
  }
144
 
145
- public function validate_date( $param, $request, $key ) {
146
  // Check that date is valid, and formatted YYYY-MM-DD
147
  $exploded = explode( '-', $param );
148
  $valid = checkdate( $exploded[1], $exploded[2], $exploded[0] );
@@ -157,11 +158,11 @@ abstract class Endpoint {
157
  return $valid;
158
  }
159
 
160
- public function sanitize_date( $param, $request, $key ) {
161
  // Return Date object from parameter
162
  $exploded = explode( '-', $param );
163
- $date = "{$exploded[0]}-{$exploded[1]}-{$exploded[2]} 24:00:00";
164
- return $date;
165
  }
166
 
167
  /**
@@ -171,8 +172,10 @@ abstract class Endpoint {
171
  * @param string $param Currency parameter provided in REST API request
172
  * @param WP_REST_Request $request REST API Request object
173
  * @param string $key REST API Request key being validated (in this case currency)
 
 
174
  */
175
- public function validate_currency( $param, $request, $key ) {
176
  return in_array( $param, array_keys( give_get_currencies_list() ) );
177
  }
178
 
@@ -184,7 +187,7 @@ abstract class Endpoint {
184
  * @param WP_REST_Request $request REST API Request object
185
  * @param string $key REST API Request key being validated (in this case test mode)
186
  */
187
- public function sanitize_test_mode( $param, $request, $key ) {
188
  return filter_var( $param, FILTER_VALIDATE_BOOLEAN );
189
  }
190
 
@@ -192,15 +195,18 @@ abstract class Endpoint {
192
  * Check permissions
193
  *
194
  * @param WP_REST_Request $request Current request.
 
 
195
  */
196
- public function permissions_check( $request ) {
197
  if ( ! current_user_can( 'read' ) ) {
198
- return new \WP_Error(
199
  'rest_forbidden',
200
  esc_html__( 'You cannot view the reports resource.', 'give' ),
201
- [ 'status' => $this->authorization_status_code() ]
202
  );
203
  }
 
204
  return true;
205
  }
206
 
@@ -211,7 +217,7 @@ abstract class Endpoint {
211
  *
212
  * @return array
213
  */
214
- public function get_report( $request ) {
215
  return [
216
  'data' => [
217
  'labels' => [ 'a', 'b', 'c' ],
@@ -223,7 +229,7 @@ abstract class Endpoint {
223
  /**
224
  * Get our sample schema for a report
225
  */
226
- public function get_report_schema() {
227
 
228
  if ( $this->schema ) {
229
  // Since WordPress 5.3, the schema can be cached in the $schema property.
@@ -249,7 +255,7 @@ abstract class Endpoint {
249
  }
250
 
251
  // Sets up the proper HTTP status code for authorization.
252
- public function authorization_status_code() {
253
 
254
  $status = 401;
255
  if ( is_user_logged_in() ) {
@@ -267,7 +273,7 @@ abstract class Endpoint {
267
  *
268
  * @return mixed
269
  */
270
- public function get_cached_report( $request ) {
271
  $cache_key = Give_Cache::get_key( "api_get_report_{$this->endpoint}", $request->get_params() );
272
 
273
  $cached = Give_Cache::get_db_query( $cache_key );
@@ -288,7 +294,7 @@ abstract class Endpoint {
288
  *
289
  * @return bool
290
  */
291
- public function cache_report( $request, $report ) {
292
  $cache_key = Give_Cache::get_key( "api_get_report_{$this->endpoint}", $request->get_params() );
293
 
294
  return Give_Cache::set_db_query( $cache_key, $report );
@@ -298,12 +304,12 @@ abstract class Endpoint {
298
  /**
299
  * Cache report
300
  *
301
- * @param array $args Query arguments.
302
- * @param Give_Payment[] $payments Payments.
303
  *
304
  * @return bool
305
  */
306
- private function cache_payments( $args, $payments ) {
307
  $cache_key = Give_Cache::get_key( 'api_report_payments', $args );
308
 
309
  return Give_Cache::set_db_query( $cache_key, $payments );
@@ -313,10 +319,11 @@ abstract class Endpoint {
313
  /**
314
  * Get cached report
315
  *
316
- * @param array $args Query arguments.
 
317
  * @return mixed
318
  */
319
- private function get_cached_payments( $args ) {
320
 
321
  $cache_key = Give_Cache::get_key( 'api_report_payments', $args );
322
 
@@ -334,14 +341,14 @@ abstract class Endpoint {
334
  /**
335
  * Get payment.
336
  *
337
- * @param string $startStr
338
- * @param string $endStr
339
  * @param string $orderBy
340
  * @param int $number
341
  *
342
  * @return mixed
343
  */
344
- public function get_payments( $startStr, $endStr, $orderBy = 'date', $number = -1 ) {
345
 
346
  $gatewayObjects = give_get_payment_gateways();
347
  $paymentModeKeyCompare = '!=';
@@ -354,14 +361,18 @@ abstract class Endpoint {
354
  $gateway = array_keys( $gatewayObjects );
355
 
356
  $args = [
357
- 'number' => $number,
358
- 'paged' => 1,
359
- 'orderby' => $orderBy,
360
- 'order' => 'DESC',
361
- 'start_date' => $startStr,
362
- 'end_date' => $endStr,
363
- 'gateway' => $gateway,
364
- 'meta_query' => [
 
 
 
 
365
  [
366
  'key' => '_give_payment_currency',
367
  'value' => $this->currency,
@@ -376,7 +387,7 @@ abstract class Endpoint {
376
  ];
377
 
378
  // Check if a cached payments exists
379
- $cached_payments = $this->get_cached_payments( $args );
380
 
381
  if ( $cached_payments !== null ) {
382
  // Bail and return the cached payments
@@ -387,13 +398,13 @@ abstract class Endpoint {
387
  $payments = $payments->get_payments();
388
 
389
  // Cache the report data
390
- $this->cache_payments( $args, $payments );
391
 
392
  return $payments;
393
 
394
  }
395
 
396
- public function get_give_status() {
397
 
398
  $donations = get_posts(
399
  [
@@ -405,8 +416,8 @@ abstract class Endpoint {
405
 
406
  if ( count( $donations ) > 0 ) {
407
  return 'donations_found';
408
- } else {
409
- return 'no_donations_found';
410
  }
 
 
411
  }
412
  }
10
 
11
  use DateInterval;
12
  use DateTime;
13
+ use Give\API\RestRoute;
14
  use \Give_Cache;
15
  use Give_Payment;
16
+ use WP_Error;
17
  use WP_REST_Request;
18
  use WP_REST_Response;
19
 
20
+ abstract class Endpoint implements RestRoute {
 
21
  /**
22
  * @since 2.6.1
23
  * @var WP_REST_Request
54
  */
55
  protected $currency;
56
 
57
+ /**
58
+ * @inheritDoc
59
+ */
60
+ public function registerRoute() {
 
 
61
  register_rest_route(
62
  'give-api/v2',
63
  '/reports/' . $this->endpoint,
65
  // Here we register the readable endpoint
66
  [
67
  'methods' => 'GET',
68
+ 'callback' => [ $this, 'handleRequest' ],
69
+ 'permission_callback' => [ $this, 'permissionsCheck' ],
70
  'args' => [
71
  'start' => [
72
  'type' => 'string',
73
  'required' => true,
74
+ 'validate_callback' => [ $this, 'validateDate' ],
75
+ 'sanitize_callback' => [ $this, 'sanitizeDate' ],
76
  ],
77
  'end' => [
78
  'type' => 'string',
79
  'required' => true,
80
+ 'validate_callback' => [ $this, 'validateDate' ],
81
+ 'sanitize_callback' => [ $this, 'sanitizeDate' ],
82
  ],
83
  'currency' => [
84
  'type' => 'string',
85
  'required' => true,
86
+ 'validate_callback' => [ $this, 'validateCurrency' ],
87
  ],
88
  'testMode' => [
89
  'type' => 'boolean',
90
  'required' => true,
91
+ 'sanitize_callback' => [ $this, 'sanitizeTestMode' ],
92
  ],
93
  ],
94
  ],
95
  // Register our schema callback.
96
+ 'schema' => [ $this, 'getReportSchema' ],
97
  ]
98
  );
99
  }
102
  * Handle rest request.
103
  *
104
  * @since 2.6.1
105
+ *
106
  * @param WP_REST_Request $request
107
  *
108
  * @return WP_REST_Response
109
  */
110
+ public function handleRequest( $request ) {
111
  // Check if a cached version exists
112
+ $cached_report = $this->getCachedReport( $request );
113
  if ( $cached_report !== null ) {
114
  // Bail and return the cached version
115
  return new WP_REST_Response( $cached_report );
118
  $this->setupProperties( $request );
119
 
120
  $responseData = [
121
+ 'status' => $this->getGiveStatus(),
122
+ 'data' => $this->getReport( $request ),
123
  ];
124
 
125
+ $this->cacheReport( $request, $responseData );
126
 
127
  return new WP_REST_Response( $responseData );
128
  }
131
  * Setup properties
132
  *
133
  * @since 2.6.1
134
+ *
135
  * @param WP_REST_Request $request
136
  */
137
  private function setupProperties( $request ) {
143
  $this->dateDiff = date_diff( $this->startDate, $this->endDate );
144
  }
145
 
146
+ public function validateDate( $param, $request, $key ) {
147
  // Check that date is valid, and formatted YYYY-MM-DD
148
  $exploded = explode( '-', $param );
149
  $valid = checkdate( $exploded[1], $exploded[2], $exploded[0] );
158
  return $valid;
159
  }
160
 
161
+ public function sanitizeDate( $param, $request, $key ) {
162
  // Return Date object from parameter
163
  $exploded = explode( '-', $param );
164
+
165
+ return "{$exploded[0]}-{$exploded[1]}-{$exploded[2]} 24:00:00";
166
  }
167
 
168
  /**
172
  * @param string $param Currency parameter provided in REST API request
173
  * @param WP_REST_Request $request REST API Request object
174
  * @param string $key REST API Request key being validated (in this case currency)
175
+ *
176
+ * @return bool
177
  */
178
+ public function validateCurrency( $param, $request, $key ) {
179
  return in_array( $param, array_keys( give_get_currencies_list() ) );
180
  }
181
 
187
  * @param WP_REST_Request $request REST API Request object
188
  * @param string $key REST API Request key being validated (in this case test mode)
189
  */
190
+ public function sanitizeTestMode( $param, $request, $key ) {
191
  return filter_var( $param, FILTER_VALIDATE_BOOLEAN );
192
  }
193
 
195
  * Check permissions
196
  *
197
  * @param WP_REST_Request $request Current request.
198
+ *
199
+ * @return bool|WP_Error
200
  */
201
+ public function permissionsCheck( $request ) {
202
  if ( ! current_user_can( 'read' ) ) {
203
+ return new WP_Error(
204
  'rest_forbidden',
205
  esc_html__( 'You cannot view the reports resource.', 'give' ),
206
+ [ 'status' => $this->authorizationStatusCode() ]
207
  );
208
  }
209
+
210
  return true;
211
  }
212
 
217
  *
218
  * @return array
219
  */
220
+ public function getReport( $request ) {
221
  return [
222
  'data' => [
223
  'labels' => [ 'a', 'b', 'c' ],
229
  /**
230
  * Get our sample schema for a report
231
  */
232
+ public function getReportSchema() {
233
 
234
  if ( $this->schema ) {
235
  // Since WordPress 5.3, the schema can be cached in the $schema property.
255
  }
256
 
257
  // Sets up the proper HTTP status code for authorization.
258
+ public function authorizationStatusCode() {
259
 
260
  $status = 401;
261
  if ( is_user_logged_in() ) {
273
  *
274
  * @return mixed
275
  */
276
+ public function getCachedReport( $request ) {
277
  $cache_key = Give_Cache::get_key( "api_get_report_{$this->endpoint}", $request->get_params() );
278
 
279
  $cached = Give_Cache::get_db_query( $cache_key );
294
  *
295
  * @return bool
296
  */
297
+ public function cacheReport( $request, $report ) {
298
  $cache_key = Give_Cache::get_key( "api_get_report_{$this->endpoint}", $request->get_params() );
299
 
300
  return Give_Cache::set_db_query( $cache_key, $report );
304
  /**
305
  * Cache report
306
  *
307
+ * @param array $args Query arguments.
308
+ * @param Give_Payment[] $payments Payments.
309
  *
310
  * @return bool
311
  */
312
+ private function cachePayments( $args, $payments ) {
313
  $cache_key = Give_Cache::get_key( 'api_report_payments', $args );
314
 
315
  return Give_Cache::set_db_query( $cache_key, $payments );
319
  /**
320
  * Get cached report
321
  *
322
+ * @param array $args Query arguments.
323
+ *
324
  * @return mixed
325
  */
326
+ private function getCachedPayments( $args ) {
327
 
328
  $cache_key = Give_Cache::get_key( 'api_report_payments', $args );
329
 
341
  /**
342
  * Get payment.
343
  *
344
+ * @param string $startStr
345
+ * @param string $endStr
346
  * @param string $orderBy
347
  * @param int $number
348
  *
349
  * @return mixed
350
  */
351
+ public function getPayments( $startStr, $endStr, $orderBy = 'date', $number = - 1 ) {
352
 
353
  $gatewayObjects = give_get_payment_gateways();
354
  $paymentModeKeyCompare = '!=';
361
  $gateway = array_keys( $gatewayObjects );
362
 
363
  $args = [
364
+ 'post_status' => [
365
+ 'publish',
366
+ 'give_subscription',
367
+ ],
368
+ 'number' => $number,
369
+ 'paged' => 1,
370
+ 'orderby' => $orderBy,
371
+ 'order' => 'DESC',
372
+ 'start_date' => strtotime( $startStr ),
373
+ 'end_date' => strtotime( $endStr ),
374
+ 'gateway' => $gateway,
375
+ 'meta_query' => [
376
  [
377
  'key' => '_give_payment_currency',
378
  'value' => $this->currency,
387
  ];
388
 
389
  // Check if a cached payments exists
390
+ $cached_payments = $this->getCachedPayments( $args );
391
 
392
  if ( $cached_payments !== null ) {
393
  // Bail and return the cached payments
398
  $payments = $payments->get_payments();
399
 
400
  // Cache the report data
401
+ $this->cachePayments( $args, $payments );
402
 
403
  return $payments;
404
 
405
  }
406
 
407
+ public function getGiveStatus() {
408
 
409
  $donations = get_posts(
410
  [
416
 
417
  if ( count( $donations ) > 0 ) {
418
  return 'donations_found';
 
 
419
  }
420
+
421
+ return 'no_donations_found';
422
  }
423
  }
src/API/Endpoints/Reports/FormPerformance.php CHANGED
@@ -16,7 +16,7 @@ class FormPerformance extends Endpoint {
16
  $this->endpoint = 'form-performance';
17
  }
18
 
19
- public function get_report( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
@@ -28,7 +28,7 @@ class FormPerformance extends Endpoint {
28
 
29
  public function get_data( $start, $end ) {
30
 
31
- $paymentObjects = $this->get_payments( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d' ), 'date', -1 );
32
 
33
  $forms = [];
34
  $labels = [];
@@ -64,6 +64,7 @@ class FormPerformance extends Endpoint {
64
  [
65
  'currency_code' => $this->currency,
66
  'decode_currency' => true,
 
67
  ]
68
  ),
69
  'body' => $value['donations'] . ' ' . __( 'Donations', 'give' ),
@@ -94,6 +95,7 @@ class FormPerformance extends Endpoint {
94
  [
95
  'currency_code' => $this->currency,
96
  'decode_currency' => true,
 
97
  ]
98
  ),
99
  'body' => $value['donations'] . ' ' . __( 'Donations', 'give' ),
16
  $this->endpoint = 'form-performance';
17
  }
18
 
19
+ public function getReport( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
28
 
29
  public function get_data( $start, $end ) {
30
 
31
+ $paymentObjects = $this->getPayments( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d' ), 'date', -1 );
32
 
33
  $forms = [];
34
  $labels = [];
64
  [
65
  'currency_code' => $this->currency,
66
  'decode_currency' => true,
67
+ 'sanitize' => false,
68
  ]
69
  ),
70
  'body' => $value['donations'] . ' ' . __( 'Donations', 'give' ),
95
  [
96
  'currency_code' => $this->currency,
97
  'decode_currency' => true,
98
+ 'sanitize' => false,
99
  ]
100
  ),
101
  'body' => $value['donations'] . ' ' . __( 'Donations', 'give' ),
src/API/Endpoints/Reports/Income.php CHANGED
@@ -16,7 +16,7 @@ class Income extends Endpoint {
16
  $this->endpoint = 'income';
17
  }
18
 
19
- public function get_report( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
@@ -67,7 +67,7 @@ class Income extends Endpoint {
67
 
68
  switch ( $intervalStr ) {
69
  case 'P1D':
70
- $time = $periodStart->format( 'Y-m-d H:i:s' );
71
  $periodLabel = $periodStart->format( 'l' );
72
  break;
73
  case 'PT12H':
@@ -90,6 +90,7 @@ class Income extends Endpoint {
90
  [
91
  'currency_code' => $this->currency,
92
  'decode_currency' => true,
 
93
  ]
94
  ),
95
  'body' => $donorsForPeriod . ' ' . __( 'Donors', 'give' ),
@@ -122,13 +123,13 @@ class Income extends Endpoint {
122
 
123
  public function get_values( $startStr, $endStr ) {
124
 
125
- $paymentObjects = $this->get_payments( $startStr, $endStr );
126
 
127
  $earnings = 0;
128
  $donors = [];
129
 
130
  foreach ( $paymentObjects as $paymentObject ) {
131
- if ( $paymentObject->date > $startStr && $paymentObject->date < $endStr ) {
132
  if ( $paymentObject->status == 'publish' || $paymentObject->status == 'give_subscription' ) {
133
  $earnings += $paymentObject->total;
134
  $donors[] = $paymentObject->donor_id;
16
  $this->endpoint = 'income';
17
  }
18
 
19
+ public function getReport( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
67
 
68
  switch ( $intervalStr ) {
69
  case 'P1D':
70
+ $time = $periodStart->format( 'Y-m-d' );
71
  $periodLabel = $periodStart->format( 'l' );
72
  break;
73
  case 'PT12H':
90
  [
91
  'currency_code' => $this->currency,
92
  'decode_currency' => true,
93
+ 'sanitize' => false,
94
  ]
95
  ),
96
  'body' => $donorsForPeriod . ' ' . __( 'Donors', 'give' ),
123
 
124
  public function get_values( $startStr, $endStr ) {
125
 
126
+ $paymentObjects = $this->getPayments( $startStr, $endStr );
127
 
128
  $earnings = 0;
129
  $donors = [];
130
 
131
  foreach ( $paymentObjects as $paymentObject ) {
132
+ if ( $paymentObject->date >= $startStr && $paymentObject->date < $endStr ) {
133
  if ( $paymentObject->status == 'publish' || $paymentObject->status == 'give_subscription' ) {
134
  $earnings += $paymentObject->total;
135
  $donors[] = $paymentObject->donor_id;
src/API/Endpoints/Reports/IncomeBreakdown.php CHANGED
@@ -16,7 +16,7 @@ class IncomeBreakdown extends Endpoint {
16
  $this->endpoint = 'income-breakdown';
17
  }
18
 
19
- public function get_report( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
@@ -43,8 +43,7 @@ class IncomeBreakdown extends Endpoint {
43
 
44
  public function get_data( $start, $end, $intervalStr ) {
45
 
46
- $tooltips = [];
47
- $income = [];
48
 
49
  $interval = new \DateInterval( $intervalStr );
50
 
@@ -56,7 +55,8 @@ class IncomeBreakdown extends Endpoint {
56
 
57
  while ( $periodStart < $end ) {
58
 
59
- $values = $this->get_values( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
 
60
  $incomeForPeriod = $values['income'];
61
  $donorsForPeriod = $values['donors'];
62
  $refundsForPeriod = $values['refunds'];
@@ -76,7 +76,7 @@ class IncomeBreakdown extends Endpoint {
76
  $periodLabel = $periodEnd->format( 'F j, Y' );
77
  }
78
 
79
- $income[] = [
80
  __( 'Date', 'give' ) => $periodLabel,
81
  __( 'Donors', 'give' ) => $donorsForPeriod,
82
  __( 'Donations', 'give' ) => $incomeForPeriod,
@@ -89,15 +89,13 @@ class IncomeBreakdown extends Endpoint {
89
  date_add( $periodEnd, $interval );
90
  }
91
 
92
- // Create data objec to be returned, with 'highlights' object containing total and average figures to display
93
- $data = $income;
94
  return $data;
95
 
96
  }
97
 
98
  public function get_values( $startStr, $endStr ) {
99
 
100
- $paymentObjects = $this->get_payments( $startStr, $endStr );
101
 
102
  $income = 0;
103
  $refundTotal = 0;
@@ -105,7 +103,7 @@ class IncomeBreakdown extends Endpoint {
105
  $donors = [];
106
 
107
  foreach ( $paymentObjects as $paymentObject ) {
108
- if ( $paymentObject->date > $startStr && $paymentObject->date < $endStr ) {
109
  switch ( $paymentObject->status ) {
110
  case 'give_subscription':
111
  case 'publish': {
@@ -131,6 +129,7 @@ class IncomeBreakdown extends Endpoint {
131
  [
132
  'currency_code' => $this->currency,
133
  'decode_currency' => true,
 
134
  ]
135
  ),
136
  'donors' => count( $unique ),
@@ -140,6 +139,7 @@ class IncomeBreakdown extends Endpoint {
140
  [
141
  'currency_code' => $this->currency,
142
  'decode_currency' => true,
 
143
  ]
144
  ),
145
  ];
16
  $this->endpoint = 'income-breakdown';
17
  }
18
 
19
+ public function getReport( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
43
 
44
  public function get_data( $start, $end, $intervalStr ) {
45
 
46
+ $data = [];
 
47
 
48
  $interval = new \DateInterval( $intervalStr );
49
 
55
 
56
  while ( $periodStart < $end ) {
57
 
58
+ $values = $this->get_values( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
59
+
60
  $incomeForPeriod = $values['income'];
61
  $donorsForPeriod = $values['donors'];
62
  $refundsForPeriod = $values['refunds'];
76
  $periodLabel = $periodEnd->format( 'F j, Y' );
77
  }
78
 
79
+ $data[] = [
80
  __( 'Date', 'give' ) => $periodLabel,
81
  __( 'Donors', 'give' ) => $donorsForPeriod,
82
  __( 'Donations', 'give' ) => $incomeForPeriod,
89
  date_add( $periodEnd, $interval );
90
  }
91
 
 
 
92
  return $data;
93
 
94
  }
95
 
96
  public function get_values( $startStr, $endStr ) {
97
 
98
+ $paymentObjects = $this->getPayments( $startStr, $endStr );
99
 
100
  $income = 0;
101
  $refundTotal = 0;
103
  $donors = [];
104
 
105
  foreach ( $paymentObjects as $paymentObject ) {
106
+ if ( $paymentObject->date > $startStr && $paymentObject->date <= $endStr ) {
107
  switch ( $paymentObject->status ) {
108
  case 'give_subscription':
109
  case 'publish': {
129
  [
130
  'currency_code' => $this->currency,
131
  'decode_currency' => true,
132
+ 'sanitize' => false,
133
  ]
134
  ),
135
  'donors' => count( $unique ),
139
  [
140
  'currency_code' => $this->currency,
141
  'decode_currency' => true,
142
+ 'sanitize' => false,
143
  ]
144
  ),
145
  ];
src/API/Endpoints/Reports/PaymentMethods.php CHANGED
@@ -14,9 +14,9 @@ class PaymentMethods extends Endpoint {
14
  $this->endpoint = 'payment-methods';
15
  }
16
 
17
- public function get_report( $request ) {
18
 
19
- $paymentObjects = $this->get_payments( $request->get_param( 'start' ), $request->get_param( 'end' ), 'date', -1 );
20
  $gatewayObjects = give_get_payment_gateways();
21
 
22
  if ( $this->testMode === false ) {
@@ -64,6 +64,7 @@ class PaymentMethods extends Endpoint {
64
  [
65
  'currency_code' => $this->currency,
66
  'decode_currency' => true,
 
67
  ]
68
  ),
69
  'body' => $gateway['count'] . ' ' . __( 'Payments', 'give' ),
14
  $this->endpoint = 'payment-methods';
15
  }
16
 
17
+ public function getReport( $request ) {
18
 
19
+ $paymentObjects = $this->getPayments( $request->get_param( 'start' ), $request->get_param( 'end' ), 'date', -1 );
20
  $gatewayObjects = give_get_payment_gateways();
21
 
22
  if ( $this->testMode === false ) {
64
  [
65
  'currency_code' => $this->currency,
66
  'decode_currency' => true,
67
+ 'sanitize' => false,
68
  ]
69
  ),
70
  'body' => $gateway['count'] . ' ' . __( 'Payments', 'give' ),
src/API/Endpoints/Reports/PaymentStatuses.php CHANGED
@@ -14,7 +14,7 @@ class PaymentStatuses extends Endpoint {
14
  $this->endpoint = 'payment-statuses';
15
  }
16
 
17
- public function get_report( $request ) {
18
 
19
  $start = date_create( $request->get_param( 'start' ) );
20
  $end = date_create( $request->get_param( 'end' ) );
14
  $this->endpoint = 'payment-statuses';
15
  }
16
 
17
+ public function getReport( $request ) {
18
 
19
  $start = date_create( $request->get_param( 'start' ) );
20
  $end = date_create( $request->get_param( 'end' ) );
src/API/Endpoints/Reports/RecentDonations.php CHANGED
@@ -14,9 +14,9 @@ class RecentDonations extends Endpoint {
14
  $this->endpoint = 'recent-donations';
15
  }
16
 
17
- public function get_report( $request ) {
18
 
19
- $paymentObjects = $this->get_payments( $request->get_param( 'start' ), $request->get_param( 'end' ), 'date', 50 );
20
 
21
  // Populate $list with arrays in correct shape for frontend RESTList component
22
  $data = [];
14
  $this->endpoint = 'recent-donations';
15
  }
16
 
17
+ public function getReport( $request ) {
18
 
19
+ $paymentObjects = $this->getPayments( $request->get_param( 'start' ), $request->get_param( 'end' ), 'date', 50 );
20
 
21
  // Populate $list with arrays in correct shape for frontend RESTList component
22
  $data = [];
src/API/Endpoints/Reports/TopDonors.php CHANGED
@@ -14,7 +14,7 @@ class TopDonors extends Endpoint {
14
  $this->endpoint = 'top-donors';
15
  }
16
 
17
- public function get_report( $request ) {
18
  $start = date_create( $request->get_param( 'start' ) );
19
  $end = date_create( $request->get_param( 'end' ) );
20
 
@@ -23,7 +23,7 @@ class TopDonors extends Endpoint {
23
 
24
  public function get_data( $start, $end ) {
25
 
26
- $paymentObjects = $this->get_payments( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d 23:i:s' ), 'date', -1 );
27
 
28
  $donors = [];
29
 
@@ -36,6 +36,7 @@ class TopDonors extends Endpoint {
36
  [
37
  'currency_code' => $this->currency,
38
  'decode_currency' => true,
 
39
  ]
40
  );
41
  $donors[ $paymentObject->donor_id ]['donations'] = isset( $donors[ $paymentObject->donor_id ]['donations'] ) ? $donors[ $paymentObject->donor_id ]['donations'] += 1 : 1;
14
  $this->endpoint = 'top-donors';
15
  }
16
 
17
+ public function getReport( $request ) {
18
  $start = date_create( $request->get_param( 'start' ) );
19
  $end = date_create( $request->get_param( 'end' ) );
20
 
23
 
24
  public function get_data( $start, $end ) {
25
 
26
+ $paymentObjects = $this->getPayments( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d 23:i:s' ), 'date', -1 );
27
 
28
  $donors = [];
29
 
36
  [
37
  'currency_code' => $this->currency,
38
  'decode_currency' => true,
39
+ 'sanitize' => false,
40
  ]
41
  );
42
  $donors[ $paymentObject->donor_id ]['donations'] = isset( $donors[ $paymentObject->donor_id ]['donations'] ) ? $donors[ $paymentObject->donor_id ]['donations'] += 1 : 1;
src/API/Endpoints/Reports/TotalDonors.php CHANGED
@@ -16,7 +16,7 @@ class TotalDonors extends Endpoint {
16
  $this->endpoint = 'total-donors';
17
  }
18
 
19
- public function get_report( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
@@ -28,7 +28,10 @@ class TotalDonors extends Endpoint {
28
  $interval = round( $diff->days / 12 );
29
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
30
  break;
31
- case ( $diff->days > 7 ):
 
 
 
32
  $data = $this->get_data( $start, $end, 'PT12H' );
33
  break;
34
  case ( $diff->days > 2 ):
@@ -58,14 +61,15 @@ class TotalDonors extends Endpoint {
58
  while ( $periodStart < $end ) {
59
 
60
  $donorsForPeriod = $this->get_donors( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
 
61
 
62
  switch ( $intervalStr ) {
63
- case 'PT12H':
64
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
 
65
  break;
 
66
  case 'PT3H':
67
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
68
- break;
69
  case 'PT1H':
70
  $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
71
  break;
@@ -74,12 +78,12 @@ class TotalDonors extends Endpoint {
74
  }
75
 
76
  $donors[] = [
77
- 'x' => $periodEnd->format( 'Y-m-d H:i:s' ),
78
  'y' => $donorsForPeriod,
79
  ];
80
 
81
  $tooltips[] = [
82
- 'title' => $donorsForPeriod . ' ' . __( 'Donors', 'give' ),
83
  'body' => __( 'Total Donors', 'give' ),
84
  'footer' => $periodLabel,
85
  ];
@@ -89,6 +93,11 @@ class TotalDonors extends Endpoint {
89
  date_add( $periodEnd, $interval );
90
  }
91
 
 
 
 
 
 
92
  $totalDonorsForPeriod = $this->get_donors( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
93
  $trend = $this->get_trend( $start, $end, $donors );
94
 
@@ -145,12 +154,12 @@ class TotalDonors extends Endpoint {
145
 
146
  public function get_donors( $startStr, $endStr ) {
147
 
148
- $paymentObjects = $this->get_payments( $startStr, $endStr );
149
 
150
  $donors = [];
151
 
152
  foreach ( $paymentObjects as $paymentObject ) {
153
- if ( $paymentObject->date > $startStr && $paymentObject->date < $endStr ) {
154
  if ( $paymentObject->status == 'publish' || $paymentObject->status == 'give_subscription' ) {
155
  $donors[] = $paymentObject->donor_id;
156
  }
16
  $this->endpoint = 'total-donors';
17
  }
18
 
19
+ public function getReport( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
28
  $interval = round( $diff->days / 12 );
29
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
30
  break;
31
+ case ( $diff->days > 5 ):
32
+ $data = $this->get_data( $start, $end, 'P1D' );
33
+ break;
34
+ case ( $diff->days > 4 ):
35
  $data = $this->get_data( $start, $end, 'PT12H' );
36
  break;
37
  case ( $diff->days > 2 ):
61
  while ( $periodStart < $end ) {
62
 
63
  $donorsForPeriod = $this->get_donors( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
64
+ $time = $periodEnd->format( 'Y-m-d H:i:s' );
65
 
66
  switch ( $intervalStr ) {
67
+ case 'P1D':
68
+ $time = $periodStart->format( 'Y-m-d' );
69
+ $periodLabel = $periodStart->format( 'l' );
70
  break;
71
+ case 'PT12H':
72
  case 'PT3H':
 
 
73
  case 'PT1H':
74
  $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
75
  break;
78
  }
79
 
80
  $donors[] = [
81
+ 'x' => $time,
82
  'y' => $donorsForPeriod,
83
  ];
84
 
85
  $tooltips[] = [
86
+ 'title' => sprintf( _n( '%d Donor', '%d Donors', $donorsForPeriod, 'give' ), $donorsForPeriod ),
87
  'body' => __( 'Total Donors', 'give' ),
88
  'footer' => $periodLabel,
89
  ];
93
  date_add( $periodEnd, $interval );
94
  }
95
 
96
+ if ( $intervalStr === 'P1D' ) {
97
+ $donors = array_slice( $donors, 1 );
98
+ $tooltips = array_slice( $tooltips, 1 );
99
+ }
100
+
101
  $totalDonorsForPeriod = $this->get_donors( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
102
  $trend = $this->get_trend( $start, $end, $donors );
103
 
154
 
155
  public function get_donors( $startStr, $endStr ) {
156
 
157
+ $paymentObjects = $this->getPayments( $startStr, $endStr );
158
 
159
  $donors = [];
160
 
161
  foreach ( $paymentObjects as $paymentObject ) {
162
+ if ( $paymentObject->date >= $startStr && $paymentObject->date < $endStr ) {
163
  if ( $paymentObject->status == 'publish' || $paymentObject->status == 'give_subscription' ) {
164
  $donors[] = $paymentObject->donor_id;
165
  }
src/API/Endpoints/Reports/TotalIncome.php CHANGED
@@ -16,7 +16,7 @@ class TotalIncome extends Endpoint {
16
  $this->endpoint = 'total-income';
17
  }
18
 
19
- public function get_report( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
@@ -28,7 +28,10 @@ class TotalIncome extends Endpoint {
28
  $interval = round( $diff->days / 12 );
29
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
30
  break;
31
- case ( $diff->days > 7 ):
 
 
 
32
  $data = $this->get_data( $start, $end, 'PT12H' );
33
  break;
34
  case ( $diff->days > 2 ):
@@ -55,17 +58,18 @@ class TotalIncome extends Endpoint {
55
  // Subtract interval to set up period start
56
  date_sub( $periodStart, $interval );
57
 
58
- while ( $periodStart <= $end ) {
59
 
60
  $incomeForPeriod = $this->get_income( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
 
61
 
62
  switch ( $intervalStr ) {
63
- case 'PT12H':
64
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
 
65
  break;
 
66
  case 'PT3H':
67
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
68
- break;
69
  case 'PT1H':
70
  $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
71
  break;
@@ -74,7 +78,7 @@ class TotalIncome extends Endpoint {
74
  }
75
 
76
  $income[] = [
77
- 'x' => $periodEnd->format( 'Y-m-d H:i:s' ),
78
  'y' => $incomeForPeriod,
79
  ];
80
 
@@ -84,43 +88,50 @@ class TotalIncome extends Endpoint {
84
  [
85
  'currency_code' => $this->currency,
86
  'decode_currency' => true,
 
87
  ]
88
  ),
89
  'body' => __( 'Total Income', 'give' ),
90
  'footer' => $periodLabel,
91
  ];
92
 
93
- // Add interval to set up next period
94
- date_add( $periodStart, $interval );
95
- date_add( $periodEnd, $interval );
96
  }
97
 
98
- $totalIncomeForPeriod = $this->get_earnings( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d' ) );
99
- $trend = $this->get_trend( $start, $end, $income );
100
-
101
- $diff = date_diff( $start, $end );
102
- $info = $diff->days > 1 ? __( 'VS previous', 'give' ) . ' ' . $diff->days . ' ' . __( 'days', 'give' ) : __( 'VS previous day', 'give' );
103
 
104
- // Create data objec to be returned, with 'highlights' object containing total and average figures to display
105
- $data = [
106
- 'datasets' => [
107
- [
108
- 'data' => $income,
109
- 'tooltips' => $tooltips,
110
- 'trend' => $trend,
111
- 'info' => $info,
112
- 'highlight' => give_currency_filter(
113
- give_format_amount( $totalIncomeForPeriod ),
114
- [
115
- 'currency_code' => $this->currency,
116
- 'decode_currency' => true,
117
- ]
118
- ),
119
- ],
 
 
 
 
 
 
120
  ],
121
- ];
 
122
 
123
- return $data;
124
 
125
  }
126
 
@@ -133,8 +144,8 @@ class TotalIncome extends Endpoint {
133
 
134
  $prevEnd = clone $start;
135
 
136
- $prevIncome = $this->get_earnings( $prevStart->format( 'Y-m-d' ), $prevEnd->format( 'Y-m-d' ) );
137
- $currentIncome = $this->get_earnings( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d' ) );
138
 
139
  // Set default trend to 0
140
  $trend = 0;
@@ -157,13 +168,13 @@ class TotalIncome extends Endpoint {
157
 
158
  public function get_income( $startStr, $endStr ) {
159
 
160
- $paymentObjects = $this->get_payments( $startStr, $endStr );
161
 
162
  $income = 0;
163
 
164
  foreach ( $paymentObjects as $paymentObject ) {
165
  if ( $paymentObject->currency === $this->currency ) {
166
- if ( $paymentObject->date > $startStr && $paymentObject->date < $endStr ) {
167
  if ( $paymentObject->status === 'publish' || $paymentObject->status === 'give_subscription' ) {
168
  $income += $paymentObject->total;
169
  }
@@ -174,7 +185,4 @@ class TotalIncome extends Endpoint {
174
  return $income;
175
  }
176
 
177
- public function get_earnings( $startStr, $endStr ) {
178
- return $this->get_income( $startStr, $endStr );
179
- }
180
  }
16
  $this->endpoint = 'total-income';
17
  }
18
 
19
+ public function getReport( $request ) {
20
  $start = date_create( $request->get_param( 'start' ) );
21
  $end = date_create( $request->get_param( 'end' ) );
22
  $diff = date_diff( $start, $end );
28
  $interval = round( $diff->days / 12 );
29
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
30
  break;
31
+ case ( $diff->days > 5 ):
32
+ $data = $this->get_data( $start, $end, 'P1D' );
33
+ break;
34
+ case ( $diff->days > 4 ):
35
  $data = $this->get_data( $start, $end, 'PT12H' );
36
  break;
37
  case ( $diff->days > 2 ):
58
  // Subtract interval to set up period start
59
  date_sub( $periodStart, $interval );
60
 
61
+ while ( $periodStart < $end ) {
62
 
63
  $incomeForPeriod = $this->get_income( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
64
+ $time = $periodEnd->format( 'Y-m-d H:i:s' );
65
 
66
  switch ( $intervalStr ) {
67
+ case 'P1D':
68
+ $time = $periodStart->format( 'Y-m-d' );
69
+ $periodLabel = $periodStart->format( 'l' );
70
  break;
71
+ case 'PT12H':
72
  case 'PT3H':
 
 
73
  case 'PT1H':
74
  $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
75
  break;
78
  }
79
 
80
  $income[] = [
81
+ 'x' => $time,
82
  'y' => $incomeForPeriod,
83
  ];
84
 
88
  [
89
  'currency_code' => $this->currency,
90
  'decode_currency' => true,
91
+ 'sanitize' => false,
92
  ]
93
  ),
94
  'body' => __( 'Total Income', 'give' ),
95
  'footer' => $periodLabel,
96
  ];
97
 
98
+ // Add interval to set up next period
99
+ date_add( $periodStart, $interval );
100
+ date_add( $periodEnd, $interval );
101
  }
102
 
103
+ if ( $intervalStr === 'P1D' ) {
104
+ $income = array_slice( $income, 1 );
105
+ $tooltips = array_slice( $tooltips, 1 );
106
+ }
 
107
 
108
+ $totalIncomeForPeriod = $this->get_income( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
109
+ $trend = $this->get_trend( $start, $end, $income );
110
+
111
+ $diff = date_diff( $start, $end );
112
+ $info = $diff->days > 1 ? __( 'VS previous', 'give' ) . ' ' . $diff->days . ' ' . __( 'days', 'give' ) : __( 'VS previous day', 'give' );
113
+
114
+ // Create data objec to be returned, with 'highlights' object containing total and average figures to display
115
+ $data = [
116
+ 'datasets' => [
117
+ [
118
+ 'data' => $income,
119
+ 'tooltips' => $tooltips,
120
+ 'trend' => $trend,
121
+ 'info' => $info,
122
+ 'highlight' => give_currency_filter(
123
+ give_format_amount( $totalIncomeForPeriod ),
124
+ [
125
+ 'currency_code' => $this->currency,
126
+ 'decode_currency' => true,
127
+ 'sanitize' => false,
128
+ ]
129
+ ),
130
  ],
131
+ ],
132
+ ];
133
 
134
+ return $data;
135
 
136
  }
137
 
144
 
145
  $prevEnd = clone $start;
146
 
147
+ $prevIncome = $this->get_income( $prevStart->format( 'Y-m-d' ), $prevEnd->format( 'Y-m-d' ) );
148
+ $currentIncome = $this->get_income( $start->format( 'Y-m-d' ), $end->format( 'Y-m-d' ) );
149
 
150
  // Set default trend to 0
151
  $trend = 0;
168
 
169
  public function get_income( $startStr, $endStr ) {
170
 
171
+ $paymentObjects = $this->getPayments( $startStr, $endStr );
172
 
173
  $income = 0;
174
 
175
  foreach ( $paymentObjects as $paymentObject ) {
176
  if ( $paymentObject->currency === $this->currency ) {
177
+ if ( $paymentObject->date >= $startStr && $paymentObject->date < $endStr ) {
178
  if ( $paymentObject->status === 'publish' || $paymentObject->status === 'give_subscription' ) {
179
  $income += $paymentObject->total;
180
  }
185
  return $income;
186
  }
187
 
 
 
 
188
  }
src/API/Endpoints/Reports/TotalRefunds.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * Income over time endpoint
5
  *
6
  * @package Give
7
  */
@@ -18,7 +18,7 @@ class TotalRefunds extends Endpoint {
18
  $this->endpoint = 'total-refunds';
19
  }
20
 
21
- public function get_report( $request ) {
22
  $start = date_create( $request->get_param( 'start' ) );
23
  $end = date_create( $request->get_param( 'end' ) );
24
  $diff = date_diff( $start, $end );
@@ -30,7 +30,10 @@ class TotalRefunds extends Endpoint {
30
  $interval = round( $diff->days / 12 );
31
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
32
  break;
33
- case ( $diff->days > 7 ):
 
 
 
34
  $data = $this->get_data( $start, $end, 'PT12H' );
35
  break;
36
  case ( $diff->days > 2 ):
@@ -49,7 +52,7 @@ class TotalRefunds extends Endpoint {
49
  $tooltips = [];
50
  $refunds = [];
51
 
52
- $interval = new DateInterval( $intervalStr );
53
 
54
  $periodStart = clone $start;
55
  $periodEnd = clone $start;
@@ -60,14 +63,15 @@ class TotalRefunds extends Endpoint {
60
  while ( $periodStart < $end ) {
61
 
62
  $refundsForPeriod = $this->get_refunds( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
 
63
 
64
  switch ( $intervalStr ) {
65
- case 'PT12H':
66
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
 
67
  break;
 
68
  case 'PT3H':
69
- $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
70
- break;
71
  case 'PT1H':
72
  $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
73
  break;
@@ -76,12 +80,12 @@ class TotalRefunds extends Endpoint {
76
  }
77
 
78
  $refunds[] = [
79
- 'x' => $periodEnd->format( 'Y-m-d H:i:s' ),
80
  'y' => $refundsForPeriod,
81
  ];
82
 
83
  $tooltips[] = [
84
- 'title' => $refundsForPeriod . ' ' . __( 'Refunds', 'give' ),
85
  'body' => __( 'Total Refunds', 'give' ),
86
  'footer' => $periodLabel,
87
  ];
@@ -91,11 +95,16 @@ class TotalRefunds extends Endpoint {
91
  date_add( $periodEnd, $interval );
92
  }
93
 
 
 
 
 
 
94
  $totalRefundsForPeriod = $this->get_refunds( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
95
  $trend = $this->get_trend( $start, $end, $refunds );
96
 
97
  $diff = date_diff( $start, $end );
98
- $info = $diff->days > 1 ? __( 'VS previous' ) . ' ' . $diff->days . ' ' . __( 'days', 'give' ) : __( 'VS previous day' );
99
 
100
  // Create data objec to be returned, with 'highlights' object containing total and average figures to display
101
  $data = [
@@ -114,7 +123,7 @@ class TotalRefunds extends Endpoint {
114
 
115
  }
116
 
117
- public function get_trend( $start, $end, $income ) {
118
 
119
  $interval = $start->diff( $end );
120
 
@@ -147,11 +156,11 @@ class TotalRefunds extends Endpoint {
147
 
148
  public function get_refunds( $startStr, $endStr ) {
149
 
150
- $paymentObjects = $this->get_payments( $startStr, $endStr );
151
 
152
  $refunds = 0;
153
  foreach ( $paymentObjects as $paymentObject ) {
154
- if ( $paymentObject->status == 'refunded' && $paymentObject->date > $startStr && $paymentObject->date < $endStr ) {
155
  $refunds += 1;
156
  }
157
  }
1
  <?php
2
 
3
  /**
4
+ * Refunds over time endpoint
5
  *
6
  * @package Give
7
  */
18
  $this->endpoint = 'total-refunds';
19
  }
20
 
21
+ public function getReport( $request ) {
22
  $start = date_create( $request->get_param( 'start' ) );
23
  $end = date_create( $request->get_param( 'end' ) );
24
  $diff = date_diff( $start, $end );
30
  $interval = round( $diff->days / 12 );
31
  $data = $this->get_data( $start, $end, 'P' . $interval . 'D' );
32
  break;
33
+ case ( $diff->days > 5 ):
34
+ $data = $this->get_data( $start, $end, 'P1D' );
35
+ break;
36
+ case ( $diff->days > 4 ):
37
  $data = $this->get_data( $start, $end, 'PT12H' );
38
  break;
39
  case ( $diff->days > 2 ):
52
  $tooltips = [];
53
  $refunds = [];
54
 
55
+ $interval = new \DateInterval( $intervalStr );
56
 
57
  $periodStart = clone $start;
58
  $periodEnd = clone $start;
63
  while ( $periodStart < $end ) {
64
 
65
  $refundsForPeriod = $this->get_refunds( $periodStart->format( 'Y-m-d H:i:s' ), $periodEnd->format( 'Y-m-d H:i:s' ) );
66
+ $time = $periodEnd->format( 'Y-m-d H:i:s' );
67
 
68
  switch ( $intervalStr ) {
69
+ case 'P1D':
70
+ $time = $periodStart->format( 'Y-m-d' );
71
+ $periodLabel = $periodStart->format( 'l' );
72
  break;
73
+ case 'PT12H':
74
  case 'PT3H':
 
 
75
  case 'PT1H':
76
  $periodLabel = $periodStart->format( 'D ga' ) . ' - ' . $periodEnd->format( 'D ga' );
77
  break;
80
  }
81
 
82
  $refunds[] = [
83
+ 'x' => $time,
84
  'y' => $refundsForPeriod,
85
  ];
86
 
87
  $tooltips[] = [
88
+ 'title' => sprintf( _n( '%d Donor', '%d Donors', $refundsForPeriod, 'give' ), $refundsForPeriod ),
89
  'body' => __( 'Total Refunds', 'give' ),
90
  'footer' => $periodLabel,
91
  ];
95
  date_add( $periodEnd, $interval );
96
  }
97
 
98
+ if ( $intervalStr === 'P1D' ) {
99
+ $refunds = array_slice( $refunds, 1 );
100
+ $tooltips = array_slice( $tooltips, 1 );
101
+ }
102
+
103
  $totalRefundsForPeriod = $this->get_refunds( $start->format( 'Y-m-d H:i:s' ), $end->format( 'Y-m-d H:i:s' ) );
104
  $trend = $this->get_trend( $start, $end, $refunds );
105
 
106
  $diff = date_diff( $start, $end );
107
+ $info = $diff->days > 1 ? __( 'VS previous', 'give' ) . ' ' . $diff->days . ' ' . __( 'days', 'give' ) : __( 'VS previous day', 'give' );
108
 
109
  // Create data objec to be returned, with 'highlights' object containing total and average figures to display
110
  $data = [
123
 
124
  }
125
 
126
+ public function get_trend( $start, $end, $refunds ) {
127
 
128
  $interval = $start->diff( $end );
129
 
156
 
157
  public function get_refunds( $startStr, $endStr ) {
158
 
159
+ $paymentObjects = $this->getPayments( $startStr, $endStr );
160
 
161
  $refunds = 0;
162
  foreach ( $paymentObjects as $paymentObject ) {
163
+ if ( $paymentObject->status == 'refunded' && $paymentObject->date >= $startStr && $paymentObject->date < $endStr ) {
164
  $refunds += 1;
165
  }
166
  }
src/API/RestRoute.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\API;
4
+
5
+ interface RestRoute {
6
+ /**
7
+ * Register the route with WordPress using the register_rest_route function.
8
+ *
9
+ * @since 2.8.0
10
+ *
11
+ * @return void
12
+ */
13
+ public function registerRoute();
14
+ }
src/Container/Container.php ADDED
@@ -0,0 +1,1160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\Container;
4
+
5
+ use ArrayAccess;
6
+ use Closure;
7
+ use Exception;
8
+ use Give\Container\Exceptions\BindingResolutionException;
9
+ use InvalidArgumentException;
10
+ use LogicException;
11
+ use ReflectionClass;
12
+ use ReflectionException;
13
+ use ReflectionParameter;
14
+
15
+ class Container implements ArrayAccess {
16
+ /**
17
+ * An array of the types that have been resolved.
18
+ *
19
+ * @var bool[]
20
+ */
21
+ protected $resolved = [];
22
+
23
+ /**
24
+ * The container's bindings.
25
+ *
26
+ * @var array[]
27
+ */
28
+ protected $bindings = [];
29
+
30
+ /**
31
+ * The container's method bindings.
32
+ *
33
+ * @var Closure[]
34
+ */
35
+ protected $methodBindings = [];
36
+
37
+ /**
38
+ * The container's shared instances.
39
+ *
40
+ * @var object[]
41
+ */
42
+ protected $instances = [];
43
+
44
+ /**
45
+ * The registered type aliases.
46
+ *
47
+ * @var string[]
48
+ */
49
+ protected $aliases = [];
50
+
51
+ /**
52
+ * The registered aliases keyed by the abstract name.
53
+ *
54
+ * @var array[]
55
+ */
56
+ protected $abstractAliases = [];
57
+
58
+ /**
59
+ * The extension closures for services.
60
+ *
61
+ * @var array[]
62
+ */
63
+ protected $extenders = [];
64
+
65
+ /**
66
+ * All of the registered tags.
67
+ *
68
+ * @var array[]
69
+ */
70
+ protected $tags = [];
71
+
72
+ /**
73
+ * The stack of concretions currently being built.
74
+ *
75
+ * @var array[]
76
+ */
77
+ protected $buildStack = [];
78
+
79
+ /**
80
+ * The parameter override stack.
81
+ *
82
+ * @var array[]
83
+ */
84
+ protected $with = [];
85
+
86
+ /**
87
+ * All of the registered rebound callbacks.
88
+ *
89
+ * @var array[]
90
+ */
91
+ protected $reboundCallbacks = [];
92
+
93
+ /**
94
+ * All of the global resolving callbacks.
95
+ *
96
+ * @var Closure[]
97
+ */
98
+ protected $globalResolvingCallbacks = [];
99
+
100
+ /**
101
+ * All of the global after resolving callbacks.
102
+ *
103
+ * @var Closure[]
104
+ */
105
+ protected $globalAfterResolvingCallbacks = [];
106
+
107
+ /**
108
+ * All of the resolving callbacks by class type.
109
+ *
110
+ * @var array[]
111
+ */
112
+ protected $resolvingCallbacks = [];
113
+
114
+ /**
115
+ * All of the after resolving callbacks by class type.
116
+ *
117
+ * @var array[]
118
+ */
119
+ protected $afterResolvingCallbacks = [];
120
+
121
+ /**
122
+ * Determine if the given abstract type has been bound.
123
+ *
124
+ * @param string $abstract
125
+ *
126
+ * @return bool
127
+ */
128
+ public function bound( $abstract ) {
129
+ return isset( $this->bindings[ $abstract ] ) ||
130
+ isset( $this->instances[ $abstract ] ) ||
131
+ $this->isAlias( $abstract );
132
+ }
133
+
134
+ /**
135
+ * Returns true if the container can return an entry for the given identifier.
136
+ * Returns false otherwise.
137
+ *
138
+ * `has($id)` returning true does not mean that `get($id)` will not throw an exception.
139
+ * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`.
140
+ *
141
+ * @param string $id Identifier of the entry to look for.
142
+ *
143
+ * @return bool
144
+ */
145
+ public function has( $id ) {
146
+ return $this->bound( $id );
147
+ }
148
+
149
+ /**
150
+ * Determine if the given abstract type has been resolved.
151
+ *
152
+ * @param string $abstract
153
+ *
154
+ * @return bool
155
+ */
156
+ public function resolved( $abstract ) {
157
+ if ( $this->isAlias( $abstract ) ) {
158
+ $abstract = $this->getAlias( $abstract );
159
+ }
160
+
161
+ return isset( $this->resolved[ $abstract ] ) ||
162
+ isset( $this->instances[ $abstract ] );
163
+ }
164
+
165
+ /**
166
+ * Determine if a given type is shared.
167
+ *
168
+ * @param string $abstract
169
+ *
170
+ * @return bool
171
+ */
172
+ public function isShared( $abstract ) {
173
+ return isset( $this->instances[ $abstract ] ) ||
174
+ ( isset( $this->bindings[ $abstract ]['shared'] ) &&
175
+ $this->bindings[ $abstract ]['shared'] === true );
176
+ }
177
+
178
+ /**
179
+ * Determine if a given string is an alias.
180
+ *
181
+ * @param string $name
182
+ *
183
+ * @return bool
184
+ */
185
+ public function isAlias( $name ) {
186
+ return isset( $this->aliases[ $name ] );
187
+ }
188
+
189
+ /**
190
+ * Register a binding with the container.
191
+ *
192
+ * @param string $abstract
193
+ * @param Closure|string|null $concrete
194
+ * @param bool $shared
195
+ *
196
+ * @return void
197
+ */
198
+ public function bind( $abstract, $concrete = null, $shared = false ) {
199
+ $this->dropStaleInstances( $abstract );
200
+
201
+ // If no concrete type was given, we will simply set the concrete type to the
202
+ // abstract type. After that, the concrete type to be registered as shared
203
+ // without being forced to state their classes in both of the parameters.
204
+ if ( is_null( $concrete ) ) {
205
+ $concrete = $abstract;
206
+ }
207
+
208
+ // If the factory is not a Closure, it means it is just a class name which is
209
+ // bound into this container to the abstract type and we will just wrap it
210
+ // up inside its own Closure to give us more convenience when extending.
211
+ if ( ! $concrete instanceof Closure ) {
212
+ $concrete = $this->getClosure( $abstract, $concrete );
213
+ }
214
+
215
+ $this->bindings[ $abstract ] = compact( 'concrete', 'shared' );
216
+
217
+ // If the abstract type was already resolved in this container we'll fire the
218
+ // rebound listener so that any objects which have already gotten resolved
219
+ // can have their copy of the object updated via the listener callbacks.
220
+ if ( $this->resolved( $abstract ) ) {
221
+ $this->rebound( $abstract );
222
+ }
223
+ }
224
+
225
+ /**
226
+ * Get the Closure to be used when building a type.
227
+ *
228
+ * @param string $abstract
229
+ * @param string $concrete
230
+ *
231
+ * @return Closure
232
+ */
233
+ protected function getClosure( $abstract, $concrete ) {
234
+ return function ( $container, $parameters = [] ) use ( $abstract, $concrete ) {
235
+ if ( $abstract == $concrete ) {
236
+ return $container->build( $concrete );
237
+ }
238
+
239
+ return $container->resolve(
240
+ $concrete,
241
+ $parameters,
242
+ $raiseEvents = false
243
+ );
244
+ };
245
+ }
246
+
247
+ /**
248
+ * Determine if the container has a method binding.
249
+ *
250
+ * @param string $method
251
+ *
252
+ * @return bool
253
+ */
254
+ public function hasMethodBinding( $method ) {
255
+ return isset( $this->methodBindings[ $method ] );
256
+ }
257
+
258
+ /**
259
+ * Bind a callback to resolve with Container::call.
260
+ *
261
+ * @param array|string $method
262
+ * @param Closure $callback
263
+ *
264
+ * @return void
265
+ */
266
+ public function bindMethod( $method, $callback ) {
267
+ $this->methodBindings[ $this->parseBindMethod( $method ) ] = $callback;
268
+ }
269
+
270
+ /**
271
+ * Get the method to be bound in class@method format.
272
+ *
273
+ * @param array|string $method
274
+ *
275
+ * @return string
276
+ */
277
+ protected function parseBindMethod( $method ) {
278
+ if ( is_array( $method ) ) {
279
+ return $method[0] . '@' . $method[1];
280
+ }
281
+
282
+ return $method;
283
+ }
284
+
285
+ /**
286
+ * Get the method binding for the given method.
287
+ *
288
+ * @param string $method
289
+ * @param mixed $instance
290
+ *
291
+ * @return mixed
292
+ */
293
+ public function callMethodBinding( $method, $instance ) {
294
+ return call_user_func( $this->methodBindings[ $method ], $instance, $this );
295
+ }
296
+
297
+ /**
298
+ * Register a binding if it hasn't already been registered.
299
+ *
300
+ * @param string $abstract
301
+ * @param Closure|string|null $concrete
302
+ * @param bool $shared
303
+ *
304
+ * @return void
305
+ */
306
+ public function bindIf( $abstract, $concrete = null, $shared = false ) {
307
+ if ( ! $this->bound( $abstract ) ) {
308
+ $this->bind( $abstract, $concrete, $shared );
309
+ }
310
+ }
311
+
312
+ /**
313
+ * Register a shared binding in the container.
314
+ *
315
+ * @param string $abstract
316
+ * @param Closure|string|null $concrete
317
+ *
318
+ * @return void
319
+ */
320
+ public function singleton( $abstract, $concrete = null ) {
321
+ $this->bind( $abstract, $concrete, true );
322
+ }
323
+
324
+ /**
325
+ * Register a shared binding if it hasn't already been registered.
326
+ *
327
+ * @param string $abstract
328
+ * @param Closure|string|null $concrete
329
+ *
330
+ * @return void
331
+ */
332
+ public function singletonIf( $abstract, $concrete = null ) {
333
+ if ( ! $this->bound( $abstract ) ) {
334
+ $this->singleton( $abstract, $concrete );
335
+ }
336
+ }
337
+
338
+ /**
339
+ * "Extend" an abstract type in the container.
340
+ *
341
+ * @param string $abstract
342
+ * @param Closure $closure
343
+ *
344
+ * @return void
345
+ *
346
+ * @throws \InvalidArgumentException
347
+ */
348
+ public function extend( $abstract, Closure $closure ) {
349
+ $abstract = $this->getAlias( $abstract );
350
+
351
+ if ( isset( $this->instances[ $abstract ] ) ) {
352
+ $this->instances[ $abstract ] = $closure( $this->instances[ $abstract ], $this );
353
+
354
+ $this->rebound( $abstract );
355
+ } else {
356
+ $this->extenders[ $abstract ][] = $closure;
357
+
358
+ if ( $this->resolved( $abstract ) ) {
359
+ $this->rebound( $abstract );
360
+ }
361
+ }
362
+ }
363
+
364
+ /**
365
+ * Register an existing instance as shared in the container.
366
+ *
367
+ * @param string $abstract
368
+ * @param mixed $instance
369
+ *
370
+ * @return mixed
371
+ */
372
+ public function instance( $abstract, $instance ) {
373
+ $this->removeAbstractAlias( $abstract );
374
+
375
+ $isBound = $this->bound( $abstract );
376
+
377
+ unset( $this->aliases[ $abstract ] );
378
+
379
+ // We'll check to determine if this type has been bound before, and if it has
380
+ // we will fire the rebound callbacks registered with the container and it
381
+ // can be updated with consuming classes that have gotten resolved here.
382
+ $this->instances[ $abstract ] = $instance;
383
+
384
+ if ( $isBound ) {
385
+ $this->rebound( $abstract );
386
+ }
387
+
388
+ return $instance;
389
+ }
390
+
391
+ /**
392
+ * Remove an alias from the contextual binding alias cache.
393
+ *
394
+ * @param string $searched
395
+ *
396
+ * @return void
397
+ */
398
+ protected function removeAbstractAlias( $searched ) {
399
+ if ( ! isset( $this->aliases[ $searched ] ) ) {
400
+ return;
401
+ }
402
+
403
+ foreach ( $this->abstractAliases as $abstract => $aliases ) {
404
+ foreach ( $aliases as $index => $alias ) {
405
+ if ( $alias == $searched ) {
406
+ unset( $this->abstractAliases[ $abstract ][ $index ] );
407
+ }
408
+ }
409
+ }
410
+ }
411
+
412
+ /**
413
+ * Assign a set of tags to a given binding.
414
+ *
415
+ * @param array|string $abstracts
416
+ * @param array|mixed ...$tags
417
+ *
418
+ * @return void
419
+ */
420
+ public function tag( $abstracts, $tags ) {
421
+ $tags = is_array( $tags ) ? $tags : array_slice( func_get_args(), 1 );
422
+
423
+ foreach ( $tags as $tag ) {
424
+ if ( ! isset( $this->tags[ $tag ] ) ) {
425
+ $this->tags[ $tag ] = [];
426
+ }
427
+
428
+ foreach ( (array) $abstracts as $abstract ) {
429
+ $this->tags[ $tag ][] = $abstract;
430
+ }
431
+ }
432
+ }
433
+
434
+ /**
435
+ * Alias a type to a different name.
436
+ *
437
+ * @param string $abstract
438
+ * @param string $alias
439
+ *
440
+ * @return void
441
+ *
442
+ * @throws LogicException
443
+ */
444
+ public function alias( $abstract, $alias ) {
445
+ if ( $alias === $abstract ) {
446
+ throw new LogicException( "[{$abstract}] is aliased to itself." );
447
+ }
448
+
449
+ $this->aliases[ $alias ] = $abstract;
450
+
451
+ $this->abstractAliases[ $abstract ][] = $alias;
452
+ }
453
+
454
+ /**
455
+ * Bind a new callback to an abstract's rebind event.
456
+ *
457
+ * @param string $abstract
458
+ * @param Closure $callback
459
+ *
460
+ * @return mixed
461
+ */
462
+ public function rebinding( $abstract, Closure $callback ) {
463
+ $this->reboundCallbacks[ $abstract = $this->getAlias( $abstract ) ][] = $callback;
464
+
465
+ if ( $this->bound( $abstract ) ) {
466
+ return $this->make( $abstract );
467
+ }
468
+
469
+ return null;
470
+ }
471
+
472
+ /**
473
+ * Refresh an instance on the given target and method.
474
+ *
475
+ * @param string $abstract
476
+ * @param mixed $target
477
+ * @param string $method
478
+ *
479
+ * @return mixed
480
+ */
481
+ public function refresh( $abstract, $target, $method ) {
482
+ return $this->rebinding(
483
+ $abstract,
484
+ function ( $app, $instance ) use ( $target, $method ) {
485
+ $target->{$method}( $instance );
486
+ }
487
+ );
488
+ }
489
+
490
+ /**
491
+ * Fire the "rebound" callbacks for the given abstract type.
492
+ *
493
+ * @param string $abstract
494
+ *
495
+ * @return void
496
+ */
497
+ protected function rebound( $abstract ) {
498
+ $instance = $this->make( $abstract );
499
+
500
+ foreach ( $this->getReboundCallbacks( $abstract ) as $callback ) {
501
+ $callback( $this, $instance );
502
+ }
503
+ }
504
+
505
+ /**
506
+ * Get the rebound callbacks for a given type.
507
+ *
508
+ * @param string $abstract
509
+ *
510
+ * @return array
511
+ */
512
+ protected function getReboundCallbacks( $abstract ) {
513
+ return isset( $this->reboundCallbacks[ $abstract ] ) ? $this->reboundCallbacks[ $abstract ] : [];
514
+ }
515
+
516
+ /**
517
+ * Get a closure to resolve the given type from the container.
518
+ *
519
+ * @param string $abstract
520
+ *
521
+ * @return Closure
522
+ */
523
+ public function factory( $abstract ) {
524
+ return function () use ( $abstract ) {
525
+ return $this->make( $abstract );
526
+ };
527
+ }
528
+
529
+ /**
530
+ * Resolve the given type from the container.
531
+ *
532
+ * @param string $abstract
533
+ * @param array $parameters
534
+ *
535
+ * @return mixed
536
+ */
537
+ public function make( $abstract, array $parameters = [] ) {
538
+ return $this->resolve( $abstract, $parameters );
539
+ }
540
+
541
+ /**
542
+ * Finds an entry of the container by its identifier and returns it.
543
+ *
544
+ * @param string $id Identifier of the entry to look for.
545
+ *
546
+ * @return mixed Entry.
547
+ * @throws Exception
548
+ */
549
+ public function get( $id ) {
550
+ try {
551
+ return $this->resolve( $id );
552
+ } catch ( Exception $e ) {
553
+ if ( $this->has( $id ) ) {
554
+ throw $e;
555
+ }
556
+
557
+ throw new InvalidArgumentException( $id, $e->getCode(), $e );
558
+ }
559
+ }
560
+
561
+ /**
562
+ * Resolve the given type from the container.
563
+ *
564
+ * @param string $abstract
565
+ * @param array $parameters
566
+ * @param bool $raiseEvents
567
+ *
568
+ * @return mixed
569
+ * @throws BindingResolutionException
570
+ */
571
+ protected function resolve( $abstract, $parameters = [], $raiseEvents = true ) {
572
+ $abstract = $this->getAlias( $abstract );
573
+
574
+ $concrete = null;
575
+
576
+ $needsContextualBuild = false;
577
+
578
+ // If an instance of the type is currently being managed as a singleton we'll
579
+ // just return an existing instance instead of instantiating new instances
580
+ // so the developer can keep using the same objects instance every time.
581
+ if ( isset( $this->instances[ $abstract ] ) && ! $needsContextualBuild ) {
582
+ return $this->instances[ $abstract ];
583
+ }
584
+
585
+ $this->with[] = $parameters;
586
+
587
+ if ( is_null( $concrete ) ) {
588
+ $concrete = $this->getConcrete( $abstract );
589
+ }
590
+
591
+ // We're ready to instantiate an instance of the concrete type registered for
592
+ // the binding. This will instantiate the types, as well as resolve any of
593
+ // its "nested" dependencies recursively until all have gotten resolved.
594
+ if ( $this->isBuildable( $concrete, $abstract ) ) {
595
+ $object = $this->build( $concrete );
596
+ } else {
597
+ $object = $this->make( $concrete );
598
+ }
599
+
600
+ // If we defined any extenders for this type, we'll need to spin through them
601
+ // and apply them to the object being built. This allows for the extension
602
+ // of services, such as changing configuration or decorating the object.
603
+ foreach ( $this->getExtenders( $abstract ) as $extender ) {
604
+ $object = $extender( $object, $this );
605
+ }
606
+
607
+ // If the requested type is registered as a singleton we'll want to cache off
608
+ // the instances in "memory" so we can return it later without creating an
609
+ // entirely new instance of an object on each subsequent request for it.
610
+ if ( $this->isShared( $abstract ) ) {
611
+ $this->instances[ $abstract ] = $object;
612
+ }
613
+
614
+ if ( $raiseEvents ) {
615
+ $this->fireResolvingCallbacks( $abstract, $object );
616
+ }
617
+
618
+ // Before returning, we will also set the resolved flag to "true" and pop off
619
+ // the parameter overrides for this build. After those two things are done
620
+ // we will be ready to return back the fully constructed class instance.
621
+ $this->resolved[ $abstract ] = true;
622
+
623
+ array_pop( $this->with );
624
+
625
+ return $object;
626
+ }
627
+
628
+ /**
629
+ * Get the concrete type for a given abstract.
630
+ *
631
+ * @param string $abstract
632
+ *
633
+ * @return mixed
634
+ */
635
+ protected function getConcrete( $abstract ) {
636
+ // If we don't have a registered resolver or concrete for the type, we'll just
637
+ // assume each type is a concrete name and will attempt to resolve it as is
638
+ // since the container should be able to resolve concretes automatically.
639
+ if ( isset( $this->bindings[ $abstract ] ) ) {
640
+ return $this->bindings[ $abstract ]['concrete'];
641
+ }
642
+
643
+ return $abstract;
644
+ }
645
+
646
+ /**
647
+ * Determine if the given concrete is buildable.
648
+ *
649
+ * @param mixed $concrete
650
+ * @param string $abstract
651
+ *
652
+ * @return bool
653
+ */
654
+ protected function isBuildable( $concrete, $abstract ) {
655
+ return $concrete === $abstract || $concrete instanceof Closure;
656
+ }
657
+
658
+ /**
659
+ * Instantiate a concrete instance of the given type.
660
+ *
661
+ * @param Closure|string $concrete
662
+ *
663
+ * @return mixed
664
+ * @throws BindingResolutionException
665
+ * @throws ReflectionException
666
+ */
667
+ public function build( $concrete ) {
668
+ // If the concrete type is actually a Closure, we will just execute it and
669
+ // hand back the results of the functions, which allows functions to be
670
+ // used as resolvers for more fine-tuned resolution of these objects.
671
+ if ( $concrete instanceof Closure ) {
672
+ return $concrete( $this, $this->getLastParameterOverride() );
673
+ }
674
+
675
+ try {
676
+ $reflector = new ReflectionClass( $concrete );
677
+ } catch ( ReflectionException $e ) {
678
+ throw new InvalidArgumentException( "Target class [$concrete] does not exist.", 0, $e );
679
+ }
680
+
681
+ // If the type is not instantiable, the developer is attempting to resolve
682
+ // an abstract type such as an Interface or Abstract Class and there is
683
+ // no binding registered for the abstractions so we need to bail out.
684
+ if ( ! $reflector->isInstantiable() ) {
685
+ $this->notInstantiable( $concrete );
686
+ }
687
+
688
+ $this->buildStack[] = $concrete;
689
+
690
+ $constructor = $reflector->getConstructor();
691
+
692
+ // If there are no constructors, that means there are no dependencies then
693
+ // we can just resolve the instances of the objects right away, without
694
+ // resolving any other types or dependencies out of these containers.
695
+ if ( is_null( $constructor ) ) {
696
+ array_pop( $this->buildStack );
697
+
698
+ return new $concrete;
699
+ }
700
+
701
+ $dependencies = $constructor->getParameters();
702
+
703
+ // Once we have all the constructor's parameters we can create each of the
704
+ // dependency instances and then use the reflection instances to make a
705
+ // new instance of this class, injecting the created dependencies in.
706
+ try {
707
+ $instances = $this->resolveDependencies( $dependencies );
708
+ } catch ( BindingResolutionException $e ) {
709
+ array_pop( $this->buildStack );
710
+
711
+ throw $e;
712
+ }
713
+
714
+ array_pop( $this->buildStack );
715
+
716
+ return $reflector->newInstanceArgs( $instances );
717
+ }
718
+
719
+ /**
720
+ * Resolve all of the dependencies from the ReflectionParameters.
721
+ *
722
+ * @param array $dependencies
723
+ *
724
+ * @return array
725
+ * @throws BindingResolutionException
726
+ * @throws ReflectionException
727
+ */
728
+ protected function resolveDependencies( array $dependencies ) {
729
+ $results = [];
730
+
731
+ foreach ( $dependencies as $dependency ) {
732
+ // If this dependency has a override for this particular build we will use
733
+ // that instead as the value. Otherwise, we will continue with this run
734
+ // of resolutions and let reflection attempt to determine the result.
735
+ if ( $this->hasParameterOverride( $dependency ) ) {
736
+ $results[] = $this->getParameterOverride( $dependency );
737
+
738
+ continue;
739
+ }
740
+
741
+ // If the class is null, it means the dependency is a string or some other
742
+ // primitive type which we can not resolve since it is not a class and
743
+ // we will just bomb out with an error since we have no-where to go.
744
+ $result = is_null( $dependency->getClass() )
745
+ ? $this->resolvePrimitive( $dependency )
746
+ : $this->resolveClass( $dependency );
747
+
748
+ if ( $dependency->isVariadic() ) {
749
+ array_push( $results, ...$result );
750
+ } else {
751
+ $results[] = $result;
752
+ }
753
+ }
754
+
755
+ return $results;
756
+ }
757
+
758
+ /**
759
+ * Determine if the given dependency has a parameter override.
760
+ *
761
+ * @param ReflectionParameter $dependency
762
+ *
763
+ * @return bool
764
+ */
765
+ protected function hasParameterOverride( $dependency ) {
766
+ return array_key_exists(
767
+ $dependency->name,
768
+ $this->getLastParameterOverride()
769
+ );
770
+ }
771
+
772
+ /**
773
+ * Get a parameter override for a dependency.
774
+ *
775
+ * @param ReflectionParameter $dependency
776
+ *
777
+ * @return mixed
778
+ */
779
+ protected function getParameterOverride( $dependency ) {
780
+ return $this->getLastParameterOverride()[ $dependency->name ];
781
+ }
782
+
783
+ /**
784
+ * Get the last parameter override.
785
+ *
786
+ * @return array
787
+ */
788
+ protected function getLastParameterOverride() {
789
+ return count( $this->with ) ? end( $this->with ) : [];
790
+ }
791
+
792
+ /**
793
+ * Resolve a non-class hinted primitive dependency.
794
+ *
795
+ * @param ReflectionParameter $parameter
796
+ *
797
+ * @return mixed
798
+ * @throws ReflectionException
799
+ */
800
+ protected function resolvePrimitive( ReflectionParameter $parameter ) {
801
+ if ( $parameter->isDefaultValueAvailable() ) {
802
+ return $parameter->getDefaultValue();
803
+ }
804
+
805
+ $this->unresolvablePrimitive( $parameter );
806
+
807
+ return null;
808
+ }
809
+
810
+ /**
811
+ * Resolve a class based dependency from the container.
812
+ *
813
+ * @param ReflectionParameter $parameter
814
+ *
815
+ * @return mixed
816
+ * @throws BindingResolutionException
817
+ * @throws ReflectionException
818
+ */
819
+ protected function resolveClass( ReflectionParameter $parameter ) {
820
+ try {
821
+ return $this->make( $parameter->getClass()->name );
822
+ }
823
+
824
+ // If we can not resolve the class instance, we will check to see if the value
825
+ // is optional, and if it is we will return the optional parameter value as
826
+ // the value of the dependency, similarly to how we do this with scalars.
827
+ catch ( BindingResolutionException $e ) {
828
+ if ( $parameter->isDefaultValueAvailable() ) {
829
+ return $parameter->getDefaultValue();
830
+ }
831
+
832
+ if ( $parameter->isVariadic() ) {
833
+ return [];
834
+ }
835
+
836
+ throw $e;
837
+ }
838
+ }
839
+
840
+ /**
841
+ * Throw an exception that the concrete is not instantiable.
842
+ *
843
+ * @param string $concrete
844
+ *
845
+ * @return void
846
+ * @throws BindingResolutionException
847
+ */
848
+ protected function notInstantiable( $concrete ) {
849
+ if ( ! empty( $this->buildStack ) ) {
850
+ $previous = implode( ', ', $this->buildStack );
851
+
852
+ $message = "Target [$concrete] is not instantiable while building [$previous].";
853
+ } else {
854
+ $message = "Target [$concrete] is not instantiable.";
855
+ }
856
+
857
+ throw new BindingResolutionException( $message );
858
+ }
859
+
860
+ /**
861
+ * Throw an exception for an unresolvable primitive.
862
+ *
863
+ * @param ReflectionParameter $parameter
864
+ *
865
+ * @return void
866
+ * @throws BindingResolutionException
867
+ */
868
+ protected function unresolvablePrimitive( ReflectionParameter $parameter ) {
869
+ $message = "Unresolvable dependency resolving [$parameter] in class {$parameter->getDeclaringClass()->getName()}";
870
+
871
+ throw new BindingResolutionException( $message );
872
+ }
873
+
874
+ /**
875
+ * Register a new resolving callback.
876
+ *
877
+ * @param Closure|string $abstract
878
+ * @param Closure|null $callback
879
+ *
880
+ * @return void
881
+ */
882
+ public function resolving( $abstract, Closure $callback = null ) {
883
+ if ( is_string( $abstract ) ) {
884
+ $abstract = $this->getAlias( $abstract );
885
+ }
886
+
887
+ if ( is_null( $callback ) && $abstract instanceof Closure ) {
888
+ $this->globalResolvingCallbacks[] = $abstract;
889
+ } else {
890
+ $this->resolvingCallbacks[ $abstract ][] = $callback;
891
+ }
892
+ }
893
+
894
+ /**
895
+ * Register a new after resolving callback for all types.
896
+ *
897
+ * @param Closure|string $abstract
898
+ * @param Closure|null $callback
899
+ *
900
+ * @return void
901
+ */
902
+ public function afterResolving( $abstract, Closure $callback = null ) {
903
+ if ( is_string( $abstract ) ) {
904
+ $abstract = $this->getAlias( $abstract );
905
+ }
906
+
907
+ if ( $abstract instanceof Closure && is_null( $callback ) ) {
908
+ $this->globalAfterResolvingCallbacks[] = $abstract;
909
+ } else {
910
+ $this->afterResolvingCallbacks[ $abstract ][] = $callback;
911
+ }
912
+ }
913
+
914
+ /**
915
+ * Fire all of the resolving callbacks.
916
+ *
917
+ * @param string $abstract
918
+ * @param mixed $object
919
+ *
920
+ * @return void
921
+ */
922
+ protected function fireResolvingCallbacks( $abstract, $object ) {
923
+ $this->fireCallbackArray( $object, $this->globalResolvingCallbacks );
924
+
925
+ $this->fireCallbackArray(
926
+ $object,
927
+ $this->getCallbacksForType( $abstract, $object, $this->resolvingCallbacks )
928
+ );
929
+
930
+ $this->fireAfterResolvingCallbacks( $abstract, $object );
931
+ }
932
+
933
+ /**
934
+ * Fire all of the after resolving callbacks.
935
+ *
936
+ * @param string $abstract
937
+ * @param mixed $object
938
+ *
939
+ * @return void
940
+ */
941
+ protected function fireAfterResolvingCallbacks( $abstract, $object ) {
942
+ $this->fireCallbackArray( $object, $this->globalAfterResolvingCallbacks );
943
+
944
+ $this->fireCallbackArray(
945
+ $object,
946
+ $this->getCallbacksForType( $abstract, $object, $this->afterResolvingCallbacks )
947
+ );
948
+ }
949
+
950
+ /**
951
+ * Get all callbacks for a given type.
952
+ *
953
+ * @param string $abstract
954
+ * @param object $object
955
+ * @param array $callbacksPerType
956
+ *
957
+ * @return array
958
+ */
959
+ protected function getCallbacksForType( $abstract, $object, array $callbacksPerType ) {
960
+ $results = [];
961
+
962
+ foreach ( $callbacksPerType as $type => $callbacks ) {
963
+ if ( $type === $abstract || $object instanceof $type ) {
964
+ array_push( $results, ...$callbacks );
965
+ }
966
+ }
967
+
968
+ return $results;
969
+ }
970
+
971
+ /**
972
+ * Fire an array of callbacks with an object.
973
+ *
974
+ * @param mixed $object
975
+ * @param array $callbacks
976
+ *
977
+ * @return void
978
+ */
979
+ protected function fireCallbackArray( $object, array $callbacks ) {
980
+ foreach ( $callbacks as $callback ) {
981
+ $callback( $object, $this );
982
+ }
983
+ }
984
+
985
+ /**
986
+ * Get the container's bindings.
987
+ *
988
+ * @return array
989
+ */
990
+ public function getBindings() {
991
+ return $this->bindings;
992
+ }
993
+
994
+ /**
995
+ * Get the alias for an abstract if available.
996
+ *
997
+ * @param string $abstract
998
+ *
999
+ * @return string
1000
+ */
1001
+ public function getAlias( $abstract ) {
1002
+ if ( ! isset( $this->aliases[ $abstract ] ) ) {
1003
+ return $abstract;
1004
+ }
1005
+
1006
+ return $this->getAlias( $this->aliases[ $abstract ] );
1007
+ }
1008
+
1009
+ /**
1010
+ * Get the extender callbacks for a given type.
1011
+ *
1012
+ * @param string $abstract
1013
+ *
1014
+ * @return array
1015
+ */
1016
+ protected function getExtenders( $abstract ) {
1017
+ $abstract = $this->getAlias( $abstract );
1018
+
1019
+ return isset( $this->extenders[ $abstract ] ) ? $this->extenders[ $abstract ] : [];
1020
+ }
1021
+
1022
+ /**
1023
+ * Remove all of the extender callbacks for a given type.
1024
+ *
1025
+ * @param string $abstract
1026
+ *
1027
+ * @return void
1028
+ */
1029
+ public function forgetExtenders( $abstract ) {
1030
+ unset( $this->extenders[ $this->getAlias( $abstract ) ] );
1031
+ }
1032
+
1033
+ /**
1034
+ * Drop all of the stale instances and aliases.
1035
+ *
1036
+ * @param string $abstract
1037
+ *
1038
+ * @return void
1039
+ */
1040
+ protected function dropStaleInstances( $abstract ) {
1041
+ unset( $this->instances[ $abstract ], $this->aliases[ $abstract ] );
1042
+ }
1043
+
1044
+ /**
1045
+ * Remove a resolved instance from the instance cache.
1046
+ *
1047
+ * @param string $abstract
1048
+ *
1049
+ * @return void
1050
+ */
1051
+ public function forgetInstance( $abstract ) {
1052
+ unset( $this->instances[ $abstract ] );
1053
+ }
1054
+
1055
+ /**
1056
+ * Clear all of the instances from the container.
1057
+ *
1058
+ * @return void
1059
+ */
1060
+ public function forgetInstances() {
1061
+ $this->instances = [];
1062
+ }
1063
+
1064
+ /**
1065
+ * Flush the container of all bindings and resolved instances.
1066
+ *
1067
+ * @return void
1068
+ */
1069
+ public function flush() {
1070
+ $this->aliases = [];
1071
+ $this->resolved = [];
1072
+ $this->bindings = [];
1073
+ $this->instances = [];
1074
+ $this->abstractAliases = [];
1075
+ }
1076
+
1077
+ /**
1078
+ * Determine if a given offset exists.
1079
+ *
1080
+ * @param string $key
1081
+ *
1082
+ * @return bool
1083
+ */
1084
+ public function offsetExists( $key ) {
1085
+ return $this->bound( $key );
1086
+ }
1087
+
1088
+ /**
1089
+ * Get the value at a given offset.
1090
+ *
1091
+ * @param string $key
1092
+ *
1093
+ * @return mixed
1094
+ */
1095
+ public function offsetGet( $key ) {
1096
+ return $this->make( $key );
1097
+ }
1098
+
1099
+ /**
1100
+ * Set the value at a given offset.
1101
+ *
1102
+ * @param string $key
1103
+ * @param mixed $value
1104
+ *
1105
+ * @return void
1106
+ */
1107
+ public function offsetSet( $key, $value ) {
1108
+ $this->bind(
1109
+ $key,
1110
+ $value instanceof Closure ? $value : function () use ( $value ) {
1111
+ return $value;
1112
+ }
1113
+ );
1114
+ }
1115
+
1116
+ /**
1117
+ * Unset the value at a given offset.
1118
+ *
1119
+ * @param string $key
1120
+ *
1121
+ * @return void
1122
+ */
1123
+ public function offsetUnset( $key ) {
1124
+ unset( $this->bindings[ $key ], $this->instances[ $key ], $this->resolved[ $key ] );
1125
+ }
1126
+
1127
+ /**
1128
+ * Dynamically access container services.
1129
+ *
1130
+ * @param string $key
1131
+ *
1132
+ * @return mixed
1133
+ */
1134
+ public function __get( $key ) {
1135
+ return $this[ $key ];
1136
+ }
1137
+
1138
+ /**
1139
+ * Dynamically set container services.
1140
+ *
1141
+ * @param string $key
1142
+ * @param mixed $value
1143
+ *
1144
+ * @return void
1145
+ */
1146
+ public function __set( $key, $value ) {
1147
+ $this[ $key ] = $value;
1148
+ }
1149
+
1150
+ /**
1151
+ * Checks to see if the key exists.
1152
+ *
1153
+ * @param $key
1154
+ *
1155
+ * @return bool
1156
+ */
1157
+ public function __isset( $key ) {
1158
+ return isset( $this[ $key ] );
1159
+ }
1160
+ }
src/Container/Exceptions/BindingResolutionException.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\Container\Exceptions;
4
+
5
+ use Exception;
6
+
7
+ class BindingResolutionException extends Exception {
8
+ //
9
+ }
src/Helpers/Hooks.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\Helpers;
4
+
5
+ use InvalidArgumentException;
6
+
7
+ class Hooks {
8
+ /**
9
+ * A function which extends the WordPress add_action method to handle the instantiation of a class
10
+ * once the action is fired. This prevents the need to instantiate a class before adding it to hook.
11
+ *
12
+ * @since 2.8.0
13
+ *
14
+ * @param string $tag
15
+ * @param string $class
16
+ * @param string $method
17
+ * @param int $priority
18
+ * @param int $acceptedArgs
19
+ *
20
+ * @return void
21
+ */
22
+ public static function addAction( $tag, $class, $method = '__invoke', $priority = 10, $acceptedArgs = 1 ) {
23
+ if ( ! method_exists( $class, $method ) ) {
24
+ throw new InvalidArgumentException( "The method $method does not exist on $class" );
25
+ }
26
+
27
+ add_action(
28
+ $tag,
29
+ static function () use ( $tag, $class, $method ) {
30
+ // Provide a way of disabling the hook
31
+ if ( apply_filters( "give_disable_hook-{$tag}", false ) || apply_filters( "give_disable_hook-{$tag}:{$class}@{$method}", false ) ) {
32
+ return;
33
+ }
34
+
35
+ $instance = give( $class );
36
+
37
+ call_user_func_array( [ $instance, $method ], func_get_args() );
38
+ },
39
+ $priority,
40
+ $acceptedArgs
41
+ );
42
+ }
43
+
44
+ /**
45
+ * A function which extends the WordPress add_filter method to handle the instantiation of a class
46
+ * once the filter is fired. This prevents the need to instantiate a class before adding it to hook.
47
+ *
48
+ * @since 2.8.0
49
+ *
50
+ * @param string $tag
51
+ * @param string $class
52
+ * @param string $method
53
+ * @param int $priority
54
+ * @param int $acceptedArgs
55
+ *
56
+ * @return void
57
+ */
58
+ public static function addFilter( $tag, $class, $method = '__invoke', $priority = 10, $acceptedArgs = 1 ) {
59
+ if ( ! method_exists( $class, $method ) ) {
60
+ throw new InvalidArgumentException( "The method $method does not exist on $class" );
61
+ }
62
+
63
+ add_filter(
64
+ $tag,
65
+ static function () use ( $tag, $class, $method ) {
66
+ // Provide a way of disabling the hook
67
+ if ( apply_filters( "give_disable_hook-{$tag}", false ) || apply_filters( "give_disable_hook-{$tag}:{$class}@{$method}", false ) ) {
68
+ return func_get_arg( 0 );
69
+ }
70
+
71
+ $instance = give( $class );
72
+
73
+ return call_user_func_array( [ $instance, $method ], func_get_args() );
74
+ },
75
+ $priority,
76
+ $acceptedArgs
77
+ );
78
+ }
79
+ }
src/ServiceProviders/LegacyServiceProvider.php ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\ServiceProviders;
4
+
5
+ use Closure;
6
+
7
+ /**
8
+ * Class LegacyServiceProvider
9
+ *
10
+ * This handles the loading of all of the legacy codebase included in the /includes directory.
11
+ * DO NOT EXTEND THIS WITH NEW CODE as it is intended to shrink over time as we migrate over
12
+ * to the new ways of doing things.
13
+ */
14
+ class LegacyServiceProvider implements ServiceProvider {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ public function register() {
19
+ $this->includeLegacyFiles();
20
+ $this->bindClasses();
21
+ }
22
+
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ public function boot() {
27
+ register_activation_hook( GIVE_PLUGIN_FILE, 'give_install' );
28
+ }
29
+
30
+ /**
31
+ * Load all the legacy class files since they don't have auto-loading
32
+ *
33
+ * @since 2.8.0
34
+ */
35
+ private function includeLegacyFiles() {
36
+ global $give_options;
37
+
38
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-cache-setting.php';
39
+
40
+ /**
41
+ * Load libraries.
42
+ */
43
+ if ( ! class_exists( 'WP_Async_Request' ) ) {
44
+ include_once GIVE_PLUGIN_DIR . 'includes/libraries/wp-async-request.php';
45
+ }
46
+
47
+ if ( ! class_exists( 'WP_Background_Process' ) ) {
48
+ include_once GIVE_PLUGIN_DIR . 'includes/libraries/wp-background-process.php';
49
+ }
50
+
51
+ require_once GIVE_PLUGIN_DIR . 'includes/setting-functions.php';
52
+ require_once GIVE_PLUGIN_DIR . 'includes/country-functions.php';
53
+ require_once GIVE_PLUGIN_DIR . 'includes/template-functions.php';
54
+ require_once GIVE_PLUGIN_DIR . 'includes/misc-functions.php';
55
+ require_once GIVE_PLUGIN_DIR . 'includes/forms/functions.php';
56
+ require_once GIVE_PLUGIN_DIR . 'includes/ajax-functions.php';
57
+ require_once GIVE_PLUGIN_DIR . 'includes/currency-functions.php';
58
+ require_once GIVE_PLUGIN_DIR . 'includes/price-functions.php';
59
+ require_once GIVE_PLUGIN_DIR . 'includes/user-functions.php';
60
+ require_once GIVE_PLUGIN_DIR . 'includes/donors/frontend-donor-functions.php';
61
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/functions.php';
62
+ require_once GIVE_PLUGIN_DIR . 'includes/gateways/functions.php';
63
+
64
+ /**
65
+ * Load plugin files
66
+ */
67
+ require_once GIVE_PLUGIN_DIR . 'includes/admin/class-admin-settings.php';
68
+ $give_options = give_get_settings();
69
+
70
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-cron.php';
71
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-async-process.php';
72
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-cache.php';
73
+ require_once GIVE_PLUGIN_DIR . 'includes/post-types.php';
74
+ require_once GIVE_PLUGIN_DIR . 'includes/filters.php';
75
+ require_once GIVE_PLUGIN_DIR . 'includes/api/class-give-api-v2.php';
76
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-tooltips.php';
77
+ require_once GIVE_PLUGIN_DIR . 'includes/class-notices.php';
78
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-translation.php';
79
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-license-handler.php';
80
+ require_once GIVE_PLUGIN_DIR . 'includes/admin/class-give-html-elements.php';
81
+
82
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-scripts.php';
83
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-roles.php';
84
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-donate-form.php';
85
+
86
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db.php';
87
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-meta.php';
88
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-comments.php';
89
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-comments-meta.php';
90
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-donors.php';
91
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-donor-meta.php';
92
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-form-meta.php';
93
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-sequential-ordering.php';
94
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-logs.php';
95
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-logs-meta.php';
96
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-sessions.php';
97
+ require_once GIVE_PLUGIN_DIR . 'includes/database/class-give-db-payment-meta.php';
98
+
99
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-donor.php';
100
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-stats.php';
101
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-session.php';
102
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-logging.php';
103
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-comment.php';
104
+
105
+ require_once GIVE_PLUGIN_DIR . 'includes/forms/widget.php';
106
+ require_once GIVE_PLUGIN_DIR . 'includes/forms/class-give-forms-query.php';
107
+ require_once GIVE_PLUGIN_DIR . 'includes/forms/template.php';
108
+ require_once GIVE_PLUGIN_DIR . 'includes/shortcodes.php';
109
+ require_once GIVE_PLUGIN_DIR . 'includes/formatting.php';
110
+ require_once GIVE_PLUGIN_DIR . 'includes/error-tracking.php';
111
+ require_once GIVE_PLUGIN_DIR . 'includes/login-register.php';
112
+ require_once GIVE_PLUGIN_DIR . 'includes/plugin-compatibility.php';
113
+ require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-classes.php';
114
+ require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-functions.php';
115
+ require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-actions.php';
116
+ require_once GIVE_PLUGIN_DIR . 'includes/deprecated/deprecated-filters.php';
117
+
118
+ require_once GIVE_PLUGIN_DIR . 'includes/process-donation.php';
119
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/backward-compatibility.php';
120
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/actions.php';
121
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/class-payment-stats.php';
122
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/class-payments-query.php';
123
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/class-give-payment.php';
124
+ require_once GIVE_PLUGIN_DIR . 'includes/payments/class-give-sequential-donation-number.php';
125
+
126
+ require_once GIVE_PLUGIN_DIR . 'includes/gateways/actions.php';
127
+ require_once GIVE_PLUGIN_DIR . 'includes/gateways/paypal-standard.php';
128
+ require_once GIVE_PLUGIN_DIR . 'includes/gateways/offline-donations.php';
129
+ require_once GIVE_PLUGIN_DIR . 'includes/gateways/manual.php';
130
+ require_once GIVE_PLUGIN_DIR . 'includes/emails/class-give-emails.php';
131
+ require_once GIVE_PLUGIN_DIR . 'includes/emails/class-give-email-tags.php';
132
+ require_once GIVE_PLUGIN_DIR . 'includes/admin/emails/class-email-notifications.php';
133
+ require_once GIVE_PLUGIN_DIR . 'includes/emails/functions.php';
134
+ require_once GIVE_PLUGIN_DIR . 'includes/emails/template.php';
135
+ require_once GIVE_PLUGIN_DIR . 'includes/emails/actions.php';
136
+
137
+ require_once GIVE_PLUGIN_DIR . 'includes/donors/class-give-donors-query.php';
138
+ require_once GIVE_PLUGIN_DIR . 'includes/donors/class-give-donor-wall.php';
139
+ require_once GIVE_PLUGIN_DIR . 'includes/donors/class-give-donor-stats.php';
140
+ require_once GIVE_PLUGIN_DIR . 'includes/donors/backward-compatibility.php';
141
+ require_once GIVE_PLUGIN_DIR . 'includes/donors/actions.php';
142
+
143
+ require_once GIVE_PLUGIN_DIR . 'includes/admin/upgrades/class-give-updates.php';
144
+
145
+ require_once GIVE_PLUGIN_DIR . 'blocks/load.php';
146
+
147
+ // Include Views
148
+ require_once GIVE_PLUGIN_DIR . 'src/Views/Views.php';
149
+
150
+ if ( defined( 'WP_CLI' ) && WP_CLI ) {
151
+ require_once GIVE_PLUGIN_DIR . 'includes/class-give-cli-commands.php';
152
+ }
153
+
154
+ // Load file for frontend
155
+ if ( $this->is_request( 'frontend' ) ) {
156
+ require_once GIVE_PLUGIN_DIR . 'includes/frontend/class-give-frontend.php';
157
+ }
158
+
159
+ if ( $this->is_request( 'admin' ) || $this->is_request( 'wpcli' ) ) {
160
+ require_once GIVE_PLUGIN_DIR . 'includes/admin/class-give-admin.php';
161
+ }// End if().
162
+
163
+ require_once GIVE_PLUGIN_DIR . 'includes/actions.php';
164
+ require_once GIVE_PLUGIN_DIR . 'includes/install.php';
165
+
166
+ // This conditional check will add backward compatibility to older Stripe versions (i.e. < 2.2.0) when used with Give 2.5.0.
167
+ if (
168
+ ! defined( 'GIVE_STRIPE_VERSION' ) ||
169
+ (
170
+ defined( 'GIVE_STRIPE_VERSION' ) &&
171
+ version_compare( GIVE_STRIPE_VERSION, '2.2.0', '>=' )
172
+ )
173
+ ) {
174
+ require_once GIVE_PLUGIN_DIR . 'includes/gateways/stripe/class-give-stripe.php';
175
+ }
176
+ }
177
+
178
+ /**
179
+ * Binds the legacy classes to the service provider
180
+ *
181
+ * @since 2.8.0
182
+ */
183
+ private function bindClasses() {
184
+ $this->bindInstance( 'roles', 'Give_Roles', 'class-give-roles.php' );
185
+ $this->bindInstance( 'give_settings', 'Give_Admin_Settings', 'admin/class-admin-settings.php' );
186
+ $this->bindInstance( 'api', 'Give_API', 'api/class-give-api.php' );
187
+ $this->bindInstance( 'emails', 'Give_Emails', 'emails/class-give-emails.php' );
188
+ $this->bindInstance( 'email_tags', 'Give_Email_Template_Tags', 'emails/class-give-email-tags.php' );
189
+ $this->bindInstance( 'html', 'Give_HTML_Elements', 'admin/class-give-html-elements.php', true );
190
+ $this->bindInstance( 'donors', 'Give_DB_Donors', 'database/class-give-db-donors.php' );
191
+ $this->bindInstance( 'donor_meta', 'Give_DB_Donor_Meta', 'database/class-give-db-donor-meta.php' );
192
+ $this->bindInstance( 'tooltips', 'Give_Tooltips', 'class-give-tooltips.php' );
193
+ $this->bindInstance( 'notices', 'Give_Notices', 'class-notices.php' );
194
+ $this->bindInstance( 'payment_meta', 'Give_DB_Payment_Meta', 'database/class-give-db-payment-meta.php' );
195
+ $this->bindInstance( 'log_db', 'Give_DB_Logs', 'database/class-give-db-logs.php' );
196
+ $this->bindInstance( 'logmeta_db', 'Give_DB_Log_Meta', 'database/class-give-db-logs-meta.php' );
197
+ $this->bindInstance( 'logs', 'Give_Logging', 'class-give-logging.php' );
198
+ $this->bindInstance( 'form_meta', 'Give_DB_Form_Meta', 'database/class-give-db-form-meta.php' );
199
+ $this->bindInstance( 'sequential_donation_db', 'Give_DB_Sequential_Ordering', 'database/class-give-db-sequential-ordering.php' );
200
+ $this->bindInstance( 'async_process', 'Give_Async_Process', 'class-give-async-process.php' );
201
+ $this->bindInstance( 'scripts', 'Give_Scripts', 'class-give-scripts.php' );
202
+ $this->bindInstance( 'seq_donation_number', 'Give_Sequential_Donation_Number', 'payments/class-give-sequential-donation-number.php', true );
203
+ $this->bindInstance( 'comment', 'Give_Comment', 'class-give-comment.php', true );
204
+ $this->bindInstance( 'session_db', 'Give_DB_Sessions', 'database/class-give-db-sessions.php' );
205
+ $this->bindInstance( 'session', 'Give_Session', 'class-give-session.php', true );
206
+ }
207
+
208
+ /**
209
+ * A helper for loading legacy classes that do not use autoloading, then binding their instance
210
+ * to the container.
211
+ *
212
+ * @since 2.8.0
213
+ *
214
+ * @param string $alias
215
+ * @param string|Closure $class
216
+ * @param string $includesPath
217
+ * @param bool $singleton
218
+ */
219
+ private function bindInstance( $alias, $class, $includesPath, $singleton = false ) {
220
+ require_once GIVE_PLUGIN_DIR . "includes/$includesPath";
221
+
222
+ if ( $class instanceof Closure ) {
223
+ give()->instance( $alias, $class() );
224
+ } elseif ( $singleton ) {
225
+ give()->instance( $alias, $class::get_instance() );
226
+ } else {
227
+ give()->instance( $alias, new $class() );
228
+ }
229
+ }
230
+
231
+ /**
232
+ * What type of request is this?
233
+ *
234
+ * @since 2.8.0
235
+ *
236
+ * @param string $type admin, ajax, cron or frontend.
237
+ *
238
+ * @return bool
239
+ */
240
+ private function is_request( $type ) {
241
+ switch ( $type ) {
242
+ case 'admin':
243
+ return is_admin();
244
+ case 'ajax':
245
+ return defined( 'DOING_AJAX' );
246
+ case 'cron':
247
+ return defined( 'DOING_CRON' );
248
+ case 'frontend':
249
+ return ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) && ! defined( 'REST_REQUEST' );
250
+ case 'wpcli':
251
+ return defined( 'WP_CLI' ) && WP_CLI;
252
+ }
253
+ }
254
+ }
src/ServiceProviders/RestAPI.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\ServiceProviders;
4
+
5
+ use Give\API\Endpoints\Reports\AverageDonation;
6
+ use Give\API\Endpoints\Reports\FormPerformance;
7
+ use Give\API\Endpoints\Reports\Income;
8
+ use Give\API\Endpoints\Reports\IncomeBreakdown;
9
+ use Give\API\Endpoints\Reports\PaymentMethods;
10
+ use Give\API\Endpoints\Reports\PaymentStatuses;
11
+ use Give\API\Endpoints\Reports\RecentDonations;
12
+ use Give\API\Endpoints\Reports\TopDonors;
13
+ use Give\API\Endpoints\Reports\TotalDonors;
14
+ use Give\API\Endpoints\Reports\TotalIncome;
15
+ use Give\API\Endpoints\Reports\TotalRefunds;
16
+ use Give\API\RestRoute;
17
+
18
+ class RestAPI implements ServiceProvider {
19
+ /**
20
+ * @var string[] array of RestRoute classes
21
+ */
22
+ private $reportRoutes = [
23
+ PaymentStatuses::class,
24
+ PaymentMethods::class,
25
+ FormPerformance::class,
26
+ TopDonors::class,
27
+ RecentDonations::class,
28
+ Income::class,
29
+ IncomeBreakdown::class,
30
+ AverageDonation::class,
31
+ TotalDonors::class,
32
+ TotalIncome::class,
33
+ TotalRefunds::class,
34
+ ];
35
+
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ public function register() {
40
+ }
41
+
42
+ /**
43
+ * @inheritDoc
44
+ */
45
+ public function boot() {
46
+ add_action( 'rest_api_init', [ $this, 'registerRoutes' ] );
47
+ }
48
+
49
+ /**
50
+ * Calls the route registrations within the WordPress REST API hook
51
+ *
52
+ * @since 2.8.0
53
+ */
54
+ public function registerRoutes() {
55
+ foreach ( $this->reportRoutes as $route ) {
56
+ /** @var RestRoute $route */
57
+ $route = give()->make( $route );
58
+
59
+ $route->registerRoute();
60
+ }
61
+ }
62
+ }
src/ServiceProviders/ServiceProvider.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Give\ServiceProviders;
4
+
5
+ /**
6
+ * Interface ServiceProvider
7
+ *
8
+ * For use when defining Service Providers, see the method docs for when to use them
9
+ *
10
+ * @since 2.8.0
11
+ */
12
+ interface ServiceProvider {
13
+ /**
14
+ * Registers the Service Provider within the application. Use this to bind anything to the
15
+ * Service Container. This prepares the service.
16
+ *
17
+ * @since 2.8.0
18
+ *
19
+ * @return void
20
+ */
21
+ public function register();
22
+
23
+ /**
24
+ * The bootstraps the service after all of the services have been registered. The importance of this
25
+ * is that any cross service dependencies should be resolved by this point, so it should be safe to
26
+ * bootstrap the service.
27
+ *
28
+ * @since 2.8.0
29
+ *
30
+ * @return void
31
+ */
32
+ public function boot();
33
+ }
src/Session/Accessor.php CHANGED
@@ -23,7 +23,8 @@ abstract class Accessor {
23
 
24
  /**
25
  * Session data as array.
26
- * We use this array internally to perform database related operation.
 
27
  *
28
  * @var mixed
29
  */
23
 
24
  /**
25
  * Session data as array.
26
+ *
27
+ * We use this array internally to perform database related operations.
28
  *
29
  * @var mixed
30
  */
src/Session/SessionDonation/SessionObjects/Donation.php CHANGED
@@ -69,7 +69,7 @@ class Donation implements Objects {
69
  public $paymentGateway;
70
 
71
  /**
72
- * Array of properties and there cast type.
73
  *
74
  * @var ValueObjects[]
75
  */
@@ -80,7 +80,7 @@ class Donation implements Objects {
80
  ];
81
 
82
  /**
83
- * Take array and return object
84
  *
85
  * @param $array
86
  *
69
  public $paymentGateway;
70
 
71
  /**
72
+ * Array of properties and their cast type.
73
  *
74
  * @var ValueObjects[]
75
  */
80
  ];
81
 
82
  /**
83
+ * Take array and return object.
84
  *
85
  * @param $array
86
  *
src/Views/Form/Templates/Sequoia/Sequoia.php CHANGED
@@ -211,6 +211,22 @@ class Sequoia extends Template implements Hookable, Scriptable {
211
  ";
212
  }
213
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  if ( Utils::isPluginActive( 'give-mailchimp/give-mailchimp.php' ) ) {
215
  $dynamicCss .= "
216
  .give-mailchimp-fieldset:hover,
211
  ";
212
  }
213
 
214
+ if ( Utils::isPluginActive( 'give-activecampaign/give-activecampaign.php' ) ) {
215
+ $dynamicCss .= "
216
+ .give-activecampaign-fieldset:hover,
217
+ .give-activecampaign-fieldset:focus-within,
218
+ .give-activecampaign-fieldset.active {
219
+ border: 1px solid {$primaryColor} !important;
220
+ }
221
+ .give-activecampaign-fieldset input[type='checkbox']:focus + span::before {
222
+ border-color: {$primaryColor};
223
+ }
224
+ .give-activecampaign-fieldset input[type='checkbox'] + span::after {
225
+ background-image: url(\"data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%23{$rawColor}'/%3E%3C/svg%3E%0A\") !important;
226
+ }
227
+ ";
228
+ }
229
+
230
  if ( Utils::isPluginActive( 'give-mailchimp/give-mailchimp.php' ) ) {
231
  $dynamicCss .= "
232
  .give-mailchimp-fieldset:hover,
src/Views/Form/Templates/Sequoia/assets/css/form.scss CHANGED
@@ -692,7 +692,6 @@ p {
692
  > p:first-of-type {
693
  margin-top: 0;
694
  }
695
-
696
  }
697
 
698
  label {
692
  > p:first-of-type {
693
  margin-top: 0;
694
  }
 
695
  }
696
 
697
  label {
src/Views/Form/Templates/Sequoia/assets/css/newsletter.scss CHANGED
@@ -1,4 +1,5 @@
1
  /* stylelint-disable */
 
2
  .give-mailchimp-fieldset,
3
  .give-constant-contact-fieldset {
4
  order: 3;
1
  /* stylelint-disable */
2
+ .give-activecampaign-fieldset,
3
  .give-mailchimp-fieldset,
4
  .give-constant-contact-fieldset {
5
  order: 3;
src/Views/Form/Templates/Sequoia/assets/js/form.js CHANGED
@@ -225,7 +225,7 @@
225
  moveErrorNotice( $( this ) );
226
  } );
227
 
228
- // Setup anonymouse donations opt-in event listeners
229
  setupCheckbox( {
230
  container: '#give-anonymous-donation-wrap label',
231
  label: '#give-anonymous-donation-wrap label',
@@ -246,6 +246,13 @@
246
  input: 'input[name="give_fee_mode_checkbox"]',
247
  } );
248
 
 
 
 
 
 
 
 
249
  // Setup mailchimp opt-in event listeners
250
  setupCheckbox( {
251
  container: '.give-mailchimp-fieldset',
@@ -466,6 +473,7 @@
466
  // The elements will appear in order of array
467
  const donateFieldsetElements = [
468
  '.give-constant-contact-fieldset',
 
469
  '.give-mailchimp-fieldset',
470
  '#give_terms_agreement',
471
  '.give-donation-submit',
@@ -648,7 +656,10 @@
648
  if ( container === label ) {
649
  evt.stopPropagation();
650
  evt.preventDefault();
 
 
651
  }
 
652
  $( container ).toggleClass( 'active' );
653
  } );
654
  }
225
  moveErrorNotice( $( this ) );
226
  } );
227
 
228
+ // Setup anonymous donations opt-in event listeners
229
  setupCheckbox( {
230
  container: '#give-anonymous-donation-wrap label',
231
  label: '#give-anonymous-donation-wrap label',
246
  input: 'input[name="give_fee_mode_checkbox"]',
247
  } );
248
 
249
+ // Setup activecampaign opt-in event listeners
250
+ setupCheckbox( {
251
+ container: '.give-activecampaign-fieldset',
252
+ label: '.give-activecampaign-optin-label',
253
+ input: '.give-activecampaign-optin-input',
254
+ } );
255
+
256
  // Setup mailchimp opt-in event listeners
257
  setupCheckbox( {
258
  container: '.give-mailchimp-fieldset',
473
  // The elements will appear in order of array
474
  const donateFieldsetElements = [
475
  '.give-constant-contact-fieldset',
476
+ '.give-activecampaign-fieldset',
477
  '.give-mailchimp-fieldset',
478
  '#give_terms_agreement',
479
  '.give-donation-submit',
656
  if ( container === label ) {
657
  evt.stopPropagation();
658
  evt.preventDefault();
659
+
660
+ $( input ).prop( 'checked', ! $( input ).prop( 'checked' ) );
661
  }
662
+
663
  $( container ).toggleClass( 'active' );
664
  } );
665
  }
src/Views/Form/Templates/Sequoia/optionConfig.php CHANGED
@@ -166,12 +166,12 @@ return [
166
  [
167
  'id' => 'description',
168
  'name' => __( 'Description', 'give' ),
169
- 'desc' => __( 'The description is displayed directly below the main headline and should be 1-2 sentences. You may use any of the available template tags within this message.', 'give' ),
170
  'type' => 'textarea',
171
  'attributes' => [
172
- 'placeholder' => __( '{name}, you contribution means a lot and will be put to good use making a difference. We’ve sent your donation receipt to {donor_email}. ', 'give' ),
173
  ],
174
- 'default' => __( '{name}, you contribution means a lot and will be put to good use making a difference. We’ve sent your donation receipt to {donor_email}. ', 'give' ),
175
  ],
176
  [
177
  'name' => __( 'Social Sharing', 'give' ),
166
  [
167
  'id' => 'description',
168
  'name' => __( 'Description', 'give' ),
169
+ 'desc' => __( 'The description is displayed directly below the main headline and should be 1-2 sentences. You may use <a href="http://docs.givewp.com/email-tags target="_blank">any of the available template tags</a> within this message.', 'give' ),
170
  'type' => 'textarea',
171
  'attributes' => [
172
+ 'placeholder' => __( '{name}, your contribution means a lot and will be put to good use making a difference. We’ve sent your donation receipt to {donor_email}. ', 'give' ),
173
  ],
174
+ 'default' => __( '{name}, your contribution means a lot and will be put to good use making a difference. We’ve sent your donation receipt to {donor_email}. ', 'give' ),
175
  ],
176
  [
177
  'name' => __( 'Social Sharing', 'give' ),
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit04d7b151bdececdda5fa4042d2415e6c::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit41920c8b4f89e4fb5312346e1fd124b8', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit04d7b151bdececdda5fa4042d2415e6c
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit04d7b151bdececdda5fa4042d2415e6c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit04d7b151bdececdda5fa4042d2415e6c', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit04d7b151bdececdda5fa4042d2415e6c::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
@@ -64,9 +64,9 @@ class ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8
64
  public static function getInitializer(ClassLoader $loader)
65
  {
66
  return \Closure::bind(function () use ($loader) {
67
- $loader->prefixLengthsPsr4 = ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::$prefixLengthsPsr4;
68
- $loader->prefixDirsPsr4 = ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::$prefixDirsPsr4;
69
- $loader->classMap = ComposerStaticInit41920c8b4f89e4fb5312346e1fd124b8::$classMap;
70
 
71
  }, null, ClassLoader::class);
72
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit04d7b151bdececdda5fa4042d2415e6c
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
64
  public static function getInitializer(ClassLoader $loader)
65
  {
66
  return \Closure::bind(function () use ($loader) {
67
+ $loader->prefixLengthsPsr4 = ComposerStaticInit04d7b151bdececdda5fa4042d2415e6c::$prefixLengthsPsr4;
68
+ $loader->prefixDirsPsr4 = ComposerStaticInit04d7b151bdececdda5fa4042d2415e6c::$prefixDirsPsr4;
69
+ $loader->classMap = ComposerStaticInit04d7b151bdececdda5fa4042d2415e6c::$classMap;
70
 
71
  }, null, ClassLoader::class);
72
  }