{"version":3,"file":"heroPhoneTextAlignment.Iv41ldQh.mjs","names":["__esmMin","ControlType","init_framer_J2N2IBQG","getHeroCopyAlignment","isPhoneLayout","alignment","HERO_COPY_ALIGN_LEFT","HERO_COPY_ALIGN_CENTER","HERO_PHONE_TEXT_ALIGNMENT_DEFAULT","heroPhoneTextAlignmentPropertyControls","init_heroPhoneTextAlignment","props"],"sources":["https:/framerusercontent.com/modules/NUTKtR3QbefVJ8nOYAIy/yFupLzl2utnV0jWobOFW/heroPhoneTextAlignment.js"],"sourcesContent":["import{ControlType}from\"framer\";export const HERO_PHONE_TEXT_ALIGNMENT_DEFAULT=\"left\";const HERO_COPY_ALIGN_LEFT={stack:{textAlign:\"left\",alignItems:\"flex-start\"},textAlign:\"left\",justifyContent:\"flex-start\"};const HERO_COPY_ALIGN_CENTER={stack:{textAlign:\"center\",alignItems:\"center\"},textAlign:\"center\",justifyContent:\"center\"};export function getHeroCopyAlignment(alignment,isPhoneLayout){if(!isPhoneLayout)return HERO_COPY_ALIGN_LEFT;if(alignment!==\"center\")return HERO_COPY_ALIGN_LEFT;return HERO_COPY_ALIGN_CENTER;}export const heroPhoneTextAlignmentPropertyControls={phoneTextAlignment:{type:ControlType.Enum,title:\"Phone Text Alignment\",options:[\"left\",\"center\"],optionTitles:[\"Left\",\"Center\"],displaySegmentedControl:true,defaultValue:HERO_PHONE_TEXT_ALIGNMENT_DEFAULT,description:\"Phone only. Center puts the headline, text, buttons and disclaimer in the middle of the screen. Left keeps them on the left edge.\",hidden:props=>props.breakpoint!==\"phone\"}};// recompile: 1792504624476\n\nexport const __FramerMetadata__ = {\"exports\":{\"getHeroCopyAlignment\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HERO_PHONE_TEXT_ALIGNMENT_DEFAULT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroPhoneTextAlignment\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"heroPhoneTextAlignmentPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroPhoneTextAlignmentProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroCopyAlignment\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./heroPhoneTextAlignment.map"],"mappings":"A,qGAA0U,SAAgBG,EAAqB,EAAU,EAAc,CAAmG,MAA/F,CAACC,GAA6CC,IAAY,SAAgBC,EAA4BC,CAAuB,C,8CAA3d,EAAkC,OAAa,EAAqB,CAAC,MAAM,CAAC,UAAU,OAAO,WAAW,YAAY,EAAE,UAAU,OAAO,eAAe,YAAY,EAAQ,EAAuB,CAAC,MAAM,CAAC,UAAU,SAAS,WAAW,QAAQ,EAAE,UAAU,SAAS,eAAe,QAAQ,EAA8M,EAAuC,CAAC,mBAAmB,CAAC,KAAKN,EAAY,KAAK,MAAM,uBAAuB,QAAQ,CAAC,OAAO,QAAQ,EAAE,aAAa,CAAC,OAAO,QAAQ,EAAE,wBAAwB,GAAK,aAAaO,EAAkC,YAAY,oIAAoI,OAAO,GAAOG,EAAM,aAAa,OAAO,CAAC,C"}