@automattic/newspack-blocks 4.30.4 → 4.31.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -3
- package/dist/block_styles-rtl.css +2 -2
- package/dist/block_styles.asset.php +1 -1
- package/dist/block_styles.css +2 -2
- package/dist/blocks/carousel/block.json +4 -0
- package/dist/carousel/view-rtl.css +1 -1
- package/dist/carousel/view.asset.php +1 -1
- package/dist/carousel/view.css +1 -1
- package/dist/donate/view-rtl.css +1 -1
- package/dist/donate/view.asset.php +1 -1
- package/dist/donate/view.css +1 -1
- package/dist/editor-rtl.css +25 -24
- package/dist/editor.asset.php +1 -1
- package/dist/editor.css +25 -24
- package/dist/editor.js +24 -20
- package/dist/frequencyBased-rtl.css +1 -1
- package/dist/frequencyBased.asset.php +1 -1
- package/dist/frequencyBased.css +1 -1
- package/dist/homepage-articles/view-rtl.css +1 -1
- package/dist/homepage-articles/view.asset.php +1 -1
- package/dist/homepage-articles/view.css +1 -1
- package/dist/modal-rtl.css +1 -1
- package/dist/modal.asset.php +1 -1
- package/dist/modal.css +1 -1
- package/dist/modalCheckout-rtl.css +1 -1
- package/dist/modalCheckout.asset.php +1 -1
- package/dist/modalCheckout.css +1 -1
- package/dist/tiersBased-rtl.css +1 -1
- package/dist/tiersBased.asset.php +1 -1
- package/dist/tiersBased.css +1 -1
- package/includes/class-modal-checkout.php +8 -37
- package/includes/modal-checkout/class-checkout-data.php +39 -6
- package/includes/tracking/class-data-events.php +10 -64
- package/languages/newspack-blocks-de_DE-37552bb09e2a9fceec1970e3c6d46557.json +1 -1
- package/languages/newspack-blocks-de_DE-4fdea541976076f02d56139fb35e5b42.json +1 -1
- package/languages/newspack-blocks-de_DE-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-de_DE-7c29764d5ef91723f5ce454f66431b9e.json +1 -1
- package/languages/newspack-blocks-de_DE-969286d51bb0afe10983b9aec317b5ee.json +1 -1
- package/languages/newspack-blocks-de_DE-9970d3523fc8f26107b47ceeeb706779.json +1 -0
- package/languages/newspack-blocks-de_DE-eccbc51a43c04f59165364eda71e0be7.json +1 -1
- package/languages/newspack-blocks-de_DE-f8b1589c450689398f90b179f47e74ee.json +1 -1
- package/languages/newspack-blocks-de_DE.po +624 -587
- package/languages/newspack-blocks-es_ES-37552bb09e2a9fceec1970e3c6d46557.json +1 -1
- package/languages/newspack-blocks-es_ES-4fdea541976076f02d56139fb35e5b42.json +1 -1
- package/languages/newspack-blocks-es_ES-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-es_ES-7c29764d5ef91723f5ce454f66431b9e.json +1 -1
- package/languages/newspack-blocks-es_ES-969286d51bb0afe10983b9aec317b5ee.json +1 -1
- package/languages/newspack-blocks-es_ES-9970d3523fc8f26107b47ceeeb706779.json +1 -0
- package/languages/newspack-blocks-es_ES-eccbc51a43c04f59165364eda71e0be7.json +1 -1
- package/languages/newspack-blocks-es_ES-f8b1589c450689398f90b179f47e74ee.json +1 -1
- package/languages/newspack-blocks-es_ES.po +604 -567
- package/languages/newspack-blocks-fr_BE-37552bb09e2a9fceec1970e3c6d46557.json +1 -1
- package/languages/newspack-blocks-fr_BE-4fdea541976076f02d56139fb35e5b42.json +1 -1
- package/languages/newspack-blocks-fr_BE-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-fr_BE-7c29764d5ef91723f5ce454f66431b9e.json +1 -1
- package/languages/newspack-blocks-fr_BE-969286d51bb0afe10983b9aec317b5ee.json +1 -1
- package/languages/newspack-blocks-fr_BE-9970d3523fc8f26107b47ceeeb706779.json +1 -0
- package/languages/newspack-blocks-fr_BE-eccbc51a43c04f59165364eda71e0be7.json +1 -1
- package/languages/newspack-blocks-fr_BE-f8b1589c450689398f90b179f47e74ee.json +1 -1
- package/languages/newspack-blocks-fr_BE.po +602 -565
- package/languages/newspack-blocks-nb_NO-37552bb09e2a9fceec1970e3c6d46557.json +1 -1
- package/languages/newspack-blocks-nb_NO-4fdea541976076f02d56139fb35e5b42.json +1 -1
- package/languages/newspack-blocks-nb_NO-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-nb_NO-7c29764d5ef91723f5ce454f66431b9e.json +1 -1
- package/languages/newspack-blocks-nb_NO-969286d51bb0afe10983b9aec317b5ee.json +1 -1
- package/languages/newspack-blocks-nb_NO-9970d3523fc8f26107b47ceeeb706779.json +1 -0
- package/languages/newspack-blocks-nb_NO-eccbc51a43c04f59165364eda71e0be7.json +1 -1
- package/languages/newspack-blocks-nb_NO-f8b1589c450689398f90b179f47e74ee.json +1 -1
- package/languages/newspack-blocks-nb_NO.po +602 -565
- package/languages/newspack-blocks-pt_PT-37552bb09e2a9fceec1970e3c6d46557.json +1 -1
- package/languages/newspack-blocks-pt_PT-4fdea541976076f02d56139fb35e5b42.json +1 -1
- package/languages/newspack-blocks-pt_PT-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-pt_PT-7c29764d5ef91723f5ce454f66431b9e.json +1 -1
- package/languages/newspack-blocks-pt_PT-969286d51bb0afe10983b9aec317b5ee.json +1 -1
- package/languages/newspack-blocks-pt_PT-9970d3523fc8f26107b47ceeeb706779.json +1 -0
- package/languages/newspack-blocks-pt_PT-eccbc51a43c04f59165364eda71e0be7.json +1 -1
- package/languages/newspack-blocks-pt_PT-f8b1589c450689398f90b179f47e74ee.json +1 -1
- package/languages/newspack-blocks-pt_PT.po +620 -583
- package/languages/newspack-blocks.pot +806 -760
- package/newspack-blocks.php +2 -2
- package/package.json +6 -5
- package/src/blocks/carousel/block.json +4 -0
- package/src/blocks/carousel/edit.js +22 -0
- package/src/blocks/carousel/view.php +13 -1
- package/src/blocks/checkout-button/view.php +1 -1
- package/src/blocks/donate/edit/index.tsx +23 -11
- package/src/blocks/homepage-articles/class-wp-rest-newspack-articles-controller.php +25 -6
- package/src/blocks/homepage-articles/edit.tsx +8 -3
- package/src/blocks/homepage-articles/utils.ts +6 -3
- package/src/types/index.d.ts +2 -0
- package/vendor/composer/installed.php +2 -2
package/dist/modalCheckout.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:export{primary-000:#dfe7f4;primary-050:#bfcfe9;primary-100:#9fb6dd;primary-200:#809ed2;primary-300:#6086c7;primary-400:#406ebc;primary-500:#2055b0;primary-600:#003da5;primary-700:#00296e;primary-800:#001f53;primary-900:#001437;primary-1000:#000a1c;secondary-000:#eff9f2;secondary-050:#ddf3e3;secondary-100:#c8ecd4;secondary-200:#b1e6c3;secondary-300:#95dfaf;secondary-400:#6fd898;secondary-500:#26d07c;secondary-600:#1fb36a;secondary-700:#1ba25f;secondary-800:#178e53;secondary-900:#117644;secondary-1000:#09552f;tertiary-000:#fff4f6;tertiary-050:#fee8ed;tertiary-100:#fedbe3;tertiary-200:#fcded8;tertiary-300:#fdbfcd;tertiary-400:#fcaec0;tertiary-500:#fc9bb3;tertiary-600:#d9859a;tertiary-700:#c5788b;tertiary-800:#ad697a;tertiary-900:#905665;tertiary-1000:#683d48;quaternary-000:#fff5ee;quaternary-050:#ffeadc;quaternary-100:#ffdec7;quaternary-200:#ffd1af;quaternary-300:#ffc392;quaternary-400:#ffb46a;quaternary-500:#ffa300;quaternary-600:#dc8c00;quaternary-700:#c77e00;quaternary-800:#af6e00;quaternary-900:#925b00;quaternary-1000:#6a4100;neutral-000:#fff;neutral-050:#f7f7f7;neutral-100:#f0f0f0;neutral-200:#e0e0e0;neutral-300:#ddd;neutral-400:#ccc;neutral-500:#949494;neutral-600:#6c6c6c;neutral-700:#5d5d5d;neutral-800:#393939;neutral-900:#1e1e1e;neutral-1000:#000;overlay-000:rgba(0,0,0,.051);overlay-050:rgba(0,0,0,.102);overlay-100:rgba(0,0,0,.149);overlay-200:#0003;overlay-300:rgba(0,0,0,.302);overlay-400:#0006;overlay-500:rgba(0,0,0,.502);overlay-600:#0009;overlay-700:rgba(0,0,0,.702);overlay-800:#000c;overlay-900:rgba(0,0,0,.902);overlay-1000:rgba(0,0,0,.949);success-000:#edfaef;success-050:#b8e6bf;success-500:#008a20;success-600:#007017;error-000:#fcf0f1;error-050:#facfd2;error-500:#d63638;error-600:#b32d2e;warning-000:#fcf9e8;warning-050:#f5e6ab;warning-300:#dba617;warning-400:#bd8600}#newspack_modal_checkout_container{background:var(--newspack-ui-color-neutral-0,#fff);outline:none;padding:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container a,#newspack_modal_checkout_container a:hover{text-decoration:none}#newspack_modal_checkout_container form p{margin:0 0 var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container form p.form-row-first:has(+.form-row-last:last-child),#newspack_modal_checkout_container form p:last-child{margin-bottom:0}#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table th,#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table tr{font-weight:400}#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table tfoot>tr.order-total>th,#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table tfoot>tr.recurring-totals>th,#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table thead>tr>th{font-weight:var(--newspack-ui-font-weight-strong,600)}#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table td.product-name{padding-right:1em}#newspack_modal_checkout_container .order-review-wrapper.hidden,#newspack_modal_checkout_container .woocommerce-form-login-toggle{display:none}#newspack_modal_checkout_container .woocommerce form .form-row .required{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce form .form-row-first:not(:has(+.form-row-last)),#newspack_modal_checkout_container .woocommerce form .form-row-last+.form-row-last,#newspack_modal_checkout_container .woocommerce form .form-row-wide+.form-row-last{clear:both;float:none;width:100%}#newspack_modal_checkout_container .woocommerce-checkout h3{font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5);margin:0 0 var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields h3{margin:0 0 var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details h3{margin-bottom:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-ppcp-gateway{margin-top:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-applepay-container,#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-googlepay-container,#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-ppcp-gateway{margin-bottom:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review{margin:0}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-account-fields label,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields label,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields label,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-shipping-fields label{font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5)}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-account-fields:not(:has(>*)),#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields:not(:has(>*)),#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields:not(:has(>*)),#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-shipping-fields:not(:has(>*)){display:none}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields__field-wrapper:after{clear:both;content:"";display:table}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields__field-wrapper~.form-row{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields h3{display:none}#newspack_modal_checkout_container #checkout_details{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container #checkout_details h3{margin:0 0 var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .billing-details:not(:last-child),#newspack_modal_checkout_container .gift-details:not(:last-child),#newspack_modal_checkout_container .shipping-details:not(:last-child){margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .billing-details p,#newspack_modal_checkout_container .gift-details p,#newspack_modal_checkout_container .shipping-details p{margin:0}#newspack_modal_checkout_container #billing_country_field:has(input[readonly][autocomplete=country]) .required,#newspack_modal_checkout_container #shipping_country_field:has(input[readonly][autocomplete=country]) .required{display:none}#newspack_modal_checkout_container #billing_country_field:has(input[readonly][autocomplete=country]) strong,#newspack_modal_checkout_container #shipping_country_field:has(input[readonly][autocomplete=country]) strong{font-weight:400}#newspack_modal_checkout_container #ship-to-different-address{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container #ship-to-different-address label{display:flex;font-weight:600;margin:0}#newspack_modal_checkout_container #ship-to-different-address label input[type=checkbox]{display:grid}#newspack_modal_checkout_container #ship-to-different-address span{font-weight:unset}#newspack_modal_checkout_container #ship-to-different-address span:after,#newspack_modal_checkout_container #ship-to-different-address span:before{display:none}#newspack_modal_checkout_container .shipping_address{margin-top:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .newspack-wcsg--wrapper{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .newspack-wcsg--gift-toggle{align-items:center;display:flex;font-weight:700;margin-bottom:0}#newspack_modal_checkout_container .newspack-wcsg--gift-toggle label{display:flex!important;margin-bottom:0}#newspack_modal_checkout_container .newspack-wcsg--gift-toggle .woocommerce-input-wrapper{line-height:.5;margin-right:.25rem}#newspack_modal_checkout_container .newspack-wcsg--gift-email{max-height:0;overflow:hidden;transition:max-height .25s ease-in-out;visibility:hidden}#newspack_modal_checkout_container .newspack-wcsg--gift-email.visible{margin:var(--newspack-ui-spacer-5,24px) 0 0;max-height:none;visibility:visible}#newspack_modal_checkout_container .woocommerce-account-fields{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .woocommerce-account-fields h3:has(+.create-account){display:none}#newspack_modal_checkout_container .woocommerce-account-fields .create-account label:has(input[type=checkbox]){display:grid;gap:0 var(--newspack-ui-spacer-base,8px);grid-template-columns:var(--newspack-ui-spacer-4,20px) 1fr;margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength{font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin:var(--newspack-ui-spacer-base,8px) 0 0}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.bad,#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.short{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.good{color:var(--newspack-ui-color-warning-40,#bd8600)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.strong{color:var(--newspack-ui-color-success-50,#008a20)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-hint{color:var(--newspack-ui-color-neutral-60,#6c6c6c);font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account>p.form-row:last-of-type{margin-bottom:0}#newspack_modal_checkout_container .name-your-price{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .modal_checkout_nyp h3{color:var(--newspack-ui-label-color,inherit);margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .modal_checkout_nyp .input-price{align-items:center;display:flex;flex-wrap:nowrap;gap:.5em;margin:0 0 8px}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label{align-items:center;display:flex;margin:0;position:relative;width:100%}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label span.currency{left:0;padding-left:16px;position:absolute}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label input{padding-left:32px}#newspack_modal_checkout_container .modal_checkout_nyp .input-price button{margin-top:0}#newspack_modal_checkout_container .woocommerce-form-coupon{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-form-coupon h3{color:var(--newspack-ui-label-color,inherit);margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type{align-items:center;display:flex;gap:var(--newspack-ui-spacer-base,#1e1e1e)}#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type button,#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type input{margin:0!important}#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type+.newspack-ui__helper-text{margin-top:calc(var(--newspack-ui-spacer-3, 16px)*-1)}#newspack_modal_checkout_container .modal_checkout_coupon.modal-processing,#newspack_modal_checkout_container .modal_checkout_nyp.modal-processing{opacity:.5}#newspack_modal_checkout_container .wc_payment_methods{margin:var(--newspack-ui-spacer-5,24px) 0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method+.wc_payment_method{margin-top:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method:only-child>span.newspack-ui__input-card{background-color:#0000;border:none;gap:0;grid-template-columns:0;padding:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method:only-child>span.newspack-ui__input-card>label{display:none}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box{background:#0000;font-weight:400;padding:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box p{color:var(--newspack-ui-color-neutral-60,#6c6c6c);font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods{margin:var(--newspack-ui-spacer-3,16px) 0 0;padding:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li{display:flex}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li:not(:last-child){margin-bottom:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li label{font-size:var(--newspack-ui-font-size-s,16px);font-weight:400;line-height:var(--newspack-ui-line-height-s,1.5);margin:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li input{margin-right:var(--newspack-ui-spacer-base,8px);margin-top:calc(var(--newspack-ui-font-size-s, 16px)*var(--newspack-ui-line-height-s, 1.5)/2 - 10px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset{margin:var(--newspack-ui-spacer-3,16px) 0 0;padding:0!important}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset.wc-payment-form{margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p{font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin-bottom:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p.form-row{align-items:flex-start;display:flex;gap:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p.form-row input{margin:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p.form-row label{font-weight:400;margin-bottom:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .newspack-cover-fees label,#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .woocommerce-SavedPaymentMethods-saveNew label{font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .newspack-cover-fees:before,#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .woocommerce-SavedPaymentMethods-saveNew:before{display:none}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card{border:1px solid var(--newspack-ui-color-border,#ddd);border-radius:var(--newspack-ui-border-radius-m);color:var(--newspack-ui-label-color,#000);cursor:pointer;display:block;font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-s,16px);font-weight:600;gap:0 var(--newspack-ui-spacer-3,16px);line-height:var(--newspack-ui-line-height-s,1.5);margin-bottom:var(--newspack-ui-spacer-5);margin-top:calc(var(--newspack-ui-spacer-2)*-1);padding:var(--newspack-ui-spacer-3,16px);transition:background-color 125ms ease-in-out,border-color 125ms ease-in-out}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(>input){background:var(--newspack-ui-color-neutral-0,#fff);border-color:var(--newspack-ui-color-border,#ddd)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(>input:checked){background:var(--newspack-ui-color-neutral-5,#f7f7f7);border-color:var(--newspack-ui-color-neutral-90,#1e1e1e)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox]),#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio]){display:grid!important;grid-template-columns:var(--newspack-ui-spacer-4,20px) 1fr}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>:not(input),#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>:not(input){grid-column:2/span 1}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>label,#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>label{grid-column:1/span 2}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>label:before,#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>label:before{margin-right:var(--newspack-ui-spacer-3,16px);transform:translateY(0)!important}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>input,#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>input{margin-top:.125em}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>input+label:before{background:var(--newspack-ui-color-neutral-0,#fff)!important;border:1px solid var(--newspack-ui-color-input-border,#ccc)!important;box-shadow:none;height:var(--newspack-ui-spacer-4,20px);margin:auto 0;width:var(--newspack-ui-spacer-4,20px)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>input:checked+label:before{border:6px solid var(--newspack-ui-color-neutral-90,#1e1e1e)!important}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>label{align-items:center;display:flex;font-weight:var(--newspack-ui-font-weight-strong,600);margin:unset}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>label img{margin-left:auto}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card a{text-decoration:underline}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card .required{color:var(--newspack-ui-color-error-50)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card+span.newspack-ui__input-card{margin-top:calc(var(--newspack-ui-spacer-2, 12px)*-1)}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments .testmode-info{margin-bottom:0}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments #wc-woocommerce_payments-upe-form{margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label){align-items:unset}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label) .woopayments-rich-payment-method-label img{margin:0}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label) .woopayments-rich-payment-method-label .payment-method-title{margin-left:-.25em;vertical-align:unset}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label) span>img{display:none}#newspack_modal_checkout_container .wc-credit-card-form .form-row-wide{margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .wc-credit-card-form .wc-stripe-elements-field,#newspack_modal_checkout_container .wc-credit-card-form .wc-stripe-iban-element-field{border:1px solid var(--newspack-ui-color-input-border,#ddd);border-radius:var(--newspack-ui-border-radius-m,6px);display:block;font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5);padding:calc(var(--newspack-ui-spacer-2, 12px) - 1px) calc(var(--newspack-ui-spacer-3, 16px) - 1px)}#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) .wc-stripe-elements-field,#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) .wc-stripe-iban-element-field{border-color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) label{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) .woocommerce_error{background:#0000;color:var(--newspack-ui-color-error-50,#d63638);font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);padding:0}@media(max-width:440px){#newspack_modal_checkout_container .wc-credit-card-form#wc-stripe-cc-form .form-row-first,#newspack_modal_checkout_container .wc-credit-card-form#wc-stripe-cc-form .form-row-last{float:none;width:100%}}#newspack_modal_checkout_container #stripe-payment-data~fieldset{margin:var(--newspack-ui-spacer-3,16px) 0 0}#newspack_modal_checkout_container fieldset:has(.woocommerce-SavedPaymentMethods-saveNew[style*="display: none"]){display:none}#newspack_modal_checkout_container #wcpay-upe-element,#newspack_modal_checkout_container .wcpay-upe-element{margin:0;padding:0}#newspack_modal_checkout_container #wcpay-upe-element+div:has(.woocommerce-SavedPaymentMethods-saveNew),#newspack_modal_checkout_container .wcpay-upe-element+div:has(.woocommerce-SavedPaymentMethods-saveNew){margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number{font-size:inherit;font-style:inherit;font-weight:400;line-height:var(--newspack-ui-line-height-xs,1.4286);padding:0;vertical-align:unset}#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number:focus,#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number:hover{color:inherit;filter:none}#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number i{height:1em;width:1em}#newspack_modal_checkout_container .payment_method_woocommerce_payments .testmode-info a{text-decoration:underline}#newspack_modal_checkout_container .woocommerce-input-wrapper:has(.stripe-gateway-stripelink-modal-trigger){display:block;position:relative}#newspack_modal_checkout_container .woocommerce-input-wrapper:has(.stripe-gateway-stripelink-modal-trigger) .stripe-gateway-stripelink-modal-trigger{inset:calc(50% - 24px) 20px auto auto!important}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .sv-wc-payment-gateway-card-icons,#newspack_modal_checkout_container li.payment_method_braintree_paypal .sv-wc-payment-gateway-card-icons{float:right}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_paypal .sv-wc-payment-gateway-payment-form-manage-payment-methods{display:none}#newspack_modal_checkout_container li.payment_method_braintree_credit_card>p.form-row,#newspack_modal_checkout_container li.payment_method_braintree_paypal>p.form-row{margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .form-row:after,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .form-row:before,#newspack_modal_checkout_container li.payment_method_braintree_paypal .form-row:after,#newspack_modal_checkout_container li.payment_method_braintree_paypal .form-row:before{display:none}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .form-row input[type=radio]+label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .form-row input[type=radio]+label{display:inline-block}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row{display:block;margin:var(--newspack-ui-spacer-base,8px) 0;padding:0!important}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row label{font-size:var(--newspack-ui-font-size-s,16px);font-weight:600;line-height:var(--newspack-ui-line-height-s,1.5);margin:0 0 var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row .wc-braintree-hosted-field-card-number,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row .wc-braintree-hosted-field-card-number,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row .wc-braintree-hosted-field-card-number,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row .wc-braintree-hosted-field-card-number{margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-context-hosted]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-context-hosted]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-context-hosted]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-context-hosted]){margin:0}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-paypal-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-paypal-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-paypal-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-paypal-test-amount]){display:none}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method){display:grid!important;gap:0 var(--newspack-ui-spacer-base,8px);grid-template-columns:var(--newspack-ui-spacer-4,20px) 1fr}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label{font-weight:600;margin:0}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:last-child label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:last-child label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:last-child label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:last-child label{margin:0}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table{width:100%}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table label,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table small,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table td,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table th{font-size:var(--newspack-ui-font-size-xs,14px)!important;line-height:var(--newspack-ui-line-height-xs,1.4286)!important}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table .recurring-totals th,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table thead th{background:#0000}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table .woocommerce-shipping-totals #shipping_method label,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table .woocommerce-shipping-totals #shipping_method li{margin:0}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table td,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table th{border:solid var(--newspack-ui-color-border,#ddd);border-width:0 0 1px;word-break:break-all}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table tfoot tr:last-child td,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table tfoot tr:last-child th{border-bottom:0}#newspack_modal_checkout_container .woocommerce .first-payment-date{font-family:var(--newspack-ui-font-family,system-ui)}#newspack_modal_checkout_container .woocommerce-invalid .select2-container--default .select2-selection--single,#newspack_modal_checkout_container .woocommerce-invalid input,#newspack_modal_checkout_container .woocommerce-invalid textarea{border-color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-invalid .select2-container--default .select2-selection--single:focus,#newspack_modal_checkout_container .woocommerce-invalid input:focus,#newspack_modal_checkout_container .woocommerce-invalid textarea:focus{outline-color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-invalid label{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper{margin-bottom:0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text{color:var(--newspack-ui-color-neutral-60,#6c6c6c)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions{margin-top:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions :first-child{margin-top:0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field{background:var(--newspack-ui-color-neutral-5,#f7f7f7);border-color:var(--newspack-ui-color-border,#ddd);box-shadow:none;font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin-top:var(--newspack-ui-spacer-5,24px);padding:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row label,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field label{align-items:center;display:flex!important;gap:0;height:20px;justify-content:flex-start;margin:0;padding:0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row label>input,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field label>input{margin:0 var(--newspack-ui-spacer-2,12px) 0 0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row label>span,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field label>span{font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin-bottom:0}#newspack_modal_checkout_container form .automatewoo-optin,#newspack_modal_checkout_container form .newspack-subscription-confirmation-checkbox{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container #place-order{margin-bottom:0}#newspack_modal_checkout_container #wc-stripe-express-checkout-button-separator,#newspack_modal_checkout_container #wc-stripe-payment-request-button-separator,#newspack_modal_checkout_container #wcpay-express-checkout-button-separator{display:none!important}#newspack_modal_checkout_container #wc-stripe-express-checkout-button-separator[style*="display:none"]+.newspack-ui__word-divider,#newspack_modal_checkout_container #wc-stripe-payment-request-button-separator[style*="display:none"]+.newspack-ui__word-divider,#newspack_modal_checkout_container #wcpay-express-checkout-button-separator[style*="display:none"]+.newspack-ui__word-divider{display:none}#newspack_modal_checkout_container #checkout_edit_billing{margin-top:0}#newspack_modal_checkout_container #checkout_cancel{margin-bottom:0;margin-top:var(--newspack-ui-spacer-2)}#newspack_modal_checkout_container #checkout_error_back{margin-bottom:0}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup{scroll-margin-top:var(--newspack-ui-spacer-10,64px)}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper li div,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup li div{display:block}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-error,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-info,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-message,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-error,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-info,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-message{background:none;color:inherit;font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-xs,14px);list-style-type:none;margin:0;padding:0}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-error li,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-info li,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-message li,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-error li,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-info li,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-message li{width:100%}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper:not(:empty){border-left:none;margin-bottom:var(--newspack-ui-spacer-5,24px);margin-top:0;padding:0!important}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-error.newspack-ui__notice--error{padding:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .modal-processing{opacity:.5}#newspack_modal_checkout_container #address_rdi_field{display:none}#newspack_modal_checkout_container .woocommerce-info:has(+#order_review.change-payment-method){background:#0000;font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5);padding:0}#newspack_modal_checkout_container #order_review.change-payment-method .payment_box ul.wc-saved-payment-methods{margin-top:0}#newspack_modal_checkout_container #order_review.change-payment-method .update-all-subscriptions-payment-method-wrap label{font-size:var(--newspack-ui-font-size-s,16px);font-weight:400;line-height:var(--newspack-ui-line-height-s,1.5)}#newspack_modal_checkout_container #update_all_subscriptions_payment_method_field label{margin-bottom:0}
|
|
1
|
+
:export{primary-000:#dfe7f4;primary-050:#bfcfe9;primary-100:#9fb6dd;primary-200:#809ed2;primary-300:#6086c7;primary-400:#406ebc;primary-500:#2055b0;primary-600:#003da5;primary-700:#00296e;primary-800:#001f53;primary-900:#001437;primary-1000:#000a1c;secondary-000:#eff9f2;secondary-050:#ddf3e3;secondary-100:#c8ecd4;secondary-200:#b1e6c3;secondary-300:#95dfaf;secondary-400:#6fd898;secondary-500:#26d07c;secondary-600:#1fb36a;secondary-700:#1ba25f;secondary-800:#178e53;secondary-900:#117644;secondary-1000:#09552f;tertiary-000:#fff4f6;tertiary-050:#fee8ed;tertiary-100:#fedbe3;tertiary-200:#fdced8;tertiary-300:#fdbfcd;tertiary-400:#fcaec0;tertiary-500:#fc9bb3;tertiary-600:#d9859a;tertiary-700:#c5788b;tertiary-800:#ad697a;tertiary-900:#905665;tertiary-1000:#683d48;quaternary-000:#fff5ee;quaternary-050:#ffeadc;quaternary-100:#ffdec7;quaternary-200:#ffd1af;quaternary-300:#ffc392;quaternary-400:#ffb46a;quaternary-500:#ffa300;quaternary-600:#dc8c00;quaternary-700:#c77e00;quaternary-800:#af6e00;quaternary-900:#925b00;quaternary-1000:#6a4100;neutral-000:#fff;neutral-050:#f7f7f7;neutral-100:#f0f0f0;neutral-200:#e0e0e0;neutral-300:#ddd;neutral-400:#ccc;neutral-500:#949494;neutral-600:#6c6c6c;neutral-700:#5d5d5d;neutral-800:#393939;neutral-900:#1e1e1e;neutral-1000:#000;overlay-000:rgba(0,0,0,.051);overlay-050:rgba(0,0,0,.102);overlay-100:rgba(0,0,0,.149);overlay-200:#0003;overlay-300:rgba(0,0,0,.302);overlay-400:#0006;overlay-500:rgba(0,0,0,.502);overlay-600:#0009;overlay-700:rgba(0,0,0,.702);overlay-800:#000c;overlay-900:rgba(0,0,0,.902);overlay-1000:rgba(0,0,0,.949);success-000:#edfaef;success-050:#b8e6bf;success-500:#008a20;success-600:#007017;error-000:#fcf0f1;error-050:#facfd2;error-500:#d63638;error-600:#b32d2e;warning-000:#fcf9e8;warning-050:#f5e6ab;warning-300:#dba617;warning-400:#bd8600}#newspack_modal_checkout_container{background:var(--newspack-ui-color-neutral-0,#fff);outline:none;padding:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container a,#newspack_modal_checkout_container a:hover{text-decoration:none}#newspack_modal_checkout_container form p{margin:0 0 var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container form p.form-row-first:has(+.form-row-last:last-child),#newspack_modal_checkout_container form p:last-child{margin-bottom:0}#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table th,#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table tr{font-weight:400}#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table tfoot>tr.order-total>th,#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table tfoot>tr.recurring-totals>th,#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table thead>tr>th{font-weight:var(--newspack-ui-font-weight-strong,600)}#newspack_modal_checkout_container table.woocommerce-checkout-review-order-table td.product-name{padding-right:1em}#newspack_modal_checkout_container .order-review-wrapper.hidden,#newspack_modal_checkout_container .woocommerce-form-login-toggle{display:none}#newspack_modal_checkout_container .woocommerce form .form-row .required{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce form .form-row-first:not(:has(+.form-row-last)),#newspack_modal_checkout_container .woocommerce form .form-row-last+.form-row-last,#newspack_modal_checkout_container .woocommerce form .form-row-wide+.form-row-last{clear:both;float:none;width:100%}#newspack_modal_checkout_container .woocommerce-checkout h3{font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5);margin:0 0 var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields h3{margin:0 0 var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details h3{margin-bottom:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-ppcp-gateway{margin-top:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-applepay-container,#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-googlepay-container,#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details #ppc-button-ppcp-gateway{margin-bottom:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review{margin:0}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-account-fields label,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields label,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields label,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-shipping-fields label{font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5)}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-account-fields:not(:has(>*)),#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields:not(:has(>*)),#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields:not(:has(>*)),#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-shipping-fields:not(:has(>*)){display:none}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields__field-wrapper:after{clear:both;content:"";display:table}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields,#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-billing-fields__field-wrapper~.form-row{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .woocommerce-checkout .woocommerce-additional-fields h3{display:none}#newspack_modal_checkout_container #checkout_details{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container #checkout_details h3{margin:0 0 var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .billing-details:not(:last-child),#newspack_modal_checkout_container .gift-details:not(:last-child),#newspack_modal_checkout_container .shipping-details:not(:last-child){margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .billing-details p,#newspack_modal_checkout_container .gift-details p,#newspack_modal_checkout_container .shipping-details p{margin:0}#newspack_modal_checkout_container #billing_country_field:has(input[readonly][autocomplete=country]) .required,#newspack_modal_checkout_container #shipping_country_field:has(input[readonly][autocomplete=country]) .required{display:none}#newspack_modal_checkout_container #billing_country_field:has(input[readonly][autocomplete=country]) strong,#newspack_modal_checkout_container #shipping_country_field:has(input[readonly][autocomplete=country]) strong{font-weight:400}#newspack_modal_checkout_container #ship-to-different-address{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container #ship-to-different-address label{display:flex;font-weight:600;margin:0}#newspack_modal_checkout_container #ship-to-different-address label input[type=checkbox]{display:grid}#newspack_modal_checkout_container #ship-to-different-address span{font-weight:unset}#newspack_modal_checkout_container #ship-to-different-address span:after,#newspack_modal_checkout_container #ship-to-different-address span:before{display:none}#newspack_modal_checkout_container .shipping_address{margin-top:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .newspack-wcsg--wrapper{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .newspack-wcsg--gift-toggle{align-items:center;display:flex;font-weight:700;margin-bottom:0}#newspack_modal_checkout_container .newspack-wcsg--gift-toggle label{display:flex!important;margin-bottom:0}#newspack_modal_checkout_container .newspack-wcsg--gift-toggle .woocommerce-input-wrapper{line-height:.5;margin-right:.25rem}#newspack_modal_checkout_container .newspack-wcsg--gift-email{max-height:0;overflow:hidden;transition:max-height .25s ease-in-out;visibility:hidden}#newspack_modal_checkout_container .newspack-wcsg--gift-email.visible{margin:var(--newspack-ui-spacer-5,24px) 0 0;max-height:none;visibility:visible}#newspack_modal_checkout_container .woocommerce-account-fields{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .woocommerce-account-fields h3:has(+.create-account){display:none}#newspack_modal_checkout_container .woocommerce-account-fields .create-account label:has(input[type=checkbox]){display:grid;gap:0 var(--newspack-ui-spacer-base,8px);grid-template-columns:var(--newspack-ui-spacer-4,20px) 1fr;margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength{font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin:var(--newspack-ui-spacer-base,8px) 0 0}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.bad,#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.short{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.good{color:var(--newspack-ui-color-warning-40,#bd8600)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-strength.strong{color:var(--newspack-ui-color-success-50,#008a20)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account .woocommerce-password-hint{color:var(--newspack-ui-color-neutral-60,#6c6c6c);font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286)}#newspack_modal_checkout_container .woocommerce-account-fields .create-account>p.form-row:last-of-type{margin-bottom:0}#newspack_modal_checkout_container .name-your-price{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .modal_checkout_nyp h3{color:var(--newspack-ui-label-color,inherit);margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .modal_checkout_nyp .input-price{align-items:center;display:flex;flex-wrap:nowrap;gap:.5em;margin:0 0 8px}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label{align-items:center;display:flex;margin:0;position:relative;width:100%}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label span.currency{left:0;padding-left:16px;position:absolute}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label input{padding-left:32px}#newspack_modal_checkout_container .modal_checkout_nyp .input-price button{margin-top:0}#newspack_modal_checkout_container .woocommerce-form-coupon{margin-bottom:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-form-coupon h3{color:var(--newspack-ui-label-color,inherit);margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type{align-items:center;display:flex;gap:var(--newspack-ui-spacer-base,#1e1e1e)}#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type button,#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type input{margin:0!important}#newspack_modal_checkout_container .woocommerce-form-coupon p:first-of-type+.newspack-ui__helper-text{margin-top:calc(var(--newspack-ui-spacer-3, 16px)*-1)}#newspack_modal_checkout_container .modal_checkout_coupon.modal-processing,#newspack_modal_checkout_container .modal_checkout_nyp.modal-processing{opacity:.5}#newspack_modal_checkout_container .wc_payment_methods{margin:var(--newspack-ui-spacer-5,24px) 0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method+.wc_payment_method{margin-top:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method:only-child>span.newspack-ui__input-card{background-color:#0000;border:none;gap:0;grid-template-columns:0;padding:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method:only-child>span.newspack-ui__input-card>label{display:none}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box{background:#0000;font-weight:400;padding:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box p{color:var(--newspack-ui-color-neutral-60,#6c6c6c);font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods{margin:var(--newspack-ui-spacer-3,16px) 0 0;padding:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li{display:flex}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li:not(:last-child){margin-bottom:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li label{font-size:var(--newspack-ui-font-size-s,16px);font-weight:400;line-height:var(--newspack-ui-line-height-s,1.5);margin:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box ul.wc-saved-payment-methods li input{margin-right:var(--newspack-ui-spacer-base,8px);margin-top:calc(var(--newspack-ui-font-size-s, 16px)*var(--newspack-ui-line-height-s, 1.5)/2 - 10px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset{margin:var(--newspack-ui-spacer-3,16px) 0 0;padding:0!important}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset.wc-payment-form{margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p{font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin-bottom:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p.form-row{align-items:flex-start;display:flex;gap:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p.form-row input{margin:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box fieldset p.form-row label{font-weight:400;margin-bottom:0}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .newspack-cover-fees label,#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .woocommerce-SavedPaymentMethods-saveNew label{font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5)}#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .newspack-cover-fees:before,#newspack_modal_checkout_container .wc_payment_methods .wc_payment_method .payment_box .woocommerce-SavedPaymentMethods-saveNew:before{display:none}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card{border:1px solid var(--newspack-ui-color-border,#ddd);border-radius:var(--newspack-ui-border-radius-m);color:var(--newspack-ui-label-color,#000);cursor:pointer;display:block;font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-s,16px);font-weight:600;gap:0 var(--newspack-ui-spacer-3,16px);line-height:var(--newspack-ui-line-height-s,1.5);margin-bottom:var(--newspack-ui-spacer-5);margin-top:calc(var(--newspack-ui-spacer-2)*-1);padding:var(--newspack-ui-spacer-3,16px);transition:background-color 125ms ease-in-out,border-color 125ms ease-in-out}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(>input){background:var(--newspack-ui-color-neutral-0,#fff);border-color:var(--newspack-ui-color-border,#ddd)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(>input:checked){background:var(--newspack-ui-color-neutral-5,#f7f7f7);border-color:var(--newspack-ui-color-neutral-90,#1e1e1e)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox]),#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio]){display:grid!important;grid-template-columns:var(--newspack-ui-spacer-4,20px) 1fr}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>:not(input),#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>:not(input){grid-column:2/span 1}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>label,#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>label{grid-column:1/span 2}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>label:before,#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>label:before{margin-right:var(--newspack-ui-spacer-3,16px);transform:translateY(0)!important}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=checkbox])>input,#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card:has(input[type=radio])>input{margin-top:.125em}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>input+label:before{background:var(--newspack-ui-color-neutral-0,#fff)!important;border:1px solid var(--newspack-ui-color-input-border,#ccc)!important;box-shadow:none;height:var(--newspack-ui-spacer-4,20px);margin:auto 0;width:var(--newspack-ui-spacer-4,20px)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>input:checked+label:before{border:6px solid var(--newspack-ui-color-neutral-90,#1e1e1e)!important}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>label{align-items:center;display:flex;font-weight:var(--newspack-ui-font-weight-strong,600);margin:unset}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card>label img{margin-left:auto}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card a{text-decoration:underline}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card .required{color:var(--newspack-ui-color-error-50)}#newspack_modal_checkout_container .wc_payment_methods span.newspack-ui__input-card+span.newspack-ui__input-card{margin-top:calc(var(--newspack-ui-spacer-2, 12px)*-1)}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments .testmode-info{margin-bottom:0}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments #wc-woocommerce_payments-upe-form{margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label){align-items:unset}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label) .woopayments-rich-payment-method-label img{margin:0}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label) .woopayments-rich-payment-method-label .payment-method-title{margin-left:-.25em;vertical-align:unset}#newspack_modal_checkout_container #payment .payment_method_woocommerce_payments label:has(.woopayments-rich-payment-method-label) span>img{display:none}#newspack_modal_checkout_container .wc-credit-card-form .form-row-wide{margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container .wc-credit-card-form .wc-stripe-elements-field,#newspack_modal_checkout_container .wc-credit-card-form .wc-stripe-iban-element-field{border:1px solid var(--newspack-ui-color-input-border,#ddd);border-radius:var(--newspack-ui-border-radius-m,6px);display:block;font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5);padding:calc(var(--newspack-ui-spacer-2, 12px) - 1px) calc(var(--newspack-ui-spacer-3, 16px) - 1px)}#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) .wc-stripe-elements-field,#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) .wc-stripe-iban-element-field{border-color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) label{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .wc-credit-card-form:has(div.stripe-source-errors[role=alert]:not(:empty)) .woocommerce_error{background:#0000;color:var(--newspack-ui-color-error-50,#d63638);font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);padding:0}@media(max-width:440px){#newspack_modal_checkout_container .wc-credit-card-form#wc-stripe-cc-form .form-row-first,#newspack_modal_checkout_container .wc-credit-card-form#wc-stripe-cc-form .form-row-last{float:none;width:100%}}#newspack_modal_checkout_container #stripe-payment-data~fieldset{margin:var(--newspack-ui-spacer-3,16px) 0 0}#newspack_modal_checkout_container fieldset:has(.woocommerce-SavedPaymentMethods-saveNew[style*="display: none"]){display:none}#newspack_modal_checkout_container #wcpay-upe-element,#newspack_modal_checkout_container .wcpay-upe-element{margin:0;padding:0}#newspack_modal_checkout_container #wcpay-upe-element+div:has(.woocommerce-SavedPaymentMethods-saveNew),#newspack_modal_checkout_container .wcpay-upe-element+div:has(.woocommerce-SavedPaymentMethods-saveNew){margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number{font-size:inherit;font-style:inherit;font-weight:400;line-height:var(--newspack-ui-line-height-xs,1.4286);padding:0;vertical-align:unset}#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number:focus,#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number:hover{color:inherit;filter:none}#newspack_modal_checkout_container .payment_method_woocommerce_payments .js-woopayments-copy-test-number i{height:1em;width:1em}#newspack_modal_checkout_container .payment_method_woocommerce_payments .testmode-info a{text-decoration:underline}#newspack_modal_checkout_container .woocommerce-input-wrapper:has(.stripe-gateway-stripelink-modal-trigger){display:block;position:relative}#newspack_modal_checkout_container .woocommerce-input-wrapper:has(.stripe-gateway-stripelink-modal-trigger) .stripe-gateway-stripelink-modal-trigger{inset:calc(50% - 24px) 20px auto auto!important}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .sv-wc-payment-gateway-card-icons,#newspack_modal_checkout_container li.payment_method_braintree_paypal .sv-wc-payment-gateway-card-icons{float:right}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_paypal .sv-wc-payment-gateway-payment-form-manage-payment-methods{display:none}#newspack_modal_checkout_container li.payment_method_braintree_credit_card>p.form-row,#newspack_modal_checkout_container li.payment_method_braintree_paypal>p.form-row{margin-top:var(--newspack-ui-spacer-3,16px)}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .form-row:after,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .form-row:before,#newspack_modal_checkout_container li.payment_method_braintree_paypal .form-row:after,#newspack_modal_checkout_container li.payment_method_braintree_paypal .form-row:before{display:none}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .form-row input[type=radio]+label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .form-row input[type=radio]+label{display:inline-block}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row{display:block;margin:var(--newspack-ui-spacer-base,8px) 0;padding:0!important}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row label{font-size:var(--newspack-ui-font-size-s,16px);font-weight:600;line-height:var(--newspack-ui-line-height-s,1.5);margin:0 0 var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row .wc-braintree-hosted-field-card-number,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row .wc-braintree-hosted-field-card-number,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row .wc-braintree-hosted-field-card-number,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row .wc-braintree-hosted-field-card-number{margin-bottom:var(--newspack-ui-spacer-base,8px)}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-context-hosted]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-context-hosted]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-context-hosted]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-context-hosted]){margin:0}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-paypal-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-paypal-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(label[for=wc-braintree-paypal-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row .sv-wc-payment-gateway-payment-form-manage-payment-methods,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-credit-card-test-amount]),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(label[for=wc-braintree-paypal-test-amount]){display:none}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method),#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method){display:grid!important;gap:0 var(--newspack-ui-spacer-base,8px);grid-template-columns:var(--newspack-ui-spacer-4,20px) 1fr}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-credit-card-tokenize-payment-method) label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:has(#wc-braintree-paypal-tokenize-payment-method) label{font-weight:600;margin:0}#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_credit_card .form-row:last-child label,#newspack_modal_checkout_container li.payment_method_braintree_credit_card .payment_method_braintree_paypal .form-row:last-child label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_credit_card .form-row:last-child label,#newspack_modal_checkout_container li.payment_method_braintree_paypal .payment_method_braintree_paypal .form-row:last-child label{margin:0}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table{width:100%}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table label,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table small,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table td,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table th{font-size:var(--newspack-ui-font-size-xs,14px)!important;line-height:var(--newspack-ui-line-height-xs,1.4286)!important}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table .recurring-totals th,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table thead th{background:#0000}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table .woocommerce-shipping-totals #shipping_method label,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table .woocommerce-shipping-totals #shipping_method li{margin:0}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table td,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table th{border:solid var(--newspack-ui-color-border,#ddd);border-width:0 0 1px;word-break:break-all}#newspack_modal_checkout_container .woocommerce-checkout-review-order-table tfoot tr:last-child td,#newspack_modal_checkout_container .woocommerce-checkout-review-order-table tfoot tr:last-child th{border-bottom:0}#newspack_modal_checkout_container .woocommerce .first-payment-date{font-family:var(--newspack-ui-font-family,system-ui)}#newspack_modal_checkout_container .woocommerce-invalid .select2-container--default .select2-selection--single,#newspack_modal_checkout_container .woocommerce-invalid input,#newspack_modal_checkout_container .woocommerce-invalid textarea{border-color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-invalid .select2-container--default .select2-selection--single:focus,#newspack_modal_checkout_container .woocommerce-invalid input:focus,#newspack_modal_checkout_container .woocommerce-invalid textarea:focus{outline-color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-invalid label{color:var(--newspack-ui-color-error-50,#d63638)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper{margin-bottom:0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text{color:var(--newspack-ui-color-neutral-60,#6c6c6c)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions{margin-top:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions :first-child{margin-top:0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field{background:var(--newspack-ui-color-neutral-5,#f7f7f7);border-color:var(--newspack-ui-color-border,#ddd);box-shadow:none;font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin-top:var(--newspack-ui-spacer-5,24px);padding:var(--newspack-ui-spacer-5,24px)}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row label,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field label{align-items:center;display:flex!important;gap:0;height:20px;justify-content:flex-start;margin:0;padding:0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row label>input,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field label>input{margin:0 var(--newspack-ui-spacer-2,12px) 0 0}#newspack_modal_checkout_container .woocommerce-terms-and-conditions-wrapper>p.form-row label>span,#newspack_modal_checkout_container p#newspack_subscription_confirmation_field label>span{font-size:var(--newspack-ui-font-size-xs,14px);line-height:var(--newspack-ui-line-height-xs,1.4286);margin-bottom:0}#newspack_modal_checkout_container form .automatewoo-optin,#newspack_modal_checkout_container form .newspack-subscription-confirmation-checkbox{margin:var(--newspack-ui-spacer-5,24px) 0 0}#newspack_modal_checkout_container #place-order{margin-bottom:0}#newspack_modal_checkout_container #wc-stripe-express-checkout-button-separator,#newspack_modal_checkout_container #wc-stripe-payment-request-button-separator,#newspack_modal_checkout_container #wcpay-express-checkout-button-separator{display:none!important}#newspack_modal_checkout_container #wc-stripe-express-checkout-button-separator[style*="display:none"]+.newspack-ui__word-divider,#newspack_modal_checkout_container #wc-stripe-payment-request-button-separator[style*="display:none"]+.newspack-ui__word-divider,#newspack_modal_checkout_container #wcpay-express-checkout-button-separator[style*="display:none"]+.newspack-ui__word-divider{display:none}#newspack_modal_checkout_container #checkout_edit_billing{margin-top:0}#newspack_modal_checkout_container #checkout_cancel{margin-bottom:0;margin-top:var(--newspack-ui-spacer-2)}#newspack_modal_checkout_container #checkout_error_back{margin-bottom:0}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup{scroll-margin-top:var(--newspack-ui-spacer-10,64px)}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper li div,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup li div{display:block}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-error,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-info,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-message,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-error,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-info,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-message{background:none;color:inherit;font-family:var(--newspack-ui-font-family,system-ui);font-size:var(--newspack-ui-font-size-xs,14px);list-style-type:none;margin:0;padding:0}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-error li,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-info li,#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-message li,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-error li,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-info li,#newspack_modal_checkout_container form.checkout .woocommerce-NoticeGroup .woocommerce-message li{width:100%}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper:not(:empty){border-left:none;margin-bottom:var(--newspack-ui-spacer-5,24px);margin-top:0;padding:0!important}#newspack_modal_checkout_container .woocommerce .woocommerce-notices-wrapper .woocommerce-error.newspack-ui__notice--error{padding:var(--newspack-ui-spacer-2,12px)}#newspack_modal_checkout_container .modal-processing{opacity:.5}#newspack_modal_checkout_container #address_rdi_field{display:none}#newspack_modal_checkout_container .woocommerce-info:has(+#order_review.change-payment-method){background:#0000;font-size:var(--newspack-ui-font-size-s,16px);line-height:var(--newspack-ui-line-height-s,1.5);padding:0}#newspack_modal_checkout_container #order_review.change-payment-method .payment_box ul.wc-saved-payment-methods{margin-top:0}#newspack_modal_checkout_container #order_review.change-payment-method .update-all-subscriptions-payment-method-wrap label{font-size:var(--newspack-ui-font-size-s,16px);font-weight:400;line-height:var(--newspack-ui-line-height-s,1.5)}#newspack_modal_checkout_container #update_all_subscriptions_payment_method_field label{margin-bottom:0}
|
package/dist/tiersBased-rtl.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:export{primary-000:#dfe7f4;primary-050:#bfcfe9;primary-100:#9fb6dd;primary-200:#809ed2;primary-300:#6086c7;primary-400:#406ebc;primary-500:#2055b0;primary-600:#003da5;primary-700:#00296e;primary-800:#001f53;primary-900:#001437;primary-1000:#000a1c;secondary-000:#eff9f2;secondary-050:#ddf3e3;secondary-100:#c8ecd4;secondary-200:#b1e6c3;secondary-300:#95dfaf;secondary-400:#6fd898;secondary-500:#26d07c;secondary-600:#1fb36a;secondary-700:#1ba25f;secondary-800:#178e53;secondary-900:#117644;secondary-1000:#09552f;tertiary-000:#fff4f6;tertiary-050:#fee8ed;tertiary-100:#fedbe3;tertiary-200:#
|
|
1
|
+
:export{primary-000:#dfe7f4;primary-050:#bfcfe9;primary-100:#9fb6dd;primary-200:#809ed2;primary-300:#6086c7;primary-400:#406ebc;primary-500:#2055b0;primary-600:#003da5;primary-700:#00296e;primary-800:#001f53;primary-900:#001437;primary-1000:#000a1c;secondary-000:#eff9f2;secondary-050:#ddf3e3;secondary-100:#c8ecd4;secondary-200:#b1e6c3;secondary-300:#95dfaf;secondary-400:#6fd898;secondary-500:#26d07c;secondary-600:#1fb36a;secondary-700:#1ba25f;secondary-800:#178e53;secondary-900:#117644;secondary-1000:#09552f;tertiary-000:#fff4f6;tertiary-050:#fee8ed;tertiary-100:#fedbe3;tertiary-200:#fdced8;tertiary-300:#fdbfcd;tertiary-400:#fcaec0;tertiary-500:#fc9bb3;tertiary-600:#d9859a;tertiary-700:#c5788b;tertiary-800:#ad697a;tertiary-900:#905665;tertiary-1000:#683d48;quaternary-000:#fff5ee;quaternary-050:#ffeadc;quaternary-100:#ffdec7;quaternary-200:#ffd1af;quaternary-300:#ffc392;quaternary-400:#ffb46a;quaternary-500:#ffa300;quaternary-600:#dc8c00;quaternary-700:#c77e00;quaternary-800:#af6e00;quaternary-900:#925b00;quaternary-1000:#6a4100;neutral-000:#fff;neutral-050:#f7f7f7;neutral-100:#f0f0f0;neutral-200:#e0e0e0;neutral-300:#ddd;neutral-400:#ccc;neutral-500:#949494;neutral-600:#6c6c6c;neutral-700:#5d5d5d;neutral-800:#393939;neutral-900:#1e1e1e;neutral-1000:#000;overlay-000:rgba(0,0,0,.051);overlay-050:rgba(0,0,0,.102);overlay-100:rgba(0,0,0,.149);overlay-200:#0003;overlay-300:rgba(0,0,0,.302);overlay-400:#0006;overlay-500:rgba(0,0,0,.502);overlay-600:#0009;overlay-700:rgba(0,0,0,.702);overlay-800:#000c;overlay-900:rgba(0,0,0,.902);overlay-1000:rgba(0,0,0,.949);success-000:#edfaef;success-050:#b8e6bf;success-500:#008a20;success-600:#007017;error-000:#fcf0f1;error-050:#facfd2;error-500:#d63638;error-600:#b32d2e;warning-000:#fcf9e8;warning-050:#f5e6ab;warning-300:#dba617;warning-400:#bd8600}.wpbnbd--tiers-based .wpbnbd .submit-button,.wpbnbd--tiers-based .wpbnbd__button{background:none;border-color:#0000;border-radius:0;border-width:1px}.wpbnbd--tiers-based .wpbnbd .submit-button--active,.wpbnbd--tiers-based .wpbnbd__button--active{border-color:#ddd}.wpbnbd--tiers-based .wpbnbd__tiers__view--hidden{display:none}.wpbnbd--tiers-based .wpbnbd__tiers__selection{display:flex;justify-content:center;margin-bottom:14px}.wpbnbd--tiers-based .wpbnbd__tiers__selection .submit-button,.wpbnbd--tiers-based .wpbnbd__tiers__selection button{font-size:13px;white-space:nowrap}.wpbnbd--tiers-based .wpbnbd__tiers__options{display:flex;margin-right:-10px;margin-left:-10px}.wpbnbd--tiers-based .wpbnbd__tiers__options__dots{display:none}@media screen and (max-width:600px){.wpbnbd--tiers-based .wpbnbd__tiers__options{overflow-x:scroll;scroll-padding:10%;scroll-snap-type:x mandatory}.wpbnbd--tiers-based .wpbnbd__tiers__options__dots{display:flex;justify-content:center;list-style:none;margin-top:1em}.wpbnbd--tiers-based .wpbnbd__tiers__options__dots li{background:#ddd;border-radius:50px;height:8px;margin:0 5px;width:36px}}.wpbnbd--tiers-based .wpbnbd__tiers__tier{flex:1}@media screen and (max-width:600px){.wpbnbd--tiers-based .wpbnbd__tiers__tier{flex:0 0 auto;width:80%}}.wpbnbd--tiers-based .wpbnbd__tiers__tier{background:#fff;border:1px solid #ddd;border-radius:5px;display:flex;flex-direction:column;margin-right:10px;margin-left:10px;padding:19px 14px;scroll-snap-align:start}.wpbnbd--tiers-based .wpbnbd__tiers__tier--recommended{border:2px solid #1e1e1e}.wpbnbd--tiers-based .wpbnbd__tiers__top{display:flex;justify-content:space-between;margin-bottom:7px}.wpbnbd--tiers-based .wpbnbd__tiers__heading{font-size:16px;font-weight:700;margin:0}.wpbnbd--tiers-based .wpbnbd__tiers__recommend-label{background-color:#6c6c6c;border-radius:2px;color:#fff;font-size:11px;height:17px;margin:0;padding:2px 7px}.wpbnbd--tiers-based .wpbnbd__tiers__amount{margin-bottom:16px}.wpbnbd--tiers-based .wpbnbd__tiers .submit-button,.wpbnbd--tiers-based .wpbnbd__tiers button[type=submit]{border:2px solid;border-radius:3px;font-size:14px;line-height:1;margin-bottom:16px;padding:10px 16px}.wpbnbd--tiers-based .wpbnbd__tiers__description{flex:1;font-size:13px;line-height:1.4}.wpbnbd--tiers-based .wpbnbd__tiers__back-button{background:none;color:#6c6c6c;margin-bottom:13px;padding:0}.wpbnbd--tiers-based .wpbnbd__tiers__back-button span{text-decoration:underline}.wpbnbd--tiers-based .wpbnbd__tiers__back-button:focus,.wpbnbd--tiers-based .wpbnbd__tiers__back-button:hover{background:none;color:#1e1e1e}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile{border:2px solid #1e1e1e;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:17px;padding:5px 14px 16px}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile h2{font-size:.8em;margin-top:13px}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile h3{display:inline-block;font-size:19px;margin:0 0 7px;padding-top:6px}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile>div{text-align:left}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile [data-amount]{font-size:1.4em;font-weight:700}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile [data-frequency]{font-size:.7em}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile__note{font-size:.6em}.wpbnbd--tiers-based.wpbnbd--tier-style-list .wpbnbd__tiers__options{display:grid;gap:var(--newspack-ui-spacer-2,12px);margin:0!important;overflow:hidden}.wpbnbd--tiers-based.wpbnbd--tier-style-list .wpbnbd__tiers__options__dots{display:none}.wpbnbd--tiers-based.wpbnbd--tier-style-list .wpbnbd__tiers__tier{margin:0!important;width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array(), 'version' => '896cc758df7e4dc57d93');
|
package/dist/tiersBased.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:export{primary-000:#dfe7f4;primary-050:#bfcfe9;primary-100:#9fb6dd;primary-200:#809ed2;primary-300:#6086c7;primary-400:#406ebc;primary-500:#2055b0;primary-600:#003da5;primary-700:#00296e;primary-800:#001f53;primary-900:#001437;primary-1000:#000a1c;secondary-000:#eff9f2;secondary-050:#ddf3e3;secondary-100:#c8ecd4;secondary-200:#b1e6c3;secondary-300:#95dfaf;secondary-400:#6fd898;secondary-500:#26d07c;secondary-600:#1fb36a;secondary-700:#1ba25f;secondary-800:#178e53;secondary-900:#117644;secondary-1000:#09552f;tertiary-000:#fff4f6;tertiary-050:#fee8ed;tertiary-100:#fedbe3;tertiary-200:#
|
|
1
|
+
:export{primary-000:#dfe7f4;primary-050:#bfcfe9;primary-100:#9fb6dd;primary-200:#809ed2;primary-300:#6086c7;primary-400:#406ebc;primary-500:#2055b0;primary-600:#003da5;primary-700:#00296e;primary-800:#001f53;primary-900:#001437;primary-1000:#000a1c;secondary-000:#eff9f2;secondary-050:#ddf3e3;secondary-100:#c8ecd4;secondary-200:#b1e6c3;secondary-300:#95dfaf;secondary-400:#6fd898;secondary-500:#26d07c;secondary-600:#1fb36a;secondary-700:#1ba25f;secondary-800:#178e53;secondary-900:#117644;secondary-1000:#09552f;tertiary-000:#fff4f6;tertiary-050:#fee8ed;tertiary-100:#fedbe3;tertiary-200:#fdced8;tertiary-300:#fdbfcd;tertiary-400:#fcaec0;tertiary-500:#fc9bb3;tertiary-600:#d9859a;tertiary-700:#c5788b;tertiary-800:#ad697a;tertiary-900:#905665;tertiary-1000:#683d48;quaternary-000:#fff5ee;quaternary-050:#ffeadc;quaternary-100:#ffdec7;quaternary-200:#ffd1af;quaternary-300:#ffc392;quaternary-400:#ffb46a;quaternary-500:#ffa300;quaternary-600:#dc8c00;quaternary-700:#c77e00;quaternary-800:#af6e00;quaternary-900:#925b00;quaternary-1000:#6a4100;neutral-000:#fff;neutral-050:#f7f7f7;neutral-100:#f0f0f0;neutral-200:#e0e0e0;neutral-300:#ddd;neutral-400:#ccc;neutral-500:#949494;neutral-600:#6c6c6c;neutral-700:#5d5d5d;neutral-800:#393939;neutral-900:#1e1e1e;neutral-1000:#000;overlay-000:rgba(0,0,0,.051);overlay-050:rgba(0,0,0,.102);overlay-100:rgba(0,0,0,.149);overlay-200:#0003;overlay-300:rgba(0,0,0,.302);overlay-400:#0006;overlay-500:rgba(0,0,0,.502);overlay-600:#0009;overlay-700:rgba(0,0,0,.702);overlay-800:#000c;overlay-900:rgba(0,0,0,.902);overlay-1000:rgba(0,0,0,.949);success-000:#edfaef;success-050:#b8e6bf;success-500:#008a20;success-600:#007017;error-000:#fcf0f1;error-050:#facfd2;error-500:#d63638;error-600:#b32d2e;warning-000:#fcf9e8;warning-050:#f5e6ab;warning-300:#dba617;warning-400:#bd8600}.wpbnbd--tiers-based .wpbnbd .submit-button,.wpbnbd--tiers-based .wpbnbd__button{background:none;border-color:#0000;border-radius:0;border-width:1px}.wpbnbd--tiers-based .wpbnbd .submit-button--active,.wpbnbd--tiers-based .wpbnbd__button--active{border-color:#ddd}.wpbnbd--tiers-based .wpbnbd__tiers__view--hidden{display:none}.wpbnbd--tiers-based .wpbnbd__tiers__selection{display:flex;justify-content:center;margin-bottom:14px}.wpbnbd--tiers-based .wpbnbd__tiers__selection .submit-button,.wpbnbd--tiers-based .wpbnbd__tiers__selection button{font-size:13px;white-space:nowrap}.wpbnbd--tiers-based .wpbnbd__tiers__options{display:flex;margin-left:-10px;margin-right:-10px}.wpbnbd--tiers-based .wpbnbd__tiers__options__dots{display:none}@media screen and (max-width:600px){.wpbnbd--tiers-based .wpbnbd__tiers__options{overflow-x:scroll;scroll-padding:10%;scroll-snap-type:x mandatory}.wpbnbd--tiers-based .wpbnbd__tiers__options__dots{display:flex;justify-content:center;list-style:none;margin-top:1em}.wpbnbd--tiers-based .wpbnbd__tiers__options__dots li{background:#ddd;border-radius:50px;height:8px;margin:0 5px;width:36px}}.wpbnbd--tiers-based .wpbnbd__tiers__tier{flex:1}@media screen and (max-width:600px){.wpbnbd--tiers-based .wpbnbd__tiers__tier{flex:0 0 auto;width:80%}}.wpbnbd--tiers-based .wpbnbd__tiers__tier{background:#fff;border:1px solid #ddd;border-radius:5px;display:flex;flex-direction:column;margin-left:10px;margin-right:10px;padding:19px 14px;scroll-snap-align:start}.wpbnbd--tiers-based .wpbnbd__tiers__tier--recommended{border:2px solid #1e1e1e}.wpbnbd--tiers-based .wpbnbd__tiers__top{display:flex;justify-content:space-between;margin-bottom:7px}.wpbnbd--tiers-based .wpbnbd__tiers__heading{font-size:16px;font-weight:700;margin:0}.wpbnbd--tiers-based .wpbnbd__tiers__recommend-label{background-color:#6c6c6c;border-radius:2px;color:#fff;font-size:11px;height:17px;margin:0;padding:2px 7px}.wpbnbd--tiers-based .wpbnbd__tiers__amount{margin-bottom:16px}.wpbnbd--tiers-based .wpbnbd__tiers .submit-button,.wpbnbd--tiers-based .wpbnbd__tiers button[type=submit]{border:2px solid;border-radius:3px;font-size:14px;line-height:1;margin-bottom:16px;padding:10px 16px}.wpbnbd--tiers-based .wpbnbd__tiers__description{flex:1;font-size:13px;line-height:1.4}.wpbnbd--tiers-based .wpbnbd__tiers__back-button{background:none;color:#6c6c6c;margin-bottom:13px;padding:0}.wpbnbd--tiers-based .wpbnbd__tiers__back-button span{text-decoration:underline}.wpbnbd--tiers-based .wpbnbd__tiers__back-button:focus,.wpbnbd--tiers-based .wpbnbd__tiers__back-button:hover{background:none;color:#1e1e1e}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile{border:2px solid #1e1e1e;border-radius:4px;display:flex;justify-content:space-between;margin-bottom:17px;padding:5px 14px 16px}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile h2{font-size:.8em;margin-top:13px}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile h3{display:inline-block;font-size:19px;margin:0 0 7px;padding-top:6px}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile>div{text-align:right}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile [data-amount]{font-size:1.4em;font-weight:700}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile [data-frequency]{font-size:.7em}.wpbnbd--tiers-based .wpbnbd__tiers__tier-tile__note{font-size:.6em}.wpbnbd--tiers-based.wpbnbd--tier-style-list .wpbnbd__tiers__options{display:grid;gap:var(--newspack-ui-spacer-2,12px);margin:0!important;overflow:hidden}.wpbnbd--tiers-based.wpbnbd--tier-style-list .wpbnbd__tiers__options__dots{display:none}.wpbnbd--tiers-based.wpbnbd--tier-style-list .wpbnbd__tiers__tier{margin:0!important;width:100%}
|
|
@@ -761,6 +761,12 @@ final class Modal_Checkout {
|
|
|
761
761
|
if ( ! self::$has_modal ) {
|
|
762
762
|
return;
|
|
763
763
|
}
|
|
764
|
+
// Never inside the iframe this markup creates: the container would nest in
|
|
765
|
+
// itself, putting a second "Complete your transaction" dialog in the
|
|
766
|
+
// reader's checkout (NPPD-2170).
|
|
767
|
+
if ( self::is_modal_checkout() ) {
|
|
768
|
+
return;
|
|
769
|
+
}
|
|
764
770
|
/**
|
|
765
771
|
* Filters the header title for the modal checkout.
|
|
766
772
|
*
|
|
@@ -1621,18 +1627,13 @@ final class Modal_Checkout {
|
|
|
1621
1627
|
/**
|
|
1622
1628
|
* Return URL for modal checkout "thank you" page.
|
|
1623
1629
|
*
|
|
1624
|
-
* Origin detection covers the referer so that express-wallet (Apple Pay /
|
|
1625
|
-
* Google Pay) Store API submissions — JSON bodies with no request params —
|
|
1626
|
-
* get a decorated return URL and land on the modal thank-you, where the
|
|
1627
|
-
* front-end GA4 purchase event fires.
|
|
1628
|
-
*
|
|
1629
1630
|
* @param string $url The URL to redirect to.
|
|
1630
1631
|
* @param WC_Order $order The order related to the transaction.
|
|
1631
1632
|
*
|
|
1632
1633
|
* @return string
|
|
1633
1634
|
*/
|
|
1634
1635
|
public static function woocommerce_get_return_url( $url, $order ) {
|
|
1635
|
-
if ( ! self::
|
|
1636
|
+
if ( ! self::is_modal_checkout() || self::has_unsupported_payment_gateway() ) {
|
|
1636
1637
|
return $url;
|
|
1637
1638
|
}
|
|
1638
1639
|
|
|
@@ -1951,7 +1952,7 @@ final class Modal_Checkout {
|
|
|
1951
1952
|
* @return array
|
|
1952
1953
|
*/
|
|
1953
1954
|
public static function relax_configured_off_locale_fields( $locale ) {
|
|
1954
|
-
if ( ! self::
|
|
1955
|
+
if ( ! self::is_modal_checkout_referer() && ! self::is_modal_checkout() ) {
|
|
1955
1956
|
return $locale;
|
|
1956
1957
|
}
|
|
1957
1958
|
|
|
@@ -2314,11 +2315,6 @@ final class Modal_Checkout {
|
|
|
2314
2315
|
|
|
2315
2316
|
/**
|
|
2316
2317
|
* Is this request using the modal checkout?
|
|
2317
|
-
*
|
|
2318
|
-
* Detects modal request *data* (request params, serialized post_data, or a
|
|
2319
|
-
* classic express-checkout submission). For origin detection that also
|
|
2320
|
-
* covers parameter-less Store API JSON submissions, see
|
|
2321
|
-
* is_modal_checkout_origin().
|
|
2322
2318
|
*/
|
|
2323
2319
|
public static function is_modal_checkout() {
|
|
2324
2320
|
// Until we use the modal checkout flow from My Account, we don't want to show the modal checkout thank you template for checkouts originating from My Account.
|
|
@@ -2338,31 +2334,6 @@ final class Modal_Checkout {
|
|
|
2338
2334
|
return $is_modal_checkout;
|
|
2339
2335
|
}
|
|
2340
2336
|
|
|
2341
|
-
/**
|
|
2342
|
-
* Does this request originate from the modal checkout?
|
|
2343
|
-
*
|
|
2344
|
-
* Superset of is_modal_checkout(): additionally true for Store API JSON
|
|
2345
|
-
* submissions (express wallets such as Apple Pay and Google Pay) whose only
|
|
2346
|
-
* modal signal is the referer query, since JSON bodies carry no request
|
|
2347
|
-
* params and leave $_POST empty.
|
|
2348
|
-
*
|
|
2349
|
-
* The referer is client-controlled, so this gates analytics and
|
|
2350
|
-
* presentation decisions only — never authorization.
|
|
2351
|
-
*
|
|
2352
|
-
* Known edge: a wallet submission from the My Account-origin modal reads as
|
|
2353
|
-
* modal-origin, because the modal strips the my_account_checkout marker
|
|
2354
|
-
* from every URL it opens (src/modal-checkout/modal.js). Since #2121 that
|
|
2355
|
-
* is also how My Account card checkouts behave, so wallet and card flows
|
|
2356
|
-
* stay in parity; the My Account exclusion inside is_modal_checkout()
|
|
2357
|
-
* continues to govern the legacy non-modal flows, whose referers never
|
|
2358
|
-
* carry modal_checkout.
|
|
2359
|
-
*
|
|
2360
|
-
* @return bool
|
|
2361
|
-
*/
|
|
2362
|
-
public static function is_modal_checkout_origin() {
|
|
2363
|
-
return self::is_modal_checkout() || self::is_modal_checkout_referer();
|
|
2364
|
-
}
|
|
2365
|
-
|
|
2366
2337
|
/**
|
|
2367
2338
|
* Is this transaction using an express checkout method?
|
|
2368
2339
|
*/
|
|
@@ -269,7 +269,10 @@ final class Checkout_Data {
|
|
|
269
269
|
|
|
270
270
|
$cart_item = null;
|
|
271
271
|
$order = null;
|
|
272
|
+
$subscription = null;
|
|
272
273
|
$referrer = '';
|
|
274
|
+
$product_id = null;
|
|
275
|
+
$amount = 0;
|
|
273
276
|
$variation_id = null;
|
|
274
277
|
$is_variable = false;
|
|
275
278
|
$is_grouped = false;
|
|
@@ -303,18 +306,37 @@ final class Checkout_Data {
|
|
|
303
306
|
$amount = $cart_item['data']->get_price();
|
|
304
307
|
$referrer = $cart_item['referer'] ?? '';
|
|
305
308
|
} elseif ( $source instanceof \WC_Order ) {
|
|
306
|
-
//
|
|
309
|
+
// A subscription's purchase details normally live on the order it was
|
|
310
|
+
// bought through. A subscription created by hand in wp-admin has no parent
|
|
311
|
+
// order, and its own line items describe the same purchase, so read those
|
|
312
|
+
// instead (NPPD-2170).
|
|
313
|
+
//
|
|
314
|
+
// The two identities stay separate on purpose. A subscription is not an
|
|
315
|
+
// order, and reporting its ID as an order ID sends the modal to a
|
|
316
|
+
// view-order URL built from a subscription ID: a page nothing links to,
|
|
317
|
+
// which renders the read-only receipt from WooCommerce Subscriptions
|
|
318
|
+
// rather than anything the reader can act on.
|
|
307
319
|
if ( $source instanceof \WC_Subscription ) {
|
|
308
|
-
$
|
|
320
|
+
$subscription = $source;
|
|
321
|
+
$parent = $source->get_parent();
|
|
322
|
+
$order = $parent ? $parent : null;
|
|
323
|
+
$items_source = $parent ? $parent : $source;
|
|
309
324
|
} else {
|
|
310
|
-
$order
|
|
325
|
+
$order = $source;
|
|
326
|
+
$items_source = $source;
|
|
327
|
+
}
|
|
328
|
+
$order_items = $items_source->get_items();
|
|
329
|
+
$order_item = reset( $order_items ); // Use only the first item in the order.
|
|
330
|
+
if ( ! $order_item ) {
|
|
331
|
+
// No line item means no purchase to summarise, and the product and
|
|
332
|
+
// name lookups below would fatal on the resulting null. Return empty,
|
|
333
|
+
// the same "nothing to checkout" signal as an empty source above.
|
|
334
|
+
return $data;
|
|
311
335
|
}
|
|
312
|
-
$order_items = $order->get_items();
|
|
313
|
-
$order_item = reset( $order_items ); // Use only the first item in the order.
|
|
314
336
|
$product_id = $order_item->get_product_id();
|
|
315
337
|
$variation_id = $order_item->get_variation_id();
|
|
316
338
|
$amount = $order_item->get_subtotal();
|
|
317
|
-
$referrer = $
|
|
339
|
+
$referrer = $items_source->get_meta( '_newspack_referer' );
|
|
318
340
|
}
|
|
319
341
|
|
|
320
342
|
// If we have no referrer, set it to the current path.
|
|
@@ -389,6 +411,17 @@ final class Checkout_Data {
|
|
|
389
411
|
}
|
|
390
412
|
}
|
|
391
413
|
|
|
414
|
+
// A subscription with no parent order has no order to identify itself by, so
|
|
415
|
+
// name the subscription directly. Without this the modal has nothing to
|
|
416
|
+
// return the reader to once checkout finishes (NPPD-2170).
|
|
417
|
+
// Only when there is no parent order to identify the purchase by. With a
|
|
418
|
+
// parent present the block above owns the key, and widening this would set
|
|
419
|
+
// subscription_ids for product types it skips — a recurring donation resolves
|
|
420
|
+
// to `donation`, so it would silently change where those readers land.
|
|
421
|
+
if ( $subscription && ! $order && empty( $data['subscription_ids'] ) ) {
|
|
422
|
+
$data['subscription_ids'] = [ $subscription->get_id() ];
|
|
423
|
+
}
|
|
424
|
+
|
|
392
425
|
/**
|
|
393
426
|
* Gate and popup data.
|
|
394
427
|
*/
|
|
@@ -40,81 +40,27 @@ final class Data_Events {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Modal Checkout
|
|
44
|
-
*
|
|
45
|
-
* Both hooks fire when the order is created, before payment is
|
|
46
|
-
* processed — not when the order reaches the "completed" status.
|
|
47
|
-
*
|
|
48
|
-
* Both WooCommerce checkout pipelines feed the same Data Events action:
|
|
49
|
-
* classic checkout fires woocommerce_checkout_order_processed, while
|
|
50
|
-
* Store API checkouts (the transport express wallets such as Apple Pay
|
|
51
|
-
* and Google Pay use) fire woocommerce_store_api_checkout_order_processed
|
|
52
|
-
* instead. Each hook gets a callback matching its exact argument shape.
|
|
43
|
+
* Modal Checkout Interation: Completed Order.
|
|
53
44
|
*/
|
|
54
45
|
\Newspack\Data_Events::register_listener(
|
|
55
46
|
'woocommerce_checkout_order_processed',
|
|
56
47
|
'modal_checkout_interaction',
|
|
57
48
|
[ __CLASS__, 'order_status_completed' ]
|
|
58
49
|
);
|
|
59
|
-
\Newspack\Data_Events::register_listener(
|
|
60
|
-
'woocommerce_store_api_checkout_order_processed',
|
|
61
|
-
'modal_checkout_interaction',
|
|
62
|
-
[ __CLASS__, 'store_api_order_processed' ]
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Classic checkout listener callback.
|
|
68
|
-
*
|
|
69
|
-
* $posted_data and $order are accepted to match the classic hook's
|
|
70
|
-
* signature and are deliberately unused: the payload is built from the
|
|
71
|
-
* order ID alone, so both checkout pipelines share one builder.
|
|
72
|
-
*
|
|
73
|
-
* @param int $order_id Order's ID.
|
|
74
|
-
* @param array|null $posted_data Posted Data.
|
|
75
|
-
* @param \WC_Order|null $order Order object.
|
|
76
|
-
*
|
|
77
|
-
* @return array|void The event payload; void suppresses the dispatch.
|
|
78
|
-
*/
|
|
79
|
-
public static function order_status_completed( $order_id, $posted_data = null, $order = null ) {
|
|
80
|
-
return self::get_modal_checkout_interaction_data( $order_id );
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Store API checkout listener callback.
|
|
85
|
-
*
|
|
86
|
-
* The Store API hook passes a single \WC_Order, unlike the classic hook's
|
|
87
|
-
* three arguments; only a scalar order ID crosses into the shared payload
|
|
88
|
-
* builder, so neither callback can misread the other hook's argument list.
|
|
89
|
-
*
|
|
90
|
-
* @param mixed $order Order object. The hook contract promises a \WC_Order;
|
|
91
|
-
* anything else is ignored rather than trusted.
|
|
92
|
-
*
|
|
93
|
-
* @return array|void The event payload; void suppresses the dispatch.
|
|
94
|
-
*/
|
|
95
|
-
public static function store_api_order_processed( $order ) {
|
|
96
|
-
if ( ! is_a( $order, 'WC_Order' ) ) {
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return self::get_modal_checkout_interaction_data( $order->get_id() );
|
|
101
50
|
}
|
|
102
51
|
|
|
103
52
|
/**
|
|
104
|
-
*
|
|
105
|
-
* the request is not modal-origin.
|
|
106
|
-
*
|
|
107
|
-
* Origin detection covers all three modal request shapes: the
|
|
108
|
-
* modal_checkout request param (classic card), express_payment_type in
|
|
109
|
-
* $_POST (classic express), and the modal referer carried by Store API
|
|
110
|
-
* JSON submissions.
|
|
111
|
-
*
|
|
112
|
-
* @param int $order_id Order's ID.
|
|
53
|
+
* Send data to GA4.
|
|
113
54
|
*
|
|
114
|
-
* @
|
|
55
|
+
* @param string $order_id Order's ID.
|
|
56
|
+
* @param array $posted_data Posted Data.
|
|
57
|
+
* @param \WC_Order $order Order object.
|
|
115
58
|
*/
|
|
116
|
-
|
|
117
|
-
if
|
|
59
|
+
public static function order_status_completed( $order_id, $posted_data, $order ) {
|
|
60
|
+
// Check if in a modal checkout; if no, bail.
|
|
61
|
+
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
|
62
|
+
$is_modal_checkout = ( isset( $_REQUEST['modal_checkout'] ) ? true : false );
|
|
63
|
+
if ( ! $is_modal_checkout ) {
|
|
118
64
|
return;
|
|
119
65
|
}
|
|
120
66
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"src\/components\/query-controls.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"(no
|
|
1
|
+
{"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"src\/components\/query-controls.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"(no name)":["(kein Name)"],"Category":[""],"(no title)":["(kein Titel)"],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":["Inhalt"],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":["Schlagw\u00f6rter"],"Authors":["Autoren"],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""]}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"src\/blocks\/author-list\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"
|
|
1
|
+
{"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"src\/blocks\/author-list\/edit.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"(no name)":["(kein Name)"],"author":[""],"authors":[""],"Author List":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":["Spalten"],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""]}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":["Spenden"],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":["Standard"],"block style\u0004Centered":[""],"once":[""],"One-time":["Einmal"],"Monthly":["Monatlich"],"Annually":["J\u00e4hrlich"],"Donation amount":["Spendenbetrag"],"Other":["Andere"],"Load more posts":["Mehr Beitr\u00e4ge laden"],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"
|
|
1
|
+
{"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":["Spenden"],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":["Standard"],"block style\u0004Centered":[""],"once":[""],"One-time":["Einmal"],"Monthly":["Monatlich"],"Annually":["J\u00e4hrlich"],"Donation amount":["Spendenbetrag"],"Other":["Andere"],"Load more posts":["Mehr Beitr\u00e4ge laden"],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Small":["Klein"],"S":["S"],"Medium":["Mittel"],"M":["M"],"Large":["Gro\u00df"],"L":["L"],"Extra Large":["Extra Gro\u00df"],"XL":["XL"],"Extra-large":["Extra Gro\u00df"],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Display":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Settings":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"(no name)":["(kein Name)"],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":["Autoplay"],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show tag labels":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":["Beitr\u00e4ge"],"articles":["Artikel"],"latest":["letzten"],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":["von"],"Category":[""],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":["(kein Titel)"],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":["Inhalt"],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":["Schlagw\u00f6rter"],"Authors":["Autoren"],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"post author\u0004and":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":["Spalten"],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Coupon":[""],"Edit":[""],"Remove":[""],"Coupons are not available":[""],"Type to search for a coupon\u2026":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"Donation products do not support coupons. \"%s\" will not be applied.":[""],"Donation products do not support coupons.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":["Spenden"],"memberships":["Mitgliedschaften"],"subscriptions":["Abonnements"],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Could not fetch the donation settings.":[""],"Error":["Fehler"],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":["Mindesth\u00f6he"],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":["Entschuldigung, wir konnten keine Beitr\u00e4ge finden."],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":["Rahmen"],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
|