{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/NjF84sARqYdH3cDZmG0e/XythCxC8uv1zTVeXGj3U/SequelIntegrationIframe.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType,addPropertyControls}from\"framer\";import{useEffect,useRef}from\"react\";/**\n * These annotations control how your component sizes\n *\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function SequelIntegrationIframe(props){const{style,eventId}=props;// This is a React component containing an Example component\n// - Replace <Example /> with your own code\n// - Find inspiration: https://www.framer.com/developers/\nconst containerRef=useRef(null);const hasInsertedRef=useRef(false)// track iframe injection\n;useEffect(()=>{console.log(!containerRef.current,hasInsertedRef.current,!window,\"Integrated\");if(!containerRef.current||hasInsertedRef.current||!window)return;const u=new URLSearchParams(window.location.search);const i=document.createElement(\"iframe\");i.className=\"sequel-iframe\";i.title=\"Sequel event\";i.src=`https://embed.sequel.io/event/${eventId}${u.toString()?\"?\"+u.toString():\"\"}`;i.frameBorder=\"0\";i.allow=\"camera *; microphone *; autoplay; display-capture *; picture-in-picture\";i.allowFullscreen=true;const isMobile=window.innerWidth<768;i.style.cssText=`\n      width: 100%;\n      height: ${isMobile?\"90vh\":\"80vh\"};\n      border-radius: 12px;\n      border: 1px solid #DBDFEC;\n      box-shadow: 3px 3px 10px 0 rgba(20, 20, 43, 0.04);\n    `;containerRef.current.appendChild(i);hasInsertedRef.current=true;},[eventId]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"90vw\",paddingTop:\"48px\"}});}// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\naddPropertyControls(SequelIntegrationIframe,{eventId:{title:\"Event ID\",type:ControlType.String,defaultValue:\"aceb3181-2904-47a1-abca-bbce13353e82\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SequelIntegrationIframe\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SequelIntegrationIframe.map"],
  "mappings": "gJASkB,SAARA,EAAyCC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,QAAAC,CAAO,EAAEF,EAGzEG,EAAaC,EAAO,IAAI,EAAQC,EAAeD,EAAO,EAAK,EAChE,OAAAE,EAAU,IAAI,CAAgF,GAA/E,QAAQ,IAAI,CAACH,EAAa,QAAQE,EAAe,QAAQ,CAACE,EAAO,YAAY,EAAK,CAACJ,EAAa,SAASE,EAAe,SAAS,CAACE,EAAO,OAAO,IAAMC,EAAE,IAAI,gBAAgBD,EAAO,SAAS,MAAM,EAAQE,EAAE,SAAS,cAAc,QAAQ,EAAEA,EAAE,UAAU,gBAAgBA,EAAE,MAAM,eAAeA,EAAE,IAAI,iCAAiCP,CAAO,GAAGM,EAAE,SAAS,EAAE,IAAIA,EAAE,SAAS,EAAE,EAAE,GAAGC,EAAE,YAAY,IAAIA,EAAE,MAAM,0EAA0EA,EAAE,gBAAgB,GAAK,IAAMC,EAASH,EAAO,WAAW,IAAIE,EAAE,MAAM,QAAQ;AAAA;AAAA,gBAEpiBC,EAAS,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA,MAIhCP,EAAa,QAAQ,YAAYM,CAAC,EAAEJ,EAAe,QAAQ,EAAK,EAAE,CAACH,CAAO,CAAC,EAAsBS,EAAK,MAAM,CAAC,IAAIR,EAAa,MAAM,CAAC,MAAM,OAAO,WAAW,MAAM,CAAC,CAAC,CAAE,CAE7KS,EAAoBb,EAAwB,CAAC,QAAQ,CAAC,MAAM,WAAW,KAAKc,EAAY,OAAO,aAAa,sCAAsC,CAAC,CAAC",
  "names": ["SequelIntegrationIframe", "props", "style", "eventId", "containerRef", "pe", "hasInsertedRef", "ue", "window", "u", "i", "isMobile", "p", "addPropertyControls", "ControlType"]
}
