PageSourceSearch

https://fr.novalis.ca/cdn/shopifycloud/checkout-web/assets/c1/graphql-PaymentSessionMutation.KqKA7ogg.js

js novalis.ca collected 2026-09-24 18:55:16 UTC 3,426 bytes, 1 lines download raw bytes

1import{eT as d}from"./addresses-is-address-empty.ZJ1ThpFy.js";const i=["5398945","5806535","5806485","5806583","5825541","11063525377","22909485057"],u=["45694222337","50064130049","50997919745","82930335745","50996150273","50997592065"],_=["71881981953","83640877057"],h=["51137445889","76562890753"],l="19052033",p="116568653825",I=[l,p],m=I,f=[...i,...u,..._,...h,...m],A=new Set(["OFFSITE","MANUAL_PAYMENT","CUSTOM_MANUAL_PAYMENT","PAYMENT_ON_DELIVERY"]);function C({consentManager:e,shop:t},{shopAccountUuid:s,userPrivacySettings:n}){n&&t.hasFlagEnabled(d)&&e.setPrefetchedConsent(n,s)}function O(e,t,s){const n=window.webkit?.messageHandlers?.CheckoutSheetProtocolConsumer,c=window.CheckoutSheetProtocolConsumer,a=[n,c,s];for(const r of a)if(r&&typeof r?.postMessage=="function")try{const o={name:t.handlerId,body:JSON.stringify(t.body)};return e.log("checkout_sheet_protocol_client_message_posted","Posting message to checkout sheet protocol consumer.",{handlerId:t.handlerId}),r.postMessage(JSON.stringify(o)),e.counter({name:"checkout_sheet_protocol_event_emitted",value:1,exportImmediately:!0,attributes:{event:String(t.handlerId),status:"success"}}),!0}catch(o){return e.log("checkout_sheet_protocol_client_message_posting_failed","Error posting message to checkout sheet protocol consumer",{handlerId:t.handlerId,error:o instanceof Error?o.message:String(o)}),e.counter({name:"checkout_sheet_protocol_event_emitted",value:1,exportImmediately:!0,attributes:{event:String(t.handlerId),status:"failed"}}),console.info("Error received when posting message to checkout sheet protocol consumer",t,o),!1}return e.log("checkout_sheet_protocol_client_no_consumer_found","No checkout sheet protocol consumer found",{handlerId:t.handlerId}),e.counter({name:"checkout_sheet_protocol_event_emitted",value:1,exportImmediately:!0,attributes:{event:String(t.handlerId),status:"no_consumer"}}),!1}function k(){const e=window.opener||(window.parent===window?void 0:window.parent);return e?{postMessage(t){e.postMessage({_ecp:"2025-10",data:t},"*")}}:void 0}class N extends Error{constructor(){super(...arguments),this.name="PaymentMethodDoNotMatchError"}}var S=(e=>(e.ShopPayProgressIntercept="ShopPay::Exception::ShopPayProgressIntercept",e))(S||{}),P=(e=>(e.Online="online",e.RetailPos="retail_pos",e))(P||{}),g=(e=>(e.Dismissed="dismissed",e.Pending="pending",e.Verified="verified",e))(g||{});const D={id:"4e99c51c5187daa6375cfd7696d3f3580e3ab58fd003c6f48fc55555907904f6",type:"mutation",name:"PaymentSession",source:"mutation PaymentSession($addressId:ID,$creditCardId:ID!,$checkoutSessionIdentifier:String!,$shopifyDomain:String!,$installmentsAgreements:InstallmentsAgreementsInput,$unvaultedShippingAddress:AddressInput,$checkoutClientSource:CheckoutClientSourceEnum,$batchCheckouts:[BatchCheckoutsInput!],$batchOnly:Boolean,$publicCvvSessionId:String){paymentSessionGenerate(addressId:$addressId creditCardId:$creditCardId checkoutIdentifier:$checkoutSessionIdentifier shopifyDomain:$shopifyDomain installmentsAgreements:$installmentsAgreements unvaultedShippingAddress:$unvaultedShippingAddress checkoutClientSource:$checkoutClientSource batchCheckouts:$batchCheckouts batchOnly:$batchOnly publicCvvSessionId:$publicCvvSessionId){userErrors{message field __typename}sessionId batchCheckoutSessionIds{sessionId shopId __typename}__typename}}"};export{f as A,P as C,N as P,A as R,S,g as a,I as b,k as g,O as p,C as r,D as s};

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.