PageSourceSearch

https://soutenir.judaismeenmouvement.org/build/7232.adfec4c1.js

js judaismeenmouvement.org collected 2026-10-02 11:00:31 UTC 3,378 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7232],{7232:function(e,t,r){r.d(t,{default:function(){return m}});var n=r(1132),i="https://js.stripe.com/v3",a=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,s="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",o=null,l=function(e){return null!==o||(o=new Promise(function(t,r){if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&e&&console.warn(s),window.Stripe)t(window.Stripe);else try{var n=function(){for(var e=document.querySelectorAll('script[src^="'.concat(i,'"]')),t=0;t<e.length;t++){var r=e[t];if(a.test(r.src))return r}return null}();n&&e?console.warn(s):n||(n=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",r=document.createElement("script");r.src="".concat(i).concat(t);var n=document.head||document.body;if(!n)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return n.appendChild(r),r}(e)),n.addEventListener("load",function(){window.Stripe?t(window.Stripe):r(new Error("Stripe.js not available"))}),n.addEventListener("error",function(){r(new Error("Failed to load Stripe.js"))})}catch(e){return void r(e)}else t(null)})),o},d=Promise.resolve().then(function(){return l(null)}),u=!1;d.catch(function(e){u||console.warn(e)});var c=r(4692),p=r.n(c),m=class extends n.xI{static stripe;static payment;static elements;static values={step:String,stepStripe1:String,stepStripe2:String,stepStripe3:String,siteKey:String,local:String,currency:String,amount:Number};static targets=["form"];async connect(){this.stripe=await function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];u=!0;var n=Date.now();return d.then(function(e){return function(e,t,r){if(null===e)return null;var n=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.54.2",startTime:t})}(n,r),n}(e,t,n)})}(this.siteKeyValue),this.stripe&&(this.stepValue===this.stepStripe1Value&&this.initializeForm(),this.stepValue===this.stepStripe2Value&&this.handle3DS(),this.stepValue===this.stepStripe3Value&&this.redirectPaymentPage())}initializeForm(){let e={mode:"payment",currency:this.currencyValue,amount:this.amountValue,paymentMethodCreation:"manual",locale:this.localValue};this.elements=this.stripe.elements(e),this.payment=this.elements.create("payment"),this.payment.mount("#payment-element")}async submitPayment(e){e.preventDefault();(async e=>{e.preventDefault();await this.elements.submit();const{error:t,paymentMethod:r}=await this.stripe.createPaymentMethod({elements:this.elements});p()("#form_order_model_vadsCardBrand").val("card"),t||(p()("#form_order_model_vadsUserAgent").val(window.navigator.userAgent),p()("#form_order_model_vadsCardBrand").val(r.type),p()("#form_order_model_vadsSubscription").val(r.id),p()("#form_order_model").submit())})(e)}handle3DS(){this.stripe.handleCardPayment(p()("#stripePi").data("value")).then(function(e){if(e.error)return p()("#form_order_model_vadsSubscription").val(""),void p()("#form_order_model").submit();p()("#form_order_model_vadsSubscription").val(e.paymentIntent.id),p()("#form_order_model").submit()})}redirectPaymentPage(){this.stripe.redirectToCheckout({sessionId:p()("#sessionId").data("value")})}}}}]);

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.