@tamagui/react-native-web-lite 1.113.0 → 1.113.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/esm/AccessibilityInfo/index.native.js +62 -58
  2. package/dist/esm/AccessibilityInfo/index.native.js.map +6 -1
  3. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +55 -85
  4. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +6 -1
  5. package/dist/esm/ActivityIndicator/index.native.js +90 -82
  6. package/dist/esm/ActivityIndicator/index.native.js.map +6 -1
  7. package/dist/esm/Alert/index.native.js +18 -14
  8. package/dist/esm/Alert/index.native.js.map +6 -1
  9. package/dist/esm/AppRegistry/AppContainer.native.js +26 -30
  10. package/dist/esm/AppRegistry/AppContainer.native.js.map +6 -1
  11. package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
  12. package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +6 -1
  13. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +34 -45
  14. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +6 -1
  15. package/dist/esm/AppRegistry/index.native.js +55 -50
  16. package/dist/esm/AppRegistry/index.native.js.map +6 -1
  17. package/dist/esm/AppRegistry/renderApplication.native.js +27 -33
  18. package/dist/esm/AppRegistry/renderApplication.native.js.map +6 -1
  19. package/dist/esm/AppState/__tests__/index-test.native.js +10 -9
  20. package/dist/esm/AppState/__tests__/index-test.native.js.map +6 -1
  21. package/dist/esm/AppState/index.native.js +51 -45
  22. package/dist/esm/AppState/index.native.js.map +6 -1
  23. package/dist/esm/Appearance/index.native.js +24 -27
  24. package/dist/esm/Appearance/index.native.js.map +6 -1
  25. package/dist/esm/BackHandler/index.native.js +13 -11
  26. package/dist/esm/BackHandler/index.native.js.map +6 -1
  27. package/dist/esm/Clipboard/index.native.js +26 -21
  28. package/dist/esm/Clipboard/index.native.js.map +6 -1
  29. package/dist/esm/DeviceEmitter.native.js +5 -3
  30. package/dist/esm/DeviceEmitter.native.js.map +6 -1
  31. package/dist/esm/DeviceInfo/index.native.js +33 -41
  32. package/dist/esm/DeviceInfo/index.native.js.map +6 -1
  33. package/dist/esm/Dimensions/__tests__/index-test.native.js +8 -9
  34. package/dist/esm/Dimensions/__tests__/index-test.native.js.map +6 -1
  35. package/dist/esm/Dimensions/index.native.js +53 -49
  36. package/dist/esm/Dimensions/index.native.js.map +6 -1
  37. package/dist/esm/I18nManager/index.native.js +13 -10
  38. package/dist/esm/I18nManager/index.native.js.map +6 -1
  39. package/dist/esm/Image/index.native.js +149 -174
  40. package/dist/esm/Image/index.native.js.map +6 -1
  41. package/dist/esm/Image/types.native.js +1 -2
  42. package/dist/esm/Image/types.native.js.map +6 -1
  43. package/dist/esm/ImageBackground/__tests__/index-test.native.js +19 -27
  44. package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +6 -1
  45. package/dist/esm/ImageBackground/index.native.js +33 -35
  46. package/dist/esm/ImageBackground/index.native.js.map +6 -1
  47. package/dist/esm/Keyboard/index.native.js +17 -13
  48. package/dist/esm/Keyboard/index.native.js.map +6 -1
  49. package/dist/esm/KeyboardAvoidingView/index.native.js +44 -34
  50. package/dist/esm/KeyboardAvoidingView/index.native.js.map +6 -1
  51. package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
  52. package/dist/esm/Linking/__tests__/index-test.native.js.map +6 -1
  53. package/dist/esm/Linking/index.native.js +49 -42
  54. package/dist/esm/Linking/index.native.js.map +6 -1
  55. package/dist/esm/LogBox/index.native.js +12 -7
  56. package/dist/esm/LogBox/index.native.js.map +6 -1
  57. package/dist/esm/Modal/ModalAnimation.native.js +112 -89
  58. package/dist/esm/Modal/ModalAnimation.native.js.map +6 -1
  59. package/dist/esm/Modal/ModalContent.native.js +54 -52
  60. package/dist/esm/Modal/ModalContent.native.js.map +6 -1
  61. package/dist/esm/Modal/ModalFocusTrap.native.js +52 -49
  62. package/dist/esm/Modal/ModalFocusTrap.native.js.map +6 -1
  63. package/dist/esm/Modal/ModalPortal.native.js +11 -9
  64. package/dist/esm/Modal/ModalPortal.native.js.map +6 -1
  65. package/dist/esm/Modal/index.native.js +45 -53
  66. package/dist/esm/Modal/index.native.js.map +6 -1
  67. package/dist/esm/NativeModules/index.native.js +6 -5
  68. package/dist/esm/NativeModules/index.native.js.map +6 -1
  69. package/dist/esm/PanResponder/Alternative.js +122 -157
  70. package/dist/esm/PanResponder/Alternative.js.map +6 -1
  71. package/dist/esm/PanResponder/index.native.js +5 -3
  72. package/dist/esm/PanResponder/index.native.js.map +6 -1
  73. package/dist/esm/PixelRatio/index.native.js +59 -48
  74. package/dist/esm/PixelRatio/index.native.js.map +6 -1
  75. package/dist/esm/Pressable/index.native.js +67 -70
  76. package/dist/esm/Pressable/index.native.js.map +6 -1
  77. package/dist/esm/RefreshControl/index.native.js +6 -4
  78. package/dist/esm/RefreshControl/index.native.js.map +6 -1
  79. package/dist/esm/SafeAreaView/index.native.js +21 -24
  80. package/dist/esm/SafeAreaView/index.native.js.map +6 -1
  81. package/dist/esm/ScrollView/ScrollViewBase.native.js +50 -61
  82. package/dist/esm/ScrollView/ScrollViewBase.native.js.map +6 -1
  83. package/dist/esm/ScrollView/index.native.js +211 -183
  84. package/dist/esm/ScrollView/index.native.js.map +6 -1
  85. package/dist/esm/Share/index.native.js +36 -29
  86. package/dist/esm/Share/index.native.js.map +6 -1
  87. package/dist/esm/StatusBar/index.native.js +6 -3
  88. package/dist/esm/StatusBar/index.native.js.map +6 -1
  89. package/dist/esm/Text/index.native.js +100 -128
  90. package/dist/esm/Text/index.native.js.map +6 -1
  91. package/dist/esm/Text/types.native.js +1 -2
  92. package/dist/esm/Text/types.native.js.map +6 -1
  93. package/dist/esm/TextInput/__tests__/index-test.native.js +259 -445
  94. package/dist/esm/TextInput/__tests__/index-test.native.js.map +6 -1
  95. package/dist/esm/TextInput/index.native.js +157 -220
  96. package/dist/esm/TextInput/index.native.js.map +6 -1
  97. package/dist/esm/TextInput/types.native.js +1 -2
  98. package/dist/esm/TextInput/types.native.js.map +6 -1
  99. package/dist/esm/TouchableOpacity.native.js +67 -63
  100. package/dist/esm/TouchableOpacity.native.js.map +6 -1
  101. package/dist/esm/TouchableWithoutFeedback.native.js +45 -49
  102. package/dist/esm/TouchableWithoutFeedback.native.js.map +6 -1
  103. package/dist/esm/UnimplementedView.native.js +30 -22
  104. package/dist/esm/UnimplementedView.native.js.map +6 -1
  105. package/dist/esm/Vibration/index.native.js +14 -14
  106. package/dist/esm/Vibration/index.native.js.map +6 -1
  107. package/dist/esm/View/index.native.js +55 -84
  108. package/dist/esm/View/index.native.js.map +6 -1
  109. package/dist/esm/View/types.native.js +1 -2
  110. package/dist/esm/View/types.native.js.map +6 -1
  111. package/dist/esm/createElement/__tests__/index-test.native.js +195 -398
  112. package/dist/esm/createElement/__tests__/index-test.native.js.map +6 -1
  113. package/dist/esm/createElement/index.native.js +14 -16
  114. package/dist/esm/createElement/index.native.js.map +6 -1
  115. package/dist/esm/createReactDOMStyle.native.js +4 -2
  116. package/dist/esm/createReactDOMStyle.native.js.map +6 -1
  117. package/dist/esm/findNodeHandle.native.js +7 -4
  118. package/dist/esm/findNodeHandle.native.js.map +6 -1
  119. package/dist/esm/index.native.js +133 -55
  120. package/dist/esm/index.native.js.map +6 -1
  121. package/dist/esm/render/index.native.js +9 -4
  122. package/dist/esm/render/index.native.js.map +6 -1
  123. package/dist/esm/styleTypes.native.js +1 -2
  124. package/dist/esm/styleTypes.native.js.map +6 -1
  125. package/dist/esm/types.native.js +1 -2
  126. package/dist/esm/types.native.js.map +6 -1
  127. package/dist/esm/useColorScheme/index.native.js +7 -7
  128. package/dist/esm/useColorScheme/index.native.js.map +6 -1
  129. package/dist/esm/useLocaleContext/index.native.js +4 -2
  130. package/dist/esm/useLocaleContext/index.native.js.map +6 -1
  131. package/dist/esm/useWindowDimensions/index.native.js +9 -9
  132. package/dist/esm/useWindowDimensions/index.native.js.map +6 -1
  133. package/dist/esm/vendor/react-native/Animated/Animated.native.js +17 -16
  134. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +6 -1
  135. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +99 -72
  136. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +6 -1
  137. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +436 -465
  138. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +6 -1
  139. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +91 -97
  140. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +6 -1
  141. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +1 -2
  142. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +6 -1
  143. package/dist/esm/vendor/react-native/Animated/Easing.native.js +231 -194
  144. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +6 -1
  145. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +222 -206
  146. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +6 -1
  147. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +5 -3
  148. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +6 -1
  149. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +5 -3
  150. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +6 -1
  151. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
  152. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +6 -1
  153. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +37 -25
  154. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +6 -1
  155. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +54 -42
  156. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +6 -1
  157. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
  158. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +6 -1
  159. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +60 -45
  160. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +6 -1
  161. package/dist/esm/vendor/react-native/Animated/bezier.native.js +20 -23
  162. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +6 -1
  163. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +6 -4
  164. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +6 -1
  165. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +13 -12
  166. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +6 -1
  167. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +6 -4
  168. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +6 -1
  169. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +6 -4
  170. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +6 -1
  171. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -17
  172. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +6 -1
  173. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +55 -39
  174. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +6 -1
  175. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +197 -180
  176. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +6 -1
  177. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +51 -39
  178. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +6 -1
  179. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +57 -42
  180. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +6 -1
  181. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +116 -99
  182. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +6 -1
  183. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +50 -37
  184. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +6 -1
  185. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +55 -39
  186. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +6 -1
  187. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +89 -61
  188. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +6 -1
  189. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +70 -52
  190. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +6 -1
  191. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +68 -50
  192. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +6 -1
  193. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +55 -39
  194. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +6 -1
  195. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +53 -41
  196. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +6 -1
  197. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +57 -44
  198. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +6 -1
  199. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +99 -70
  200. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +6 -1
  201. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +82 -64
  202. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +6 -1
  203. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +53 -40
  204. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +6 -1
  205. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +58 -50
  206. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +6 -1
  207. package/dist/esm/vendor/react-native/FeatureFlags.native.js +10 -8
  208. package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +6 -1
  209. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +5 -3
  210. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +6 -1
  211. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +55 -46
  212. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +6 -1
  213. package/dist/esm/vendor/react-native/PanResponder/index.native.js +219 -224
  214. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +6 -1
  215. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +81 -58
  216. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +6 -1
  217. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +1 -2
  218. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +6 -1
  219. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +5 -2
  220. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +6 -1
  221. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +1 -2
  222. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +6 -1
  223. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +6 -5
  224. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +6 -1
  225. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +5 -3
  226. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +6 -1
  227. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +1 -2
  228. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +6 -1
  229. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +33 -24
  230. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +6 -1
  231. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +51 -41
  232. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +6 -1
  233. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +16 -12
  234. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +6 -1
  235. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +26 -21
  236. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +6 -1
  237. package/dist/esm/vendor/react-native/infoLog/index.native.js +6 -3
  238. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +6 -1
  239. package/dist/esm/vendor/react-native/useRefEffect.native.js +8 -4
  240. package/dist/esm/vendor/react-native/useRefEffect.native.js.map +6 -1
  241. package/dist/esm/without-animated.native.js +115 -52
  242. package/dist/esm/without-animated.native.js.map +6 -1
  243. package/package.json +6 -6
