Loading
function(e,t,n){n.d(t,{n:()=>d});var l=n(627968),r=n(64700),a=n(452027),i=n(637141),s=n(87730),u=n(451636),o=n(883296);function d(e){let{label:t,giftCardsEnabled:n,giftCardCheckboxProps:d,paymentSourceDropdownProps:c,currencySelectProps:m,showCheckboxAboveDropdown:x=!1,disabled:f,customSelectorContent:p}=e,h=r.useMemo(()=>n&&null!=d&&(0,l.jsx)(s.o,{...d,className:x?o.r:o.K,disabled:d.disabled||f}),[n,d,x,f]),v=x&&n&&d?.checked===!0,j=null!=p,g=r.useMemo(()=>null!=p?p:(0,l.jsx)(i.Ay,{...c,disabled:f}),[p,f,c]);return(0,l.jsxs)(a.D,{label:t,children:[x&&h,!v&&g,!x&&h,!j&&!v&&void 0!==m&&(0,l.jsx)(u.q,{...m})]})}}