{"version":3,"file":"PersistentMotion.B8MrB2RF.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/g5YYn3zRVqGxZnBnktSr/fSOwg8Zx9JAb4lkDQTnL/PersistentMotion.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef}from\"react\";import{Ball,ExampleContainer,PlayButton}from\"https://framerusercontent.com/modules/JC49mPDn5n3Z04YAGOCK/UBQNq1F3KuEMTdYcl6Nr/WaapiImprovements.js\";import{animate}from\"motion\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function PersistentMotion(){const ref=useRef(null);const play=()=>animate(ref.current,{opacity:[1,0]},{duration:.5});return /*#__PURE__*/_jsxs(ExampleContainer,{children:[/*#__PURE__*/_jsx(PlayButton,{onClick:play,replayLabel:\"Replay\"}),/*#__PURE__*/_jsx(Ball,{ref:ref})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PersistentMotion\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"qPAQG,SAAwB,GAAkB,CAAC,IAAM,EAAIA,EAAO,KAAK,CAAmE,OAAoB,EAAM,EAAiB,CAAC,SAAS,CAAc,EAAK,EAAW,CAAC,YAAvI,EAAQ,EAAI,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,CAAkG,YAAY,SAAS,CAAC,CAAc,EAAK,EAAK,CAAK,MAAI,CAAC,CAAC,CAAC,CAAC,kBAN1O,IAA0B,IAAmJ,IAA4B,CAOrP,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,iBAAiB,KAAO,mBAAmB,MAAQ,EAAE,CAAC,YAAc,CAAC,2BAA6B,OAAO,sBAAwB,IAAI,4BAA8B,OAAO,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA"}