var IP,clickOnBook=!1,modals=[];function sleep(e){return new Promise((n=>setTimeout(n,e)))}const initIp=async()=>{await fetch("https://api64.ipify.org?format=json").then((e=>e.json())).then((e=>{IP=e.ip})).catch((e=>{console.error("Error fetching IP address:",e)}))},sendAnalytics=async e=>{await fetch("https://analytics.takyon.io/save",{method:"post",body:JSON.stringify({...e,IP:IP}),headers:{"Content-Type":"application/json"}})},renderTemplate=(e,n)=>{let a=e;return Object.keys(n).forEach((e=>{a=a.split(e).join(n[e])})),a},htmlTag=e=>`\n
__RATENAME__
\n \n__POWERED__
\n\n \n