decord/source/5269__isNativeReflectConstruct.js
2026-07-24 07:16:23 +00:00

99 lines
2.6 KiB
JavaScript

// Module ID: 5269
// Function ID: 45438
// Name: _isNativeReflectConstruct
// Dependencies: [6, 7, 15, 17, 18, 5256]
// Module 5269 (_isNativeReflectConstruct)
import _classCallCheck from "_classCallCheck";
import _defineProperties from "_defineProperties";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
function _isNativeReflectConstruct() {
let _classCallCheck = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return _classCallCheck;
}
const result = _isNativeReflectConstruct();
}
export const TapGesture = ((BaseGesture) => {
class TapGesture {
constructor() {
self = this;
tmp = TapGesture(this, TapGesture);
obj = outer1_3(TapGesture);
tmp2 = outer1_2;
if (outer1_5()) {
tmp4 = globalThis;
_Reflect = Reflect;
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, [], outer1_3(self).constructor);
} else {
constructResult = obj.apply(self, undefined);
}
tmp2Result = tmp2(self, constructResult);
tmp2Result.config = {};
tmp2Result.handlerName = "TapGestureHandler";
result = tmp2Result.shouldCancelWhenOutside(true);
return tmp2Result;
}
}
callback2(TapGesture, BaseGesture);
let obj = {
key: "minPointers",
value: function minPointers(minPointers) {
this.config.minPointers = minPointers;
return this;
}
};
const items = [obj, , , , , , ];
obj = {
key: "numberOfTaps",
value: function numberOfTaps(numberOfTaps) {
this.config.numberOfTaps = numberOfTaps;
return this;
}
};
items[1] = obj;
obj = {
key: "maxDistance",
value: function maxDistance(maxDist) {
this.config.maxDist = maxDist;
return this;
}
};
items[2] = obj;
items[3] = {
key: "maxDuration",
value: function maxDuration(maxDurationMs) {
this.config.maxDurationMs = maxDurationMs;
return this;
}
};
items[4] = {
key: "maxDelay",
value: function maxDelay(maxDelayMs) {
this.config.maxDelayMs = maxDelayMs;
return this;
}
};
items[5] = {
key: "maxDeltaX",
value: function maxDeltaX(maxDeltaX) {
this.config.maxDeltaX = maxDeltaX;
return this;
}
};
items[6] = {
key: "maxDeltaY",
value: function maxDeltaY(maxDeltaY) {
this.config.maxDeltaY = maxDeltaY;
return this;
}
};
return callback(TapGesture, items);
})(require("_callSuper").BaseGesture);