{"project":"ttrpgoblin","branch":"main","commit":"5fd60be405073b38b45357cbfd70e287efd207a3","component":{"apis":{"Xano - User Signup":{"url":{"type":"value","value":"https://x8ki-letl-twmt.n7.xano.io"},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"name","formula":{"path":["Variables","name"],"type":"path"}},{"Name":0,"name":"email","formula":{"path":["Variables","email"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Variables","password"],"type":"path"}}]},"name":"Xano - User Signup","path":[{"formula":{"type":"value","value":"api:63UMWtD9"}},{"formula":{"type":"value","value":"auth"}},{"formula":{"type":"value","value":"signup"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"name":"@toddle/setSessionCookies","label":"Set session cookies","events":{"Error":{"actions":[],"description":"This event is triggered if toddle is unable to set the session cookies"},"Success":{"actions":[{"name":"@toddle/gotToURL","label":"Go to URL","arguments":[{"name":"URL","formula":{"type":"value","value":"/"}}]}],"trigger":"Success","description":"This event is triggered once the tokens have been saved."}},"arguments":[{"name":"Access token","formula":{"path":["Apis","Xano - User Signup","data","authToken"],"type":"path"},"description":"Access tokens are the most common way to authenticate with a server"},{"name":"Expires in","type":{"type":"Number"},"formula":{"type":"value","value":3600},"description":"(Optional) Seconds till the token expires. Defaults to 3600 (1 hour). This should be left blank for JWTs"}]}],"trigger":"Success"},"queryParams":{},"dependsOn":[]},"Supabase User Signup":{"url":{"type":"value","value":"https://ptdvtgmnautlhefdgoyy.supabase.co"},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","email"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Variables","password"],"type":"path"}},{"Name":0,"name":"options","formula":{"type":"object","arguments":[{"Name":0,"name":"data","formula":{"type":"object","arguments":[{"Name":0,"name":"telegram_usernam","formula":{"path":["Variables","name"],"type":"path"}}]}}]}}]},"name":"Supabase User Signup","path":[{"formula":{"type":"value","value":"auth/v1/signup"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}},{"name":"apiKey","formula":{"type":"value","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0ZHZ0Z21uYXV0bGhlZmRnb3l5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjE3OTg0MjksImV4cCI6MjAzNzM3NDQyOX0.UpYwW6AFXTAZXcablysXh96hORFd2svmJ1hI_5Nm8W4"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"name":"@toddle/setSessionCookies","label":"Set session cookies","events":{"Error":{"actions":[],"description":"This event is triggered if toddle is unable to set the session cookies"},"Success":{"actions":[],"description":"This event is triggered once the tokens have been saved."}},"arguments":[{"name":"Access token","formula":{"path":["Apis","Supabase User Signup","data","access_token"],"type":"path"},"description":"Access tokens are the most common way to authenticate with a server"},{"name":"Expires in","type":{"type":"Number"},"formula":{"type":"value","value":""},"description":"(Optional) Seconds till the token expires. Defaults to 3600 (1 hour). This should be left blank for JWTs"}]},{"api":"Make - New user data augment","type":"Fetch","input":{},"onError":{"actions":[]},"onSuccess":{"actions":[]}},{"name":"showAlert","package":"sl","version":2,"exported":true,"arguments":[{"name":"id","type":{"type":"String"},"formula":{"type":"value","value":"account-creation-success"}}],"description":""}],"trigger":"Success"},"queryParams":{},"dependsOn":[]},"Supabase - add user data":{"url":{"type":"value","value":"https://ptdvtgmnautlhefdgoyy.supabase.co"},"auth":{"type":"Bearer access_token"},"body":{"type":"object","arguments":[{"Name":0,"name":"id","formula":{"path":["Apis","Supabase User Signup","data","user","id"],"type":"path"}},{"Name":0,"name":"telegram_username","formula":{"path":["Variables","name"],"type":"path"}}]},"name":"Supabase - add user data","path":[{"formula":{"type":"value","value":"rest/v1/users"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}},{"name":"apikey","formula":{"type":"value","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InB0ZHZ0Z21uYXV0bGhlZmRnb3l5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjE3OTg0MjksImV4cCI6MjAzNzM3NDQyOX0.UpYwW6AFXTAZXcablysXh96hORFd2svmJ1hI_5Nm8W4"}}]},"autoFetch":{"type":"value","value":false},"queryParams":{},"dependsOn":[]},"Make - New user data augment":{"url":{"type":"value","value":"https://hook.us1.make.com"},"auth":null,"body":{"type":"value","value":null},"name":"Make - New user data augment","path":[{"formula":{"type":"value","value":"wn4vhoe7wtr3fzzh2ceaddpvoeycs8bc"}}],"type":"REST","proxy":true,"method":"GET","headers":{"type":"record","entries":[]},"autoFetch":{"type":"value","value":false},"queryParams":{},"dependsOn":[]}},"name":"Account - Signup","nodes":{"root":{"tag":"div","type":"element","children":["rQ4tQjgwB2_zx2PXnKOaT","CxZDlNugj2jTPjEpot8XV","zcX5NNrZuI_nEoBhcjo5m"],"classes":{"gcRvs":{"formula":{"type":"value","value":true}}},"customProperties":{}},"0DRm848AjfpHf0wrHsVxw":{"type":"text","value":{"type":"value","value":"Thank you for signing up! You'll receive confirmation shortly."}},"5BXD2HXEGPlbVV_8JmnsB":{"type":"text","value":{"type":"value","value":"Telegram Username"},"condition":{"type":"value","label":null,"value":false}},"6AqFjqi10nKPPuc_Y5pYd":{"type":"text","value":{"type":"value","value":"Minimum of 8 characters, 1 alphabetical character, and 1 numeric character."}},"Cvz3qdaM-xajf_w0HdquR":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"Last name"}},"children":["F4c7UUzf_UiieMsXBjZEg","rjTAfBxBe7fWp8WDsJH8B"],"classes":{"cvzyeh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CxZDlNugj2jTPjEpot8XV":{"tag":"div","type":"element","children":["Egaei1Q3jhMqmu4Zn7ewp","fjdfDCqVFLb-uc7qAj8uA"],"classes":{"cmaMgB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EaSCXS05mbCSrkbZ7W57Y":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"text"},"value":{"path":["Variables","name"],"type":"path"},"placeholder":{"type":"value","value":"Telegram Username"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"name"}],"trigger":"input"}},"condition":{"type":"value","label":null,"value":false},"classes":{"cDbgXP":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Egaei1Q3jhMqmu4Zn7ewp":{"tag":"img","type":"element","attrs":{"alt":{"type":"value","value":""},"src":{"type":"value","value":"/cdn-cgi/imagedelivery/ZIty0Vhmkm0nD-fBKJrTZQ/ttrpgoblin:goblin_transparent_nod.gif/128"}},"classes":{"eGEFGG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"F19NyfrnD2WI0KaT2hOgo":{"type":"text","value":{"path":["Apis","Supabase User Signup","error","msg"],"type":"path"}},"F4c7UUzf_UiieMsXBjZEg":{"type":"text","value":{"type":"value","value":"Email"},"condition":{"type":"value","label":null,"value":false}},"HCLrVXMJll-jJcM9Nv__V":{"type":"text","value":{"type":"value","value":"Signup"}},"Rgz0koQpY3OHdnJuc5x34":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"Last name"}},"children":["5BXD2HXEGPlbVV_8JmnsB","EaSCXS05mbCSrkbZ7W57Y"],"classes":{"cvzyeh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"a3M9YhAfKutR3JD6g5WPA":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"Last name"}},"children":["t4d2CcuuGjKSAWMKVzLCk","6AqFjqi10nKPPuc_Y5pYd"],"classes":{"GAbSj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bC6e05f3hJWwk8_D_e4sP":{"tag":"a","type":"element","attrs":{"href":{"type":"value","value":"/login"},"data-prerender":{"type":"value","value":"moderate"}},"children":["rW7U5CAxXq0JoFGb63-wX"],"classes":{"dpmcUT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bWNlLgwMgX41IDq64xsHO":{"type":"text","value":{"type":"value","value":"Already have an account?"}},"bnXJjkaQuCFFGthG5zOPk":{"tag":"p","type":"element","children":["F19NyfrnD2WI0KaT2hOgo"],"condition":{"path":["Apis","Supabase User Signup","error","code"],"type":"path","label":null},"classes":{"bxteJt":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fjdfDCqVFLb-uc7qAj8uA":{"tag":"h1","type":"element","children":["rAGC9wVY4qf3mZWv_xRql"],"classes":{"eIHswA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"g1Jl36JJolnqV8a1_7jr3":{"tag":"p","type":"element","children":["0DRm848AjfpHf0wrHsVxw"],"classes":{"JbRZo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qYiwx6JOS0Z5RePVMh8iE":{"tag":"p","type":"element","children":["bWNlLgwMgX41IDq64xsHO","bC6e05f3hJWwk8_D_e4sP"],"classes":{"OCMNh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"r0jdUlJJnndZZBwHIMDCe":{"name":"alert","type":"component","attrs":{"id":{"type":"value","value":"account-creation-success"},"icon":{"type":"value","value":"check2-circle"},"theme":{"type":"value","value":"dark"},"isopen":{"type":"value","value":false},"variant":{"type":"value","value":"success"},"closable":{"type":"value","value":false},"duration":{"type":"value","value":6000},"show-icon":{"type":"value","value":true}},"events":{"alert-hide-after":{"actions":[{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"type":"value","value":"/login"}}]}],"trigger":"alert-hide-after"}},"package":"sl","children":["g1Jl36JJolnqV8a1_7jr3"],"customProperties":{}},"rAGC9wVY4qf3mZWv_xRql":{"type":"text","value":{"type":"value","value":"TTRPGoblin"}},"rQ4tQjgwB2_zx2PXnKOaT":{"tag":"div","type":"element","children":["r0jdUlJJnndZZBwHIMDCe"],"classes":{"fnlBXl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rW7U5CAxXq0JoFGb63-wX":{"type":"text","value":{"type":"value","value":"Login here"}},"rjTAfBxBe7fWp8WDsJH8B":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"email"},"value":{"path":["Variables","email"],"type":"path"},"placeholder":{"type":"value","value":"Email address"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"email"}],"trigger":"input"}},"classes":{"cDbgXP":{"formula":{"type":"value","value":true}}},"customProperties":{}},"t4d2CcuuGjKSAWMKVzLCk":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"password"},"value":{"path":["Variables","password"],"type":"path"},"placeholder":{"type":"value","value":"Password"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"password"}],"trigger":"input"}},"classes":{"cDbgXP":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tbj9SliTBkIdX2pXrYhsi":{"tag":"button","type":"element","attrs":{"type":{"type":"value","value":"submit"}},"children":["HCLrVXMJll-jJcM9Nv__V"],"classes":{"dljMVv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zcX5NNrZuI_nEoBhcjo5m":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"api":"Supabase User Signup","type":"Fetch","input":{},"onError":{"actions":[]},"onSuccess":{"actions":[]}}],"trigger":"submit"}},"children":["Rgz0koQpY3OHdnJuc5x34","Cvz3qdaM-xajf_w0HdquR","a3M9YhAfKutR3JD6g5WPA","tbj9SliTBkIdX2pXrYhsi","qYiwx6JOS0Z5RePVMh8iE","bnXJjkaQuCFFGthG5zOPk"],"classes":{"duzQzh":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"path":[{"name":"signup","type":"static"}],"query":{"email":{"name":"email"}}},"onLoad":{"actions":[{"data":{"path":["URL parameters","email"],"type":"path"},"type":"SetVariable","variable":"email"},{"name":"PostHog_Load","events":{"Ready":{"actions":[]}},"package":"posthog","version":2,"exported":true,"arguments":[{"name":"key","formula":{"type":"value","value":"phc_MaPam0qGcLCgSYQGYVZpzlHaYfXePsREsu21XOCVrtY"}},{"name":"region","formula":null},{"name":"personProfiles","formula":null},{"name":"apiHost","formula":null},{"name":"options","formula":null}]}],"trigger":"Load"},"variables":{"name":{"initialValue":{"type":"value","value":""}},"email":{"initialValue":{"type":"value","value":""}},"password":{"initialValue":{"type":"value","value":""}}}},"components":[{"name":"sl/alert","nodes":{"root":{"tag":"alert","type":"element","attrs":{"id":{"type":"switch","cases":[{"formula":{"path":["Attributes","id"],"type":"path"},"condition":{"name":"@toddle/greaterThan","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","id"],"type":"path"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"type":"value","value":"0"}}],"display_name":"Number"}}],"display_name":"Greater than"}}],"default":{"type":"value","value":false}},"open":{"type":"switch","cases":[{"formula":{"type":"value","value":false},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","isopen"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":false}}],"display_name":"Equals"}}],"default":{"type":"value","value":true}},"variant":{"type":"switch","cases":[{"formula":{"path":["Attributes","variant"],"type":"path"},"condition":{"name":"@toddle/greaterThan","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","variant"],"type":"path"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"type":"value","value":"0"}}],"display_name":"Number"}}],"display_name":"Greater than"}}],"default":{"type":"value","value":"primary"}},"closable":{"path":["Attributes","closable"],"type":"path"},"duration":{"type":"switch","cases":[{"formula":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"path":["Attributes","duration"],"type":"path"}}],"display_name":"String"},"condition":{"name":"@toddle/greaterThan","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"path":["Attributes","duration"],"type":"path"}}],"display_name":"String"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"type":"value","value":"0"}}],"display_name":"Number"}}],"display_name":"Greater than"}}],"default":{"type":"value","value":false}}},"events":{"sl-hide":{"actions":[{"data":{"type":"value","value":true},"type":"TriggerEvent","event":"alert-hide"}],"trigger":"sl-hide"},"sl-show":{"actions":[{"data":{"type":"value","value":true},"type":"TriggerEvent","event":"alert-show"}],"trigger":"sl-show"},"sl-after-hide":{"actions":[{"data":{"type":"value","value":true},"type":"TriggerEvent","event":"alert-hide-after"}],"trigger":"sl-after-hide"},"sl-after-show":{"actions":[{"data":{"type":"value","value":true},"type":"TriggerEvent","event":"alert-show-after"}],"trigger":"sl-after-show"}},"classes":{"sl-theme-dark":{"formula":{"type":"switch","cases":[{"formula":{"type":"value","value":false},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","theme"],"type":"path","label":null}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"light"}}],"display_name":"Equals"}}],"default":{"type":"value","value":true}}},"chAOKJ":{"formula":{"type":"value","value":true}}},"children":["K8jiNqul9fOwD6XjqxuKr","Rbye4ZrxLnNLM927uW6KB","ZqFvp1aZTKhri-2PBqN7h","wET5FoQZJ_xhFeYn8tEsI","LUOVx435Ziwqwee1mvnV_","dn5JJltx03dLGoK1trzeZ"],"customProperties":{}},"-495KHZeh0Qyf8lSfxK8q":{"type":"text","value":{"type":"value","value":"sl-alert:not(:defined) {\n  visibility: hidden;\n}"}},"K8jiNqul9fOwD6XjqxuKr":{"tag":"style","type":"element","children":["-495KHZeh0Qyf8lSfxK8q"],"customProperties":{}},"LUOVx435Ziwqwee1mvnV_":{"id":"LUOVx435Ziwqwee1mvnV_","tag":"link","type":"element","attrs":{"rel":{"type":"value","value":"stylesheet"},"href":{"type":"value","value":"https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.20.0/cdn/themes/dark.css"}},"condition":{"type":"switch","cases":[{"formula":{"type":"value","value":false},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","theme"],"type":"path","label":null}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"light"}}],"display_name":"Equals"}}],"label":null,"default":{"type":"value","value":true}},"customProperties":{}},"Rbye4ZrxLnNLM927uW6KB":{"id":"Rbye4ZrxLnNLM927uW6KB","tag":"sl-icon","type":"element","attrs":{"name":{"path":["Attributes","icon"],"type":"path"},"slot":{"type":"value","value":"icon"}},"condition":{"path":["Attributes","show-icon"],"type":"path","label":null},"customProperties":{}},"ZqFvp1aZTKhri-2PBqN7h":{"type":"slot"},"dn5JJltx03dLGoK1trzeZ":{"tag":"script","type":"element","attrs":{"src":{"type":"value","value":"https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.20.0/cdn/shoelace-autoloader.js"},"type":{"type":"value","value":"module"}},"customProperties":{}},"wET5FoQZJ_xhFeYn8tEsI":{"id":"wET5FoQZJ_xhFeYn8tEsI","tag":"link","type":"element","attrs":{"rel":{"type":"value","value":"stylesheet"},"href":{"type":"value","value":"https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.20.0/cdn/themes/light.css"}},"condition":{"name":"@toddle/equals","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","theme"],"type":"path","label":null}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"light"}}],"display_name":"Equals"},"customProperties":{}}},"events":[{"name":"alert-show"},{"name":"alert-hide"},{"name":"alert-show-after"},{"name":"alert-hide-after"}],"onLoad":{"actions":[],"trigger":"Load"},"version":2,"exported":true,"attributes":{"id":{"name":"id"},"icon":{"name":"icon"},"theme":{"name":"theme"},"isopen":{"name":"isopen"},"variant":{"name":"variant"},"closable":{"name":"closable"},"duration":{"name":"duration"},"show-icon":{"name":"show-icon"}}}]}