1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0f23b-3050-0000-9f5a-10c1aad2e1b6";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="1b96eb3a-1580-56ea-bc6e-baa7314af6a2")}catch(e){}}();function l(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(r){return typeof r}:l=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},l(o)}var v="clover",h=function(r){return r===3?"v3":r},m="https://js.stripe.com",w="".concat(m,"/").concat(v,"/stripe.js"),b=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,g=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;var L=function(r){return b.test(r)||g.test(r)},j=function(){for(var r=document.querySelectorAll('script[src^="'.concat(m,'"]')),e=0;e<r.length;e++){var n=r[e];if(L(n.src))return n}return null},f=function(r){var e="",n=document.createElement("script");n.src="".concat(w).concat(e);var t=document.head||document.body;if(!t)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return t.appendChild(n),n},R=function(r,e){!r||!r._registerWrapper||r._registerWrapper({name:"stripe-js",version:"8.11.0",startTime:e})},a=null,u=null,c=null,P=function(r){return function(e){r(new Error("Failed to load Stripe.js",{cause:e}))}},T=function(r,e){return function(){window.Stripe?r(window.Stripe):e(new Error("Stripe.js not available"))}},x=function(r){return a!==null?a:(a=new Promise(function(e,n){if(typeof window>"u"||typeof document>"u"){e(null);return}if(window.Stripe){e(window.Stripe);return}try{var t=j();if(!(t&&r)){if(!t)t=f(r);else if(t&&c!==null&&u!==null){var i;t.removeEventListener("load",c),t.removeEventListener("error",u),(i=t.parentNode)===null||i===void 0||i.removeChild(t),t=f(r)}}c=T(e,n),u=P(n),t.addEventListener("load",c),t.addEventListener("error",u)}catch(p){n(p);return}}),a.catch(function(e){return a=null,Promise.reject(e)}))},I=function(r,e,n){if(r===null)return null;var t=e[0];if(typeof t!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(l(t)," instead."));var i=t.match(/^pk_test/),p=h(r.version),E=v,d=r.apply(void 0,e);return R(d,n),d},s,S=!1,y=function(){return s||(s=x(null).catch(function(r){return s=null,Promise.reject(r)}),s)};Promise.resolve().then(function(){return y()}).catch(function(o){});var _=function(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];S=!0;var t=Date.now();return y().then(function(i){return I(i,e,t)})};export{_ as loadStripe}; 2 3//# chunkId=1b96eb3a-1580-56ea-bc6e-baa7314af6a2
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.