PageSourceSearch

https://shop.rvappstudios.com/cdn/shopifycloud/checkout-web/assets…yment-usePaymentExemptionReason.Q4GfCwuW.js

js rvappstudios.com collected 2026-09-24 09:35:30 UTC 1,194 bytes, 1 lines download raw bytes

1import{L as m,M as C,N as f,O as p,P as u,Q as P,S as c,T as R,U as S,W as v,X as h,Y as D,Z as E,_ as T,$ as O}from"./addresses-is-address-empty.-MuOhIyI.js";import{f as d}from"./esnext-vendor.D7ldIee_.js";import{c as l,d as A,e as I}from"./hydrate.ByRIsqvd.js";const y=m("ShopCashContext"),q=y.Provider,B=()=>C(y),F=()=>{const{shopPay:e}=f(),t=l(),s=A(),n=p().paymentLines;return d(()=>{const r=n.value,a=e.user.paymentMethods.value,i=e.session.selectedPaymentMethod.value;if(!t.value)return;const o=u(r);return o&&o!=="CREDIT_CARD"?o:s.value?.payment?u(r)==="CREDIT_CARD"?"CREDIT_CARD":L(i,a):u(r)})},L=(e,t)=>{if(!(!e&&!t.length))return e&&P(e)||c(t)?"APPLE_PAY":e&&R(e)||S(t)?"IDEAL":e&&v(e)||h(t)?"CUSTOM_ONSITE":"CREDIT_CARD"},_=new Set(["giftCard","freeOrder","storeCredit","redeemables"]);function U(e){return e!==null&&_.has(e)}function g(){const e=l(),t=D(),s=E("STORE_CREDIT"),n=T(["CUSTOM","STORE_CREDIT"]),r=I(),a=O().deferredTotal;return d(()=>{if(e.value){if(t.value)return"giftCard";if(s.value)return"storeCredit";if(n.value)return"redeemables"}else return"freeOrder";return r.value&&!a.value?.amount.amount?"deferred":null})}export{q as S,g as a,B as b,y as c,U as i,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.