1var S="https://js.stripe.com/v3",b=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var A=function(){for(var n=document.querySelectorAll('script[src^="'.concat(S,'"]')),r=0;r<n.length;r++){var t=n[r];if(b.test(t.src))return t}return null},g=function(n){var r="",t=document.createElement("script");t.src="".concat(S).concat(r);var i=document.head||document.body;if(!i)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return i.appendChild(t),t},C=function(n,r){!n||!n._registerWrapper||n._registerWrapper({name:"stripe-js",version:"1.54.2",startTime:r})},l=null,I=function(n){return l!==null||(l=new Promise(function(r,t){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var i=A();i&&n||i||(i=g(n)),i.addEventListener("load",function(){window.Stripe?r(window.Stripe):t(new Error("Stripe.js not available"))}),i.addEventListener("error",function(){t(new Error("Failed to load Stripe.js"))})}catch(a){t(a);return}})),l},j=function(n,r,t){if(n===null)return null;var i=n.apply(void 0,r);return C(i,t),i},w=Promise.resolve().then(function(){return I(null)}),h=!1;w.catch(function(e){h||console.warn(e)});var P=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];h=!0;var i=Date.now();return w.then(function(a){return j(a,r,i)})};function $(e,n){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var t,i,a,o,u=[],p=!0,v=!1;try{if(a=(r=r.call(e)).next,n!==0)for(;!(p=(t=a.call(r)).done)&&(u.push(t.value),u.length!==n);p=!0);}catch(E){v=!0,i=E}finally{try{if(!p&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(v)throw i}}return u}}function L(e,n){return T(e)||$(e,n)||z(e,n)||R()}function T(e){if(Array.isArray(e))return e}function z(e,n){if(e){if(typeof e=="string")return y(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,n)}}function y(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,t=new Array(n);r<n;r++)t[r]=e[r];return t}function R(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f="https://crypto-js.stripe.com/crypto-onramp-outer.js",W=function(){for(var n=document.querySelectorAll('script[src^="'.concat(f,'"]')),r=0;r<n.length;r++){var t=n[r];if(f===t.src)return t}return null},U=function(){var n=document.createElement("script");n.src=f;var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe Crypto requires a <body> element.");return r.appendChild(n),n},q=function(n,r){!n||!n._registerWrapper||n._registerWrapper({name:"crypto-js",version:"1.1.3",startTime:r})},c=null,x=function(){return c!==null||(c=new Promise(function(n,r){if(typeof window>"u"){n(null);return}if(window.StripeOnramp){n(window.StripeOnramp);return}try{var t=W();t||(t=U()),t.addEventListener("load",function(){window.StripeOnramp?n(window.StripeOnramp):r(new Error("StripeOnramp not available"))}),t.addEventListener("error",function(){r(new Error("Failed to load StripeOnramp"))})}catch(i){r(i);return}})),c},M=function(n,r,t){if(n===null)return null;var i=n.apply(void 0,r);return q(i,t),i},s="https://js.stripe.com/crypto-onramp/v1/crypto-onramp.js",D=function(){for(var n=document.querySelectorAll('script[src^="'.concat(s,'"]')),r=0;r<n.length;r++){var t=n[r];if(s===t.src)return t}return null},N=function(){var n=document.createElement("script");n.src=s,n.async=!0,n.type="module";var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. loadCryptoOnrampAndInitialize requires a <body> element.");return r.appendChild(n),n},d=null,B=function(){return d!==null||(d=new Promise(function(n,r){if(typeof window>"u"){n(null);return}if(window.loadCryptoOnrampAndInitialize){n(window.loadCryptoOnrampAndInitialize);return}try{var t=D();t||(t=N()),t.addEventListener("load",function(){window.loadCryptoOnrampAndInitialize?n(window.loadCryptoOnrampAndInitialize):r(new Error("loadCryptoOnrampAndInitialize not available"))}),t.addEventListener("error",function(){r(new Error("Failed to load loadCryptoOnrampAndInitialize"))})}catch(i){r(i);return}})),d},F=function(n,r){return B().then(function(t){return t===null?null:t(n,r)})},m=Promise.resolve().then(function(){return x()}),O=!1;m.catch(function(e){O||console.warn(e)});var G=function(){for(var n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];O=!0;var i=Date.now();return Promise.all([P.apply(void 0,r),m]).then(function(a){var o=L(a,2),u=o[1];
2return M(u,r,i)})},_=function(n){return m.then(function(r){if(r===null)return null;var t=r.Standalone(n);return t.getUrl()}).catch(function(){return null})};export{_ as getStandaloneOnrampUrl,F as loadCryptoOnrampAndInitialize,G as loadStripeOnramp};
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.