@automattic/newspack-blocks 4.20.1 → 4.23.0

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 CHANGED
@@ -1,3 +1,30 @@
1
+ # [4.23.0](https://github.com/Automattic/newspack-blocks/compare/v4.22.0...v4.23.0) (2026-01-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * trigger release ([9124c04](https://github.com/Automattic/newspack-blocks/commit/9124c047c944f4bea016e5eae53060f86ff62a4a))
7
+
8
+ # [4.22.0](https://github.com/Automattic/newspack-blocks/compare/v4.21.0...v4.22.0) (2026-01-19)
9
+
10
+
11
+ ### Features
12
+
13
+ * update release process ([aa1048c](https://github.com/Automattic/newspack-blocks/commit/aa1048c971048363932db8e4bb7c31e69d523651))
14
+
15
+ # [4.21.0](https://github.com/Automattic/newspack-blocks/compare/v4.20.1...v4.21.0) (2026-01-19)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add Link to express payment array ([#2266](https://github.com/Automattic/newspack-blocks/issues/2266)) ([fdd6fd5](https://github.com/Automattic/newspack-blocks/commit/fdd6fd540538062be4161cd4968be7a73ffccd23))
21
+ * add space to donate block label in editor ([#2270](https://github.com/Automattic/newspack-blocks/issues/2270)) ([d18cf42](https://github.com/Automattic/newspack-blocks/commit/d18cf4202a2ca484ac86a6e294da0654b5bd2e48))
22
+
23
+
24
+ ### Features
25
+
26
+ * improve express checkout handling by surfacing errors ([#2273](https://github.com/Automattic/newspack-blocks/issues/2273)) ([1d98b9b](https://github.com/Automattic/newspack-blocks/commit/1d98b9b54dc5d200689674be2f185289ad93067a))
27
+
1
28
  ## [4.20.1](https://github.com/Automattic/newspack-blocks/compare/v4.20.0...v4.20.1) (2026-01-07)
2
29
 
3
30
 
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '38678f540a0c7887b57b');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-url'), 'version' => '63e5c6898510d3d15825');
package/dist/editor.js CHANGED
@@ -26,7 +26,7 @@
26
26
  (0,n.__)("Authors with no published posts will be %s.","newspack-blocks"),z?(0,n.__)("hidden","newspack-blocks"):(0,n.__)("displayed","newspack-blocks")),checked:z,onChange:()=>s({excludeEmpty:!z})})}),(0,a.jsx)(d.PanelRow,{children:(0,a.jsx)(x.IW,{label:(0,n.__)("Search by author name","newspack-blocks"),help:(0,n.__)("Authors selected here will not be displayed.","newspack-blocks"),fetchSuggestions:async(e=null,t=0)=>{const s=await l()({parse:!1,path:(0,v.addQueryArgs)("/newspack-blocks/v1/authors",{search:e,offset:t,fields:"id,name"})}),a=parseInt(s.headers.get("x-wp-total")||0),r=await s.json();return T||e||j(a),r.map(e=>({value:e.id,label:(0,p.decodeEntities)(e.name)||(0,n.__)("(no name)","newspack-blocks"),isGuest:e.is_guest}))},maxItemsToSuggest:T,multiSelect:!0,onChange:e=>s({exclude:e}),postTypeLabel:(0,n.__)("author","newspack-blocks"),postTypeLabelPlural:(0,n.__)("authors","newspack-blocks"),selectedItems:N,__next40pxDefaultSize:!0})})]}),(0,a.jsxs)(d.PanelBody,{title:(0,n.__)("Author Profile Settings","newspack-blocks"),children:[(0,a.jsx)(d.__experimentalToggleGroupControl,{label:(0,n.__)("Text Size","newspack-blocks"),value:F,onChange:e=>s({textSize:e}),isBlock:!0,__next40pxDefaultSize:!0,children:b.$A.map(e=>(0,a.jsx)(d.__experimentalToggleGroupControlOption,{label:e.shortName,value:e.value},e.value))}),(0,a.jsx)(y.P,{attributes:e,setAttributes:s})]}),(0,a.jsxs)(d.PanelBody,{title:(0,n.__)("Avatar","newspack-blocks"),children:[(0,a.jsx)(d.ToggleControl,{label:(0,n.__)("Display avatar","newspack-blocks"),checked:$,onChange:()=>s({showAvatar:!$})}),$&&(0,a.jsx)(d.ToggleControl,{label:(0,n.__)("Hide default avatar","newspack-blocks"),checked:q,onChange:()=>s({avatarHideDefault:!q})}),$&&(0,a.jsx)(d.__experimentalToggleGroupControl,{label:(0,n.__)("Size","newspack-blocks"),"aria-label":(0,n.__)("Avatar size","newspack-blocks"),value:G,onChange:e=>s({avatarSize:e}),isBlock:!0,__next40pxDefaultSize:!0,children:b.dM.map(e=>(0,a.jsx)(d.__experimentalToggleGroupControlOption,{label:e.shortName,value:e.value},e.value))}),$&&(0,a.jsx)(d.__experimentalUnitControl,{label:(0,n.__)("Border radius","newspack-blocks"),"aria-label":(0,n.__)("Avatar border radius","newspack-blocks"),labelPosition:"edge",units:b.MD,value:V,onChange:e=>s({avatarBorderRadius:0>parseFloat(e)?"0":e}),__next40pxDefaultSize:!0,__unstableInputWidth:"80px"})]})]}),r&&!C&&(0,a.jsxs)(c.BlockControls,{children:[(0,a.jsx)(d.Toolbar,{controls:[{icon:i,title:(0,n.__)("List","newspack-blocks"),isActive:"list"===D,onClick:()=>{s({layout:"list"})}},{icon:h,title:(0,n.__)("Columns","newspack-blocks"),isActive:U,onClick:()=>{s({layout:"columns"})}}]}),$&&"is-style-center"!==e.className&&(0,a.jsx)(d.Toolbar,{controls:[{icon:f.A,title:(0,n.__)("Show avatar on left","newspack-blocks"),isActive:"left"===H,onClick:()=>s({avatarAlignment:"left"})},{icon:m.A,title:(0,n.__)("Show avatar on right","newspack-blocks"),isActive:"right"===H,onClick:()=>s({avatarAlignment:"right"})}]}),(0,a.jsx)(d.Toolbar,{controls:[{icon:g.A,title:(0,n.__)("Edit selection","newspack-blocks"),onClick:()=>{s({authorId:0})}}]})]}),(0,a.jsxs)("div",{className:k()(e.className,"wp-block-newspack-blocks-author-list"),children:[!C&&!_&&r&&Array.isArray(r)&&(0,a.jsx)(a.Fragment,{children:U&&B&&R?Object.keys(Y).map((s,n)=>(0,a.jsxs)(u.Fragment,{children:[(0,a.jsx)("h2",{className:"newspack-blocks__author-list-separator",id:`newspack-blocks__author-list-separator__${t}__${s}`,children:s}),(0,a.jsx)("ul",{className:k()("newspack-blocks__author-list-container",{"is-columns":U,[`columns-${O}`]:U}),children:Y[s].map((t,s)=>(0,a.jsx)("li",{className:"newspack-blocks__author-list-item",children:(0,a.jsx)(w.S,{author:t,attributes:e})},s))})]},n)):(0,a.jsx)("ul",{className:k()("newspack-blocks__author-list-container",{"is-columns":U,[`columns-${O}`]:U}),children:r.map((s,n)=>{const{last_name:r}=s,i=r.charAt(0).toUpperCase(),o=0>A.indexOf(i);return o&&A.push(i),(0,a.jsxs)(u.Fragment,{children:[B&&o&&(0,a.jsx)("li",{className:"newspack-blocks__author-list-item",children:(0,a.jsx)("h2",{className:"newspack-blocks__author-list-separator",id:`newspack-blocks__author-list-separator__${t}__${i}`,children:i})}),(0,a.jsx)("li",{className:"newspack-blocks__author-list-item",children:(0,a.jsx)(w.S,{author:s,attributes:e})})]},n)})})}),(!r||C)&&(0,a.jsxs)(d.Placeholder,{icon:i,label:(0,n.__)("Author List","newspack-blocks"),children:[_&&(0,a.jsx)(d.Notice,{status:"error",isDismissible:!1,children:_}),C&&(0,a.jsxs)("div",{className:"is-loading",children:[(0,n.__)("Fetching authors…","newspack-blocks"),(0,a.jsx)(d.Spinner,{})]})]})]})]})},save:()=>null};(0,e.registerBlockType)(`newspack-blocks/${C}`,M)})(),(()=>{"use strict";var e=s(4997),t=s(4727),n=s(7723),a=s(9068),r=s(3019);const i=JSON.parse('{"UU":"author-profile","L1":"newspack","uK":{"className":{"type":"string","default":""},"authorId":{"type":"number","default":0},"isGuestAuthor":{"type":"boolean","default":true},"showBio":{"type":"boolean","default":true},"showSocial":{"type":"boolean","default":true},"showEmail":{"type":"boolean","default":true},"showArchiveLink":{"type":"boolean","default":true},"textSize":{"type":"string","default":"medium"},"showAvatar":{"type":"boolean","default":true},"avatarAlignment":{"type":"string","default":"left"},"avatarBorderRadius":{"type":"string","default":"50%"},"avatarSize":{"type":"number","default":128},"avatarHideDefault":{"type":"boolean","default":false}}}'),{UU:o,uK:l,L1:c}=i,d=(0,n.__)("Author Profile","newspack-blocks");(window.newspack_blocks_data?.author_custom_fields||[]).forEach(e=>{l[`show${e.name}`]={type:"boolean",default:!0}});const u={title:d,icon:{src:a.A,foreground:t.A["primary-400"]},keywords:[(0,n.__)("author","newspack-blocks"),(0,n.__)("profile","newspack-blocks")],description:(0,n.__)("Display an author profile card.","newspack-blocks"),styles:[{name:"default",label:(0,n._x)("Default","block style","newspack-blocks"),isDefault:!0},{name:"center",label:(0,n._x)("Centered","block style","newspack-blocks")}],attributes:l,category:c,supports:{html:!1,default:""},edit:r.Ay,save:()=>null};(0,e.registerBlockType)(`newspack-blocks/${o}`,u)})(),(()=>{"use strict";var e=s(4997),t=s(6428);(0,e.registerBlockType)(`newspack-blocks/${t.UU}`,t.W0)})(),(()=>{"use strict";var e=s(2619),t=s(4997),n=s(4727),a=s(790),r=s(5573),i=(0,a.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})}),o=s(6942),l=s.n(o),c=s(8468),d=s(7723),u=s(4715),p=s(6427),h=s(6087),f=s(1455),m=s.n(f),g=s(8614);function v(e){const t=[];for(const s of e.attributes)t.push(s.name+": "+s.option);return t.join(", ")}function b(e){return{isNYP:newspack_blocks_data?.can_use_name_your_price&&e?.meta_data?.some(e=>"_nyp"===e.key&&"yes"===e.value),suggestedPrice:e?.meta_data?.find(e=>"_suggested_price"===e.key)?.value,minPrice:e?.meta_data?.find(e=>"_min_price"===e.key)?.value,maxPrice:e?.meta_data?.find(e=>"_maximum_price"===e.key)?.value}}function w({selectedWidth:e,setAttributes:t}){return(0,a.jsx)(p.__experimentalToggleGroupControl,{label:(0,d.__)("Width","newspack-blocks"),value:e?String(e):void 0,onChange:s=>{return n=parseFloat(s),void t({width:e===n?void 0:n});var n},isBlock:!0,__next40pxDefaultSize:!0,children:[25,50,75,100].map(e=>(0,a.jsx)(p.__experimentalToggleGroupControlOption,{label:`${e}%`,value:String(e)},e))})}function y(e){const[t,s]=(0,h.useState)(!1),[n,r]=(0,h.useState)({}),[i,o]=(0,h.useState)(!1),[l,u]=(0,h.useState)(!1),[f,g]=(0,h.useState)("");(0,h.useEffect)(()=>{u(!1),e.value?(s(!0),m()({path:`/wc/v2/products/${e.value}`}).then(t=>{r({[t.id]:`${t.id}: ${t.name}`}),o(t),g(""),e.onProduct(t)}).catch(()=>{g((0,d.sprintf)(
27
27
  // translators: %s: product ID.
28
28
  // translators: %s: product ID.
29
- (0,d.__)("Could not find a product with ID %s. Please select a different product.","newspack-blocks"),e.value))}).finally(()=>s(!1))):o(!1)},[e.value]);const v=(0,c.debounce)(function(e){return s(!0),m()({path:`/wc/v2/products?search=${encodeURIComponent('"'+e+'"')}`}).then(e=>{const t={};e.forEach(e=>{(""!==e.price||b(e).isNYP)&&(t[e.id]=`${e.id}: ${e.name}`)}),r(t)}).finally(()=>s(!1))},200);return e.value&&!f&&!i&&t?(0,a.jsx)(p.Spinner,{}):(0,a.jsxs)("div",{className:"newspack-checkout-button__product-field",style:{marginBottom:"16px"},children:[i&&!l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.BaseControl,{label:(0,d.__)("Product","newspack-blocks"),id:"selected-product-control",children:[(0,a.jsx)(p.TextControl,{value:i.name,__next40pxDefaultSize:!0,disabled:!0}),(0,a.jsx)(p.Button,{variant:"link",onClick:()=>u(!0),"aria-label":(0,d.__)("Change the selected product","newspack-blocks"),children:(0,d.__)("Edit","newspack-blocks")})]}),e.children]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"newspack-checkout-button__product-field__tokenfield",children:[(0,a.jsx)(p.FormTokenField,{placeholder:e.placeholder||(0,d.__)("Type to search for a product…","newspack-blocks"),label:(0,d.__)("Product","newspack-blocks"),maxLength:1,onChange:function(t){const s=t[0],a=(0,c.invert)(n)[s];u(!1),e.onChange(a)},onInputChange:e=>{e.length>2?(s(!0),v(e)):s(!1)},suggestions:Object.values(n),__next40pxDefaultSize:!0}),t&&(0,a.jsx)(p.Spinner,{})]}),i&&(0,a.jsx)(p.Button,{variant:"link",onClick:()=>u(!1),children:(0,d.__)("Cancel","newspack-blocks")})]}),f&&(0,a.jsx)("p",{className:"newspack-checkout-button__product-field__error",children:f})]})}const x=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"newspack-blocks/checkout-button","title":"Checkout Button","category":"newspack","description":"Modal checkout button for WooCommerce products.","keywords":["woocommerce","product","checkout","button"],"textdomain":"newspack-blocks","attributes":{"product":{"type":"string"},"variation":{"type":"string"},"is_variable":{"type":"boolean","default":false},"price":{"type":"string"},"text":{"type":"string"},"placeholder":{"type":"string"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"gradient":{"type":"string"},"afterSuccessBehavior":{"type":"string"},"afterSuccessButtonLabel":{"type":"string","default":"Continue"},"afterSuccessURL":{"type":"string"},"width":{"type":"number"}},"supports":{"anchor":true,"align":["center","wide"],"color":{"__experimentalSkipSerialization":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"shadow":true,"spacing":{"__experimentalSkipSerialization":true,"padding":["horizontal","vertical"],"__experimentalDefaultControls":{"padding":true}},"__experimentalBorder":{"radius":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"radius":true}}},"styles":[{"name":"fill","label":"Fill","isDefault":true},{"name":"outline","label":"Outline"}],"editorStyle":"newspack-checkout-button-editor","style":"newspack-checkout-block-button"}'),_=[{...x,attributes:{...x.attributes,afterSuccessButtonLabel:{type:"string",default:"Continue browsing"}},save({attributes:e,className:t}){const{textAlign:s,fontSize:n,style:r,text:i,product:o,price:c,variation:d,is_variable:p,width:h}=e;if(!i||!o)return null;const f=(0,u.__experimentalGetBorderClassesAndStyles)(e),m=(0,u.__experimentalGetColorClassesAndStyles)(e),g=(0,u.__experimentalGetSpacingClassesAndStyles)(e),v=l()("wp-block-button__link",m.className,f.className,{[`has-text-align-${s}`]:s,"no-border-radius":0===r?.border?.radius}),b={...f.style,...m.style,...g.style},w=l()(t,"wp-block-button",{"has-custom-font-size":n||r?.typography?.fontSize,[`has-custom-width wp-block-button__width-${h}`]:h});return(0,a.jsx)("div",{...u.useBlockProps.save({className:w}),children:(0,a.jsxs)("form",{children:[(0,a.jsx)(u.RichText.Content,{tagName:"button",className:v,style:b,value:i}),(0,a.jsx)("input",{type:"hidden",name:"product_id",value:o}),(0,a.jsx)("input",{type:"hidden",name:"newspack_checkout",value:"1"}),c&&(0,a.jsx)("input",{type:"hidden",name:"price",value:c}),d&&(0,a.jsx)("input",{type:"hidden",name:"variation_id",value:d}),p&&(0,a.jsx)("input",{type:"hidden",name:"is_variable",value:"1"}),e.afterSuccessBehavior&&(0,a.jsx)("input",{type:"hidden",name:"after_success_behavior",value:e.afterSuccessBehavior}),e.afterSuccessButtonLabel&&(0,a.jsx)("input",{type:"hidden",name:"after_success_button_label",value:e.afterSuccessButtonLabel}),e.afterSuccessBehavior&&(0,a.jsx)("input",{type:"hidden",name:"after_success_url",value:e.afterSuccessURL||""})]})})}}],{name:k}=x,S={...x,icon:{src:i,foreground:n.A["primary-400"]},edit:function(e){const{attributes:t,setAttributes:s,className:n}=e,{placeholder:r,style:i,text:o,product:c,price:f,variation:x,width:_}=t,[k,S]=(0,h.useState)({}),[C,E]=(0,h.useState)([]),[T,j]=(0,h.useState)(!1);(0,h.useEffect)(()=>{x?m()({path:`/wc/v2/products/${c}/variations/${x}`}).then(e=>j(b(e))).catch(()=>j({})):j(b(k))},[x]),(0,h.useEffect)(()=>{!f&&T?.suggestedPrice&&s({price:T.suggestedPrice})},[T]);const M=(0,u.__experimentalUseBorderProps)(t),P=(0,u.__experimentalUseColorProps)(t),A=(0,u.__experimentalGetSpacingClassesAndStyles)(t),L=(0,u.useBlockProps)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{...L,className:l()(L.className,{"wp-block-button":!0,"has-custom-font-size":L.style.fontSize,[`has-custom-width wp-block-button__width-${_}`]:_}),children:(0,a.jsx)(u.RichText,{"aria-label":(0,d.__)("Button text"),placeholder:r||(0,d.__)("Add text…"),value:o,onChange:e=>{s({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:l()(n,"wp-block-button__link","wp-block-newspack-blocks-checkout-button__button",P.className,M.className,{"no-border-radius":0===i?.border?.radius}),style:{...M.style,...P.style,...A.style},identifier:"text"})}),(0,a.jsxs)(u.InspectorControls,{children:[(0,a.jsxs)(p.PanelBody,{title:(0,d.__)("Settings","newspack-blocks"),children:[(0,a.jsx)(y,{value:c,price:f,onChange:e=>s({product:e,variation:"",price:""}),onProduct:function(e){S(e),e?.variations?.length?(s({is_variable:!0}),m()({path:`/wc/v2/products/${e.id}/variations?per_page=100`}).then(e=>{const t=[];e.forEach(e=>{(""!==e.price||b(e).isNYP)&&t.push(e)}),E(t)}).catch(()=>E([]))):(s({is_variable:!1}),E([])),x||j(b(e))},children:k?.variations?.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.CheckboxControl,{label:(0,d.__)("Allow the reader to select the variation before checkout.","newspack-blocks"),checked:!x,onChange:e=>s({variation:e?"":C[0].id.toString(),price:""})}),C.length?(0,a.jsx)(p.SelectControl,{label:(0,d.__)("Variation","newspack-blocks"),help:(0,d.__)("Select the product variation to be added to cart.","newspack-blocks"),value:x,disabled:!x,options:[{label:"--",value:""},...C.map(e=>({label:v(e),value:e.id}))],onChange:e=>s({variation:e.toString(),price:""})}):(0,a.jsx)(p.Spinner,{})]})}),(0,a.jsx)(w,{selectedWidth:_,setAttributes:s})]}),(0,a.jsx)(p.PanelBody,{title:(0,d.__)("After purchase","newspack-blocks"),children:(0,a.jsx)(g.A,{setAttributes:s,attributes:t})}),T?.isNYP&&(0,a.jsxs)(p.PanelBody,{title:(0,d.__)("Name Your Price","newspack-blocks"),children:[(0,a.jsx)("p",{children:(0,d.__)('This product has "Name Your Price" toggled on. You can set the custom price for this checkout.',"newspack-blocks")}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,d.__)("Suggested price:","newspack-blocks")})," ",T.suggestedPrice||0,T.minPrice&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("strong",{children:(0,d.__)("Minimum price:","newspack-blocks")})," ",T.minPrice]}),T.maxPrice&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("strong",{children:(0,d.__)("Maximum price:","newspack-blocks")})," ",T.maxPrice]})]}),(0,a.jsx)(p.TextControl,{type:"number",label:(0,d.__)("Custom Price","newspack-blocks"),placeholder:T.suggestedPrice,value:f,min:parseFloat(T.minPrice)||null,max:parseFloat(T.maxPrice)||null,onChange:e=>s({price:e}),__next40pxDefaultSize:!0})]})]})]})},deprecated:_,save:()=>null};(0,t.registerBlockType)(k,S),(0,e.addFilter)("blockEditor.useSetting.before","newspack-blocks/add-border-radius-support",(e,t,s,n)=>"border.radius"===t&&"newspack-blocks/checkout-button"===n||e)})(),(()=>{"use strict";var e=s(4997),t=s(4727),n=s(5573),a=s(790);const r=(0,a.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(n.Path,{d:"M17.25 6.5C17.25 5.83696 16.9866 5.20107 16.5178 4.73223C16.0489 4.26339 15.413 4 14.75 4C14.087 4 13.4511 4.26339 12.9822 4.73223C12.5134 5.20107 12.25 5.83696 12.25 6.5C12.25 5.83696 11.9866 5.20107 11.5178 4.73223C11.0489 4.26339 10.413 4 9.75 4C9.08696 4 8.45107 4.26339 7.98223 4.73223C7.51339 5.20107 7.25 5.83696 7.25 6.5C7.25 7.16304 7.51339 7.79893 7.98223 8.26777C8.45107 8.73661 9.08696 9 9.75 9H4V20H20V9H14.75C15.413 9 16.0489 8.73661 16.5178 8.26777C16.9866 7.79893 17.25 7.16304 17.25 6.5ZM8.75 6.5C8.75 5.95 9.2 5.5 9.75 5.5C10.3 5.5 10.75 5.95 10.75 6.5V7.5H9.75C9.2 7.5 8.75 7.05 8.75 6.5ZM11.5 18.5H5.5V10.5H11.5V18.5ZM13.75 6.5C13.75 5.95 14.2 5.5 14.75 5.5C15.3 5.5 15.75 5.95 15.75 6.5C15.75 7.05 15.3 7.5 14.75 7.5H13.75V6.5ZM18.5 10.5V18.5H13V10.5H18.5Z"})});var i=s(6427),o=s(7723),l=s(6942),c=s.n(l),d=s(6961),u=s(1455),p=s.n(u),h=s(6087),f=s(4715),m=s(8468),g=s(1538),v=s(9936),b=(0,a.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(n.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});const w=e=>{const t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,s,n)=>"#"+t+t+s+s+n+n).substring(1).match(/.{2}/g);return null===t?[0,0,0]:t.map(e=>parseInt(e,16))},y=e=>{const t="#000000";if(void 0===e)return t;const s=w(e),n=w(t),a=.2126*Math.pow(s[0]/255,2.2)+.7152*Math.pow(s[1]/255,2.2)+.0722*Math.pow(s[2]/255,2.2),r=.2126*Math.pow(n[0]/255,2.2)+.7152*Math.pow(n[1]/255,2.2)+.0722*Math.pow(n[2]/255,2.2);return(a>r?(a+.05)/(r+.05):(r+.05)/(a+.05))>5?t:"#ffffff"},x=(e,t,s)=>{const n="month"===e?1:12;return[t[0]*n,t[1]*n,t[2]*n,s*n]},_=(e,t=!1)=>"once"===e?t?"":(0,o.__)("once","newspack-blocks"):(0,o.sprintf)(
29
+ (0,d.__)("Could not find a product with ID %s. Please select a different product.","newspack-blocks"),e.value))}).finally(()=>s(!1))):o(!1)},[e.value]);const v=(0,c.debounce)(function(e){return s(!0),m()({path:`/wc/v2/products?search=${encodeURIComponent('"'+e+'"')}`}).then(e=>{const t={};e.forEach(e=>{(""!==e.price||b(e).isNYP)&&(t[e.id]=`${e.id}: ${e.name}`)}),r(t)}).finally(()=>s(!1))},200);return e.value&&!f&&!i&&t?(0,a.jsx)(p.Spinner,{}):(0,a.jsxs)("div",{className:"newspack-checkout-button__product-field",style:{marginBottom:"16px"},children:[i&&!l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.BaseControl,{label:(0,d.__)("Product","newspack-blocks"),id:"selected-product-control",children:[(0,a.jsx)(p.TextControl,{value:i.name,__next40pxDefaultSize:!0,disabled:!0}),(0,a.jsx)(p.Button,{variant:"link",onClick:()=>u(!0),"aria-label":(0,d.__)("Change the selected product","newspack-blocks"),children:(0,d.__)("Edit","newspack-blocks")})]}),e.children]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"newspack-checkout-button__product-field__tokenfield",children:[(0,a.jsx)(p.FormTokenField,{placeholder:e.placeholder||(0,d.__)("Type to search for a product…","newspack-blocks"),label:(0,d.__)("Product","newspack-blocks"),maxLength:1,onChange:function(t){const s=t[0],a=(0,c.invert)(n)[s];u(!1),e.onChange(a)},onInputChange:e=>{e.length>2?(s(!0),v(e)):s(!1)},suggestions:Object.values(n),__next40pxDefaultSize:!0}),t&&(0,a.jsx)(p.Spinner,{})]}),i&&(0,a.jsx)(p.Button,{variant:"link",onClick:()=>u(!1),children:(0,d.__)("Cancel","newspack-blocks")})]}),f&&(0,a.jsx)("p",{className:"newspack-checkout-button__product-field__error",children:f})]})}const x=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"newspack-blocks/checkout-button","title":"Checkout Button","category":"newspack","description":"Modal checkout button for WooCommerce products.","keywords":["woocommerce","product","checkout","button"],"textdomain":"newspack-blocks","attributes":{"product":{"type":"string"},"variation":{"type":"string"},"is_variable":{"type":"boolean","default":false},"price":{"type":"string"},"text":{"type":"string"},"placeholder":{"type":"string"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"gradient":{"type":"string"},"afterSuccessBehavior":{"type":"string"},"afterSuccessButtonLabel":{"type":"string","default":"Continue"},"afterSuccessURL":{"type":"string"},"width":{"type":"number"}},"supports":{"anchor":true,"align":["center","wide"],"color":{"__experimentalSkipSerialization":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"shadow":true,"spacing":{"__experimentalSkipSerialization":true,"padding":["horizontal","vertical"],"__experimentalDefaultControls":{"padding":true}},"__experimentalBorder":{"radius":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"radius":true}}},"styles":[{"name":"fill","label":"Fill","isDefault":true},{"name":"outline","label":"Outline"}],"editorStyle":"newspack-checkout-button-editor","style":"newspack-checkout-block-button"}'),_=[{...x,attributes:{...x.attributes,afterSuccessButtonLabel:{type:"string",default:"Continue browsing"}},save({attributes:e,className:t}){const{textAlign:s,fontSize:n,style:r,text:i,product:o,price:c,variation:d,is_variable:p,width:h}=e;if(!i||!o)return null;const f=(0,u.__experimentalGetBorderClassesAndStyles)(e),m=(0,u.__experimentalGetColorClassesAndStyles)(e),g=(0,u.__experimentalGetSpacingClassesAndStyles)(e),v=l()("wp-block-button__link",m.className,f.className,{[`has-text-align-${s}`]:s,"no-border-radius":0===r?.border?.radius}),b={...f.style,...m.style,...g.style},w=l()(t,"wp-block-button",{"has-custom-font-size":n||r?.typography?.fontSize,[`has-custom-width wp-block-button__width-${h}`]:h});return(0,a.jsx)("div",{...u.useBlockProps.save({className:w}),children:(0,a.jsxs)("form",{children:[(0,a.jsx)(u.RichText.Content,{tagName:"button",className:v,style:b,value:i}),(0,a.jsx)("input",{type:"hidden",name:"product_id",value:o}),(0,a.jsx)("input",{type:"hidden",name:"newspack_checkout",value:"1"}),c&&(0,a.jsx)("input",{type:"hidden",name:"price",value:c}),d&&(0,a.jsx)("input",{type:"hidden",name:"variation_id",value:d}),p&&(0,a.jsx)("input",{type:"hidden",name:"is_variable",value:"1"}),e.afterSuccessBehavior&&(0,a.jsx)("input",{type:"hidden",name:"after_success_behavior",value:e.afterSuccessBehavior}),e.afterSuccessButtonLabel&&(0,a.jsx)("input",{type:"hidden",name:"after_success_button_label",value:e.afterSuccessButtonLabel}),e.afterSuccessBehavior&&(0,a.jsx)("input",{type:"hidden",name:"after_success_url",value:e.afterSuccessURL||""})]})})}}],{name:k}=x,S={...x,icon:{src:i,foreground:n.A["primary-400"]},edit:function(e){const{attributes:t,setAttributes:s,className:n}=e,{placeholder:r,style:i,text:o,product:c,price:f,variation:x,width:_}=t,[k,S]=(0,h.useState)({}),[C,E]=(0,h.useState)([]),[T,j]=(0,h.useState)(!1);(0,h.useEffect)(()=>{x?m()({path:`/wc/v2/products/${c}/variations/${x}`}).then(e=>j(b(e))).catch(()=>j({})):j(b(k))},[x]),(0,h.useEffect)(()=>{!f&&T?.suggestedPrice&&s({price:T.suggestedPrice})},[T]);const M=(0,u.__experimentalUseBorderProps)(t),P=(0,u.__experimentalUseColorProps)(t),A=(0,u.__experimentalGetSpacingClassesAndStyles)(t),L=(0,u.useBlockProps)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{...L,className:l()(L.className,{"wp-block-button":!0,"has-custom-font-size":L.style.fontSize,[`has-custom-width wp-block-button__width-${_}`]:_}),children:(0,a.jsx)(u.RichText,{"aria-label":(0,d.__)("Button text"),placeholder:r||(0,d.__)("Add text…"),value:o,onChange:e=>{s({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:l()(n,"wp-block-button__link","wp-block-newspack-blocks-checkout-button__button",P.className,M.className,{"no-border-radius":0===i?.border?.radius}),style:{...M.style,...P.style,...A.style},identifier:"text"})}),(0,a.jsxs)(u.InspectorControls,{children:[(0,a.jsxs)(p.PanelBody,{title:(0,d.__)("Settings","newspack-blocks"),children:[(0,a.jsx)(y,{value:c,price:f,onChange:e=>s({product:e,variation:"",price:""}),onProduct:function(e){S(e),e?.variations?.length?(s({is_variable:!0}),m()({path:`/wc/v2/products/${e.id}/variations?per_page=100`}).then(e=>{const t=[];e.forEach(e=>{(""!==e.price||b(e).isNYP)&&t.push(e)}),E(t)}).catch(()=>E([]))):(s({is_variable:!1}),E([])),x||j(b(e))},children:k?.variations?.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.CheckboxControl,{label:(0,d.__)("Allow the reader to select the variation before checkout.","newspack-blocks"),checked:!x,onChange:e=>s({variation:e?"":C[0].id.toString(),price:""})}),C.length?(0,a.jsx)(p.SelectControl,{label:(0,d.__)("Variation","newspack-blocks"),help:(0,d.__)("Select the product variation to be added to cart.","newspack-blocks"),value:x,disabled:!x,options:[{label:"--",value:""},...C.map(e=>({label:v(e),value:e.id}))],onChange:e=>s({variation:e.toString(),price:""})}):(0,a.jsx)(p.Spinner,{})]})}),(0,a.jsx)(w,{selectedWidth:_,setAttributes:s})]}),(0,a.jsx)(p.PanelBody,{title:(0,d.__)("After purchase","newspack-blocks"),children:(0,a.jsx)(g.A,{setAttributes:s,attributes:t})}),T?.isNYP&&(0,a.jsxs)(p.PanelBody,{title:(0,d.__)("Name Your Price","newspack-blocks"),children:[(0,a.jsx)("p",{children:(0,d.__)('This product has "Name Your Price" toggled on. You can set the custom price for this checkout.',"newspack-blocks")}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,d.__)("Suggested price:","newspack-blocks")})," ",T.suggestedPrice||0,T.minPrice&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("strong",{children:(0,d.__)("Minimum price:","newspack-blocks")})," ",T.minPrice]}),T.maxPrice&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("strong",{children:(0,d.__)("Maximum price:","newspack-blocks")})," ",T.maxPrice]})]}),(0,a.jsx)(p.TextControl,{type:"number",label:(0,d.__)("Custom Price","newspack-blocks"),placeholder:T.suggestedPrice,value:f,min:parseFloat(T.minPrice)||null,max:parseFloat(T.maxPrice)||null,onChange:e=>s({price:e}),__next40pxDefaultSize:!0})]})]})]})},deprecated:_,save:()=>null};(0,t.registerBlockType)(k,S),(0,e.addFilter)("blockEditor.useSetting.before","newspack-blocks/add-border-radius-support",(e,t,s,n)=>"border.radius"===t&&"newspack-blocks/checkout-button"===n||e)})(),(()=>{"use strict";var e=s(4997),t=s(4727),n=s(5573),a=s(790);const r=(0,a.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(n.Path,{d:"M17.25 6.5C17.25 5.83696 16.9866 5.20107 16.5178 4.73223C16.0489 4.26339 15.413 4 14.75 4C14.087 4 13.4511 4.26339 12.9822 4.73223C12.5134 5.20107 12.25 5.83696 12.25 6.5C12.25 5.83696 11.9866 5.20107 11.5178 4.73223C11.0489 4.26339 10.413 4 9.75 4C9.08696 4 8.45107 4.26339 7.98223 4.73223C7.51339 5.20107 7.25 5.83696 7.25 6.5C7.25 7.16304 7.51339 7.79893 7.98223 8.26777C8.45107 8.73661 9.08696 9 9.75 9H4V20H20V9H14.75C15.413 9 16.0489 8.73661 16.5178 8.26777C16.9866 7.79893 17.25 7.16304 17.25 6.5ZM8.75 6.5C8.75 5.95 9.2 5.5 9.75 5.5C10.3 5.5 10.75 5.95 10.75 6.5V7.5H9.75C9.2 7.5 8.75 7.05 8.75 6.5ZM11.5 18.5H5.5V10.5H11.5V18.5ZM13.75 6.5C13.75 5.95 14.2 5.5 14.75 5.5C15.3 5.5 15.75 5.95 15.75 6.5C15.75 7.05 15.3 7.5 14.75 7.5H13.75V6.5ZM18.5 10.5V18.5H13V10.5H18.5Z"})});var i=s(6427),o=s(7723),l=s(6942),c=s.n(l),d=s(6961),u=s(1455),p=s.n(u),h=s(6087),f=s(4715),m=s(8468),g=s(1538),v=s(9936),b=(0,a.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(n.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});const w=e=>{const t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,s,n)=>"#"+t+t+s+s+n+n).substring(1).match(/.{2}/g);return null===t?[0,0,0]:t.map(e=>parseInt(e,16))},y=e=>{const t="#000000";if(void 0===e)return t;const s=w(e),n=w(t),a=.2126*Math.pow(s[0]/255,2.2)+.7152*Math.pow(s[1]/255,2.2)+.0722*Math.pow(s[2]/255,2.2),r=.2126*Math.pow(n[0]/255,2.2)+.7152*Math.pow(n[1]/255,2.2)+.0722*Math.pow(n[2]/255,2.2);return(a>r?(a+.05)/(r+.05):(r+.05)/(a+.05))>5?t:"#ffffff"},x=(e,t,s)=>{const n="month"===e?1:12;return[t[0]*n,t[1]*n,t[2]*n,s*n]},_=(e,t=!1)=>"once"===e?t?"":(0,o.__)("once","newspack-blocks"):" "+(0,o.sprintf)(
30
30
  // Translators: %s is the frequency (e.g. per month, per year).
