import{u as e,M as t}from"./2c1ab0fe.Dbn2KvkT.js";import{s as r,L as a,M as o,k as s,t as n}from"./164ad2e3.FTBuhkTQ.js";import{d as i}from"./4b4bc88f.z1yoAwwH.js";const c=n("MarketsProTermsModal"),m=n("MarketsProPrivacyModal");function p({textProps:n}){const{i18n:p,shop:{name:l},checkout:{negotiator:d}}=i(),_=r(void 0,c),y=r(void 0,m),h=d.current.fields.managedMarketsPaymentProcessor?.value,k="shopify_payments"===h?"https://content.global-e.com/shopper-terms-v2":"https://content.global-e.com/shopper-terms",v={markets_pro_terms:e(t,{children:[e(a,{textDecoration:"none",commandFor:_,children:p.translate("payment.markets_pro_disclaimer_terms_and_conditions")}),e(o,{id:_,source:k,heading:p.translate("payment.markets_pro_disclaimer_terms_and_conditions_title")})]}),privacy_policy:e(t,{children:[e(a,{textDecoration:"none",commandFor:y,children:p.translate("payment.markets_pro_disclaimer_privacy_policy")}),e(o,{id:y,source:"https://content.global-e.com/privacy-policy",heading:p.translate("payment.markets_pro_disclaimer_privacy_policy_title")})]}),shop_name:l};return e(s,{...n,children:p.translate("payment.markets_pro_disclaimer_label",v)})}export{p as M};