PageSourceSearch

https://mccluretables.com/cdn/shopifycloud/checkout-web/assets/c1/b9c0319a.CIGlacbX.js

js mccluretables.com collected 2026-10-02 19:54:55 UTC 3,146 bytes, 1 lines download raw bytes

1import{u as e,T as a,s,m as l,w as i}from"./2c1ab0fe.GMbxnz74.js";import{b as n,a as d}from"./efa0389a.ZcaEqvMP.js";import{c as r,o as t,aH as o,aI as c,aJ as u,aK as p,H as b,P as g,a3 as m}from"./164ad2e3.B4L1MRYB.js";import{B as v}from"./74835653.DeaMa2xw.js";import{S as y,T as _,b4 as h,W as f,b5 as C,b6 as A,b7 as j}from"./4c290a1e.DMQ9xOwP.js";import{A as k}from"./53bbdad9.oGVvLPt2.js";function N(){const{i18n:a,checkout:s}=y(),l=s.addressManager.billing.value.suggestedAddress.value,i=l.address,d=l.type,o="billing-fact"===d?a.translate("payment.use_order_billing_address_label"):"billing"===d?a.translate("payment.use_location_billing_address_label"):"shipping"===d?a.translate("payment.use_location_shipping_address_label"):void 0;return i&&d&&o?e(n,{value:d,children:e(r,{children:[e(t,{type:"strong",children:o}),e(t,{color:"subdued",children:e(k,{hiddenFields:["phone","company","firstName","lastName"],multiline:!1,address:i})})]})}):null}function L({renderFormOnly:k=!1}={}){const{i18n:L,source:B,checkout:F}=y(),I=_(),O=I.deliveryNext.value,P=h(O),w=o(),{billingAddress:x,shippingAddress:H,billingAddressOption:T}=f(),z=H.value,J=F.proposal.facts.billingAddress,K=F.configuration.layout.isOnePage.value,M=c(),R=u(),S=I.buyerIdentity.value?.purchasingCompany,U=I.buyerIdentity.value?.customerProfile,W=U&&!C(U)&&0===U.billingAddresses.length&&0===U.shippingAddresses.length,q=(!U||W)&&z.oneTimeUse,D=a(()=>({firstName:void 0,lastName:void 0,address1:void 0,address2:void 0,company:void 0,city:void 0,postalCode:void 0,phone:void 0,zoneCode:void 0,name:void 0,countryCode:x.fields.countryCode.peek()}),[x.fields.countryCode]),E=a(()=>H.fields.countryCode.peek(),[H.fields.countryCode]),G=s(([e])=>{e&&(T.value=e,A(B)?"custom"===e?x.value=D:"shipping"===e?x.value=M.value:"billing-fact"===e&&J&&(x.value=J):"custom"===e&&S?x.value=j({countryCode:E}):"custom"===e?x.fields.countryCode.value=E:"shipping"===e&&(x.value=M.value,R()))},[T,B,S,J,x,D,M,E,R]),Q=L.translate("payment.billing_address_title");p(),l(()=>{A(B)&&"form"===w.value?x.value=D:"shipping"===T.value?x.value=M.value:"billing-fact"===T.value&&J&&(x.value=J)},[]);const V=T.value,X=a(()=>[V],[V]);return e(m,{accessibilityRole:"group",accessibilityLabelledBy:K?void 0:"billingAddress",accessibilityLabel:K?Q:void 0,children:e(r,{gap:"base",children:[K?null:e(r,{gap:"small-400",children:[e(b,{id:"billingAddress",children:Q}),q?null:e(g,{color:"subdued",children:P?L.translate("payment.billing_address_description_no_shipping_address"):L.translate("payment.billing_address_description")})]}),e(i,{when:()=>!k&&"form"!==w.value,fallback:e(v,{}),children:e(d,{name:"billing_address_selector",values:X,onChange:G,variant:"block",children:[S?e(N,{}):e(n,{value:"shipping",accessibilityLabel:L.translate("payment.same_billing_address_label"),children:e(t,{type:"strong",children:L.translate("payment.same_billing_address_label")})}),e(n,{value:"custom",selectedContent:e(v,{}),accessibilityLabel:L.translate("payment.different_billing_address_label"),children:e(t,{type:"strong",children:L.translate("payment.different_billing_address_label")})})]})})]})})}export{L as B};

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.