PageSourceSearch

https://www.privateprize.com/cdn/shopifycloud/checkout-web/assets/…ated-findSelectedDeliveryMethod.DuEyfwut.js

js privateprize.com collected 2026-09-26 09:23:26 UTC 1,392 bytes, 1 lines download raw bytes

1import{f as a,q as o}from"./esnext-vendor.B9Da21W6.js";import{T as i,fH as u,a6 as m,S as f,ae as l}from"./addresses-is-address-empty.Bn2lNY_L.js";import{fg as p,im as c}from"./hydrate.DZ4YTm7p.js";function d(e){return!(!e||e.type!=="customOnsite")}function A(e,n,t){return!!(d(e)||(t?.paymentMethod==="IDEAL"||t?.paymentMethod==="CUSTOM_ONSITE"&&"paymentBrands"in t&&t.paymentBrands?.some(r=>r.toLowerCase()==="ideal"))&&n?.some(y)||t?.paymentMethod==="CUSTOM_ONSITE"&&"paymentBrands"in t&&n?.some(r=>C(r,t.paymentBrands??[])))}function y(e){return e.type==="local"?e.name==="IDEAL":e.type!=="customOnsite"?!1:(e.paymentBrands?.map(t=>t.toLowerCase())??[]).includes("ideal")}function C(e,n){if(e.type!=="customOnsite")return!1;const t=n.map(s=>s.toLowerCase());if(t.length===0)return!1;const r=e.paymentBrands?.map(s=>s.toLowerCase())??[];return t.length===r.length&&t.every(s=>r.includes(s))}function L(){const e=i().paymentLines;return a(()=>{const[n]=u(e.value,[m.BuyWithPrime]);return n})}function O(){const e=f().checkout.latestReceipt.value?.id,{persistedAmazonSignal:n}=l(),t=o(()=>{p(n,{receiptIdForAupError:e,receiptIdForPaymentDecline:e})},[n,e]);return c({shouldResetCustomerInfo:!0,onClick:t})}function I(e){for(const n of e)if(n.status!=="not_required"){for(const t of n.methods)if(t.handle===n.selectedDeliveryMethodHandle)return t}}export{L as a,I as f,d as i,A as s,O 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.