{"version":3,"file":"MDX_EmailCapture.C_Cyhm8Y.mjs","names":["React.useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/3MJ5wBKQytX7BxioMgdn/xP8R2IGI9UJIVsbXLn6T/MDX_EmailCapture.js"],"sourcesContent":["/*\n * © 2026 MODAX\n * All Rights Reserved.\n * This component is part of the MODAX UI Systems.\n * Unauthorized copying, redistribution, or resale is prohibited.\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function MDX_EmailCapture({layout=\"inline\",barPosition=\"bottom\",barBehavior=\"fixed\",glassTint=\"light\",cornerRadius=16,blurStrength=12,transparency=.15,headline=\"Get MODAX updates\",subtext=\"New components, tips, and discounts — straight to your inbox.\",placeholder=\"your@email.com\",buttonText=\"Subscribe →\",enableMinimize=true,minimizedButtonStyle=\"pill\",minimizedButtonText=\"Subscribe\",minimizedIcon=\"email\",minimizedButtonPosition=\"bottom-right\",minimizedButtonBottom=24,minimizedButtonRight=24,minimizedButtonTop=24,minimizedButtonLeft=24,successMessage=\"Thanks for subscribing!\",redirectUrl=\"\",doubleOptIn=false,apiEndpoint=\"https://your-vercel-api.vercel.app/api/subscribe\",showAfterSeconds=5,showOnScrollPercent=50,exitIntent=true,textColor=\"#ffffff\",subtextColor=\"rgba(255,255,255,0.7)\",inputBgColor=\"rgba(255,255,255,0.15)\",inputBorderColor=\"rgba(255,255,255,0.2)\",buttonBgColor=\"#ffffff\",buttonHoverColor=\"#e5e5e5\",buttonTextColor=\"#000000\",onSubscribe}){const[email,setEmail]=React.useState(\"\");const[status,setStatus]=React.useState(\"idle\");const[message,setMessage]=React.useState(\"\");const[isVisible,setIsVisible]=React.useState(layout!==\"popup\"&&layout!==\"bar\");const[isMinimized,setIsMinimized]=React.useState(false);const[hasBeenClosed,setHasBeenClosed]=React.useState(false);const[isMobile,setIsMobile]=React.useState(false);// Detect mobile screen size\nReact.useEffect(()=>{const checkMobile=()=>{setIsMobile(window.innerWidth<768);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);// Detect theme for \"auto\" glass tint\nconst[detectedTint,setDetectedTint]=React.useState(\"light\");React.useEffect(()=>{if(glassTint===\"auto\"){const checkTheme=()=>{const isDark=document.body.classList.contains(\"framer-dark\")||window.matchMedia(\"(prefers-color-scheme: dark)\").matches;setDetectedTint(isDark?\"dark\":\"light\");};checkTheme();const observer=new MutationObserver(checkTheme);observer.observe(document.body,{attributes:true,attributeFilter:[\"class\"]});const mediaQuery=window.matchMedia(\"(prefers-color-scheme: dark)\");mediaQuery.addEventListener(\"change\",checkTheme);return()=>{observer.disconnect();mediaQuery.removeEventListener(\"change\",checkTheme);};}},[glassTint]);const activeTint=glassTint===\"auto\"?detectedTint:glassTint;const getGlassBackground=()=>{if(activeTint===\"dark\"){return`rgba(0, 0, 0, ${transparency})`;}return`rgba(255, 255, 255, ${transparency})`;};const getGlassBorder=()=>{if(activeTint===\"dark\"){return\"1px solid rgba(255, 255, 255, 0.1)\";}return\"1px solid rgba(255, 255, 255, 0.3)\";};// Get icon based on selection\nconst getMinimizedIcon=()=>{switch(minimizedIcon){case\"chat\":return\"💬\";case\"bell\":return\"🔔\";case\"plus\":return\"+\";default:return\"✉️\";}};// Get minimized button position and style\nconst getMinimizedButtonStyle=()=>{const isCircular=minimizedButtonStyle===\"circular\";const basePosition={position:\"fixed\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:isCircular?\"0\":\"8px\",flexDirection:isCircular?\"column\":\"row\",backdropFilter:`blur(${blurStrength}px)`,background:getGlassBackground(),border:getGlassBorder(),color:textColor,cursor:\"pointer\",boxShadow:\"0 4px 12px rgba(0,0,0,0.15)\",transition:\"transform 0.2s, box-shadow 0.2s\",zIndex:9999,fontFamily:\"system-ui, -apple-system, sans-serif\"};const circularStyle={...basePosition,width:\"56px\",height:\"56px\",borderRadius:\"50%\",fontSize:\"12px\",textAlign:\"center\",lineHeight:\"1.2\",padding:\"8px\"};const pillStyle={...basePosition,padding:\"12px 20px\",borderRadius:\"40px\",fontSize:\"14px\",fontWeight:600};const currentStyle=isCircular?circularStyle:pillStyle;switch(minimizedButtonPosition){case\"bottom-left\":return{...currentStyle,bottom:`${minimizedButtonBottom}px`,left:`${minimizedButtonLeft}px`,right:\"auto\",top:\"auto\"};case\"top-right\":return{...currentStyle,top:`${minimizedButtonTop}px`,right:`${minimizedButtonRight}px`,bottom:\"auto\",left:\"auto\"};case\"top-left\":return{...currentStyle,top:`${minimizedButtonTop}px`,left:`${minimizedButtonLeft}px`,bottom:\"auto\",right:\"auto\"};case\"custom\":return{...currentStyle,bottom:minimizedButtonBottom!==24?`${minimizedButtonBottom}px`:\"auto\",right:minimizedButtonRight!==24?`${minimizedButtonRight}px`:\"auto\",top:minimizedButtonTop!==24?`${minimizedButtonTop}px`:\"auto\",left:minimizedButtonLeft!==24?`${minimizedButtonLeft}px`:\"auto\"};default:return{...currentStyle,bottom:`${minimizedButtonBottom}px`,right:`${minimizedButtonRight}px`,top:\"auto\",left:\"auto\"};}};// Auto-show triggers (only for popup and bar)\nReact.useEffect(()=>{if(layout!==\"popup\"&&layout!==\"bar\")return;if(isVisible)return;if(hasBeenClosed&&enableMinimize&&layout===\"popup\")return;let timeout;let scrollHandler;let mouseLeaveHandler;if(showAfterSeconds>0&&!hasBeenClosed){timeout=setTimeout(()=>setIsVisible(true),showAfterSeconds*1e3);}if(showOnScrollPercent>0&&!hasBeenClosed){scrollHandler=()=>{const scrolled=window.scrollY;const total=document.body.scrollHeight-window.innerHeight;const percent=total>0?scrolled/total*100:0;if(percent>=showOnScrollPercent){setIsVisible(true);window.removeEventListener(\"scroll\",scrollHandler);}};window.addEventListener(\"scroll\",scrollHandler);}// Exit intent ONLY for popup layout\nif(exitIntent&&!hasBeenClosed&&layout===\"popup\"){mouseLeaveHandler=e=>{if(e.clientY<=0){setIsVisible(true);document.removeEventListener(\"mouseleave\",mouseLeaveHandler);}};document.addEventListener(\"mouseleave\",mouseLeaveHandler);}return()=>{if(timeout)clearTimeout(timeout);if(scrollHandler)window.removeEventListener(\"scroll\",scrollHandler);if(mouseLeaveHandler)document.removeEventListener(\"mouseleave\",mouseLeaveHandler);};},[layout,showAfterSeconds,showOnScrollPercent,exitIntent,isVisible,hasBeenClosed,enableMinimize]);const handleSubmit=async e=>{e.preventDefault();if(!email||!email.includes(\"@\")||!email.includes(\".\")){setStatus(\"error\");setMessage(\"Please enter a valid email address.\");return;}setStatus(\"loading\");setMessage(\"\");try{const response=await fetch(apiEndpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email:email.trim().toLowerCase(),doubleOptIn:doubleOptIn,source:\"modax-website\"})});const data=await response.json();if(data.success){setStatus(\"success\");setMessage(data.message||successMessage);setEmail(\"\");if(onSubscribe)onSubscribe(email);if(redirectUrl){setTimeout(()=>{window.location.href=redirectUrl;},1500);}if(layout===\"popup\"){setTimeout(()=>{setIsVisible(false);if(enableMinimize){setIsMinimized(true);setHasBeenClosed(true);}},2e3);}else if(layout===\"bar\"){setTimeout(()=>{setIsVisible(false);},2e3);}}else{setStatus(\"error\");setMessage(data.message||\"Something went wrong. Please try again.\");}}catch(error){console.error(\"Fetch error:\",error);setStatus(\"error\");setMessage(\"Network error. Please check your connection.\");}};const handleClose=()=>{setIsVisible(false);if(layout===\"popup\"&&enableMinimize){setIsMinimized(true);setHasBeenClosed(true);}};const handleOpenMinimized=()=>{setIsMinimized(false);setIsVisible(true);setHasBeenClosed(false);setStatus(\"idle\");setMessage(\"\");};const glassStyle={backdropFilter:`blur(${blurStrength}px)`,background:getGlassBackground(),borderRadius:cornerRadius,border:getGlassBorder(),boxShadow:\"0 8px 32px rgba(0, 0, 0, 0.1)\"};const barGlassStyle={backdropFilter:`blur(${blurStrength}px)`,background:getGlassBackground(),borderTop:barPosition===\"bottom\"?\"none\":getGlassBorder(),borderBottom:barPosition===\"top\"?\"none\":getGlassBorder(),borderLeft:\"none\",borderRight:\"none\",boxShadow:barPosition===\"top\"?\"0 4px 20px rgba(0, 0, 0, 0.1)\":\"0 -4px 20px rgba(0, 0, 0, 0.1)\"};const inlineGlassStyle={background:getGlassBackground(),borderRadius:cornerRadius,border:getGlassBorder()};const getContainerStyles=()=>{const baseStyles={boxSizing:\"border-box\",fontFamily:\"system-ui, -apple-system, sans-serif\"};switch(layout){case\"card\":return{...baseStyles,...glassStyle,padding:\"28px\",maxWidth:\"420px\",width:\"100%\",margin:\"0 auto\"};case\"inline\":return{...baseStyles,...inlineGlassStyle,padding:\"24px\",width:\"100%\"};case\"popup\":if(!isVisible)return{display:\"none\"};return{...baseStyles,...glassStyle,position:\"fixed\",bottom:\"24px\",right:\"24px\",maxWidth:\"380px\",width:\"calc(100% - 48px)\",padding:\"28px\",zIndex:9998,animation:\"slideUp 0.3s ease\"};case\"bar\":if(!isVisible)return{display:\"none\"};const isFixed=barBehavior===\"fixed\";return{...baseStyles,...barGlassStyle,position:isFixed?\"fixed\":\"absolute\",top:barPosition===\"top\"?0:\"auto\",bottom:barPosition===\"bottom\"?0:\"auto\",left:0,right:0,padding:\"16px 24px\",zIndex:isFixed?9999:1,animation:barPosition===\"top\"?\"slideDown 0.3s ease\":\"slideUp 0.3s ease\"};default:return{...baseStyles,...glassStyle,width:\"100%\",padding:\"28px\"};}};const containerStyles=getContainerStyles();// Show minimized button if popup is minimized\nif(layout===\"popup\"&&enableMinimize&&isMinimized&&!isVisible){const buttonStyle=getMinimizedButtonStyle();const isCircular=minimizedButtonStyle===\"circular\";return /*#__PURE__*/_jsxs(\"button\",{onClick:handleOpenMinimized,style:buttonStyle,onMouseEnter:e=>{e.currentTarget.style.transform=\"translateY(-2px)\";e.currentTarget.style.boxShadow=\"0 6px 16px rgba(0,0,0,0.2)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"translateY(0)\";e.currentTarget.style.boxShadow=\"0 4px 12px rgba(0,0,0,0.15)\";},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:isCircular?\"24px\":\"18px\"},children:getMinimizedIcon()}),!isCircular&&/*#__PURE__*/_jsx(\"span\",{children:minimizedButtonText}),isCircular&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"10px\",marginTop:\"4px\"},children:minimizedButtonText})]});}if((layout===\"popup\"||layout===\"bar\")&&!isVisible){return null;}// For bar and inline layouts on desktop, use two-column grid\nconst isDesktopLayout=(layout===\"inline\"||layout===\"bar\")&&!isMobile;return /*#__PURE__*/_jsxs(\"div\",{style:containerStyles,children:[(layout===\"popup\"||layout===\"bar\")&&/*#__PURE__*/_jsx(\"button\",{onClick:handleClose,style:{position:\"absolute\",top:layout===\"bar\"?\"50%\":\"12px\",right:\"16px\",transform:layout===\"bar\"?\"translateY(-50%)\":\"none\",background:\"rgba(0,0,0,0.1)\",border:\"none\",fontSize:\"18px\",cursor:\"pointer\",color:activeTint===\"dark\"?\"rgba(255,255,255,0.7)\":\"rgba(0,0,0,0.7)\",padding:\"4px 8px\",lineHeight:1,borderRadius:\"8px\",transition:\"background 0.2s\",zIndex:10},onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0,0,0,0.2)\";},onMouseLeave:e=>{e.currentTarget.style.background=\"rgba(0,0,0,0.1)\";},\"aria-label\":\"Close\",children:\"\\xd7\"}),isDesktopLayout?// Desktop inline/bar: Two-column layout\n/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:\"32px\",flexWrap:\"wrap\",paddingRight:layout===\"bar\"?\"40px\":\"0\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{flex:1,minWidth:\"200px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 4px 0\",fontSize:layout===\"bar\"?\"16px\":\"20px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0\",fontSize:layout===\"bar\"?\"12px\":\"14px\",color:subtextColor,lineHeight:1.4},children:subtext})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:\"300px\"},children:[/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",gap:\"12px\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{flex:1,padding:layout===\"bar\"?\"10px 16px\":\"14px 18px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:layout===\"bar\"?\"13px\":\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:layout===\"bar\"?\"10px 20px\":\"14px 24px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:layout===\"bar\"?\"13px\":\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\",whiteSpace:\"nowrap\",flexShrink:0},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;e.currentTarget.style.transform=\"translateY(-1px)\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;e.currentTarget.style.transform=\"translateY(0)\";},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"8px 0 0 0\",fontSize:\"11px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\"},children:message})]})]}):(layout===\"inline\"||layout===\"bar\")&&isMobile?// Mobile inline/bar: Stacked layout\n/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor,textAlign:\"center\",paddingRight:layout===\"bar\"?\"30px\":\"0\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px 0\",fontSize:\"18px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 16px 0\",fontSize:\"13px\",color:subtextColor,lineHeight:1.4},children:subtext})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:\"10px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{padding:\"12px 16px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:\"12px 20px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\"},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"12px 0 0 0\",fontSize:\"11px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\",textAlign:\"center\"},children:message})]}):layout===\"card\"?// Card layout (vertical, centered)\n/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor,textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px 0\",fontSize:\"20px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 20px 0\",fontSize:\"14px\",color:subtextColor,lineHeight:1.5},children:subtext})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 18px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 24px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\"},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"16px 0 0 0\",fontSize:\"12px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\",textAlign:\"center\"},children:message})]}):// Popup layout (original vertical)\n/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{color:textColor},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px 0\",fontSize:\"20px\",fontWeight:600},children:headline}),subtext&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 20px 0\",fontSize:\"14px\",color:subtextColor,lineHeight:1.5},children:subtext})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:\"column\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:placeholder,disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 18px\",borderRadius:cornerRadius,border:`1px solid ${inputBorderColor}`,backgroundColor:inputBgColor,color:textColor,fontSize:\"14px\",outline:\"none\",transition:\"all 0.2s\",boxSizing:\"border-box\"},onFocus:e=>{e.currentTarget.style.borderColor=\"rgba(255,255,255,0.5)\";e.currentTarget.style.backgroundColor=\"rgba(255,255,255,0.25)\";},onBlur:e=>{e.currentTarget.style.borderColor=inputBorderColor;e.currentTarget.style.backgroundColor=inputBgColor;}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"loading\"||status===\"success\",style:{padding:\"14px 24px\",borderRadius:cornerRadius,backgroundColor:buttonBgColor,color:buttonTextColor,border:\"none\",fontSize:\"14px\",fontWeight:600,cursor:status===\"loading\"||status===\"success\"?\"default\":\"pointer\",transition:\"all 0.2s\"},onMouseEnter:e=>{if(status!==\"loading\"&&status!==\"success\"){e.currentTarget.style.backgroundColor=buttonHoverColor;e.currentTarget.style.transform=\"translateY(-1px)\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonBgColor;e.currentTarget.style.transform=\"translateY(0)\";},children:status===\"loading\"?\"Subscribing...\":status===\"success\"?\"✓ Subscribed!\":buttonText})]}),message&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"16px 0 0 0\",fontSize:\"12px\",color:status===\"error\"?\"#ff6b6b\":\"#51cf66\",textAlign:\"center\"},children:message})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n        @keyframes slideUp {\n          from {\n            opacity: 0;\n            transform: translateY(20px);\n          }\n          to {\n            opacity: 1;\n            transform: translateY(0);\n          }\n        }\n        @keyframes slideDown {\n          from {\n            opacity: 0;\n            transform: translateY(-20px);\n          }\n          to {\n            opacity: 1;\n            transform: translateY(0);\n          }\n        }\n      `})]});}addPropertyControls(MDX_EmailCapture,{layout:{type:ControlType.Enum,title:\"Layout\",options:[\"inline\",\"card\",\"popup\",\"bar\"],optionTitles:[\"Inline (2-column on desktop)\",\"Card (centered, vertical)\",\"Popup (floating)\",\"Bar (sticky top/bottom)\"],defaultValue:\"inline\"},barPosition:{type:ControlType.Enum,title:\"Bar Position\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],defaultValue:\"bottom\",hidden:props=>props.layout!==\"bar\"},barBehavior:{type:ControlType.Enum,title:\"Bar Behavior\",options:[\"fixed\",\"absolute\"],optionTitles:[\"Fixed to viewport\",\"Stays in container\"],defaultValue:\"fixed\",hidden:props=>props.layout!==\"bar\"},glassTint:{type:ControlType.Enum,title:\"Glass Tint\",options:[\"light\",\"dark\",\"auto\"],optionTitles:[\"Light\",\"Dark\",\"Auto\"],defaultValue:\"light\"},cornerRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:16,min:0,max:32,step:1},blurStrength:{type:ControlType.Number,title:\"Blur Strength\",defaultValue:12,min:0,max:24,step:1},transparency:{type:ControlType.Number,title:\"Glass Opacity\",defaultValue:.15,min:0,max:.5,step:.01},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Get MODAX updates\"},subtext:{type:ControlType.String,title:\"Subtext\",defaultValue:\"New components, tips, and discounts — straight to your inbox.\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"your@email.com\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Subscribe →\"},// Popup minimize settings\nenableMinimize:{type:ControlType.Boolean,title:\"Enable Minimize\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:props=>props.layout!==\"popup\"},minimizedButtonStyle:{type:ControlType.Enum,title:\"Button Style\",options:[\"pill\",\"circular\"],optionTitles:[\"Pill (with text)\",\"Circular (icon + wrap text)\"],defaultValue:\"pill\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedButtonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Subscribe\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedIcon:{type:ControlType.Enum,title:\"Icon\",options:[\"email\",\"chat\",\"bell\",\"plus\"],optionTitles:[\"✉️ Email\",\"💬 Chat\",\"🔔 Bell\",\"➕ Plus\"],defaultValue:\"email\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedButtonPosition:{type:ControlType.Enum,title:\"Button Position\",options:[\"bottom-right\",\"bottom-left\",\"top-right\",\"top-left\",\"custom\"],optionTitles:[\"Bottom Right\",\"Bottom Left\",\"Top Right\",\"Top Left\",\"Custom\"],defaultValue:\"bottom-right\",hidden:props=>props.layout!==\"popup\"||!props.enableMinimize},minimizedButtonBottom:{type:ControlType.Number,title:\"Bottom Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"bottom-right\"&&props.minimizedButtonPosition!==\"bottom-left\"&&props.minimizedButtonPosition!==\"custom\"},minimizedButtonRight:{type:ControlType.Number,title:\"Right Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"bottom-right\"&&props.minimizedButtonPosition!==\"top-right\"&&props.minimizedButtonPosition!==\"custom\"},minimizedButtonTop:{type:ControlType.Number,title:\"Top Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"top-right\"&&props.minimizedButtonPosition!==\"top-left\"&&props.minimizedButtonPosition!==\"custom\"},minimizedButtonLeft:{type:ControlType.Number,title:\"Left Offset (px)\",defaultValue:24,min:0,max:200,step:4,hidden:props=>props.layout!==\"popup\"||!props.enableMinimize||props.minimizedButtonPosition!==\"bottom-left\"&&props.minimizedButtonPosition!==\"top-left\"&&props.minimizedButtonPosition!==\"custom\"},successMessage:{type:ControlType.String,title:\"Success Message\",defaultValue:\"Thanks for subscribing!\"},redirectUrl:{type:ControlType.String,title:\"Redirect URL\",defaultValue:\"\"},doubleOptIn:{type:ControlType.Boolean,title:\"Double Opt-in\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},apiEndpoint:{type:ControlType.String,title:\"API Endpoint\",defaultValue:\"https://your-vercel-api.vercel.app/api/subscribe\"},showAfterSeconds:{type:ControlType.Number,title:\"Show After (seconds)\",defaultValue:5,min:0,max:30,step:1,hidden:props=>props.layout!==\"popup\"&&props.layout!==\"bar\"},showOnScrollPercent:{type:ControlType.Number,title:\"Show at Scroll %\",defaultValue:50,min:0,max:100,step:5,hidden:props=>props.layout!==\"popup\"&&props.layout!==\"bar\"},exitIntent:{type:ControlType.Boolean,title:\"Exit Intent\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:props=>props.layout!==\"popup\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#ffffff\"},subtextColor:{type:ControlType.Color,title:\"Subtext Color\",defaultValue:\"rgba(255,255,255,0.7)\"},inputBgColor:{type:ControlType.Color,title:\"Input Background\",defaultValue:\"rgba(255,255,255,0.15)\"},inputBorderColor:{type:ControlType.Color,title:\"Input Border\",defaultValue:\"rgba(255,255,255,0.2)\"},buttonBgColor:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#ffffff\"},buttonHoverColor:{type:ControlType.Color,title:\"Button Hover\",defaultValue:\"#e5e5e5\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MDX_EmailCapture\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MDX_EmailCapture.map"],"mappings":"6MAKkK,SAAwB,EAAiB,CAAC,SAAO,SAAS,cAAY,SAAS,cAAY,QAAQ,YAAU,QAAQ,eAAa,GAAG,eAAa,GAAG,eAAa,IAAI,WAAS,oBAAoB,UAAQ,gEAAgE,cAAY,iBAAiB,aAAW,cAAc,iBAAe,GAAK,uBAAqB,OAAO,sBAAoB,YAAY,iBAAc,QAAQ,2BAAwB,eAAe,wBAAsB,GAAG,uBAAqB,GAAG,qBAAmB,GAAG,sBAAoB,GAAG,kBAAe,0BAA0B,cAAY,GAAG,eAAY,GAAM,eAAY,mDAAmD,mBAAiB,EAAE,sBAAoB,GAAG,aAAW,GAAK,YAAU,UAAU,eAAa,wBAAwB,eAAa,yBAAyB,mBAAiB,wBAAwB,gBAAc,UAAU,mBAAiB,UAAU,kBAAgB,UAAU,eAAa,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAe,EAAE,EAAO,CAAC,EAAO,GAAWA,EAAe,MAAM,EAAO,CAAC,EAAQ,GAAYA,EAAe,EAAE,EAAO,CAAC,EAAU,GAAcA,EAAe,IAAS,SAAS,IAAS,KAAK,EAAO,CAAC,EAAY,GAAgBA,EAAe,EAAK,EAAO,CAAC,EAAc,GAAkBA,EAAe,EAAK,EAAO,CAAC,EAAS,IAAaA,EAAe,EAAK,EAC5+C,MAAoB,CAAC,IAAM,MAAgB,C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