decord/source/__polyfill/00xxx/module_255.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

50 lines
1.4 KiB
JavaScript

// Module ID: 255
// Function ID: 256
// Dependencies: [87, 256, 148, 26]
// Module 255
import _modDef26 from "module_26" /* 26 */;
import flattenStyleDefault from "flattenStyle" /* 148 */;
import composeStylesDefault from "composeStyles" /* 256 */;
const require = arg1;
const rect = { position: "absolute", left: 0, right: 0, top: 0, bottom: 0 };
let obj = {};
Object.defineProperty(obj, "hairlineWidth", {
get: () => {
if (null == closure_3) {
const _default = require("PixelRatio").default;
const roundToNearestPixelResult = _default.roundToNearestPixel(0.4);
closure_3 = roundToNearestPixelResult;
if (0 === roundToNearestPixelResult) {
closure_3 = 1 / _default.get();
}
}
return closure_3;
},
set: undefined
});
obj.absoluteFill = rect;
obj.absoluteFillObject = rect;
obj.compose = composeStylesDefault;
obj.flatten = flattenStyleDefault;
obj.setStyleAttributePreprocessor = function setStyleAttributePreprocessor(arg0, process) {
if (true === _modDef26[arg0]) {
const obj = { process };
let obj2 = obj;
} else if (typeof tmp(26)[arg0] !== "object") {
const _console = console;
const _HermesInternal = HermesInternal;
console.error("" + arg0 + " is not a valid style attribute");
} else {
obj2 = {};
const merged = Object.assign(tmp(26)[arg0]);
obj2.process = process;
}
_modDef26[arg0] = obj2;
};
obj.create = function create(arg0) {
return arg0;
};
export default obj;