{"version":3,"file":"Convertkit.BBal8a43.mjs","names":[],"sources":["https:/framerusercontent.com/modules/rPDqcxHfGPHCdj430fRY/wEkS5efypVcUCAx9O6ww/Convertkit.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Stacked waitlist form (first name + email + button)\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicHeight 160\n * @framerIntrinsicWidth 360\n */export default function WaitlistPillForm(props){const{actionUrl,method,firstNameName,firstNamePlaceholder,firstNameRequired,emailName,placeholder,buttonText,height,gap,fontFamily,fontSize,fontWeight,textColor,placeholderColor,inputBg,inputBorderColor,inputBorderWidth,inputRadius,inputPaddingX,buttonTextColor,buttonFontWeight,buttonRadius,buttonPaddingX,buttonGradientStart,buttonGradientEnd,buttonShadow,buttonBorderColor,buttonBorderWidth,maxWidth}=props;const wrapStyle={width:\"100%\",maxWidth:maxWidth?`${maxWidth}px`:\"100%\",margin:\"0 auto\",fontFamily};const formStyle={width:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",gap:`${gap}px`,lineHeight:\"normal\"};// Inline sizing = consistent on published sites (no CSS vars dependency)\nconst inputStyle={width:\"100%\",height:`48px`,minHeight:`$48px`,paddingLeft:`${inputPaddingX}px`,paddingRight:`${inputPaddingX}px`,borderRadius:`${inputRadius}px`,background:inputBg,border:`${inputBorderWidth}px solid ${inputBorderColor}`,fontFamily,fontSize:`${fontSize}px`,fontWeight:fontWeight,color:textColor,outline:\"none\",boxSizing:\"border-box\",appearance:\"none\",WebkitAppearance:\"none\",lineHeight:`${height}px`,margin:0};const buttonStyle={width:\"100%\",height:`48px`,minHeight:`$48px`,paddingLeft:`${buttonPaddingX}px`,paddingRight:`${buttonPaddingX}px`,borderRadius:`${buttonRadius}px`,fontFamily,fontSize:`${fontSize}px`,fontWeight:buttonFontWeight,color:buttonTextColor,background:`linear-gradient(40deg, ${buttonGradientStart}, ${buttonGradientEnd})`,border:`${buttonBorderWidth}px solid ${buttonBorderColor}`,boxShadow:buttonShadow,cursor:\"pointer\",whiteSpace:\"nowrap\",boxSizing:\"border-box\",appearance:\"none\",WebkitAppearance:\"none\",lineHeight:`${height}px`,margin:0};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css(placeholderColor)}),/*#__PURE__*/_jsx(\"div\",{className:\"wk-wrap\",style:wrapStyle,children:/*#__PURE__*/_jsxs(\"form\",{className:\"wk-form\",style:formStyle,action:actionUrl,method:method,children:[/*#__PURE__*/_jsx(\"input\",{className:\"wk-input\",style:inputStyle,type:\"text\",name:firstNameName,placeholder:firstNamePlaceholder,required:firstNameRequired,\"aria-label\":\"First name\"}),/*#__PURE__*/_jsx(\"input\",{className:\"wk-input\",style:inputStyle,type:\"email\",name:emailName,placeholder:placeholder,required:true,\"aria-label\":\"Email address\"}),/*#__PURE__*/_jsx(\"button\",{className:\"wk-button\",style:buttonStyle,type:\"submit\",children:buttonText})]})})]});}const css=placeholderColor=>`\n/* Scope + defensive box sizing */\n.wk-wrap, .wk-wrap * { box-sizing: border-box; }\n\n/* Placeholder color (inline styles can't do ::placeholder) */\n.wk-wrap .wk-input::placeholder {\n  color: ${placeholderColor};\n}\n\n/* Focus ring */\n.wk-wrap .wk-input:focus {\n  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);\n}\n\n/* Button active */\n.wk-wrap .wk-button:active {\n  transform: translateY(1px);\n}\n`;WaitlistPillForm.defaultProps={// Form\nactionUrl:\"https://app.convertkit.com/forms/7885484/subscriptions\",method:\"post\",firstNameName:\"fields[first_name]\",firstNamePlaceholder:\"First name\",firstNameRequired:false,emailName:\"email_address\",placeholder:\"Your email address\",buttonText:\"Join waitlist\",// Layout\nheight:48,gap:12,maxWidth:0,// Typography\nfontFamily:\"Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif\",fontSize:18,fontWeight:200,textColor:\"rgba(255,255,255,0.85)\",placeholderColor:\"rgba(255,255,255,0.35)\",// Input styling\ninputBg:\"rgba(0,0,0,0.55)\",inputBorderColor:\"rgba(255,255,255,0.08)\",inputBorderWidth:1,inputRadius:999,inputPaddingX:22,// Button styling\nbuttonTextColor:\"#FFFFFF\",buttonFontWeight:400,buttonRadius:999,buttonPaddingX:28,buttonGradientStart:\"#8A4A2C\",buttonGradientEnd:\"#C56A2D\",buttonBorderColor:\"rgba(255,255,255,0.10)\",buttonBorderWidth:0,buttonShadow:\"0 10px 24px rgba(0,0,0,0.35)\"};addPropertyControls(WaitlistPillForm,{actionUrl:{type:ControlType.String,title:\"Action URL\"},method:{type:ControlType.Enum,title:\"Method\",options:[\"post\",\"get\"],optionTitles:[\"POST\",\"GET\"]},firstNameName:{type:ControlType.String,title:\"First name field\"},firstNamePlaceholder:{type:ControlType.String,title:\"First name placeholder\"},firstNameRequired:{type:ControlType.Boolean,title:\"First name required\"},emailName:{type:ControlType.String,title:\"Email field\"},placeholder:{type:ControlType.String,title:\"Email placeholder\"},buttonText:{type:ControlType.String,title:\"Button text\"},height:{type:ControlType.Number,title:\"Height\",min:32,max:80,step:1,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:40,step:1,unit:\"px\"},maxWidth:{type:ControlType.Number,title:\"Max width\",min:0,max:1200,step:10,unit:\"px\",displayStepper:true},fontFamily:{type:ControlType.String,title:\"Font\"},fontSize:{type:ControlType.Number,title:\"Font size\",min:10,max:48,step:1,unit:\"px\"},fontWeight:{type:ControlType.Number,title:\"Input weight\",min:100,max:900,step:100},textColor:{type:ControlType.Color,title:\"Text color\"},placeholderColor:{type:ControlType.Color,title:\"Placeholder\"},inputBg:{type:ControlType.Color,title:\"Input bg\"},inputBorderColor:{type:ControlType.Color,title:\"Input border\"},inputBorderWidth:{type:ControlType.Number,title:\"Border w\",min:0,max:6,step:1,unit:\"px\"},inputRadius:{type:ControlType.Number,title:\"Input radius\",min:0,max:999,step:1,unit:\"px\"},inputPaddingX:{type:ControlType.Number,title:\"Input padding\",min:8,max:60,step:1,unit:\"px\"},buttonTextColor:{type:ControlType.Color,title:\"Btn text\"},buttonFontWeight:{type:ControlType.Number,title:\"Btn weight\",min:100,max:900,step:100},buttonRadius:{type:ControlType.Number,title:\"Btn radius\",min:0,max:999,step:1,unit:\"px\"},buttonPaddingX:{type:ControlType.Number,title:\"Btn padding\",min:10,max:80,step:1,unit:\"px\"},buttonGradientStart:{type:ControlType.Color,title:\"Grad start\"},buttonGradientEnd:{type:ControlType.Color,title:\"Grad end\"},buttonBorderColor:{type:ControlType.Color,title:\"Btn border\"},buttonBorderWidth:{type:ControlType.Number,title:\"Btn border w\",min:0,max:6,step:1,unit:\"px\"},buttonShadow:{type:ControlType.String,title:\"Btn shadow\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WaitlistPillForm\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"160\",\"framerIntrinsicWidth\":\"360\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Convertkit.map"],"mappings":"mKAMG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,YAAU,SAAO,gBAAc,uBAAqB,oBAAkB,YAAU,cAAY,aAAW,SAAO,MAAI,aAAW,WAAS,aAAW,YAAU,mBAAiB,UAAQ,mBAAiB,mBAAiB,cAAY,gBAAc,kBAAgB,mBAAiB,eAAa,iBAAe,sBAAoB,oBAAkB,eAAa,oBAAkB,oBAAkB,YAAU,EAAY,EAAU,CAAC,MAAM,OAAO,SAAS,EAAS,GAAG,EAAS,IAAI,OAAO,OAAO,SAAS,aAAW,CAAO,EAAU,CAAC,MAAM,OAAO,QAAQ,OAAO,cAAc,SAAS,WAAW,UAAU,IAAI,GAAG,EAAI,IAAI,WAAW,SAAS,CACtqB,EA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