"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[38],{91:(a,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.loadAfterpay=void 0;const t=r(21);e.loadAfterpay=function(a){const e=Object.assign({src:"https://js.afterpay.com/afterpay-1.x.js",id:"afterpay",anonymous:!1,async:!0,addProperties:a=>{a.setAttribute("data-analytics-enabled","")}},a);(0,t.loadScript)(e)}},41:function(a,e,r){var t=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0}),e.Afterpay=void 0;const n=r(0),s=(r(1),r(2)),o=r(4),p=t(r(90)),{wrapper:i,wrapperDesktop:l,wrapperParagraph:c,wrapperParagraphText:d,wrapperParagraphLogo:f,wrapperParagraphLogoContent:u,wrapperParagraphLogoBrand:y,wrapperParagraphLogoLockup:g,wrapperParagraphLogoLink:h}=p.default;e.Afterpay=function({installmentPrice:a,isDesktop:e=!1}){return(0,n.jsx)("div",Object.assign({className:(0,s.cx)(i,e?l:"")},{children:(0,n.jsxs)("p",Object.assign({className:(0,s.cx)(c,"no-translate")},{children:[(0,n.jsxs)("span",Object.assign({className:d},{children:["or 4 interest-free payments of ",a," with"," "]})),(0,n.jsxs)("span",Object.assign({className:f},{children:[(0,n.jsx)("span",Object.assign({className:(0,s.cx)(u,y,g)},{children:(0,n.jsx)(o.Icons.AfterpayIcon,{})})),(0,n.jsx)("button",Object.assign({onClick:()=>{var a;const e={modalTheme:window.Afterpay.theme.modal.WHITE,size:"XS",logoType:window.Afterpay.logoType.LOCKUP};window.Afterpay?null===(a=window.Afterpay)||void 0===a||a.launchModal(e):window.addEventListener("Afterpay.ready",(function(){var a;null===(a=window.Afterpay)||void 0===a||a.launchModal(e)}))},id:"logo-link",class:h,tabIndex:0,"aria-label":"Afterpay Information - Opens a dialog",title:"Afterpay Information - Opens a dialog"},{children:"ⓘ"}))]}))]}))}))}}}]);