decord/source/4182_print.js

54 lines
1.3 KiB
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 4182
// Function ID: 4183
2026-07-20 16:05:17 +00:00
// Name: print
// Dependencies: []
2026-08-08 06:10:11 +00:00
// Module 4182 (print)
2026-07-23 10:11:24 +00:00
let c0 = false;
2026-07-20 16:05:17 +00:00
const BooleanResult = Boolean(false);
function print() {
}
if (BooleanResult) {
print = function print(arg0) {
let component;
let method;
let params;
({ component, method, params } = arg0);
2026-07-23 10:11:24 +00:00
if (params) {
2026-08-04 21:03:28 +00:00
if (typeof params === "object") {
2026-07-20 16:05:17 +00:00
const _Object = Object;
const keys = Object.keys(params);
const mapped = keys.map((arg0) => "" + arg0 + ":" + params[arg0]);
let joined = mapped.join(" ");
} else {
2026-07-29 08:29:29 +00:00
let str = params;
if (params == null) {
str = "";
2026-07-20 16:05:17 +00:00
}
const _HermesInternal = HermesInternal;
2026-07-29 08:29:29 +00:00
joined = "" + str;
2026-07-20 16:05:17 +00:00
}
const _console = console;
const items = [component, method];
const _Boolean = Boolean;
const found = items.filter(Boolean);
params = found.join("::");
const _HermesInternal2 = HermesInternal;
component = HermesInternal.concat;
2026-07-29 08:29:29 +00:00
method = "]";
2026-07-20 16:05:17 +00:00
console.log(component(params, "]"), joined);
}
};
}
const frozen = Object.freeze(print);
arg5.print = print;
2026-07-29 08:29:29 +00:00
arg5.enableLogging = () => {
2026-07-23 10:11:24 +00:00
if (closure_1) {
let c0 = true;
2026-07-20 16:05:17 +00:00
} else {
const _console = console;
console.warn("[Portal] could not enable logging on production!");
}
};