1import{c as e,T as t,U as a,X as r,O as n,Y as o}from"./4b4bc88f.JFrEI7LU.js";import{w as u,R as s,k as i,V as l,W as d}from"./164ad2e3.-hfWY9cN.js";function p(){const e=u();if(e)return{...e.shopAppLinksAndResources}}function c(){const{checkout:u,embed:c,mobileCheckoutSdk:f,router:y,shop:m,shopPay:h}=e(),v=u.negotiator.current.fields.buyerIdentity.value?.purchasingCompany,g=u.negotiator.current.fields.buyerIdentity.value?.customerProfile,P=s().value,b=u.configuration.layout.isOnePage.value,S=p(),I=u.negotiator.parts.paymentLines.value,{value:k}=u.negotiator.current.fields.paymentLines,{value:L}=u.negotiator.current.fields.paymentMethods,{currentDetour:O}=i().value,A=l(),Y=!m.hasFlagEnabled(t),T=d(),_=Boolean(a(u.negotiator.current.fields.paymentMethods.value).length),E=u.proposal.negotiated.fields.mustSelectProvidedAddress.value,M=y.currentUrl.value,N=r(M.searchParams),C=L?.some(e=>"wallet"===e.type&&"SHOP_PAY"===e.name),F=null!=n(I,"SHOPIFY_INSTALLMENTS");if(u.negotiator.parts.phone.value)return!1;if(!1===A?.shopPayOptInEnabled)return!1;if(v)return!1;if(!T.value)return!1;if("CustomerProfile"===g?.__typename&&P){if(!b)return!1;if(!_)return!1}return!(h.userIdentified.value||"shopPay"===u.identity.current.value||o(u.identity.current.value)||N||E||Boolean(c)||f.enabled||Y&&S?.shopPayOrder||!C&&"thankYou"!==O?.type||("thankYou"===O?.type?!k||n(k.lines,"SHOPIFY_INSTALLMENTS"):F))}export{p as a,c 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.