1"use strict";(self.webpackChunkultimate_jekyll=self.webpackChunkultimate_jekyll||[]).push([[274,1333,2879,4006],{1333(e,t,r){r.r(t);var n=r(274),a=(r(4006),r(2879)),o=r(8129);const c=()=>new Promise(async function(e){return await o.A.dom().ready(),await async function(){(function(){const e=new URLSearchParams(window.location.search);n.state.orderId=e.get("orderId")||"",n.state.productId=e.get("productId")||"",n.state.productName=e.get("productName")||"",n.state.amount=parseFloat(e.get("amount")||0),n.state.currency=e.get("currency")||"USD",n.state.frequency=e.get("frequency")||"",n.state.paymentMethod=e.get("paymentMethod")||"",n.state.hasFreeTrial="true"===e.get("trial"),n.state.loaded=!0})(),o.A.bindings().update((0,n.buildBindingsState)()),await(0,a.triggerCelebration)(),document.querySelectorAll(".btn").forEach(e=>{e.addEventListener("click",()=>{o.A.notifications().subscribe().catch(e=>{console.warn("[Confirmation] Notification subscribe failed:",e.message)})},{once:!0})})}(),e()});r.dn(c),r.d(t,["default",0,c])},2879(e,t,r){r.r(t),r.d(t,{triggerCelebration:()=>a});var n=r(8129);async function a(){try{await n.A.dom().loadScript({src:"https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"}),window.confetti({particleCount:100,spread:70,origin:{y:.6},colors:["#5b6fff","#8b5cf6","#22d3ee","#34d399","#fb923c"]}),setTimeout(()=>{window.confetti({particleCount:50,angle:60,spread:55,origin:{x:0},colors:["#5b6fff","#8b5cf6","#22d3ee"]})},250),setTimeout(()=>{window.confetti({particleCount:50,angle:120,spread:55,origin:{x:1},colors:["#34d399","#fb923c","#5b6fff"]})},400)}catch(e){console.log("Confetti library failed to load:",e)}}},274(e,t,r){r.r(t),r.d(t,{buildBindingsState:()=>a});const n={orderId:"",productId:"",productName:"",amount:0,currency:"USD",frequency:"",paymentMethod:"",hasFreeTrial:!1,loaded:!1};function a(){const e=!!n.frequency,t={daily:{cycle:"daily",period:"day"},weekly:{cycle:"weekly",period:"week"},monthly:{cycle:"monthly",period:"month"},annually:{cycle:"annually",period:"year"}}[n.frequency]||{cycle:"",period:""},r=t.cycle,a=t.period;let o="";return e&&(o=n.hasFreeTrial?`Free Trial Active! Your trial period has begun. You'll be charged ${r} after the trial ends.`:`Your ${r} subscription is now active. You'll be charged automatically each ${a}.`),{confirmation:{order:{id:n.orderId||"Loading...",productName:n.productName||n.productId||"Product",total:(c=n.amount,null==c||isNaN(c)?"$--":`$${Number(c).toFixed(2)}`),currency:n.currency},subscription:{show:e,hasFreeTrial:n.hasFreeTrial,billingCycle:r,infoText:o},loaded:n.loaded}};var c}r.d(t,["state",0,n])},4006(e,t,r){r.r(t),r.d(t,{trackPurchaseIfNeeded:()=>a});var n=r(8129);function a(e){const t=new URLSearchParams(window.location.search);if("true"!==t.get("track"))return;!function(e){const t=function(e){return[{item_id:e.productId,item_name:e.productName||e.productId,item_category:e.frequency?"subscription":"one-time",item_variant:e.frequency,price:e.amount,quantity:1}]}(e);gtag("event","purchase",{transaction_id:e.orderId,value:e.amount,currency:e.currency,items:t}),fbq("track","Purchase",{content_ids:[e.productId],content_name:e.productName||e.productId,content_type:"product",currency:e.currency,value:e.amount,num_items:1}),ttq.track("CompletePayment",{content_id:e.productId,content_type:"product",content_name:e.productName||e.productId,price:e.amount,quantity:1,currency:e.currency,value:e.amount})}(e),t.delete("track");const r=t.toString()?`${window.location.pathname}?${t.toString()}`:window.location.pathname;window.history.replaceState({},document.title,r);const a=n.A.storage().get("trackedPurchases",[]);a.includes(e.orderId)||(a.push(e.orderId),a.length>50&&a.shift(),n.A.storage().set("trackedPurchases",a))}}}]);
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.