!function(){for(var e=void 0,t=!1,o="",i=document.getElementsByTagName("script"),n=0;n<i.length;n++){let r=i[n].src;if(r.indexOf("/widget/embed/")>=0&&(r.indexOf("https://app.birdie.")>=0||r.indexOf("https://app.hellozest.io")>=0)){e=i[n],t=r.indexOf("https://app.hellozest.io")>=0,o=r.split("/").pop().split("?")[0];break}}let s="color:orange; font-size:13px",d="%cMore info at https://docs.birdie.so/birdie-docs/getting-started/snippet";""==o?(console.log("%c⚠️ Birdie identifier not found, make sure you installed it correctly.",s),console.log(d,s)):t&&(console.log("%c⚠️ Outdated version of Birdie snippet detected",s),console.log("%cYou must update the snippet by changing the url from hellozest.io to birdie.so.",s),console.log(d,s));let a="https://cdn.birdie.so/widget/embed";async function l(){let t=a+"/manifest.json?r="+Date.now();try{let i=await fetch(t,{mode:"cors",credentials:"omit",cache:"reload"});if(!i.ok)throw Error("Could not fetch json");let n=await i.json(),r=n["main.js"],s=n["worker.js"];var d=document.createElement("script");d.src=a+"/"+r+"?slug="+o+"&wk="+s,d.async=!1,e&&e.nonce&&(d.nonce=e.nonce),d.crossOrigin="anonymous",(document.head||document.body||document.documentElement).appendChild(d)}catch(l){console.error("Error loading manifest:",l)}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",l,{once:!0}):l()}();
