{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/v5SXuxPSz0WilLnBDXjA/KELM1Di5NFrVRBeqtV7g/Resy_button_madison.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function ResyButtonMadison(){// Effect to load the script and initialize the Resy widget after component mounts\nuseEffect(()=>{// Create script element\nconst script=document.createElement(\"script\");script.src=\"https://widgets.resy.com/embed.js\";script.async=true;script.onload=()=>{// Once script is loaded, initialize the Resy button\nresyWidget.addButton(document.getElementById(\"resyButton-kQp6aowQzbAO05xCUu-gZ\"),{venueId:54578,apiKey:\"qIwcK7ARYYr2SECHR22QP4yZowMvt4Ys\",replace:true});};// Append the script to the body\ndocument.body.appendChild(script);// Cleanup: remove the script on component unmount\nreturn()=>{document.body.removeChild(script);};},[]);return /*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\"},children:/*#__PURE__*/_jsx(\"a\",{href:\"https://resy.com/cities/ny/avra-madison\",id:\"resyButton-kQp6aowQzbAO05xCUu-gZ\",children:\"Book your Avra Madison reservation on Resy\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"ResyButtonMadison\":{\"type\":\"reactComponent\",\"name\":\"ResyButtonMadison\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Resy_button_madison.map"],
  "mappings": "gDAA+E,SAASA,GAAmB,CAC3G,OAAAC,EAAU,IAAI,CACd,IAAMC,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,oCAAoCA,EAAO,MAAM,GAAKA,EAAO,OAAO,IAAI,CACjI,WAAW,UAAU,SAAS,eAAe,kCAAkC,EAAE,CAAC,QAAQ,MAAM,OAAO,mCAAmC,QAAQ,EAAI,CAAC,CAAE,EACzJ,SAAS,KAAK,YAAYA,CAAM,EAC1B,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsBC,EAAK,MAAM,CAAC,MAAM,CAAC,UAAU,QAAQ,EAAE,SAAsBA,EAAK,IAAI,CAAC,KAAK,0CAA0C,GAAG,mCAAmC,SAAS,4CAA4C,CAAC,CAAC,CAAC,CAAE",
  "names": ["ResyButtonMadison", "ue", "script", "p"]
}
