decord/source/1768_updateLayoutAnimations.js

55 lines
1.3 KiB
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1768
// Function ID: 1769
2026-07-29 08:29:29 +00:00
// Name: updateLayoutAnimations
2026-08-15 05:55:55 +00:00
// Dependencies: [1657, 1698]
2026-07-29 08:29:29 +00:00
2026-08-15 05:55:55 +00:00
// Module 1768 (updateLayoutAnimations)
2026-08-24 06:08:38 +00:00
import isJest from "isJest" /* 1657 */;
2026-07-29 08:29:29 +00:00
let closure_0 = require;
let closure_1 = dependencyMap;
if (isJest.shouldBeUseWeb()) {
let fn = function t() {
};
} else {
closure_0 = [];
closure_1 = [];
let obj = { update: null, flush: null };
obj[0] = function update(arg0, arg1) {
if (arg1) {
let arr = arr2.push(arg0);
} else {
arr = arr.push(arg0);
}
if (arr.length + arr2.length === 1) {
const self = this;
if (obj.isFabric()) {
self.flush();
} else {
const _setImmediate = setImmediate;
setImmediate(self.flush);
}
obj = arr(arr2[0]);
}
};
obj[1] = function flush() {
const result = arr(arr2[1]).configureLayoutAnimationBatch(arr.concat(arr2));
arr.length = 0;
arr2.length = 0;
};
fn = function t(viewTag, type) {
2026-08-24 06:08:38 +00:00
obj = { viewTag, type, config: null, sharedTransitionTag: null };
2026-07-29 08:29:29 +00:00
let shareableCloneRecursive;
if (arg2) {
shareableCloneRecursive = arr(arr2[1]).makeShareableCloneRecursive(arg2);
const obj2 = arr(arr2[1]);
}
obj[2] = shareableCloneRecursive;
obj[3] = arg3;
return obj.update(obj, arg4);
};
}
export const updateLayoutAnimations = fn;