window.PaddleScriptLocation=null;try{var loadedScripts=document.getElementsByTagName("script");window.PaddleScriptLocation=(document.currentScript||loadedScripts[loadedScripts.length-1]).src;window.PaddleScriptLocation=window.PaddleScriptLocation.split('?')[0];}catch(ignore){} var _Paddle=(function Paddle(_window,libraryVersion){function isFirefox(){var userAgent=navigator.userAgent||navigator.vendor||window.opera;return userAgent.match(/Firefox/i)?true:false;} return function PaddleConstruct(_window,libraryVersion){var _this=this;var _options={debug:false,enableTracking:true,poweredByBadge:false,loadMethod:'Direct',vendor:null,eventCallback:null,sdk:false,sdkAttributes:null,completeDetails:false,checkoutVariant:null,upsellCheckbox:false};var _prices={};var _activeCheckout={};var _checkoutVariants=[{control:true,variant:'multipage',weight:1},{control:false,variant:'multipage-compact-payment',weight:1},{control:false,variant:'multipage-radio-payment',weight:1},{control:false,variant:'multipage-radio-payment-selected',weight:1}];var _env={current:'production',defaults:{local:{checkoutBase:'https://checkout.paddle.local:8443/checkout/product/',internalCheckoutBase:'https://checkout.paddle.local:8443/checkout/tool/',pricesApi:'https://checkout.paddle.local:8443/api/1.0/prices',dataApi:'https://checkout.paddle.local:8443/api/1.0/data',orderApi:'https://checkout.paddle.local:8443/api/1.0/order',audienceApi:'https://checkout.paddle.local:8443/api/1.0/audience/{vendor_id}/add',userHistoryApi:'https://checkout.paddle.com:8443/api/2.0/user/history',analyticsKey:'8b03159305e2c0f49bf7481c073a4819',affiliateAnalyticsKey:'8be7b8d69526697e7ae22aff30d34603',consentMessageTranslationAPI:'https://checkout.paddle.local:8443/ajax/consent-message'},dev:{checkoutBase:'https://checkout.development.paddle-internal.com/checkout/product/',internalCheckoutBase:'https://checkout.development.paddle-internal.com/checkout/tool/',pricesApi:'https://checkout.development.paddle-internal.com/api/1.0/prices',dataApi:'https://checkout.development.paddle-internal.com/api/1.0/data',orderApi:'https://checkout.development.paddle-internal.com/api/1.0/order',audienceApi:'https://checkout.development.paddle-internal.com/api/1.0/audience/{vendor_id}/add',userHistoryApi:'https://checkout.development.paddle-internal.com/api/2.0/user/history',analyticsKey:'8b03159305e2c0f49bf7481c073a4819',affiliateAnalyticsKey:'8be7b8d69526697e7ae22aff30d34603',consentMessageTranslationAPI:'https://checkout.development.paddle-internal.com/ajax/consent-message'},sandbox:{checkoutBase:'https://sandbox-checkout.paddle.com/checkout/product/',internalCheckoutBase:'https://sandbox-checkout.paddle.com/checkout/tool/',pricesApi:'https://sandbox-checkout.paddle.com/api/1.0/prices',dataApi:'https://sandbox-checkout.paddle.com/api/1.0/data',orderApi:'https://sandbox-checkout.paddle.com/api/1.0/order',audienceApi:'https://sandbox-checkout.paddle.com/api/1.0/audience/{vendor_id}/add',userHistoryApi:'https://sandbox-checkout.paddle.com/api/2.0/user/history',analyticsKey:'8b03159305e2c0f49bf7481c073a4819',affiliateAnalyticsKey:'8be7b8d69526697e7ae22aff30d34603',consentMessageTranslationAPI:'https://sandbox-checkout.paddle.com/ajax/consent-message'},staging:{checkoutBase:'https://checkout.staging.paddle-internal.com/checkout/product/',internalCheckoutBase:'https://checkout.staging.paddle-internal.com/checkout/tool/',pricesApi:'https://checkout.staging.paddle-internal.com/api/1.0/prices',dataApi:'https://checkout.staging.paddle-internal.com/api/1.0/data',orderApi:'https://checkout.staging.paddle-internal.com/api/1.0/order',audienceApi:'https://checkout.staging.paddle-internal.com/api/1.0/audience/{vendor_id}/add',userHistoryApi:'https://checkout.staging.paddle-internal.com/api/2.0/user/history',analyticsKey:'8b03159305e2c0f49bf7481c073a4819',affiliateAnalyticsKey:'8be7b8d69526697e7ae22aff30d34603',consentMessageTranslationAPI:'https://checkout.staging.paddle-internal.com/ajax/consent-message'},production:{checkoutBase:'https://checkout.paddle.com/checkout/product/',internalCheckoutBase:'https://checkout.paddle.com/checkout/tool/',pricesApi:'https://checkout.paddle.com/api/1.0/prices',dataApi:'https://checkout.paddle.com/api/1.0/data',orderApi:'https://checkout.paddle.com/api/1.0/order',audienceApi:'https://checkout.paddle.com/api/1.0/audience/{vendor_id}/add',userHistoryApi:'https://checkout.paddle.com/api/2.0/user/history',analyticsKey:'3cca81641d7d36dd0223d8a5615ae36a',affiliateAnalyticsKey:'05150e015258048ddbc1aa7188718750',consentMessageTranslationAPI:'https://checkout.paddle.com/ajax/consent-message'}}};var _defaults={includeBrowserInCampaignSummary:false,analyticsCookie:'paddlejs_checkout',affiliateAnalyticsCookie:'paddlejs_affiliate_analytics',devmateCookie:'_dmsid',popupCookie:'paddlejs_popup',campaignCookiePrefix:'paddlejs_campaign_',campaignCookieExpiresDays:30,checkoutVariantCookie:'paddlejs_checkout_variant',checkoutVariantCookieExpiresDays:90,paddleCssFile:'https://cdn.paddle.com/paddle/assets/css/paddle.css',animationCssFile:'https://cdn.paddle.com/paddle/assets/css/animate.css',popupWindow:{width:370,height:470,location:'yes',menubar:'no',resizable:'yes',scrollbars:'yes',status:'no',toolbar:'no'},domainCategories:{'paddle.com':{name:'Paddle',type:'Marketplace'},'creatable':{name:'Creatable',type:'Marketplace'},'facebook.com':{name:'Facebook',type:'Social'},'fb.com':{name:'Facebook',type:'Social'},'t.co':{name:'Twitter',type:'Social'},'twitter.com':{name:'Twitter',type:'Social'},'reddit.com':{name:'Reddit',type:'Social'},'medium.com':{name:'Medium',type:'Social'},'news.ycombinator.com':{name:'Hacker News',type:'Social'},'designernews.com':{name:'Designer News',type:'Social'},'producthunt.com':{name:'Product Hunt',type:'Social'},'paypal.com':{name:'Paddle',type:'Marketplace'},'my.paddle.com':{name:'Paddle',type:'Marketplace'},'cultofmac.com':{name:'Cult of Mac',type:'Article'},'mail.yahoo':{name:'Yahoo Mail',type:'Email'},'mail.google':{name:'Gmail',type:'Email'},'gmail':{name:'Gmail',type:'Email'},'mail.google.com':{name:'Gmail',type:'Email'},'mail.live':{name:'Live Mail',type:'Email'},'mail.aol.com':{name:'Aol Mail',type:'Email'},'mail.qq.com':{name:'QQ Mail',type:'Email'},'mail.comcast.net':{name:'Comcast Mail',type:'Email'},'earthlink.net':{name:'Earthlink Mail',type:'Email'},'bing':{name:'Bing',type:'Search'},'yahoo':{name:'Yahoo',type:'Search'},'google':{name:'Google',type:'Search'},'localhost':{name:'Localhost',type:'Local'}}};var _status={};this.Environment={detect:function(){if(typeof _util.urlParam('paddle_env')!='undefined'&&_util.urlParam('paddle_env')!=''){_this.Debug('Environment Detected: '+_util.urlParam('paddle_env'));this.set(_util.urlParam('paddle_env'));}else{_this.Debug('Environment Detected: '+this.get());}},get:function(){return _env.current;},set:function(environment){_this.Debug('Changing environment to: '+environment);_env.current=environment;},defaults:function(){return _env.defaults[_env.current];}};this.Status={loadedAffiliateAnalytics:false,failedLoadingAffiliateAnalytics:false,loadedButtonStylesheet:false,loadedAnimationStylesheet:false,libraryVersion:libraryVersion};this.Options=function(options){if(typeof options=='object'){for(var option in options){if(options.hasOwnProperty(option)){if(_options.hasOwnProperty(option)){if(option=='vendor'){if(options[option]!==parseInt(options[option],10)){throw new Error("[PADDLE] The option parameter 'vendor' must be an integer.");} if(options[option]==1234567){throw new Error("[PADDLE] You must specify a valid Paddle Vendor ID as the 'vendor' attribute of passed to Paddle.Setup() or Paddle.Options(). The provided Vendor ID '1234567' is invalid and used for example purposes. You can get your Paddle Vendor ID from the 'Integrations' tab of the following page: https://vendors.paddle.com/account");}}else if(option=='sdkAttributes'){_options.sdkAttributes=options.sdkAttributes;} _this.Debug("Set option '"+option+"' to '"+options[option]+"'.");if(option!='sdkAttributes'){_options[option]=options[option];}}else{throw new Error("[PADDLE] Unknown option parameter '"+option+"'");}}}}else{throw new Error("[PADDLE] The Options() method accepts an object of options values.");}};this.Setup=function(options){if(!window.PaddleCompletedSetup){if(typeof options!='undefined'&&typeof options=='object'){if(typeof options.vendor!='undefined'){_this.Options(options);}else{throw new Error("[PADDLE] You must specify your Paddle Vendor ID during within the Paddle.Setup(); method. See 'Basic Setup' in the Paddle.js documentation: https://www.paddle.com/docs/paddle-js-overlay-checkout");}} if(!_options.checkoutVariant){if(_util.getCookie(_defaults.checkoutVariantCookie)&&_util.getCookie(_defaults.checkoutVariantCookie)!=''){_options.checkoutVariant=JSON.parse(_util.getCookie(_defaults.checkoutVariantCookie));}else{var variantData=_util.chooseCheckoutVariant();_options.checkoutVariant={inTest:true,controlGroup:variantData.control,isForced:false,variant:variantData.variant};_util.setCookie(_defaults.checkoutVariantCookie,JSON.stringify(_options.checkoutVariant),_defaults.checkoutVariantCookieExpiresDays);}}else{_options.checkoutVariant={inTest:false,controlGroup:false,isForced:true,variant:_options.checkoutVariant||'multipage'};} _this.Affiliate.Event('Visit');_this.Animation.addStylesheet();_this.Button.addStylesheet();if(_util.isMobile()){_this.Debug('Mobile session detected.');} _this.Button.load();_this.Download.load();window.PaddleCompletedSetup=true;_this.Debug('Completed library setup.');_util.listen();_this.Environment.detect();_util.campaignAttributes();_util.detectAutoOpen();}else{_this.Debug('Cannot call Paddle.Setup() more than once per page, the call was ignored.','warning');}};this.User={History:function(email,product_id,callback){var product_id=typeof product_id=='undefined'?null:product_id;if(email!=''){var productFilter='';if(product_id){productFilter='&product_id='+product_id;} _util.jsonp(_this.Environment.defaults().userHistoryApi+'?email='+encodeURIComponent(email)+'&vendor_id='+_options.vendor+productFilter,function(data){if(typeof callback=='function'){callback(data);}else{alert(data.message);}});}else{if(typeof callback=='function'){callback({"success":false,"error":{"code":107,"message":"A valid email address is required, please try again"}});}else{alert('You must enter a valid email address.');}}}};this.Product={Price:function(amountType,productId,quantity,callback){if(typeof quantity=='undefined'){var quantity=1;}else if(quantity<=0){var quantity=1;} var priceData=_util.getPrices(productId,quantity,function(priceData){if(typeof callback!='undefined'){if(typeof priceData.price!='undefined'){if(amountType=='gross'){callback(priceData.price.gross||false);}else if(amountType=='tax'){callback(priceData.price.tax||false);}else if(amountType=='net'){callback(priceData.price.net||false);}else if(amountType=='tax_included'){callback(priceData.price.tax_included||false);}else{callback(false);}}else{callback(false);}}});},Prices:function(productId,quantity,callback){if(typeof quantity=='function'){var callback=quantity;var quantity=1;} var priceData=_util.getPrices(productId,quantity,function(priceData){if(typeof callback!='undefined'&&typeof callback=='function'){callback(priceData);}});}};this.Order={_pollAttempts:[],_maxPollAttempts:10,_polling:[],DetailsPopup:function(checkoutHash,processingMessage){var popupId='_'+Math.ceil(Math.random()*10000000);var processingMessage=typeof processingMessage!='undefined'?processingMessage:'Fetching Order Details...';var popupHtml='
'+locker.license_code+'';popupContent+='