PageSourceSearch

https://northdrinkware.com/cdn/shopifycloud/checkout-web/assets/c1/checkout-as-guest-amazon-pay.DVQDcxt_.js

js northdrinkware.com collected 2026-09-29 05:54:50 UTC 1,569 bytes, 1 lines download raw bytes

1import{q as u}from"./esnext-vendor.DDpcaSqU.js";import{fD as A,ae as L,a7 as P,mF as v,T as C,mG as y}from"./utilities-previous.Cnwy8G2v.js";import{f as h,it as U,fJ as k}from"./hydrate.BcfGVx0L.js";function R(e){return e?.assets?.main?.url!=null}function l(e,a){const t=new WebSocket(e),o=({data:r})=>{try{const{event:s,data:n}=JSON.parse(r);if(s!=="update")return;a(n)}catch(s){console.log(`error parsing update message from ${e} : ${s}`)}};return t.addEventListener("message",o),()=>{t.removeEventListener("message",o),t.close()}}function W(e,a){const t=new Map,o=new Map;return e.extensions.forEach(({uuid:r,assets:{main:{lastUpdated:s}},localization:n})=>{t.set(r,s),n&&o.set(r,n.lastUpdated)}),l(e.socket.url,({extensions:r})=>{r.forEach(({uuid:s,assets:{main:{lastUpdated:n}},localization:i})=>{const d=t.get(s),m=o.get(s),f=n&&d!==n,p=i?.lastUpdated&&m!==i.lastUpdated;let c;f&&(t.set(s,n),c=()=>a(s)),p&&(o.set(s,i.lastUpdated),c=()=>a(s,i)),c&&c()})})}function x(e,a){const{uuid:t,socketUrl:o}=e,r=l(o,({extensions:s})=>{s.find(({uuid:i})=>i===t)&&(r(),a())})}function S(){const{clearForcedCheckoutLayout:e}=h(A),{inMemoryAmazonPayParts:{serializedAmazonParams:a,buyerDetails:t}}=L(),o=u(()=>{e({wallet:P.AmazonPay}),v(a),t.value={loading:!1,error:!1,details:void 0}},[e,a,t]);return U({shouldResetCustomerInfo:!0,skipRedirect:!0,shouldRemovePaymentLine:!0,onClick:o})}function z(){const{isOnePage:e}=C().checkout.configuration.layout,a=y(),t=k();return u(()=>{e.value?t({shouldResetCustomerInfo:!0}):a()},[e,a,t])}export{z as a,x as b,R as i,W as s,S 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.