{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/aVi0eS2OCarxIexzSSa3/KHjFMsAlJ5YiSVNdccfK/free_trials.js"],
  "sourcesContent": ["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useStore } from \"https://framerusercontent.com/modules/klLRvhIbJVlZimk3R0YY/gwMknfib6uoSZdkBUyUD/signup_state.js\";\nexport function withShowForFreeTrials(Component) {\n  return props => {\n    const [store] = useStore();\n    return store.shouldOfferFreeTrialWithoutCreditCard ? /*#__PURE__*/_jsx(Component, {\n      ...props\n    }) : null;\n  };\n}\nexport function withUpdateCopyForFreeTrials(Component) {\n  return props => {\n    const [store] = useStore();\n    const shouldUpdateText = props.text.startsWith(\"The Fastest\") && store.shouldOfferFreeTrialWithoutCreditCard;\n    const isMobile = props.variant === \"Mobile\";\n    const updatedText = isMobile ? \"Try Superhuman\\nFor Free\" : \"Try Superhuman For Free\";\n    const text = shouldUpdateText ? updatedText : props.text;\n    return /*#__PURE__*/_jsx(Component, {\n      ...props,\n      text: text\n    });\n  };\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"withUpdateCopyForFreeTrials\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withUpdateCopyForFreeTrials\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"withShowForFreeTrials\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"withShowForFreeTrials\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};"],
  "mappings": "kFAEO,SAASA,EAAsBC,EAAW,CAC/C,OAAOC,GAAS,CACd,GAAM,CAACC,CAAK,EAAIC,EAAS,EACzB,OAAOD,EAAM,sCAAqDE,EAAKJ,EAAW,CAChF,GAAGC,CACL,CAAC,EAAI,IACP,CACF,CACO,SAASI,EAA4BL,EAAW,CACrD,OAAOC,GAAS,CACd,GAAM,CAACC,CAAK,EAAIC,EAAS,EACnBG,EAAmBL,EAAM,KAAK,WAAW,aAAa,GAAKC,EAAM,sCAEjEK,EADWN,EAAM,UAAY,SACJ;AAAA,UAA6B,0BACtDO,EAAOF,EAAmBC,EAAcN,EAAM,KACpD,OAAoBG,EAAKJ,EAAW,CAClC,GAAGC,EACH,KAAMO,CACR,CAAC,CACH,CACF",
  "names": ["withShowForFreeTrials", "Component", "props", "store", "useStore", "p", "withUpdateCopyForFreeTrials", "shouldUpdateText", "updatedText", "text"]
}
