{"version":3,"file":"shared-lib.vSWBoH3C.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","className"],"sources":["https:/framerusercontent.com/modules/0TWSujaaIZfm1eqqUlEp/4nObZhPaevqT2G5m0HRp/J0k84xqr3.js","https:/framerusercontent.com/modules/2Y70dy8brbkvJnp4gm2v/BkUteaxWyoI0zTZIbJnj/PpeU3zii_.js","https:/framerusercontent.com/modules/4GpnpgFmK2QroXoSOEir/124jd4ecXzPFpJ19Dts3/siteMetadata.js"],"sourcesContent":["// Generated by Framer (189896a)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={AJUZQnIWZ:{hover:true,pressed:true},id7GQaIr5:{hover:true,pressed:true}};const cycleOrder=[\"id7GQaIr5\",\"AJUZQnIWZ\"];const serializationHash=\"framer-8IcUs\";const variantClassNames={AJUZQnIWZ:\"framer-v-77npil\",id7GQaIr5:\"framer-v-m49w27\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Variant 1\":\"id7GQaIr5\",\"Variant 2\":\"AJUZQnIWZ\"};const getProps=({height,id,link,title,tracking,width,...props})=>{return{...props,EMy1bGyfG:tracking??props.EMy1bGyfG,FTTIG_1QT:link??props.FTTIG_1QT,u0oblcz6d:title??props.u0oblcz6d??\"Join Waitlist\",variant:humanReadableVariantMap[props.variant]??props.variant??\"id7GQaIr5\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,u0oblcz6d,FTTIG_1QT,EMy1bGyfG,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"id7GQaIr5\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{clickTrackingId:EMy1bGyfG,href:FTTIG_1QT,motionChild:true,nodeId:\"id7GQaIr5\",openInNewTab:false,scopeId:\"J0k84xqr3\",smoothScroll:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-m49w27\",className,classNames)} framer-1moij75`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"id7GQaIr5\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,opacity:1,...style},variants:{\"AJUZQnIWZ-hover\":{backgroundColor:\"rgb(135, 135, 135)\"},\"AJUZQnIWZ-pressed\":{backgroundColor:\"rgb(77, 77, 77)\"},\"id7GQaIr5-hover\":{opacity:.5},\"id7GQaIr5-pressed\":{opacity:.25}},...addPropertyOverrides({\"AJUZQnIWZ-hover\":{\"data-framer-name\":undefined},\"AJUZQnIWZ-pressed\":{\"data-framer-name\":undefined},\"id7GQaIr5-hover\":{\"data-framer-name\":undefined},\"id7GQaIr5-pressed\":{\"data-framer-name\":undefined},AJUZQnIWZ:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"1.1em\",\"--framer-text-alignment\":\"center\"},children:\"Join Waitlist\"})}),className:\"framer-jexr87\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"i1C9O0ANK\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:u0oblcz6d,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({AJUZQnIWZ:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"13px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"1.1em\",\"--framer-text-alignment\":\"center\"},children:\"Join Waitlist\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-8IcUs.framer-1moij75, .framer-8IcUs .framer-1moij75 { display: block; }\",\".framer-8IcUs.framer-m49w27 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 50px; justify-content: center; overflow: visible; padding: 25px 30px 25px 30px; position: relative; text-decoration: none; width: min-content; }\",\".framer-8IcUs .framer-jexr87 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-8IcUs.framer-v-77npil.framer-m49w27 { height: min-content; padding: 8px 16px 8px 16px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 50\n * @framerIntrinsicWidth 166\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"AJUZQnIWZ\":{\"layout\":[\"auto\",\"auto\"]},\"evn2OR2qf\":{\"layout\":[\"auto\",\"auto\"]},\"qoTlw0uM8\":{\"layout\":[\"auto\",\"auto\"]},\"Ck4zUweLv\":{\"layout\":[\"auto\",\"fixed\"]},\"qYTT0yjlN\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"u0oblcz6d\":\"title\",\"FTTIG_1QT\":\"link\",\"EMy1bGyfG\":\"tracking\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerJ0k84xqr3=withCSS(Component,css,\"framer-8IcUs\");export default FramerJ0k84xqr3;FramerJ0k84xqr3.displayName=\"Button-Main\";FramerJ0k84xqr3.defaultProps={height:50,width:166};addPropertyControls(FramerJ0k84xqr3,{variant:{options:[\"id7GQaIr5\",\"AJUZQnIWZ\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},u0oblcz6d:{defaultValue:\"Join Waitlist\",displayTextArea:false,title:\"Title\",type:ControlType.String},FTTIG_1QT:{description:\"\",title:\"Link\",type:ControlType.Link},EMy1bGyfG:{title:\"Tracking\",type:ControlType.TrackingId}});addFonts(FramerJ0k84xqr3,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZ1rib2Bg-4.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerJ0k84xqr3\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"166\",\"framerVariables\":\"{\\\"u0oblcz6d\\\":\\\"title\\\",\\\"FTTIG_1QT\\\":\\\"link\\\",\\\"EMy1bGyfG\\\":\\\"tracking\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"AJUZQnIWZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"evn2OR2qf\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"qoTlw0uM8\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"Ck4zUweLv\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"qYTT0yjlN\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"50\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./J0k84xqr3.map","// Generated by Framer (7657e4f)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-yHsL8 .framer-styles-preset-1mucppc:not(.rich-text-wrapper), .framer-yHsL8 .framer-styles-preset-1mucppc.rich-text-wrapper a { --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: rgba(255, 255, 255, 0.91); --framer-link-hover-text-decoration: none; --framer-link-text-color: #888888; --framer-link-text-decoration: none; transition-delay: 0s; transition-duration: 0.1s; transition-property: color; transition-timing-function: cubic-bezier(0.44, 0, 0.56, 1); }\"];export const className=\"framer-yHsL8\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0c4579a)\nexport default function metadata(params,activeLocale){return{description:\"Turn goals into real progress with Pattrn. Set smarter goals, track habits effortlessly, and uncover patterns with AI-powered insights. Available now on the App Store for iOS. | Habit & Goal Tracker for iPhone\\n\",favicon:\"https://framerusercontent.com/assets/8ji9nQ8wtlJY4MT3IZ9Dlek1FU.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/V3TVEqOePXAwHyjmHYYQditR4wQ.png\",title:\"Pattrn | Habit Tracker & Goal Setting AI App\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"8iBACgjB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAA7qB,IAAyI,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,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