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