1import{a as c}from"/build/_shared/chunk-DEVQKMWM.js";import{a as s}from"/build/_shared/chunk-5OBEDPFR.js";import{a as l}from"/build/_shared/chunk-H6S7FWVP.js";import{d as t}from"/build/_shared/chunk-T36URGAI.js";var p=t(l());var a=t(s()),y=({methods:r,className:d,paymentMethodImages:o})=>{var m,n;let i=(0,p.useContext)(c),h={visa:"https://mediahub.debenhams.com/dbz_prod_visa-pay-method-icon-2024",mastercard:"https://mediahub.debenhams.com/dbz_prod_mastercard-pay-method-icon-2024",amex:"https://mediahub.debenhams.com/dbz_prod_amex-pay-method-icon-2024",maestro:"https://mediahub.debenhams.com/dbz_prod_mastercard-maestro-pay-method-icon-2024",visaElectron:"https://mediahub.debenhams.com/dbz_prod_visa-electron-pay-method-icon-2024",applePay:"https://mediahub.debenhams.com/dbz_prod_applepay-pay-method-icon-2024",payplus:"https://mediahub.debenhams.com/dbz_prod_payplus-pay-method-icon-2024",paypal:"https://mediahub.debenhams.com/dbz_prod_paypal-pay-method-icon-2024",klarna:"https://mediahub.debenhams.com/dbz_prod_klarna-pay-method-icon-2024",clearpay:"https://mediahub.debenhams.com/dbz_prod_clearpay-pay-method-icon-2024",googlePay:"https://mediahub.debenhams.com/dbz_prod_google-pay-method-icon-2024",revolutpay:"https://mediahub.debenhams.com/dbz_prod_revolut-pay-method-icon-2024"},b=(n=(m=i.theming)==null?void 0:m.footer)==null?void 0:n.centerPaymentIcons;return o!=null&&o.length?(0,a.jsx)(a.Fragment,{children:o==null?void 0:o.map(e=>(0,a.jsx)("img",{src:e.image+`?fmt=auto&h=${b?"50":"72"}`,alt:`${e.name} payment method icon`,className:d,loading:"lazy"},e.name))}):(0,a.jsx)(a.Fragment,{children:r.map(e=>(0,a.jsx)("img",{src:h[e]+"?fmt=auto&h=50",alt:`${e} payment method icon`,className:d,loading:"lazy"},e))})},z=y;export{z as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.