PageSourceSearch

https://getkong.ai/_nuxt/C3I9TRdX.js

js getkong.ai collected 2026-10-05 12:02:08 UTC 2,687 bytes, 1 lines download raw bytes

1import{H as v,T as S}from"./CKuGRdzn.js";import{_ as T}from"./CjAPugXi.js";import{_ as P}from"./C9kn1IU2.js";import{_ as N}from"./BPW054Bx.js";import{_ as B}from"./DgYllcxl.js";import{_ as C}from"./BSB6tCKT.js";import{u as O}from"./CS1PKRkD.js";import{u as U}from"./DX9c4yWs.js";import{f as V,c as F,g as a,w as e,u as m,y as b,F as H,E as L,r as w,o as d,i as n,a as r,j}from"./B3a-sA7b.js";import"./DlAUqK2U.js";const A=["src"],z={__name:"trial",setup(E){const{apiGatewayUrl:_}=U(),{img:x}=j(),h=L(),f=w(!1),g=w(!1);V(()=>{y();try{const o=new URLSearchParams(window.location.search),t=JSON.parse(atob(o.get("ev")));h.trackEvent({event:"gtm.startTrial",planName:t.planName,planValue:parseFloat(t.planValue),eventID:t.eventID})}catch{}});const y=async function(){const o=await $fetch(_.value+"/auth/get-user",{method:"POST",headers:{"Content-Type":"application/json"}}),t=O();t.setUser(btoa(JSON.stringify(o)));const{subStatus:l,level:u,frequency:i,name:c,introStatus:p}=await $fetch(_.value+"/stripe/validate-subscription",{method:"POST",body:{intro_load:!0},headers:{"Content-Type":"application/json"}});t.setSubStatus(l),t.setSubscriptionLevel(u),t.setSubscriptionFrequency(i),p==="ready"&&(g.value=!0);let s=JSON.parse(atob(t.user));s.name=c,t.setUser(btoa(JSON.stringify(s))),f.value=!0};return(o,t)=>{const l=S,u=v,i=T,c=P,p=N,s=B,k=C;return d(),F(H,null,[a(u,null,{default:e(()=>[a(l,null,{default:e(()=>[...t[0]||(t[0]=[n("Kong | Thank You",-1)])]),_:1})]),_:1}),m(f)?(d(),b(s,{key:0,contained:!0,class:"bg-white dark:bg-purple-950 pb-10 dark:pb-20"},{default:e(()=>[t[4]||(t[4]=r("svg",{class:"w-20 lg:w-40 2xl:w-[200px] mx-auto h-auto",width:"202",height:"201",viewBox:"0 0 202 201",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("circle",{cx:"101",cy:"100.676",r:"100.096",fill:"#9384B0","fill-opacity":"0.2"}),r("path",{d:"M47.6362 105.841L79.7683 137.973L154.361 63.3802",stroke:"#7B26FA",class:"dark:stroke-dark-700","stroke-width":"19.6074"})],-1)),a(i,{class:"text-center max-w-2xl mx-auto mt-10 mb-8"},{default:e(()=>[...t[1]||(t[1]=[n(" Thank You ",-1)])]),_:1}),a(c,{class:"max-w-lg text-center mx-auto mb-10"},{default:e(()=>[...t[2]||(t[2]=[n(" Your 7 day free trial has been activated. ",-1)])]),_:1}),a(p,{class:"mx-auto",url:"/dashboard"+(m(g)?"/?i=1":"")},{default:e(()=>[...t[3]||(t[3]=[n("Continue To Dashboard",-1)])]),_:1},8,["url"])]),_:1})):(d(),b(s,{key:1,class:"bg-purple-50 dark:bg-purple-950 pt-12 pb-4 lg:pt-20 lg:pb-12"},{default:e(()=>[a(k,{class:"text-center"},{default:e(()=>[...t[5]||(t[5]=[n("Validating...",-1)])]),_:1}),r("img",{src:m(x)("/loading.gif"),class:"mx-auto w-40 mt-8 lg:mt-16"},null,8,A)]),_:1}))],64)}}};export{z as default};

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.