40 lines
1.3 KiB
JavaScript
40 lines
1.3 KiB
JavaScript
// Module ID: 8479
|
|
// Function ID: 67554
|
|
// Name: pickNotNil
|
|
// Dependencies: [4488]
|
|
|
|
// Module 8479 (pickNotNil)
|
|
const module = arg2;
|
|
const dependencyMap = arg6;
|
|
arg5.pickNotNil = function pickNotNil(obj) {
|
|
obj = {};
|
|
for (const key10007 in arg0) {
|
|
let tmp4 = key10007;
|
|
let _Object = Object;
|
|
if (!hasOwnProperty.call(arg0, key10007)) {
|
|
continue;
|
|
} else {
|
|
let tmp = arg0[key10007];
|
|
let tmp2 = tmp;
|
|
if (null == tmp) {
|
|
continue;
|
|
} else {
|
|
obj[key10007] = tmp;
|
|
let tmp3 = tmp;
|
|
continue;
|
|
}
|
|
continue;
|
|
}
|
|
continue;
|
|
}
|
|
return obj;
|
|
};
|
|
arg5.idPattern = /#([^)]+)'?\)?$/;
|
|
arg5.getRandomNumber = function getRandomNumber() {
|
|
const random = Math.random();
|
|
const random1 = Math.random();
|
|
return Math.floor(random * Math.floor(random1 * Date.now()));
|
|
};
|
|
arg5.warnUnimplementedFilter = function warnUnimplementedFilter() {
|
|
module(4488)(true, "Some of the used filters are not yet supported on native platforms. Please check the USAGE.md for more info. Not implemented filters:\n", JSON.stringify(["FeComponentTransfer", "FeConvolveMatrix", "FeDiffuseLighting", "FeDisplacementMap", "FeFuncA", "FeFuncB", "FeFuncG", "FeFuncR", "FeImage", "FeMorphology", "FePointLight", "FeSpecularLighting", "FeSpotLight", "FeTile", "FeTurbulence"], null, 2));
|
|
};
|