{"version":3,"file":"Multi_Animation.BWV9UG9E.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/6FG584BZX2XWqgQbKJEF/LNxE8jm7ePshCpTPGJH3/Multi_Animation.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion,AnimatePresence}from\"framer-motion\";import{useState,useEffect}from\"react\";const words=[\"currency\",\"coin\",\"chain\"];export default function MultiWord(){const[index,setIndex]=useState(0);useEffect(()=>{const timer=setInterval(()=>{setIndex(i=>(i+1)%words.length);},1800);return()=>clearInterval(timer);},[]);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"baseline\",fontFamily:\"'Neue Haas Unica Pro Medium', 'Neue Haas Unica Pro Medium Placeholder', sans-serif\",fontSize:36},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:\"#1a1a1a\"},children:\"Multi\"}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",height:\"1.2em\",display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(AnimatePresence,{mode:\"popLayout\",children:/*#__PURE__*/_jsxs(motion.span,{style:{color:\"#1E6B40\",display:\"block\"},initial:{y:\"110%\",opacity:0},animate:{y:0,opacity:1},exit:{y:\"-110%\",opacity:0},transition:{duration:.45,ease:[.4,0,.2,1]},children:[words[index],\".\"]},words[index])})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiWord\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Multi_Animation.map"],"mappings":"wLAAyL,SAAwB,GAAW,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAS,EAAE,CAA0H,OAAzH,MAAc,CAAC,IAAM,EAAM,gBAAgB,CAAC,EAAS,IAAI,EAAE,GAAG,EAAM,OAAO,EAAG,KAAK,CAAC,UAAU,cAAc,EAAM,EAAG,EAAE,CAAC,CAAqB,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,WAAW,WAAW,qFAAqF,SAAS,GAAG,CAAC,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,UAAU,CAAC,SAAS,QAAQ,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,OAAO,QAAQ,QAAQ,OAAO,WAAW,SAAS,CAAC,SAAsB,EAAK,EAAgB,CAAC,KAAK,YAAY,SAAsB,EAAM,EAAO,KAAK,CAAC,MAAM,CAAC,MAAM,UAAU,QAAQ,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,QAAQ,EAAE,CAAC,WAAW,CAAC,SAAS,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,EAAM,GAAO,IAAI,CAAC,CAAC,EAAM,GAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAz+B,IAAkD,IAAsC,CAAM,EAAM,CAAC,WAAW,OAAO,QAAQ"}