{"version":3,"file":"TiqetsWidget.DjsSPwFa.mjs","names":[],"sources":["https:/framerusercontent.com/modules/2BMn9KOhwdOsfvcjvofm/wWleiFrgi1lQLnMZqNvi/TiqetsWidget.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function TiqetsWidget({city_id}){React.useEffect(()=>{// Ensure the script is loaded only once\nconst script=document.createElement(\"script\");script.src=\"https://widgets.tiqets.com/loader.js\";script.defer=true;document.body.appendChild(script);},[]);return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,id:\"tiqets-widget-container\",children:/*#__PURE__*/_jsx(\"div\",{\"data-tiqets-widget\":\"discovery\",\"data-cards-layout\":\"vertical\",\"data-content-type\":\"product\",\"data-item_count\":\"3\",\"data-destination-type\":\"city\",\"data-destination-id\":city_id,\"data-partner\":\"ingry\"})});}// Define property controls for the component in Framer\naddPropertyControls(TiqetsWidget,{city_id:{type:ControlType.String,title:\"City ID\",defaultValue:\"12345\"}});const containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TiqetsWidget\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TiqetsWidget.map"],"mappings":"0KAA2H,SAAwB,EAAa,CAAC,WAAS,CAChB,OADiB,MAAoB,CAC/L,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,uCAAuC,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,EAAG,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,EAAe,GAAG,0BAA0B,SAAsB,EAAK,MAAM,CAAC,qBAAqB,YAAY,oBAAoB,WAAW,oBAAoB,UAAU,kBAAkB,IAAI,wBAAwB,OAAO,sBAAsB,EAAQ,eAAe,QAAQ,CAAC,CAAC,CAAC,oBAD9a,IAA4B,IAAoD,CAE3H,EAAoB,EAAa,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,QAAQ,CAAC,CAAC,CAAO,EAAe,CAAC,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,SAAS"}