{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/t8m58BLKecrfY1Yz4Osc/oCj3LvRdDWXojMlPMt58/WithTyperWriter.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";function makeTypeWriterOverride(texts,Component){return props=>{const[currentText,setCurrentText]=useState(\"\");const[phraseIndex,setPhraseIndex]=useState(0);const[letterIndex,setLetterIndex]=useState(0);const[isTyping,setIsTyping]=useState(true);useEffect(()=>{const delay=3e3;const speed=100;const handleTyping=()=>{const currentPhrase=texts[phraseIndex];if(isTyping){if(letterIndex<currentPhrase.length){setCurrentText(currentPhrase.substring(0,letterIndex+1));setLetterIndex(letterIndex+1);}else{setTimeout(()=>setIsTyping(false),delay);}}else{setCurrentText(\"\");setLetterIndex(0);setPhraseIndex(prev=>(prev+1)%texts.length);setIsTyping(true);}};const timeout=setTimeout(handleTyping,isTyping?speed:0);return()=>clearTimeout(timeout);},[letterIndex,isTyping,phraseIndex]);return /*#__PURE__*/_jsx(Component,{...props,text:currentText||\" \"});};}export function withTypeWriterPersonal(Component){return makeTypeWriterOverride([\"Enhance work productivity\",\"Close information gap\",\"Monetize personal knowledge\",\"Streamline team collaboration\"],Component);}export function withTypeWriterBusiness(Component){return makeTypeWriterOverride([\"Optimize decision-making\",\"Automate workflow processes\",\"Personalize customer experiences\",\"Unlock business opportunities\"],Component);}export function withTypeWriterModelDev(Component){return makeTypeWriterOverride([\"Leverage curated, high-quality data\",\"Access trusted, ready-to-use models\",\"Scale with powerful development tools\",\"Unlock new revenue opportunities\"],Component);}export function withTypeWriterAppDevelopers(Component){return makeTypeWriterOverride([\"Build faster with with no-code tools\",\"Access trusted, ready-to-use models\",\"Leverage curated, high-quality datasets\",\"Scale without needing in-house expertise\"],Component);}export function withTypeWriterComputeProviders(Component){return makeTypeWriterOverride([\"Connect directly with AI developers\",\"Expand your market\",\"Unlock new revenue streams\",\"Offer scalable, on-demand solutions\"],Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withTypeWriterPersonal\":{\"type\":\"reactHoc\",\"name\":\"withTypeWriterPersonal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTypeWriterModelDev\":{\"type\":\"reactHoc\",\"name\":\"withTypeWriterModelDev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTypeWriterComputeProviders\":{\"type\":\"reactHoc\",\"name\":\"withTypeWriterComputeProviders\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTypeWriterAppDevelopers\":{\"type\":\"reactHoc\",\"name\":\"withTypeWriterAppDevelopers\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTypeWriterBusiness\":{\"type\":\"reactHoc\",\"name\":\"withTypeWriterBusiness\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithTyperWriter.map"],
  "mappings": "2FAAAA,IAAiF,SAASC,EAAuBC,EAAMC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAYC,CAAc,EAAEC,EAAS,EAAE,EAAO,CAACC,EAAYC,CAAc,EAAEF,EAAS,CAAC,EAAO,CAACG,EAAYC,CAAc,EAAEJ,EAAS,CAAC,EAAO,CAACK,EAASC,CAAW,EAAEN,EAAS,EAAI,EAAE,OAAAO,EAAU,IAAI,CAAqY,IAAMC,EAAQ,WAA/V,IAAI,CAAC,IAAMC,EAAcd,EAAMM,CAAW,EAAKI,EAAaF,EAAYM,EAAc,QAAQV,EAAeU,EAAc,UAAU,EAAEN,EAAY,CAAC,CAAC,EAAEC,EAAeD,EAAY,CAAC,GAAQ,WAAW,IAAIG,EAAY,EAAK,EAAE,GAAK,GAASP,EAAe,EAAE,EAAEK,EAAe,CAAC,EAAEF,EAAeQ,IAAOA,EAAK,GAAGf,EAAM,MAAM,EAAEW,EAAY,EAAI,EAAG,EAAwCD,EAAS,IAAM,CAAC,EAAE,MAAM,IAAI,aAAaG,CAAO,CAAE,EAAE,CAACL,EAAYE,EAASJ,CAAW,CAAC,EAAsBU,EAAKf,EAAU,CAAC,GAAGC,EAAM,KAAKC,GAAa,GAAG,CAAC,CAAE,CAAE,CAAQ,SAASc,EAAuBhB,EAAU,CAAC,OAAOF,EAAuB,CAAC,4BAA4B,wBAAwB,8BAA8B,+BAA+B,EAAEE,CAAS,CAAE,CAAQ,SAASiB,EAAuBjB,EAAU,CAAC,OAAOF,EAAuB,CAAC,2BAA2B,8BAA8B,mCAAmC,+BAA+B,EAAEE,CAAS,CAAE,CAAQ,SAASkB,EAAuBlB,EAAU,CAAC,OAAOF,EAAuB,CAAC,sCAAsC,sCAAsC,wCAAwC,kCAAkC,EAAEE,CAAS,CAAE,CAAQ,SAASmB,EAA4BnB,EAAU,CAAC,OAAOF,EAAuB,CAAC,uCAAuC,sCAAsC,0CAA0C,0CAA0C,EAAEE,CAAS,CAAE,CAAQ,SAASoB,EAA+BpB,EAAU,CAAC,OAAOF,EAAuB,CAAC,sCAAsC,qBAAqB,6BAA6B,qCAAqC,EAAEE,CAAS,CAAE",
  "names": ["init_ssg_sandbox_shims", "makeTypeWriterOverride", "texts", "Component", "props", "currentText", "setCurrentText", "ye", "phraseIndex", "setPhraseIndex", "letterIndex", "setLetterIndex", "isTyping", "setIsTyping", "ue", "timeout", "currentPhrase", "prev", "p", "withTypeWriterPersonal", "withTypeWriterBusiness", "withTypeWriterModelDev", "withTypeWriterAppDevelopers", "withTypeWriterComputeProviders"]
}
