decord/source/272_noop.js
2026-07-23 10:11:24 +00:00

121 lines
4.2 KiB
JavaScript

// Module ID: 272
// Function ID: 3396
// Name: noop
// Dependencies: [6, 7, 48, 49, 143, 117, 145]
// Module 272 (noop)
import defaultDiffer from "defaultDiffer";
import _defineProperties from "_defineProperties";
import getFabricUIManager from "getFabricUIManager";
import importDefaultResult from "nullthrows";
let closure_5;
let closure_6;
let closure_7;
let closure_8;
let closure_9;
const require = arg1;
({ measure: closure_5, measureInWindow: closure_6, measureLayout: closure_7, getBoundingClientRect: closure_8, setNativeProps: closure_9 } = require("nullthrows")(getFabricUIManager.getFabricUIManager()));
function noop() {
}
export default (() => {
class ReactFabricHostComponent {
constructor(arg0, arg1, arg2) {
tmp = outer1_3(this, ReactFabricHostComponent);
this.__nativeTag = arg0;
this._viewConfig = arg1;
this.__internalInstanceHandle = arg2;
return;
}
}
let obj = {
key: "blur",
value: function blur() {
outer1_1(outer1_2[4]).blurTextInput(this);
}
};
const items = [obj, , , , , , ];
obj = {
key: "focus",
value: function focus() {
outer1_1(outer1_2[4]).focusTextInput(this);
}
};
items[1] = obj;
obj = {
key: "measure",
value: function measure(arg0) {
const nodeFromInternalInstanceHandle = ReactFabricHostComponent(outer1_2[5]).getNodeFromInternalInstanceHandle(this.__internalInstanceHandle);
if (null != nodeFromInternalInstanceHandle) {
outer1_5(nodeFromInternalInstanceHandle, arg0, tmp);
}
}
};
items[2] = obj;
items[3] = {
key: "measureInWindow",
value: function measureInWindow(arg0) {
const nodeFromInternalInstanceHandle = ReactFabricHostComponent(outer1_2[5]).getNodeFromInternalInstanceHandle(this.__internalInstanceHandle);
if (null != nodeFromInternalInstanceHandle) {
outer1_6(nodeFromInternalInstanceHandle, arg0);
}
}
};
items[4] = {
key: "measureLayout",
value: function measureLayout(__internalInstanceHandle) {
let tmp = arg1;
let tmp2 = arg2;
if ("number" !== typeof __internalInstanceHandle) {
if (__internalInstanceHandle instanceof ReactFabricHostComponent) {
const self = this;
const nodeFromInternalInstanceHandle = ReactFabricHostComponent(outer1_2[5]).getNodeFromInternalInstanceHandle(this.__internalInstanceHandle);
const obj = ReactFabricHostComponent(outer1_2[5]);
const nodeFromInternalInstanceHandle1 = ReactFabricHostComponent(outer1_2[5]).getNodeFromInternalInstanceHandle(__internalInstanceHandle.__internalInstanceHandle);
if (tmp8) {
if (null == tmp2) {
tmp2 = outer1_10;
}
if (null == tmp) {
tmp = outer1_10;
}
outer1_7(nodeFromInternalInstanceHandle, nodeFromInternalInstanceHandle1, tmp2, tmp);
const tmp9 = outer1_7;
}
const obj2 = ReactFabricHostComponent(outer1_2[5]);
tmp8 = null != nodeFromInternalInstanceHandle && null != nodeFromInternalInstanceHandle1;
}
}
}
};
items[5] = {
key: "unstable_getBoundingClientRect",
value: function unstable_getBoundingClientRect() {
const nodeFromInternalInstanceHandle = ReactFabricHostComponent(outer1_2[5]).getNodeFromInternalInstanceHandle(this.__internalInstanceHandle);
if (null != nodeFromInternalInstanceHandle) {
const tmp3 = outer1_8(nodeFromInternalInstanceHandle, true);
if (tmp3) {
const _DOMRect = DOMRect;
const dOMRect = new DOMRect(tmp3[0], tmp3[1], tmp3[2], tmp3[3]);
return dOMRect;
}
}
const dOMRect1 = new DOMRect(0, 0, 0, 0);
return dOMRect1;
}
};
items[6] = {
key: "setNativeProps",
value: function setNativeProps(arg0) {
let obj = ReactFabricHostComponent(outer1_2[6]);
obj = obj.create(arg0, this._viewConfig.validAttributes);
const nodeFromInternalInstanceHandle = ReactFabricHostComponent(outer1_2[5]).getNodeFromInternalInstanceHandle(this.__internalInstanceHandle);
if (tmp3) {
outer1_9(nodeFromInternalInstanceHandle, obj);
}
}
};
return callback(ReactFabricHostComponent, items);
})();