{"version":3,"file":"SectionHeaderAppLink.DdbhpzD2.mjs","names":["useState","useCallback","_Fragment","useRef","useId"],"sources":["https:/framerusercontent.com/modules/qZghg4XjphiCGbig2aeO/UrUyF0YZO3hotO7BcP22/tricountAppLink.js","https:/framerusercontent.com/modules/NeKXvcxuyQtsZzcvtVtj/uClyNxAYcoaJBFXHp5Gr/useTricountAppLink.js","https:/framerusercontent.com/modules/9pFM7kIXxwnXkC6pQTf1/JeC0J8HEOODMQxR4gP3W/appLinkHandoff.js","https:/framerusercontent.com/modules/OLeX3VHUKNffRipaO66Z/PsTDQpUruR5EUaBcyHJg/sectionHeaderAppLinkStyles.js","https:/framerusercontent.com/modules/RWYvjpZYxzUixjmBHzY1/H0Ipbb5UxojXsAkcQc7f/SectionHeaderAppLink.js"],"sourcesContent":["export const TRICOUNT_SHARE_ID_PARAM=\"tricountID\";export const TRICOUNT_PRODUCTION_HOST=\"tricount.com\";export const TRICOUNT_TEST_HOST=\"splitcost.org\";export const TRICOUNT_PRODUCTION_SCHEME=\"tricount\";export const TRICOUNT_TEST_SCHEME=\"splitcost\";export const TRICOUNT_ANDROID_PACKAGE=\"com.tribab.tricount.android\";export const TRICOUNT_IOS_STORE_URL=\"https://itunes.apple.com/app/tricount/id349866256?pt=118258096&ct=landing-page&mt=8\";const SHARE_ID_PATTERN=/^[A-Za-z0-9-]{16,36}$/;const LOCALE_SEGMENT_PATTERN=/^[a-z]{2}(?:-[a-z]{2})?$/;const APP_LINK_SEGMENT=\"ap\";const MARKETING_CONSENT_SEGMENT=\"prompt-marketing-consent\";function parseUrlOrNull(href){if(!href)return null;try{return new URL(href);}catch{return null;}}export function resolveTricountEnvironment(href){const url=parseUrlOrNull(href);if(!url)return\"test\";const host=url.hostname.toLowerCase().replace(/^www\\./,\"\");return host===TRICOUNT_PRODUCTION_HOST?\"production\":\"test\";}export function getTricountShareIdFromUrl(href){const url=parseUrlOrNull(href);if(!url)return null;const fromParam=url.searchParams.get(TRICOUNT_SHARE_ID_PARAM);if(fromParam&&SHARE_ID_PATTERN.test(fromParam)){return fromParam;}const segments=url.pathname.split(\"/\").filter(segment=>segment!==\"\");let index=0;if(segments[index]!==undefined&&LOCALE_SEGMENT_PATTERN.test(segments[index])){index+=1;}if(segments[index]===APP_LINK_SEGMENT){index+=1;}const candidate=segments[index];if(candidate===undefined||segments.length>index+1){return null;}if(candidate===MARKETING_CONSENT_SEGMENT){return null;}return SHARE_ID_PATTERN.test(candidate)?candidate:null;}export function isTricountMarketingConsentPath(href){const url=parseUrlOrNull(href);if(!url)return false;const segments=url.pathname.split(\"/\").filter(segment=>segment!==\"\");let index=0;if(segments[index]!==undefined&&LOCALE_SEGMENT_PATTERN.test(segments[index])){index+=1;}return segments[index]===MARKETING_CONSENT_SEGMENT&&segments.length===index+1;}export function buildTricountMarketingConsentDeepLink(environment=\"production\"){const scheme=environment===\"production\"?TRICOUNT_PRODUCTION_SCHEME:TRICOUNT_TEST_SCHEME;return`${scheme}://${MARKETING_CONSENT_SEGMENT}`;}export function buildTricountShareUrl(shareId,options={}){const{environment=\"production\",pathPrefix=\"none\"}=options;const host=environment===\"production\"?TRICOUNT_PRODUCTION_HOST:TRICOUNT_TEST_HOST;const prefix=pathPrefix===\"app-link\"?`${APP_LINK_SEGMENT}/`:\"\";return`https://${host}/${prefix}${shareId}`;}export function buildTricountJoinDeepLink(shareId,environment=\"production\"){const scheme=environment===\"production\"?TRICOUNT_PRODUCTION_SCHEME:TRICOUNT_TEST_SCHEME;return`${scheme}://join/${shareId}`;}export function detectTricountMobileOs(userAgent,signals={}){if(!userAgent)return null;if(/Windows Phone/i.test(userAgent))return\"windows\";if(/Android/i.test(userAgent))return\"android\";if(/iPhone|iPad|iPod/i.test(userAgent))return\"ios\";if(signals.platform===\"MacIntel\"&&(signals.maxTouchPoints??0)>1)return\"ios\";return null;}export function isFacebookInAppBrowser(userAgent){if(!userAgent)return false;return userAgent.includes(\"FBAN\")||userAgent.includes(\"FBAV\");}export function buildTricountAndroidStoreUrl(shareId){const params=new URLSearchParams({id:TRICOUNT_ANDROID_PACKAGE,utm_source:\"landing-page\",utm_medium:\"landing-page\"});if(shareId){params.set(\"random\",shareId);}return`https://play.google.com/store/apps/details?${params.toString()}`;}export function buildTricountStoreUrl(options){const{userAgent,shareId=null,signals,desktopFallbackUrl=\"/download\"}=options;const os=detectTricountMobileOs(userAgent,signals);if(os===\"android\")return buildTricountAndroidStoreUrl(shareId);if(os===\"ios\")return TRICOUNT_IOS_STORE_URL;return desktopFallbackUrl;}export function resolveTricountOpenAppTarget(options){const{userAgent,href,signals,desktopFallbackUrl}=options;const shareId=options.shareId??getTricountShareIdFromUrl(href);const environment=resolveTricountEnvironment(href);const os=detectTricountMobileOs(userAgent,signals);const canDeepLink=os===\"ios\"||os===\"android\"||isFacebookInAppBrowser(userAgent);if(isTricountMarketingConsentPath(href)&&canDeepLink){return buildTricountMarketingConsentDeepLink(environment);}if(shareId&&canDeepLink){return buildTricountJoinDeepLink(shareId,environment);}return buildTricountStoreUrl({userAgent,shareId,signals,desktopFallbackUrl});}\nexport const __FramerMetadata__ = {\"exports\":{\"TRICOUNT_IOS_STORE_URL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountSharePathPrefix\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_SHARE_ID_PARAM\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountAppEnvironment\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildTricountAndroidStoreUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildTricountStoreUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildTricountShareUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isFacebookInAppBrowser\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_TEST_SCHEME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildTricountJoinDeepLink\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_TEST_HOST\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildTricountMarketingConsentDeepLink\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountMobileOs\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountDeviceSignals\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_ANDROID_PACKAGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_PRODUCTION_HOST\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveTricountEnvironment\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_PRODUCTION_SCHEME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isTricountMarketingConsentPath\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"detectTricountMobileOs\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveTricountOpenAppTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getTricountShareIdFromUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./tricountAppLink.map","import{useEffect,useState}from\"react\";import{buildTricountShareUrl,buildTricountStoreUrl,getTricountShareIdFromUrl,resolveTricountEnvironment,resolveTricountOpenAppTarget}from\"https://framerusercontent.com/modules/qZghg4XjphiCGbig2aeO/UrUyF0YZO3hotO7BcP22/tricountAppLink.js\";function toAbsoluteUrl(href,pageHref){if(!href)return href;try{return new URL(href).href;}catch{if(!pageHref)return href;try{return new URL(href,pageHref).href;}catch{return href;}}}function readDeviceSignals(){if(typeof navigator===\"undefined\")return{};return{platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints};}export function useTricountAppLink(options={}){const{sharePathPrefix=\"none\",desktopFallbackUrl=\"/download\",fallbackShareUrl=\"/download\"}=options;const[resolved,setResolved]=useState(null);useEffect(()=>{const href=window.location.href;setResolved({shareId:getTricountShareIdFromUrl(href),href});},[]);const href=resolved?.href??\"\";const shareId=resolved?.shareId??null;const environment=resolved?resolveTricountEnvironment(href):\"production\";const qrUrl=shareId?buildTricountShareUrl(shareId,{environment,pathPrefix:sharePathPrefix}):resolved?toAbsoluteUrl(fallbackShareUrl,href):fallbackShareUrl;const downloadQrUrl=resolved?toAbsoluteUrl(desktopFallbackUrl,href):desktopFallbackUrl;const resolveOpenAppUrl=()=>{if(typeof window===\"undefined\")return desktopFallbackUrl;return resolveTricountOpenAppTarget({userAgent:navigator.userAgent,href:window.location.href,signals:readDeviceSignals(),desktopFallbackUrl});};const resolveStoreUrl=()=>{if(typeof window===\"undefined\")return desktopFallbackUrl;return buildTricountStoreUrl({userAgent:navigator.userAgent,shareId:getTricountShareIdFromUrl(window.location.href),signals:readDeviceSignals(),desktopFallbackUrl});};return{shareId,environment,qrUrl,downloadQrUrl,isResolved:resolved!==null,resolveOpenAppUrl,resolveStoreUrl};}\nexport const __FramerMetadata__ = {\"exports\":{\"useTricountAppLink\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountAppLink\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UseTricountAppLinkOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useTricountAppLink.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback}from\"react\";import{ControlType}from\"framer\";import Button from\"https://framerusercontent.com/modules/VG7f7tzDvZosNAt6agoP/rZPAfP49ac3U8CPF2V1F/Button.js\";import QRCode from\"https://framerusercontent.com/modules/uwe5nUKzlkYN5vfFopCz/pMlszTverLZTPe8XS5y5/QRCode.js\";import Tokens from\"https://framerusercontent.com/modules/qUEnAktcSZIPkdLrqL6F/NJEyUVOC4yIQc5xlwwcz/index.js\";import{getThemeColors}from\"https://framerusercontent.com/modules/7NSJeaeou9P0OpUE6qK4/j0rDL3hZvZcw7cxP5cbL/themeHelpers.js\";import{resolveTricountOnSurfaceButtonVariant}from\"https://framerusercontent.com/modules/jziVWOV3BxFa7do866W6/ExwuoNF27fDncYOgPtfU/buttonStyles.js\";import{getGap}from\"https://framerusercontent.com/modules/xa02n637G4bDG995CgZR/G3v1ZECFKOzDlTNWSGVz/layoutStyles.js\";import{getLinkUrl}from\"https://framerusercontent.com/modules/WKDkAgpP16RxQTEJS39T/xQlTh0gbMUaBZLv4XusP/linkHelpers.js\";import{pushDataLayerEvent}from\"https://framerusercontent.com/modules/lM9BNastFtIwq1OzORug/IV484RsG9vwVICS9IVxP/pushDataLayerEvent.js\";import{useTricountAppLink}from\"https://framerusercontent.com/modules/NeKXvcxuyQtsZzcvtVtj/uClyNxAYcoaJBFXHp5Gr/useTricountAppLink.js\";const SHARE_PATH_PREFIX_BY_MODE={\"share-link\":\"none\",\"universal-link\":\"app-link\"};const OPEN_APP_EVENT_BY_MODE={\"share-link\":\"click_join-tricount\",\"universal-link\":\"click_open-app\"};const STORE_EVENT=\"click_download-tricount\";function getUrlHost(url){if(typeof window===\"undefined\")return undefined;try{return new URL(url,window.location.href).hostname;}catch{return undefined;}}export const APP_LINK_HANDOFF_DEFAULTS={linkMode:\"share-link\",openAppButtonLabel:\"Open the app\",downloadButtonLabel:\"Download the app\",showOpenAppButton:true,showDownloadButton:false,fallbackLink:\"/download\",openAppCtaId:\"cta-open-app\",downloadCtaId:\"cta-download-app\"};export const appLinkHandoffPropertyControls={linkMode:{type:ControlType.Enum,title:\"Page Type\",options:[\"share-link\",\"universal-link\"],optionTitles:[\"Shared\",\"Fallback\"],displaySegmentedControl:true,defaultValue:APP_LINK_HANDOFF_DEFAULTS.linkMode,description:\"Shared for /landing-page (open QR encodes /{id}). Fallback for /universal-link (open QR encodes /ap/{id}).\"},openAppButtonLabel:{type:ControlType.String,title:\"Open App Label\",defaultValue:APP_LINK_HANDOFF_DEFAULTS.openAppButtonLabel,placeholder:\"e.g. Join existing tricount\",description:\"Label for the open-app button on tablet and phone, and the matching QR on desktop.\"},downloadButtonLabel:{type:ControlType.String,title:\"Store Label\",defaultValue:APP_LINK_HANDOFF_DEFAULTS.downloadButtonLabel,placeholder:\"e.g. Download the app\",description:\"Label for the store button on tablet and phone, and the matching QR on desktop.\"},showOpenAppButton:{type:ControlType.Boolean,title:\"Open App Button\",enabledTitle:\"Shown\",disabledTitle:\"Hidden\",defaultValue:APP_LINK_HANDOFF_DEFAULTS.showOpenAppButton,description:\"Show the open-in-app action: a QR on desktop, a button on tablet and phone.\"},showDownloadButton:{type:ControlType.Boolean,title:\"Store Button\",enabledTitle:\"Shown\",disabledTitle:\"Hidden\",defaultValue:APP_LINK_HANDOFF_DEFAULTS.showDownloadButton,description:\"Show the download action: a QR on desktop, a button on tablet and phone.\"},fallbackLink:{type:ControlType.Link,title:\"Fallback Link\",description:\"Used when the URL has no share ID, and encoded by the desktop download QR.\"},openAppCtaId:{type:ControlType.TrackingId,title:\"Open App Tracking\",defaultValue:APP_LINK_HANDOFF_DEFAULTS.openAppCtaId,placeholder:\"ID\",description:\"Tracking ID for the open-in-app button. Lowercase, hyphen-separated.\"},downloadCtaId:{type:ControlType.TrackingId,title:\"Store Tracking\",defaultValue:APP_LINK_HANDOFF_DEFAULTS.downloadCtaId,placeholder:\"ID\",description:\"Tracking ID for the app store button. Lowercase, hyphen-separated.\"}};function getQrPlateRadius(breakpoint){if(breakpoint===\"phone\")return Tokens.getRadius(\"radius-xxl\");if(breakpoint===\"tablet\")return Tokens.getRadius(\"radius-3xl\");return Tokens.getRadius(\"radius-4xl\");}function AppLinkQrPlate({breakpoint,url,label,kind,logoVariant,textColor}){const qrSize=Tokens.getLayoutSizeValue(\"qr-code\");return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:getGap(\"sm\",breakpoint),width:\"fit-content\",maxWidth:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{\"data-qr-url\":url,\"data-qr-kind\":kind,style:{background:Tokens.getColorValue(\"/Backgrounds/bg-white\"),display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",flexShrink:0,width:\"fit-content\",borderRadius:getQrPlateRadius(breakpoint),padding:Tokens.getResponsiveSpacing(24,breakpoint)},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",width:qrSize,height:qrSize,flexShrink:0},children:/*#__PURE__*/_jsx(QRCode,{value:url,size:Tokens.getLayoutSize(\"qr-code\"),logoVariant:logoVariant,ariaLabel:`QR code to ${kind===\"download\"?\"download tricount\":\"open the shared tricount\"}. Scan with your phone to open ${url}`})})}),/*#__PURE__*/_jsx(\"p\",{style:{...Tokens.getTypographyStyles(\"/Body SM/Heavy\",breakpoint),color:textColor,margin:0,textAlign:\"center\",maxWidth:\"100%\"},children:label})]});}export function AppLinkHandoff({breakpoint,showQr,theme,brand,logoVariant,buttonVariant,linkMode=APP_LINK_HANDOFF_DEFAULTS.linkMode,openAppButtonLabel=APP_LINK_HANDOFF_DEFAULTS.openAppButtonLabel,downloadButtonLabel=APP_LINK_HANDOFF_DEFAULTS.downloadButtonLabel,showOpenAppButton=APP_LINK_HANDOFF_DEFAULTS.showOpenAppButton,showDownloadButton=APP_LINK_HANDOFF_DEFAULTS.showDownloadButton,fallbackLink,openAppCtaId=APP_LINK_HANDOFF_DEFAULTS.openAppCtaId,downloadCtaId=APP_LINK_HANDOFF_DEFAULTS.downloadCtaId}){const resolvedFallbackLink=getLinkUrl(fallbackLink).trim()||APP_LINK_HANDOFF_DEFAULTS.fallbackLink;const{qrUrl,downloadQrUrl,resolveOpenAppUrl,resolveStoreUrl}=useTricountAppLink({sharePathPrefix:SHARE_PATH_PREFIX_BY_MODE[linkMode],desktopFallbackUrl:resolvedFallbackLink,fallbackShareUrl:resolvedFallbackLink});const colors=getThemeColors(theme,brand);const navigateTo=useCallback(url=>{if(typeof window===\"undefined\"||!url)return;window.location.href=url;},[]);const handleOpenAppClick=useCallback(event=>{event.preventDefault();pushDataLayerEvent({event:OPEN_APP_EVENT_BY_MODE[linkMode],cta_id:openAppCtaId});navigateTo(resolveOpenAppUrl());},[linkMode,navigateTo,openAppCtaId,resolveOpenAppUrl]);const handleDownloadClick=useCallback(event=>{event.preventDefault();const storeUrl=resolveStoreUrl();pushDataLayerEvent({event:STORE_EVENT,cta_id:downloadCtaId,destination_host:getUrlHost(storeUrl)});navigateTo(storeUrl);},[downloadCtaId,navigateTo,resolveStoreUrl]);if(showQr){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"row\",flexWrap:\"wrap\",alignItems:\"flex-start\",gap:getGap(\"lg\",breakpoint),width:\"100%\",maxWidth:\"100%\"},children:[showDownloadButton?/*#__PURE__*/_jsx(AppLinkQrPlate,{breakpoint:breakpoint,url:downloadQrUrl,label:downloadButtonLabel,kind:\"download\",logoVariant:logoVariant,textColor:colors.textPrimary}):null,showOpenAppButton?/*#__PURE__*/_jsx(AppLinkQrPlate,{breakpoint:breakpoint,url:qrUrl,label:openAppButtonLabel,kind:\"open\",logoVariant:logoVariant,textColor:colors.textPrimary}):null]});}const sharedButtonProps={breakpoint,theme,brand,size:\"large\",link:resolvedFallbackLink,analyticsLocation:\"app-link\",widthMode:\"responsive\",style:{maxWidth:\"100%\"}};return /*#__PURE__*/_jsxs(_Fragment,{children:[showDownloadButton?/*#__PURE__*/_jsx(Button,{...sharedButtonProps,variant:buttonVariant,label:downloadButtonLabel,onClick:handleDownloadClick,id:downloadCtaId,trackingId:downloadCtaId}):null,showOpenAppButton?/*#__PURE__*/_jsx(Button,{...sharedButtonProps,variant:showDownloadButton?resolveTricountOnSurfaceButtonVariant(brand,theme,\"section\",\"outline\"):buttonVariant,label:openAppButtonLabel,onClick:handleOpenAppClick,id:openAppCtaId,trackingId:openAppCtaId}):null]});}\nexport const __FramerMetadata__ = {\"exports\":{\"AppLinkHandoffRenderProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"appLinkHandoffPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AppLinkHandoffMode\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"APP_LINK_HANDOFF_DEFAULTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AppLinkHandoff\":{\"type\":\"reactComponent\",\"name\":\"AppLinkHandoff\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"AppLinkHandoffProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import Tokens from\"https://framerusercontent.com/modules/qUEnAktcSZIPkdLrqL6F/NJEyUVOC4yIQc5xlwwcz/index.js\";import{getSectionStyles,getContainerStyles,getGap,getCopyStackGap,getCopyToCtaMarginTop,HERO_MIN_HEIGHT,getSectionPaddingTopWithSectionAndNav,getSectionPaddingTopWithHalfSectionAndNav}from\"https://framerusercontent.com/modules/xa02n637G4bDG995CgZR/G3v1ZECFKOzDlTNWSGVz/layoutStyles.js\";import{getSectionContentStackStyle,getSectionRootBackgroundStyle}from\"https://framerusercontent.com/modules/0ZalNh3QeqrMBpkAmxF7/sIp3GKFid5NBetfU5Mrl/sectionBackground.js\";export function buildSectionHeaderAppLinkStyles(options){const{breakpoint,isCanvasPhone,brand,colors,sectionBgColor,isGradient,hasVisual,useMontserrat,style}=options;const headingColor=colors.textPrimary;const bodyColor=colors.textSecondary;return{section:{...getSectionRootBackgroundStyle({useMontserrat,brand}),...getSectionStyles(breakpoint),backgroundColor:sectionBgColor,minHeight:HERO_MIN_HEIGHT,display:\"flex\",flexDirection:\"column\",justifyContent:isCanvasPhone?\"flex-start\":\"center\",...style,paddingTop:isCanvasPhone?getSectionPaddingTopWithHalfSectionAndNav(\"phone\"):getSectionPaddingTopWithSectionAndNav(breakpoint)},container:{...getContainerStyles(breakpoint),...getSectionContentStackStyle(isGradient)},grid:{display:\"grid\",gridTemplateColumns:hasVisual&&!isCanvasPhone?\"1fr 1fr\":\"1fr\",gap:getGap(\"xl\",breakpoint),alignItems:\"center\",width:\"100%\",minWidth:0},copyStack:{display:\"flex\",flexDirection:\"column\",gap:getCopyStackGap(breakpoint),alignItems:\"flex-start\",width:\"100%\",minWidth:0},ctaStack:{display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",gap:getGap(\"md\",breakpoint),width:isCanvasPhone||breakpoint===\"phone\"?\"100%\":\"fit-content\",maxWidth:\"100%\",marginTop:getCopyToCtaMarginTop(breakpoint)},heading:{...Tokens.getTypographyStyles(\"/Headline 3XL/Heavy\",breakpoint),color:headingColor,margin:0,maxWidth:\"100%\",overflowWrap:\"break-word\"},description:{...Tokens.getTypographyStyles(\"/Subheadline/MD\",breakpoint),color:bodyColor,margin:0,maxWidth:\"100%\",overflowWrap:\"break-word\"},visualColumn:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",...isCanvasPhone?{order:2}:{}}};}\nexport const __FramerMetadata__ = {\"exports\":{\"SectionHeaderAppLinkStyles\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildSectionHeaderAppLinkStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionHeaderAppLinkStyleOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight 720\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useRef,useId}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{themePropertyControls,resolveThemeProp}from\"https://framerusercontent.com/modules/5WgsjBO1A8BiShdO0B9C/r0GYDtytq52p0xC4TfQT/themeControl.js\";import{FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN}from\"https://framerusercontent.com/modules/vkQqDtKpdgUyOodxbyn3/QbeDbzhxh6tG2UebUJz9/propertyControlCopy.js\";import{resolveScopedElementId,resolveSectionIdPrefix}from\"https://framerusercontent.com/modules/bFAikoP0bZBNR0dz0Nob/K8fXMpjwkPlcBdRVKxua/resolveElementId.js\";import{useReducedMotion,useEffectiveBreakpoint,useHeroLcpImageLoading,isCanvasNarrowBreakpoint,isCanvasPhoneBreakpoint,kernHeadingPlainText,getSplitMediaImageSizes,getStagger}from\"https://framerusercontent.com/modules/zb8SeFEAitsE3Aq1tolb/auXmJ7lTprOPb5ljXFDO/colors.js\";import{getThemeColors,resolveBrand}from\"https://framerusercontent.com/modules/7NSJeaeou9P0OpUE6qK4/j0rDL3hZvZcw7cxP5cbL/themeHelpers.js\";import{getSectionWrapperStyles}from\"https://framerusercontent.com/modules/xa02n637G4bDG995CgZR/G3v1ZECFKOzDlTNWSGVz/layoutStyles.js\";import{getSectionBackgroundFromProps,sectionBackgroundPropertyControls}from\"https://framerusercontent.com/modules/0ZalNh3QeqrMBpkAmxF7/sIp3GKFid5NBetfU5Mrl/sectionBackground.js\";import{getSectionRestProps}from\"https://framerusercontent.com/modules/uvO2ohuvOPR5Ui14I5Qd/Z4jZo5HpTJkHkTwZtq64/sectionProps.js\";import{pickBrandButtonVariant,resolveTricountOnSurfaceButtonVariant,sectionButtonVariantControls}from\"https://framerusercontent.com/modules/jziVWOV3BxFa7do866W6/ExwuoNF27fDncYOgPtfU/buttonStyles.js\";import{PLACEHOLDER}from\"https://framerusercontent.com/modules/Ofb8HIOrjDJzDnc7Hhv7/ldSneuKJ1WqOQccBFUG7/placeholders.js\";import{useSectionAnimation}from\"https://framerusercontent.com/modules/Qy1UTsYstiw1InuUy2DL/O7sS4n2h4p4lSAkyyEGB/useSectionAnimation.js\";import{createSectionVariantsWithImage}from\"https://framerusercontent.com/modules/V5PCnPVPAhj4T9P8FDbD/VOlDbZ6MXpBu5DysqJ31/motionVariants.js\";import{PRESERVE_CONTROL_NEWLINES}from\"https://framerusercontent.com/modules/D7kD09cJxhmMa4nvElc6/psb1oiRQB14isAy5HEyx/controlTextStyles.js\";import{AppLinkHandoff,appLinkHandoffPropertyControls}from\"https://framerusercontent.com/modules/9pFM7kIXxwnXkC6pQTf1/JeC0J8HEOODMQxR4gP3W/appLinkHandoff.js\";import{buildSectionHeaderAppLinkStyles}from\"https://framerusercontent.com/modules/OLeX3VHUKNffRipaO66Z/PsTDQpUruR5EUaBcyHJg/sectionHeaderAppLinkStyles.js\";import Image from\"https://framerusercontent.com/modules/ZtFuyReIXzHqgduEwUZW/EBTOy2jmgGXV7pknKkLC/Image.js\";const SectionHeaderAppLinkInternal=/*#__PURE__*/forwardRef(function SectionHeaderAppLinkInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint:breakpointProp=\"desktop\",heading=PLACEHOLDER.PAGE_HEADING,description=PLACEHOLDER.DESCRIPTION,visualImage,visualImageAlt=\"tricount app\",lcpPriority=true,buttonVariant=\"solid\",buttonVariantTricount=\"solid\",openAppCtaId,downloadCtaId,sectionId,backgroundVariant=\"primary\",backgroundPreset=\"Rainbow\",brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection=\"top-color-bottom-neutral\",backgroundShowOverlay=true,useMontserrat=false,style,children,linkMode,openAppButtonLabel,downloadButtonLabel,showOpenAppButton,showDownloadButton,fallbackLink,...rest}=props;const{sectionRef,sectionRefObject,animate}=useSectionAnimation(ref);const breakpoint=useEffectiveBreakpoint(breakpointProp,sectionRefObject);const{priority:visualPriority,loading:visualLoading,preloadMedia:visualPreloadMedia}=useHeroLcpImageLoading(lcpPriority,breakpointProp);const colors=getThemeColors(theme,brand??backgroundGradientBrand);const{sectionBgColor,isGradient,backgroundLayer}=getSectionBackgroundFromProps({theme,backgroundVariant,backgroundPreset,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection,backgroundShowOverlay,colors});const reducedMotion=useReducedMotion();const isStaticRenderer=useIsStaticRenderer();const componentId=useId();const headingId=useId();const resolvedBrand=resolveBrand(brand??backgroundGradientBrand);const resolvedButtonVariant=resolveTricountOnSurfaceButtonVariant(resolvedBrand,theme,\"section\",pickBrandButtonVariant(resolvedBrand,buttonVariant,buttonVariantTricount,theme));const resolvedSectionId=resolveSectionIdPrefix(sectionId,componentId,\"section-header-app-link\");const isCanvasPhone=isCanvasPhoneBreakpoint(breakpointProp);const hasVisual=Boolean(visualImage?.src);const styles=buildSectionHeaderAppLinkStyles({breakpoint,isCanvasPhone,theme,brand:brand??backgroundGradientBrand,colors,sectionBgColor,isGradient,hasVisual,useMontserrat,style});const{container:containerVariants,item:itemVariants,image:imageVariants}=createSectionVariantsWithImage(reducedMotion,{stagger:getStagger(\"loose\")});return /*#__PURE__*/_jsxs(motion.section,{ref:sectionRef,style:styles.section,id:resolvedSectionId,\"aria-labelledby\":headingId,initial:isStaticRenderer?\"visible\":animate===\"visible\"?false:\"hidden\",animate:isStaticRenderer?\"visible\":animate,variants:containerVariants,...getSectionRestProps(rest),children:[backgroundLayer,/*#__PURE__*/_jsx(\"div\",{style:styles.container,children:/*#__PURE__*/_jsxs(\"div\",{style:styles.grid,children:[/*#__PURE__*/_jsxs(motion.div,{style:{minWidth:0,width:\"100%\"},variants:itemVariants,children:[/*#__PURE__*/_jsxs(motion.div,{style:styles.copyStack,variants:itemVariants,children:[/*#__PURE__*/_jsx(motion.h1,{id:headingId,style:{...styles.heading,...PRESERVE_CONTROL_NEWLINES},variants:itemVariants,children:kernHeadingPlainText(heading)}),description?/*#__PURE__*/_jsx(motion.p,{style:{...styles.description,...PRESERVE_CONTROL_NEWLINES},variants:itemVariants,children:description}):null]}),/*#__PURE__*/_jsx(motion.div,{style:styles.ctaStack,variants:itemVariants,children:/*#__PURE__*/_jsx(AppLinkHandoff,{breakpoint:breakpoint,showQr:!isCanvasNarrowBreakpoint(breakpointProp),theme:theme,brand:brand??backgroundGradientBrand,logoVariant:resolvedBrand,buttonVariant:resolvedButtonVariant,linkMode:linkMode,openAppButtonLabel:openAppButtonLabel,downloadButtonLabel:downloadButtonLabel,showOpenAppButton:showOpenAppButton,showDownloadButton:showDownloadButton,fallbackLink:fallbackLink,openAppCtaId:resolveScopedElementId(openAppCtaId,\"cta-open-app\",resolvedSectionId,\"cta-open-app\"),downloadCtaId:resolveScopedElementId(downloadCtaId,\"cta-download-app\",resolvedSectionId,\"cta-download-app\")})}),children]}),hasVisual?/*#__PURE__*/_jsx(motion.div,{style:styles.visualColumn,variants:imageVariants,children:/*#__PURE__*/_jsx(Image,{id:`${resolvedSectionId}-visual`,imageUrl:visualImage,alt:visualImage?.alt??visualImageAlt,breakpoint:breakpointProp,aspectRatio:\"1:1\",objectFit:\"contain\",objectPosition:\"center\",overflow:\"hidden\",loading:lcpPriority?visualLoading:\"lazy\",priority:visualPriority,preloadMedia:visualPreloadMedia,sizes:getSplitMediaImageSizes(breakpointProp),style:{width:\"100%\",height:\"100%\",aspectRatio:\"1/1\"}})}):null]})})]});});export default function SectionHeaderAppLink(props){const ref=useRef(null);const breakpoint=useEffectiveBreakpoint(props.breakpoint??\"desktop\");return /*#__PURE__*/_jsx(\"div\",{style:{...getSectionWrapperStyles(breakpoint),...props.style},children:/*#__PURE__*/_jsx(SectionHeaderAppLinkInternal,{...props,ref:ref})});}SectionHeaderAppLink.displayName=\"Section Header App Link - Organism\";addPropertyControls(SectionHeaderAppLink,{heading:{type:ControlType.String,title:\"Headline\",defaultValue:PLACEHOLDER.PAGE_HEADING,placeholder:\"e.g. Welcome to tricount!\",description:\"Main heading text for the section.\",displayTextArea:true},description:{type:ControlType.String,title:\"Subheadline\",defaultValue:PLACEHOLDER.DESCRIPTION,placeholder:\"One or two sentences describing the next step\",description:\"Supporting copy. Desktop explains the QR codes; tablet and phone explain the buttons.\",displayTextArea:true},...appLinkHandoffPropertyControls,visualImage:{type:ControlType.ResponsiveImage,title:\"Visual\",description:\"Optional square visual beside the copy. Leave empty to let the copy span the full width.\"},visualImageAlt:{type:ControlType.String,title:\"Visual Alt\",defaultValue:\"tricount app\",placeholder:\"Describe the visual...\",description:\"Accessible description of the visual. Framer's own alt text wins when set.\",hidden:({visualImage})=>!visualImage?.src},lcpPriority:{type:ControlType.Boolean,title:\"LCP Priority\",defaultValue:true,enabledTitle:\"High\",disabledTitle:\"Default\",description:\"Preloads the visual and sets fetchpriority=high on the visible breakpoint only. Keep on when this is the page hero; turn off when the section sits lower on the page.\",hidden:({visualImage})=>!visualImage?.src},...sectionButtonVariantControls({title:\"Button Variant\",bunqDefault:\"solid\"}),...sectionBackgroundPropertyControls({variantDefault:\"primary\",presetDefault:\"Rainbow\",overlayDirectionDefault:\"top-color-bottom-neutral\"}),sectionId:{type:ControlType.String,title:\"Section ID\",defaultValue:\"section-header-app-link\",placeholder:\"e.g. section-name\",description:\"HTML id for the section element. Used for anchor links and page navigation.\",preventLocalization:true},breakpoint:{type:ControlType.Enum,title:\"Breakpoint\",options:[\"desktop\",\"tablet\",\"phone\"],optionTitles:[\"Desktop\",\"Tablet\",\"Phone\"],defaultValue:\"desktop\",description:\"Select the breakpoint to match Framer's canvas.\"},...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN)});\nexport const __FramerMetadata__ = {\"exports\":{\"Breakpoint\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SectionHeaderAppLink\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionHeaderAppLinkProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"i8BAAonB,SAAS,EAAe,EAAK,CAAC,GAAG,CAAC,EAAK,OAAO,KAAK,GAAG,CAAC,OAAO,IAAI,IAAI,CAAI,CAAE,MAAM,CAAC,OAAO,IAAK,CAAC,CAAC,SAAgB,GAA2B,EAAK,CAAC,IAAM,EAAI,EAAe,CAAI,EAAkF,OAA5E,GAA4B,EAAI,SAAS,YAAY,CAAC,CAAC,QAAQ,SAAS,EAAc,IAAA,eAA6B,aAAa,MAAO,CAAC,SAAgB,EAA0B,EAAK,CAAC,IAAM,EAAI,EAAe,CAAI,EAAE,GAAG,CAAC,EAAI,OAAO,KAAK,IAAM,EAAU,EAAI,aAAa,IAAI,EAAuB,EAAE,GAAG,GAAW,EAAiB,KAAK,CAAS,EAAG,OAAO,EAAW,IAAM,EAAS,EAAI,SAAS,MAAM,GAAG,CAAC,CAAC,OAAO,GAAS,IAAU,EAAE,EAAM,EAAM,EAAK,EAAS,KAAS,IAAA,IAAW,EAAuB,KAAK,EAAS,EAAM,IAAG,GAAO,GAAM,EAAS,KAAS,IAAkB,GAAO,GAAG,IAAM,EAAU,EAAS,GAA8H,OAApH,IAAY,IAAA,IAAW,EAAS,OAAO,EAAM,GAAmB,IAAY,EAAkC,KAAa,EAAiB,KAAK,CAAS,EAAE,EAAU,IAAK,CAAC,SAAgB,GAA+B,EAAK,CAAC,IAAM,EAAI,EAAe,CAAI,EAAE,GAAG,CAAC,EAAI,MAAO,GAAM,IAAM,EAAS,EAAI,SAAS,MAAM,GAAG,CAAC,CAAC,OAAO,GAAS,IAAU,EAAE,EAAM,EAAM,EAA0F,OAArF,EAAS,KAAS,IAAA,IAAW,EAAuB,KAAK,EAAS,EAAM,IAAG,GAAO,GAAU,EAAS,KAAS,GAA2B,EAAS,SA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