HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/contact-information-frontend.js.tar
woocommerce/packages/woocommerce-blocks/build/checkout-blocks/contact-information-frontend.js000064400000013521151550626160042623 0ustar00var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[38],{296:function(e,t,c){"use strict";var s=c(0),n=c(4),i=c.n(n);c(297),t.a=({children:e,className:t,headingLevel:c,...n})=>{const l=i()("wc-block-components-title",t),o=`h${c}`;return Object(s.createElement)(o,{className:l,...n},e)}},297:function(e,t){},298:function(e,t){},299:function(e,t,c){"use strict";var s=c(1);t.a=({defaultTitle:e=Object(s.__)("Step","woocommerce"),defaultDescription:t=Object(s.__)("Step description text.","woocommerce"),defaultShowStepNumber:c=!0})=>({title:{type:"string",default:e},description:{type:"string",default:t},showStepNumber:{type:"boolean",default:c}})},303:function(e,t,c){"use strict";c.d(t,"a",(function(){return i}));var s=c(5),n=c(3);const i=()=>{const{customerData:e,isInitialized:t}=Object(s.useSelect)((e=>{const t=e(n.CART_STORE_KEY);return{customerData:t.getCustomerData(),isInitialized:t.hasFinishedResolution("getCartData")}})),{setShippingAddress:c,setBillingAddress:i}=Object(s.useDispatch)(n.CART_STORE_KEY);return{isInitialized:t,billingAddress:e.billingAddress,shippingAddress:e.shippingAddress,setBillingAddress:i,setShippingAddress:c}}},320:function(e,t,c){"use strict";var s=c(0),n=c(4),i=c.n(n),l=c(296);c(298);const o=({title:e,stepHeadingContent:t})=>Object(s.createElement)("div",{className:"wc-block-components-checkout-step__heading"},Object(s.createElement)(l.a,{"aria-hidden":"true",className:"wc-block-components-checkout-step__title",headingLevel:"2"},e),!!t&&Object(s.createElement)("span",{className:"wc-block-components-checkout-step__heading-content"},t));t.a=({id:e,className:t,title:c,legend:n,description:l,children:a,disabled:r=!1,showStepNumber:d=!0,stepHeadingContent:u=(()=>{})})=>{const p=n||c?"fieldset":"div";return Object(s.createElement)(p,{className:i()(t,"wc-block-components-checkout-step",{"wc-block-components-checkout-step--with-step-number":d,"wc-block-components-checkout-step--disabled":r}),id:e,disabled:r},!(!n&&!c)&&Object(s.createElement)("legend",{className:"screen-reader-text"},n||c),!!c&&Object(s.createElement)(o,{title:c,stepHeadingContent:u()}),Object(s.createElement)("div",{className:"wc-block-components-checkout-step__container"},!!l&&Object(s.createElement)("p",{className:"wc-block-components-checkout-step__description"},l),Object(s.createElement)("div",{className:"wc-block-components-checkout-step__content"},a)))}},390:function(e,t,c){"use strict";c.d(t,"a",(function(){return r}));var s=c(2),n=c(0),i=c(5),l=c(3),o=c(303),a=c(94);const r=()=>{const{needsShipping:e}=Object(a.a)(),{useShippingAsBilling:t,prefersCollection:c}=Object(i.useSelect)((e=>({useShippingAsBilling:e(l.CHECKOUT_STORE_KEY).getUseShippingAsBilling(),prefersCollection:e(l.CHECKOUT_STORE_KEY).prefersCollection()}))),{__internalSetUseShippingAsBilling:r}=Object(i.useDispatch)(l.CHECKOUT_STORE_KEY),{billingAddress:d,setBillingAddress:u,shippingAddress:p,setShippingAddress:b}=Object(o.a)(),g=Object(n.useCallback)((e=>{u({email:e})}),[u]),m=Object(n.useCallback)((e=>{u({phone:e})}),[u]),h=Object(n.useCallback)((e=>{b({phone:e})}),[b]),O=Object(s.getSetting)("forcedBillingAddress",!1);return{shippingAddress:p,billingAddress:d,setShippingAddress:b,setBillingAddress:u,setEmail:g,setBillingPhone:m,setShippingPhone:h,defaultAddressFields:s.defaultAddressFields,useShippingAsBilling:t,setUseShippingAsBilling:r,needsShipping:e,showShippingFields:!O&&e&&!c,showShippingMethods:e&&!c,showBillingFields:!e||!t||c,forcedBillingAddress:O,useBillingAsShipping:O||c}}},510:function(e,t,c){"use strict";c.r(t);var s=c(0),n=c(4),i=c.n(n),l=c(144),o=c(320),a=c(5),r=c(3),d=c(1),u=c(390),p=c(73),b=c(36),g=c(2),m=c(11),h=c(14),O=()=>{const{customerId:e,shouldCreateAccount:t}=Object(a.useSelect)((e=>{const t=e(r.CHECKOUT_STORE_KEY);return{customerId:t.getCustomerId(),shouldCreateAccount:t.getShouldCreateAccount()}})),{__internalSetShouldCreateAccount:c}=Object(a.useDispatch)(r.CHECKOUT_STORE_KEY),{billingAddress:n,setEmail:i}=Object(u.a)(),{dispatchCheckoutEvent:l}=Object(p.a)(),o=!e&&Object(g.getSetting)("checkoutAllowsGuest",!1)&&Object(g.getSetting)("checkoutAllowsSignup",!1)&&Object(s.createElement)(m.CheckboxControl,{className:"wc-block-checkout__create-account",label:Object(d.__)("Create an account?","woocommerce"),checked:t,onChange:e=>c(e)});return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(m.StoreNoticesContainer,{context:b.d.CONTACT_INFORMATION}),Object(s.createElement)(m.ValidatedTextInput,{id:"email",type:"email",autoComplete:"email",errorId:"billing_email",label:Object(d.__)("Email address","woocommerce"),value:n.email,required:!0,onChange:e=>{i(e),l("set-email-address")},customValidation:e=>!!Object(h.isEmail)(e.value)||(e.setCustomValidity(Object(d.__)("Please enter a valid email address","woocommerce")),!1)}),o)},_=c(299),j={...Object(_.a)({defaultTitle:Object(d.__)("Contact information","woocommerce"),defaultDescription:Object(d.__)("We'll use this email to send you details and updates about your order.","woocommerce")}),className:{type:"string",default:""},lock:{type:"object",default:{remove:!0,move:!0}}};const E=`${c(29).g}?redirect_to=${encodeURIComponent(window.location.href)}`;var S=()=>{const e=Object(a.useSelect)((e=>e(r.CHECKOUT_STORE_KEY).getCustomerId()));return!Object(g.getSetting)("checkoutShowLoginReminder",!0)||e?null:Object(s.createElement)(s.Fragment,null,Object(d.__)("Already have an account? ","woocommerce"),Object(s.createElement)("a",{href:E},Object(d.__)("Log in.","woocommerce")))};t.default=Object(l.withFilteredAttributes)(j)((({title:e,description:t,showStepNumber:c,children:n,className:l})=>{const d=Object(a.useSelect)((e=>e(r.CHECKOUT_STORE_KEY).isProcessing()));return Object(s.createElement)(o.a,{id:"contact-fields",disabled:d,className:i()("wc-block-checkout__contact-fields",l),title:e,description:t,showStepNumber:c,stepHeadingContent:()=>Object(s.createElement)(S,null)},Object(s.createElement)(O,null),n)}))}}]);