oont-contents/plugins/woocommerce/assets/client/blocks/checkout-blocks/contact-information-style.js
2025-02-08 15:10:23 +01:00

1 line
No EOL
1.1 KiB
JavaScript

"use strict";(self.webpackChunkwebpackWcBlocksStylingJsonp=self.webpackChunkwebpackWcBlocksStylingJsonp||[]).push([[3398],{65534:(e,t,c)=>{c.r(t),c.d(t,{default:()=>w});var o=c(51609),n=c(70851),s=c(41616),l=c(14656),r=c(47143),i=c(47594),a=c(99292),u=c(87935),d=c(80745),m=c(27723),p=c(15703);const h=`${c(40812).aW}?redirect_to=${encodeURIComponent(window.location.href)}`,k=()=>{const e=(0,r.useSelect)((e=>e(i.CHECKOUT_STORE_KEY).getCustomerId()));return!(0,p.getSetting)("checkoutShowLoginReminder",!0)||e?null:(0,o.createElement)("a",{className:"wc-block-checkout__login-prompt",href:h},(0,m.__)("Log in","woocommerce"))},w=(0,s.withFilteredAttributes)(d.A)((({title:e,description:t,children:c,className:s})=>{const d=(0,r.useSelect)((e=>e(i.CHECKOUT_STORE_KEY).isProcessing())),{showFormStepNumbers:m}=(0,a.Oy)();return(0,o.createElement)(l.FormStep,{id:"contact-fields",disabled:d,className:(0,n.A)("wc-block-checkout__contact-fields",s),title:e,description:t,showStepNumber:m,stepHeadingContent:()=>(0,o.createElement)(k,null)},(0,o.createElement)(u.A,null),c)}))}}]);