decord/source/__polyfill/10xxx/module_10699.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

111 lines
4.1 KiB
JavaScript

// Module ID: 10699
// Function ID: 10700
// Dependencies: [41, 42, 93, 95, 98, 10560, 10689, 10587, 10691]
// Module 10699
import _mod10691 from "module_10691" /* 10691 */;
import _classCallCheck from "_classCallCheck" /* 41 */;
import _createClass from "_createClass" /* 42 */;
import c3 from "_possibleConstructorReturn" /* 93 */;
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
import _inherits from "_inherits" /* 98 */;
const RUWeekdayParser = require;
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) {
}
}
class RUWeekdayParser {
constructor() {
self = this;
tmp = c2(this, RUWeekdayParser);
tmp2 = closure_4;
obj = closure_4(RUWeekdayParser);
tmp3 = closure_3;
if (hasOwnProperty()) {
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(RUWeekdayParser, _mod10691.AbstractParserWithLeftRightBoundaryChecking);
const entry = {
key: "innerPatternString",
value: function innerPatternString(arg0) {
return "(?:(?:,|\\(|\uFF08)\\s*)?(?:\u0432\\s*?)?(?:(\u044D\u0442\u0443|\u044D\u0442\u043E\u0442|\u043F\u0440\u043E\u0448\u043B\u044B\u0439|\u043F\u0440\u043E\u0448\u043B\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E)\\s*)?(" + RUWeekdayParser(10560).matchAnyPattern(RUWeekdayParser(10689).WEEKDAY_DICTIONARY) + ")(?:\\s*(?:,|\\)|\uFF09))?(?:\\s*\u043D\u0430\\s*(\u044D\u0442\u043E\u0439|\u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439)\\s*\u043D\u0435\u0434\u0435\u043B\u0435)?";
}
};
const items = [
entry,
{
key: "innerExtract",
value: function innerExtract(reference, arg1) {
const formatted = arg1[2].toLowerCase();
let str2 = arg1[1];
if (!str2) {
str2 = arg1[3];
}
if (!str2) {
str2 = "";
}
const formatted1 = str2.toLowerCase();
let str3 = "last";
if ("\u043F\u0440\u043E\u0448\u043B\u044B\u0439" != formatted1) {
str3 = "last";
if ("\u043F\u0440\u043E\u0448\u043B\u0443\u044E" != formatted1) {
str3 = "last";
if ("\u043F\u0440\u043E\u0448\u043B\u043E\u0439" != formatted1) {
str3 = "next";
if ("\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439" != formatted1) {
str3 = "next";
if ("\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E" != formatted1) {
str3 = "next";
if ("\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439" != formatted1) {
str3 = "next";
if ("\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E" != formatted1) {
let tmp5 = "\u044D\u0442\u043E\u0442" != formatted1;
if (tmp5) {
tmp5 = "\u044D\u0442\u0443" != formatted1;
}
if (tmp5) {
tmp5 = "\u044D\u0442\u043E\u0439" != formatted1;
}
str3 = null;
if (!tmp5) {
str3 = "this";
}
}
}
}
}
}
}
}
return RUWeekdayParser(10587).createParsingComponentsAtWeekday(reference.reference, RUWeekdayParser(10689).WEEKDAY_DICTIONARY[formatted], str3);
}
}
];
export default _createClass(RUWeekdayParser, items);