decord/source/5050__isNativeReflectConstruct.js

72 lines
2.1 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 5050
2026-07-21 22:01:30 +00:00
// Function ID: 43111
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-21 06:55:02 +00:00
// Dependencies: []
2026-07-20 16:05:17 +00:00
// Module 5050 (_isNativeReflectConstruct)
function _isNativeReflectConstruct() {
2026-07-21 06:55:02 +00:00
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-21 06:55:02 +00:00
return closure_0;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-21 06:55:02 +00:00
let closure_0 = importDefault(dependencyMap[0]);
let closure_1 = importDefault(dependencyMap[1]);
let closure_2 = importDefault(dependencyMap[2]);
let closure_3 = importDefault(dependencyMap[3]);
let closure_4 = importDefault(dependencyMap[4]);
2026-07-20 16:05:17 +00:00
2026-07-21 22:01:30 +00:00
export const LongPressGesture = (BaseGesture) => {
class LongPressGesture {
2026-07-20 16:05:17 +00:00
constructor() {
self = this;
2026-07-21 22:01:30 +00:00
tmp = LongPressGesture(this, LongPressGesture);
obj = closure_3(LongPressGesture);
2026-07-20 16:05:17 +00:00
tmp2 = closure_2;
2026-07-21 06:55:02 +00:00
if (closure_5()) {
2026-07-20 16:05:17 +00:00
tmp4 = globalThis;
_Reflect = Reflect;
tmp5 = closure_3;
constructResult = Reflect.construct(obj, [], closure_3(self).constructor);
} else {
constructResult = obj.apply(self, undefined);
}
tmp2Result = tmp2(self, constructResult);
tmp2Result.config = {};
2026-07-21 22:01:30 +00:00
tmp2Result.handlerName = "LongPressGestureHandler";
result = tmp2Result.shouldCancelWhenOutside(true);
2026-07-20 16:05:17 +00:00
return tmp2Result;
}
}
2026-07-21 22:01:30 +00:00
let closure_0 = LongPressGesture;
callback2(LongPressGesture, BaseGesture);
2026-07-20 16:05:17 +00:00
let obj = {
2026-07-21 22:01:30 +00:00
key: "minDuration",
value: function minDuration(CONTEXT_MENU_LONG_PRESS_DURATION_MS) {
this.config.minDurationMs = CONTEXT_MENU_LONG_PRESS_DURATION_MS;
2026-07-20 16:05:17 +00:00
return this;
}
};
2026-07-21 22:01:30 +00:00
const items = [obj, , ];
2026-07-20 16:05:17 +00:00
obj = {
2026-07-21 22:01:30 +00:00
key: "maxDistance",
value: function maxDistance(maxDist) {
this.config.maxDist = maxDist;
2026-07-20 16:05:17 +00:00
return this;
}
};
items[1] = obj;
2026-07-21 22:01:30 +00:00
obj = {
key: "numberOfPointers",
value: function numberOfPointers(numberOfPointers) {
this.config.numberOfPointers = numberOfPointers;
return this;
}
};
items[2] = obj;
return callback(LongPressGesture, items);
2026-07-21 06:55:02 +00:00
}(arg1(dependencyMap[5]).BaseGesture);