This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+98
View File
@@ -0,0 +1,98 @@
// Metro module 1701 (f1702).
import _classCallCheck from "./_classCallCheck";
import _createClass from "./_createClass";
import { Platform, NativeEventEmitter } from "react-native";
import * as _Module1609 from "./Module1609";
import * as _runWorkletOnJS from "./runWorkletOnJS";
import { runOnUIImmediately } from "./runWorkletOnJS";
let c1342_5;
let JSPropsUpdaterFabric;
let env1342 = {};
Platform;
const shouldBeUseWeb = _Module1609.shouldBeUseWeb();
const JSPropsUpdaterPaper = function JSPropsUpdaterPaper() {
_classCallCheck(this, JSPropsUpdaterPaper);
this._reanimatedEventEmitter = new NativeEventEmitter(void 0);
};
let r37 = _createClass(JSPropsUpdaterPaper, [{
key: "addOnJSPropsChangeListener",
value: function addOnJSPropsChangeListener(a0) {
JSPropsUpdaterPaper._tagToComponentMapping.set(a0.getComponentViewTag(), a0);
if (JSPropsUpdaterPaper._tagToComponentMapping.size === 1) {
this._reanimatedEventEmitter.addListener("onReanimatedPropsChange", (a0) => {
const r7 = JSPropsUpdaterPaper._tagToComponentMapping.get(a0.viewTag);
if (r7 != null) {
r7._updateFromNative(a0.props);
}
});
}
}
}, {
key: "removeOnJSPropsChangeListener",
value: function removeOnJSPropsChangeListener(a0) {
JSPropsUpdaterPaper._tagToComponentMapping.delete(a0.getComponentViewTag());
if (JSPropsUpdaterPaper._tagToComponentMapping.size === 0) {
this._reanimatedEventEmitter.removeAllListeners("onReanimatedPropsChange");
}
}
}]);
r37._tagToComponentMapping = new Map();
c1342_5 = {
code: "function pnpm_JSPropsUpdaterTs1(){const{runOnJS,updater}=this.__closure;global.updateJSProps=function(viewTag,props){runOnJS(updater)(viewTag,props);};}"
};
JSPropsUpdaterFabric = function JSPropsUpdaterFabric() {
_classCallCheck(this, JSPropsUpdaterFabric);
if (!JSPropsUpdaterFabric.isInitialized) {
const updater2 = (a0, a1) => {
const r6 = JSPropsUpdaterFabric._tagToComponentMapping.get(a0);
if (r6 != null) {
r6._updateFromNative(a1);
}
};
const t = function t() {
global.updateJSProps = (a0, a1) => {
_runWorkletOnJS.runOnJS(updater2)(a0, a1);
};
};
t.__closure = {
runOnJS: _runWorkletOnJS.runOnJS,
updater: updater2
};
t.__workletHash = 2068327241111;
t.__initData = c1342_5;
runOnUIImmediately(t)();
JSPropsUpdaterFabric.isInitialized = true;
}
};
const r50 = _createClass(JSPropsUpdaterFabric, [{
key: "addOnJSPropsChangeListener",
value: function addOnJSPropsChangeListener(a0) {
if (JSPropsUpdaterFabric.isInitialized) {
JSPropsUpdaterFabric._tagToComponentMapping.set(a0.getComponentViewTag(), a0);
}
}
}, {
key: "removeOnJSPropsChangeListener",
value: function removeOnJSPropsChangeListener(a0) {
if (JSPropsUpdaterFabric.isInitialized) {
JSPropsUpdaterFabric._tagToComponentMapping.delete(a0.getComponentViewTag());
}
}
}]);
r50._tagToComponentMapping = new Map();
r50.isInitialized = false;
if (shouldBeUseWeb) {
const JSPropsUpdaterWeb2 = function JSPropsUpdaterWeb() {
_classCallCheck(this, JSPropsUpdaterWeb2);
};
r37 = _createClass(JSPropsUpdaterWeb2, [{
key: "addOnJSPropsChangeListener",
value: function addOnJSPropsChangeListener(a0) {}
}, {
key: "removeOnJSPropsChangeListener",
value: function removeOnJSPropsChangeListener(a0) {}
}]);
} else if (global._IS_FABRIC) {
r37 = r50;
}
export default r37;