{"version":3,"file":"PopupCloseButton.DFS0wnjD.mjs","names":[],"sources":["https:/framerusercontent.com/modules/BMlUwnyOVFYbyxW5nmIO/TsyE1hYOM4AGEHHhwJBH/PopupClose.js","https:/framerusercontent.com/modules/dBRgRdeFCFrYSX3pizne/PNlTIf3IF7Tec4pi5C5O/PopupCloseButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function hidePopup(Component){return({...props})=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>window.__hideLeadPopup?.()});};}export function triggerPopup(Component){return({...props})=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>window.__showLeadPopup?.()});};}\nexport const __FramerMetadata__ = {\"exports\":{\"hidePopup\":{\"type\":\"reactHoc\",\"name\":\"hidePopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"triggerPopup\":{\"type\":\"reactHoc\",\"name\":\"triggerPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PopupClose.map","// PopupCloseButton.tsx — Framer Code Component\n// Drop this directly onto your popup card as the X button.\n// Resize and style it freely in Framer.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function PopupCloseButton({size=32,color=\"rgba(255,255,255,0.6)\",hoverColor=\"#ffffff\",fontSize=22}){return /*#__PURE__*/_jsx(\"div\",{onClick:()=>{window.__hideLeadPopup?.();window.__hideVipPopup?.();},onMouseEnter:e=>{e.currentTarget.style.color=hoverColor;},onMouseLeave:e=>{e.currentTarget.style.color=color;},style:{width:size,height:size,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",color:color,fontSize:fontSize,lineHeight:1,userSelect:\"none\",WebkitUserSelect:\"none\"},children:\"\\xd7\"});}addPropertyControls(PopupCloseButton,{size:{type:ControlType.Number,title:\"Size\",defaultValue:32,min:16,max:80},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:22,min:12,max:60},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"rgba(255,255,255,0.6)\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#ffffff\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PopupCloseButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PopupCloseButton.map"],"mappings":"2KAA2C,SAAgB,EAAU,EAAU,CAAC,OAAO,CAAC,GAAG,KAA8B,EAAK,EAAU,CAAC,GAAG,EAAM,YAAY,EAAO,kBAAkB,CAAC,CAAC,CAAI,qBAAnJ,KCGqD,SAAwB,EAAiB,CAAC,OAAK,GAAG,QAAM,wBAAwB,aAAW,UAAU,WAAS,IAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,YAAY,CAAC,EAAO,kBAAkB,EAAE,EAAO,iBAAiB,CAAE,EAAE,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,MAAM,CAAW,EAAE,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,MAAM,CAAM,EAAE,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,OAAO,UAAgB,QAAe,WAAS,WAAW,EAAE,WAAW,OAAO,iBAAiB,MAAM,EAAE,SAAS,GAAM,CAAC,CAAE,qBAA7kB,IAAoD,EAA0hB,EAAoB,EAAiB,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,GAAG,IAAI,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,GAAG,IAAI,EAAE,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,uBAAuB,EAAE,WAAW,CAAC,KAAK,EAAY,MAAM,MAAM,cAAc,aAAa,SAAS,CAAC,CAAC"}