PageSourceSearch

https://tacvent.com/cdn/shopifycloud/checkout-web/assets/c1/a25deb9a.CP3Riy_C.js

js tacvent.com collected 2026-10-07 17:14:55 UTC 1,519 bytes, 1 lines download raw bytes

1import{k as e,q as t}from"./2c1ab0fe.DlNazk3M.js";import{c as n,N as r,W as o,a6 as a,ey as s,gv as c,kc as u,ew as i,ez as l}from"./4b4bc88f.DJ4vpQqJ.js";import{fl as d,hO as f}from"./164ad2e3.CR6m0m--.js";function h(){const{checkout:{negotiator:t}}=n(),a=t.parts.paymentLines;return e(()=>{const[e]=r(a.value,[o.BuyWithPrime]);return e})}function p(){const e=n().checkout.latestReceipt.value?.id,{persistedAmazonSignal:r}=a(),o=t(()=>{d(r,{receiptIdForAupError:e,receiptIdForPaymentDecline:e})},[r,e]);return f({shouldResetCustomerInfo:!0,onClick:o})}function m(e){for(const t of e)if("not_required"!==t.status)for(const e of t.methods)if(e.handle===t.selectedDeliveryMethodHandle)return e}const y=u.Control,g="shop_pay_new_signup_login_variant",v=["draftOrder","simulated"];const P=[u.UnauthenticatedCheckout];function k(){const e=n();return function({shop:e,checkout:t,source:n,router:r,client:o},{url:a=r.currentUrl.value}={}){const d="shopPay"===t.identity.current.value,f=a.searchParams.get(s),h=e.hasFlagEnabled(c),p=null!=t.proposal.negotiated.fields.buyerIdentity.value?.customerProfile,m=f!==l.ShopPayAsPaymentMethod&&f!==l.ShopPayInstallmentsAsPaymentMethod;if(!d||!m||v.includes(n.type)||p&&!h)return y;return function({client:e},t){const n=Object.values(u),r=t.searchParams.get(g),o=n.find(e=>e===r);if(o)return o;const a=e.cookies.get(g);return n.find(e=>e===a)}({client:o},a)||(i(a.search)?y:h?u.UnauthenticatedCheckout:y)}(e,{url:e.router.currentUrl.value})}export{P as U,p as a,h as b,m as f,k 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.