{"version":3,"file":"TitoWidget.DIsRTDeK.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/IMgZ8PyWUqmBFkKQ7OeT/nvIYYAIZAro9awbppndI/TitoWidget.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function TitoWidget({eventSlug,height}){const containerRef=useRef(null);useEffect(()=>{const script=document.createElement(\"script\");script.src=\"https://js.tito.io/v2/with/ga4,hits,facebook\";script.async=true;document.body.appendChild(script);},[]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:`${height}px`,overflow:\"auto\",padding:\"1rem\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(\"tito-widget\",{event:eventSlug})});}addPropertyControls(TitoWidget,{eventSlug:{type:ControlType.String,title:\"Tito Event\",defaultValue:\"designx-community/dls2025/with/2-day-summit-pass-super-early-bird-discount-us-349\"},height:{type:ControlType.Number,title:\"Height (px)\",defaultValue:700,min:100,max:2e3}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TitoWidget\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TitoWidget.map"],"mappings":"0QAAmI,SAAwB,EAAW,CAAC,YAAU,UAAQ,CAAC,IAAM,EAAaA,EAAO,KAAK,CAAkL,OAAjL,MAAc,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,+CAA+C,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,EAAG,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,MAAM,OAAO,OAAO,GAAG,EAAO,IAAI,SAAS,OAAO,QAAQ,OAAO,UAAU,aAAa,CAAC,SAAsB,EAAK,cAAc,CAAC,MAAM,EAAU,CAAC,CAAC,CAAC,kBAA9iB,IAAoC,IAAoD,CAAwd,EAAoB,EAAW,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,oFAAoF,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,CAAC"}