31
31
  // Translators: %s is the frequency (e.g. per month, per year).
32
32
  (0,o._x)("per %s","per `Frequency`","newspack-blocks"),e),k=(e,t=!1)=>{const s={minimumFractionDigits:0==e%1?0:2};return t&&(s.style="currency",s.currency=window.newspack_blocks_data?.currency||"USD"),new Intl.NumberFormat(navigator?.language||"en-US",s).format(e)},S=(e,t,s=!1)=>{const n=window.newspack_blocks_data?.tier_amounts_template;if(!n)try{const s="once"===t?t:(0,o.sprintf)(
@@ -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:rgba(0,0,0,.702);neutral-800:#3e3e3e;neutral-900:#1e1e1e;neutral-1000:#000;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 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 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-left: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 #order_review_heading{border-radius:0;min-height:0;padding:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:hover{background:#0000;color:var(--newspack-ui-color-neutral-60)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:focus-visible{outline:0;text-decoration:underline}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading svg{transition:rotate 125ms ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review{margin:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content{display:grid;grid-template-rows:0fr;margin-bottom:var(--newspack-ui-spacer-2,12px);transition:grid-template-rows .25s ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content-inner{overflow:hidden}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded #order_review_heading svg{rotate:180deg}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded .transaction-details-content{grid-template-rows:1fr;margin-bottom:var(--newspack-ui-spacer-5,24px)}#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-left:.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{right:0;padding-right:16px;position:absolute}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label input{padding-right: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 .woocommerce .order-details-summary h2{margin-top:0}#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-left: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-left: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-right: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-right:-.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:left}#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 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 .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 0 0 var(--newspack-ui-spacer-2,12px)}#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){margin-bottom:var(--newspack-ui-spacer-5,24px);margin-top:0}#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:#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:rgba(0,0,0,.702);neutral-800:#3e3e3e;neutral-900:#1e1e1e;neutral-1000:#000;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 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 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-left: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 #order_review_heading{border-radius:0;min-height:0;padding:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:hover{background:#0000;color:var(--newspack-ui-color-neutral-60)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:focus-visible{outline:0;text-decoration:underline}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading svg{transition:rotate 125ms ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review{margin:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content{display:grid;grid-template-rows:0fr;margin-bottom:var(--newspack-ui-spacer-2,12px);transition:grid-template-rows .25s ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content-inner{overflow:hidden}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded #order_review_heading svg{rotate:180deg}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded .transaction-details-content{grid-template-rows:1fr;margin-bottom:var(--newspack-ui-spacer-5,24px)}#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-left:.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{right:0;padding-right:16px;position:absolute}#newspack_modal_checkout_container .modal_checkout_nyp .input-price label input{padding-right: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 .woocommerce .order-details-summary h2{margin-top:0}#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-left: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-left: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-right: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-right:-.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:left}#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 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 .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 0 0 var(--newspack-ui-spacer-2,12px)}#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){margin-bottom:var(--newspack-ui-spacer-5,24px);margin-top:0}#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 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '63fedbcb9e050058b48b');
1
+ <?php return array('dependencies' => array(), 'version' => '5ad0fd2d2cb957581c5f');
@@ -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:rgba(0,0,0,.702);neutral-800:#3e3e3e;neutral-900:#1e1e1e;neutral-1000:#000;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 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 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 #order_review_heading{border-radius:0;min-height:0;padding:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:hover{background:#0000;color:var(--newspack-ui-color-neutral-60)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:focus-visible{outline:0;text-decoration:underline}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading svg{transition:rotate 125ms ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review{margin:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content{display:grid;grid-template-rows:0fr;margin-bottom:var(--newspack-ui-spacer-2,12px);transition:grid-template-rows .25s ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content-inner{overflow:hidden}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded #order_review_heading svg{rotate:180deg}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded .transaction-details-content{grid-template-rows:1fr;margin-bottom:var(--newspack-ui-spacer-5,24px)}#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 .woocommerce .order-details-summary h2{margin-top:0}#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 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 .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){margin-bottom:var(--newspack-ui-spacer-5,24px);margin-top:0}#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:#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:rgba(0,0,0,.702);neutral-800:#3e3e3e;neutral-900:#1e1e1e;neutral-1000:#000;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 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 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 #order_review_heading{border-radius:0;min-height:0;padding:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:hover{background:#0000;color:var(--newspack-ui-color-neutral-60)}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading:focus-visible{outline:0;text-decoration:underline}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review_heading svg{transition:rotate 125ms ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper #order_review{margin:0}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content{display:grid;grid-template-rows:0fr;margin-bottom:var(--newspack-ui-spacer-2,12px);transition:grid-template-rows .25s ease-in-out}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details .order-review-wrapper .transaction-details-content-inner{overflow:hidden}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded #order_review_heading svg{rotate:180deg}#newspack_modal_checkout_container .woocommerce-checkout #after_customer_details.transaction-details-expanded .transaction-details-content{grid-template-rows:1fr;margin-bottom:var(--newspack-ui-spacer-5,24px)}#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 .woocommerce .order-details-summary h2{margin-top:0}#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 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 .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){margin-bottom:var(--newspack-ui-spacer-5,24px);margin-top:0}#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 +1 @@
1
- (()=>{"use strict";const e=(e,t={})=>({...t,action:e}),t=["action","action_type","amount","currency","product_id","product_type","variation_id","variation_ids","is_variable","is_grouped","child_ids","price_summary","newspack_popup_id","gate_post_id","recurrence","referrer"],o=(e,o="np_modal_checkout_interaction")=>{if("function"==typeof window.gtag&&e){const c={};for(const o of t)e[o]&&("boolean"==typeof e[o]?e[o]=e[o]?"yes":"no":"true"===e[o]?e[o]="yes":"false"===e[o]&&(e[o]="no"),c[o]=e[o].toString());window.gtag("event",o,c)}};function c(e){"undefined"!=typeof document&&"function"==typeof e&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}function n(e){const t="string"==typeof e?document.getElementById(e):e;if(!t)return console.warn("No container found for checkout data"),{};let o={};if("FORM"===t.tagName){const e=new FormData(t);o=Object.fromEntries(e)}const c=t.dataset.checkout;if(!c)return console.warn("No checkout data found"),o;try{o={...o,...JSON.parse(c)}}catch(e){console.warn("Error parsing checkout data")}const n=new URL(t.ownerDocument.defaultView.location.href);return n.searchParams.get("action_type")&&(o.action_type=n.searchParams.get("action_type")),o}const i=(t="continue")=>{if("function"!=typeof window.gtag)return;const{action_type:c,amount:i,currency:r,product_id:a,product_type:s,recurrence:d,referrer:u,variation_id:l="",gate_post_id:p="",newspack_popup_id:_=""}=n("modal-checkout-product-details"),h={action_type:c,amount:i,currency:r,product_id:a,product_type:s,recurrence:d,referrer:u};l&&(h.variation_id=l),p&&(h.gate_post_id=p),_&&(h.newspack_popup_id=_);const m=e(t,h);o(m)};var r;r=jQuery,c(()=>{if(!r)return void console.warn("jQuery is not available.");const t=document.querySelector("#newspack_modal_checkout_container"),a=newspackBlocksModalCheckout.newspack_class_prefix,s=new CustomEvent("checkout-ready"),d=new CustomEvent("checkout-complete"),u=new CustomEvent("checkout-cancel"),l=new CustomEvent("checkout-place-order-start"),p=new CustomEvent("checkout-place-order-success"),_=new CustomEvent("checkout-place-order-error"),h=new CustomEvent("checkout-place-order-critical-error");function m(){r(`.woocommerce-NoticeGroup-checkout, .${a}__inline-error, .woocommerce-error, .woocommerce-message, .wc-block-components-notice-banner, .woocommerce-notices-wrapper`).remove()}function f(i=!0){t.checkoutReady=!0,t.dispatchEvent(s),i&&c(function(){if("function"!=typeof window.gtag)return;const t=n("modal-checkout-product-details"),c=e("loaded",t);o(c)})}if(newspackBlocksModalCheckout.is_checkout_complete)(()=>{if("function"!=typeof window.gtag)return;const t=n("modal-checkout-product-details"),c=e("form_submission_success",t);o(c)})(),t&&(t.checkoutComplete=!0,t.dispatchEvent(d));else{function k(){r("#wcpay-express-checkout-button-separator, #wc-stripe-payment-request-button-separator, #wc-stripe-express-checkout-button-separator").after('<div class="newspack-ui__word-divider">'+newspackBlocksModalCheckout.divider_text+"</div>");let c=[];const s=r("form.checkout"),d=r("#checkout_cancel");if(d.length&&d.on("click",function(){t.dispatchEvent(u)}),!s.length)return console.warn("Checkout form is not available"),void f();const k=r("form.modal_checkout_coupon"),w=r("form.modal_checkout_nyp"),v=r("#checkout_continue"),y=r("#customer_details"),b=r("#after_customer_details"),C=r(".newspack-wcsg--wrapper");function x(){const e=r('input[name="payment_method"]:checked').val();r(".wc_payment_method").removeClass("selected"),r(".wc_payment_method.payment_method_"+e).addClass("selected")}r('input[name="payment_method"]').change(x),r(document).on("payment_method_selected",x),r(document).on("updated_checkout",x),x();let E=!1;function M(){let e;if(r.ajax({url:newspackBlocksModalCheckout.ajax_url,method:"POST",async:!1,data:{action:"get_cart_total"},success:t=>{e=t}}),e)return e}if(s.on("checkout_place_order",function(){E||(E=!0,t.dispatchEvent(l))}),function(e,t){e.checkoutPlaceOrderProcessing?t():e.addEventListener("checkout-place-order-processing",t)}(t,function(){E&&(s.is(".processing")||(E=!1,t.dispatchEvent(_)))}),s.on("checkout_place_order_success",function(){E=!1,t.dispatchEvent(p)}),r(document.body).on("checkout_error",function(e,o){E&&(E=!1,o&&o.indexOf(newspackBlocksModalCheckout.labels.critical_error)>=0?t.dispatchEvent(h):t.dispatchEvent(_))}),s.on("update_checkout",function(){E&&(E=!1,t.dispatchEvent(_))}),r(document).on("updated_checkout",function(){r("#payment .wc_payment_methods").length?r("#after_customer_details > h3").show():r("#after_customer_details > h3").hide()}),r(document).on("updated_checkout",function(){const e=r(".order-review-wrapper");if(!e.length)return;const t=e.find("table");t.is(".empty")?e.addClass("hidden"):(t.unblock(),e.removeClass("hidden"));const o=r("#after_customer_details").hasClass("transaction-details-expanded"),c=r(".payment_methods");if(c.length){const t=e.clone();o&&r('[id="order_review_heading"]',t).attr("aria-expanded","true"),r(".order-review-wrapper").remove(),c.after(t)}else o||e.find("#order_review_heading").trigger("click")}),r(document).on("click","#order_review_heading",function(){r(this).attr("aria-expanded",function(e,t){return"false"===t?"true":"false"}),r("#after_customer_details").toggleClass("transaction-details-expanded")}),r(document).on("updated_checkout",function(){let e=newspackBlocksModalCheckout.labels.complete_button;if(e){if(r("#place_order").has(r("span.cart-price"))){const t=r("<div>"+e+"</div>");t.find(".cart-price").html(M,function(){return this.childNodes}),e=t.html()}r("#place_order").html(e),r("#place_order_clone").html(e)}}),C.length){const e=C.find(".newspack-wcsg--gift-toggle input"),t=C.find(".newspack-wcsg--gift-email");e.on("change",function(){e.is(":checked")?t.addClass("visible"):t.removeClass("visible")})}function $(e){s.find(".input-text, select, input:checkbox").trigger("validate").trigger("blur");let t=!1;const o=[],c=e=>{const c=r("#"+e.data("id")+"_field");if(c?.length){t||(t=c);const o=c.find(".woocommerce-error");o.length&&o.remove(),c.addClass("woocommerce-invalid").removeClass("woocommerce-valid"),c.append(`<span class="${a}__inline-error">`+e.text()+"</span>"),e.remove()}else e.is("li")||(e=r("<li />").append(e)),o.push(e)};if(m(),0!==e.trimStart().indexOf("<")?c(r("<li />").append(e)):e.includes("<li")?r(e).find("li").each(function(){c(r(this))}):c(r(e)),o.length){t=!1;const e=r('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout"/>').append(r('<ul class="woocommerce-error" role="alert" />').append(o));s.prepend(e),e.get(0).scrollIntoView({behavior:"smooth"})}t?.length&&(window.scroll({top:t.offset().top-100,left:0,behavior:"smooth"}),t.find("input.input-text, select, input:checkbox").trigger("focus")),N(s),r(document.body).trigger("update_checkout"),r(document.body).trigger("checkout_error",[e])}function O(e){e.preventDefault(),e.stopImmediatePropagation(),P(),i("continue")}function B(e){const t=window.newspack_grecaptcha||{};if(m(),r("#checkout_details").remove(),e)s.attr("data-skip-recaptcha","1"),s.append('<input name="is_validation_only" type="hidden" value="1" />'),"v3"===t?.version&&t.destroy(s.get()),k.length&&k.hide(),w.length&&w.hide(),y.show(),b.hide(),y.find("input").first().focus(),c=function(e,t){const o=r._data(e,"events");return o?t?o[t]||[]:o:[]}(s[0],"submit").slice(0),c.forEach(e=>{s.off("submit",e.handler)}),s.on("submit",O);else{s.removeAttr("data-skip-recaptcha");const e=s.find('[name="is_validation_only"]');if(e.length&&e.remove(),t?.render){s.data("newspack-recaptcha","newspack_modal_checkout");const e=()=>{m(),s.get(0).scrollIntoView({behavior:"smooth"})},o=e=>$(e);t.render(s.get(),e,o),r(document).on("updated_checkout",()=>t.render(s.get(),e,o)),r(document.body).on("checkout_error",()=>t.render(s.get(),e,o))}k.length&&k.show(),w.length&&w.show(),y.hide(),b.show(),function(){r("#checkout_details").remove();const e={};s.serializeArray().forEach(t=>{e[t.name]=t.value});const t=`${newspackBlocksModalCheckout.newspack_class_prefix}__font--xs`,o=[];o.push('<div class="billing-details">'),o.push("<h3>"+newspackBlocksModalCheckout.labels.billing_details+"</h3>"),(e.billing_first_name||e.billing_last_name)&&o.push(`<p class="${t}">`+e.billing_first_name+" "+e.billing_last_name+"</p>"),e.billing_company&&o.push(`<p class="${t}">`+e.billing_company+"</p>");let c="";if((e.billing_address_1||e.billing_address_2)&&(c=`<p class="${t}">`,e.billing_address_1&&(c+=e.billing_address_1),e.billing_address_2&&(c+=" "+e.billing_address_2),c+="<br>",e.billing_city&&(c+=e.billing_city),e.billing_state&&(c+=", "+e.billing_state),e.billing_postcode&&(c+=" "+e.billing_postcode),c+="<br>",e.billing_country&&(c+=e.billing_country)),o.push(c),e.billing_email&&o.push(`<p class="${t}">`+e.billing_email+"</p>"),o.push("</div>"),e.hasOwnProperty("shipping_address_1")){o.push('<div class="shipping-details">'),o.push("<h3>"+newspackBlocksModalCheckout.labels.shipping_details+"</h3>");let n="";e.ship_to_different_address?(n=`<p class="${t}">`,e.shipping_address_1&&(n+=e.shipping_address_1),e.shipping_address_2&&(n+=" "+e.shipping_address_2),n+="<br>",e.shipping_city&&(n+=e.shipping_city),e.shipping_state&&(n+=", "+e.shipping_state),e.shipping_postcode&&(n+=" "+e.shipping_postcode),n+="<br>",e.shipping_country&&(n+=e.shipping_country)):n=c,o.push(n),o.push("</div>")}e.hasOwnProperty("newspack_wcsg_is_gift")&&e.hasOwnProperty("wcsg_gift_recipients_email")&&e.newspack_wcsg_is_gift&&e.wcsg_gift_recipients_email&&(o.push('<div class="gift-details">'),o.push("<h3>"+newspackBlocksModalCheckout.labels.gift_recipient+"</h3>"),o.push(`<p class="${t}">`+e.wcsg_gift_recipients_email+"</p>")),r(".order-details-summary").after('<div id="checkout_details">'+o.join("")+"</div>")}(),s.off("submit",O),c.forEach(e=>{s.on("submit",e.handler)}),g()}s.triggerHandler("editing_details",[e]),window.scroll({top:0,left:0,behavior:"smooth"})}function P(e=!1,t=()=>{}){if(!j(s))return console.warn("Unable to block the form"),t(),!1;m();const o=s.find(".woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout");o.length&&o.remove();const c=["save_user_in_woopay"],n=s.serializeArray().filter(e=>!c.includes(e.name));n.push({name:"woocommerce_checkout_update_totals",value:"1"}),r.ajax({type:"POST",url:wc_checkout_params.checkout_url,data:n,dataType:"html",success:o=>{let c;try{c=JSON.parse(o)}catch(e){c={messages:'<div class="woocommerce-error">'+wc_checkout_params.i18n_checkout_error+"</div>"}}e||!0!==c.reload?(N(s),c.messages?e||(c.messages?$(c.messages):$(`<div class="${a}__inline-error">`+wc_checkout_params.i18n_checkout_error+"</div>")):(B(!1),r._data(s[0],"events")?.click?.some(e=>"#checkout_edit_billing"===e.selector)||s.on("click","#checkout_edit_billing",function(e){e.preventDefault(),B(!0),i("back")})),t(c)):window.location.reload()},error:(o,c,n)=>{let i="";e||(i='<div class="woocommerce-error">'+(n||wc_checkout_params.i18n_checkout_error)+"</div>",$(i)),t({messages:i})}})}function j(e){return!e.is(".modal-processing")&&(e.find("button[type=submit]").each((e,t)=>{r(t).attr("disabled",!0)}),e.addClass("modal-processing"),!0)}function N(e){return!!e.is(".modal-processing")&&(e.find("button[type=submit]").each((e,t)=>{r(t).attr("disabled",!1)}),e.removeClass("modal-processing"),!0)}v.length?(B(!0),C.length?f():P(!0,f)):f(),k.length&&(k.on("submit",function(e){if(e.preventDefault(),!j(k))return!1;const t={security:wc_checkout_params.apply_coupon_nonce,coupon_code:k.find('input[name="coupon_code"]').val()};r.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","apply_coupon"),data:t,dataType:"html",success:e=>{if(m(),k.find(".result").remove(),e){const o=e.includes("error");k.append(`<p class="result ${a}__helper-text ${o?a+"__inline-error":""}">`+r(e).text()+"</p>"),o?(k.find('input[name="coupon_code"]').focus(),k.find('h3, input[name="coupon_code"]').addClass("newspack-ui__field-error")):(k.find('input[name="coupon_code"]').focus(),k.find('h3, input[name="coupon_code"]').removeClass("newspack-ui__field-error")),r(document.body).trigger("applied_coupon_in_checkout",[t.coupon_code]),r(document.body).trigger("update_checkout",{update_shipping_method:!1})}},complete:()=>{N(k)}})}),r(document.body).on("removed_coupon_in_checkout",()=>{m(),k.find(".result").remove(),k.find('input[name="coupon_code"]').val("").focus()})),w.length&&w.on("submit",function(e){if(e.preventDefault(),!j(w))return!1;const t=w.find('input[name="price"]');t.attr("disabled",!0);const o={_ajax_nonce:newspackBlocksModalCheckout.nyp_nonce,action:"process_name_your_price_request",price:w.find('input[name="price"]').val(),product_id:w.find('input[name="product_id"]').val(),newspack_checkout_name_your_price:w.find('input[name="newspack_checkout_name_your_price"]').val()};r.ajax({type:"POST",url:newspackBlocksModalCheckout.ajax_url,data:o,success:({success:e,data:t})=>{m(),w.find(".result").remove(),w.append(`<p class="result ${a}__helper-text ${e?"":a+"__inline-error"}">`+t.message+"</p>"),e?w.find('h3, input[name="price"]').removeClass("newspack-ui__field-error"):(w.find('input[name="price"]').focus(),w.find('h3, input[name="price"]').addClass("newspack-ui__field-error")),r(document.body).trigger("update_checkout",{update_shipping_method:!1})},complete:()=>{N(w),t.attr("disabled",!1),t.focus()}})}),s.on("click","#place_order",function(){(()=>{if("function"!=typeof window.gtag)return;const t=n("modal-checkout-product-details"),c=e("form_submission",t);o(c)})()})}k()}function g(){const e=r("#newspack_subscription_terms_confirmation, #newspack_subscription_confirmation");if(e.length){const t=r("form.checkout"),o=t.find("button#place_order, button#place_order_clone");function c(){const t=e.is(":checked");o.each((e,o)=>{r(o).attr("disabled",!t)})}c(),e.on("change",c),t.on("submit",function(t){if(!e.is(":checked"))return t.preventDefault(),t.stopPropagation(),!1})}}r(document.body).on("updated_checkout payment_method_selected checkout_error",g),r(document).ready(g),r(document.body).on("checkout_error",function(){const e=r(".woocommerce-NoticeGroup-checkout, .woocommerce-notices-wrapper");e.length&&e.each((e,t)=>r(t).addClass(`${a}__notice ${a}__notice--error`));const t=r("#checkout_error_back");t.length&&t.on("click",e=>{e.preventDefault(),parent.newspackCloseModalCheckout()}),f(!1)}),document.addEventListener("keydown",function(e){"Escape"===e.key&&parent.newspackCloseModalCheckout()}),newspackBlocksModalCheckout.is_error&&r(document.body).trigger("checkout_error")})})();
1
+ (()=>{"use strict";const e=(e,t={})=>({...t,action:e}),t=["action","action_type","amount","currency","product_id","product_type","variation_id","variation_ids","is_variable","is_grouped","child_ids","price_summary","newspack_popup_id","gate_post_id","recurrence","referrer"],o=(e,o="np_modal_checkout_interaction")=>{if("function"==typeof window.gtag&&e){const c={};for(const o of t)e[o]&&("boolean"==typeof e[o]?e[o]=e[o]?"yes":"no":"true"===e[o]?e[o]="yes":"false"===e[o]&&(e[o]="no"),c[o]=e[o].toString());window.gtag("event",o,c)}};function c(e){"undefined"!=typeof document&&"function"==typeof e&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}function n(e){const t="string"==typeof e?document.getElementById(e):e;if(!t)return console.warn("No container found for checkout data"),{};let o={};if("FORM"===t.tagName){const e=new FormData(t);o=Object.fromEntries(e)}const c=t.dataset.checkout;if(!c)return console.warn("No checkout data found"),o;try{o={...o,...JSON.parse(c)}}catch(e){console.warn("Error parsing checkout data")}const n=new URL(t.ownerDocument.defaultView.location.href);return n.searchParams.get("action_type")&&(o.action_type=n.searchParams.get("action_type")),o}const i=(t="continue")=>{if("function"!=typeof window.gtag)return;const{action_type:c,amount:i,currency:r,product_id:s,product_type:a,recurrence:d,referrer:u,variation_id:l="",gate_post_id:p="",newspack_popup_id:_=""}=n("modal-checkout-product-details"),h={action_type:c,amount:i,currency:r,product_id:s,product_type:a,recurrence:d,referrer:u};l&&(h.variation_id=l),p&&(h.gate_post_id=p),_&&(h.newspack_popup_id=_);const m=e(t,h);o(m)};var r;r=jQuery,c(()=>{if(!r)return void console.warn("jQuery is not available.");const t=document.querySelector("#newspack_modal_checkout_container"),s=newspackBlocksModalCheckout.newspack_class_prefix,a=new CustomEvent("checkout-ready"),d=new CustomEvent("checkout-complete"),u=new CustomEvent("checkout-cancel"),l=new CustomEvent("checkout-place-order-start"),p=new CustomEvent("checkout-place-order-success"),_=new CustomEvent("checkout-place-order-error"),h=new CustomEvent("checkout-place-order-critical-error");function m(){r(".woocommerce-notices-wrapper").empty(),r(`.woocommerce-NoticeGroup-checkout, .${s}__inline-error, .woocommerce-error, .woocommerce-message, .wc-block-components-notice-banner`).remove()}function f(i=!0){t.checkoutReady=!0,t.dispatchEvent(a),i&&c(function(){if("function"!=typeof window.gtag)return;const t=n("modal-checkout-product-details"),c=e("loaded",t);o(c)})}if(newspackBlocksModalCheckout.is_checkout_complete)(()=>{if("function"!=typeof window.gtag)return;const t=n("modal-checkout-product-details"),c=e("form_submission_success",t);o(c)})(),t&&(t.checkoutComplete=!0,t.dispatchEvent(d));else{function g(){r("#wcpay-express-checkout-button-separator, #wc-stripe-payment-request-button-separator, #wc-stripe-express-checkout-button-separator").after('<div class="newspack-ui__word-divider">'+newspackBlocksModalCheckout.divider_text+"</div>");let c=[];const a=r("form.checkout"),d=r("#checkout_cancel");if(d.length&&d.on("click",function(){t.dispatchEvent(u)}),!a.length)return console.warn("Checkout form is not available"),void f();const g=r("form.modal_checkout_coupon"),w=r("form.modal_checkout_nyp"),v=r("#checkout_continue"),b=r("#customer_details"),y=r("#after_customer_details"),C=r(".newspack-wcsg--wrapper");function E(){const e=r('input[name="payment_method"]:checked').val();r(".wc_payment_method").removeClass("selected"),r(".wc_payment_method.payment_method_"+e).addClass("selected")}r('input[name="payment_method"]').change(E),r(document).on("payment_method_selected",E),r(document).on("updated_checkout",E),E();let x=!1;function M(){let e;if(r.ajax({url:newspackBlocksModalCheckout.ajax_url,method:"POST",async:!1,data:{action:"get_cart_total"},success:t=>{e=t}}),e)return e}if(a.on("checkout_place_order",function(){x||(x=!0,t.dispatchEvent(l))}),function(e,t){e.checkoutPlaceOrderProcessing?t():e.addEventListener("checkout-place-order-processing",t)}(t,function(){x&&(a.is(".processing")||(x=!1,t.dispatchEvent(_)))}),a.on("checkout_place_order_success",function(){x=!1,t.dispatchEvent(p)}),r(document.body).on("checkout_error",function(e,o){x&&(x=!1,o&&o.indexOf(newspackBlocksModalCheckout.labels.critical_error)>=0?t.dispatchEvent(h):t.dispatchEvent(_))}),a.on("update_checkout",function(){x&&(x=!1,t.dispatchEvent(_))}),r(document).on("updated_checkout",function(){r("#payment .wc_payment_methods").length?r("#after_customer_details > h3").show():r("#after_customer_details > h3").hide()}),r(document).on("updated_checkout",function(){const e=r(".order-review-wrapper");if(!e.length)return;const t=e.find("table");t.is(".empty")?e.addClass("hidden"):(t.unblock(),e.removeClass("hidden"));const o=r("#after_customer_details").hasClass("transaction-details-expanded"),c=r(".payment_methods");if(c.length){const t=e.clone();o&&r('[id="order_review_heading"]',t).attr("aria-expanded","true"),r(".order-review-wrapper").remove(),c.after(t)}else o||e.find("#order_review_heading").trigger("click")}),r(document).on("click","#order_review_heading",function(){r(this).attr("aria-expanded",function(e,t){return"false"===t?"true":"false"}),r("#after_customer_details").toggleClass("transaction-details-expanded")}),r(document).on("updated_checkout",function(){let e=newspackBlocksModalCheckout.labels.complete_button;if(e){if(r("#place_order").has(r("span.cart-price"))){const t=r("<div>"+e+"</div>");t.find(".cart-price").html(M,function(){return this.childNodes}),e=t.html()}r("#place_order").html(e),r("#place_order_clone").html(e)}}),C.length){const e=C.find(".newspack-wcsg--gift-toggle input"),t=C.find(".newspack-wcsg--gift-email");e.on("change",function(){e.is(":checked")?t.addClass("visible"):t.removeClass("visible")})}function $(e){a.find(".input-text, select, input:checkbox").trigger("validate").trigger("blur");let t=!1;const o=[],c=e=>{const c=r("#"+e.data("id")+"_field");if(c?.length){t||(t=c);const o=c.find(".woocommerce-error");o.length&&o.remove(),c.addClass("woocommerce-invalid").removeClass("woocommerce-valid"),c.append(`<span class="${s}__inline-error">`+e.text()+"</span>"),e.remove()}else e.is("li")||(e=r("<li />").append(e)),o.push(e)};if(m(),0!==e.trimStart().indexOf("<")?c(r("<li />").append(e)):e.includes("<li")?r(e).find("li").each(function(){c(r(this))}):c(r(e)),o.length){t=!1;const e=r('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout"/>').append(r('<ul class="woocommerce-error" role="alert" />').append(o));a.prepend(e),e.get(0).scrollIntoView({behavior:"smooth"})}t?.length&&(window.scroll({top:t.offset().top-100,left:0,behavior:"smooth"}),t.find("input.input-text, select, input:checkbox").trigger("focus")),P(a),r(document.body).trigger("update_checkout"),r(document.body).trigger("checkout_error",[e])}function O(e){e.preventDefault(),e.stopImmediatePropagation(),B(),i("continue")}function N(e){const t=window.newspack_grecaptcha||{};if(m(),r("#checkout_details").remove(),e)a.attr("data-skip-recaptcha","1"),a.append('<input name="is_validation_only" type="hidden" value="1" />'),"v3"===t?.version&&t.destroy(a.get()),g.length&&g.hide(),w.length&&w.hide(),b.show(),y.hide(),b.find("input").first().focus(),c=function(e,t){const o=r._data(e,"events");return o?t?o[t]||[]:o:[]}(a[0],"submit").slice(0),c.forEach(e=>{a.off("submit",e.handler)}),a.on("submit",O);else{a.removeAttr("data-skip-recaptcha");const e=a.find('[name="is_validation_only"]');if(e.length&&e.remove(),t?.render){a.data("newspack-recaptcha","newspack_modal_checkout");const e=()=>{m(),a.get(0).scrollIntoView({behavior:"smooth"})},o=e=>$(e);t.render(a.get(),e,o),r(document).on("updated_checkout",()=>t.render(a.get(),e,o)),r(document.body).on("checkout_error",()=>t.render(a.get(),e,o))}g.length&&g.show(),w.length&&w.show(),b.hide(),y.show(),function(){r("#checkout_details").remove();const e={};a.serializeArray().forEach(t=>{e[t.name]=t.value});const t=`${newspackBlocksModalCheckout.newspack_class_prefix}__font--xs`,o=[];o.push('<div class="billing-details">'),o.push("<h3>"+newspackBlocksModalCheckout.labels.billing_details+"</h3>"),(e.billing_first_name||e.billing_last_name)&&o.push(`<p class="${t}">`+e.billing_first_name+" "+e.billing_last_name+"</p>"),e.billing_company&&o.push(`<p class="${t}">`+e.billing_company+"</p>");let c="";if((e.billing_address_1||e.billing_address_2)&&(c=`<p class="${t}">`,e.billing_address_1&&(c+=e.billing_address_1),e.billing_address_2&&(c+=" "+e.billing_address_2),c+="<br>",e.billing_city&&(c+=e.billing_city),e.billing_state&&(c+=", "+e.billing_state),e.billing_postcode&&(c+=" "+e.billing_postcode),c+="<br>",e.billing_country&&(c+=e.billing_country)),o.push(c),e.billing_email&&o.push(`<p class="${t}">`+e.billing_email+"</p>"),o.push("</div>"),e.hasOwnProperty("shipping_address_1")){o.push('<div class="shipping-details">'),o.push("<h3>"+newspackBlocksModalCheckout.labels.shipping_details+"</h3>");let n="";e.ship_to_different_address?(n=`<p class="${t}">`,e.shipping_address_1&&(n+=e.shipping_address_1),e.shipping_address_2&&(n+=" "+e.shipping_address_2),n+="<br>",e.shipping_city&&(n+=e.shipping_city),e.shipping_state&&(n+=", "+e.shipping_state),e.shipping_postcode&&(n+=" "+e.shipping_postcode),n+="<br>",e.shipping_country&&(n+=e.shipping_country)):n=c,o.push(n),o.push("</div>")}e.hasOwnProperty("newspack_wcsg_is_gift")&&e.hasOwnProperty("wcsg_gift_recipients_email")&&e.newspack_wcsg_is_gift&&e.wcsg_gift_recipients_email&&(o.push('<div class="gift-details">'),o.push("<h3>"+newspackBlocksModalCheckout.labels.gift_recipient+"</h3>"),o.push(`<p class="${t}">`+e.wcsg_gift_recipients_email+"</p>")),r(".order-details-summary").after('<div id="checkout_details">'+o.join("")+"</div>")}(),a.off("submit",O),c.forEach(e=>{a.on("submit",e.handler)}),k()}a.triggerHandler("editing_details",[e]),window.scroll({top:0,left:0,behavior:"smooth"})}function B(e=!1,t=()=>{}){if(!L(a))return console.warn("Unable to block the form"),t(),!1;m();const o=a.find(".woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout");o.length&&o.remove();const c=["save_user_in_woopay"],n=a.serializeArray().filter(e=>!c.includes(e.name));n.push({name:"woocommerce_checkout_update_totals",value:"1"}),r.ajax({type:"POST",url:wc_checkout_params.checkout_url,data:n,dataType:"html",success:o=>{let c;try{c=JSON.parse(o)}catch(e){c={messages:'<div class="woocommerce-error">'+wc_checkout_params.i18n_checkout_error+"</div>"}}e||!0!==c.reload?(P(a),c.messages?e||(c.messages?$(c.messages):$(`<div class="${s}__inline-error">`+wc_checkout_params.i18n_checkout_error+"</div>")):(N(!1),r._data(a[0],"events")?.click?.some(e=>"#checkout_edit_billing"===e.selector)||a.on("click","#checkout_edit_billing",function(e){e.preventDefault(),N(!0),i("back")})),t(c)):window.location.reload()},error:(o,c,n)=>{let i="";e||(i='<div class="woocommerce-error">'+(n||wc_checkout_params.i18n_checkout_error)+"</div>",$(i)),t({messages:i})}})}function L(e){return!e.is(".modal-processing")&&(e.find("button[type=submit]").each((e,t)=>{r(t).attr("disabled",!0)}),e.addClass("modal-processing"),!0)}function P(e){return!!e.is(".modal-processing")&&(e.find("button[type=submit]").each((e,t)=>{r(t).attr("disabled",!1)}),e.removeClass("modal-processing"),!0)}v.length?(N(!0),C.length?f():B(!0,f)):f(),g.length&&(g.on("submit",function(e){if(e.preventDefault(),!L(g))return!1;const t={security:wc_checkout_params.apply_coupon_nonce,coupon_code:g.find('input[name="coupon_code"]').val()};r.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","apply_coupon"),data:t,dataType:"html",success:e=>{if(m(),g.find(".result").remove(),e){const o=e.includes("error");g.append(`<p class="result ${s}__helper-text ${o?s+"__inline-error":""}">`+r(e).text()+"</p>"),o?(g.find('input[name="coupon_code"]').focus(),g.find('h3, input[name="coupon_code"]').addClass("newspack-ui__field-error")):(g.find('input[name="coupon_code"]').focus(),g.find('h3, input[name="coupon_code"]').removeClass("newspack-ui__field-error")),r(document.body).trigger("applied_coupon_in_checkout",[t.coupon_code]),r(document.body).trigger("update_checkout",{update_shipping_method:!1})}},complete:()=>{P(g)}})}),r(document.body).on("removed_coupon_in_checkout",()=>{m(),g.find(".result").remove(),g.find('input[name="coupon_code"]').val("").focus()})),w.length&&w.on("submit",function(e){if(e.preventDefault(),!L(w))return!1;const t=w.find('input[name="price"]');t.attr("disabled",!0);const o={_ajax_nonce:newspackBlocksModalCheckout.nyp_nonce,action:"process_name_your_price_request",price:w.find('input[name="price"]').val(),product_id:w.find('input[name="product_id"]').val(),newspack_checkout_name_your_price:w.find('input[name="newspack_checkout_name_your_price"]').val()};r.ajax({type:"POST",url:newspackBlocksModalCheckout.ajax_url,data:o,success:({success:e,data:t})=>{m(),w.find(".result").remove(),w.append(`<p class="result ${s}__helper-text ${e?"":s+"__inline-error"}">`+t.message+"</p>"),e?w.find('h3, input[name="price"]').removeClass("newspack-ui__field-error"):(w.find('input[name="price"]').focus(),w.find('h3, input[name="price"]').addClass("newspack-ui__field-error")),r(document.body).trigger("update_checkout",{update_shipping_method:!1})},complete:()=>{P(w),t.attr("disabled",!1),t.focus()}})}),a.on("click","#place_order",function(){(()=>{if("function"!=typeof window.gtag)return;const t=n("modal-checkout-product-details"),c=e("form_submission",t);o(c)})()});const S=function(){if(!t)return;const e="data-newspack-error-handled",o=o=>{o.hasAttribute(e)||(o.setAttribute(e,"true"),r(o).addClass(`${s}__notice ${s}__notice--error`),t.dispatchEvent(_),o.scrollIntoView({behavior:"smooth",block:"center"}))},c=e=>!!e.classList?.contains("woocommerce-error")||!(!e.classList?.contains("wc-block-components-notice-banner")||!e.classList?.contains("is-error")),n=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes){if(e.nodeType!==Node.ELEMENT_NODE)continue;if(c(e))return void o(e);const t=e.querySelector?.(".woocommerce-error, .wc-block-components-notice-banner.is-error");if(t)return void o(t)}});return n.observe(t,{childList:!0,subtree:!0}),n}();if(S){const e=()=>S.disconnect();t.addEventListener("checkout-complete",e),t.addEventListener("checkout-cancel",e),window.addEventListener("beforeunload",e)}}g()}function k(){const e=r("#newspack_subscription_terms_confirmation, #newspack_subscription_confirmation");if(e.length){const t=r("form.checkout"),o=t.find("button#place_order, button#place_order_clone");function c(){const t=e.is(":checked");o.each((e,o)=>{r(o).attr("disabled",!t)})}c(),e.on("change",c),t.on("submit",function(t){if(!e.is(":checked"))return t.preventDefault(),t.stopPropagation(),!1})}}r(document.body).on("updated_checkout payment_method_selected checkout_error",k),r(document).ready(k),r(document.body).on("checkout_error",function(){const e=r(".woocommerce-NoticeGroup-checkout, .woocommerce-notices-wrapper");e.length&&e.each((e,t)=>r(t).addClass(`${s}__notice ${s}__notice--error`));const t=r("#checkout_error_back");t.length&&t.on("click",e=>{e.preventDefault(),parent.newspackCloseModalCheckout()}),f(!1)}),document.addEventListener("keydown",function(e){"Escape"===e.key&&parent.newspackCloseModalCheckout()}),newspackBlocksModalCheckout.is_error&&r(document.body).trigger("checkout_error")})})();
@@ -1590,7 +1590,7 @@ final class Modal_Checkout {
1590
1590
  // Get express_payment_type in a way that works for both Stripe and WooPayments.
1591
1591
  $express_payment_info = isset( $_POST['express_payment_type'] ) ? sanitize_text_field( wp_unslash( $_POST['express_payment_type'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification
1592
1592
 
1593
- $is_express_checkout = ! empty( $express_payment_info ) && in_array( $express_payment_info, [ 'apple_pay', 'google_pay', 'payment_request_api' ], true ); // Validate payment request types: https://github.com/woocommerce/woocommerce-gateway-stripe/blob/develop/includes/payment-methods/class-wc-stripe-payment-request.php#L557-L586.
1593
+ $is_express_checkout = ! empty( $express_payment_info ) && in_array( $express_payment_info, [ 'apple_pay', 'google_pay', 'payment_request_api', 'link' ], true ); // Validate payment request types: https://github.com/woocommerce/woocommerce-gateway-stripe/blob/develop/includes/payment-methods/class-wc-stripe-payment-request.php#L557-L586.
1594
1594
 
1595
1595
  if ( $is_express_checkout ) {
1596
1596
  $referrer = isset( $_SERVER['HTTP_REFERER'] ) ? \esc_url_raw( \wp_unslash( $_SERVER['HTTP_REFERER'] ) ) : false; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
5
- "POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
5
+ "POT-Creation-Date: 2026-01-07T21:28:53+00:00\n"
6
6
  "PO-Revision-Date: 2024-08-30 08:45-0700\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
5
- "POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
5
+ "POT-Creation-Date: 2026-01-07T21:28:53+00:00\n"
6
6
  "PO-Revision-Date: 2025-08-12T14:56:45+00:00\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
5
- "POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
5
+ "POT-Creation-Date: 2026-01-07T21:28:53+00:00\n"
6
6
  "PO-Revision-Date: 2024-08-30 08:46-0700\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
5
- "POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
5
+ "POT-Creation-Date: 2026-01-07T21:28:53+00:00\n"
6
6
  "PO-Revision-Date: 2024-08-30 08:46-0700\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
5
- "POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
5
+ "POT-Creation-Date: 2026-01-07T21:28:53+00:00\n"
6
6
  "PO-Revision-Date: 2024-08-30 08:46-0700\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2025 Automattic
1
+ # Copyright (C) 2026 Automattic
2
2
  # This file is distributed under the same license as the Newspack Blocks plugin.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: Newspack Blocks 4.18.0\n"
5
+ "Project-Id-Version: Newspack Blocks 4.20.1\n"
6
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
7
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
9
  "MIME-Version: 1.0\n"
10
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
12
+ "POT-Creation-Date: 2026-01-07T21:28:53+00:00\n"
13
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
14
  "X-Generator: WP-CLI 2.12.0\n"
15
15
  "X-Domain: newspack-blocks\n"
@@ -7,7 +7,7 @@
7
7
  * Author URI: https://newspack.com/
8
8
  * Text Domain: newspack-blocks
9
9
  * Domain Path: /languages
10
- * Version: 4.20.1
10
+ * Version: 4.23.0
11
11
  *
12
12
  * @package Newspack_Blocks
13
13
  */
@@ -15,7 +15,7 @@
15
15
  define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ );
16
16
  define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' );
17
17
  define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) );
18
- define( 'NEWSPACK_BLOCKS__VERSION', '4.20.1' );
18
+ define( 'NEWSPACK_BLOCKS__VERSION', '4.23.0' );
19
19
 
20
20
  require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php';
21
21
  require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/newspack-blocks",
3
- "version": "4.20.1",
3
+ "version": "4.23.0",
4
4
  "author": "Automattic",
5
5
  "description": "=== Newspack Blocks === Contributors: (this should be a list of wordpress.org userid's) Donate link: https://example.com/ Tags: comments, spam Requires at least: 4.5 Tested up to: 5.1.1 Stable tag: 0.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html",
6
6
  "repository": {
@@ -49,11 +49,12 @@ export const getFrequencyLabel = ( frequencySlug: DonationFrequencySlug, hideOnc
49
49
  ? hideOnceLabel
50
50
  ? ''
51
51
  : __( 'once', 'newspack-blocks' )
52
- : sprintf(
53
- // Translators: %s is the frequency (e.g. per month, per year).
54
- _x( 'per %s', 'per `Frequency`', 'newspack-blocks' ),
55
- frequencySlug
56
- );
52
+ : ' ' +
53
+ sprintf(
54
+ // Translators: %s is the frequency (e.g. per month, per year).
55
+ _x( 'per %s', 'per `Frequency`', 'newspack-blocks' ),
56
+ frequencySlug
57
+ );
57
58
  };
58
59
 
59
60
  export const getFormattedAmount = ( amount: number, withCurrency = false ) => {
@@ -985,6 +985,10 @@
985
985
  margin-top: 0;
986
986
  }
987
987
 
988
+ .woocommerce .woocommerce-notices-wrapper .woocommerce-error.newspack-ui__notice--error {
989
+ padding: var(--newspack-ui-spacer-2, 12px);
990
+ }
991
+
988
992
  .modal-processing {
989
993
  opacity: 0.5;
990
994
  }
@@ -40,8 +40,9 @@ import { domReady, onCheckoutPlaceOrderProcessing } from './utils';
40
40
  }
41
41
 
42
42
  function clearNotices() {
43
+ $( '.woocommerce-notices-wrapper' ).empty();
43
44
  $(
44
- `.woocommerce-NoticeGroup-checkout, .${ CLASS_PREFIX }__inline-error, .woocommerce-error, .woocommerce-message, .wc-block-components-notice-banner, .woocommerce-notices-wrapper`
45
+ `.woocommerce-NoticeGroup-checkout, .${ CLASS_PREFIX }__inline-error, .woocommerce-error, .woocommerce-message, .wc-block-components-notice-banner`
45
46
  ).remove();
46
47
  }
47
48
 
@@ -786,6 +787,70 @@ import { domReady, onCheckoutPlaceOrderProcessing } from './utils';
786
787
  form.removeClass( 'modal-processing' );
787
788
  return true;
788
789
  }
790
+
791
+ /**
792
+ * Watch for Express Checkout errors added to the checkout container.
793
+ * Express Checkout (GPay/Apple Pay) uses the Store API which doesn't trigger
794
+ * the standard WooCommerce checkout_error event.
795
+ */
796
+ function observeExpressCheckoutErrors() {
797
+ if ( ! container ) {
798
+ return;
799
+ }
800
+
801
+ const ERROR_HANDLED_ATTR = 'data-newspack-error-handled';
802
+
803
+ const handleExpressCheckoutError = errorNode => {
804
+ if ( errorNode.hasAttribute( ERROR_HANDLED_ATTR ) ) {
805
+ return;
806
+ }
807
+ errorNode.setAttribute( ERROR_HANDLED_ATTR, 'true' );
808
+
809
+ $( errorNode ).addClass( `${ CLASS_PREFIX }__notice ${ CLASS_PREFIX }__notice--error` );
810
+ container.dispatchEvent( placeOrderErrorEvent );
811
+ errorNode.scrollIntoView( { behavior: 'smooth', block: 'center' } );
812
+ };
813
+
814
+ const isErrorNode = node => {
815
+ if ( node.classList?.contains( 'woocommerce-error' ) ) {
816
+ return true;
817
+ }
818
+ if ( node.classList?.contains( 'wc-block-components-notice-banner' ) && node.classList?.contains( 'is-error' ) ) {
819
+ return true;
820
+ }
821
+ return false;
822
+ };
823
+
824
+ const observer = new MutationObserver( mutations => {
825
+ for ( const mutation of mutations ) {
826
+ for ( const node of mutation.addedNodes ) {
827
+ if ( node.nodeType !== Node.ELEMENT_NODE ) {
828
+ continue;
829
+ }
830
+ if ( isErrorNode( node ) ) {
831
+ handleExpressCheckoutError( node );
832
+ return;
833
+ }
834
+ const nestedError = node.querySelector?.( '.woocommerce-error, .wc-block-components-notice-banner.is-error' );
835
+ if ( nestedError ) {
836
+ handleExpressCheckoutError( nestedError );
837
+ return;
838
+ }
839
+ }
840
+ }
841
+ } );
842
+
843
+ observer.observe( container, { childList: true, subtree: true } );
844
+ return observer;
845
+ }
846
+
847
+ const expressCheckoutErrorObserver = observeExpressCheckoutErrors();
848
+ if ( expressCheckoutErrorObserver ) {
849
+ const disconnect = () => expressCheckoutErrorObserver.disconnect();
850
+ container.addEventListener( 'checkout-complete', disconnect );
851
+ container.addEventListener( 'checkout-cancel', disconnect );
852
+ window.addEventListener( 'beforeunload', disconnect );
853
+ }
789
854
  }
790
855
  init();
791
856
  }
@@ -3,7 +3,7 @@
3
3
  'name' => 'automattic/newspack-blocks',
4
4
  'pretty_version' => 'dev-trunk',
5
5
  'version' => 'dev-trunk',
6
- 'reference' => '1f7820a3e22531072f74c1fcc009b4629a876192',
6
+ 'reference' => 'c27b16673efd539e3a6680cb605637d242282eb6',
7
7
  'type' => 'wordpress-plugin',
8
8
  'install_path' => __DIR__ . '/../../',
9
9
  'aliases' => array(),
@@ -13,7 +13,7 @@
13
13
  'automattic/newspack-blocks' => array(
14
14
  'pretty_version' => 'dev-trunk',
15
15
  'version' => 'dev-trunk',
16
- 'reference' => '1f7820a3e22531072f74c1fcc009b4629a876192',
16
+ 'reference' => 'c27b16673efd539e3a6680cb605637d242282eb6',
17
17
  'type' => 'wordpress-plugin',
18
18
  'install_path' => __DIR__ . '/../../',
19
19
  'aliases' => array(),