PageSourceSearch

https://www.wybotpool.com/cdn/shopifycloud/checkout-web/assets/c1/…nent-PayPalExpressPaymentMethod.AFxZv95U.js

js wybotpool.com collected 2026-10-01 11:43:44 UTC 3,986 bytes, 1 lines download raw bytes

1import{k as M,u as t,S as R}from"./esnext-vendor.BDPAaZdq.js";import{b as _}from"./Choice.BIzIW4rp.js";import{x as I,y as W,z as B,A as D,C as z,c,P as d,W as y,E as P,F as N,o as O}from"./hydrate.B0xlt2dG.js";import{W as j}from"./localization-index.Bo8bPuxq.js";import{O as F,a5 as X,V as g}from"./hooks-useReplaceShopPayInHistory.C8UL-mAH.js";import{u as Y,D as G,R as q}from"./hooks-usePaypalRowEffects.CTzKbnMt.js";import{C as H}from"./components-PaymentMethodProgressionHost.BmXVNMRw.js";import"./Checkbox.CiixBh9Z.js";import"./app.D1P6yWfp.js";import"./helpers-getNormalizedPaymentMethodName.B-mE5wnL.js";import"./shared-permissions.BaDWlj5_.js";import"./hooks-useShopPayExternalAppContext.DyGXtar4.js";import"./helpers-credit-card-disabled.BnSr1GsQ.js";import"./components-RedirectionNotice.module.BGJWZ6-9.js";import"./components-useVaultedMsiInstallments.Br5peiWP.js";import"./amazon-pay-useAmazonPayPaymentLine.BXwZMsYY.js";import"./PaymentIcon.CQXs-ePm.js";import"./PaymentLine.BkPc0Zsc.js";import"./EmptyState.b83C9ddY.js";import"./hooks-useUpdateCheckoutAddress.xu8w67CI.js";import"./helpers-derivations.DLW2fhKL.js";import"./graphql-PaymentSessionMutation.BhOnX3QJ.js";import"./money-toShopPayMoneyInput.-nuohgDW.js";import"./redemption-promotions.CgqGtCd-.js";import"./shop-pay-normalizeBuyerDetails.ThnUnxcv.js";import"./checkout-updaters-helpers.BAeH3ddd.js";import"./helpers-setAddressErrors.BA8OjimY.js";import"./PayButton-helpers.Dg5kgVMm.js";import"./Section._KuAKpGQ.js";import"./ImpressionEventCapture.iMEQlBKs.js";import"./ChangeCompanyLocationLink.Ci5U9F_D.js";import"./BillingAddressForm.aTSlVDrG.js";import"./FormLayout.CMVyKzjL.js";import"./PhoneField.ykPh8SPx.js";import"./hooks-useSuppressShopPayModalOnLoad.brztd70E.js";
1import"./Popover.BUTwaoOa.js";import"./AddressPresenter.B0qw2vWQ.js";import"./hooks-useShopPayProgressIntercepts.Sxhi7oHx.js";import"./MissingFields.DB7ri4eR.js";import"./useAddressMutationsWithNegotiation.BfzEjUy6.js";import"./Rollup.iQVJ47hC.js";import"./utilities-publishMessage.BORnEDuA.js";import"./utilities-stable-ref.Dvd2X3ul.js";import"./hooks-useGeneralPaymentErrorMessage.Zl8_48Ok.js";function zt({method:e,showSelectedContent:r=!0,bare:a=!1}){const{i18n:o,checkout:f}=F(),n=I()||a,p=f.configuration.layout.isOnePage.value,h=W({isPayWithPayPalButton:!0}),{inMemoryPayPalParts:{accountStatus:l}}=X(),C=B(),x=D(),E=z(x),S=!p&&(h.value.status==="error"||l.value.status==="error"),[A,w]=M("");Y();const v=!p&&l.value.status==="connected"?t(m,{bare:a,children:t(c,{gap:"base",alignItems:n?"start":"center",children:t(d,{children:o.translate("wallets.logged_in",{email:l.value.email})})})}):null,s=C.value||A,V=S?t(m,{bare:a,children:t(c,{gap:"base",children:t(y,{errorType:P.PaymentError,tone:"critical",children:s})})}):null,i=E?o.translate("brand.venmo"):o.translate("brand.paypal"),k=e.type===g.PayPal?t(m,{bare:a,children:[s&&t(y,{errorType:P.PaymentError,tone:"critical",children:s}),t(N,{gridAutoFlow:"column",gridTemplateColumns:"minmax(0, 1fr) minmax(auto, max-content)",gridTemplateRows:"minmax(0, 1fr)",gap:"large-200",alignItems:"center",alignContent:"center",justifyContent:"start",justifyItems:"start",minInlineSize:"100%",minBlockSize:a?void 0:"60px",children:[t(d,{textAlign:n?"start":"center",children:o.translate("wallets.logged_in",{email:e.paypalAccountEmail})}),t(G,{paypalToken:e.token,setValidationMessage:w})]})]}):null,T=t(c,{alignItems:n?"start":"center",gap:"large-100",children:t(q,{alignment:n?"start":"center",children:o.translate("wallets.redirection_notice",{walletName:i,buttonLabel:o.translate("wallets.call_to_action",{walletName:i})})})}),u=k||v||V||T;if(a)return u;const L=r?u:void 0,b=e.type===g.PayPal?e.type:"PAYPAL_EXPRESS";return t(_,{value:b,selectedContent:L,secondaryContent:t(j,{wallet:"PAYPAL_EXPRESS",size:"xxsmall"}),accessibilityLabel:i,children:t(O,{type:"strong",children:i})})}function m({bare:e,children:r}){return e?t(R,{children:r}):t(H,{children:r})}export{zt as default};

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.