{"ast":null,"code":"import * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nexport default function useAnimatedValueArray(initialValues) {\n  const refs = React.useRef([]);\n  refs.current.length = initialValues.length;\n  initialValues.forEach((initialValue, i) => {\n    refs.current[i] = refs.current[i] ?? new Animated.Value(initialValue);\n  });\n  return refs.current;\n}","map":{"version":3,"names":["React","Animated","useAnimatedValueArray","initialValues","refs","useRef","current","length","forEach","initialValue","i","Value"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/utils/useAnimatedValueArray.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Animated } from 'react-native';\n\nexport default function useAnimatedValueArray(initialValues: number[]) {\n  const refs = React.useRef<Animated.Value[]>([]);\n\n  refs.current.length = initialValues.length;\n  initialValues.forEach((initialValue, i) => {\n    refs.current[i] = refs.current[i] ?? new Animated.Value(initialValue);\n  });\n\n  return refs.current;\n}\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAG9B,eAAe,SAASC,qBAAqBA,CAACC,aAAuB,EAAE;EACrE,MAAMC,IAAI,GAAGJ,KAAK,CAACK,MAAM,CAAmB,EAAE,CAAC;EAE/CD,IAAI,CAACE,OAAO,CAACC,MAAM,GAAGJ,aAAa,CAACI,MAAM;EAC1CJ,aAAa,CAACK,OAAO,CAAC,CAACC,YAAY,EAAEC,CAAC,KAAK;IACzCN,IAAI,CAACE,OAAO,CAACI,CAAC,CAAC,GAAGN,IAAI,CAACE,OAAO,CAACI,CAAC,CAAC,IAAI,IAAIT,QAAQ,CAACU,KAAK,CAACF,YAAY,CAAC;EACvE,CAAC,CAAC;EAEF,OAAOL,IAAI,CAACE,OAAO;AACrB","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}