1function m(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(e){return typeof e}:m=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(n)}var h="clover",I=function(e){return e===3?"v3":e},g="https://js.stripe.com",P="".concat(g,"/").concat(h,"/stripe.js"),R=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,T=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,y="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",j=function(e){return R.test(e)||T.test(e)},A=function(){for(var e=document.querySelectorAll('script[src^="'.concat(g,'"]')),t=0;t<e.length;t++){var i=e[t];if(j(i.src))return i}return null},b=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",i=document.createElement("script");i.src="".concat(P).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(i),i},k=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"8.6.3",startTime:t})},d=null,l=null,f=null,x=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},C=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},B=function(e){return d!==null?d:(d=new Promise(function(t,i){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(y),window.Stripe){t(window.Stripe);return}try{var r=A();if(r&&e)console.warn(y);else if(!r)r=b(e);else if(r&&f!==null&&l!==null){var o;r.removeEventListener("load",f),r.removeEventListener("error",l),(o=r.parentNode)===null||o===void 0||o.removeChild(r),r=b(e)}f=C(t,i),l=x(i),r.addEventListener("load",f),r.addEventListener("error",l)}catch(a){i(a);return}}),d.catch(function(t){return d=null,Promise.reject(t)}))},U=function(e,t,i){if(e===null)return null;var r=t[0];if(typeof r!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(m(r)," instead."));var o=r.match(/^pk_test/),a=I(e.version),c=h;o&&a!==c&&console.warn("Stripe.js@".concat(a," was loaded on the page, but @stripe/stripe-js@").concat("8.6.3"," expected Stripe.js@").concat(c,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var u=e.apply(void 0,t);return k(u,i),u},p,E=!1,w=function(){return p||(p=B(null).catch(function(e){return p=null,Promise.reject(e)}),p)};Promise.resolve().then(function(){return w()}).catch(function(n){E||console.warn(n)});var _=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];E=!0;var r=Date.now();return w().then(function(o){return U(o,t,r)})};var q="pk_live_51RfctRPHhvuBECH5mV3z4eY9Vg2ea4FigKiSxofaSZ6pBwu3miNahyXOeVKlIw7EnX0MCjbo8SrLloojxFFaTsH200MVZuChJI",G=document.querySelectorAll(".buy-button"),s,V=new BroadcastChannel("premium-injected");V.addEventListener("message",n=>{n.data.name=="persistent_data"&&(s=n.data.data)});async function H(n,e,t,i,r){let o={stripePriceId:n,priceType:e};t&&i&&r&&(o.eId=t,o.eoId=i,o.eopId=r),s&&typeof s=="object"&&"dm"in s&&typeof s.dm=="string"&&"sdc"in s&&typeof s.sdc=="number"&&(o.persistent={dm:s.dm,sdc:s.sdc},"fvi"in s&&typeof s.fvi=="string"&&(o.persistent.fvi=s.fvi),"it"in s&&typeof s.it=="number"&&(o.persistent.it=s.it));let a=await fetch("/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!a.ok)throw`Error getting checkout session. Received code: ${a.status}`;return(await a.json()).clientSecret}async function J(){let n=await _(q);if(!n){console.error("Error loading Stripe");return}for(let e of G){let t=e.getAttribute("data-price-id"),i=e.getAttribute("data-price-type"),r=e.getAttribute("data-e-id")||"",o=e.getAttribute("data-eo-id")||"",a=e.getAttribute("data-eop-id")||"",c,u,S;r&&(c=parseInt(r)),o&&(u=parseInt(o)),a&&(S=parseInt(a));let v;e.onclick=async()=>{document.body.scrollTo(0,0),document.body.classList.add("checkingout"),v=H(t,i,c,u,S);let L=await n.initEmbeddedCheckout({fetchClientSecret:async()=>await v});history.pushState({section:"payment"}
1,"","#payment"),L.mount("#checkout-form")}}}J();
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.