PageSourceSearch

https://www.selkirk.com/cdn/shopifycloud/checkout-web/assets/c1/31cc568e.CsDC1k63.js

js selkirk.com collected 2026-10-01 10:29:11 UTC 6,512 bytes, 1 lines download raw bytes

1import{X as e,x as s,u as t,Y as a,q as o,E as n,j as l}from"./2c1ab0fe.D_oO1jU7.js";import{b0 as c,n as r,P as i,aD as u,w as d,x as p,gl as h,bq as g,e5 as m,ju as y}from"./164ad2e3.DgUUtBtV.js";import{O as b,P as _,aQ as f,G as k,aR as v,q as P,k as C,x as w,y as A,z as I,Q as x,eL as E,ce as L,cB as M,mF as S}from"./4c290a1e.D9lE9kmU.js";import{i as U}from"./8599b02a.yKiXuwTF.js";const B=e(!1);function D(){return s(B)}function N({methodTitle:e,price:s,showInterpunct:a=!1,sellingPlan:o}){const n=t("bdi",{children:e});return t(R,s&&a&&o?{children:[n,c,s,t(r,{type:"strong",children:o})]}:a&&s?{children:[n,c,s]}:{children:n})}function R({children:e}){const s=a.toArray(e).flatMap(((e,s,t)=>s<t.length-1?[e," "]:e));return t(i,{children:t(r,{type:"strong",children:s})})}function T(){const{shopPay:e,checkout:s}=b(),{paymentMethods:t}=_(),a=s.installments.paymentMethodMustSupportInterestBearingLoans;return{creditCardDisabled:o((s=>U(s,t,e.session.isInstallmentsSelected,a)),[t,a,e.session.isInstallmentsSelected])}}B.displayName="CompactContext";const q={id:"fdc8128f690860079c498a10b90912e0f80562eb838162c450f12b65d69b0389",type:"query",name:"MsiCardEligibility",source:"query MsiCardEligibility($checkoutContextInput:CheckoutContextInput!){checkoutSession(checkoutContextInput:$checkoutContextInput){user{paymentMethods{...on CreditCard{id msiEligible __typename}__typename}__typename}__typename}}"},O=Object.freeze({}),V=f((({checkout:e,graphql:s,shop:t,shopPay:a,source:o})=>{const c=e.proposal.negotiated.fields,r=n((()=>c.buyerIdentity.value?.presentmentCurrency)),i=n((()=>P(c.paymentMethods.value??[]))),u=n((()=>"shopPay"!==e.identity.current.value||!i.value||"MXN"!==r.value)),d=n((()=>a.user.paymentMethods.value.filter(C).map((e=>e.id)).sort().join(","))),p=s.shopPayGraphql.query(q,{variables:{checkoutContextInput:{checkoutVersion:v({source:o}),checkoutIdentifier:o.checkoutSessionIdentifier??"unknown",shopifyDomain:t.myshopifyDomain,shopId:k(t.id)}},skip:()=>u.value});let h=d.peek(),g=r.peek();return l((function(){const e=d.value,s=r.value,t=e!==h||s!==g;h=e,g=s,t&&!u.peek()&&p.refetch({deduplicate:!0})})),{eligibilityByCardId:n((()=>{if(u.value)return O;const e=p.data.value?.checkoutSession?.user?.paymentMethods;if(!e)return O;const s={};for(const t of e)"CreditCard"===t.__typename&&(s[t.id]=t.msiEligible??!1);return s})),error:p.error,loading:p.loading}}));function Y(e){if("wallet"!==e?.method.type)return!1;switch(e.method.name){case"APPLE_PAY":return I(e);case"GOOGLE_PAY":return A(e);case"PAYPAL_EXPRESS":return w(e);default:return!1}}function G(){const{value:e}=_().paymentMethods,{billingAddress:s,billingAddressOption:t}=x(),a=u(),{shopPay:o,checkout:{address:n}}=b(),l=E("shipping"===t.value?a.value:s.value,{extendedAddressMode:n.extendedAddressMode}),{eligibilityByCardId:c}=L(V),r=o.session.selectedPaymentMethod.value,i=M(e),d=!(null==r||!C(r))&&(c.value[r.paymentAttributes.id]??!1);return({sessionToken:s,creditCardInstallments:t,msiEligibleCard:a=d}={})=>{const n=o.session.hsaRequested.peek();return{method:{type:"wallet",name:"SHOP_PAY",walletContent:{paymentMethod:"CREDIT_CARD",sessionToken:s,billingAddress:l,paymentMethodIdentifier:S(e),...null!=t&&t>0&&{creditCardInstallments:t},...a&&{msiEligibleCard:a},...i&&{hsaRequested:n}}}}}}const j="/cdn/shopifycloud/checkout-web/assets/c1/assets/applepay-logo.BVeJpuwf.svg",z={walletLogo:"e5syv",xxxsmall:"_7NPtB",xxsmall:"XGA28",xsmall:"gKSKB",small:"DWmRr",medium:"RULId",large:"SMmkH",AmazonPayLogoVerticalAlignment:"EpCJ3",BuyWithPrimeLogoVerticalAlignment:"_705vE",ShopPayLogoVerticalAlignment:"Zxnlh"};function X({size:e="medium",wallet:s,invertColor:a=!1}){const o=d(),n=p(o);let l=h();a&&(l="light"===l?"dark":"light");const{i18n:c,observability:r}=b(),i={amazon_pay:{iconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/apay-logo.qbCmTpxR.svg",customClassName:"AmazonPayLogoVerticalAlignment",lightIconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/apay-logo-light.BOpRNbfJ.svg",altText:c.translate("brand.amazon_pay")},APPLE_PAY:{iconUrl:j,lightIconUrl:j,altText:c.translate("brand.apple_pay")},APPLE_PAY_BORDERLESS:{iconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/applepay-logo-borderless.BpIqGUgE.svg",lightIconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/applepay-logo-borderless-light.D4uI0NI6.svg",altText:c.translate("brand.apple_pay")},buy_with_prime:{iconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/bwp-logo.BRDn9X4f.svg",customClassName:"BuyWithPrimeLogoVerticalAlignment",lightIconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/bwp-logo-light.Be3NC6rq.svg",altText:c.translate("brand.buy_with_prime")},GOOGLE_PAY:{iconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/gpay-logo.BbJVlra3.svg",lightIconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/gpay-logo-light.B_DsI0cq.svg",altText:c.translate("brand.google_pay")},PAYPAL_EXPRESS:{iconUrl:n?"/cdn/shopifycloud/checkout-web/assets/c1/assets/venmo-logo.DabXQIZQ.svg":"/cdn/shopifycloud/checkout-web/assets/c1/assets/paypal-logo.Q2f7XzPy.svg",lightIconUrl:n?"/cdn/shopifycloud/checkout-web/assets/c1/assets/venmo-logo-light.Nme_SAlP.svg":"/cdn/shopifycloud/checkout-web/assets/c1/assets/paypal-logo-light.Do6ddnMD.svg",altText:n?c.translate("brand.venmo"):c.translate("brand.paypal")},SHOP_PAY:{iconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/shop-pay-logo.yJ-5VMKh.svg",customClassName:"ShopPayLogoVerticalAlignment",lightIconUrl:"/cdn/shopifycloud/checkout-web/assets/c1/assets/shop-pay-logo-light.Ts-yoc2V.svg",altText:c.translate("brand.shop_pay")}};if(!(s in i))return r.log("wallet_logo_unsupported_wallet_encountered","Unsupported wallet type in WalletLogo",{wallet:s,severity:"warning"}),null;const u=i[s],g="light"===l?u.lightIconUrl:u.iconUrl,m=[z.walletLogo,z[e],u.customClassName&&z[u.customClassName]].filter(
1Boolean).join(" ");return t("img",{src:g,className:m,alt:u.altText})}function W(){const{i18n:e}=b(),{isWebLayout:s}=g();return({offerGuestCheckout:a=!1}={})=>a&&s?{message:e.translate("payment_errors.processing_error_checkout_as_guest",{checkout_as_guest_link:e.translate("account_management.checkout_as_guest_link")}),messageNode:e.translate("payment_errors.processing_error_checkout_as_guest",{checkout_as_guest_link:t(y,{})}),target:m}:{message:e.translate("payment_errors.processing_error"),target:m}}const J=e=>""===e?"":`${e.charAt(0).toLocaleUpperCase()+e.substring(1)}`;export{B as C,N as S,X as W,T as a,W as b,J as c,G as d,V as e,Y as i,D 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.