PageSourceSearch

https://boutique.om.fr/cdn/shopifycloud/checkout-web/assets/c1/hoo…ShopPayNewSignupLoginExperiment.CXtCCSeF.js

js om.fr collected 2026-09-24 19:13:44 UTC 2,023 bytes, 1 lines download raw bytes

1import{u as o,S as u}from"./esnext-vendor.BBoIVOQW.js";import{C as _,L as y,bi as h,l as f,F as v}from"./hydrate.Tsur0pib.js";import{T as E,a5 as k,eW as C,gZ as O,ko as d,eU as M,eX as g}from"./addresses-is-address-empty.ZJ1ThpFy.js";const T=v("MarketsProTermsModal"),b=v("MarketsProPrivacyModal");function F({textProps:t}){const{i18n:e,shop:{name:n}}=E(),i=k(),r=_(void 0,T),a=_(void 0,b),c=i.managedMarketsPaymentProcessor?.value==="shopify_payments"?"https://content.global-e.com/shopper-terms-v2":"https://content.global-e.com/shopper-terms",l={markets_pro_terms:o(u,{children:[o(y,{textDecoration:"none",commandFor:r,children:e.translate("payment.markets_pro_disclaimer_terms_and_conditions")}),o(h,{id:r,source:c,heading:e.translate("payment.markets_pro_disclaimer_terms_and_conditions_title")})]}),privacy_policy:o(u,{children:[o(y,{textDecoration:"none",commandFor:a,children:e.translate("payment.markets_pro_disclaimer_privacy_policy")}),o(h,{id:a,source:"https://content.global-e.com/privacy-policy",heading:e.translate("payment.markets_pro_disclaimer_privacy_policy_title")})]}),shop_name:n};return o(f,{...t,children:e.translate("payment.markets_pro_disclaimer_label",l)})}const p=d.Control,P="shop_pay_new_signup_login_variant",N=["draftOrder","simulated"];function U({shop:t,checkout:e,source:n,router:i,client:r},{url:a=i.currentUrl.value}={}){const s=e.identity.current.value==="shopPay",c=a.searchParams.get(C),l=t.hasFlagEnabled(O),S=e.proposal.negotiated.fields.buyerIdentity.value?.customerProfile!=null,I=c!==g.ShopPayAsPaymentMethod&&c!==g.ShopPayInstallmentsAsPaymentMethod;if(!(s&&I&&!N.includes(n.type)&&(!S||l)))return p;const m=R({client:r},a);return m||(M(a.search)?p:l?d.UnauthenticatedCheckout:p)}function R({client:t},e){const n=Object.values(d),i=e.searchParams.get(P),r=n.find(s=>s===i);if(r)return r;const a=t.cookies.get(P);return n.find(s=>s===a)}const D=[d.UnauthenticatedCheckout];function w(){const t=E(),e=t.router.currentUrl.value;return U(t,{url:e})}export{F as M,D as U,w as u};

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.