@@ -1,16 +1,18 @@
1
1
  import normalizeColor from "@tamagui/normalize-css-color";
2
2
  import { invariant } from "@tamagui/react-native-web-internals";
3
- import NativeAnimatedHelper from "../NativeAnimatedHelper.native.js";
4
- import AnimatedWithChildren from "./AnimatedWithChildren.native.js";
3
+ import NativeAnimatedHelper from "../NativeAnimatedHelper";
4
+ import AnimatedWithChildren from "./AnimatedWithChildren";
5
5
  function _assert_this_initialized(self) {
6
- if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
+ if (self === void 0)
7
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7
8
  return self;
8
9
  }
9
10
  function _call_super(_this, derived, args) {
10
11
  return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
11
12
  }
12
13
  function _class_call_check(instance, Constructor) {
13
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
14
+ if (!(instance instanceof Constructor))
15
+ throw new TypeError("Cannot call a class as a function");
14
16
  }
15
17
  function _defineProperties(target, props) {
16
18
  for (var i = 0; i < props.length; i++) {
@@ -22,7 +24,7 @@ function _create_class(Constructor, protoProps, staticProps) {
22
24
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
23
25
  }
24
26
  function _get(target, property, receiver) {
25
- return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function (target2, property2, receiver2) {
27
+ return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
26
28
  var base = _super_prop_base(target2, property2);
27
29
  if (base) {
28
30
  var desc = Object.getOwnPropertyDescriptor(base, property2);
@@ -31,12 +33,13 @@ function _get(target, property, receiver) {
31
33
  }, _get(target, property, receiver || target);
32
34
  }
33
35
  function _get_prototype_of(o) {
34
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
36
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
35
37
  return o2.__proto__ || Object.getPrototypeOf(o2);
36
38
  }, _get_prototype_of(o);
37
39
  }
38
40
  function _inherits(subClass, superClass) {
39
- if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
41
+ if (typeof superClass != "function" && superClass !== null)
42
+ throw new TypeError("Super expression must either be null or a function");
40
43
  subClass.prototype = Object.create(superClass && superClass.prototype, {
41
44
  constructor: {
42
45
  value: subClass,
@@ -49,41 +52,41 @@ function _possible_constructor_return(self, call) {
49
52
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
50
53
  }
51
54
  function _set_prototype_of(o, p) {
52
- return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
55
+ return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
53
56
  return o2.__proto__ = p2, o2;
54
57
  }, _set_prototype_of(o, p);
55
58
  }
56
59
  function _super_prop_base(object, property) {
57
- for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null););
60
+ for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
61
+ ;
58
62
  return object;
59
63
  }
60
64
  function _type_of(obj) {
61
65
  "@swc/helpers - typeof";
62
-
63
66
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
67
  }
65
68
  function _is_native_reflect_construct() {
66
69
  try {
67
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
68
- } catch {}
69
- return (_is_native_reflect_construct = function () {
70
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
71
+ }));
72
+ } catch {
73
+ }
74
+ return (_is_native_reflect_construct = function() {
70
75
  return !!result;
71
76
  })();
72
77
  }
73
- var __DEV__ = process.env.NODE_ENV !== "production",
74
- linear = function (t) {
75
- return t;
76
- };
78
+ var __DEV__ = process.env.NODE_ENV !== "production", linear = function(t) {
79
+ return t;
80
+ };
77
81
  function createInterpolation(config) {
78
- if (config.outputRange && typeof config.outputRange[0] == "string") return createInterpolationFromStringOutputRange(config);
79
- var outputRange = config.outputRange,
80
- inputRange = config.inputRange;
82
+ if (config.outputRange && typeof config.outputRange[0] == "string")
83
+ return createInterpolationFromStringOutputRange(config);
84
+ var outputRange = config.outputRange, inputRange = config.inputRange;
81
85
  __DEV__ && (checkInfiniteRange("outputRange", outputRange), checkInfiniteRange("inputRange", inputRange), checkValidInputRange(inputRange), invariant(inputRange.length === outputRange.length, "inputRange (" + inputRange.length + ") and outputRange (" + outputRange.length + ") must have the same length"));
82
- var easing = config.easing || linear,
83
- extrapolateLeft = "extend";
86
+ var easing = config.easing || linear, extrapolateLeft = "extend";
84
87
  config.extrapolateLeft !== void 0 ? extrapolateLeft = config.extrapolateLeft : config.extrapolate !== void 0 && (extrapolateLeft = config.extrapolate);
85
88
  var extrapolateRight = "extend";
86
- return config.extrapolateRight !== void 0 ? extrapolateRight = config.extrapolateRight : config.extrapolate !== void 0 && (extrapolateRight = config.extrapolate), function (input) {
89
+ return config.extrapolateRight !== void 0 ? extrapolateRight = config.extrapolateRight : config.extrapolate !== void 0 && (extrapolateRight = config.extrapolate), function(input) {
87
90
  invariant(typeof input == "number", "Cannot interpolation an input which is not a number");
88
91
  var range = findRange(input, inputRange);
89
92
  return interpolate(input, inputRange[range], inputRange[range + 1], outputRange[range], outputRange[range + 1], easing, extrapolateLeft, extrapolateRight);
@@ -92,47 +95,46 @@ function createInterpolation(config) {
92
95
  function interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight) {
93
96
  var result = input;
94
97
  if (result < inputMin) {
95
- if (extrapolateLeft === "identity") return result;
98
+ if (extrapolateLeft === "identity")
99
+ return result;
96
100
  extrapolateLeft === "clamp" && (result = inputMin);
97
101
  }
98
102
  if (result > inputMax) {
99
- if (extrapolateRight === "identity") return result;
103
+ if (extrapolateRight === "identity")
104
+ return result;
100
105
  extrapolateRight === "clamp" && (result = inputMax);
101
106
  }
102
107
  return outputMin === outputMax ? outputMin : inputMin === inputMax ? input <= inputMin ? outputMin : outputMax : (inputMin === -1 / 0 ? result = -result : inputMax === 1 / 0 ? result = result - inputMin : result = (result - inputMin) / (inputMax - inputMin), result = easing(result), outputMin === -1 / 0 ? result = -result : outputMax === 1 / 0 ? result = result + outputMin : result = result * (outputMax - outputMin) + outputMin, result);
103
108
  }
104
109
  function colorToRgba(input) {
105
110
  var normalizedColor = normalizeColor(input);
106
- if (normalizedColor === null || typeof normalizedColor != "number") return input;
111
+ if (normalizedColor === null || typeof normalizedColor != "number")
112
+ return input;
107
113
  normalizedColor = normalizedColor || 0;
108
- var r = (normalizedColor & 4278190080) >>> 24,
109
- g = (normalizedColor & 16711680) >>> 16,
110
- b = (normalizedColor & 65280) >>> 8,
111
- a = (normalizedColor & 255) / 255;
114
+ var r = (normalizedColor & 4278190080) >>> 24, g = (normalizedColor & 16711680) >>> 16, b = (normalizedColor & 65280) >>> 8, a = (normalizedColor & 255) / 255;
112
115
  return "rgba(" + r + ", " + g + ", " + b + ", " + a + ")";
113
116
  }
114
117
  var stringShapeRegex = /[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;
115
118
  function createInterpolationFromStringOutputRange(config) {
116
119
  var outputRange = config.outputRange;
117
120
  invariant(outputRange.length >= 2, "Bad output range"), outputRange = outputRange.map(colorToRgba), checkPattern(outputRange);
118
- var outputRanges = outputRange[0].match(stringShapeRegex).map(function () {
121
+ var outputRanges = outputRange[0].match(stringShapeRegex).map(function() {
119
122
  return [];
120
123
  });
121
- outputRange.forEach(function (value) {
122
- value.match(stringShapeRegex).forEach(function (number, i) {
124
+ outputRange.forEach(function(value) {
125
+ value.match(stringShapeRegex).forEach(function(number, i) {
123
126
  outputRanges[i].push(+number);
124
127
  });
125
128
  });
126
- var interpolations = outputRange[0].match(stringShapeRegex).map(function (value, i) {
127
- return createInterpolation({
128
- ...config,
129
- outputRange: outputRanges[i]
130
- });
131
- }),
132
- shouldRound = isRgbOrRgba(outputRange[0]);
133
- return function (input) {
129
+ var interpolations = outputRange[0].match(stringShapeRegex).map(function(value, i) {
130
+ return createInterpolation({
131
+ ...config,
132
+ outputRange: outputRanges[i]
133
+ });
134
+ }), shouldRound = isRgbOrRgba(outputRange[0]);
135
+ return function(input) {
134
136
  var i = 0;
135
- return outputRange[0].replace(stringShapeRegex, function () {
137
+ return outputRange[0].replace(stringShapeRegex, function() {
136
138
  var val = +interpolations[i++](input);
137
139
  return shouldRound && (val = i < 4 ? Math.round(val) : Math.round(val * 1e3) / 1e3), String(val);
138
140
  });
@@ -142,79 +144,94 @@ function isRgbOrRgba(range) {
142
144
  return typeof range == "string" && range.startsWith("rgb");
143
145
  }
144
146
  function checkPattern(arr) {
145
- for (var pattern = arr[0].replace(stringShapeRegex, ""), i = 1; i < arr.length; ++i) invariant(pattern === arr[i].replace(stringShapeRegex, ""), "invalid pattern " + arr[0] + " and " + arr[i]);
147
+ for (var pattern = arr[0].replace(stringShapeRegex, ""), i = 1; i < arr.length; ++i)
148
+ invariant(pattern === arr[i].replace(stringShapeRegex, ""), "invalid pattern " + arr[0] + " and " + arr[i]);
146
149
  }
147
150
  function findRange(input, inputRange) {
148
151
  var i;
149
- for (i = 1; i < inputRange.length - 1 && !(inputRange[i] >= input); ++i);
152
+ for (i = 1; i < inputRange.length - 1 && !(inputRange[i] >= input); ++i)
153
+ ;
150
154
  return i - 1;
151
155
  }
152
156
  function checkValidInputRange(arr) {
153
157
  invariant(arr.length >= 2, "inputRange must have at least 2 elements");
154
- for (var message = "inputRange must be monotonically non-decreasing " + String(arr), i = 1; i < arr.length; ++i) invariant(arr[i] >= arr[i - 1], message);
158
+ for (var message = "inputRange must be monotonically non-decreasing " + String(arr), i = 1; i < arr.length; ++i)
159
+ invariant(arr[i] >= arr[i - 1], message);
155
160
  }
156
161
  function checkInfiniteRange(name, arr) {
157
- invariant(arr.length >= 2, name + " must have at least 2 elements"), invariant(arr.length !== 2 || arr[0] !== -1 / 0 || arr[1] !== 1 / 0,
158
- /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression
159
- * below this comment, one or both of the operands may be something that
160
- * doesn't cleanly convert to a string, like undefined, null, and object,
161
- * etc. If you really mean this implicit string conversion, you can do
162
- * something like String(myThing) */
163
- name + "cannot be ]-infinity;+infinity[ " + arr);
164
- }
165
- var AnimatedInterpolation = /* @__PURE__ */function (AnimatedWithChildren2) {
162
+ invariant(arr.length >= 2, name + " must have at least 2 elements"), invariant(
163
+ arr.length !== 2 || arr[0] !== -1 / 0 || arr[1] !== 1 / 0,
164
+ /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression
165
+ * below this comment, one or both of the operands may be something that
166
+ * doesn't cleanly convert to a string, like undefined, null, and object,
167
+ * etc. If you really mean this implicit string conversion, you can do
168
+ * something like String(myThing) */
169
+ name + "cannot be ]-infinity;+infinity[ " + arr
170
+ );
171
+ }
172
+ var AnimatedInterpolation = /* @__PURE__ */ function(AnimatedWithChildren2) {
166
173
  _inherits(AnimatedInterpolation2, AnimatedWithChildren2);
167
174
  function AnimatedInterpolation2(parent, config) {
168
175
  _class_call_check(this, AnimatedInterpolation2);
169
176
  var _this;
170
177
  return _this = _call_super(this, AnimatedInterpolation2), _this._parent = parent, _this._config = config, _this._interpolation = createInterpolation(config), _this;
171
178
  }
172
- return _create_class(AnimatedInterpolation2, [{
173
- key: "__makeNative",
174
- value: function (platformConfig) {
175
- this._parent.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__makeNative", this).call(this, platformConfig);
176
- }
177
- }, {
178
- key: "__getValue",
179
- value: function () {
180
- var parentValue = this._parent.__getValue();
181
- return invariant(typeof parentValue == "number", "Cannot interpolate an input which is not a number."), this._interpolation(parentValue);
182
- }
183
- }, {
184
- key: "interpolate",
185
- value: function (config) {
186
- return new AnimatedInterpolation2(this, config);
187
- }
188
- }, {
189
- key: "__attach",
190
- value: function () {
191
- this._parent.__addChild(this);
192
- }
193
- }, {
194
- key: "__detach",
195
- value: function () {
196
- this._parent.__removeChild(this), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__detach", this).call(this);
197
- }
198
- }, {
199
- key: "__transformDataType",
200
- value: function (range) {
201
- return range.map(NativeAnimatedHelper.transformDataType);
202
- }
203
- }, {
204
- key: "__getNativeConfig",
205
- value: function () {
206
- return __DEV__ && NativeAnimatedHelper.validateInterpolation(this._config), {
207
- inputRange: this._config.inputRange,
208
- // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here
209
- outputRange: this.__transformDataType(this._config.outputRange),
210
- extrapolateLeft: this._config.extrapolateLeft || this._config.extrapolate || "extend",
211
- extrapolateRight: this._config.extrapolateRight || this._config.extrapolate || "extend",
212
- type: "interpolation"
213
- };
179
+ return _create_class(AnimatedInterpolation2, [
180
+ {
181
+ key: "__makeNative",
182
+ value: function(platformConfig) {
183
+ this._parent.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__makeNative", this).call(this, platformConfig);
184
+ }
185
+ },
186
+ {
187
+ key: "__getValue",
188
+ value: function() {
189
+ var parentValue = this._parent.__getValue();
190
+ return invariant(typeof parentValue == "number", "Cannot interpolate an input which is not a number."), this._interpolation(parentValue);
191
+ }
192
+ },
193
+ {
194
+ key: "interpolate",
195
+ value: function(config) {
196
+ return new AnimatedInterpolation2(this, config);
197
+ }
198
+ },
199
+ {
200
+ key: "__attach",
201
+ value: function() {
202
+ this._parent.__addChild(this);
203
+ }
204
+ },
205
+ {
206
+ key: "__detach",
207
+ value: function() {
208
+ this._parent.__removeChild(this), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__detach", this).call(this);
209
+ }
210
+ },
211
+ {
212
+ key: "__transformDataType",
213
+ value: function(range) {
214
+ return range.map(NativeAnimatedHelper.transformDataType);
215
+ }
216
+ },
217
+ {
218
+ key: "__getNativeConfig",
219
+ value: function() {
220
+ return __DEV__ && NativeAnimatedHelper.validateInterpolation(this._config), {
221
+ inputRange: this._config.inputRange,
222
+ // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here
223
+ outputRange: this.__transformDataType(this._config.outputRange),
224
+ extrapolateLeft: this._config.extrapolateLeft || this._config.extrapolate || "extend",
225
+ extrapolateRight: this._config.extrapolateRight || this._config.extrapolate || "extend",
226
+ type: "interpolation"
227
+ };
228
+ }
214
229
  }
215
- }]), AnimatedInterpolation2;
230
+ ]), AnimatedInterpolation2;
216
231
  }(AnimatedWithChildren);
217
232
  AnimatedInterpolation.__createInterpolation = createInterpolation;
218
233
  var AnimatedInterpolation_default = AnimatedInterpolation;
219
- export { AnimatedInterpolation_default as default };
220
- //# sourceMappingURL=AnimatedInterpolation.native.js.map
234
+ export {
235
+ AnimatedInterpolation_default as default
236
+ };
237
+ //# sourceMappingURL=AnimatedInterpolation.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["normalizeColor","invariant","NativeAnimatedHelper","AnimatedWithChildren","_assert_this_initialized","self","ReferenceError","_call_super","_this","derived","args","_get_prototype_of","_possible_constructor_return","_is_native_reflect_construct","Reflect","construct","constructor","apply","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","_get","property","receiver","get","target2","property2","receiver2","base","_super_prop_base","desc","getOwnPropertyDescriptor","call","value","o","setPrototypeOf","getPrototypeOf","o2","__proto__","_inherits","subClass","superClass","create","_set_prototype_of","_type_of","p","p2","object","hasOwnProperty","obj","Symbol","result","Boolean","valueOf","__DEV__","process","env","NODE_ENV","linear","t","createInterpolation","config","outputRange","createInterpolationFromStringOutputRange","inputRange","checkInfiniteRange","checkValidInputRange","easing","extrapolateLeft","extrapolate","extrapolateRight","input","range","findRange","interpolate","inputMin","inputMax","outputMin","outputMax","colorToRgba","normalizedColor","r","g","b","a","stringShapeRegex","map","checkPattern","outputRanges","match","forEach","number","push","interpolations","shouldRound","isRgbOrRgba","replace","val","Math","round","String","startsWith","arr","pattern"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedInterpolation.js"],"sourcesContent":[null],"mappings":"AAaA,OAAOA,cAAA,MAAoB;AAC3B,SAASC,SAAA,QAAiB;AAE1B,OAAOC,oBAAA,MAA0B;AACjC,OAAOC,oBAAA,MAA0B;AAEjC,SAAIC,wBAAsBA,CAAAC,IAAA,EAAa;EAQvC,IAAAA,IAAS,aACP,MAAI,IAAOC,cAAe,4DAAiC;EACzD,OAAAD,IAAO;AAGT;AAGA,SAAIE,WACFA,CAAAC,KAAA,EAAAC,OAAmB,EAAAC,IAAA;EAGnB,OACED,OAAW,GAAAE,iBAAW,CAAAF,OAAY,GAAAG,4BAAA,CAAAJ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AA;MAEAgF,YAAY,CAAAhF,CAAA,EAAQoF,IAAA,EAAAD,MAAA;IAClB;EACF;EAEA,IAAAE,cAAW,GAAA/B,WAAA,IAAA2B,KAAA,CAAAJ,gBAAA,EAAAC,GAAA,WAAArD,KAAA,EAAAzB,CAAA;MACT,OAAKoD,mBAAmB;QAC1B,GAAAC,MAAA;QAEAC,WAAW,EAAA0B,YAAA,CAAAhF,CAAA;MACT;IAGF;IAAAsF,WAAA,GAAAC,WAAA,CAAAjC,WAAA;EAEA,iBAAAS,KAAoB;IAClB,IAAA/D,CAAA,GAAO;IACT,OAAAsD,WAAA,IAAAkC,OAAA,CAAAX,gBAAA;MAEA,IAAAY,GAAA,IAAAJ,cAAoB,CAAArF,CAAA,IAAA+D,KAAA;MAClB,OAAIuB,WACF,KAAAG,GAAA,GAAAzF,CAAA,OAAqB0F,IAAA,CAAAC,KAAA,CAAAF,GAAA,IAAAC,IAAsB,CAAAC,KAAK,CAAAF,GAAA,GAAO,GAGlD,UAAAG,MAAA,CAAAH,GAAA;IAAA,EACL;EAAyB;AAAA;AAEqC,SAC9DF,YAAAvB,KACE,EAAK;EAAuD,OAC9D,OAAAA,KAAA,IACE,QAAK,IAAQA,KAAA,CAAA6B,UAAA,MAAoB;AAA4B;AACzD,SACRd,aAAAe,GAAA;EACF,SAAAC,OAAA,GAAAD,GAAA,IAAAN,OAAA,CAAAX,gBAAA,OAAA7E,CAAA,MAAAA,CAAA,GAAA8F,GAAA,CAAA7F,MAAA,IAAAD,CAAA,EACFxB,SAAA,CAAAuH,OAAA,KAAAD,GAAA,CAAA9F,CAAA,EAAAwF,OAAA,CAAAX,gBAAA,4BAAAiB,GAAA,gBAAAA,GAAA,CAAA9F,CAAA;AAEA;AACA,SAAOiE,UAAAF,KAAA,EAAAP,UAAQ","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/n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IAAI,GAE/B,KAAA,kBApCEZ,uBAAAA,SAAAA,GAoCIW,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,SAAoBnD,OAAK;AACvB,eAAOA,MAAMgB,IAAItC,qBAAqB0E,iBAAiB;MACzD;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,eAAIzE,WACFF,qBAAqB4E,sBAAsB,KAAKb,OAAO,GAGlD;UACLnD,YAAY,KAAKmD,QAAQnD;;UAEzBF,aAAa,KAAK+D,oBAAoB,KAAKV,QAAQrD,WAAW;UAC9DO,iBACE,KAAK8C,QAAQ9C,mBAAmB,KAAK8C,QAAQ5C,eAAe;UAC9DC,kBACE,KAAK2C,QAAQ3C,oBAAoB,KAAK2C,QAAQ5C,eAAe;UAC/D0D,MAAM;QACR;MACF;;MA1DIjB;EAA8B3D,oBAAAA;AA6DpC2D,sBAAsBkB,wBAAwBtE;AAC9C,IAAA,gCAAeoD;",
5
+ "names": ["normalizeColor", "invariant", "NativeAnimatedHelper", "AnimatedWithChildren", "__DEV__", "process", "env", "NODE_ENV", "linear", "t", "createInterpolation", "config", "outputRange", "createInterpolationFromStringOutputRange", "inputRange", "checkInfiniteRange", "checkValidInputRange", "length", "easing", "extrapolateLeft", "undefined", "extrapolate", "extrapolateRight", "input", "range", "findRange", "interpolate", "inputMin", "inputMax", "outputMin", "outputMax", "result", "Infinity", "colorToRgba", "normalizedColor", "r", "g", "b", "a", "stringShapeRegex", "map", "checkPattern", "outputRanges", "match", "forEach", "value", "number", "i", "push", "interpolations", "shouldRound", "isRgbOrRgba", "replace", "val", "Math", "round", "String", "startsWith", "arr", "pattern", "message", "name", "AnimatedInterpolation", "parent", "_parent", "_config", "_interpolation", "__makeNative", "platformConfig", "__getValue", "parentValue", "__attach", "__addChild", "__detach", "__removeChild", "__transformDataType", "transformDataType", "__getNativeConfig", "validateInterpolation", "type", "__createInterpolation"]
6
+ }
@@ -1,14 +1,16 @@
1
- import AnimatedInterpolation from "./AnimatedInterpolation.native.js";
2
- import AnimatedWithChildren from "./AnimatedWithChildren.native.js";
1
+ import AnimatedInterpolation from "./AnimatedInterpolation";
2
+ import AnimatedWithChildren from "./AnimatedWithChildren";
3
3
  function _assert_this_initialized(self) {
4
- if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ if (self === void 0)
5
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
6
  return self;
6
7
  }
7
8
  function _call_super(_this, derived, args) {
8
9
  return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
9
10
  }
10
11
  function _class_call_check(instance, Constructor) {
11
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
12
+ if (!(instance instanceof Constructor))
13
+ throw new TypeError("Cannot call a class as a function");
12
14
  }
13
15
  function _defineProperties(target, props) {
14
16
  for (var i = 0; i < props.length; i++) {
@@ -20,7 +22,7 @@ function _create_class(Constructor, protoProps, staticProps) {
20
22
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
21
23
  }
22
24
  function _get(target, property, receiver) {
23
- return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function (target2, property2, receiver2) {
25
+ return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
24
26
  var base = _super_prop_base(target2, property2);
25
27
  if (base) {
26
28
  var desc = Object.getOwnPropertyDescriptor(base, property2);
@@ -29,12 +31,13 @@ function _get(target, property, receiver) {
29
31
  }, _get(target, property, receiver || target);
30
32
  }
31
33
  function _get_prototype_of(o) {
32
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
34
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
33
35
  return o2.__proto__ || Object.getPrototypeOf(o2);
34
36
  }, _get_prototype_of(o);
35
37
  }
36
38
  function _inherits(subClass, superClass) {
37
- if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
39
+ if (typeof superClass != "function" && superClass !== null)
40
+ throw new TypeError("Super expression must either be null or a function");
38
41
  subClass.prototype = Object.create(superClass && superClass.prototype, {
39
42
  constructor: {
40
43
  value: subClass,
@@ -47,70 +50,80 @@ function _possible_constructor_return(self, call) {
47
50
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
48
51
  }
49
52
  function _set_prototype_of(o, p) {
50
- return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
53
+ return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
51
54
  return o2.__proto__ = p2, o2;
52
55
  }, _set_prototype_of(o, p);
53
56
  }
54
57
  function _super_prop_base(object, property) {
55
- for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null););
58
+ for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
59
+ ;
56
60
  return object;
57
61
  }
58
62
  function _type_of(obj) {
59
63
  "@swc/helpers - typeof";
60
-
61
64
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
62
65
  }
63
66
  function _is_native_reflect_construct() {
64
67
  try {
65
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
66
- } catch {}
67
- return (_is_native_reflect_construct = function () {
68
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
69
+ }));
70
+ } catch {
71
+ }
72
+ return (_is_native_reflect_construct = function() {
68
73
  return !!result;
69
74
  })();
70
75
  }
71
- var AnimatedModulo = /* @__PURE__ */function (AnimatedWithChildren2) {
72
- _inherits(AnimatedModulo2, AnimatedWithChildren2);
73
- function AnimatedModulo2(a, modulus) {
74
- _class_call_check(this, AnimatedModulo2);
75
- var _this;
76
- return _this = _call_super(this, AnimatedModulo2), _this._a = a, _this._modulus = modulus, _this;
77
- }
78
- return _create_class(AnimatedModulo2, [{
76
+ var AnimatedModulo = /* @__PURE__ */ function(AnimatedWithChildren2) {
77
+ _inherits(AnimatedModulo2, AnimatedWithChildren2);
78
+ function AnimatedModulo2(a, modulus) {
79
+ _class_call_check(this, AnimatedModulo2);
80
+ var _this;
81
+ return _this = _call_super(this, AnimatedModulo2), _this._a = a, _this._modulus = modulus, _this;
82
+ }
83
+ return _create_class(AnimatedModulo2, [
84
+ {
79
85
  key: "__makeNative",
80
- value: function (platformConfig) {
86
+ value: function(platformConfig) {
81
87
  this._a.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedModulo2.prototype), "__makeNative", this).call(this, platformConfig);
82
88
  }
83
- }, {
89
+ },
90
+ {
84
91
  key: "__getValue",
85
- value: function () {
92
+ value: function() {
86
93
  return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;
87
94
  }
88
- }, {
95
+ },
96
+ {
89
97
  key: "interpolate",
90
- value: function (config) {
98
+ value: function(config) {
91
99
  return new AnimatedInterpolation(this, config);
92
100
  }
93
- }, {
101
+ },
102
+ {
94
103
  key: "__attach",
95
- value: function () {
104
+ value: function() {
96
105
  this._a.__addChild(this);
97
106
  }
98
- }, {
107
+ },
108
+ {
99
109
  key: "__detach",
100
- value: function () {
110
+ value: function() {
101
111
  this._a.__removeChild(this), _get(_get_prototype_of(AnimatedModulo2.prototype), "__detach", this).call(this);
102
112
  }
103
- }, {
113
+ },
114
+ {
104
115
  key: "__getNativeConfig",
105
- value: function () {
116
+ value: function() {
106
117
  return {
107
118
  type: "modulus",
108
119
  input: this._a.__getNativeTag(),
109
120
  modulus: this._modulus
110
121
  };
111
122
  }
112
- }]), AnimatedModulo2;
113
- }(AnimatedWithChildren),
114
- AnimatedModulo_default = AnimatedModulo;
115
- export { AnimatedModulo_default as default };
116
- //# sourceMappingURL=AnimatedModulo.native.js.map
123
+ }
124
+ ]), AnimatedModulo2;
125
+ }(AnimatedWithChildren), AnimatedModulo_default = AnimatedModulo;
126
+ export {
127
+ AnimatedModulo_default as default
128
+ };
129
+ //# sourceMappingURL=AnimatedModulo.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["AnimatedInterpolation","AnimatedWithChildren","_assert_this_initialized","self","ReferenceError","_call_super","_this","derived","args","_get_prototype_of","_possible_constructor_return","_is_native_reflect_construct","Reflect","construct","constructor","apply","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","_get","property","receiver","get","target2","property2","receiver2","base","_super_prop_base","desc","getOwnPropertyDescriptor","call","value"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedModulo.js"],"sourcesContent":[null],"mappings":"AAWA,OAAOA,qBAAA,MAA2B;AAClC,OAAOC,oBAAA,MAA0B;AAEjC,SAAMC,wBAAuBA,CAAAC,IAAA;EAC3B,IAAAA,IAAA,KAAY,KAAG,GACb,MAAM,IACNC,cACA,4DAAgB;EAClB,OAAAD,IAAA;AAAA;AAGE,SAAKE,WAAGA,CAAAC,KAAa,EAAAC,OAAA,EAAAC,IAAc,EAEnC;EACF,OAAAD,OAAA,GAAAE,iBAAA,CAAAF,OAAA,GAAAG,4BAAA,CAAAJ,KAAA,EAAAK,4BAAA,KAAAC,OAAA,CAAAC,SAAA,CAAAN,OAAA,EAAAC,IAAA,QAAAC,iBAAA,CAAAH,KAAA,EAAAQ,WAAA,IAAAP,OAAA,CAAAQ,KAAA,CAAAT,KAAA,EAAAE,IAAA;AAAA;AAGE,SAAAQ,iBAAiBA,CAAAC,QAAe,EAAAC,WAAK;EACvC,MAAAD,QAAA,YAAAC,WAAA,GAEA,UAAYC,SAAQ;AAClB;AAA6C,SAC/CC,kBAAAC,MAAA,EAAAC,KAAA;EAEA,SAAAC,CAAA,GAAW,GAAAA,CAAA,GAAAD,KAAA,CAAAE,MAAA,EAAAD,CAAA;IACT,IAAAE,UAAQ,GAAAH,KAAW,CAAIC,CAAA;IACzBE,UAAA,CAAAC,UAAA,GAAAD,UAAA,CAAAC,UAAA,QAAAD,UAAA,CAAAE,YAAA,kBAAAF,UAAA,KAAAA,UAAA,CAAAG,QAAA,QAAAC,MAAA,CAAAC,cAAA,CAAAT,MAAA,EAAAI,UAAA,CAAAM,GAAA,EAAAN,UAAA;EAEA;AACE;AAEe,SACjBO,cAAAd,WAAA,EAAAe,UAAA,EAAAC,WAAA;EAEA,OAAAD,UAAA,IAAoBb,iBAAA,CAAAF,WAAA,CAAAiB,SAAA,EAAAF,UAAA,GAAAC,WAAA,IAAAd,iBAAA,CAAAF,WAAA,EAAAgB,WAAA,GAAAhB,WAAA;AAClB;AAAO,SACLkB,IAAMA,CAAAf,MAAA,EAAAgB,QAAA,EAAAC,QAAA;EAAA,OACN,OAAO1B,OAAQ,UAAAA,OAAe,CAAA2B,GAAA,GAAAH,IAAA,GAAAxB,OAAA,CAAA2B,GAAA,GAAAH,IAAA,YAAAA,CAAAI,OAAA,EAAAC,SAAA,EAAAC,SAAA;IAAA,IAC9BC,IAAA,GAASC,gBAAK,CAAAJ,OAAA,EAAAC,SAAA;IAChB,IAAAE,IAAA;MACF,IAAAE,IAAA,GAAAhB,MAAA,CAAAiB,wBAAA,CAAAH,IAAA,EAAAF,SAAA;MACF,OAAAI,IAAA,CAAAN,GAAA,GAAAM,IAAA,CAAAN,GAAA,CAAAQ,IAAA,CAAAL,SAAA,IAAAF,OAAA,IAAAK,IAAA,CAAAG,KAAA;IAEO","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedModulo.js"],
4
+ "mappings": "AAWA,OAAOA,2BAA2B;AAClC,OAAOC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAMC,iBAAN,yBAAAD,uBAAA;YAAMC,iBAAAA,qBAAAA;WAAAA,gBACQC,GAAGC,SAAO;4BADlBF,eAAAA;;mBAEF,YAAA,MAFEA,eAAAA,GAGF,MAAKG,KAAKF,GACV,MAAKG,WAAWF;;uBAJdF,iBAAAA;;MAOJK,KAAAA;aAAAA,SAAaC,gBAAc;AACzB,aAAKH,GAAGE,aAAaC,cAAAA,GAErB,KAAA,kBAVEN,gBAAAA,SAAAA,GAUIK,gBAAN,IAAK,EAAA,KAAA,MAAcC,cAAAA;MACrB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,gBAAS,KAAKJ,GAAGI,WAAU,IAAK,KAAKH,WAAY,KAAKA,YAAY,KAAKA;MACzE;;;MAEAI,KAAAA;aAAAA,SAAYC,QAAM;AAChB,eAAO,IAAIX,sBAAsB,MAAMW,MAAAA;MACzC;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKP,GAAGQ,WAAW,IAAI;MACzB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKT,GAAGU,cAAc,IAAI,GAE1B,KAAA,kBA5BEb,gBAAAA,SAAAA,GA4BIY,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,WAAAA;AACE,eAAO;UACLC,MAAM;UACNC,OAAO,KAAKb,GAAGc,eAAc;UAC7Bf,SAAS,KAAKE;QAChB;MACF;;MArCIJ;EAAuBD,oBAAAA,GAwC7B,yBAAeC;",
5
+ "names": ["AnimatedInterpolation", "AnimatedWithChildren", "AnimatedModulo", "a", "modulus", "_a", "_modulus", "__makeNative", "platformConfig", "__getValue", "interpolate", "config", "__attach", "__addChild", "__detach", "__removeChild", "__getNativeConfig", "type", "input", "__getNativeTag"]
6
+ }