2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 124
|
|
|
|
|
// Function ID: 125
|
|
|
|
|
// Name: _isNativeReflectConstruct
|
|
|
|
|
// Dependencies: [41, 42, 93, 95, 98, 125, 126]
|
|
|
|
|
|
|
|
|
|
// Module 124 (_isNativeReflectConstruct)
|
2026-08-24 06:08:38 +00:00
|
|
|
import _inheritsDefault from "_inherits" /* 98 */;
|
|
|
|
|
import importDefaultResult1Default from "importDefaultResult1" /* 125 */;
|
|
|
|
|
import DOMRect from "_classCallCheck" /* 41 */;
|
|
|
|
|
import closure_1 from "_possibleConstructorReturn" /* 93 */;
|
|
|
|
|
import closure_2 from "_getPrototypeOf" /* 95 */;
|
|
|
|
|
import importDefaultResult from "_createClass" /* 42 */;
|
|
|
|
|
import setPlatformObject from "setPlatformObject" /* 126 */;
|
2026-07-29 08:29:29 +00:00
|
|
|
|
|
|
|
|
function _isNativeReflectConstruct() {
|
|
|
|
|
try {
|
|
|
|
|
const _Boolean = Boolean;
|
|
|
|
|
const call = valueOf.call;
|
|
|
|
|
const _Reflect = Reflect;
|
|
|
|
|
const _Boolean2 = Boolean;
|
|
|
|
|
if (typeof call === "unknown") {
|
|
|
|
|
let callResult = valueOf();
|
|
|
|
|
} else {
|
|
|
|
|
callResult = call(constructResult);
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = !callResult;
|
|
|
|
|
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
2026-07-29 08:29:29 +00:00
|
|
|
return closure_0;
|
2026-08-24 06:08:38 +00:00
|
|
|
};
|
2026-07-29 08:29:29 +00:00
|
|
|
return _isNativeReflectConstruct();
|
|
|
|
|
} catch (err) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
class DOMRect {
|
|
|
|
|
constructor() {
|
|
|
|
|
self = this;
|
|
|
|
|
tmp = DOMRect(this, DOMRect);
|
2026-08-24 06:08:38 +00:00
|
|
|
tmp2 = closure_2;
|
|
|
|
|
obj = closure_2(DOMRect);
|
|
|
|
|
tmp3 = closure_1;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (_isNativeReflectConstruct()) {
|
|
|
|
|
tmp7 = globalThis;
|
|
|
|
|
_Reflect = Reflect;
|
|
|
|
|
tmp8 = arguments;
|
|
|
|
|
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
|
|
|
|
|
} else {
|
|
|
|
|
tmp4 = arguments;
|
|
|
|
|
tmp5 = arguments;
|
|
|
|
|
constructResult = obj(...arguments);
|
|
|
|
|
}
|
|
|
|
|
return tmp3(self, constructResult);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
_inheritsDefault(DOMRect, importDefaultResult1Default);
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = {
|
|
|
|
|
key: "x",
|
|
|
|
|
get() {
|
|
|
|
|
return this.__getInternalX();
|
|
|
|
|
},
|
|
|
|
|
set(arg0) {
|
|
|
|
|
this.__setInternalX(arg0);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items = [
|
|
|
|
|
obj,
|
|
|
|
|
{
|
|
|
|
|
key: "y",
|
|
|
|
|
get() {
|
|
|
|
|
return this.__getInternalY();
|
|
|
|
|
},
|
|
|
|
|
set(DOMRectReadOnly) {
|
|
|
|
|
this.__setInternalY(DOMRectReadOnly);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "width",
|
|
|
|
|
get() {
|
|
|
|
|
return this.__getInternalWidth();
|
|
|
|
|
},
|
|
|
|
|
set(width) {
|
|
|
|
|
this.__setInternalWidth(width);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: "height",
|
|
|
|
|
get() {
|
|
|
|
|
return this.__getInternalHeight();
|
|
|
|
|
},
|
|
|
|
|
set(height) {
|
|
|
|
|
this.__setInternalHeight(height);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
obj = {
|
|
|
|
|
key: "fromRect",
|
|
|
|
|
value: function fromRect(arg0) {
|
|
|
|
|
if (arg0) {
|
|
|
|
|
({ x, y, width, height } = arg0);
|
|
|
|
|
let tmpResult = tmp(x, y, width, height);
|
|
|
|
|
const obj = Object.create(tmp.prototype);
|
|
|
|
|
} else {
|
|
|
|
|
tmpResult = tmp();
|
|
|
|
|
}
|
|
|
|
|
return tmpResult;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items1 = [obj];
|
|
|
|
|
const importDefaultResultResult = importDefaultResult(DOMRect, items, items1);
|
|
|
|
|
let c4 = importDefaultResultResult;
|
|
|
|
|
obj = {
|
|
|
|
|
clone(arg0) {
|
|
|
|
|
return new closure_4(arg0.x, arg0.y, arg0.width, arg0.height);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
setPlatformObject.setPlatformObject(importDefaultResultResult, obj);
|
|
|
|
|
|
|
|
|
|
export default importDefaultResultResult;
|