1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3339],{16895:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/paddle/pay",function(){return r(23599)}])},23599:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return pay}});var n,o,a,c,u,l,d,s,f,h,p=r(85893),y=r(67294);function asyncGeneratorStep(e,t,r,n,o,a,c){try{var u=e[a](c),l=u.value}catch(e){return void r(e)}u.done?t(l):Promise.resolve(l).then(n,o)}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _objectWithoutProperties(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.includes(r)||({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function _regeneratorRuntime(){_regeneratorRuntime=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function define(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function(e,t,r){return e[t]=r}}function wrap(t,r,n,a){var c,u,l=Object.create((r&&r.prototype instanceof Generator?r:Generator).prototype);return o(l,"_invoke",{value:(c=new Context(a||[]),u=d,function(r,o){if(u===s)throw Error("Generator is already running");if(u===f){if("throw"===r)throw o;return{value:e,done:!0}}for(c.method=r,c.arg=o;;){var a=c.delegate;if(a){var l=function maybeInvokeDelegate(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,maybeInvokeDelegate(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+n+"' method")),h;var a=tryCatch(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,h;var c=a.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):c:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,h)}(a,c);if(l){if(l===h)continue;return l}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===d)throw u=f,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);u=s;var p=tryCatch(t,n,c);if("normal"===p.type){if(u=c.done?f:"suspendedYield",p.arg===h)continue;return{value:p.arg,done:c.done}}"throw"===p.type&&(u=f,c.method="throw",c.arg=p.arg)}})}),l}function tryCatch(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=wrap;var d="suspendedStart",s="executing",f="completed",h={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,c,function(){return this});var y=Object.getPrototypeOf,v=y&&y(y(values([])));v&&v!==r&&n.call(v,c)&&(p=v);var E=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);
vendor: 4,542 bytes, line 1
1function defineIteratorMethods(e){["next","throw","return"].forEach(function(t){define(e,t,function(e){return this._invoke(t,e)})})}function AsyncIterator(e,t){var r;o(this,"_invoke",{value:function(o,a){function callInvokeWithMethodAndArg(){return new t(function(r,c){!function invoke(r,o,a,c){var u=tryCatch(e[r],e,o);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){invoke("next",e,a,c)},function(e){invoke("throw",e,a,c)}):t.resolve(d).then(function(e){l.value=e,a(l)},function(e){return invoke("throw",e,a,c)})}c(u.arg)}(o,a,r,c)})}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function next(){for(;++o<t.length;)if(n.call(t,o))return next.value=t[o],next.done=!1,next;return next.value=e,next.done=!0,next};return i.next=i}}throw TypeError(typeof t+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(E,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,u,function(){return this}),t.AsyncIterator=AsyncIterator,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var c=new AsyncIterator(wrap(e,r,n,o),a);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},defineIteratorMethods(E),define(E,l,"Generator"),define(E,c,function(){return this}),define(E,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function next(){for(;r.length;){var e=r.pop();if(e in t)return next.value=e,next.done=!1,next}return next.done=!0,next}},t.values=values,Context.prototype={constructor:Context,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(resetTryEntry),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function handle(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return handle(a.catchLoc,!0);if(this.prev<a.finallyLoc)return handle(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return handle(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return handle(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var c=a?a.completion:{};return c.type=e,c.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];
1if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:values(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}var v={CLASSIC:"classic",V1:"v1"},E=v.V1,m={url:"https://cdn.paddle.com/paddle/paddle.js"},w={url:"https://cdn.paddle.com/paddle/v2/paddle.js"},g={classic:void 0,v1:void 0},_={classic:"PaddleClassic",v1:"PaddleBillingV1"},P=["environment","version"],b=["environment","version"];function _initializePaddle(){var e;return e=_regeneratorRuntime().mark(function _callee(e){var t,r;return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=(null==e?void 0:e.version)||E,n.next=3,function(e){var t,r=null===(t=e===v.CLASSIC?m:e===v.V1?w:void console.error("[Paddle] Unknown Paddle Version"))||void 0===t?void 0:t.url;if(r){var n=g[e],o=_[e];return void 0!==n?n:(g[e]=new Promise(function(t,n){if("undefined"==typeof window){t(void 0);return}if(window[o]||window.Paddle){t(window[o]||window.Paddle);return}try{var a=document.querySelector('script[src="'.concat(r,'"]'))||void 0;a||(a=function(e){var t=document.createElement("script");t.src=e;var r=document.head||document.body;if(!r)throw Error("Cannot inject Paddle.js. It needs a <head> or <body> element.");return r.appendChild(t),t}(r)),a.addEventListener("load",function(){window[o]||window.Paddle?t(window[o]||window.Paddle):n(Error("Paddle.js not available"))}),a.addEventListener("error",function(){n(Error("Failed to load Paddle.js - ".concat(e)))})}catch(e){n(e);return}}),g[e])}}(t);case 3:if(!(r=n.sent)){n.next=9;break}return e&&(t===v.V1?function(e,t){var r=e.environment;e.version;var n=_objectWithoutProperties(e,P);try{r&&t.Environment.set(r),t.Initialized?t.Update(_objectSpread2({},n)):t.Initialize(_objectSpread2({},n))}catch(e){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",e)}}(e,r):t===v.CLASSIC&&function(e,t){var r=e.environment;e.version;var n=_objectWithoutProperties(e,b);try{r&&t.Environment.set(r),t.Setup(_objectSpread2({},n))}catch(e){console.warn("[Paddle] Paddle Initialization failed. Please check the inputs",e)}}(e,r)),n.abrupt("return",r);case 9:return console.error("[Paddle] Error Loading Paddle"),n.abrupt("return");case 11:case"end":return n.stop()}},_callee)}),(_initializePaddle=function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function _next(e){asyncGeneratorStep(a,n,o,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(a,n,o,_next,_throw,"throw",e)}_next(void 0)})}).apply(this,arguments)}(n=l||(l={})).CHECKOUT_LOADED="checkout.loaded",n.CHECKOUT_CLOSED="checkout.closed",n.CHECKOUT_UPDATED="checkout.updated",n.CHECKOUT_COMPLETED="checkout.completed",n.CHECKOUT_ERROR="checkout.error",n.CHECKOUT_FAILED="checkout.failed",n.CHECKOUT_ITEMS_UPDATED="checkout.items.updated",n.CHECKOUT_ITEMS_REMOVED="checkout.items.removed",n.CHECKOUT_CUSTOMER_CREATED="checkout.customer.created",n.CHECKOUT_CUSTOMER_UPDATED="checkout.customer.updated",n.CHECKOUT_CUSTOMER_REMOVED="checkout.customer.removed",n.CHECKOUT_PAYMENT_SELECTED="checkout.payment.selected",n.CHECKOUT_PAYMENT_INITIATED="checkout.payment.initiated",n.CHECKOUT_PAYMENT_FAILED="checkout.payment.failed",n.CHECKOUT_DISCOUNT_APPLIED="checkout.discount.applied",n.CHECKOUT_DISCOUNT_REMOVED="checkout.discount.removed",(o=d||(d={})).DAY="day",o.WEEK="week",o.MONTH="month",o.YEAR="year",(a=s||(s={})).ALIPAY="alipay",a.APPLE_PAY="apple-pay",a.CARD="card",a.GOOGLE_PAY="google-pay",a.IDEAL="ideal",a.PAYPAL="paypal",a.WIRE_TRANSFER="wire-transfer",a.NONE="none",(c=f||(f={})).AMERICAN_EXPRESS="american_express",c.DINERS_CLUB="diners_club",c.DISCOVER="discover",c.JCB="jcb",c.MADA="mada",c.MAESTRO="maestro",c.MASTER_CARD="mastercard",c.UNION_PAY="union_pay",c.VISA="visa",c.UNKNOWN="unknown",(u=h||(h={})).DRAFT="draft",u.READY="ready",u.COMPLETED="completed",u.BILLED="billed",u.canceled="canceled",u.PAST_DUE="past_due";var pay=()=>((0,y.useEffect)(()=>{!function(e){_initializePaddle.apply(this,arguments)}({token:"live_63a86cfd2fc730e1b8dcbdf297e",checkout:{settings:{displayMode:"overlay",theme:"light",locale:"en"}}})},[]),(0,p.jsx)("div",{id:"checkout-container"}))}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=16895)}),_N_E=e.O()}]);
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.