{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/A1XfIIyiIh8BoJbysUfy/IQmz8bPuMZkbDoIrqLTd/GlitchbotGate.js", "ssg:https://framerusercontent.com/modules/pVovPxRnMWWb2a7Bmyjf/DJjhqaYWu0l1M28CmgdD/GlobalMuteButton.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function GlitchbotGate(props){const[verified,setVerified]=useState(false);useEffect(()=>{const url=new URL(window.location.href);const token=url.searchParams.get(\"token\");// \u2705 Allow Framer Preview or Studio edit mode\nif(url.hostname.includes(\"framer\")||url.hostname.includes(\"localhost\")){setVerified(true);return;}// \u274C No token in production\nif(!token){window.location.href=\"/locked\";return;}setVerified(true);},[]);if(!verified)return null;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\"},children:props.children});}addPropertyControls(GlitchbotGate,{children:{type:ControlType.ComponentInstance}});\nexport const __FramerMetadata__ = {\"exports\":{\"GlitchbotGate\":{\"type\":\"reactComponent\",\"name\":\"GlitchbotGate\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlitchbotGate.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{Frame,addPropertyControls}from\"framer\";export function GlobalMuteButton(){const[muted,setMuted]=useState(false)// sound is ON by default\n;useEffect(()=>{const mediaElements=document.querySelectorAll(\"audio, video\");mediaElements.forEach(el=>{el.muted=muted;});},[muted]);return /*#__PURE__*/_jsx(Frame,{onTap:()=>setMuted(prev=>!prev),width:50,height:50,background:\"transparent\",style:{fontSize:30,color:\"#fff\",textAlign:\"center\",lineHeight:\"50px\",textShadow:\"0 0 6px #a855f7\",cursor:\"pointer\",userSelect:\"none\"},top:20,right:20,children:muted?\"\uD83D\uDD07\":\"\uD83D\uDD0A\"});}addPropertyControls(GlobalMuteButton,{});\nexport const __FramerMetadata__ = {\"exports\":{\"GlobalMuteButton\":{\"type\":\"reactComponent\",\"name\":\"GlobalMuteButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlobalMuteButton.map"],
  "mappings": "uJAA4I,SAASA,EAAcC,EAAM,CAAC,GAAK,CAACC,EAASC,CAAW,EAAEC,EAAS,EAAK,EAE1I,OAF4IC,EAAU,IAAI,CAAC,IAAMC,EAAI,IAAI,IAAIC,EAAO,SAAS,IAAI,EAAQC,EAAMF,EAAI,aAAa,IAAI,OAAO,EACrT,GAAGA,EAAI,SAAS,SAAS,QAAQ,GAAGA,EAAI,SAAS,SAAS,WAAW,EAAE,CAACH,EAAY,EAAI,EAAE,MAAO,CACjG,GAAG,CAACK,EAAM,CAACD,EAAO,SAAS,KAAK,UAAU,MAAO,CAACJ,EAAY,EAAI,CAAE,EAAE,CAAC,CAAC,EAAMD,EAAyCO,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,EAAE,SAASR,EAAM,QAAQ,CAAC,EAAhG,IAAkG,CAACS,EAAoBV,EAAc,CAAC,SAAS,CAAC,KAAKW,EAAY,iBAAiB,CAAC,CAAC,ECF5I,SAASC,GAAkB,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,EAAK,EACrM,OAAAC,EAAU,IAAI,CAAqB,SAAS,iBAAiB,cAAc,EAAgB,QAAQC,GAAI,CAACA,EAAG,MAAMJ,CAAM,CAAC,CAAE,EAAE,CAACA,CAAK,CAAC,EAAsBK,EAAKC,EAAM,CAAC,MAAM,IAAIL,EAASM,GAAM,CAACA,CAAI,EAAE,MAAM,GAAG,OAAO,GAAG,WAAW,cAAc,MAAM,CAAC,SAAS,GAAG,MAAM,OAAO,UAAU,SAAS,WAAW,OAAO,WAAW,kBAAkB,OAAO,UAAU,WAAW,MAAM,EAAE,IAAI,GAAG,MAAM,GAAG,SAASP,EAAM,YAAK,WAAI,CAAC,CAAE,CAACQ,EAAoBT,EAAiB,CAAC,CAAC",
  "names": ["GlitchbotGate", "props", "verified", "setVerified", "ye", "ue", "url", "window", "token", "p", "addPropertyControls", "ControlType", "GlobalMuteButton", "muted", "setMuted", "ye", "ue", "el", "p", "Frame", "prev", "addPropertyControls"]
}
