decord/source/__helpers/10xxx/10557__isNativeReflectConstruct.js
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

79 lines
2.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Module ID: 10557
// Function ID: 10558
// Name: _isNativeReflectConstruct
// Dependencies: [41, 42, 93, 95, 98, 10455]
// Module 10557 (_isNativeReflectConstruct)
import _isNativeReflectConstruct2 from "_isNativeReflectConstruct" /* 10455 */;
import ZHHantMergeDateRangeRefiner from "_classCallCheck" /* 41 */;
import _createClass from "_createClass" /* 42 */;
import closure_1 from "_possibleConstructorReturn" /* 93 */;
import closure_2 from "_getPrototypeOf" /* 95 */;
import _inherits from "_inherits" /* 98 */;
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);
}
closure_0 = !callResult;
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
return closure_0;
};
return _isNativeReflectConstruct();
} catch (err) {
}
}
let fn = this;
if (this) {
fn = this.__importDefault;
}
if (!fn) {
fn = (__esModule) => {
if (!__esModule) {
const obj = { default: null };
obj[0] = __esModule;
let tmp = obj;
} else {
tmp = __esModule;
}
return tmp;
};
}
class ZHHantMergeDateRangeRefiner {
constructor() {
self = this;
tmp = ZHHantMergeDateRangeRefiner(this, ZHHantMergeDateRangeRefiner);
tmp2 = closure_2;
obj = closure_2(ZHHantMergeDateRangeRefiner);
tmp3 = closure_1;
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);
}
}
_inherits(ZHHantMergeDateRangeRefiner, fn(_isNativeReflectConstruct2).default);
const items = [
{
key: "patternBetween",
value: function patternBetween() {
return /^\s*(至|到|\-|\~|~|-|ー)\s*$/i;
}
}
];
export default _createClass(ZHHantMergeDateRangeRefiner, items);