{"version":3,"file":"removeReactNativeWebAnimatedPlugin.js","names":[],"sources":["esm/vite/plugins/removeReactNativeWebAnimatedPlugin.js"],"sourcesContent":["function removeReactNativeWebAnimatedPlugin(opts) {\n  const filter = opts?.panResponder ? /(react-native\\/Animated\\/Animated|PlatformPressable|PanResponder|ResponderSystem)/ : /(react-native\\/Animated\\/Animated|PlatformPressable)/;\n  const optimizeDeps = {\n    rolldownOptions: {\n      plugins: [\n        {\n          name: \"remove-react-native-web-animated\",\n          resolveId(source) {\n            if (filter.test(source)) {\n              return `\\0proxy-wormify:${source}`;\n            }\n          },\n          load(id) {\n            if (id.startsWith(\"\\0proxy-wormify:\")) {\n              return `export * from \"@tamagui/proxy-worm\";`;\n            }\n          }\n        }\n      ]\n    }\n  };\n  return {\n    name: \"remove-react-native-web-animated\",\n    config() {\n      return {\n        optimizeDeps\n      };\n    }\n  };\n}\nexport {\n  removeReactNativeWebAnimatedPlugin\n};\n//# sourceMappingURL=removeReactNativeWebAnimatedPlugin.js.map\n"],"mappings":";AAAA,SAAS,mCAAmC,MAAM;CAChD,MAAM,SAAS,MAAM,eAAe,sFAAsF;CAC1H,MAAM,eAAe,EACnB,iBAAiB,EACf,SAAS,CACP;EACE,MAAM;EACN,UAAU,QAAQ;GAChB,IAAI,OAAO,KAAK,MAAM,GAAG;IACvB,OAAO,mBAAmB;GAC5B;EACF;EACA,KAAK,IAAI;GACP,IAAI,GAAG,WAAW,kBAAkB,GAAG;IACrC,OAAO;GACT;EACF;CACF,CACF,EACF,EACF;CACA,OAAO;EACL,MAAM;EACN,SAAS;GACP,OAAO,EACL,aACF;EACF;CACF;AACF"}