{"version":3,"file":"heroPhoneTextAlignment.DOvSXCtl.mjs","names":["__esmMin","ControlType","init_framer_B3LLf74D","getHeroCopyAlignment","alignment","isPhoneLayout","HERO_COPY_ALIGN_LEFT","HERO_COPY_ALIGN_CENTER","HERO_PHONE_TEXT_ALIGNMENT_DEFAULT","heroPhoneTextAlignmentPropertyControls","init_heroPhoneTextAlignment","props"],"sources":["https:/framerusercontent.com/modules/NUTKtR3QbefVJ8nOYAIy/d2pk18DvpoXx3ZIQ81gB/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\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"HERO_PHONE_TEXT_ALIGNMENT_DEFAULT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroPhoneTextAlignment\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroPhoneTextAlignmentProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getHeroCopyAlignment\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"heroPhoneTextAlignmentPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HeroCopyAlignment\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./heroPhoneTextAlignment.map"],"mappings":"A,qGAA0U,SAAgBG,EAAqBC,EAAUC,EAAc,CAAmG,MAA/F,CAACA,GAA6CD,IAAY,SAAgBE,EAA4BC,CAAuB,C,8CAA3dC,EAAkC,OAAaF,EAAqB,CAAC,MAAM,CAAC,UAAU,OAAO,WAAW,YAAY,EAAE,UAAU,OAAO,eAAe,YAAY,EAAQC,EAAuB,CAAC,MAAM,CAAC,UAAU,SAAS,WAAW,QAAQ,EAAE,UAAU,SAAS,eAAe,QAAQ,EAA8ME,EAAuC,CAAC,mBAAmB,CAAC,KAAKR,EAAY,KAAK,MAAM,uBAAuB,QAAQ,CAAC,OAAO,QAAQ,EAAE,aAAa,CAAC,OAAO,QAAQ,EAAE,wBAAwB,GAAK,aAAaO,EAAkC,YAAY,oIAAoI,OAAOG,GAAOA,EAAM,aAAa,OAAO,CAAC,C"}