decord/source/5272__isNativeReflectConstruct.js

88 lines
3 KiB
JavaScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 5272
2026-07-24 07:16:23 +00:00
// Function ID: 45486
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 102, 18, 5256]
2026-07-20 16:05:17 +00:00
2026-07-22 07:54:56 +00:00
// Module 5272 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _callSuper from "_callSuper";
import _defineProperties from "_defineProperties";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _get from "_get";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let _callSuper = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _callSuper;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let closure_6 = { code: "function changeEventCalculator_Pnpm_rotationGestureTs1(current,previous){let changePayload;if(previous===undefined){changePayload={rotationChange:current.rotation};}else{changePayload={rotationChange:current.rotation-previous.rotation};}return{...current,...changePayload};}" };
let closure_7 = (() => {
function changeEventCalculator(rotation, rotation2) {
if (undefined === rotation2) {
let obj = { rotationChange: rotation.rotation };
2026-07-21 22:01:30 +00:00
} else {
2026-07-23 10:11:24 +00:00
obj = { rotationChange: rotation.rotation - rotation2.rotation };
2026-07-21 22:01:30 +00:00
}
2026-07-23 10:11:24 +00:00
return Object.assign({}, rotation, obj);
2026-07-21 22:01:30 +00:00
}
changeEventCalculator.__closure = {};
2026-07-23 10:11:24 +00:00
changeEventCalculator.__workletHash = 11988645380499;
2026-07-21 22:01:30 +00:00
changeEventCalculator.__initData = closure_6;
return changeEventCalculator;
2026-07-23 10:11:24 +00:00
})();
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
export const RotationGesture = ((ContinousBaseGesture) => {
class RotationGesture {
2026-07-20 16:05:17 +00:00
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = RotationGesture(this, RotationGesture);
obj = outer1_3(RotationGesture);
tmp2 = outer1_2;
if (outer1_8()) {
2026-07-20 16:05:17 +00:00
tmp4 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, [], outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
constructResult = obj.apply(self, undefined);
}
tmp2Result = tmp2(self, constructResult);
2026-07-23 10:11:24 +00:00
tmp2Result.handlerName = "RotationGestureHandler";
2026-07-20 16:05:17 +00:00
return tmp2Result;
}
}
2026-07-23 10:11:24 +00:00
callback2(RotationGesture, ContinousBaseGesture);
let items = [
{
key: "onChange",
value: function onChange(arg0) {
this.handlers.changeEventCalculator = outer1_7;
const items = [arg0];
return (function _superPropGet(RotationGesture, onChange, arg2, arg3) {
let _callSuper = arg2;
let prototype = RotationGesture;
if (1) {
prototype = RotationGesture.prototype;
}
const tmpResult = outer2_4(outer2_3(prototype), "onChange", arg2);
let _defineProperties = tmpResult;
let fn = tmpResult;
if (2) {
fn = tmpResult;
if ("function" === typeof tmpResult) {
fn = (arg0) => tmpResult.apply(_callSuper, arg0);
}
2026-07-21 22:01:30 +00:00
}
2026-07-23 10:11:24 +00:00
return fn;
})(RotationGesture, "onChange", this, 3)(items);
}
2026-07-21 22:01:30 +00:00
}
2026-07-23 10:11:24 +00:00
];
return callback(RotationGesture, items);
})(require("_callSuper").ContinousBaseGesture);