1!function(){function e(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),l.push.apply(l,n)}return l}function i(i){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?e(Object(t),!0).forEach((function(e){l(i,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):e(Object(t)).forEach((function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(t,e))}))}return i}function l(e,i,l){return(i=function(e){var i=function(e){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var l=i.call(e,"string");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof i?i:i+""}(i))in e?Object.defineProperty(e,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[i]=l,e}System.register(["./esnext-vendor-legacy.q2Oy34BX.js","./hydrate-legacy.jop_EQoT.js","./Choice-legacy.BFP3a3_w.js","./BillingAddressForm-legacy.DruUsjfT.js","./addresses-is-address-empty-legacy.TVJr8s2s.js"],(function(e,l){"use strict";var n,t,r,a,s,o,d,c,u,p,b,v,y,g,f,m,h,_,O,j,C,P,w,A,k;return{setters:[e=>{n=e.u,t=e.T,r=e.q,a=e.h,s=e.i},e=>{o=e.k,d=e.l,c=e.aE,u=e.aF,p=e.aG,b=e.aH,v=e.aI,y=e.n,g=e.P,f=e.$},e=>{m=e.C,h=e.a},e=>{_=e.B},e=>{O=e.N,j=e.$,C=e.b0,P=e.O,w=e.b1,A=e.b2,k=e.b3}],execute:function(){function l(){const{i18n:e,checkout:l}=O(),t=l.addressManager.billing.value.suggestedAddress.value,r=t.address,a=t.type,s="billing-fact"===a?e.translate("payment.use_order_billing_address_label"):"billing"===a?e.translate("payment.use_location_billing_address_label"):"shipping"===a?e.translate("payment.use_location_shipping_address_label"):void 0;return r&&a&&s?n(m,{value:a,children:n(o,{children:[n(d,{type:"strong",children:s}),n(d,{color:"subdued",children:n(c,i(i({},{hiddenFields:["phone","company","firstName","lastName"],multiline:!1}),{},{address:r}))})]})}):null}e("B",(function({renderFormOnly:e=!1}={}){var i,c;const{i18n:S,source:B,checkout:D}=O(),E=j(),F=E.deliveryNext.value,L=C(F),x=u(),{billingAddress:I,shippingAddress:T,billingAddressOption:$}=P(),q=T.value,z=D.proposal.facts.billingAddress,G=D.configuration.layout.isOnePage.value,H=p(),M=b(),R=null===(i=E.buyerIdentity.value)||void 0===i?void 0:i.purchasingCompany,U=null===(c=E.buyerIdentity.value)||void 0===c?void 0:c.customerProfile,X=U&&!w(U)&&0===U.billingAddresses.length&&0===U.shippingAddresses.length,J=(!U||X)&&q.oneTimeUse,K=t((()=>({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:I.fields.countryCode.peek()})),[I.fields.countryCode]),Q=t((()=>T.fields.countryCode.peek()),[T.fields.countryCode]),V=r((([e])=>{e&&($.value=e,A(B)?"custom"===e?I.value=K:"shipping"===e?I.value=H.value:"billing-fact"===e&&z&&(I.value=z):"custom"===e&&R?I.value=k({countryCode:Q}):"custom"===e?I.fields.countryCode.value=Q:"shipping"===e&&(I.value=H.value,M()))}),[$,B,R,z,I,K,H,Q,M]),W=S.translate("payment.billing_address_title");v(),a((()=>{A(B)&&"form"===x.value?I.value=K:"shipping"===$.value?I.value=H.value:"billing-fact"===$.value&&z&&(I.value=z)}),[]);const Y=$.value,Z=t((()=>[Y]),[Y]);return n(f,{accessibilityRole:"group",accessibilityLabelledBy:G?void 0:"billingAddress",accessibilityLabel:G?W:void 0,children:n(o,{gap:"base",children:[G?null:n(o,{gap:"small-400",children:[n(y,{id:"billingAddress",children:W}),J?null:n(g,{color:"subdued",children:L?S.translate("payment.billing_address_description_no_shipping_address"):S.translate("payment.billing_address_description")})]}),n(s,{when:()=>!e&&"form"!==x.value,fallback:n(_,{}),children:n(h,{name:N,values:Z,onChange:V,variant:"block",children:[R?n(l,{}):n(m,{value:"shipping",accessibilityLabel:S.translate("payment.same_billing_address_label"),children:n(d,{type:"strong",children:S.translate("payment.same_billing_address_label")})}),n(m,{value:"custom",selectedContent:n(_,{}),accessibilityLabel:S.translate("payment.different_billing_address_label"),children:n(d,{type:"strong",children:S.translate("payment.different_billing_address_label")})})]})})]})})}));const N="billing_address_selector"}}}))}();
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.