chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
This commit is contained in:
parent
ae16c5aaed
commit
a36fe4ec9c
9111 changed files with 196313 additions and 196379 deletions
3831
source.jsonl
3831
source.jsonl
File diff suppressed because it is too large
Load diff
|
|
@ -773,8 +773,8 @@ const frozen2 = Object.freeze({
|
|||
}
|
||||
return str;
|
||||
},
|
||||
DEBUG_LOG(ANDROID_APP, discord_app_logs) {
|
||||
return "/debug-logs/" + ANDROID_APP + "/" + discord_app_logs;
|
||||
DEBUG_LOG(ANDROID_APP, filename) {
|
||||
return "/debug-logs/" + ANDROID_APP + "/" + filename;
|
||||
},
|
||||
DEBUG_LOGS(arg0) {
|
||||
return "/debug-logs/multi/" + arg0;
|
||||
|
|
@ -2782,8 +2782,8 @@ const obj2 = {
|
|||
}
|
||||
return str;
|
||||
},
|
||||
DEBUG_LOG(ANDROID_APP, discord_app_logs) {
|
||||
return "/debug-logs/" + ANDROID_APP + "/" + discord_app_logs;
|
||||
DEBUG_LOG(ANDROID_APP, filename) {
|
||||
return "/debug-logs/" + ANDROID_APP + "/" + filename;
|
||||
},
|
||||
DEBUG_LOGS(arg0) {
|
||||
return "/debug-logs/multi/" + arg0;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ let closure_7 = async function _queryCache(arg0, value) {
|
|||
const use = fn(19).use;
|
||||
const jsx = fn(21).jsx;
|
||||
let closure_6 = 1;
|
||||
let closure_8 = { uri: "justifyContent", width: "call", height: "window" };
|
||||
let closure_8 = { uri: "test", width: "call", height: "intl" };
|
||||
function _BaseImage(arg0) {
|
||||
({ alt, accessible, aria-labelledby: tmp, aria-busy: tmp2, aria-checked: tmp3, aria-disabled: tmp4, aria-expanded: tmp5, aria-label: tmp7, aria-selected: tmp8, accessibilityLabel, accessibilityLabelledBy, accessibilityState, defaultSource, loadingIndicatorSource, style, onLoadStart, onLoad, onLoadEnd, onError, width, height } = arg0);
|
||||
({ ref, aria-hidden: tmp6, children, source, src, crossOrigin, referrerPolicy, srcSet, resizeMode } = arg0);
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ function _shift(fn) {
|
|||
function createIndexedDbStore(arg0) {
|
||||
let dbName = arg0;
|
||||
function getStore() {
|
||||
if (null == f72205) {
|
||||
if (null == f72208) {
|
||||
let str = dbName.dbName;
|
||||
if (!str) {
|
||||
str = "sentry-offline";
|
||||
|
|
@ -154,12 +154,12 @@ function createIndexedDbStore(arg0) {
|
|||
closure_0.onerror = fn2;
|
||||
closure_0.onabort = fn2;
|
||||
});
|
||||
f72205 = (arg0) => {
|
||||
f72208 = (arg0) => {
|
||||
closure_0 = arg0;
|
||||
return promise.then((transaction) => closure_0(transaction.transaction(openResult, "readwrite").objectStore(openResult)));
|
||||
};
|
||||
}
|
||||
return f72205;
|
||||
return f72208;
|
||||
}
|
||||
const obj = { push: null, unshift: null, shift: null };
|
||||
closure_4 = asyncGeneratorStep(async (arg0, value) => {
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
// Module ID: 1273
|
||||
// Function ID: 1274
|
||||
// Module ID: 1271
|
||||
// Function ID: 1272
|
||||
// Name: _createForOfIteratorHelper
|
||||
// Dependencies: [1274, 1275, 1321, 1322, 1323, 1324, 1325]
|
||||
// Dependencies: [1272, 1273, 1319, 1320, 1321, 1322, 1323]
|
||||
// Exports: agent, del, delete, get, getXHR, head, options, parseString, patch, post, put, serializeObject
|
||||
|
||||
// Module 1273 (_createForOfIteratorHelper)
|
||||
import _mod1275 from "module_1275" /* 1275 */;
|
||||
import defaultOptions from "defaultOptions" /* 1321 */;
|
||||
import ResponseBase from "ResponseBase" /* 1322 */;
|
||||
import Emitter from "Emitter" /* 1323 */;
|
||||
import RequestBase from "RequestBase" /* 1324 */;
|
||||
import _mod1325 from "module_1325" /* 1325 */;
|
||||
import _createForOfIteratorHelper_mod from "module_1274" /* 1274 */;
|
||||
// Module 1271 (_createForOfIteratorHelper)
|
||||
import _mod1273 from "module_1273" /* 1273 */;
|
||||
import defaultOptions from "defaultOptions" /* 1319 */;
|
||||
import ResponseBase from "ResponseBase" /* 1320 */;
|
||||
import Emitter from "Emitter" /* 1321 */;
|
||||
import RequestBase from "RequestBase" /* 1322 */;
|
||||
import _mod1323 from "module_1323" /* 1323 */;
|
||||
import _createForOfIteratorHelper_mod from "module_1272" /* 1272 */;
|
||||
|
||||
let length;
|
||||
let str2 = require;
|
||||
|
|
@ -203,7 +203,7 @@ function pushEncodedKeyValuePair(items, key10006, value) {
|
|||
if (obj2.isObject(value)) {
|
||||
for (const key10033 in arg2) {
|
||||
let tmp25 = key10033;
|
||||
let obj4 = str2(1274);
|
||||
let obj4 = str2(1272);
|
||||
if (!obj4.hasOwn(arg2, key10033)) {
|
||||
continue;
|
||||
} else {
|
||||
|
|
@ -222,7 +222,7 @@ function pushEncodedKeyValuePair(items, key10006, value) {
|
|||
const text = `${encodeURI(key10006)}=`;
|
||||
items.push(`${encodeURI(key10006)}=` + encodeURIComponent(value));
|
||||
}
|
||||
obj2 = str2(1274);
|
||||
obj2 = str2(1272);
|
||||
}
|
||||
} else {
|
||||
const _encodeURI = encodeURI;
|
||||
|
|
@ -861,7 +861,7 @@ let num2 = 0;
|
|||
if (0 < items.length) {
|
||||
do {
|
||||
str2 = items[num2];
|
||||
_mod1325.prototype[str2.toLowerCase()] = function(arg0, arg1) {
|
||||
_mod1323.prototype[str2.toLowerCase()] = function(arg0, arg1) {
|
||||
const request = new metroRequire.Request(str2, arg0);
|
||||
this._setDefaults(request);
|
||||
if (arg1) {
|
||||
|
|
@ -890,7 +890,7 @@ function del(arg0, fn, arg2) {
|
|||
}
|
||||
return obj;
|
||||
}
|
||||
_mod1325.prototype.del = _mod1325.prototype.delete;
|
||||
_mod1323.prototype.del = _mod1323.prototype.delete;
|
||||
|
||||
export default (arg0, fn) => {
|
||||
if (typeof fn === "function") {
|
||||
|
|
@ -918,7 +918,7 @@ export const serializeObject = function serialize(obj) {
|
|||
if (obj.isObject(obj)) {
|
||||
const items = [];
|
||||
for (const key10012 in arg0) {
|
||||
let obj2 = str2(1274);
|
||||
let obj2 = str2(1272);
|
||||
if (!obj2.hasOwn(arg0, key10012)) {
|
||||
continue;
|
||||
} else {
|
||||
|
|
@ -931,14 +931,14 @@ export const serializeObject = function serialize(obj) {
|
|||
} else {
|
||||
return obj;
|
||||
}
|
||||
obj = str2(1274);
|
||||
obj = str2(1272);
|
||||
};
|
||||
export { parseString };
|
||||
export const types = { html: "text/html", json: "application/json", xml: "text/xml", urlencoded: "application/x-www-form-urlencoded", form: "application/x-www-form-urlencoded", "form-data": "application/x-www-form-urlencoded" };
|
||||
export const serialize = { "application/x-www-form-urlencoded": _mod1275.stringify, "application/json": defaultOptions };
|
||||
export const serialize = { "application/x-www-form-urlencoded": _mod1273.stringify, "application/json": defaultOptions };
|
||||
export const parse = { "application/x-www-form-urlencoded": parseString, "application/json": JSON.parse };
|
||||
export { Response };
|
||||
export const agent = () => new str2(1325)();
|
||||
export const agent = () => new str2(1323)();
|
||||
export const get = (arg0, fn, arg2) => {
|
||||
let tmp = arg2;
|
||||
const obj = _exports("GET", arg0);
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 1286
|
||||
// Function ID: 1287
|
||||
// Module ID: 1284
|
||||
// Function ID: 1285
|
||||
// Name: _Symbol
|
||||
// Dependencies: [1287]
|
||||
// Dependencies: [1285]
|
||||
|
||||
// Module 1286 (_Symbol)
|
||||
import _mod1287 from "module_1287" /* 1287 */;
|
||||
// Module 1284 (_Symbol)
|
||||
import _mod1285 from "module_1285" /* 1285 */;
|
||||
|
||||
let _Symbol = typeof Symbol !== "undefined";
|
||||
if (typeof Symbol !== "undefined") {
|
||||
|
|
@ -24,7 +24,7 @@ export default function hasNativeSymbols() {
|
|||
const SymbolResult = Symbol("bar");
|
||||
let tmp8 = typeof SymbolResult === "symbol";
|
||||
if (typeof SymbolResult === "symbol") {
|
||||
tmp8 = _mod1287();
|
||||
tmp8 = _mod1285();
|
||||
}
|
||||
tmp3 = tmp8;
|
||||
}
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
// Module ID: 8683
|
||||
// Function ID: 8684
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1253]
|
||||
// Dependencies: [5, 17, 1251]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8683 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1253 */;
|
||||
import Buffer from "Buffer" /* 1251 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
// Module ID: 11363
|
||||
// Function ID: 11364
|
||||
// Module ID: 11364
|
||||
// Function ID: 11365
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11359]
|
||||
// Dependencies: [5, 17, 11360]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11363 (_pickDirectory)
|
||||
import _mod11359 from "module_11359" /* 11359 */;
|
||||
// Module 11364 (_pickDirectory)
|
||||
import _mod11360 from "module_11360" /* 11360 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
|
|
@ -35,7 +35,7 @@ let closure_3 = async function _pickDirectory(arg0, value) {
|
|||
} else {
|
||||
const obj = { mode: "open" };
|
||||
const merged = Object.assign(closure_0);
|
||||
const NativeDocumentPicker = _mod11359.NativeDocumentPicker;
|
||||
const NativeDocumentPicker = _mod11360.NativeDocumentPicker;
|
||||
c1 = 3;
|
||||
const obj4 = { value: NativeDocumentPicker.pickDirectory(obj), done: true };
|
||||
return obj4;
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
// Module ID: 11364
|
||||
// Function ID: 11365
|
||||
// Module ID: 11365
|
||||
// Function ID: 11366
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11361, 11359, 11365]
|
||||
// Dependencies: [5, 17, 11362, 11360, 11366]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11364 (_pick)
|
||||
import _mod11359 from "module_11359" /* 11359 */;
|
||||
import _mod11361 from "module_11361" /* 11361 */;
|
||||
// Module 11365 (_pick)
|
||||
import _mod11360 from "module_11360" /* 11360 */;
|
||||
import _mod11362 from "module_11362" /* 11362 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
|
|
@ -58,7 +58,7 @@ let closure_3 = async function _pick(arg0, value) {
|
|||
fn = (str) => str.trim();
|
||||
let mapped = flatResult.map(fn);
|
||||
} else {
|
||||
let items1 = [_mod11361.types.allFiles];
|
||||
let items1 = [_mod11362.types.allFiles];
|
||||
let obj4 = { mode: "import", allowMultiSelection: false, allowVirtualFiles: false };
|
||||
let merged = Object.assign(tmp44);
|
||||
obj4.type = items1;
|
||||
|
|
@ -75,7 +75,7 @@ let closure_3 = async function _pick(arg0, value) {
|
|||
throw typeError;
|
||||
}
|
||||
}
|
||||
let NativeDocumentPicker = _mod11359.NativeDocumentPicker;
|
||||
let NativeDocumentPicker = _mod11360.NativeDocumentPicker;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
let obj5 = { value: NativeDocumentPicker.pick(obj4), done: false };
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 11366
|
||||
// Function ID: 11367
|
||||
// Module ID: 11367
|
||||
// Function ID: 11368
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11359]
|
||||
// Dependencies: [5, 17, 11360]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11366 (_saveDocuments)
|
||||
// Module 11367 (_saveDocuments)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = fn;
|
||||
|
|
@ -16,9 +16,9 @@ let closure_3 = async function _saveDocuments() {
|
|||
const _HermesInternal = HermesInternal;
|
||||
console.warn("DocumentPicker.saveDocuments: Android only allows to save one file at a time.\n\n You provided an array with " + length + " entries.");
|
||||
}
|
||||
const NativeDocumentPicker2 = tmp2(11359).NativeDocumentPicker;
|
||||
const NativeDocumentPicker2 = tmp2(11360).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11359).NativeDocumentPicker;
|
||||
const NativeDocumentPicker = tmp2(11360).NativeDocumentPicker;
|
||||
await NativeDocumentPicker.writeDocuments(closure_128_0);
|
||||
return arg1;
|
||||
})();
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
// Module ID: 12974
|
||||
// Function ID: 12975
|
||||
// Module ID: 12975
|
||||
// Function ID: 12976
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12953, 12975, 12954, 12926, 12937, 12940, 12933, 12963, 12927, 12949]
|
||||
// Dependencies: [5, 12954, 12976, 12955, 12927, 12938, 12941, 12934, 12964, 12928, 12950]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12974 (_flush)
|
||||
import _mod12927 from "module_12927" /* 12927 */;
|
||||
import _mod12937 from "module_12937" /* 12937 */;
|
||||
import _mod12940 from "module_12940" /* 12940 */;
|
||||
import _mod12949 from "module_12949" /* 12949 */;
|
||||
import _mod12953 from "module_12953" /* 12953 */;
|
||||
import _mod12975 from "module_12975" /* 12975 */;
|
||||
// Module 12975 (_flush)
|
||||
import _mod12928 from "module_12928" /* 12928 */;
|
||||
import _mod12938 from "module_12938" /* 12938 */;
|
||||
import _mod12941 from "module_12941" /* 12941 */;
|
||||
import _mod12950 from "module_12950" /* 12950 */;
|
||||
import _mod12954 from "module_12954" /* 12954 */;
|
||||
import _mod12976 from "module_12976" /* 12976 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
|
@ -39,7 +39,7 @@ let closure_3 = async function _flush(arg0, value) {
|
|||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_12953").getClient();
|
||||
const client = require("module_12954").getClient();
|
||||
if (client) {
|
||||
client.flush(tmp13);
|
||||
} else {
|
||||
|
|
@ -50,7 +50,7 @@ let closure_3 = async function _flush(arg0, value) {
|
|||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_12953");
|
||||
const obj3 = require("module_12954");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
|
|
@ -83,7 +83,7 @@ let closure_4 = async function _close(arg0, value) {
|
|||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_12953").getClient();
|
||||
const client = require("module_12954").getClient();
|
||||
if (client) {
|
||||
client.close(tmp13);
|
||||
} else {
|
||||
|
|
@ -94,7 +94,7 @@ let closure_4 = async function _close(arg0, value) {
|
|||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_12953");
|
||||
const obj3 = require("module_12954");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
|
|
@ -104,18 +104,18 @@ let closure_4 = async function _close(arg0, value) {
|
|||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12949).closeSession(tmp3);
|
||||
const tmpResult = tmp(12949);
|
||||
tmp(12950).closeSession(tmp3);
|
||||
const tmpResult = tmp(12950);
|
||||
}
|
||||
const isolationScope1 = _mod12953.getIsolationScope();
|
||||
const tmpResult4 = _mod12953;
|
||||
const currentScope1 = _mod12953.getCurrentScope();
|
||||
const tmpResult5 = _mod12953;
|
||||
const client = _mod12953.getClient();
|
||||
const isolationScope1 = _mod12954.getIsolationScope();
|
||||
const tmpResult4 = _mod12954;
|
||||
const currentScope1 = _mod12954.getCurrentScope();
|
||||
const tmpResult5 = _mod12954;
|
||||
const client = _mod12954.getClient();
|
||||
const tmp5 = currentScope1.getSession() || isolationScope1.getSession();
|
||||
let tmp6 = tmp5;
|
||||
if (tmp5) {
|
||||
|
|
@ -129,32 +129,32 @@ function endSession() {
|
|||
}
|
||||
|
||||
export const addEventProcessor = function addEventProcessor(arg0) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const client = _mod12953.getClient();
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
const client = _mod12954.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12954).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12926).logger;
|
||||
} else if (tmp(12955).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12927).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12954).DEBUG_BUILD) {
|
||||
const logger = tmp(12926).logger;
|
||||
} else if (tmp(12955).DEBUG_BUILD) {
|
||||
const logger = tmp(12927).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12937.uuid4();
|
||||
return _mod12938.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12975.parseEventHintOrCaptureContext(arg1));
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12976.parseEventHintOrCaptureContext(arg1));
|
||||
};
|
||||
export const captureMessage = function captureMessage(arg0, captureContext) {
|
||||
let tmp;
|
||||
|
|
@ -166,7 +166,7 @@ export const captureMessage = function captureMessage(arg0, captureContext) {
|
|||
const obj2 = { captureContext };
|
||||
tmp2 = obj2;
|
||||
}
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
return currentScope.captureMessage(arg0, tmp, tmp2);
|
||||
};
|
||||
export const captureSession = function captureSession() {
|
||||
|
|
@ -177,9 +177,9 @@ export const captureSession = function captureSession() {
|
|||
if (flag) {
|
||||
endSession();
|
||||
} else {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const client = _mod12953.getClient();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
const client = _mod12954.getClient();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
let tmp4 = tmp3;
|
||||
if (tmp3) {
|
||||
|
|
@ -212,7 +212,7 @@ export const flush = function flush(arg0) {
|
|||
return applyArgumentsResult;
|
||||
};
|
||||
export const isEnabled = function isEnabled() {
|
||||
const client = _mod12953.getClient();
|
||||
const client = _mod12954.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
|
|
@ -223,40 +223,40 @@ export const isEnabled = function isEnabled() {
|
|||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12953.getClient();
|
||||
return _mod12954.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12953.getClient();
|
||||
const isolationScope = _mod12953.getIsolationScope();
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const client = _mod12954.getClient();
|
||||
const isolationScope = _mod12954.getIsolationScope();
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
|
|
@ -266,12 +266,12 @@ export const startSession = function startSession(arg0) {
|
|||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12963).DEFAULT_ENVIRONMENT;
|
||||
environment = tmp(12964).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12927.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12927.GLOBAL_OBJ.navigator || {};
|
||||
const userAgent = _mod12928.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12928.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12949;
|
||||
const tmpResult = _mod12950;
|
||||
obj2.user = currentScope.getUser() || isolationScope.getUser();
|
||||
let tmp5 = userAgent;
|
||||
if (userAgent) {
|
||||
|
|
@ -287,8 +287,8 @@ export const startSession = function startSession(arg0) {
|
|||
tmp10 = "ok" === session1.status;
|
||||
}
|
||||
if (tmp10) {
|
||||
tmp(12949).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12949);
|
||||
tmp(12950).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12950);
|
||||
}
|
||||
endSession();
|
||||
isolationScope.setSession(session);
|
||||
|
|
@ -299,37 +299,37 @@ export const withMonitor = function withMonitor(monitorSlug, arg1, arg2) {
|
|||
_require = monitorSlug;
|
||||
dependencyMap = arg1;
|
||||
function finishCheckIn(status) {
|
||||
const obj = { monitorSlug, status, checkInId: captureCheckInResult, duration: _mod12940.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12953.getCurrentScope();
|
||||
const client = _mod12953.getClient();
|
||||
const obj = { monitorSlug, status, checkInId: captureCheckInResult, duration: _mod12941.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12954.getCurrentScope();
|
||||
const client = _mod12954.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12954).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12926).logger;
|
||||
} else if (tmp(12955).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12927).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12954).DEBUG_BUILD) {
|
||||
const logger = tmp(12926).logger;
|
||||
} else if (tmp(12955).DEBUG_BUILD) {
|
||||
const logger = tmp(12927).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12937.uuid4();
|
||||
_mod12938.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12953").getCurrentScope();
|
||||
let currentScope = require("module_12954").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12953");
|
||||
let client = require("module_12953").getClient();
|
||||
let obj2 = require("module_12954");
|
||||
let client = require("module_12954").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12954).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12926).logger;
|
||||
} else if (tmp(12955).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12927).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12940).timestampInSeconds();
|
||||
const tmpResult = tmp(12940);
|
||||
return tmp(12953).withIsolationScope(() => {
|
||||
closure_3 = tmp(12941).timestampInSeconds();
|
||||
const tmpResult = tmp(12941);
|
||||
return tmp(12954).withIsolationScope(() => {
|
||||
try {
|
||||
const tmp3 = closure_1();
|
||||
if (obj.isThenable(tmp3)) {
|
||||
|
|
@ -349,10 +349,10 @@ export const withMonitor = function withMonitor(monitorSlug, arg1, arg2) {
|
|||
throw tmp12;
|
||||
}
|
||||
});
|
||||
} else if (tmp(12954).DEBUG_BUILD) {
|
||||
let logger = tmp(12926).logger;
|
||||
} else if (tmp(12955).DEBUG_BUILD) {
|
||||
let logger = tmp(12927).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12953");
|
||||
captureCheckInResult = require("module_12937").uuid4();
|
||||
let obj3 = require("module_12954");
|
||||
captureCheckInResult = require("module_12938").uuid4();
|
||||
};
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
// Module ID: 13001
|
||||
// Function ID: 13002
|
||||
// Module ID: 13002
|
||||
// Function ID: 13003
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12982, 12954, 12926, 12937, 12935]
|
||||
// Dependencies: [12983, 12955, 12927, 12938, 12936]
|
||||
|
||||
// Module 13001 (_getEventFilterUrl)
|
||||
import _mod12926 from "module_12926" /* 12926 */;
|
||||
import _mod12935 from "module_12935" /* 12935 */;
|
||||
import _mod12937 from "module_12937" /* 12937 */;
|
||||
import _mod12954 from "module_12954" /* 12954 */;
|
||||
import setupIntegration from "module_12982" /* 12982 */;
|
||||
// Module 13002 (_getEventFilterUrl)
|
||||
import _mod12927 from "module_12927" /* 12927 */;
|
||||
import _mod12936 from "module_12936" /* 12936 */;
|
||||
import _mod12938 from "module_12938" /* 12938 */;
|
||||
import _mod12955 from "module_12955" /* 12955 */;
|
||||
import setupIntegration from "module_12983" /* 12983 */;
|
||||
|
||||
function _getEventFilterUrl(arg0) {
|
||||
try {
|
||||
|
|
@ -41,11 +41,11 @@ function _getEventFilterUrl(arg0) {
|
|||
}
|
||||
return tmp4;
|
||||
} catch (err) {
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger = tmp6(12926).logger;
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger = tmp6(12927).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12937).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12937);
|
||||
logger.error("Cannot extract url for event " + tmp6(12938).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12938);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
@ -79,10 +79,10 @@ export const inboundFiltersIntegration = setupIntegration.defineIntegration(() =
|
|||
}
|
||||
})(type)) {
|
||||
let flag6 = true;
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger6 = _mod12926.logger;
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger6 = _mod12927.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12937.getEventDescription(type));
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12938.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -147,10 +147,10 @@ export const inboundFiltersIntegration = setupIntegration.defineIntegration(() =
|
|||
}
|
||||
if (flag) {
|
||||
flag6 = true;
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger5 = _mod12926.logger;
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger5 = _mod12927.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12937.getEventDescription(type));
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12938.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -188,10 +188,10 @@ export const inboundFiltersIntegration = setupIntegration.defineIntegration(() =
|
|||
}
|
||||
if (flag2) {
|
||||
flag6 = true;
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger4 = _mod12926.logger;
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger4 = _mod12927.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12937.getEventDescription(type));
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12938.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -202,17 +202,17 @@ export const inboundFiltersIntegration = setupIntegration.defineIntegration(() =
|
|||
const transaction = type.transaction;
|
||||
let result = transaction;
|
||||
if (result) {
|
||||
result = _mod12935.stringMatchesSomePattern(transaction, items3);
|
||||
result = _mod12936.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger3 = _mod12926.logger;
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger3 = _mod12927.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12937.getEventDescription(type));
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12938.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -221,15 +221,15 @@ export const inboundFiltersIntegration = setupIntegration.defineIntegration(() =
|
|||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12935.stringMatchesSomePattern(tmp16, items1);
|
||||
result1 = _mod12936.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger2 = _mod12926.logger;
|
||||
const eventDescription = _mod12937.getEventDescription(type);
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger2 = _mod12927.logger;
|
||||
const eventDescription = _mod12938.getEventDescription(type);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
logger2.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + eventDescription + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
|
|
@ -240,16 +240,16 @@ export const inboundFiltersIntegration = setupIntegration.defineIntegration(() =
|
|||
const tmp21 = _getEventFilterUrl(type);
|
||||
let result2 = !tmp21;
|
||||
if (tmp21) {
|
||||
result2 = _mod12935.stringMatchesSomePattern(tmp21, items);
|
||||
result2 = _mod12936.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12954.DEBUG_BUILD) {
|
||||
const logger = _mod12926.logger;
|
||||
const eventDescription1 = _mod12937.getEventDescription(type);
|
||||
if (_mod12955.DEBUG_BUILD) {
|
||||
const logger = _mod12927.logger;
|
||||
const eventDescription1 = _mod12938.getEventDescription(type);
|
||||
let _HermesInternal = HermesInternal;
|
||||
logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + eventDescription1 + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
// Module ID: 13049
|
||||
// Function ID: 13050
|
||||
// Module ID: 13050
|
||||
// Function ID: 13051
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 13050]
|
||||
// Dependencies: [5, 13051]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 13049 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 13050 */;
|
||||
// Module 13050 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 13051 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncNullishCoalesce2(arg0, value) {
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 13050
|
||||
// Function ID: 13051
|
||||
// Module ID: 13051
|
||||
// Function ID: 13052
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 13050 (_nullishCoalesce)
|
||||
// Module 13051 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 13051
|
||||
// Function ID: 13052
|
||||
// Module ID: 13052
|
||||
// Function ID: 13053
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 13051 (_asyncOptionalChain2)
|
||||
// Module 13052 (_asyncOptionalChain2)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_1 = async function _asyncOptionalChain2(arg0, value) {
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
// Module ID: 13052
|
||||
// Function ID: 13053
|
||||
// Module ID: 13053
|
||||
// Function ID: 13054
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 13051]
|
||||
// Dependencies: [5, 13052]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 13052 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 13051 */;
|
||||
// Module 13053 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 13052 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncOptionalChainDelete2() {
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 13053
|
||||
// Function ID: 13054
|
||||
// Module ID: 13054
|
||||
// Function ID: 13055
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 13053 (_optionalChain)
|
||||
// Module 13054 (_optionalChain)
|
||||
|
||||
export const _optionalChain = function _optionalChain(arg0) {
|
||||
const first = arg0[0];
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
// Module ID: 13054
|
||||
// Function ID: 13055
|
||||
// Module ID: 13055
|
||||
// Function ID: 13056
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [13053]
|
||||
// Dependencies: [13054]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 13054 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 13053 */;
|
||||
// Module 13055 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 13054 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
// Module ID: 15632
|
||||
// Function ID: 15633
|
||||
// Module ID: 15633
|
||||
// Function ID: 15634
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15633]
|
||||
// Dependencies: [15634]
|
||||
|
||||
// Module 15632 (_regeneratorRuntime)
|
||||
import _mod15633 from "module_15633" /* 15633 */;
|
||||
// Module 15633 (_regeneratorRuntime)
|
||||
import _mod15634 from "module_15634" /* 15634 */;
|
||||
|
||||
const tmp3 = _mod15633();
|
||||
const tmp3 = _mod15634();
|
||||
try {
|
||||
globalThis.regeneratorRuntime = tmp3;
|
||||
} catch (err) {
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 15636
|
||||
// Function ID: 15637
|
||||
// Module ID: 15637
|
||||
// Function ID: 15638
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15636 (_getRequireWildcardCache)
|
||||
// Module 15637 (_getRequireWildcardCache)
|
||||
function _getRequireWildcardCache(arg0) {
|
||||
if (typeof WeakMap !== "function") {
|
||||
return null;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 15639
|
||||
// Function ID: 15640
|
||||
// Module ID: 15640
|
||||
// Function ID: 15641
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15639 (_defineProperty)
|
||||
// Module 15640 (_defineProperty)
|
||||
import _mod43 from "module_43" /* 43 */;
|
||||
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// Module ID: 17381
|
||||
// Function ID: 17382
|
||||
// Name: _default2
|
||||
// Dependencies: [17382, 1318]
|
||||
|
||||
// Module 17381 (_default2)
|
||||
import _mod17382 from "module_17382" /* 17382 */;
|
||||
import module_1318 from "module_1318" /* 1318 */;
|
||||
|
||||
global.IntlPolyfill = _mod17382.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = _mod17382.default;
|
||||
const result = _mod17382.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = _mod17382.default;
|
||||
}
|
||||
const _default2 = _mod17382.default;
|
||||
_default2.default = _mod17382.default;
|
||||
|
||||
export default _default2;
|
||||
19
source/__helpers/17xxx/17383__default2.js
Normal file
19
source/__helpers/17xxx/17383__default2.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Module ID: 17383
|
||||
// Function ID: 17384
|
||||
// Name: _default2
|
||||
// Dependencies: [17384, 1316]
|
||||
|
||||
// Module 17383 (_default2)
|
||||
import _mod17384 from "module_17384" /* 17384 */;
|
||||
import module_1316 from "module_1316" /* 1316 */;
|
||||
|
||||
global.IntlPolyfill = _mod17384.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = _mod17384.default;
|
||||
const result = _mod17384.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = _mod17384.default;
|
||||
}
|
||||
const _default2 = _mod17384.default;
|
||||
_default2.default = _mod17384.default;
|
||||
|
||||
export default _default2;
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -394,17 +394,17 @@ export const Children = {
|
|||
const items = [];
|
||||
c2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69410.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69410(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
return items;
|
||||
}
|
||||
},
|
||||
forEach(element, arg1, arg2) {
|
||||
const f69408 = function() {
|
||||
const f69411 = function() {
|
||||
const self = this;
|
||||
const apply = f69408.apply;
|
||||
const apply = f69411.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
|
|
@ -415,9 +415,9 @@ export const Children = {
|
|||
if (null != element) {
|
||||
c2 = 0;
|
||||
mapIntoArray(element, [], "", "", (arg0) => {
|
||||
const call = f69410.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69410(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
@ -428,23 +428,23 @@ export const Children = {
|
|||
if (null != element) {
|
||||
c2 = 0;
|
||||
mapIntoArray(element, [], "", "", (arg0) => {
|
||||
const call = f69410.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69410(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
return closure_0;
|
||||
},
|
||||
toArray(element) {
|
||||
const f69410 = (arg0) => arg0;
|
||||
const f69413 = (arg0) => arg0;
|
||||
let items1 = element;
|
||||
if (null != element) {
|
||||
const items = [];
|
||||
closure_2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69410.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69410(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
items1 = items;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class ScrollView {
|
|||
constructResult = obj.apply(self, items);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
f107945 = tmp3Result;
|
||||
f107948 = tmp3Result;
|
||||
tmp3Result._scrollAnimatedValueAttachment = null;
|
||||
map = new Map();
|
||||
tmp3Result._stickyHeaderRefs = map;
|
||||
|
|
@ -90,11 +90,11 @@ class ScrollView {
|
|||
tmp3Result._subscriptionKeyboardDidShow = null;
|
||||
tmp3Result._subscriptionKeyboardDidHide = null;
|
||||
tmp3Result.state = { layoutHeight: null };
|
||||
tmp3Result.getScrollResponder = () => f107945;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f107945.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f107945._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f107945._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f107945._scrollView.nativeInstance;
|
||||
tmp3Result.getScrollResponder = () => f107948;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f107948.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f107948._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f107948._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f107948._scrollView.nativeInstance;
|
||||
tmp3Result.scrollTo = (num, arg1, arg2) => {
|
||||
if (typeof num === "number") {
|
||||
x = arg1;
|
||||
|
|
@ -105,7 +105,7 @@ class ScrollView {
|
|||
} else if (num) {
|
||||
({ y, x, animated } = num);
|
||||
}
|
||||
const nativeScrollRef = f107945.getNativeScrollRef();
|
||||
const nativeScrollRef = f107948.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const obj = _modDef350;
|
||||
if (!x) {
|
||||
|
|
@ -121,14 +121,14 @@ class ScrollView {
|
|||
if (animated) {
|
||||
animated = animated.animated;
|
||||
}
|
||||
const nativeScrollRef = f107945.getNativeScrollRef();
|
||||
const nativeScrollRef = f107948.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.scrollToEnd(nativeScrollRef, false !== animated);
|
||||
const tmp2 = false !== animated;
|
||||
}
|
||||
};
|
||||
tmp3Result.flashScrollIndicators = () => {
|
||||
const nativeScrollRef = f107945.getNativeScrollRef();
|
||||
const nativeScrollRef = f107948.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const result = _modDef350.flashScrollIndicators(nativeScrollRef);
|
||||
}
|
||||
|
|
@ -138,9 +138,9 @@ class ScrollView {
|
|||
if (!arg1) {
|
||||
num = 0;
|
||||
}
|
||||
f107945._additionalScrollOffset = num;
|
||||
f107945._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f107945._innerView.nativeInstance) {
|
||||
f107948._additionalScrollOffset = num;
|
||||
f107948._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f107948._innerView.nativeInstance) {
|
||||
if (typeof measureLayout === "number") {
|
||||
const obj = measureDefault;
|
||||
const tmp4 = nullthrowsDefault;
|
||||
|
|
@ -153,13 +153,13 @@ class ScrollView {
|
|||
tmp3Result.scrollResponderZoomTo = (animated, arg1) => {
|
||||
_modDef38(false, "zoomToRect is not implemented");
|
||||
if ("animated" in animated) {
|
||||
f107945._animated = animated.animated;
|
||||
f107948._animated = animated.animated;
|
||||
delete tmp[tmp2];
|
||||
} else if (undefined !== arg1) {
|
||||
const _console = console;
|
||||
console.warn("`scrollResponderZoomTo` `animated` argument is deprecated. Use `options.animated` instead");
|
||||
}
|
||||
const nativeScrollRef = f107945.getNativeScrollRef();
|
||||
const nativeScrollRef = f107948.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.zoomToRect(nativeScrollRef, animated, false !== arg1);
|
||||
const tmp3Result = _modDef350;
|
||||
|
|
@ -176,19 +176,19 @@ class ScrollView {
|
|||
const _setTimeout = setTimeout;
|
||||
const timerId = setTimeout(() => {
|
||||
if (typeof scrollTextInputIntoVisibleRect === "function") {
|
||||
if (null != f107945._keyboardMetrics) {
|
||||
if (null != f107948._keyboardMetrics) {
|
||||
screenY = obj._keyboardMetrics.screenY;
|
||||
}
|
||||
const sum = closure_0 - screenY + closure_1 + obj._additionalScrollOffset;
|
||||
let bound = sum;
|
||||
if (true === f107945._preventNegativeScrollOffset) {
|
||||
if (true === f107948._preventNegativeScrollOffset) {
|
||||
const _Math = Math;
|
||||
bound = Math.max(0, sum);
|
||||
}
|
||||
const point = { x: 0, y: bound, animated: true };
|
||||
f107945.scrollTo(point);
|
||||
f107945._additionalScrollOffset = 0;
|
||||
f107945._preventNegativeScrollOffset = false;
|
||||
f107948.scrollTo(point);
|
||||
f107948._additionalScrollOffset = 0;
|
||||
f107948._preventNegativeScrollOffset = false;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -210,29 +210,29 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleScroll = (arg0) => {
|
||||
f107945._observedScrollSinceBecomingResponder = true;
|
||||
if (f107945.props.onScroll) {
|
||||
f107948._observedScrollSinceBecomingResponder = true;
|
||||
if (f107948.props.onScroll) {
|
||||
const props = tmp.props;
|
||||
props.onScroll(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleLayout = (nativeEvent) => {
|
||||
if (true === f107945.props.invertStickyHeaders) {
|
||||
if (true === f107948.props.invertStickyHeaders) {
|
||||
const obj2 = { layoutHeight: nativeEvent.nativeEvent.layout.height };
|
||||
obj.setState(obj2);
|
||||
}
|
||||
if (f107945.props.onLayout) {
|
||||
if (f107948.props.onLayout) {
|
||||
const props = obj.props;
|
||||
props.onLayout(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleContentOnLayout = (arg0) => {
|
||||
if (f107945.props.onContentSizeChange) {
|
||||
const props = f107945.props;
|
||||
if (f107948.props.onContentSizeChange) {
|
||||
const props = f107948.props;
|
||||
props.onContentSizeChange(tmp, tmp2);
|
||||
}
|
||||
};
|
||||
f107945 = (arg0) => arg0;
|
||||
f107948 = (arg0) => arg0;
|
||||
closure_1 = undefined;
|
||||
obj1 = {
|
||||
getForwardingRef: c2(closure_4[29])((arg0) => {
|
||||
|
|
@ -240,7 +240,7 @@ class ScrollView {
|
|||
return (nativeInstance) => {
|
||||
let tmp = null;
|
||||
if (null != nativeInstance) {
|
||||
tmp = f107945(nativeInstance);
|
||||
tmp = f107948(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -258,7 +258,7 @@ class ScrollView {
|
|||
};
|
||||
closure_1 = obj1;
|
||||
tmp3Result._innerView = obj1;
|
||||
f107945 = (arg0) => Object.assign(arg0, { getScrollResponder: f107945.getScrollResponder, getScrollableNode: f107945.getScrollableNode, getInnerViewNode: f107945.getInnerViewNode, getInnerViewRef: f107945.getInnerViewRef, getNativeScrollRef: f107945.getNativeScrollRef, scrollTo: f107945.scrollTo, scrollToEnd: f107945.scrollToEnd, flashScrollIndicators: f107945.flashScrollIndicators, scrollResponderZoomTo: f107945.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f107945.scrollResponderScrollNativeHandleToKeyboard });
|
||||
f107948 = (arg0) => Object.assign(arg0, { getScrollResponder: f107948.getScrollResponder, getScrollableNode: f107948.getScrollableNode, getInnerViewNode: f107948.getInnerViewNode, getInnerViewRef: f107948.getInnerViewRef, getNativeScrollRef: f107948.getNativeScrollRef, scrollTo: f107948.scrollTo, scrollToEnd: f107948.scrollToEnd, flashScrollIndicators: f107948.flashScrollIndicators, scrollResponderZoomTo: f107948.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f107948.scrollResponderScrollNativeHandleToKeyboard });
|
||||
closure_1 = undefined;
|
||||
obj4 = {
|
||||
getForwardingRef: c2(closure_4[29])((arg0) => {
|
||||
|
|
@ -266,7 +266,7 @@ class ScrollView {
|
|||
return (nativeInstance) => {
|
||||
let tmp = null;
|
||||
if (null != nativeInstance) {
|
||||
tmp = f107945(nativeInstance);
|
||||
tmp = f107948(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -285,63 +285,63 @@ class ScrollView {
|
|||
closure_1 = obj4;
|
||||
tmp3Result._scrollView = obj4;
|
||||
tmp3Result.scrollResponderKeyboardWillShow = (endCoordinates) => {
|
||||
f107945._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107945.props.onKeyboardWillShow) {
|
||||
const props = f107945.props;
|
||||
f107948._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107948.props.onKeyboardWillShow) {
|
||||
const props = f107948.props;
|
||||
props.onKeyboardWillShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardWillHide = (arg0) => {
|
||||
f107945._keyboardMetrics = null;
|
||||
if (f107945.props.onKeyboardWillHide) {
|
||||
f107948._keyboardMetrics = null;
|
||||
if (f107948.props.onKeyboardWillHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardWillHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidShow = (endCoordinates) => {
|
||||
f107945._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107945.props.onKeyboardDidShow) {
|
||||
const props = f107945.props;
|
||||
f107948._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107948.props.onKeyboardDidShow) {
|
||||
const props = f107948.props;
|
||||
props.onKeyboardDidShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidHide = (arg0) => {
|
||||
f107945._keyboardMetrics = null;
|
||||
if (f107945.props.onKeyboardDidHide) {
|
||||
f107948._keyboardMetrics = null;
|
||||
if (f107948.props.onKeyboardDidHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardDidHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollBegin = (arg0) => {
|
||||
const _performance = ScrollView.performance;
|
||||
f107945._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f107945.props.onMomentumScrollBegin) {
|
||||
const props = f107945.props;
|
||||
f107948._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f107948.props.onMomentumScrollBegin) {
|
||||
const props = f107948.props;
|
||||
const result = props.onMomentumScrollBegin(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollEnd = (arg0) => {
|
||||
_modDef351.endScroll();
|
||||
const _performance = ScrollView.performance;
|
||||
f107945._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f107945.props.onMomentumScrollEnd) {
|
||||
const props = f107945.props;
|
||||
f107948._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f107948.props.onMomentumScrollEnd) {
|
||||
const props = f107948.props;
|
||||
props.onMomentumScrollEnd(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollBeginDrag = (arg0) => {
|
||||
_modDef351.beginScroll();
|
||||
if ("on-drag" === f107945.props.keyboardDismissMode) {
|
||||
if ("on-drag" === f107948.props.keyboardDismissMode) {
|
||||
dismissKeyboardDefault();
|
||||
}
|
||||
if (f107945.props.onScrollBeginDrag) {
|
||||
if (f107948.props.onScrollBeginDrag) {
|
||||
const props = tmp4.props;
|
||||
props.onScrollBeginDrag(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollEndDrag = (nativeEvent) => {
|
||||
const velocity = nativeEvent.nativeEvent.velocity;
|
||||
let _isAnimatingResult = f107945._isAnimating();
|
||||
let _isAnimatingResult = f107948._isAnimating();
|
||||
if (!_isAnimatingResult) {
|
||||
let tmp3 = velocity;
|
||||
if (velocity) {
|
||||
|
|
@ -353,29 +353,29 @@ class ScrollView {
|
|||
if (!_isAnimatingResult) {
|
||||
_modDef351.endScroll();
|
||||
}
|
||||
if (f107945.props.onScrollEndDrag) {
|
||||
if (f107948.props.onScrollEndDrag) {
|
||||
const props = tmp.props;
|
||||
props.onScrollEndDrag(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._isAnimating = () => {
|
||||
const _performance = ScrollView.performance;
|
||||
return _performance.now() - f107945._lastMomentumScrollEndTime < 16 || f107945._lastMomentumScrollEndTime < f107945._lastMomentumScrollBeginTime;
|
||||
return _performance.now() - f107948._lastMomentumScrollEndTime < 16 || f107948._lastMomentumScrollEndTime < f107948._lastMomentumScrollBeginTime;
|
||||
};
|
||||
tmp3Result._handleResponderGrant = (arg0) => {
|
||||
f107945._observedScrollSinceBecomingResponder = false;
|
||||
if (f107945.props.onResponderGrant) {
|
||||
f107948._observedScrollSinceBecomingResponder = false;
|
||||
if (f107948.props.onResponderGrant) {
|
||||
const props = obj.props;
|
||||
props.onResponderGrant(arg0);
|
||||
}
|
||||
f107945._becameResponderWhileAnimating = f107945._isAnimating();
|
||||
f107948._becameResponderWhileAnimating = f107948._isAnimating();
|
||||
};
|
||||
tmp3Result._handleResponderReject = () => {
|
||||
|
||||
};
|
||||
tmp3Result._handleResponderRelease = (nativeEvent) => {
|
||||
f107945._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f107945.props.onResponderRelease) {
|
||||
f107948._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f107948.props.onResponderRelease) {
|
||||
const props = obj.props;
|
||||
props.onResponderRelease(nativeEvent);
|
||||
}
|
||||
|
|
@ -407,10 +407,10 @@ class ScrollView {
|
|||
tmp3 = importDefault;
|
||||
}
|
||||
};
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f107945._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f107945.props.disableScrollViewPanResponder && f107945._isTouching;
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f107948._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f107948.props.disableScrollViewPanResponder && f107948._isTouching;
|
||||
tmp3Result._handleStartShouldSetResponder = (target) => {
|
||||
if (true === f107945.props.disableScrollViewPanResponder) {
|
||||
if (true === f107948.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
} else {
|
||||
let tmp4 = "handled" !== obj.props.keyboardShouldPersistTaps;
|
||||
|
|
@ -425,7 +425,7 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleStartShouldSetResponderCapture = (target) => {
|
||||
if (f107945._isAnimating()) {
|
||||
if (f107948._isAnimating()) {
|
||||
return true;
|
||||
} else if (true === obj.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
|
|
@ -471,16 +471,16 @@ class ScrollView {
|
|||
return isTextInputResult;
|
||||
};
|
||||
tmp3Result._softKeyboardIsDetached = () => {
|
||||
let tmp = null != f107945._keyboardMetrics;
|
||||
let tmp = null != f107948._keyboardMetrics;
|
||||
if (tmp) {
|
||||
tmp = 0 === f107945._keyboardMetrics.height;
|
||||
tmp = 0 === f107948._keyboardMetrics.height;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
tmp3Result._keyboardEventsAreUnreliable = () => get_VersionDefault.Version < 30;
|
||||
tmp3Result._handleTouchEnd = (nativeEvent) => {
|
||||
f107945._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f107945.props.keyboardShouldPersistTaps;
|
||||
f107948._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f107948.props.keyboardShouldPersistTaps;
|
||||
let tmp = !keyboardShouldPersistTaps;
|
||||
if (keyboardShouldPersistTaps) {
|
||||
tmp = "never" === keyboardShouldPersistTaps;
|
||||
|
|
@ -490,27 +490,27 @@ class ScrollView {
|
|||
_modDef144.blurTextInput(result);
|
||||
const tmp2Result = _modDef144;
|
||||
}
|
||||
if (f107945.props.onTouchEnd) {
|
||||
if (f107948.props.onTouchEnd) {
|
||||
const props = obj.props;
|
||||
props.onTouchEnd(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchCancel = (arg0) => {
|
||||
f107945._isTouching = false;
|
||||
if (f107945.props.onTouchCancel) {
|
||||
f107948._isTouching = false;
|
||||
if (f107948.props.onTouchCancel) {
|
||||
const props = tmp.props;
|
||||
props.onTouchCancel(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchStart = (arg0) => {
|
||||
f107945._isTouching = true;
|
||||
if (f107945.props.onTouchStart) {
|
||||
f107948._isTouching = true;
|
||||
if (f107948.props.onTouchStart) {
|
||||
const props = tmp.props;
|
||||
props.onTouchStart(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchMove = (arg0) => {
|
||||
if (f107945.props.onTouchMove) {
|
||||
if (f107948.props.onTouchMove) {
|
||||
const props = tmp.props;
|
||||
props.onTouchMove(arg0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,20 +77,20 @@ let items = [
|
|||
key: "__getValue",
|
||||
value: function __getValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f107996 = (__getValue) => __getValue.__getValue();
|
||||
const f107999 = (__getValue) => __getValue.__getValue();
|
||||
return _transforms.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107999(arr);
|
||||
obj[key10006] = f108002(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107999(dependencyMap[6])) {
|
||||
if (item instanceof f108002(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -103,7 +103,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107999(tmp9);
|
||||
tmp3 = f108002(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -127,24 +127,24 @@ let items = [
|
|||
{
|
||||
key: "__getValueWithStaticTransforms",
|
||||
value: function __getValueWithStaticTransforms(arr) {
|
||||
let f107997 = [];
|
||||
let f108000 = [];
|
||||
const _transforms = this._transforms;
|
||||
f107997 = (__getValue) => {
|
||||
f107997.push(__getValue.__getValue());
|
||||
f108000 = (__getValue) => {
|
||||
f108000.push(__getValue.__getValue());
|
||||
};
|
||||
const mapped = _transforms.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107999(arr);
|
||||
obj[key10006] = f108002(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107999(dependencyMap[6])) {
|
||||
if (item instanceof f108002(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -157,7 +157,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107999(tmp9);
|
||||
tmp3 = f108002(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -176,20 +176,20 @@ let items = [
|
|||
}
|
||||
return obj;
|
||||
});
|
||||
closure_129_0 = () => f107997.shift();
|
||||
closure_129_0 = () => f108000.shift();
|
||||
return arr.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107999(arr);
|
||||
obj[key10006] = f108002(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107999(dependencyMap[6])) {
|
||||
if (item instanceof f108002(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -202,7 +202,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107999(tmp9);
|
||||
tmp3 = f108002(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -227,20 +227,20 @@ let items = [
|
|||
key: "__getAnimatedValue",
|
||||
value: function __getAnimatedValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f107999 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
const f108002 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
return _transforms.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107999(arr);
|
||||
obj[key10006] = f108002(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107999(dependencyMap[6])) {
|
||||
if (item instanceof f108002(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -253,7 +253,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107999(tmp9);
|
||||
tmp3 = f108002(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ if (null) {
|
|||
} else {
|
||||
self = this;
|
||||
tmp6 = global;
|
||||
obj = { fired: false, wrapFn: "a", target: "c\u0103ldur\u0103", type: "cu limba scoas\u0103", listener: "fa\u021B\u0103" };
|
||||
obj = { fired: false, wrapFn: "a", target: "cara", type: "cara sonriendo", listener: "divertido" };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
@ -383,7 +383,7 @@ if (null) {
|
|||
} else {
|
||||
self = this;
|
||||
tmp6 = global;
|
||||
obj = { fired: false, wrapFn: "a", target: "c\u0103ldur\u0103", type: "cu limba scoas\u0103", listener: "fa\u021B\u0103" };
|
||||
obj = { fired: false, wrapFn: "a", target: "cara", type: "cara sonriendo", listener: "divertido" };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ let fn = function n() {
|
|||
let length;
|
||||
let length2;
|
||||
let obj = {};
|
||||
let f108127 = obj;
|
||||
let f108130 = obj;
|
||||
let items = ["Boolean", "Number", "String", "Function", "Array", "Date", "RegExp", "Undefined", "Null"];
|
||||
let num = 0;
|
||||
if (0 < items.length) {
|
||||
|
|
@ -82,7 +82,7 @@ let fn = function n() {
|
|||
return mapped;
|
||||
}
|
||||
mapped = arg0[0];
|
||||
tmp4 = f108127[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp4 = f108130[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ let fn = function n() {
|
|||
}
|
||||
first = items[0];
|
||||
if (typeof type$p === "function") {
|
||||
tmp5 = f108127;
|
||||
tmp5 = f108130;
|
||||
tmp6 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -228,7 +228,7 @@ let fn = function n() {
|
|||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
call = toString.call;
|
||||
tmp = f108127;
|
||||
tmp = f108130;
|
||||
tmp3 = tmp[typeof call === "unknown" ? toString(hex) : call(toString, hex)] || "object";
|
||||
str = "function";
|
||||
if ("function" == tmp3) {
|
||||
|
|
@ -364,7 +364,7 @@ let fn = function n() {
|
|||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
call = toString.call;
|
||||
tmp2 = f108127;
|
||||
tmp2 = f108130;
|
||||
tmp4 = tmp2[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
str = "number";
|
||||
if ("number" === tmp4) {
|
||||
|
|
@ -454,7 +454,7 @@ let fn = function n() {
|
|||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
call = toString.call;
|
||||
tmp2 = f108127;
|
||||
tmp2 = f108130;
|
||||
tmp4 = tmp2[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
str = "number";
|
||||
if ("number" === tmp4) {
|
||||
|
|
@ -697,7 +697,7 @@ let fn = function n() {
|
|||
if (-1 < diff) {
|
||||
if (typeof type$p === "function") {
|
||||
tmp12 = arg1;
|
||||
tmp13 = f108127;
|
||||
tmp13 = f108130;
|
||||
tmp14 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -986,7 +986,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f108127[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f108130[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1199,7 +1199,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f108127[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f108130[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1280,7 +1280,7 @@ let fn = function n() {
|
|||
return "css";
|
||||
}
|
||||
}
|
||||
tmp8 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1493,7 +1493,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp13 = f108127[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
tmp13 = f108130[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1620,7 +1620,7 @@ let fn = function n() {
|
|||
return "hex";
|
||||
}
|
||||
}
|
||||
tmp8 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -2437,7 +2437,7 @@ let fn = function n() {
|
|||
return "named";
|
||||
}
|
||||
}
|
||||
tmp8 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -2520,7 +2520,7 @@ let fn = function n() {
|
|||
}
|
||||
}
|
||||
}
|
||||
tmp8 = f108127[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp8 = f108130[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3021,7 +3021,7 @@ let fn = function n() {
|
|||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
tmp17 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp17 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3230,8 +3230,8 @@ let fn = function n() {
|
|||
if (typeof type$p === "function") {
|
||||
const _Object = Object;
|
||||
const call = toString.call;
|
||||
brewer = "string" === (f108127[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f108127[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
brewer = "string" === (f108130[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f108130[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3284,7 +3284,7 @@ let fn = function n() {
|
|||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
tmp10 = f108127[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
tmp10 = f108130[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3394,7 +3394,7 @@ let fn = function n() {
|
|||
dependencyMap[rounded] = interpolateResult;
|
||||
tmp51 = interpolateResult;
|
||||
}
|
||||
tmp29 = f108127[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
tmp29 = f108130[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3613,7 +3613,7 @@ let fn = function n() {
|
|||
}
|
||||
items = tmp6;
|
||||
let tmp = fn;
|
||||
tmp5 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp5 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3759,34 +3759,34 @@ let fn = function n() {
|
|||
tmp = blend;
|
||||
}
|
||||
closure_129_0 = (arg0) => arg0;
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.normal = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_130_0 = (arg0, arg1) => arg0 * arg1 / 255;
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.multiply = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_131_0 = (arg0, arg1) => 255 * (1 - (1 - arg0 / 255) * (1 - arg1 / 255));
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.screen = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_132_0 = (arg0, arg1) => {
|
||||
if (arg1 < 128) {
|
||||
|
|
@ -3796,14 +3796,14 @@ let fn = function n() {
|
|||
}
|
||||
return result;
|
||||
};
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.overlay = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_133_0 = (arg0, arg1) => {
|
||||
let tmp = arg0;
|
||||
|
|
@ -3812,14 +3812,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.darken = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_134_0 = (arg0, arg1) => {
|
||||
let tmp = arg1;
|
||||
|
|
@ -3828,14 +3828,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.lighten = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_135_0 = (arg0, arg1) => {
|
||||
let num = 255;
|
||||
|
|
@ -3848,24 +3848,24 @@ let fn = function n() {
|
|||
}
|
||||
return num;
|
||||
};
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.dodge = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_136_0 = (arg0, arg1) => 255 * (1 - (1 - arg1 / 255) / (arg0 / 255));
|
||||
f108127 = (arg0, arg1) => {
|
||||
const items = [f108127(arg0[0], arg1[0]), f108127(arg0[1], arg1[1]), f108127(arg0[2], arg1[2])];
|
||||
f108130 = (arg0, arg1) => {
|
||||
const items = [f108130(arg0[0], arg1[0]), f108130(arg0[1], arg1[1]), f108130(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.burn = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f108127(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108130(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
pow = Math.pow;
|
||||
sin = Math.sin;
|
||||
|
|
@ -3894,8 +3894,8 @@ let fn = function n() {
|
|||
if (typeof type$p === "function") {
|
||||
const _Object = Object;
|
||||
const call = toString.call;
|
||||
tmp2 = "object" === (f108127[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f108127[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
tmp2 = "object" === (f108130[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f108130[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -4097,7 +4097,7 @@ let fn = function n() {
|
|||
}
|
||||
return items1;
|
||||
}
|
||||
tmp4 = f108127[typeof call === "unknown" ? toString(analyzeResult) : call(toString, analyzeResult)] || "object";
|
||||
tmp4 = f108130[typeof call === "unknown" ? toString(analyzeResult) : call(toString, analyzeResult)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -4264,7 +4264,7 @@ let fn = function n() {
|
|||
const mapped = arr.map((item) => Color(item));
|
||||
if (2 === mapped.length) {
|
||||
const mapped1 = mapped.map((lab) => lab.lab());
|
||||
[f108127, type$p] = mapped1;
|
||||
[f108130, type$p] = mapped1;
|
||||
let fn = function a(arg0) {
|
||||
closure_0 = arg0;
|
||||
const items = [0, 1, 2];
|
||||
|
|
@ -4272,7 +4272,7 @@ let fn = function n() {
|
|||
};
|
||||
} else if (3 === mapped.length) {
|
||||
const mapped2 = mapped.map((lab) => lab.lab());
|
||||
[f108127, type$p, type$p] = mapped2;
|
||||
[f108130, type$p, type$p] = mapped2;
|
||||
fn = function a(arg0) {
|
||||
closure_0 = arg0;
|
||||
const items = [0, 1, 2];
|
||||
|
|
@ -4280,7 +4280,7 @@ let fn = function n() {
|
|||
};
|
||||
} else if (4 === mapped.length) {
|
||||
const mapped3 = mapped.map((lab) => lab.lab());
|
||||
[f108127, type$p, type$p, last] = mapped3;
|
||||
[f108130, type$p, type$p, last] = mapped3;
|
||||
fn = function a(arg0) {
|
||||
closure_0 = arg0;
|
||||
const items = [0, 1, 2];
|
||||
|
|
@ -4425,7 +4425,7 @@ let fn = function n() {
|
|||
c6 = 0;
|
||||
}
|
||||
tmp8 = fn;
|
||||
tmp3 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -4446,7 +4446,7 @@ let fn = function n() {
|
|||
c5 = 0;
|
||||
}
|
||||
tmp4 = fn;
|
||||
tmp3 = f108127[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f108130[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ let closure_6 = async function _instrumentAsyncIterableStream(arg0, value) {
|
|||
closure_136_6 = undefined;
|
||||
closure_136_7 = undefined;
|
||||
let value4;
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "tag", cacheReadInputTokens: "size", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "sa", cacheReadInputTokens: "current", toolCalls: [], activeToolBlocks: {} };
|
||||
closure_136_2 = obj5;
|
||||
closure_136_4 = false;
|
||||
closure_136_5 = false;
|
||||
|
|
@ -1052,7 +1052,7 @@ export const instrumentAsyncIterableStream = function instrumentAsyncIterableStr
|
|||
export const instrumentMessageStream = function instrumentMessageStream(applyResult, arg1, flag) {
|
||||
closure_0 = arg1;
|
||||
closure_1 = flag;
|
||||
const obj = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "tag", cacheReadInputTokens: "size", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "sa", cacheReadInputTokens: "current", toolCalls: [], activeToolBlocks: {} };
|
||||
applyResult.on("streamEvent", (arg0) => {
|
||||
processEvent(arg0, obj, closure_1, closure_0);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -553,7 +553,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120759 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120762 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
@ -720,7 +720,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120759 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120762 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
@ -1283,7 +1283,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F124930 */ function*() { ... })();
|
||||
return (/* F124933 */ function*() { ... })();
|
||||
});
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, function(arg0) {
|
||||
const self = this;
|
||||
|
|
@ -1308,7 +1308,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
if (tmp) {
|
||||
closure_3(_function, first);
|
||||
}
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120763 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120766 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1516,7 +1516,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F124930 */ function*() { ... })();
|
||||
return (/* F124933 */ function*() { ... })();
|
||||
});
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, function(arg0) {
|
||||
const self = this;
|
||||
|
|
@ -1541,7 +1541,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
if (tmp) {
|
||||
closure_3(_function, first);
|
||||
}
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120763 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120766 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1699,7 +1699,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120759 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120762 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
@ -1866,7 +1866,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120759 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120762 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export const createLangChainCallbackHandler = function createLangChainCallbackHa
|
|||
lc_namespace: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_secrets: "r",
|
||||
lc_attributes: "accessible",
|
||||
lc_aliases: "delete",
|
||||
lc_aliases: "getCurrentUser",
|
||||
lc_serializable_keys: "guild_id",
|
||||
lc_id: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_kwargs: {},
|
||||
|
|
|
|||
|
|
@ -3206,7 +3206,7 @@ function initObservers(doc) {
|
|||
({ mousemoveCb: drag, sampling, doc, mirror: fn3 } = doc);
|
||||
closure_2 = undefined;
|
||||
closure_3 = undefined;
|
||||
let f71826;
|
||||
let f71829;
|
||||
items = undefined;
|
||||
if (false === sampling.mousemove) {
|
||||
return () => {
|
||||
|
|
@ -3257,7 +3257,7 @@ function initObservers(doc) {
|
|||
closure_130_2 = {};
|
||||
closure_130_3 = null;
|
||||
closure_130_4 = 0;
|
||||
f71826 = function() {
|
||||
f71829 = function() {
|
||||
items = [...arguments];
|
||||
let self;
|
||||
const timestamp = Date.now();
|
||||
|
|
@ -4568,7 +4568,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F108511 */ function() { ... };
|
||||
return /* F108514 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -4634,7 +4634,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F108511 */ function() { ... };
|
||||
return /* F108514 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -5485,7 +5485,7 @@ function addBreadcrumbEvent(triggerUserActivity, category) {
|
|||
}
|
||||
obj.timestamp = 1000 * num;
|
||||
const obj2 = { tag: "breadcrumb", payload: null };
|
||||
const normalizer = f108553(map[8]);
|
||||
const normalizer = f108556(map[8]);
|
||||
obj2.payload = normalizer.normalize(_null, 10, 1000);
|
||||
obj.data = obj2;
|
||||
obj.throttledAddEvent(obj);
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ export const adjustTransactionDuration = (on, activeSpan, arg2) => {
|
|||
}
|
||||
};
|
||||
export const ignoreEmptyBackNavigation = (on, c4) => {
|
||||
const f72395 = (arg0) => {
|
||||
const data = c4(f72395[2]).spanToJSON(arg0).data;
|
||||
const f72398 = (arg0) => {
|
||||
const data = c4(f72398[2]).spanToJSON(arg0).data;
|
||||
let prop;
|
||||
if (null !== data) {
|
||||
if (undefined !== data) {
|
||||
|
|
@ -64,8 +64,8 @@ export const ignoreEmptyBackNavigation = (on, c4) => {
|
|||
}
|
||||
return true === prop;
|
||||
};
|
||||
const f72396 = () => {
|
||||
const debug = c4(f72395[2]).debug;
|
||||
const f72399 = () => {
|
||||
const debug = c4(f72398[2]).debug;
|
||||
debug.log("Not sampling transaction as route has been seen before. Pass ignoreEmptyBackNavigationTransactions = false to disable this feature.");
|
||||
};
|
||||
if (on) {
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ class FeedbackWidget {
|
|||
closure_129_12 = undefined;
|
||||
closure_129_0 = undefined;
|
||||
if (self._hasScreenshot()) {
|
||||
debug.setState({ filename: "justifyContent", attachment: "call", attachmentUri: "window" });
|
||||
debug.setState({ filename: "test", attachment: "call", attachmentUri: "intl" });
|
||||
} else {
|
||||
num2 = debug.props.imagePicker;
|
||||
closure_129_6 = num2;
|
||||
|
|
|
|||
9
source/__polyfill/01xxx/module_1151.js
Normal file
9
source/__polyfill/01xxx/module_1151.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Module ID: 1151
|
||||
// Function ID: 1152
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1151
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a0aa3774e064cca7bab0fc18be60dfdf", name: "id.messages.a0aa3774e064cca7bab0fc18be60dfdf.compiled.messages", type: "jsona" });
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
// Module ID: 1154
|
||||
// Function ID: 1155
|
||||
// Module ID: 1152
|
||||
// Function ID: 1153
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1154
|
||||
// Module 1152
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
|
|
@ -1,9 +1,175 @@
|
|||
// Module ID: 1153
|
||||
// Function ID: 1154
|
||||
// Dependencies: [1120]
|
||||
// Dependencies: [1154, 1156, 1157, 1164, 1169, 1171, 1172, 1173, 1174]
|
||||
|
||||
// Module 1153
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
import astFormatter from "astFormatter" /* 1164 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a0aa3774e064cca7bab0fc18be60dfdf", name: "id.messages.a0aa3774e064cca7bab0fc18be60dfdf.compiled.messages", type: "jsona" });
|
||||
const self = this;
|
||||
let self2 = this;
|
||||
if (this) {
|
||||
self2 = self.__createBinding;
|
||||
}
|
||||
if (self2) {
|
||||
let fn = self;
|
||||
if (self) {
|
||||
fn = self.__exportStar;
|
||||
}
|
||||
if (!fn) {
|
||||
fn = (obj, exports) => {
|
||||
for (const key10007 in arg0) {
|
||||
let tmp6 = "default" === key10007;
|
||||
if (tmp6) {
|
||||
if (tmp6) {
|
||||
continue;
|
||||
} else {
|
||||
let tmp4 = self2(arg1, arg0, key10007);
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
} else {
|
||||
let _Object = Object;
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
let call = hasOwnProperty.call;
|
||||
if (typeof call === "unknown") {
|
||||
let hasOwnPropertyResult = hasOwnProperty(key10007);
|
||||
} else {
|
||||
hasOwnPropertyResult = call(arg1, key10007);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
const _Object2 = Object;
|
||||
exports.makeDataFormatters = undefined;
|
||||
exports.dataFormatterCache = undefined;
|
||||
exports.FormatBuilder = undefined;
|
||||
exports.bindFormatValues = undefined;
|
||||
exports.runtimeHashMessageKey = undefined;
|
||||
exports.IntlManager = undefined;
|
||||
exports.DEFAULT_LOCALE = undefined;
|
||||
exports.InternalIntlMessage = undefined;
|
||||
exports.createLoader = undefined;
|
||||
exports.loadAllMessagesInLocale = undefined;
|
||||
exports.waitForAllDefaultIntlMessagesLoaded = undefined;
|
||||
exports.MessageLoader = undefined;
|
||||
exports.chainMessagesObjects = undefined;
|
||||
exports.makeMessagesProxy = undefined;
|
||||
const _Object3 = Object;
|
||||
let obj = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("DEFAULT_FORMAT_CONFIG").makeDataFormatters;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "makeDataFormatters", obj);
|
||||
const _Object4 = Object;
|
||||
const obj2 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("dataFormatterCache").dataFormatterCache;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "dataFormatterCache", obj2);
|
||||
const _Object5 = Object;
|
||||
const obj3 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("module_1157").FormatBuilder;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "FormatBuilder", obj3);
|
||||
const _Object6 = Object;
|
||||
const obj4 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("module_1157").bindFormatValues;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "bindFormatValues", obj4);
|
||||
fn(astFormatter, exports);
|
||||
const _Object7 = Object;
|
||||
const obj5 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("runtimeHashMessageKey").runtimeHashMessageKey;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "runtimeHashMessageKey", obj5);
|
||||
const _Object8 = Object;
|
||||
const obj6 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("DEFAULT_LOCALE").IntlManager;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "IntlManager", obj6);
|
||||
const _Object9 = Object;
|
||||
const obj7 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("DEFAULT_LOCALE").DEFAULT_LOCALE;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "DEFAULT_LOCALE", obj7);
|
||||
const _Object10 = Object;
|
||||
const obj8 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("serializeAst").InternalIntlMessage;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "InternalIntlMessage", obj8);
|
||||
const _Object11 = Object;
|
||||
const obj9 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").createLoader;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "createLoader", obj9);
|
||||
const _Object12 = Object;
|
||||
const obj10 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").loadAllMessagesInLocale;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "loadAllMessagesInLocale", obj10);
|
||||
const _Object13 = Object;
|
||||
const obj11 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").waitForAllDefaultIntlMessagesLoaded;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "waitForAllDefaultIntlMessagesLoaded", obj11);
|
||||
const _Object14 = Object;
|
||||
const obj12 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").MessageLoader;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "MessageLoader", obj12);
|
||||
const _Object15 = Object;
|
||||
const obj13 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("chainMessagesObjects").chainMessagesObjects;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "chainMessagesObjects", obj13);
|
||||
const _Object16 = Object;
|
||||
const obj14 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("chainMessagesObjects").makeMessagesProxy;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "makeMessagesProxy", obj14);
|
||||
} else {
|
||||
let _Object = Object;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,175 +1,21 @@
|
|||
// Module ID: 1155
|
||||
// Function ID: 1156
|
||||
// Dependencies: [1156, 1158, 1159, 1166, 1171, 1173, 1174, 1175, 1176]
|
||||
// Dependencies: []
|
||||
// Exports: resolveFormatConfigOptions
|
||||
|
||||
// Module 1155
|
||||
import astFormatter from "astFormatter" /* 1166 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const self = this;
|
||||
let self2 = this;
|
||||
if (this) {
|
||||
self2 = self.__createBinding;
|
||||
}
|
||||
if (self2) {
|
||||
let fn = self;
|
||||
if (self) {
|
||||
fn = self.__exportStar;
|
||||
export const resolveFormatConfigOptions = function resolveFormatConfigOptions(list, format) {
|
||||
format = undefined;
|
||||
if (null != format) {
|
||||
format = format.format;
|
||||
}
|
||||
if (!fn) {
|
||||
fn = (obj, exports) => {
|
||||
for (const key10007 in arg0) {
|
||||
let tmp6 = "default" === key10007;
|
||||
if (tmp6) {
|
||||
if (tmp6) {
|
||||
continue;
|
||||
} else {
|
||||
let tmp4 = self2(arg1, arg0, key10007);
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
} else {
|
||||
let _Object = Object;
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
let call = hasOwnProperty.call;
|
||||
if (typeof call === "unknown") {
|
||||
let hasOwnPropertyResult = hasOwnProperty(key10007);
|
||||
} else {
|
||||
hasOwnPropertyResult = call(arg1, key10007);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
if (typeof format === "string") {
|
||||
const _Object = Object;
|
||||
const _Object2 = Object;
|
||||
return Object.assign(Object.assign({}, list[format.format]), format);
|
||||
} else {
|
||||
return format;
|
||||
}
|
||||
const _Object2 = Object;
|
||||
exports.makeDataFormatters = undefined;
|
||||
exports.dataFormatterCache = undefined;
|
||||
exports.FormatBuilder = undefined;
|
||||
exports.bindFormatValues = undefined;
|
||||
exports.runtimeHashMessageKey = undefined;
|
||||
exports.IntlManager = undefined;
|
||||
exports.DEFAULT_LOCALE = undefined;
|
||||
exports.InternalIntlMessage = undefined;
|
||||
exports.createLoader = undefined;
|
||||
exports.loadAllMessagesInLocale = undefined;
|
||||
exports.waitForAllDefaultIntlMessagesLoaded = undefined;
|
||||
exports.MessageLoader = undefined;
|
||||
exports.chainMessagesObjects = undefined;
|
||||
exports.makeMessagesProxy = undefined;
|
||||
const _Object3 = Object;
|
||||
let obj = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("DEFAULT_FORMAT_CONFIG").makeDataFormatters;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "makeDataFormatters", obj);
|
||||
const _Object4 = Object;
|
||||
const obj2 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("dataFormatterCache").dataFormatterCache;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "dataFormatterCache", obj2);
|
||||
const _Object5 = Object;
|
||||
const obj3 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("module_1159").FormatBuilder;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "FormatBuilder", obj3);
|
||||
const _Object6 = Object;
|
||||
const obj4 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("module_1159").bindFormatValues;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "bindFormatValues", obj4);
|
||||
fn(astFormatter, exports);
|
||||
const _Object7 = Object;
|
||||
const obj5 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("runtimeHashMessageKey").runtimeHashMessageKey;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "runtimeHashMessageKey", obj5);
|
||||
const _Object8 = Object;
|
||||
const obj6 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("DEFAULT_LOCALE").IntlManager;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "IntlManager", obj6);
|
||||
const _Object9 = Object;
|
||||
const obj7 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("DEFAULT_LOCALE").DEFAULT_LOCALE;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "DEFAULT_LOCALE", obj7);
|
||||
const _Object10 = Object;
|
||||
const obj8 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("serializeAst").InternalIntlMessage;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "InternalIntlMessage", obj8);
|
||||
const _Object11 = Object;
|
||||
const obj9 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").createLoader;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "createLoader", obj9);
|
||||
const _Object12 = Object;
|
||||
const obj10 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").loadAllMessagesInLocale;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "loadAllMessagesInLocale", obj10);
|
||||
const _Object13 = Object;
|
||||
const obj11 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").waitForAllDefaultIntlMessagesLoaded;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "waitForAllDefaultIntlMessagesLoaded", obj11);
|
||||
const _Object14 = Object;
|
||||
const obj12 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("MessageLoader").MessageLoader;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "MessageLoader", obj12);
|
||||
const _Object15 = Object;
|
||||
const obj13 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("chainMessagesObjects").chainMessagesObjects;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "chainMessagesObjects", obj13);
|
||||
const _Object16 = Object;
|
||||
const obj14 = {
|
||||
enumerable: true,
|
||||
get() {
|
||||
return require("chainMessagesObjects").makeMessagesProxy;
|
||||
}
|
||||
};
|
||||
Object.defineProperty(exports, "makeMessagesProxy", obj14);
|
||||
} else {
|
||||
let _Object = Object;
|
||||
}
|
||||
};
|
||||
export const DEFAULT_FORMAT_CONFIG = { duration: {}, list: {}, relativeTime: {}, number: { integer: { maximumFractionDigits: 0 }, currency: { style: "currency" }, percent: { style: "percent" } }, date: { short: { month: "numeric", day: "numeric", year: "2-digit" }, medium: { month: "short", day: "numeric", year: "numeric" }, long: { month: "long", day: "numeric", year: "numeric" }, full: { weekday: "long", month: "long", day: "numeric", year: "numeric" } }, time: { short: { hour: "numeric", minute: "numeric" }, medium: { hour: "numeric", minute: "numeric", second: "numeric" }, long: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" }, full: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" } } };
|
||||
|
|
|
|||
|
|
@ -1,21 +1,443 @@
|
|||
// Module ID: 1157
|
||||
// Function ID: 1158
|
||||
// Dependencies: []
|
||||
// Exports: resolveFormatConfigOptions
|
||||
// Dependencies: [93, 95, 98, 158, 42, 41, 1158, 1159]
|
||||
|
||||
// Module 1157
|
||||
import c2 from "_possibleConstructorReturn" /* 93 */;
|
||||
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
||||
import _inherits from "_inherits" /* 98 */;
|
||||
import _wrapNativeSuper from "_wrapNativeSuper" /* 158 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
|
||||
export const resolveFormatConfigOptions = function resolveFormatConfigOptions(list, format) {
|
||||
format = undefined;
|
||||
if (null != format) {
|
||||
format = format.format;
|
||||
const MissingValueError = 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) {
|
||||
}
|
||||
if (typeof format === "string") {
|
||||
const _Object = Object;
|
||||
const _Object2 = Object;
|
||||
return Object.assign(Object.assign({}, list[format.format]), format);
|
||||
}
|
||||
function isRichTextTag(arg0) {
|
||||
return "$" === arg0[0];
|
||||
}
|
||||
function bindFormatValuesWithBuilder(builder) {
|
||||
let length;
|
||||
let sum;
|
||||
builder = builder.builder;
|
||||
({ originalMessage: dependencyMap, nodes } = builder);
|
||||
({ locales: _getPrototypeOf, values: _classCallCheck, dataFormatters: _isNativeReflectConstruct, formatConfig: isRichTextTag, currentPluralValue: closure_7, keyPrefix: bindFormatValuesWithBuilder } = builder);
|
||||
if (1 === nodes.length) {
|
||||
if (typeof nodes[0] === "string") {
|
||||
builder.pushLiteralText(nodes[0]);
|
||||
}
|
||||
}
|
||||
c9 = 0;
|
||||
let num = 0;
|
||||
if (0 < nodes.length) {
|
||||
do {
|
||||
let tmp = (function _loop() {
|
||||
if (typeof nodes[v0] === "string") {
|
||||
builder.pushLiteralText(tmp2);
|
||||
return 0;
|
||||
} else {
|
||||
const first = tmp2[0];
|
||||
if (first === builder(originalMessage[6]).FormatJsNodeType.Pound) {
|
||||
if (typeof currentPluralValue === "number") {
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(tmp93));
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
if (!(tmp2[1] in values)) {
|
||||
if (!formatConfig(tmp100)) {
|
||||
const tmp10 = new currentPluralValue(tmp100, closure_1, first);
|
||||
throw tmp10;
|
||||
}
|
||||
}
|
||||
builder = tmp12;
|
||||
if (tmp98(tmp99[6]).FormatJsNodeType.Argument === first) {
|
||||
if (typeof tmp12 !== "object") {
|
||||
if (typeof tmp12 !== "function") {
|
||||
const _String = String;
|
||||
builder.pushLiteralText(String(tmp12));
|
||||
}
|
||||
}
|
||||
builder.pushObject(tmp12);
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Date === first) {
|
||||
if (tmp2[2] in formatConfig.date) {
|
||||
let result = formatConfig.date[tmp83];
|
||||
} else if (null != tmp83) {
|
||||
result = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp83);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatDate(tmp12, result));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Time === first) {
|
||||
if (tmp2[2] in formatConfig.time) {
|
||||
let result1 = formatConfig.time[tmp76];
|
||||
} else if (null != tmp76) {
|
||||
result1 = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp76);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatTime(tmp12, result1));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Number === first) {
|
||||
if (tmp2[2] in formatConfig.number) {
|
||||
let parseNumberSkeletonResult = formatConfig.number[tmp67];
|
||||
} else if (null != tmp67) {
|
||||
parseNumberSkeletonResult = tmp98(tmp99[7]).parseNumberSkeleton(tmp98(tmp99[7]).parseNumberSkeletonFromString(tmp67));
|
||||
}
|
||||
let result2 = tmp12;
|
||||
if (typeof tmp12 === "number") {
|
||||
let scale;
|
||||
if (null != parseNumberSkeletonResult) {
|
||||
scale = parseNumberSkeletonResult.scale;
|
||||
}
|
||||
let num5 = 1;
|
||||
if (null !== scale) {
|
||||
num5 = 1;
|
||||
if (undefined !== scale) {
|
||||
num5 = scale;
|
||||
}
|
||||
}
|
||||
result2 = tmp12 * num5;
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(result2, parseNumberSkeletonResult));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Tag === first) {
|
||||
const obj2 = { Builder: builder.constructor, nodes: tmp2[2], locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue, keyPrefix: null };
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
obj2.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
const tmp49 = v0(obj2);
|
||||
if (null != tmp2[3]) {
|
||||
const obj3 = { Builder: obj6.constructor, nodes: tmp40, locales: tmp43, dataFormatters: tmp44, formatConfig: tmp45, values: tmp101, currentPluralValue: tmp46, keyPrefix: null };
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
obj3.keyPrefix = "" + tmp47 + "." + tmp + "-control";
|
||||
let items1 = tmp41(obj3);
|
||||
} else {
|
||||
items1 = [];
|
||||
}
|
||||
if (formatConfig(tmp100)) {
|
||||
obj6.pushRichTextTag(tmp100, tmp49, items1);
|
||||
} else if (typeof tmp12 !== "function") {
|
||||
const _HermesInternal7 = HermesInternal;
|
||||
throw "expected a function type for a Tag formatting value, " + tmp100 + ". got " + typeof tmp12 + ": " + tmp12;
|
||||
} else {
|
||||
const _HermesInternal8 = HermesInternal;
|
||||
const tmp12Result = tmp12(tmp49, "" + tmp47 + "." + tmp);
|
||||
const _Array = Array;
|
||||
let tmp55 = tmp12Result;
|
||||
if (!Array.isArray(tmp12Result)) {
|
||||
const items = [tmp12Result];
|
||||
tmp55 = items;
|
||||
}
|
||||
for (const item10128 of tmp55) {
|
||||
let tmp58 = item10128;
|
||||
if (typeof item10128 === "string") {
|
||||
let pushLiteralTextResult6 = builder.pushLiteralText(tmp58);
|
||||
} else {
|
||||
let pushObjectResult1 = builder.pushObject(tmp58);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
tmp41 = v0;
|
||||
tmp43 = locales;
|
||||
tmp44 = dataFormatters;
|
||||
tmp45 = formatConfig;
|
||||
tmp46 = currentPluralValue;
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Select === first) {
|
||||
const tmp26 = tmp12 in tmp2[2] ? tmp2[2][tmp12] : tmp2[2].other;
|
||||
if (null == tmp26) {
|
||||
const _Object2 = Object;
|
||||
const keys = Object.keys(tmp25);
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for select value " + tmp100 + ". Valid options are " + keys.join(", ");
|
||||
} else {
|
||||
const obj4 = { builder, nodes: tmp26, locales, dataFormatters, formatConfig, values: tmp101, keyPrefix: null };
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
obj4.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj4);
|
||||
}
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Plural === first) {
|
||||
closure_1 = tmp102;
|
||||
nodes = tmp103;
|
||||
locales = tmp2[4];
|
||||
const tmp104 = (() => {
|
||||
const combined = "=" + closure_0;
|
||||
if (combined in closure_1) {
|
||||
return tmp3[combined];
|
||||
} else {
|
||||
const obj = { type };
|
||||
const pluralRules = dataFormatters.getPluralRules(obj);
|
||||
let num = 0;
|
||||
if (null != closure_2) {
|
||||
num = closure_2;
|
||||
}
|
||||
let other = tmp3[pluralRules.select(pluralRules, tmp - num)];
|
||||
if (null === other) {
|
||||
other = tmp3.other;
|
||||
}
|
||||
return other;
|
||||
}
|
||||
tmp = closure_0;
|
||||
})();
|
||||
if (null == tmp104) {
|
||||
const _Object = Object;
|
||||
const keys1 = Object.keys(tmp102);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for plural value " + tmp100 + ". Valid options are " + keys1.join(", ");
|
||||
} else {
|
||||
let obj = { builder, nodes: tmp104, locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue: null, keyPrefix: null };
|
||||
let num2 = 0;
|
||||
if (null != tmp103) {
|
||||
num2 = tmp103;
|
||||
}
|
||||
obj.currentPluralValue = tmp12 - num2;
|
||||
const _HermesInternal = HermesInternal;
|
||||
obj.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
sum = num + 1;
|
||||
c9 = sum;
|
||||
num = sum;
|
||||
length = nodes.length;
|
||||
} while (sum < length);
|
||||
}
|
||||
}
|
||||
function bindFormatValues(Builder) {
|
||||
let length;
|
||||
let sum;
|
||||
({ nodes, keyPrefix } = Builder);
|
||||
({ originalMessage, locales, dataFormatters, formatConfig, values, currentPluralValue } = Builder);
|
||||
let builder = new Builder.Builder({ keyPrefix });
|
||||
if (typeof nodes === "string") {
|
||||
builder.pushLiteralText(nodes);
|
||||
let finishResult = builder.finish();
|
||||
} else {
|
||||
return format;
|
||||
if (1 === nodes.length) {
|
||||
if (typeof nodes[0] === "string") {
|
||||
builder.pushLiteralText(nodes[0]);
|
||||
}
|
||||
finishResult = builder.finish();
|
||||
}
|
||||
c9 = 0;
|
||||
let num2 = 0;
|
||||
if (0 < nodes.length) {
|
||||
do {
|
||||
let tmp = (function _loop() {
|
||||
if (typeof nodes[v0] === "string") {
|
||||
builder.pushLiteralText(tmp2);
|
||||
return 0;
|
||||
} else {
|
||||
const first = tmp2[0];
|
||||
if (first === builder(originalMessage[6]).FormatJsNodeType.Pound) {
|
||||
if (typeof currentPluralValue === "number") {
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(tmp93));
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
if (!(tmp2[1] in values)) {
|
||||
if (!formatConfig(tmp100)) {
|
||||
const tmp10 = new currentPluralValue(tmp100, closure_1, first);
|
||||
throw tmp10;
|
||||
}
|
||||
}
|
||||
builder = tmp12;
|
||||
if (tmp98(tmp99[6]).FormatJsNodeType.Argument === first) {
|
||||
if (typeof tmp12 !== "object") {
|
||||
if (typeof tmp12 !== "function") {
|
||||
const _String = String;
|
||||
builder.pushLiteralText(String(tmp12));
|
||||
}
|
||||
}
|
||||
builder.pushObject(tmp12);
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Date === first) {
|
||||
if (tmp2[2] in formatConfig.date) {
|
||||
let result = formatConfig.date[tmp83];
|
||||
} else if (null != tmp83) {
|
||||
result = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp83);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatDate(tmp12, result));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Time === first) {
|
||||
if (tmp2[2] in formatConfig.time) {
|
||||
let result1 = formatConfig.time[tmp76];
|
||||
} else if (null != tmp76) {
|
||||
result1 = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp76);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatTime(tmp12, result1));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Number === first) {
|
||||
if (tmp2[2] in formatConfig.number) {
|
||||
let parseNumberSkeletonResult = formatConfig.number[tmp67];
|
||||
} else if (null != tmp67) {
|
||||
parseNumberSkeletonResult = tmp98(tmp99[7]).parseNumberSkeleton(tmp98(tmp99[7]).parseNumberSkeletonFromString(tmp67));
|
||||
}
|
||||
let result2 = tmp12;
|
||||
if (typeof tmp12 === "number") {
|
||||
let scale;
|
||||
if (null != parseNumberSkeletonResult) {
|
||||
scale = parseNumberSkeletonResult.scale;
|
||||
}
|
||||
let num5 = 1;
|
||||
if (null !== scale) {
|
||||
num5 = 1;
|
||||
if (undefined !== scale) {
|
||||
num5 = scale;
|
||||
}
|
||||
}
|
||||
result2 = tmp12 * num5;
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(result2, parseNumberSkeletonResult));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Tag === first) {
|
||||
const obj2 = { Builder: builder.constructor, nodes: tmp2[2], locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue, keyPrefix: null };
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
obj2.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
const tmp49 = v0(obj2);
|
||||
if (null != tmp2[3]) {
|
||||
const obj3 = { Builder: obj6.constructor, nodes: tmp40, locales: tmp43, dataFormatters: tmp44, formatConfig: tmp45, values: tmp101, currentPluralValue: tmp46, keyPrefix: null };
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
obj3.keyPrefix = "" + tmp47 + "." + tmp + "-control";
|
||||
let items1 = tmp41(obj3);
|
||||
} else {
|
||||
items1 = [];
|
||||
}
|
||||
if (formatConfig(tmp100)) {
|
||||
obj6.pushRichTextTag(tmp100, tmp49, items1);
|
||||
} else if (typeof tmp12 !== "function") {
|
||||
const _HermesInternal7 = HermesInternal;
|
||||
throw "expected a function type for a Tag formatting value, " + tmp100 + ". got " + typeof tmp12 + ": " + tmp12;
|
||||
} else {
|
||||
const _HermesInternal8 = HermesInternal;
|
||||
const tmp12Result = tmp12(tmp49, "" + tmp47 + "." + tmp);
|
||||
const _Array = Array;
|
||||
let tmp55 = tmp12Result;
|
||||
if (!Array.isArray(tmp12Result)) {
|
||||
const items = [tmp12Result];
|
||||
tmp55 = items;
|
||||
}
|
||||
for (const item10128 of tmp55) {
|
||||
let tmp58 = item10128;
|
||||
if (typeof item10128 === "string") {
|
||||
let pushLiteralTextResult6 = builder.pushLiteralText(tmp58);
|
||||
} else {
|
||||
let pushObjectResult1 = builder.pushObject(tmp58);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
tmp41 = v0;
|
||||
tmp43 = locales;
|
||||
tmp44 = dataFormatters;
|
||||
tmp45 = formatConfig;
|
||||
tmp46 = currentPluralValue;
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Select === first) {
|
||||
const tmp26 = tmp12 in tmp2[2] ? tmp2[2][tmp12] : tmp2[2].other;
|
||||
if (null == tmp26) {
|
||||
const _Object2 = Object;
|
||||
const keys = Object.keys(tmp25);
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for select value " + tmp100 + ". Valid options are " + keys.join(", ");
|
||||
} else {
|
||||
const obj4 = { builder, nodes: tmp26, locales, dataFormatters, formatConfig, values: tmp101, keyPrefix: null };
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
obj4.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj4);
|
||||
}
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Plural === first) {
|
||||
closure_1 = tmp102;
|
||||
nodes = tmp103;
|
||||
locales = tmp2[4];
|
||||
const tmp104 = (() => {
|
||||
const combined = "=" + closure_0;
|
||||
if (combined in closure_1) {
|
||||
return tmp3[combined];
|
||||
} else {
|
||||
const obj = { type };
|
||||
const pluralRules = dataFormatters.getPluralRules(obj);
|
||||
let num = 0;
|
||||
if (null != closure_2) {
|
||||
num = closure_2;
|
||||
}
|
||||
let other = tmp3[pluralRules.select(pluralRules, tmp - num)];
|
||||
if (null === other) {
|
||||
other = tmp3.other;
|
||||
}
|
||||
return other;
|
||||
}
|
||||
tmp = closure_0;
|
||||
})();
|
||||
if (null == tmp104) {
|
||||
const _Object = Object;
|
||||
const keys1 = Object.keys(tmp102);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for plural value " + tmp100 + ". Valid options are " + keys1.join(", ");
|
||||
} else {
|
||||
let obj = { builder, nodes: tmp104, locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue: null, keyPrefix: null };
|
||||
let num2 = 0;
|
||||
if (null != tmp103) {
|
||||
num2 = tmp103;
|
||||
}
|
||||
obj.currentPluralValue = tmp12 - num2;
|
||||
const _HermesInternal = HermesInternal;
|
||||
obj.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
sum = num2 + 1;
|
||||
c9 = sum;
|
||||
num2 = sum;
|
||||
length = nodes.length;
|
||||
} while (sum < length);
|
||||
}
|
||||
}
|
||||
};
|
||||
export const DEFAULT_FORMAT_CONFIG = { duration: {}, list: {}, relativeTime: {}, number: { integer: { maximumFractionDigits: 0 }, currency: { style: "currency" }, percent: { style: "percent" } }, date: { short: { month: "numeric", day: "numeric", year: "2-digit" }, medium: { month: "short", day: "numeric", year: "numeric" }, long: { month: "long", day: "numeric", year: "numeric" }, full: { weekday: "long", month: "long", day: "numeric", year: "numeric" } }, time: { short: { hour: "numeric", minute: "numeric" }, medium: { hour: "numeric", minute: "numeric", second: "numeric" }, long: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" }, full: { hour: "numeric", minute: "numeric", second: "numeric", timeZoneName: "short" } } };
|
||||
return finishResult;
|
||||
}
|
||||
class FormatBuilder {
|
||||
constructor(arg0) {
|
||||
tmp = closure_4(this, FormatBuilder);
|
||||
this.context = global;
|
||||
return;
|
||||
}
|
||||
}
|
||||
class MissingValueError {
|
||||
constructor(arg0, arg1, arg2) {
|
||||
self = this;
|
||||
tmp = closure_4(this, MissingValueError);
|
||||
items = [];
|
||||
items[0] = "No value for variable '" + global + "' was provided for the localized message '" + require + "'";
|
||||
tmp2 = closure_3;
|
||||
obj = closure_3(MissingValueError);
|
||||
tmp3 = c2;
|
||||
if (hasOwnProperty()) {
|
||||
_Reflect = Reflect;
|
||||
constructResult = Reflect.construct(obj, items, tmp2(self).constructor);
|
||||
} else {
|
||||
constructResult = obj.apply(self, items);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
tmp3Result.variableName = global;
|
||||
tmp3Result.originalMessage = require;
|
||||
tmp3Result.nodeType = importDefault;
|
||||
return tmp3Result;
|
||||
}
|
||||
}
|
||||
_inherits(MissingValueError, _wrapNativeSuper(Error));
|
||||
let closure_7 = _createClass(MissingValueError);
|
||||
|
||||
export { bindFormatValuesWithBuilder };
|
||||
export { bindFormatValues };
|
||||
export const FormatBuilder = _createClass(FormatBuilder);
|
||||
|
|
|
|||
|
|
@ -1,443 +1,13 @@
|
|||
// Module ID: 1159
|
||||
// Function ID: 1160
|
||||
// Dependencies: [93, 95, 98, 158, 42, 41, 1160, 1161]
|
||||
// Dependencies: [1160, 1161, 1162]
|
||||
|
||||
// Module 1159
|
||||
import c2 from "_possibleConstructorReturn" /* 93 */;
|
||||
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
||||
import _inherits from "_inherits" /* 98 */;
|
||||
import _wrapNativeSuper from "_wrapNativeSuper" /* 158 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _mod1161 from "module_1161" /* 1161 */;
|
||||
import _mod1162 from "module_1162" /* 1162 */;
|
||||
import e_mod from "e" /* 1160 */;
|
||||
|
||||
const MissingValueError = 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) {
|
||||
}
|
||||
}
|
||||
function isRichTextTag(arg0) {
|
||||
return "$" === arg0[0];
|
||||
}
|
||||
function bindFormatValuesWithBuilder(builder) {
|
||||
let length;
|
||||
let sum;
|
||||
builder = builder.builder;
|
||||
({ originalMessage: dependencyMap, nodes } = builder);
|
||||
({ locales: _getPrototypeOf, values: _classCallCheck, dataFormatters: _isNativeReflectConstruct, formatConfig: isRichTextTag, currentPluralValue: closure_7, keyPrefix: bindFormatValuesWithBuilder } = builder);
|
||||
if (1 === nodes.length) {
|
||||
if (typeof nodes[0] === "string") {
|
||||
builder.pushLiteralText(nodes[0]);
|
||||
}
|
||||
}
|
||||
c9 = 0;
|
||||
let num = 0;
|
||||
if (0 < nodes.length) {
|
||||
do {
|
||||
let tmp = (function _loop() {
|
||||
if (typeof nodes[v0] === "string") {
|
||||
builder.pushLiteralText(tmp2);
|
||||
return 0;
|
||||
} else {
|
||||
const first = tmp2[0];
|
||||
if (first === builder(originalMessage[6]).FormatJsNodeType.Pound) {
|
||||
if (typeof currentPluralValue === "number") {
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(tmp93));
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
if (!(tmp2[1] in values)) {
|
||||
if (!formatConfig(tmp100)) {
|
||||
const tmp10 = new currentPluralValue(tmp100, closure_1, first);
|
||||
throw tmp10;
|
||||
}
|
||||
}
|
||||
builder = tmp12;
|
||||
if (tmp98(tmp99[6]).FormatJsNodeType.Argument === first) {
|
||||
if (typeof tmp12 !== "object") {
|
||||
if (typeof tmp12 !== "function") {
|
||||
const _String = String;
|
||||
builder.pushLiteralText(String(tmp12));
|
||||
}
|
||||
}
|
||||
builder.pushObject(tmp12);
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Date === first) {
|
||||
if (tmp2[2] in formatConfig.date) {
|
||||
let result = formatConfig.date[tmp83];
|
||||
} else if (null != tmp83) {
|
||||
result = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp83);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatDate(tmp12, result));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Time === first) {
|
||||
if (tmp2[2] in formatConfig.time) {
|
||||
let result1 = formatConfig.time[tmp76];
|
||||
} else if (null != tmp76) {
|
||||
result1 = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp76);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatTime(tmp12, result1));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Number === first) {
|
||||
if (tmp2[2] in formatConfig.number) {
|
||||
let parseNumberSkeletonResult = formatConfig.number[tmp67];
|
||||
} else if (null != tmp67) {
|
||||
parseNumberSkeletonResult = tmp98(tmp99[7]).parseNumberSkeleton(tmp98(tmp99[7]).parseNumberSkeletonFromString(tmp67));
|
||||
}
|
||||
let result2 = tmp12;
|
||||
if (typeof tmp12 === "number") {
|
||||
let scale;
|
||||
if (null != parseNumberSkeletonResult) {
|
||||
scale = parseNumberSkeletonResult.scale;
|
||||
}
|
||||
let num5 = 1;
|
||||
if (null !== scale) {
|
||||
num5 = 1;
|
||||
if (undefined !== scale) {
|
||||
num5 = scale;
|
||||
}
|
||||
}
|
||||
result2 = tmp12 * num5;
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(result2, parseNumberSkeletonResult));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Tag === first) {
|
||||
const obj2 = { Builder: builder.constructor, nodes: tmp2[2], locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue, keyPrefix: null };
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
obj2.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
const tmp49 = v0(obj2);
|
||||
if (null != tmp2[3]) {
|
||||
const obj3 = { Builder: obj6.constructor, nodes: tmp40, locales: tmp43, dataFormatters: tmp44, formatConfig: tmp45, values: tmp101, currentPluralValue: tmp46, keyPrefix: null };
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
obj3.keyPrefix = "" + tmp47 + "." + tmp + "-control";
|
||||
let items1 = tmp41(obj3);
|
||||
} else {
|
||||
items1 = [];
|
||||
}
|
||||
if (formatConfig(tmp100)) {
|
||||
obj6.pushRichTextTag(tmp100, tmp49, items1);
|
||||
} else if (typeof tmp12 !== "function") {
|
||||
const _HermesInternal7 = HermesInternal;
|
||||
throw "expected a function type for a Tag formatting value, " + tmp100 + ". got " + typeof tmp12 + ": " + tmp12;
|
||||
} else {
|
||||
const _HermesInternal8 = HermesInternal;
|
||||
const tmp12Result = tmp12(tmp49, "" + tmp47 + "." + tmp);
|
||||
const _Array = Array;
|
||||
let tmp55 = tmp12Result;
|
||||
if (!Array.isArray(tmp12Result)) {
|
||||
const items = [tmp12Result];
|
||||
tmp55 = items;
|
||||
}
|
||||
for (const item10128 of tmp55) {
|
||||
let tmp58 = item10128;
|
||||
if (typeof item10128 === "string") {
|
||||
let pushLiteralTextResult6 = builder.pushLiteralText(tmp58);
|
||||
} else {
|
||||
let pushObjectResult1 = builder.pushObject(tmp58);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
tmp41 = v0;
|
||||
tmp43 = locales;
|
||||
tmp44 = dataFormatters;
|
||||
tmp45 = formatConfig;
|
||||
tmp46 = currentPluralValue;
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Select === first) {
|
||||
const tmp26 = tmp12 in tmp2[2] ? tmp2[2][tmp12] : tmp2[2].other;
|
||||
if (null == tmp26) {
|
||||
const _Object2 = Object;
|
||||
const keys = Object.keys(tmp25);
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for select value " + tmp100 + ". Valid options are " + keys.join(", ");
|
||||
} else {
|
||||
const obj4 = { builder, nodes: tmp26, locales, dataFormatters, formatConfig, values: tmp101, keyPrefix: null };
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
obj4.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj4);
|
||||
}
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Plural === first) {
|
||||
closure_1 = tmp102;
|
||||
nodes = tmp103;
|
||||
locales = tmp2[4];
|
||||
const tmp104 = (() => {
|
||||
const combined = "=" + closure_0;
|
||||
if (combined in closure_1) {
|
||||
return tmp3[combined];
|
||||
} else {
|
||||
const obj = { type };
|
||||
const pluralRules = dataFormatters.getPluralRules(obj);
|
||||
let num = 0;
|
||||
if (null != closure_2) {
|
||||
num = closure_2;
|
||||
}
|
||||
let other = tmp3[pluralRules.select(pluralRules, tmp - num)];
|
||||
if (null === other) {
|
||||
other = tmp3.other;
|
||||
}
|
||||
return other;
|
||||
}
|
||||
tmp = closure_0;
|
||||
})();
|
||||
if (null == tmp104) {
|
||||
const _Object = Object;
|
||||
const keys1 = Object.keys(tmp102);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for plural value " + tmp100 + ". Valid options are " + keys1.join(", ");
|
||||
} else {
|
||||
let obj = { builder, nodes: tmp104, locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue: null, keyPrefix: null };
|
||||
let num2 = 0;
|
||||
if (null != tmp103) {
|
||||
num2 = tmp103;
|
||||
}
|
||||
obj.currentPluralValue = tmp12 - num2;
|
||||
const _HermesInternal = HermesInternal;
|
||||
obj.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
sum = num + 1;
|
||||
c9 = sum;
|
||||
num = sum;
|
||||
length = nodes.length;
|
||||
} while (sum < length);
|
||||
}
|
||||
}
|
||||
function bindFormatValues(Builder) {
|
||||
let length;
|
||||
let sum;
|
||||
({ nodes, keyPrefix } = Builder);
|
||||
({ originalMessage, locales, dataFormatters, formatConfig, values, currentPluralValue } = Builder);
|
||||
let builder = new Builder.Builder({ keyPrefix });
|
||||
if (typeof nodes === "string") {
|
||||
builder.pushLiteralText(nodes);
|
||||
let finishResult = builder.finish();
|
||||
} else {
|
||||
if (1 === nodes.length) {
|
||||
if (typeof nodes[0] === "string") {
|
||||
builder.pushLiteralText(nodes[0]);
|
||||
}
|
||||
finishResult = builder.finish();
|
||||
}
|
||||
c9 = 0;
|
||||
let num2 = 0;
|
||||
if (0 < nodes.length) {
|
||||
do {
|
||||
let tmp = (function _loop() {
|
||||
if (typeof nodes[v0] === "string") {
|
||||
builder.pushLiteralText(tmp2);
|
||||
return 0;
|
||||
} else {
|
||||
const first = tmp2[0];
|
||||
if (first === builder(originalMessage[6]).FormatJsNodeType.Pound) {
|
||||
if (typeof currentPluralValue === "number") {
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(tmp93));
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
if (!(tmp2[1] in values)) {
|
||||
if (!formatConfig(tmp100)) {
|
||||
const tmp10 = new currentPluralValue(tmp100, closure_1, first);
|
||||
throw tmp10;
|
||||
}
|
||||
}
|
||||
builder = tmp12;
|
||||
if (tmp98(tmp99[6]).FormatJsNodeType.Argument === first) {
|
||||
if (typeof tmp12 !== "object") {
|
||||
if (typeof tmp12 !== "function") {
|
||||
const _String = String;
|
||||
builder.pushLiteralText(String(tmp12));
|
||||
}
|
||||
}
|
||||
builder.pushObject(tmp12);
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Date === first) {
|
||||
if (tmp2[2] in formatConfig.date) {
|
||||
let result = formatConfig.date[tmp83];
|
||||
} else if (null != tmp83) {
|
||||
result = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp83);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatDate(tmp12, result));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Time === first) {
|
||||
if (tmp2[2] in formatConfig.time) {
|
||||
let result1 = formatConfig.time[tmp76];
|
||||
} else if (null != tmp76) {
|
||||
result1 = tmp98(tmp99[7]).parseDateTimeSkeleton(tmp76);
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatTime(tmp12, result1));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Number === first) {
|
||||
if (tmp2[2] in formatConfig.number) {
|
||||
let parseNumberSkeletonResult = formatConfig.number[tmp67];
|
||||
} else if (null != tmp67) {
|
||||
parseNumberSkeletonResult = tmp98(tmp99[7]).parseNumberSkeleton(tmp98(tmp99[7]).parseNumberSkeletonFromString(tmp67));
|
||||
}
|
||||
let result2 = tmp12;
|
||||
if (typeof tmp12 === "number") {
|
||||
let scale;
|
||||
if (null != parseNumberSkeletonResult) {
|
||||
scale = parseNumberSkeletonResult.scale;
|
||||
}
|
||||
let num5 = 1;
|
||||
if (null !== scale) {
|
||||
num5 = 1;
|
||||
if (undefined !== scale) {
|
||||
num5 = scale;
|
||||
}
|
||||
}
|
||||
result2 = tmp12 * num5;
|
||||
}
|
||||
builder.pushLiteralText(dataFormatters.formatNumber(result2, parseNumberSkeletonResult));
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Tag === first) {
|
||||
const obj2 = { Builder: builder.constructor, nodes: tmp2[2], locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue, keyPrefix: null };
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
obj2.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
const tmp49 = v0(obj2);
|
||||
if (null != tmp2[3]) {
|
||||
const obj3 = { Builder: obj6.constructor, nodes: tmp40, locales: tmp43, dataFormatters: tmp44, formatConfig: tmp45, values: tmp101, currentPluralValue: tmp46, keyPrefix: null };
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
obj3.keyPrefix = "" + tmp47 + "." + tmp + "-control";
|
||||
let items1 = tmp41(obj3);
|
||||
} else {
|
||||
items1 = [];
|
||||
}
|
||||
if (formatConfig(tmp100)) {
|
||||
obj6.pushRichTextTag(tmp100, tmp49, items1);
|
||||
} else if (typeof tmp12 !== "function") {
|
||||
const _HermesInternal7 = HermesInternal;
|
||||
throw "expected a function type for a Tag formatting value, " + tmp100 + ". got " + typeof tmp12 + ": " + tmp12;
|
||||
} else {
|
||||
const _HermesInternal8 = HermesInternal;
|
||||
const tmp12Result = tmp12(tmp49, "" + tmp47 + "." + tmp);
|
||||
const _Array = Array;
|
||||
let tmp55 = tmp12Result;
|
||||
if (!Array.isArray(tmp12Result)) {
|
||||
const items = [tmp12Result];
|
||||
tmp55 = items;
|
||||
}
|
||||
for (const item10128 of tmp55) {
|
||||
let tmp58 = item10128;
|
||||
if (typeof item10128 === "string") {
|
||||
let pushLiteralTextResult6 = builder.pushLiteralText(tmp58);
|
||||
} else {
|
||||
let pushObjectResult1 = builder.pushObject(tmp58);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
tmp41 = v0;
|
||||
tmp43 = locales;
|
||||
tmp44 = dataFormatters;
|
||||
tmp45 = formatConfig;
|
||||
tmp46 = currentPluralValue;
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Select === first) {
|
||||
const tmp26 = tmp12 in tmp2[2] ? tmp2[2][tmp12] : tmp2[2].other;
|
||||
if (null == tmp26) {
|
||||
const _Object2 = Object;
|
||||
const keys = Object.keys(tmp25);
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for select value " + tmp100 + ". Valid options are " + keys.join(", ");
|
||||
} else {
|
||||
const obj4 = { builder, nodes: tmp26, locales, dataFormatters, formatConfig, values: tmp101, keyPrefix: null };
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
obj4.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj4);
|
||||
}
|
||||
} else if (tmp98(tmp99[6]).FormatJsNodeType.Plural === first) {
|
||||
closure_1 = tmp102;
|
||||
nodes = tmp103;
|
||||
locales = tmp2[4];
|
||||
const tmp104 = (() => {
|
||||
const combined = "=" + closure_0;
|
||||
if (combined in closure_1) {
|
||||
return tmp3[combined];
|
||||
} else {
|
||||
const obj = { type };
|
||||
const pluralRules = dataFormatters.getPluralRules(obj);
|
||||
let num = 0;
|
||||
if (null != closure_2) {
|
||||
num = closure_2;
|
||||
}
|
||||
let other = tmp3[pluralRules.select(pluralRules, tmp - num)];
|
||||
if (null === other) {
|
||||
other = tmp3.other;
|
||||
}
|
||||
return other;
|
||||
}
|
||||
tmp = closure_0;
|
||||
})();
|
||||
if (null == tmp104) {
|
||||
const _Object = Object;
|
||||
const keys1 = Object.keys(tmp102);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
throw "" + tmp12 + " is not a known option for plural value " + tmp100 + ". Valid options are " + keys1.join(", ");
|
||||
} else {
|
||||
let obj = { builder, nodes: tmp104, locales, dataFormatters, formatConfig, values: tmp101, currentPluralValue: null, keyPrefix: null };
|
||||
let num2 = 0;
|
||||
if (null != tmp103) {
|
||||
num2 = tmp103;
|
||||
}
|
||||
obj.currentPluralValue = tmp12 - num2;
|
||||
const _HermesInternal = HermesInternal;
|
||||
obj.keyPrefix = "" + keyPrefix + "." + tmp;
|
||||
keyPrefix(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
sum = num2 + 1;
|
||||
c9 = sum;
|
||||
num2 = sum;
|
||||
length = nodes.length;
|
||||
} while (sum < length);
|
||||
}
|
||||
}
|
||||
return finishResult;
|
||||
}
|
||||
class FormatBuilder {
|
||||
constructor(arg0) {
|
||||
tmp = closure_4(this, FormatBuilder);
|
||||
this.context = global;
|
||||
return;
|
||||
}
|
||||
}
|
||||
class MissingValueError {
|
||||
constructor(arg0, arg1, arg2) {
|
||||
self = this;
|
||||
tmp = closure_4(this, MissingValueError);
|
||||
items = [];
|
||||
items[0] = "No value for variable '" + global + "' was provided for the localized message '" + require + "'";
|
||||
tmp2 = closure_3;
|
||||
obj = closure_3(MissingValueError);
|
||||
tmp3 = c2;
|
||||
if (hasOwnProperty()) {
|
||||
_Reflect = Reflect;
|
||||
constructResult = Reflect.construct(obj, items, tmp2(self).constructor);
|
||||
} else {
|
||||
constructResult = obj.apply(self, items);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
tmp3Result.variableName = global;
|
||||
tmp3Result.originalMessage = require;
|
||||
tmp3Result.nodeType = importDefault;
|
||||
return tmp3Result;
|
||||
}
|
||||
}
|
||||
_inherits(MissingValueError, _wrapNativeSuper(Error));
|
||||
let closure_7 = _createClass(MissingValueError);
|
||||
|
||||
export { bindFormatValuesWithBuilder };
|
||||
export { bindFormatValues };
|
||||
export const FormatBuilder = _createClass(FormatBuilder);
|
||||
let e = e_mod;
|
||||
e.__exportStar(_mod1161, exports);
|
||||
let e = e_mod;
|
||||
e.__exportStar(_mod1162, exports);
|
||||
|
|
|
|||
|
|
@ -1,13 +1,204 @@
|
|||
// Module ID: 1161
|
||||
// Function ID: 1162
|
||||
// Dependencies: [1162, 1163, 1164]
|
||||
// Dependencies: []
|
||||
// Exports: parseDateTimeSkeleton
|
||||
|
||||
// Module 1161
|
||||
import _mod1163 from "module_1163" /* 1163 */;
|
||||
import _mod1164 from "module_1164" /* 1164 */;
|
||||
import e_mod from "e" /* 1162 */;
|
||||
const re0 = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
||||
|
||||
let e = e_mod;
|
||||
e.__exportStar(_mod1163, exports);
|
||||
let e = e_mod;
|
||||
e.__exportStar(_mod1164, exports);
|
||||
export const parseDateTimeSkeleton = function parseDateTimeSkeleton(str) {
|
||||
const obj = {};
|
||||
const replaced = str.replace(re0, (arg0) => {
|
||||
switch (arg0[0]) {
|
||||
case "G":
|
||||
let str19 = "long";
|
||||
if (4 !== length) {
|
||||
let str20 = "short";
|
||||
if (5 === length) {
|
||||
str20 = "narrow";
|
||||
}
|
||||
str19 = str20;
|
||||
}
|
||||
obj.era = str19;
|
||||
return "";
|
||||
case "y":
|
||||
let str18 = "numeric";
|
||||
if (2 === length) {
|
||||
str18 = "2-digit";
|
||||
}
|
||||
obj.year = str18;
|
||||
break;
|
||||
case "Y":
|
||||
let _RangeError10 = RangeError;
|
||||
let rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "u":
|
||||
_RangeError10 = RangeError;
|
||||
rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "U":
|
||||
_RangeError10 = RangeError;
|
||||
rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "r":
|
||||
_RangeError10 = RangeError;
|
||||
rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "q":
|
||||
let _RangeError9 = RangeError;
|
||||
let rangeError1 = new RangeError("`q/Q` (quarter) patterns are not supported");
|
||||
throw rangeError1;
|
||||
case "Q":
|
||||
_RangeError9 = RangeError;
|
||||
rangeError1 = new RangeError("`q/Q` (quarter) patterns are not supported");
|
||||
throw rangeError1;
|
||||
case "M":
|
||||
let diff = length - 1;
|
||||
let items = ["numeric", "2-digit", "short", "long", "narrow"];
|
||||
obj.month = items[diff];
|
||||
break;
|
||||
case "L":
|
||||
diff = length - 1;
|
||||
items = ["numeric", "2-digit", "short", "long", "narrow"];
|
||||
obj.month = items[diff];
|
||||
break;
|
||||
case "w":
|
||||
let _RangeError8 = RangeError;
|
||||
let rangeError2 = new RangeError("`w/W` (week) patterns are not supported");
|
||||
throw rangeError2;
|
||||
case "W":
|
||||
_RangeError8 = RangeError;
|
||||
rangeError2 = new RangeError("`w/W` (week) patterns are not supported");
|
||||
throw rangeError2;
|
||||
case "d":
|
||||
obj.day = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "D":
|
||||
let _RangeError7 = RangeError;
|
||||
let rangeError3 = new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
||||
throw rangeError3;
|
||||
case "F":
|
||||
_RangeError7 = RangeError;
|
||||
rangeError3 = new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
||||
throw rangeError3;
|
||||
case "g":
|
||||
_RangeError7 = RangeError;
|
||||
rangeError3 = new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
||||
throw rangeError3;
|
||||
case "E":
|
||||
let str12 = "long";
|
||||
if (4 !== length) {
|
||||
let str13 = "short";
|
||||
if (5 === length) {
|
||||
str13 = "narrow";
|
||||
}
|
||||
str12 = str13;
|
||||
}
|
||||
obj.weekday = str12;
|
||||
break;
|
||||
case "e":
|
||||
if (length < 4) {
|
||||
const _RangeError6 = RangeError;
|
||||
const rangeError4 = new RangeError("`e..eee` (weekday) patterns are not supported");
|
||||
throw rangeError4;
|
||||
} else {
|
||||
obj.weekday = ["short", "long", "narrow", "short"][length - 4];
|
||||
}
|
||||
break;
|
||||
case "c":
|
||||
if (length < 4) {
|
||||
const _RangeError5 = RangeError;
|
||||
const rangeError5 = new RangeError("`c..ccc` (weekday) patterns are not supported");
|
||||
throw rangeError5;
|
||||
} else {
|
||||
obj.weekday = ["short", "long", "narrow", "short"][length - 4];
|
||||
}
|
||||
break;
|
||||
case "a":
|
||||
obj.hour12 = true;
|
||||
break;
|
||||
case "b":
|
||||
let _RangeError4 = RangeError;
|
||||
let rangeError6 = new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
||||
throw rangeError6;
|
||||
case "B":
|
||||
_RangeError4 = RangeError;
|
||||
rangeError6 = new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
||||
throw rangeError6;
|
||||
case "h":
|
||||
obj.hourCycle = "h12";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "H":
|
||||
obj.hourCycle = "h23";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "K":
|
||||
obj.hourCycle = "h11";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "k":
|
||||
obj.hourCycle = "h24";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "j":
|
||||
let _RangeError3 = RangeError;
|
||||
let rangeError7 = new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
||||
throw rangeError7;
|
||||
case "J":
|
||||
_RangeError3 = RangeError;
|
||||
rangeError7 = new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
||||
throw rangeError7;
|
||||
case "C":
|
||||
_RangeError3 = RangeError;
|
||||
rangeError7 = new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
||||
throw rangeError7;
|
||||
case "m":
|
||||
obj.minute = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "s":
|
||||
obj.second = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "S":
|
||||
let _RangeError2 = RangeError;
|
||||
let rangeError8 = new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
||||
throw rangeError8;
|
||||
case "A":
|
||||
_RangeError2 = RangeError;
|
||||
rangeError8 = new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
||||
throw rangeError8;
|
||||
case "z":
|
||||
let str2 = "long";
|
||||
if (length < 4) {
|
||||
str2 = "short";
|
||||
}
|
||||
obj.timeZoneName = str2;
|
||||
break;
|
||||
case "Z":
|
||||
let _RangeError = RangeError;
|
||||
let rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "O":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "v":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "V":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "X":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "x":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
}
|
||||
});
|
||||
return obj;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 1164
|
||||
// Function ID: 1165
|
||||
// Dependencies: [1165, 1162]
|
||||
// Module ID: 1162
|
||||
// Function ID: 1163
|
||||
// Dependencies: [1163, 1160]
|
||||
// Exports: parseNumberSkeleton, parseNumberSkeletonFromString
|
||||
|
||||
// Module 1164
|
||||
import WHITE_SPACE_REGEX from "WHITE_SPACE_REGEX" /* 1165 */;
|
||||
// Module 1162
|
||||
import WHITE_SPACE_REGEX from "WHITE_SPACE_REGEX" /* 1163 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
|
@ -1,204 +0,0 @@
|
|||
// Module ID: 1163
|
||||
// Function ID: 1164
|
||||
// Dependencies: []
|
||||
// Exports: parseDateTimeSkeleton
|
||||
|
||||
// Module 1163
|
||||
const re0 = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
||||
|
||||
export const parseDateTimeSkeleton = function parseDateTimeSkeleton(str) {
|
||||
const obj = {};
|
||||
const replaced = str.replace(re0, (arg0) => {
|
||||
switch (arg0[0]) {
|
||||
case "G":
|
||||
let str19 = "long";
|
||||
if (4 !== length) {
|
||||
let str20 = "short";
|
||||
if (5 === length) {
|
||||
str20 = "narrow";
|
||||
}
|
||||
str19 = str20;
|
||||
}
|
||||
obj.era = str19;
|
||||
return "";
|
||||
case "y":
|
||||
let str18 = "numeric";
|
||||
if (2 === length) {
|
||||
str18 = "2-digit";
|
||||
}
|
||||
obj.year = str18;
|
||||
break;
|
||||
case "Y":
|
||||
let _RangeError10 = RangeError;
|
||||
let rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "u":
|
||||
_RangeError10 = RangeError;
|
||||
rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "U":
|
||||
_RangeError10 = RangeError;
|
||||
rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "r":
|
||||
_RangeError10 = RangeError;
|
||||
rangeError = new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
||||
throw rangeError;
|
||||
case "q":
|
||||
let _RangeError9 = RangeError;
|
||||
let rangeError1 = new RangeError("`q/Q` (quarter) patterns are not supported");
|
||||
throw rangeError1;
|
||||
case "Q":
|
||||
_RangeError9 = RangeError;
|
||||
rangeError1 = new RangeError("`q/Q` (quarter) patterns are not supported");
|
||||
throw rangeError1;
|
||||
case "M":
|
||||
let diff = length - 1;
|
||||
let items = ["numeric", "2-digit", "short", "long", "narrow"];
|
||||
obj.month = items[diff];
|
||||
break;
|
||||
case "L":
|
||||
diff = length - 1;
|
||||
items = ["numeric", "2-digit", "short", "long", "narrow"];
|
||||
obj.month = items[diff];
|
||||
break;
|
||||
case "w":
|
||||
let _RangeError8 = RangeError;
|
||||
let rangeError2 = new RangeError("`w/W` (week) patterns are not supported");
|
||||
throw rangeError2;
|
||||
case "W":
|
||||
_RangeError8 = RangeError;
|
||||
rangeError2 = new RangeError("`w/W` (week) patterns are not supported");
|
||||
throw rangeError2;
|
||||
case "d":
|
||||
obj.day = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "D":
|
||||
let _RangeError7 = RangeError;
|
||||
let rangeError3 = new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
||||
throw rangeError3;
|
||||
case "F":
|
||||
_RangeError7 = RangeError;
|
||||
rangeError3 = new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
||||
throw rangeError3;
|
||||
case "g":
|
||||
_RangeError7 = RangeError;
|
||||
rangeError3 = new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
||||
throw rangeError3;
|
||||
case "E":
|
||||
let str12 = "long";
|
||||
if (4 !== length) {
|
||||
let str13 = "short";
|
||||
if (5 === length) {
|
||||
str13 = "narrow";
|
||||
}
|
||||
str12 = str13;
|
||||
}
|
||||
obj.weekday = str12;
|
||||
break;
|
||||
case "e":
|
||||
if (length < 4) {
|
||||
const _RangeError6 = RangeError;
|
||||
const rangeError4 = new RangeError("`e..eee` (weekday) patterns are not supported");
|
||||
throw rangeError4;
|
||||
} else {
|
||||
obj.weekday = ["short", "long", "narrow", "short"][length - 4];
|
||||
}
|
||||
break;
|
||||
case "c":
|
||||
if (length < 4) {
|
||||
const _RangeError5 = RangeError;
|
||||
const rangeError5 = new RangeError("`c..ccc` (weekday) patterns are not supported");
|
||||
throw rangeError5;
|
||||
} else {
|
||||
obj.weekday = ["short", "long", "narrow", "short"][length - 4];
|
||||
}
|
||||
break;
|
||||
case "a":
|
||||
obj.hour12 = true;
|
||||
break;
|
||||
case "b":
|
||||
let _RangeError4 = RangeError;
|
||||
let rangeError6 = new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
||||
throw rangeError6;
|
||||
case "B":
|
||||
_RangeError4 = RangeError;
|
||||
rangeError6 = new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
||||
throw rangeError6;
|
||||
case "h":
|
||||
obj.hourCycle = "h12";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "H":
|
||||
obj.hourCycle = "h23";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "K":
|
||||
obj.hourCycle = "h11";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "k":
|
||||
obj.hourCycle = "h24";
|
||||
obj.hour = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "j":
|
||||
let _RangeError3 = RangeError;
|
||||
let rangeError7 = new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
||||
throw rangeError7;
|
||||
case "J":
|
||||
_RangeError3 = RangeError;
|
||||
rangeError7 = new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
||||
throw rangeError7;
|
||||
case "C":
|
||||
_RangeError3 = RangeError;
|
||||
rangeError7 = new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
||||
throw rangeError7;
|
||||
case "m":
|
||||
obj.minute = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "s":
|
||||
obj.second = ["numeric", "2-digit"][length - 1];
|
||||
break;
|
||||
case "S":
|
||||
let _RangeError2 = RangeError;
|
||||
let rangeError8 = new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
||||
throw rangeError8;
|
||||
case "A":
|
||||
_RangeError2 = RangeError;
|
||||
rangeError8 = new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
||||
throw rangeError8;
|
||||
case "z":
|
||||
let str2 = "long";
|
||||
if (length < 4) {
|
||||
str2 = "short";
|
||||
}
|
||||
obj.timeZoneName = str2;
|
||||
break;
|
||||
case "Z":
|
||||
let _RangeError = RangeError;
|
||||
let rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "O":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "v":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "V":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "X":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
case "x":
|
||||
_RangeError = RangeError;
|
||||
rangeError9 = new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
||||
throw rangeError9;
|
||||
}
|
||||
});
|
||||
return obj;
|
||||
};
|
||||
153
source/__polyfill/01xxx/module_1165.js
Normal file
153
source/__polyfill/01xxx/module_1165.js
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
// Module ID: 1165
|
||||
// Function ID: 1166
|
||||
// Dependencies: [41, 42, 93, 95, 98, 1157]
|
||||
// Exports: formatToAst
|
||||
|
||||
// Module 1165
|
||||
import _mod1157 from "module_1157" /* 1157 */;
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import c2 from "_possibleConstructorReturn" /* 93 */;
|
||||
import _getPrototypeOf 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) {
|
||||
}
|
||||
}
|
||||
function formatToAst(content, arg1) {
|
||||
if (typeof content === "string") {
|
||||
const obj = { type: AstBuilder.Text, content };
|
||||
const items = [obj];
|
||||
let bindFormatValuesResult = items;
|
||||
} else {
|
||||
const self = this;
|
||||
bindFormatValuesResult = this.bindFormatValues(_moduleResult, content, arg1);
|
||||
}
|
||||
return bindFormatValuesResult;
|
||||
}
|
||||
let obj = {};
|
||||
const AstBuilder = obj;
|
||||
obj.Text = "text";
|
||||
obj.Strong = "strong";
|
||||
obj.Emphasis = "em";
|
||||
obj.Strikethrough = "s";
|
||||
obj.Code = "inlineCode";
|
||||
obj.Link = "link";
|
||||
obj.Paragraph = "paragraph";
|
||||
let closure_5 = {
|
||||
$b(content) {
|
||||
return { type: AstBuilder.Strong, content };
|
||||
},
|
||||
$i(content) {
|
||||
return { type: AstBuilder.Emphasis, content };
|
||||
},
|
||||
$del(content) {
|
||||
return { type: AstBuilder.Strikethrough, content };
|
||||
},
|
||||
$code(content) {
|
||||
return { type: AstBuilder.Code, content };
|
||||
},
|
||||
$link(content, arg1, arg2) {
|
||||
[tmp] = arg2;
|
||||
return { type: AstBuilder.Link, target: tmp, content };
|
||||
},
|
||||
$p(content) {
|
||||
return { type: AstBuilder.Paragraph, content };
|
||||
}
|
||||
};
|
||||
class AstBuilder {
|
||||
constructor() {
|
||||
self = this;
|
||||
tmp = closure_1(this, AstBuilder);
|
||||
tmp2 = closure_3;
|
||||
obj = closure_3(AstBuilder);
|
||||
tmp3 = c2;
|
||||
if (closure_4()) {
|
||||
tmp7 = globalThis;
|
||||
_Reflect = Reflect;
|
||||
tmp8 = arguments;
|
||||
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
|
||||
} else {
|
||||
tmp4 = arguments;
|
||||
tmp5 = arguments;
|
||||
constructResult = obj(...arguments);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
tmp3Result.result = [];
|
||||
return tmp3Result;
|
||||
}
|
||||
}
|
||||
_inherits(AstBuilder, _mod1157.FormatBuilder);
|
||||
const entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(formatting, arg1, arg2) {
|
||||
if (formatting in closure_5) {
|
||||
const self = this;
|
||||
const tmp4 = tmp[formatting](arg1, "", arg2);
|
||||
const _Array = Array;
|
||||
const result = this.result;
|
||||
const push = result.push;
|
||||
if (Array.isArray(tmp4)) {
|
||||
const items = [];
|
||||
HermesBuiltin.arraySpread(tmp4, 0);
|
||||
HermesBuiltin.apply(items, result);
|
||||
} else {
|
||||
push(tmp4);
|
||||
}
|
||||
} else {
|
||||
const _HermesInternal = HermesInternal;
|
||||
throw "" + formatting + " is not a known rich text formatting tag";
|
||||
}
|
||||
tmp = closure_5;
|
||||
}
|
||||
};
|
||||
let items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(content) {
|
||||
if (null != this.result[this.result.length - 1]) {
|
||||
if (tmp.type === AstBuilder.Text) {
|
||||
tmp.content = tmp.content + content;
|
||||
}
|
||||
}
|
||||
const result = this.result;
|
||||
result.push({ type: AstBuilder.Text, content });
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
const result = this.result;
|
||||
result.push(arg0);
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
];
|
||||
const _moduleResult = _createClass(AstBuilder, items);
|
||||
const metroRequire = _moduleResult;
|
||||
|
||||
export { formatToAst };
|
||||
export const RichTextNodeType = obj;
|
||||
export const astFormatter = { format: formatToAst, builder: _moduleResult };
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 1169
|
||||
// Function ID: 1170
|
||||
// Dependencies: [41, 42, 93, 95, 98, 1159]
|
||||
// Exports: formatToPlainString
|
||||
// Module ID: 1166
|
||||
// Function ID: 1167
|
||||
// Dependencies: [41, 42, 93, 95, 98, 1167]
|
||||
// Exports: formatToMarkdownString
|
||||
|
||||
// Module 1169
|
||||
import _mod1159 from "module_1159" /* 1159 */;
|
||||
// Module 1166
|
||||
import _mod1167 from "module_1167" /* 1167 */;
|
||||
import _classCallCheck_mod from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import _possibleConstructorReturn from "_possibleConstructorReturn" /* 93 */;
|
||||
|
|
@ -30,21 +30,46 @@ function _isNativeReflectConstruct() {
|
|||
} catch (err) {
|
||||
}
|
||||
}
|
||||
function formatToPlainString(k2UNz_, time) {
|
||||
let first = k2UNz_;
|
||||
if (typeof k2UNz_ !== "string") {
|
||||
function formatToMarkdownString(_1Ww0Hi, arg1) {
|
||||
let tmp = arg2;
|
||||
if (arg2 === undefined) {
|
||||
tmp = _moduleResult;
|
||||
}
|
||||
let first = _1Ww0Hi;
|
||||
if (typeof _1Ww0Hi !== "string") {
|
||||
const self = this;
|
||||
first = this.bindFormatValues(_moduleResult, k2UNz_, time)[0];
|
||||
first = this.bindFormatValues(tmp, _1Ww0Hi, arg1)[0];
|
||||
}
|
||||
return first;
|
||||
}
|
||||
let _classCallCheck = _classCallCheck_mod;
|
||||
class StringBuilder {
|
||||
const dependencyMap = {
|
||||
$b(join) {
|
||||
return "**" + join.join("") + "**";
|
||||
},
|
||||
$i(join) {
|
||||
return "*" + join.join("") + "*";
|
||||
},
|
||||
$del(join) {
|
||||
return "~~" + join.join("") + "~~";
|
||||
},
|
||||
$code(join) {
|
||||
return "`" + join.join("") + "`";
|
||||
},
|
||||
$link(join, arg1, arg2) {
|
||||
[tmp] = arg2;
|
||||
return "[" + join.join("") + "](" + tmp + ")";
|
||||
},
|
||||
$p(join) {
|
||||
return join.join("") + "\n\n";
|
||||
}
|
||||
};
|
||||
class MarkdownBuilder {
|
||||
constructor() {
|
||||
self = this;
|
||||
tmp = closure_0(this, StringBuilder);
|
||||
tmp = closure_0(this, MarkdownBuilder);
|
||||
tmp2 = c2;
|
||||
obj = c2(StringBuilder);
|
||||
obj = c2(MarkdownBuilder);
|
||||
tmp3 = closure_1;
|
||||
if (closure_3()) {
|
||||
tmp7 = globalThis;
|
||||
|
|
@ -61,49 +86,17 @@ class StringBuilder {
|
|||
return tmp3Result;
|
||||
}
|
||||
}
|
||||
_classCallCheck = StringBuilder;
|
||||
_inherits(StringBuilder, _mod1159.FormatBuilder);
|
||||
_classCallCheck = MarkdownBuilder;
|
||||
_inherits(MarkdownBuilder, _mod1167.StringBuilder);
|
||||
const entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
while (tmp !== undefined) {
|
||||
self.result = self.result + tmp2;
|
||||
continue;
|
||||
}
|
||||
this.result = this.result + dependencyMap[arg0](arg1, "", arg2);
|
||||
}
|
||||
};
|
||||
let items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(arg0) {
|
||||
this.result = this.result + arg0;
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
let tmp = null != arg0;
|
||||
if (tmp) {
|
||||
tmp = "toString" in arg0;
|
||||
}
|
||||
if (tmp) {
|
||||
const self = this;
|
||||
this.result = this.result + arg0.toString();
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
const items = [this.result];
|
||||
return items;
|
||||
}
|
||||
}
|
||||
];
|
||||
const _moduleResult = _createClass(StringBuilder, items);
|
||||
const items = [entry];
|
||||
const _moduleResult = _createClass(MarkdownBuilder, items);
|
||||
const hasOwnProperty = _moduleResult;
|
||||
|
||||
export { formatToPlainString };
|
||||
export const StringBuilder = _moduleResult;
|
||||
export const stringFormatter = { format: formatToPlainString, builder: _moduleResult };
|
||||
export { formatToMarkdownString };
|
||||
export const markdownFormatter = { format: formatToMarkdownString, builder: _moduleResult };
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
// Module ID: 1167
|
||||
// Function ID: 1168
|
||||
// Dependencies: [41, 42, 93, 95, 98, 1159]
|
||||
// Exports: formatToAst
|
||||
// Dependencies: [41, 42, 93, 95, 98, 1157]
|
||||
// Exports: formatToPlainString
|
||||
|
||||
// Module 1167
|
||||
import _mod1159 from "module_1159" /* 1159 */;
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _mod1157 from "module_1157" /* 1157 */;
|
||||
import _classCallCheck_mod from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import c2 from "_possibleConstructorReturn" /* 93 */;
|
||||
import _possibleConstructorReturn from "_possibleConstructorReturn" /* 93 */;
|
||||
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
||||
import _inherits from "_inherits" /* 98 */;
|
||||
|
||||
|
|
@ -30,55 +30,23 @@ function _isNativeReflectConstruct() {
|
|||
} catch (err) {
|
||||
}
|
||||
}
|
||||
function formatToAst(content, arg1) {
|
||||
if (typeof content === "string") {
|
||||
const obj = { type: AstBuilder.Text, content };
|
||||
const items = [obj];
|
||||
let bindFormatValuesResult = items;
|
||||
} else {
|
||||
function formatToPlainString(k2UNz_, time) {
|
||||
let first = k2UNz_;
|
||||
if (typeof k2UNz_ !== "string") {
|
||||
const self = this;
|
||||
bindFormatValuesResult = this.bindFormatValues(_moduleResult, content, arg1);
|
||||
first = this.bindFormatValues(_moduleResult, k2UNz_, time)[0];
|
||||
}
|
||||
return bindFormatValuesResult;
|
||||
return first;
|
||||
}
|
||||
let obj = {};
|
||||
const AstBuilder = obj;
|
||||
obj.Text = "text";
|
||||
obj.Strong = "strong";
|
||||
obj.Emphasis = "em";
|
||||
obj.Strikethrough = "s";
|
||||
obj.Code = "inlineCode";
|
||||
obj.Link = "link";
|
||||
obj.Paragraph = "paragraph";
|
||||
let closure_5 = {
|
||||
$b(content) {
|
||||
return { type: AstBuilder.Strong, content };
|
||||
},
|
||||
$i(content) {
|
||||
return { type: AstBuilder.Emphasis, content };
|
||||
},
|
||||
$del(content) {
|
||||
return { type: AstBuilder.Strikethrough, content };
|
||||
},
|
||||
$code(content) {
|
||||
return { type: AstBuilder.Code, content };
|
||||
},
|
||||
$link(content, arg1, arg2) {
|
||||
[tmp] = arg2;
|
||||
return { type: AstBuilder.Link, target: tmp, content };
|
||||
},
|
||||
$p(content) {
|
||||
return { type: AstBuilder.Paragraph, content };
|
||||
}
|
||||
};
|
||||
class AstBuilder {
|
||||
let _classCallCheck = _classCallCheck_mod;
|
||||
class StringBuilder {
|
||||
constructor() {
|
||||
self = this;
|
||||
tmp = closure_1(this, AstBuilder);
|
||||
tmp2 = closure_3;
|
||||
obj = closure_3(AstBuilder);
|
||||
tmp3 = c2;
|
||||
if (closure_4()) {
|
||||
tmp = closure_0(this, StringBuilder);
|
||||
tmp2 = c2;
|
||||
obj = c2(StringBuilder);
|
||||
tmp3 = closure_1;
|
||||
if (closure_3()) {
|
||||
tmp7 = globalThis;
|
||||
_Reflect = Reflect;
|
||||
tmp8 = arguments;
|
||||
|
|
@ -89,65 +57,53 @@ class AstBuilder {
|
|||
constructResult = obj(...arguments);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
tmp3Result.result = [];
|
||||
tmp3Result.result = "";
|
||||
return tmp3Result;
|
||||
}
|
||||
}
|
||||
_inherits(AstBuilder, _mod1159.FormatBuilder);
|
||||
_classCallCheck = StringBuilder;
|
||||
_inherits(StringBuilder, _mod1157.FormatBuilder);
|
||||
const entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(formatting, arg1, arg2) {
|
||||
if (formatting in closure_5) {
|
||||
const self = this;
|
||||
const tmp4 = tmp[formatting](arg1, "", arg2);
|
||||
const _Array = Array;
|
||||
const result = this.result;
|
||||
const push = result.push;
|
||||
if (Array.isArray(tmp4)) {
|
||||
const items = [];
|
||||
HermesBuiltin.arraySpread(tmp4, 0);
|
||||
HermesBuiltin.apply(items, result);
|
||||
} else {
|
||||
push(tmp4);
|
||||
}
|
||||
} else {
|
||||
const _HermesInternal = HermesInternal;
|
||||
throw "" + formatting + " is not a known rich text formatting tag";
|
||||
value: function pushRichTextTag(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
while (tmp !== undefined) {
|
||||
self.result = self.result + tmp2;
|
||||
continue;
|
||||
}
|
||||
tmp = closure_5;
|
||||
}
|
||||
};
|
||||
let items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(content) {
|
||||
if (null != this.result[this.result.length - 1]) {
|
||||
if (tmp.type === AstBuilder.Text) {
|
||||
tmp.content = tmp.content + content;
|
||||
}
|
||||
}
|
||||
const result = this.result;
|
||||
result.push({ type: AstBuilder.Text, content });
|
||||
value: function pushLiteralText(arg0) {
|
||||
this.result = this.result + arg0;
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
const result = this.result;
|
||||
result.push(arg0);
|
||||
let tmp = null != arg0;
|
||||
if (tmp) {
|
||||
tmp = "toString" in arg0;
|
||||
}
|
||||
if (tmp) {
|
||||
const self = this;
|
||||
this.result = this.result + arg0.toString();
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
return this.result;
|
||||
const items = [this.result];
|
||||
return items;
|
||||
}
|
||||
}
|
||||
];
|
||||
const _moduleResult = _createClass(AstBuilder, items);
|
||||
const metroRequire = _moduleResult;
|
||||
const _moduleResult = _createClass(StringBuilder, items);
|
||||
|
||||
export { formatToAst };
|
||||
export const RichTextNodeType = obj;
|
||||
export const astFormatter = { format: formatToAst, builder: _moduleResult };
|
||||
export { formatToPlainString };
|
||||
export const StringBuilder = _moduleResult;
|
||||
export const stringFormatter = { format: formatToPlainString, builder: _moduleResult };
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
// Module ID: 1168
|
||||
// Function ID: 1169
|
||||
// Dependencies: [41, 42, 93, 95, 98, 1169]
|
||||
// Exports: formatToMarkdownString
|
||||
// Dependencies: [41, 42, 93, 95, 98, 19, 1157]
|
||||
// Exports: makeReactFormatter
|
||||
|
||||
// Module 1168
|
||||
import _mod1169 from "module_1169" /* 1169 */;
|
||||
import _classCallCheck_mod from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import _mod19 from "module_19" /* 19 */;
|
||||
import _possibleConstructorReturn from "_possibleConstructorReturn" /* 93 */;
|
||||
import _mod1157 from "module_1157" /* 1157 */;
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
||||
import _inherits from "_inherits" /* 98 */;
|
||||
|
||||
|
|
@ -30,73 +31,152 @@ function _isNativeReflectConstruct() {
|
|||
} catch (err) {
|
||||
}
|
||||
}
|
||||
function formatToMarkdownString(_1Ww0Hi, arg1) {
|
||||
let tmp = arg2;
|
||||
if (arg2 === undefined) {
|
||||
tmp = _moduleResult;
|
||||
}
|
||||
let first = _1Ww0Hi;
|
||||
if (typeof _1Ww0Hi !== "string") {
|
||||
function formatReact(str, arg1, arg2) {
|
||||
let bindFormatValuesResult = str;
|
||||
if (typeof str !== "string") {
|
||||
const self = this;
|
||||
first = this.bindFormatValues(tmp, _1Ww0Hi, arg1)[0];
|
||||
bindFormatValuesResult = this.bindFormatValues(arg2, str, arg1);
|
||||
}
|
||||
return first;
|
||||
return bindFormatValuesResult;
|
||||
}
|
||||
let _classCallCheck = _classCallCheck_mod;
|
||||
const dependencyMap = {
|
||||
$b(join) {
|
||||
return "**" + join.join("") + "**";
|
||||
},
|
||||
$i(join) {
|
||||
return "*" + join.join("") + "*";
|
||||
},
|
||||
$del(join) {
|
||||
return "~~" + join.join("") + "~~";
|
||||
},
|
||||
$code(join) {
|
||||
return "`" + join.join("") + "`";
|
||||
},
|
||||
$link(join, arg1, arg2) {
|
||||
[tmp] = arg2;
|
||||
return "[" + join.join("") + "](" + tmp + ")";
|
||||
},
|
||||
$p(join) {
|
||||
return join.join("") + "\n\n";
|
||||
}
|
||||
};
|
||||
class MarkdownBuilder {
|
||||
constructor() {
|
||||
self = this;
|
||||
tmp = closure_0(this, MarkdownBuilder);
|
||||
tmp2 = c2;
|
||||
obj = c2(MarkdownBuilder);
|
||||
tmp3 = closure_1;
|
||||
if (closure_3()) {
|
||||
tmp7 = globalThis;
|
||||
_Reflect = Reflect;
|
||||
tmp8 = arguments;
|
||||
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
|
||||
} else {
|
||||
tmp4 = arguments;
|
||||
tmp5 = arguments;
|
||||
constructResult = obj(...arguments);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
tmp3Result.result = "";
|
||||
return tmp3Result;
|
||||
_possibleConstructorReturn;
|
||||
const createElement = _mod19.createElement;
|
||||
let obj = { format: formatReact, builder: null };
|
||||
function _class() {
|
||||
const self = this;
|
||||
c2(this, _class);
|
||||
const obj = hasOwnProperty(_class);
|
||||
if (closure_7()) {
|
||||
const _Reflect = Reflect;
|
||||
let constructResult = Reflect.construct(obj, arguments, hasOwnProperty(self).constructor);
|
||||
} else {
|
||||
constructResult = obj(...arguments);
|
||||
}
|
||||
const tmp3Result = closure_4(self, constructResult);
|
||||
tmp3Result._nodeKey = 0;
|
||||
tmp3Result.result = [];
|
||||
return tmp3Result;
|
||||
}
|
||||
_classCallCheck = MarkdownBuilder;
|
||||
_inherits(MarkdownBuilder, _mod1169.StringBuilder);
|
||||
const entry = {
|
||||
_inherits(_class, _mod1157.FormatBuilder);
|
||||
let entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(arg0, arg1, arg2) {
|
||||
this.result = this.result + dependencyMap[arg0](arg1, "", arg2);
|
||||
const result = this.result;
|
||||
this._nodeKey = +this._nodeKey + 1;
|
||||
result.push(_class[arg0](arg1, "" + this.context.keyPrefix + ".tag-" + +this._nodeKey, arg2));
|
||||
}
|
||||
};
|
||||
const items = [entry];
|
||||
const _moduleResult = _createClass(MarkdownBuilder, items);
|
||||
const hasOwnProperty = _moduleResult;
|
||||
let items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(arg0) {
|
||||
const self = this;
|
||||
if (typeof this.result[this.result.length - 1] === "string") {
|
||||
const result = self.result;
|
||||
const diff = self.result.length - 1;
|
||||
result[diff] = result[diff] + arg0;
|
||||
} else {
|
||||
const result1 = self.result;
|
||||
result1.push(arg0);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
const result = this.result;
|
||||
result.push(arg0);
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
];
|
||||
obj.builder = _createClass(_class, items);
|
||||
|
||||
export { formatToMarkdownString };
|
||||
export const markdownFormatter = { format: formatToMarkdownString, builder: _moduleResult };
|
||||
export { formatReact };
|
||||
export const makeReactFormatter = function makeReactFormatter(arg0) {
|
||||
let obj = { format: formatReact, builder: null };
|
||||
_class = function _class() {
|
||||
const self = this;
|
||||
c2(this, _class);
|
||||
const obj = hasOwnProperty(_class);
|
||||
if (closure_7()) {
|
||||
const _Reflect = Reflect;
|
||||
let constructResult = Reflect.construct(obj, arguments, hasOwnProperty(self).constructor);
|
||||
} else {
|
||||
constructResult = obj(...arguments);
|
||||
}
|
||||
const tmp3Result = closure_4(self, constructResult);
|
||||
tmp3Result._nodeKey = 0;
|
||||
tmp3Result.result = [];
|
||||
return tmp3Result;
|
||||
};
|
||||
_inherits(_class, _class(1157).FormatBuilder);
|
||||
const entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(arg0, arg1, arg2) {
|
||||
const result = this.result;
|
||||
this._nodeKey = +this._nodeKey + 1;
|
||||
result.push(_class[arg0](arg1, "" + this.context.keyPrefix + ".tag-" + +this._nodeKey, arg2));
|
||||
}
|
||||
};
|
||||
const items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(arg0) {
|
||||
const self = this;
|
||||
if (typeof this.result[this.result.length - 1] === "string") {
|
||||
const result = self.result;
|
||||
const diff = self.result.length - 1;
|
||||
result[diff] = result[diff] + arg0;
|
||||
} else {
|
||||
const result1 = self.result;
|
||||
result1.push(arg0);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
const result = this.result;
|
||||
result.push(arg0);
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
];
|
||||
obj.builder = _createClass(_class, items);
|
||||
return obj;
|
||||
};
|
||||
export const DEFAULT_REACT_RICH_TEXT_ELEMENTS = {
|
||||
$b(arg0, key) {
|
||||
return <strong key={arg1}>{arg0}</strong>;
|
||||
},
|
||||
$i(arg0, key) {
|
||||
return <em key={arg1}>{arg0}</em>;
|
||||
},
|
||||
$del(arg0, key) {
|
||||
return <del key={arg1}>{arg0}</del>;
|
||||
},
|
||||
$code(arg0, key) {
|
||||
return <code key={arg1}>{arg0}</code>;
|
||||
},
|
||||
$link(arg0, key, arg2) {
|
||||
[tmp] = arg2;
|
||||
return <a href={tmp} key={arg1}>{arg0}</a>;
|
||||
},
|
||||
$p(arg0, key) {
|
||||
return <p key={arg1}>{arg0}</p>;
|
||||
}
|
||||
};
|
||||
export const reactFormatter = obj;
|
||||
|
|
|
|||
|
|
@ -1,182 +0,0 @@
|
|||
// Module ID: 1170
|
||||
// Function ID: 1171
|
||||
// Dependencies: [41, 42, 93, 95, 98, 19, 1159]
|
||||
// Exports: makeReactFormatter
|
||||
|
||||
// Module 1170
|
||||
import _mod19 from "module_19" /* 19 */;
|
||||
import _possibleConstructorReturn from "_possibleConstructorReturn" /* 93 */;
|
||||
import _mod1159 from "module_1159" /* 1159 */;
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import _getPrototypeOf 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) {
|
||||
}
|
||||
}
|
||||
function formatReact(str, arg1, arg2) {
|
||||
let bindFormatValuesResult = str;
|
||||
if (typeof str !== "string") {
|
||||
const self = this;
|
||||
bindFormatValuesResult = this.bindFormatValues(arg2, str, arg1);
|
||||
}
|
||||
return bindFormatValuesResult;
|
||||
}
|
||||
_possibleConstructorReturn;
|
||||
const createElement = _mod19.createElement;
|
||||
let obj = { format: formatReact, builder: null };
|
||||
function _class() {
|
||||
const self = this;
|
||||
c2(this, _class);
|
||||
const obj = hasOwnProperty(_class);
|
||||
if (closure_7()) {
|
||||
const _Reflect = Reflect;
|
||||
let constructResult = Reflect.construct(obj, arguments, hasOwnProperty(self).constructor);
|
||||
} else {
|
||||
constructResult = obj(...arguments);
|
||||
}
|
||||
const tmp3Result = closure_4(self, constructResult);
|
||||
tmp3Result._nodeKey = 0;
|
||||
tmp3Result.result = [];
|
||||
return tmp3Result;
|
||||
}
|
||||
_inherits(_class, _mod1159.FormatBuilder);
|
||||
let entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(arg0, arg1, arg2) {
|
||||
const result = this.result;
|
||||
this._nodeKey = +this._nodeKey + 1;
|
||||
result.push(_class[arg0](arg1, "" + this.context.keyPrefix + ".tag-" + +this._nodeKey, arg2));
|
||||
}
|
||||
};
|
||||
let items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(arg0) {
|
||||
const self = this;
|
||||
if (typeof this.result[this.result.length - 1] === "string") {
|
||||
const result = self.result;
|
||||
const diff = self.result.length - 1;
|
||||
result[diff] = result[diff] + arg0;
|
||||
} else {
|
||||
const result1 = self.result;
|
||||
result1.push(arg0);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
const result = this.result;
|
||||
result.push(arg0);
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
];
|
||||
obj.builder = _createClass(_class, items);
|
||||
|
||||
export { formatReact };
|
||||
export const makeReactFormatter = function makeReactFormatter(arg0) {
|
||||
let obj = { format: formatReact, builder: null };
|
||||
_class = function _class() {
|
||||
const self = this;
|
||||
c2(this, _class);
|
||||
const obj = hasOwnProperty(_class);
|
||||
if (closure_7()) {
|
||||
const _Reflect = Reflect;
|
||||
let constructResult = Reflect.construct(obj, arguments, hasOwnProperty(self).constructor);
|
||||
} else {
|
||||
constructResult = obj(...arguments);
|
||||
}
|
||||
const tmp3Result = closure_4(self, constructResult);
|
||||
tmp3Result._nodeKey = 0;
|
||||
tmp3Result.result = [];
|
||||
return tmp3Result;
|
||||
};
|
||||
_inherits(_class, _class(1159).FormatBuilder);
|
||||
const entry = {
|
||||
key: "pushRichTextTag",
|
||||
value: function pushRichTextTag(arg0, arg1, arg2) {
|
||||
const result = this.result;
|
||||
this._nodeKey = +this._nodeKey + 1;
|
||||
result.push(_class[arg0](arg1, "" + this.context.keyPrefix + ".tag-" + +this._nodeKey, arg2));
|
||||
}
|
||||
};
|
||||
const items = [
|
||||
entry,
|
||||
{
|
||||
key: "pushLiteralText",
|
||||
value: function pushLiteralText(arg0) {
|
||||
const self = this;
|
||||
if (typeof this.result[this.result.length - 1] === "string") {
|
||||
const result = self.result;
|
||||
const diff = self.result.length - 1;
|
||||
result[diff] = result[diff] + arg0;
|
||||
} else {
|
||||
const result1 = self.result;
|
||||
result1.push(arg0);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "pushObject",
|
||||
value: function pushObject(arg0) {
|
||||
const result = this.result;
|
||||
result.push(arg0);
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "finish",
|
||||
value: function finish() {
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
];
|
||||
obj.builder = _createClass(_class, items);
|
||||
return obj;
|
||||
};
|
||||
export const DEFAULT_REACT_RICH_TEXT_ELEMENTS = {
|
||||
$b(arg0, key) {
|
||||
return <strong key={arg1}>{arg0}</strong>;
|
||||
},
|
||||
$i(arg0, key) {
|
||||
return <em key={arg1}>{arg0}</em>;
|
||||
},
|
||||
$del(arg0, key) {
|
||||
return <del key={arg1}>{arg0}</del>;
|
||||
},
|
||||
$code(arg0, key) {
|
||||
return <code key={arg1}>{arg0}</code>;
|
||||
},
|
||||
$link(arg0, key, arg2) {
|
||||
[tmp] = arg2;
|
||||
return <a href={tmp} key={arg1}>{arg0}</a>;
|
||||
},
|
||||
$p(arg0, key) {
|
||||
return <p key={arg1}>{arg0}</p>;
|
||||
}
|
||||
};
|
||||
export const reactFormatter = obj;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
// Module ID: 1177
|
||||
// Function ID: 1178
|
||||
// Module ID: 1175
|
||||
// Function ID: 1176
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1177
|
||||
// Module 1175
|
||||
const items = [{ name: "English, US", englishName: "English, US", code: "en-US", postgresLang: "english", enabled: true }, { name: "English, UK", englishName: "English, UK", code: "en-GB", postgresLang: "english", enabled: true }, { name: "\u4E2D\u6587", englishName: "Chinese Simplified", code: "zh-CN", postgresLang: "simple", enabled: true }, { name: "\u7E41\u9AD4\u4E2D\u6587", englishName: "Traditional Chinese", code: "zh-TW", postgresLang: "simple", enabled: true }, { name: "\u010Ce\u0161tina", englishName: "Czech", code: "cs", postgresLang: "simple", enabled: true }, { name: "Dansk", englishName: "Danish", code: "da", postgresLang: "danish", enabled: true }, { name: "Nederlands", englishName: "Dutch", code: "nl", postgresLang: "dutch", enabled: true }, { name: "Fran\u00E7ais", englishName: "French", code: "fr", postgresLang: "french", enabled: true }, { name: "Deutsch", englishName: "German", code: "de", postgresLang: "german", enabled: true }, { name: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC", englishName: "Greek", code: "el", postgresLang: "simple", enabled: true }, { name: "Magyar", englishName: "Hungarian", code: "hu", postgresLang: "hungarian", enabled: true }, { name: "Italiano", englishName: "Italian", code: "it", postgresLang: "italian", enabled: true }, { name: "\u65E5\u672C\u8A9E", englishName: "Japanese", code: "ja", postgresLang: "simple", enabled: true }, { name: "\uD55C\uAD6D\uC5B4", englishName: "Korean", code: "ko", postgresLang: "simple", enabled: true }, { name: "Polski", englishName: "Polish", code: "pl", postgresLang: "simple", enabled: true }, { name: "Portugu\u00EAs", englishName: "Portuguese", code: "pt-PT", postgresLang: "portuguese", enabled: false }, { name: "Portugu\u00EAs do Brasil", englishName: "Portuguese, Brazilian", code: "pt-BR", postgresLang: "portuguese", enabled: true }, { name: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", englishName: "Russian", code: "ru", postgresLang: "russian", enabled: true }, { name: "Sloven\u010Dina", englishName: "Slovak", code: "sk", postgresLang: "simple", enabled: false }, { name: "Espa\u00F1ol, LATAM", englishName: "Spanish, LATAM", code: "es-419", postgresLang: "spanish", enabled: true }, { name: "Espa\u00F1ol", englishName: "Spanish", code: "es-ES", postgresLang: "spanish", enabled: true }, { name: "Svenska", englishName: "Swedish", code: "sv-SE", postgresLang: "swedish", enabled: true }, { name: "T\u00FCrk\u00E7e", englishName: "Turkish", code: "tr", postgresLang: "turkish", enabled: true }, { name: "\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438", englishName: "Bulgarian", code: "bg", postgresLang: "simple", enabled: true }, { name: "\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430", englishName: "Ukrainian", code: "uk", postgresLang: "simple", enabled: true }, { name: "Suomi", englishName: "Finnish", code: "fi", postgresLang: "finnish", enabled: true }, { name: "Norsk", englishName: "Norwegian", code: "no", postgresLang: "norwegian", enabled: true }, { name: "Hrvatski", englishName: "Croatian", code: "hr", postgresLang: "simple", enabled: true }, { name: "Rom\u00E2n\u0103", englishName: "Romanian", code: "ro", postgresLang: "romanian", enabled: true }, { name: "Lietuvi\u0161kai", englishName: "Lithuanian", code: "lt", postgresLang: "simple", enabled: true }, { name: "\u0E44\u0E17\u0E22", englishName: "Thai", code: "th", postgresLang: "simple", enabled: true }, { name: "Ti\u1EBFng Vi\u1EC7t", englishName: "Vietnamese", code: "vi", postgresLang: "simple", enabled: true }, { name: "\u0939\u093F\u0902\u0926\u0940", englishName: "Hindi", code: "hi", postgresLang: "simple", enabled: true }, { name: "\u05E2\u05B4\u05D1\u05E8\u05B4\u05D9\u05EA", englishName: "Hebrew", code: "he", postgresLang: "simple", enabled: false, enabledAPI: true }, { name: "\u0627\u0644\u0639\u0631\u0628\u064A\u0629", englishName: "Arabic", code: "ar", postgresLang: "simple", enabled: false, enabledAPI: true }, { name: "Bahasa Indonesia", englishName: "Indonesian", code: "id", postgresLang: "simple", enabled: false, enabledAPI: true }];
|
||||
|
||||
export default items;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
// Module ID: 1188
|
||||
// Function ID: 1189
|
||||
// Dependencies: [1189, 1190, 1191, 1192, 1193, 1196, 1195, 1198, 1199, 1200, 1201, 1203, 1211, 1209, 1212, 1213, 1208, 1210, 1205, 1207, 1214, 1204, 1215, 1202, 1197]
|
||||
// Module ID: 1186
|
||||
// Function ID: 1187
|
||||
// Dependencies: [1187, 1188, 1189, 1190, 1191, 1194, 1193, 1196, 1197, 1198, 1199, 1201, 1209, 1207, 1210, 1211, 1206, 1208, 1203, 1205, 1212, 1202, 1213, 1200, 1195]
|
||||
|
||||
// Module 1188
|
||||
// Module 1186
|
||||
const require = globalThis.__r;
|
||||
|
||||
const require = arg1;
|
||||
|
|
@ -20,8 +20,8 @@ export const BinaryReader = require("binaryReadOptions").BinaryReader;
|
|||
export const binaryReadOptions = require("binaryReadOptions").binaryReadOptions;
|
||||
export const BinaryWriter = require("binaryWriteOptions").BinaryWriter;
|
||||
export const binaryWriteOptions = require("binaryWriteOptions").binaryWriteOptions;
|
||||
export const PbLong = require("module_1195").PbLong;
|
||||
export const PbULong = require("module_1195").PbULong;
|
||||
export const PbLong = require("module_1193").PbLong;
|
||||
export const PbULong = require("module_1193").PbULong;
|
||||
export const jsonReadOptions = require("jsonReadOptions").jsonReadOptions;
|
||||
export const jsonWriteOptions = require("jsonReadOptions").jsonWriteOptions;
|
||||
export const mergeJsonOptions = require("jsonReadOptions").mergeJsonOptions;
|
||||
|
|
@ -44,15 +44,15 @@ export const ReflectionBinaryWriter = require("ReflectionBinaryWriter").Reflecti
|
|||
export const ReflectionJsonReader = require("ReflectionJsonReader").ReflectionJsonReader;
|
||||
export const ReflectionJsonWriter = require("ReflectionJsonWriter").ReflectionJsonWriter;
|
||||
export const containsMessageType = require("containsMessageType").containsMessageType;
|
||||
export const isOneofGroup = require("module_1204").isOneofGroup;
|
||||
export const setOneofValue = require("module_1204").setOneofValue;
|
||||
export const getOneofValue = require("module_1204").getOneofValue;
|
||||
export const clearOneofValue = require("module_1204").clearOneofValue;
|
||||
export const getSelectedOneofValue = require("module_1204").getSelectedOneofValue;
|
||||
export const listEnumValues = require("module_1215").listEnumValues;
|
||||
export const listEnumNames = require("module_1215").listEnumNames;
|
||||
export const listEnumNumbers = require("module_1215").listEnumNumbers;
|
||||
export const isEnumObject = require("module_1215").isEnumObject;
|
||||
export const isOneofGroup = require("module_1202").isOneofGroup;
|
||||
export const setOneofValue = require("module_1202").setOneofValue;
|
||||
export const getOneofValue = require("module_1202").getOneofValue;
|
||||
export const clearOneofValue = require("module_1202").clearOneofValue;
|
||||
export const getSelectedOneofValue = require("module_1202").getSelectedOneofValue;
|
||||
export const listEnumValues = require("module_1213").listEnumValues;
|
||||
export const listEnumNames = require("module_1213").listEnumNames;
|
||||
export const listEnumNumbers = require("module_1213").listEnumNumbers;
|
||||
export const isEnumObject = require("module_1213").isEnumObject;
|
||||
export const lowerCamelCase = require("lowerCamelCase").lowerCamelCase;
|
||||
export const assert = require("assert").assert;
|
||||
export const assertNever = require("assert").assertNever;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
// Module ID: 1195
|
||||
// Function ID: 1196
|
||||
// Dependencies: [32, 93, 95, 98, 41, 42, 1194]
|
||||
// Module ID: 1193
|
||||
// Function ID: 1194
|
||||
// Dependencies: [32, 93, 95, 98, 41, 42, 1192]
|
||||
|
||||
// Module 1195
|
||||
// Module 1193
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
import c3 from "_possibleConstructorReturn" /* 93 */;
|
||||
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
||||
|
|
@ -121,7 +121,7 @@ const entry1 = {
|
|||
let str1 = self.toBigInt().toString();
|
||||
const str = self.toBigInt();
|
||||
} else {
|
||||
obj = PbLong(1194);
|
||||
obj = PbLong(1192);
|
||||
str1 = obj.int64toString(self.lo, self.hi);
|
||||
}
|
||||
return str1;
|
||||
|
|
@ -201,7 +201,7 @@ const entry2 = {
|
|||
} else {
|
||||
trimmed = trimmed.trim();
|
||||
if (regex.test(trimmed)) {
|
||||
const obj2 = PbLong(1194);
|
||||
const obj2 = PbLong(1192);
|
||||
if (tmp24[0]) {
|
||||
const _Error4 = Error;
|
||||
const error3 = new Error("signed value");
|
||||
|
|
@ -210,7 +210,7 @@ const entry2 = {
|
|||
const tmp28 = PbLong(tmp25, tmp26);
|
||||
return tmp28;
|
||||
}
|
||||
tmp24 = _slicedToArray(PbLong(1194).int64fromString(trimmed), 3);
|
||||
tmp24 = _slicedToArray(PbLong(1192).int64fromString(trimmed), 3);
|
||||
} else {
|
||||
const _Error3 = Error;
|
||||
const error4 = new Error("string is no integer");
|
||||
|
|
@ -297,9 +297,9 @@ const items3 = [
|
|||
return self.toBigInt().toString();
|
||||
} else if (self.isNegative()) {
|
||||
const negateResult = self.negate();
|
||||
return "-" + PbLong(1194).int64toString(negateResult.lo, negateResult.hi);
|
||||
return "-" + PbLong(1192).int64toString(negateResult.lo, negateResult.hi);
|
||||
} else {
|
||||
obj = PbLong(1194);
|
||||
obj = PbLong(1192);
|
||||
return obj.int64toString(self.lo, self.hi);
|
||||
}
|
||||
}
|
||||
|
|
@ -376,8 +376,8 @@ const entry4 = {
|
|||
} else {
|
||||
trimmed = trimmed.trim();
|
||||
if (regex.test(trimmed)) {
|
||||
const obj3 = PbLong(1194);
|
||||
[tmp24, tmp26, tmp27] = PbLong(1194).int64fromString(trimmed);
|
||||
const obj3 = PbLong(1192);
|
||||
[tmp24, tmp26, tmp27] = PbLong(1192).int64fromString(trimmed);
|
||||
const obj4 = PbLong(tmp26, tmp27);
|
||||
let negateResult = obj4;
|
||||
if (tmp24) {
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1204
|
||||
// Function ID: 1205
|
||||
// Module ID: 1202
|
||||
// Function ID: 1203
|
||||
// Dependencies: []
|
||||
// Exports: clearOneofValue, getOneofValue, getSelectedOneofValue, isOneofGroup, setOneofValue, setUnknownOneofValue
|
||||
|
||||
// Module 1204
|
||||
// Module 1202
|
||||
|
||||
export const isOneofGroup = function isOneofGroup(oneofKind) {
|
||||
if (typeof oneofKind === "object") {
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1215
|
||||
// Function ID: 1216
|
||||
// Module ID: 1213
|
||||
// Function ID: 1214
|
||||
// Dependencies: [32]
|
||||
// Exports: listEnumNames, listEnumNumbers
|
||||
|
||||
// Module 1215
|
||||
// Module 1213
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
function isEnumObject(obj) {
|
||||
73
source/__polyfill/01xxx/module_1242.js
Normal file
73
source/__polyfill/01xxx/module_1242.js
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
// Module ID: 1242
|
||||
// Function ID: 1243
|
||||
// Dependencies: [19, 1243, 561]
|
||||
// Exports: createWithEqualityFn, useStoreWithEqualityFn
|
||||
|
||||
// Module 1242
|
||||
import is from "is" /* 1243 */;
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
function identity(arg0) {
|
||||
return arg0;
|
||||
}
|
||||
function createWithEqualityFnImpl(arg0, arg1) {
|
||||
_require = arg1;
|
||||
store = require("module_561").createStore(arg0);
|
||||
function useBoundStoreWithEqualityFn(arg0) {
|
||||
let tmp = arg1;
|
||||
if (arg1 === undefined) {
|
||||
tmp = closure_0;
|
||||
}
|
||||
let tmp2 = arg0;
|
||||
if (arg0 === undefined) {
|
||||
tmp2 = identity;
|
||||
}
|
||||
const syncExternalStoreWithSelector = is.useSyncExternalStoreWithSelector(store.subscribe, store.getState, store.getInitialState, tmp2, tmp);
|
||||
const debugValue = noop.useDebugValue(syncExternalStoreWithSelector);
|
||||
return syncExternalStoreWithSelector;
|
||||
}
|
||||
const merged = Object.assign(useBoundStoreWithEqualityFn, store);
|
||||
return useBoundStoreWithEqualityFn;
|
||||
}
|
||||
|
||||
export const createWithEqualityFn = (arg0, arg1) => {
|
||||
if (arg0) {
|
||||
if (typeof tmp === "function") {
|
||||
_require = arg1;
|
||||
store = require("module_561").createStore(arg0);
|
||||
function useBoundStoreWithEqualityFn(arg0) {
|
||||
let tmp = arg1;
|
||||
if (arg1 === undefined) {
|
||||
tmp = closure_0;
|
||||
}
|
||||
let tmp2 = arg0;
|
||||
if (arg0 === undefined) {
|
||||
tmp2 = identity;
|
||||
}
|
||||
const syncExternalStoreWithSelector = is.useSyncExternalStoreWithSelector(store.subscribe, store.getState, store.getInitialState, tmp2, tmp);
|
||||
const debugValue = noop.useDebugValue(syncExternalStoreWithSelector);
|
||||
return syncExternalStoreWithSelector;
|
||||
}
|
||||
const _Object = Object;
|
||||
const merged = Object.assign(useBoundStoreWithEqualityFn, store);
|
||||
let tmp2 = useBoundStoreWithEqualityFn;
|
||||
const obj = require("module_561");
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else {
|
||||
tmp2 = tmp;
|
||||
}
|
||||
return tmp2;
|
||||
};
|
||||
export const useStoreWithEqualityFn = function useStoreWithEqualityFn(context, arg1, shallow) {
|
||||
let tmp = arg1;
|
||||
if (arg1 === undefined) {
|
||||
tmp = identity;
|
||||
}
|
||||
const syncExternalStoreWithSelector = is.useSyncExternalStoreWithSelector(context.subscribe, context.getState, context.getInitialState, tmp, shallow);
|
||||
const debugValue = noop.useDebugValue(syncExternalStoreWithSelector);
|
||||
return syncExternalStoreWithSelector;
|
||||
};
|
||||
|
|
@ -1,73 +1,128 @@
|
|||
// Module ID: 1244
|
||||
// Function ID: 1245
|
||||
// Dependencies: [19, 1245, 561]
|
||||
// Exports: createWithEqualityFn, useStoreWithEqualityFn
|
||||
// Dependencies: [19, 1245]
|
||||
// Exports: useSyncExternalStoreWithSelector
|
||||
|
||||
// Module 1244
|
||||
import is from "is" /* 1245 */;
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
function identity(arg0) {
|
||||
return arg0;
|
||||
}
|
||||
function createWithEqualityFnImpl(arg0, arg1) {
|
||||
_require = arg1;
|
||||
store = require("module_561").createStore(arg0);
|
||||
function useBoundStoreWithEqualityFn(arg0) {
|
||||
let tmp = arg1;
|
||||
if (arg1 === undefined) {
|
||||
tmp = closure_0;
|
||||
}
|
||||
let tmp2 = arg0;
|
||||
if (arg0 === undefined) {
|
||||
tmp2 = identity;
|
||||
}
|
||||
const syncExternalStoreWithSelector = is.useSyncExternalStoreWithSelector(store.subscribe, store.getState, store.getInitialState, tmp2, tmp);
|
||||
const debugValue = noop.useDebugValue(syncExternalStoreWithSelector);
|
||||
return syncExternalStoreWithSelector;
|
||||
}
|
||||
const merged = Object.assign(useBoundStoreWithEqualityFn, store);
|
||||
return useBoundStoreWithEqualityFn;
|
||||
}
|
||||
|
||||
export const createWithEqualityFn = (arg0, arg1) => {
|
||||
if (arg0) {
|
||||
if (typeof tmp === "function") {
|
||||
_require = arg1;
|
||||
store = require("module_561").createStore(arg0);
|
||||
function useBoundStoreWithEqualityFn(arg0) {
|
||||
let tmp = arg1;
|
||||
if (arg1 === undefined) {
|
||||
tmp = closure_0;
|
||||
}
|
||||
let tmp2 = arg0;
|
||||
if (arg0 === undefined) {
|
||||
tmp2 = identity;
|
||||
}
|
||||
const syncExternalStoreWithSelector = is.useSyncExternalStoreWithSelector(store.subscribe, store.getState, store.getInitialState, tmp2, tmp);
|
||||
const debugValue = noop.useDebugValue(syncExternalStoreWithSelector);
|
||||
return syncExternalStoreWithSelector;
|
||||
if (typeof Object.is === "function") {
|
||||
const _Object = Object;
|
||||
} else {
|
||||
is = function is(arg0, arg1) {
|
||||
let tmp = arg0 === arg1;
|
||||
if (tmp) {
|
||||
let tmp2 = 0 !== arg0;
|
||||
if (!tmp2) {
|
||||
tmp2 = 1 / arg0 === 1 / arg1;
|
||||
}
|
||||
const _Object = Object;
|
||||
const merged = Object.assign(useBoundStoreWithEqualityFn, store);
|
||||
let tmp2 = useBoundStoreWithEqualityFn;
|
||||
const obj = require("module_561");
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
tmp = tmp2;
|
||||
}
|
||||
if (!tmp) {
|
||||
tmp = arg0 != arg0 && arg1 != arg1;
|
||||
const tmp3 = arg0 != arg0 && arg1 != arg1;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
}
|
||||
({ useRef: c3, useEffect: closure_4, useMemo: hasOwnProperty, useDebugValue: metroRequire } = noop);
|
||||
|
||||
export const useSyncExternalStoreWithSelector = (subscribe, arg1, arg2, arg3, arg4) => {
|
||||
_require = arg1;
|
||||
dependencyMap = arg2;
|
||||
closure_2 = arg3;
|
||||
closure_3 = arg4;
|
||||
let tmp = closure_3(null);
|
||||
if (null === tmp.current) {
|
||||
const obj = { hasValue: false, value: null };
|
||||
let current = obj;
|
||||
tmp.current = obj;
|
||||
} else {
|
||||
tmp2 = tmp;
|
||||
current = tmp.current;
|
||||
}
|
||||
return tmp2;
|
||||
};
|
||||
export const useStoreWithEqualityFn = function useStoreWithEqualityFn(context, arg1, shallow) {
|
||||
let tmp = arg1;
|
||||
if (arg1 === undefined) {
|
||||
tmp = identity;
|
||||
}
|
||||
const syncExternalStoreWithSelector = is.useSyncExternalStoreWithSelector(context.subscribe, context.getState, context.getInitialState, tmp, shallow);
|
||||
const debugValue = noop.useDebugValue(syncExternalStoreWithSelector);
|
||||
return syncExternalStoreWithSelector;
|
||||
let items = [arg1, arg2, arg3, arg4];
|
||||
const tmp2 = syncExternalStore(() => {
|
||||
c2 = false;
|
||||
let tmp = null;
|
||||
if (undefined !== closure_1) {
|
||||
tmp = closure_1;
|
||||
}
|
||||
closure_3 = tmp;
|
||||
const items = [
|
||||
() => {
|
||||
const tmp = closure_0();
|
||||
if (c2) {
|
||||
let tmp3 = value;
|
||||
if (!is(closure_0, tmp)) {
|
||||
let tmp9 = _true(tmp);
|
||||
if (undefined === closure_3) {
|
||||
closure_0 = tmp;
|
||||
value = tmp9;
|
||||
}
|
||||
closure_0 = tmp;
|
||||
tmp9 = tmp5;
|
||||
}
|
||||
} else {
|
||||
c2 = true;
|
||||
closure_0 = tmp;
|
||||
tmp3 = _true(tmp);
|
||||
if (undefined !== closure_3) {
|
||||
if (current.hasValue) {
|
||||
value = current.value;
|
||||
if (tmp4(value, tmp3)) {
|
||||
tmp3 = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = tmp3;
|
||||
}
|
||||
return tmp3;
|
||||
},
|
||||
|
||||
];
|
||||
let fn;
|
||||
if (null !== tmp) {
|
||||
fn = () => {
|
||||
const tmp = closure_3();
|
||||
if (c2) {
|
||||
let tmp3 = value;
|
||||
if (!is(closure_0, tmp)) {
|
||||
let tmp10 = _true(tmp);
|
||||
if (undefined === closure_3) {
|
||||
closure_0 = tmp;
|
||||
value = tmp10;
|
||||
}
|
||||
closure_0 = tmp;
|
||||
tmp10 = tmp6;
|
||||
}
|
||||
} else {
|
||||
c2 = true;
|
||||
closure_0 = tmp;
|
||||
tmp3 = _true(tmp);
|
||||
if (undefined !== closure_3) {
|
||||
if (current.hasValue) {
|
||||
value = current.value;
|
||||
if (closure_3(value, tmp3)) {
|
||||
tmp3 = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = tmp3;
|
||||
}
|
||||
return tmp3;
|
||||
};
|
||||
}
|
||||
items[1] = fn;
|
||||
return items;
|
||||
}, items);
|
||||
syncExternalStore = require("module_1245").useSyncExternalStore(subscribe, tmp2[0], tmp2[1]);
|
||||
const items1 = [syncExternalStore];
|
||||
current(() => {
|
||||
current.hasValue = true;
|
||||
current.value = syncExternalStore;
|
||||
}, items1);
|
||||
closure_6(syncExternalStore);
|
||||
return syncExternalStore;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
// Module ID: 1245
|
||||
// Function ID: 1246
|
||||
// Name: is
|
||||
// Dependencies: [1246]
|
||||
|
||||
// Module 1245 (is)
|
||||
// Module 1245
|
||||
import _mod1246 from "module_1246" /* 1246 */;
|
||||
|
||||
|
||||
|
|
@ -1,13 +1,17 @@
|
|||
// Module ID: 1246
|
||||
// Function ID: 1247
|
||||
// Dependencies: [19, 1247]
|
||||
// Exports: useSyncExternalStoreWithSelector
|
||||
// Dependencies: [19]
|
||||
|
||||
// Module 1246
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
function checkIfSnapshotChanged(arg0) {
|
||||
try {
|
||||
return !is(tmp2, tmp());
|
||||
} catch (err) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (typeof Object.is === "function") {
|
||||
const _Object = Object;
|
||||
} else {
|
||||
|
|
@ -27,102 +31,37 @@ if (typeof Object.is === "function") {
|
|||
return tmp;
|
||||
};
|
||||
}
|
||||
({ useRef: c3, useEffect: closure_4, useMemo: hasOwnProperty, useDebugValue: metroRequire } = noop);
|
||||
({ useState: closure_1, useEffect: c2, useLayoutEffect: c3, useDebugValue: closure_4 } = noop);
|
||||
|
||||
export const useSyncExternalStoreWithSelector = (subscribe, arg1, arg2, arg3, arg4) => {
|
||||
_require = arg1;
|
||||
dependencyMap = arg2;
|
||||
closure_2 = arg3;
|
||||
closure_3 = arg4;
|
||||
let tmp = closure_3(null);
|
||||
if (null === tmp.current) {
|
||||
const obj = { hasValue: false, value: null };
|
||||
let current = obj;
|
||||
tmp.current = obj;
|
||||
} else {
|
||||
current = tmp.current;
|
||||
}
|
||||
let items = [arg1, arg2, arg3, arg4];
|
||||
const tmp2 = syncExternalStore(() => {
|
||||
c2 = false;
|
||||
let tmp = null;
|
||||
if (undefined !== closure_1) {
|
||||
tmp = closure_1;
|
||||
export const useSyncExternalStore = undefined !== noop.useSyncExternalStore ? noop.useSyncExternalStore : (function useSyncExternalStore$1(arg0, getSnapshot) {
|
||||
closure_0 = arg0;
|
||||
const tmp = getSnapshot();
|
||||
value = tmp;
|
||||
const tmp2 = getSnapshot({ inst: { value: tmp, getSnapshot } });
|
||||
const inst = tmp2[0].inst;
|
||||
closure_4 = tmp2[1];
|
||||
const items = [arg0, tmp, getSnapshot];
|
||||
inst(() => {
|
||||
inst.value = value;
|
||||
inst.getSnapshot = getSnapshot;
|
||||
if (checkIfSnapshotChanged(inst)) {
|
||||
const obj = { inst };
|
||||
closure_4(obj);
|
||||
}
|
||||
closure_3 = tmp;
|
||||
const items = [
|
||||
() => {
|
||||
const tmp = closure_0();
|
||||
if (c2) {
|
||||
let tmp3 = value;
|
||||
if (!is(closure_0, tmp)) {
|
||||
let tmp9 = _true(tmp);
|
||||
if (undefined === closure_3) {
|
||||
closure_0 = tmp;
|
||||
value = tmp9;
|
||||
}
|
||||
closure_0 = tmp;
|
||||
tmp9 = tmp5;
|
||||
}
|
||||
} else {
|
||||
c2 = true;
|
||||
closure_0 = tmp;
|
||||
tmp3 = _true(tmp);
|
||||
if (undefined !== closure_3) {
|
||||
if (current.hasValue) {
|
||||
value = current.value;
|
||||
if (tmp4(value, tmp3)) {
|
||||
tmp3 = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = tmp3;
|
||||
}
|
||||
return tmp3;
|
||||
},
|
||||
|
||||
];
|
||||
let fn;
|
||||
if (null !== tmp) {
|
||||
fn = () => {
|
||||
const tmp = closure_3();
|
||||
if (c2) {
|
||||
let tmp3 = value;
|
||||
if (!is(closure_0, tmp)) {
|
||||
let tmp10 = _true(tmp);
|
||||
if (undefined === closure_3) {
|
||||
closure_0 = tmp;
|
||||
value = tmp10;
|
||||
}
|
||||
closure_0 = tmp;
|
||||
tmp10 = tmp6;
|
||||
}
|
||||
} else {
|
||||
c2 = true;
|
||||
closure_0 = tmp;
|
||||
tmp3 = _true(tmp);
|
||||
if (undefined !== closure_3) {
|
||||
if (current.hasValue) {
|
||||
value = current.value;
|
||||
if (closure_3(value, tmp3)) {
|
||||
tmp3 = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = tmp3;
|
||||
}
|
||||
return tmp3;
|
||||
};
|
||||
}
|
||||
items[1] = fn;
|
||||
return items;
|
||||
}, items);
|
||||
syncExternalStore = require("module_1247").useSyncExternalStore(subscribe, tmp2[0], tmp2[1]);
|
||||
const items1 = [syncExternalStore];
|
||||
current(() => {
|
||||
current.hasValue = true;
|
||||
current.value = syncExternalStore;
|
||||
const items1 = [arg0];
|
||||
value(() => {
|
||||
if (checkIfSnapshotChanged(inst)) {
|
||||
let obj = { inst };
|
||||
closure_4(obj);
|
||||
}
|
||||
return closure_0(() => {
|
||||
if (checkIfSnapshotChanged(inst)) {
|
||||
const obj = { inst };
|
||||
closure_1_4(obj);
|
||||
}
|
||||
});
|
||||
}, items1);
|
||||
closure_6(syncExternalStore);
|
||||
return syncExternalStore;
|
||||
};
|
||||
closure_4(tmp);
|
||||
return tmp;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
// Module ID: 1247
|
||||
// Function ID: 1248
|
||||
// Dependencies: [1248]
|
||||
|
||||
// Module 1247
|
||||
import _mod1248 from "module_1248" /* 1248 */;
|
||||
|
||||
|
||||
export default _mod1248;
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
// Module ID: 1248
|
||||
// Function ID: 1249
|
||||
// Dependencies: [19]
|
||||
|
||||
// Module 1248
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
function checkIfSnapshotChanged(arg0) {
|
||||
try {
|
||||
return !is(tmp2, tmp());
|
||||
} catch (err) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (typeof Object.is === "function") {
|
||||
const _Object = Object;
|
||||
} else {
|
||||
is = function is(arg0, arg1) {
|
||||
let tmp = arg0 === arg1;
|
||||
if (tmp) {
|
||||
let tmp2 = 0 !== arg0;
|
||||
if (!tmp2) {
|
||||
tmp2 = 1 / arg0 === 1 / arg1;
|
||||
}
|
||||
tmp = tmp2;
|
||||
}
|
||||
if (!tmp) {
|
||||
tmp = arg0 != arg0 && arg1 != arg1;
|
||||
const tmp3 = arg0 != arg0 && arg1 != arg1;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
}
|
||||
({ useState: closure_1, useEffect: c2, useLayoutEffect: c3, useDebugValue: closure_4 } = noop);
|
||||
|
||||
export const useSyncExternalStore = undefined !== noop.useSyncExternalStore ? noop.useSyncExternalStore : (function useSyncExternalStore$1(arg0, getSnapshot) {
|
||||
closure_0 = arg0;
|
||||
const tmp = getSnapshot();
|
||||
value = tmp;
|
||||
const tmp2 = getSnapshot({ inst: { value: tmp, getSnapshot } });
|
||||
const inst = tmp2[0].inst;
|
||||
closure_4 = tmp2[1];
|
||||
const items = [arg0, tmp, getSnapshot];
|
||||
inst(() => {
|
||||
inst.value = value;
|
||||
inst.getSnapshot = getSnapshot;
|
||||
if (checkIfSnapshotChanged(inst)) {
|
||||
const obj = { inst };
|
||||
closure_4(obj);
|
||||
}
|
||||
}, items);
|
||||
const items1 = [arg0];
|
||||
value(() => {
|
||||
if (checkIfSnapshotChanged(inst)) {
|
||||
let obj = { inst };
|
||||
closure_4(obj);
|
||||
}
|
||||
return closure_0(() => {
|
||||
if (checkIfSnapshotChanged(inst)) {
|
||||
const obj = { inst };
|
||||
closure_1_4(obj);
|
||||
}
|
||||
});
|
||||
}, items1);
|
||||
closure_4(tmp);
|
||||
return tmp;
|
||||
});
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
// Module ID: 1257
|
||||
// Function ID: 1258
|
||||
// Dependencies: [1258, 1259]
|
||||
// Module ID: 1255
|
||||
// Function ID: 1256
|
||||
// Dependencies: [1256, 1257]
|
||||
// Exports: default
|
||||
|
||||
// Module 1257
|
||||
import uint8ArrayDefault from "uint8Array" /* 1258 */;
|
||||
import unsafeStringify from "unsafeStringify" /* 1259 */;
|
||||
// Module 1255
|
||||
import uint8ArrayDefault from "uint8Array" /* 1256 */;
|
||||
import unsafeStringify from "unsafeStringify" /* 1257 */;
|
||||
|
||||
require = arg1;
|
||||
importDefault = arg2;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
// Module ID: 1261
|
||||
// Function ID: 1262
|
||||
// Module ID: 1259
|
||||
// Function ID: 1260
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1261
|
||||
// Module 1259
|
||||
|
||||
export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// Module ID: 1264
|
||||
// Function ID: 1265
|
||||
// Dependencies: [1260]
|
||||
// Module ID: 1262
|
||||
// Function ID: 1263
|
||||
// Dependencies: [1258]
|
||||
// Exports: default
|
||||
|
||||
// Module 1264
|
||||
import validateDefault from "validate" /* 1260 */;
|
||||
// Module 1262
|
||||
import validateDefault from "validate" /* 1258 */;
|
||||
|
||||
importDefault = arg2;
|
||||
const dependencyMap = arg6;
|
||||
183
source/__polyfill/01xxx/module_1263.js
Normal file
183
source/__polyfill/01xxx/module_1263.js
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
// Module ID: 1263
|
||||
// Function ID: 1264
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 1263
|
||||
function md5cmn(arg0, arg1, arg2, items, arg4, arg5) {
|
||||
const sum = (65535 & arg1) + (65535 & arg0);
|
||||
const tmp2 = (arg1 >> 16) + (arg0 >> 16) + (sum >> 16) << 16 | 65535 & sum;
|
||||
const sum1 = (65535 & items) + (65535 & arg5);
|
||||
const tmp4 = (items >> 16) + (arg5 >> 16) + (sum1 >> 16) << 16 | 65535 & sum1;
|
||||
const sum2 = (65535 & tmp2) + (65535 & tmp4);
|
||||
const tmp6 = (tmp2 >> 16) + (tmp4 >> 16) + (sum2 >> 16) << 16 | 65535 & sum2;
|
||||
const sum3 = (65535 & tmp7) + (65535 & arg2);
|
||||
return ((tmp6 << arg4 | tmp6 >>> 32 - arg4) >> 16) + (arg2 >> 16) + (sum3 >> 16) << 16 | 65535 & sum3;
|
||||
}
|
||||
|
||||
export default function md5(str) {
|
||||
let length;
|
||||
let length2;
|
||||
let arr = str;
|
||||
if (typeof str === "string") {
|
||||
const _unescape = unescape;
|
||||
const _encodeURIComponent = encodeURIComponent;
|
||||
const unescapeResult = unescape(encodeURIComponent(str));
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(unescapeResult.length);
|
||||
let num = 0;
|
||||
arr = uint8Array;
|
||||
if (0 < unescapeResult.length) {
|
||||
do {
|
||||
uint8Array[num] = unescapeResult.charCodeAt(num);
|
||||
num = num + 1;
|
||||
arr = uint8Array;
|
||||
length = unescapeResult.length;
|
||||
} while (num < length);
|
||||
}
|
||||
}
|
||||
if (0 === arr.length) {
|
||||
let items = [];
|
||||
} else {
|
||||
const result = 8 * arr.length;
|
||||
const _Uint32Array = Uint32Array;
|
||||
const uint32Array = new Uint32Array(14 + (result + 64 >>> 9 << 4) + 1);
|
||||
let num2 = 0;
|
||||
items = uint32Array;
|
||||
if (0 < result) {
|
||||
do {
|
||||
let tmp = num2 >> 5;
|
||||
uint32Array[tmp] = uint32Array[tmp] | (255 & arr[num2 / 8]) << num2 % 32;
|
||||
num2 = num2 + 8;
|
||||
items = uint32Array;
|
||||
} while (num2 < result);
|
||||
}
|
||||
}
|
||||
const result1 = 8 * arr.length;
|
||||
items[result1 >> 5] = items[result1 >> 5] | 128 << result1 % 32;
|
||||
items[14 + (result1 + 64 >>> 9 << 4) + 1 - 1] = result1;
|
||||
let num3 = 271733878;
|
||||
let num4 = -1732584194;
|
||||
let num5 = -271733879;
|
||||
let num6 = 1732584193;
|
||||
let num7 = 0;
|
||||
let num8 = 271733878;
|
||||
let num9 = -1732584194;
|
||||
let num10 = -271733879;
|
||||
let num11 = 1732584193;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let tmp7 = md5cmn(num5 & num4 | ~num5 & num3, num6, num5, items[num7], 7, -680876936);
|
||||
let sum = num7 + 1;
|
||||
let tmp11 = md5cmn(tmp7 & num5 | ~tmp7 & num4, num3, tmp7, items[sum], 12, -389564586);
|
||||
let sum1 = num7 + 2;
|
||||
let tmp15 = md5cmn(tmp11 & tmp7 | ~tmp11 & num5, num4, tmp11, items[sum1], 17, 606105819);
|
||||
let sum2 = num7 + 3;
|
||||
let tmp19 = md5cmn(tmp15 & tmp11 | ~tmp15 & tmp7, num5, tmp15, items[sum2], 22, -1044525330);
|
||||
let sum3 = num7 + 4;
|
||||
let tmp23 = md5cmn(tmp19 & tmp15 | ~tmp19 & tmp11, tmp7, tmp19, items[sum3], 7, -176418897);
|
||||
let sum4 = num7 + 5;
|
||||
let tmp27 = md5cmn(tmp23 & tmp19 | ~tmp23 & tmp15, tmp11, tmp23, items[sum4], 12, 1200080426);
|
||||
let sum5 = num7 + 6;
|
||||
let tmp31 = md5cmn(tmp27 & tmp23 | ~tmp27 & tmp19, tmp15, tmp27, items[sum5], 17, -1473231341);
|
||||
let sum6 = num7 + 7;
|
||||
let tmp35 = md5cmn(tmp31 & tmp27 | ~tmp31 & tmp23, tmp19, tmp31, items[sum6], 22, -45705983);
|
||||
let sum7 = num7 + 8;
|
||||
let tmp39 = md5cmn(tmp35 & tmp31 | ~tmp35 & tmp27, tmp23, tmp35, items[sum7], 7, 1770035416);
|
||||
let sum8 = num7 + 9;
|
||||
let tmp43 = md5cmn(tmp39 & tmp35 | ~tmp39 & tmp31, tmp27, tmp39, items[sum8], 12, -1958414417);
|
||||
let sum9 = num7 + 10;
|
||||
let tmp47 = md5cmn(tmp43 & tmp39 | ~tmp43 & tmp35, tmp31, tmp43, items[sum9], 17, -42063);
|
||||
let sum10 = num7 + 11;
|
||||
let tmp51 = md5cmn(tmp47 & tmp43 | ~tmp47 & tmp39, tmp35, tmp47, items[sum10], 22, -1990404162);
|
||||
let sum11 = num7 + 12;
|
||||
let tmp55 = md5cmn(tmp51 & tmp47 | ~tmp51 & tmp43, tmp39, tmp51, items[sum11], 7, 1804603682);
|
||||
let sum12 = num7 + 13;
|
||||
let tmp59 = md5cmn(tmp55 & tmp51 | ~tmp55 & tmp47, tmp43, tmp55, items[sum12], 12, -40341101);
|
||||
let sum13 = num7 + 14;
|
||||
let tmp61 = ~tmp59;
|
||||
let tmp64 = md5cmn(tmp59 & tmp55 | tmp61 & tmp51, tmp47, tmp59, items[sum13], 17, -1502002290);
|
||||
let sum14 = num7 + 15;
|
||||
let tmp66 = ~tmp64;
|
||||
let tmp69 = md5cmn(tmp64 & tmp59 | tmp66 & tmp55, tmp51, tmp64, items[sum14], 22, 1236535329);
|
||||
let tmp72 = md5cmn(tmp69 & tmp59 | tmp64 & tmp61, tmp55, tmp69, items[sum], 5, -165796510);
|
||||
let tmp75 = md5cmn(tmp72 & tmp64 | tmp69 & tmp66, tmp59, tmp72, items[sum5], 9, -1069501632);
|
||||
let tmp78 = md5cmn(tmp75 & tmp69 | tmp72 & ~tmp69, tmp64, tmp75, items[sum10], 14, 643717713);
|
||||
let tmp81 = md5cmn(tmp78 & tmp72 | tmp75 & ~tmp72, tmp69, tmp78, items[num7], 20, -373897302);
|
||||
let tmp84 = md5cmn(tmp81 & tmp75 | tmp78 & ~tmp75, tmp72, tmp81, items[sum4], 5, -701558691);
|
||||
let tmp87 = md5cmn(tmp84 & tmp78 | tmp81 & ~tmp78, tmp75, tmp84, items[sum9], 9, 38016083);
|
||||
let tmp90 = md5cmn(tmp87 & tmp81 | tmp84 & ~tmp81, tmp78, tmp87, items[sum14], 14, -660478335);
|
||||
let tmp93 = md5cmn(tmp90 & tmp84 | tmp87 & ~tmp84, tmp81, tmp90, items[sum3], 20, -405537848);
|
||||
let tmp96 = md5cmn(tmp93 & tmp87 | tmp90 & ~tmp87, tmp84, tmp93, items[sum8], 5, 568446438);
|
||||
let tmp99 = md5cmn(tmp96 & tmp90 | tmp93 & ~tmp90, tmp87, tmp96, items[sum13], 9, -1019803690);
|
||||
let tmp102 = md5cmn(tmp99 & tmp93 | tmp96 & ~tmp93, tmp90, tmp99, items[sum2], 14, -187363961);
|
||||
let tmp105 = md5cmn(tmp102 & tmp96 | tmp99 & ~tmp96, tmp93, tmp102, items[sum7], 20, 1163531501);
|
||||
let tmp108 = md5cmn(tmp105 & tmp99 | tmp102 & ~tmp99, tmp96, tmp105, items[sum12], 5, -1444681467);
|
||||
let tmp111 = md5cmn(tmp108 & tmp102 | tmp105 & ~tmp102, tmp99, tmp108, items[sum1], 9, -51403784);
|
||||
let tmp114 = md5cmn(tmp111 & tmp105 | tmp108 & ~tmp105, tmp102, tmp111, items[sum6], 14, 1735328473);
|
||||
let tmp117 = md5cmn(tmp114 & tmp108 | tmp111 & ~tmp108, tmp105, tmp114, items[sum11], 20, -1926607734);
|
||||
let tmp120 = md5cmn(tmp117 ^ tmp114 ^ tmp111, tmp108, tmp117, items[sum4], 4, -378558);
|
||||
let tmp123 = md5cmn(tmp120 ^ tmp117 ^ tmp114, tmp111, tmp120, items[sum7], 11, -2022574463);
|
||||
let tmp126 = md5cmn(tmp123 ^ tmp120 ^ tmp117, tmp114, tmp123, items[sum10], 16, 1839030562);
|
||||
let tmp129 = md5cmn(tmp126 ^ tmp123 ^ tmp120, tmp117, tmp126, items[sum13], 23, -35309556);
|
||||
let tmp132 = md5cmn(tmp129 ^ tmp126 ^ tmp123, tmp120, tmp129, items[sum], 4, -1530992060);
|
||||
let tmp135 = md5cmn(tmp132 ^ tmp129 ^ tmp126, tmp123, tmp132, items[sum3], 11, 1272893353);
|
||||
let tmp138 = md5cmn(tmp135 ^ tmp132 ^ tmp129, tmp126, tmp135, items[sum6], 16, -155497632);
|
||||
let tmp141 = md5cmn(tmp138 ^ tmp135 ^ tmp132, tmp129, tmp138, items[sum9], 23, -1094730640);
|
||||
let tmp144 = md5cmn(tmp141 ^ tmp138 ^ tmp135, tmp132, tmp141, items[sum12], 4, 681279174);
|
||||
let tmp147 = md5cmn(tmp144 ^ tmp141 ^ tmp138, tmp135, tmp144, items[num7], 11, -358537222);
|
||||
let tmp150 = md5cmn(tmp147 ^ tmp144 ^ tmp141, tmp138, tmp147, items[sum2], 16, -722521979);
|
||||
let tmp153 = md5cmn(tmp150 ^ tmp147 ^ tmp144, tmp141, tmp150, items[sum5], 23, 76029189);
|
||||
let tmp156 = md5cmn(tmp153 ^ tmp150 ^ tmp147, tmp144, tmp153, items[sum8], 4, -640364487);
|
||||
let tmp159 = md5cmn(tmp156 ^ tmp153 ^ tmp150, tmp147, tmp156, items[sum11], 11, -421815835);
|
||||
let tmp162 = md5cmn(tmp159 ^ tmp156 ^ tmp153, tmp150, tmp159, items[sum14], 16, 530742520);
|
||||
let tmp165 = md5cmn(tmp162 ^ tmp159 ^ tmp156, tmp153, tmp162, items[sum1], 23, -995338651);
|
||||
let tmp168 = md5cmn(tmp162 ^ (tmp165 | ~tmp159), tmp156, tmp165, items[num7], 6, -198630844);
|
||||
let tmp171 = md5cmn(tmp165 ^ (tmp168 | ~tmp162), tmp159, tmp168, items[sum6], 10, 1126891415);
|
||||
let tmp174 = md5cmn(tmp168 ^ (tmp171 | ~tmp165), tmp162, tmp171, items[sum13], 15, -1416354905);
|
||||
let tmp177 = md5cmn(tmp171 ^ (tmp174 | ~tmp168), tmp165, tmp174, items[sum4], 21, -57434055);
|
||||
let tmp180 = md5cmn(tmp174 ^ (tmp177 | ~tmp171), tmp168, tmp177, items[sum11], 6, 1700485571);
|
||||
let tmp183 = md5cmn(tmp177 ^ (tmp180 | ~tmp174), tmp171, tmp180, items[sum2], 10, -1894986606);
|
||||
let tmp186 = md5cmn(tmp180 ^ (tmp183 | ~tmp177), tmp174, tmp183, items[sum9], 15, -1051523);
|
||||
let tmp189 = md5cmn(tmp183 ^ (tmp186 | ~tmp180), tmp177, tmp186, items[sum], 21, -2054922799);
|
||||
let tmp192 = md5cmn(tmp186 ^ (tmp189 | ~tmp183), tmp180, tmp189, items[sum7], 6, 1873313359);
|
||||
let tmp195 = md5cmn(tmp189 ^ (tmp192 | ~tmp186), tmp183, tmp192, items[sum14], 10, -30611744);
|
||||
let tmp198 = md5cmn(tmp192 ^ (tmp195 | ~tmp189), tmp186, tmp195, items[sum5], 15, -1560198380);
|
||||
let tmp201 = md5cmn(tmp195 ^ (tmp198 | ~tmp192), tmp189, tmp198, items[sum12], 21, 1309151649);
|
||||
let tmp204 = md5cmn(tmp198 ^ (tmp201 | ~tmp195), tmp192, tmp201, items[sum3], 6, -145523070);
|
||||
let tmp207 = md5cmn(tmp201 ^ (tmp204 | ~tmp198), tmp195, tmp204, items[sum10], 10, -1120210379);
|
||||
let tmp210 = md5cmn(tmp204 ^ (tmp207 | ~tmp201), tmp198, tmp207, items[sum1], 15, 718787259);
|
||||
let tmp213 = md5cmn(tmp207 ^ (tmp210 | ~tmp204), tmp201, tmp210, items[sum8], 21, -343485551);
|
||||
let sum15 = (65535 & tmp204) + (65535 & num6);
|
||||
num6 = (tmp204 >> 16) + (num6 >> 16) + (sum15 >> 16) << 16 | 65535 & sum15;
|
||||
let sum16 = (65535 & tmp213) + (65535 & num5);
|
||||
num5 = (tmp213 >> 16) + (num5 >> 16) + (sum16 >> 16) << 16 | 65535 & sum16;
|
||||
let sum17 = (65535 & tmp210) + (65535 & num4);
|
||||
num4 = (tmp210 >> 16) + (num4 >> 16) + (sum17 >> 16) << 16 | 65535 & sum17;
|
||||
let sum18 = (65535 & tmp207) + (65535 & num3);
|
||||
num3 = (tmp207 >> 16) + (num3 >> 16) + (sum18 >> 16) << 16 | 65535 & sum18;
|
||||
num7 = num7 + 16;
|
||||
num8 = num3;
|
||||
num9 = num4;
|
||||
num10 = num5;
|
||||
num11 = num6;
|
||||
length2 = items.length;
|
||||
} while (num7 < length2);
|
||||
}
|
||||
const items1 = [num11, num10, num9, num8];
|
||||
const items2 = [];
|
||||
const result2 = 32 * items1.length;
|
||||
let num141 = 0;
|
||||
if (0 < result2) {
|
||||
do {
|
||||
let tmp219 = items1[num141 >> 5] >>> num141 % 32 & 255;
|
||||
let _parseInt = parseInt;
|
||||
let charAt = "0123456789abcdef".charAt;
|
||||
let charAt2 = "0123456789abcdef".charAt;
|
||||
let charAtResult = "0123456789abcdef".charAt(tmp219 >>> 4 & 15);
|
||||
let arr2 = items2.push(parseInt(charAtResult + "0123456789abcdef".charAt(15 & tmp219), 16));
|
||||
num141 = num141 + 8;
|
||||
} while (num141 < result2);
|
||||
}
|
||||
return items2;
|
||||
};
|
||||
|
|
@ -1,183 +1,17 @@
|
|||
// Module ID: 1265
|
||||
// Function ID: 1266
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 1265
|
||||
function md5cmn(arg0, arg1, arg2, items, arg4, arg5) {
|
||||
const sum = (65535 & arg1) + (65535 & arg0);
|
||||
const tmp2 = (arg1 >> 16) + (arg0 >> 16) + (sum >> 16) << 16 | 65535 & sum;
|
||||
const sum1 = (65535 & items) + (65535 & arg5);
|
||||
const tmp4 = (items >> 16) + (arg5 >> 16) + (sum1 >> 16) << 16 | 65535 & sum1;
|
||||
const sum2 = (65535 & tmp2) + (65535 & tmp4);
|
||||
const tmp6 = (tmp2 >> 16) + (tmp4 >> 16) + (sum2 >> 16) << 16 | 65535 & sum2;
|
||||
const sum3 = (65535 & tmp7) + (65535 & arg2);
|
||||
return ((tmp6 << arg4 | tmp6 >>> 32 - arg4) >> 16) + (arg2 >> 16) + (sum3 >> 16) << 16 | 65535 & sum3;
|
||||
let randomUUID = typeof crypto !== "undefined";
|
||||
if (typeof crypto !== "undefined") {
|
||||
const _crypto3 = crypto;
|
||||
randomUUID = crypto.randomUUID;
|
||||
}
|
||||
if (randomUUID) {
|
||||
const _crypto = crypto;
|
||||
const _crypto2 = crypto;
|
||||
randomUUID = randomUUID2.bind(crypto);
|
||||
}
|
||||
|
||||
export default function md5(str) {
|
||||
let length;
|
||||
let length2;
|
||||
let arr = str;
|
||||
if (typeof str === "string") {
|
||||
const _unescape = unescape;
|
||||
const _encodeURIComponent = encodeURIComponent;
|
||||
const unescapeResult = unescape(encodeURIComponent(str));
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(unescapeResult.length);
|
||||
let num = 0;
|
||||
arr = uint8Array;
|
||||
if (0 < unescapeResult.length) {
|
||||
do {
|
||||
uint8Array[num] = unescapeResult.charCodeAt(num);
|
||||
num = num + 1;
|
||||
arr = uint8Array;
|
||||
length = unescapeResult.length;
|
||||
} while (num < length);
|
||||
}
|
||||
}
|
||||
if (0 === arr.length) {
|
||||
let items = [];
|
||||
} else {
|
||||
const result = 8 * arr.length;
|
||||
const _Uint32Array = Uint32Array;
|
||||
const uint32Array = new Uint32Array(14 + (result + 64 >>> 9 << 4) + 1);
|
||||
let num2 = 0;
|
||||
items = uint32Array;
|
||||
if (0 < result) {
|
||||
do {
|
||||
let tmp = num2 >> 5;
|
||||
uint32Array[tmp] = uint32Array[tmp] | (255 & arr[num2 / 8]) << num2 % 32;
|
||||
num2 = num2 + 8;
|
||||
items = uint32Array;
|
||||
} while (num2 < result);
|
||||
}
|
||||
}
|
||||
const result1 = 8 * arr.length;
|
||||
items[result1 >> 5] = items[result1 >> 5] | 128 << result1 % 32;
|
||||
items[14 + (result1 + 64 >>> 9 << 4) + 1 - 1] = result1;
|
||||
let num3 = 271733878;
|
||||
let num4 = -1732584194;
|
||||
let num5 = -271733879;
|
||||
let num6 = 1732584193;
|
||||
let num7 = 0;
|
||||
let num8 = 271733878;
|
||||
let num9 = -1732584194;
|
||||
let num10 = -271733879;
|
||||
let num11 = 1732584193;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let tmp7 = md5cmn(num5 & num4 | ~num5 & num3, num6, num5, items[num7], 7, -680876936);
|
||||
let sum = num7 + 1;
|
||||
let tmp11 = md5cmn(tmp7 & num5 | ~tmp7 & num4, num3, tmp7, items[sum], 12, -389564586);
|
||||
let sum1 = num7 + 2;
|
||||
let tmp15 = md5cmn(tmp11 & tmp7 | ~tmp11 & num5, num4, tmp11, items[sum1], 17, 606105819);
|
||||
let sum2 = num7 + 3;
|
||||
let tmp19 = md5cmn(tmp15 & tmp11 | ~tmp15 & tmp7, num5, tmp15, items[sum2], 22, -1044525330);
|
||||
let sum3 = num7 + 4;
|
||||
let tmp23 = md5cmn(tmp19 & tmp15 | ~tmp19 & tmp11, tmp7, tmp19, items[sum3], 7, -176418897);
|
||||
let sum4 = num7 + 5;
|
||||
let tmp27 = md5cmn(tmp23 & tmp19 | ~tmp23 & tmp15, tmp11, tmp23, items[sum4], 12, 1200080426);
|
||||
let sum5 = num7 + 6;
|
||||
let tmp31 = md5cmn(tmp27 & tmp23 | ~tmp27 & tmp19, tmp15, tmp27, items[sum5], 17, -1473231341);
|
||||
let sum6 = num7 + 7;
|
||||
let tmp35 = md5cmn(tmp31 & tmp27 | ~tmp31 & tmp23, tmp19, tmp31, items[sum6], 22, -45705983);
|
||||
let sum7 = num7 + 8;
|
||||
let tmp39 = md5cmn(tmp35 & tmp31 | ~tmp35 & tmp27, tmp23, tmp35, items[sum7], 7, 1770035416);
|
||||
let sum8 = num7 + 9;
|
||||
let tmp43 = md5cmn(tmp39 & tmp35 | ~tmp39 & tmp31, tmp27, tmp39, items[sum8], 12, -1958414417);
|
||||
let sum9 = num7 + 10;
|
||||
let tmp47 = md5cmn(tmp43 & tmp39 | ~tmp43 & tmp35, tmp31, tmp43, items[sum9], 17, -42063);
|
||||
let sum10 = num7 + 11;
|
||||
let tmp51 = md5cmn(tmp47 & tmp43 | ~tmp47 & tmp39, tmp35, tmp47, items[sum10], 22, -1990404162);
|
||||
let sum11 = num7 + 12;
|
||||
let tmp55 = md5cmn(tmp51 & tmp47 | ~tmp51 & tmp43, tmp39, tmp51, items[sum11], 7, 1804603682);
|
||||
let sum12 = num7 + 13;
|
||||
let tmp59 = md5cmn(tmp55 & tmp51 | ~tmp55 & tmp47, tmp43, tmp55, items[sum12], 12, -40341101);
|
||||
let sum13 = num7 + 14;
|
||||
let tmp61 = ~tmp59;
|
||||
let tmp64 = md5cmn(tmp59 & tmp55 | tmp61 & tmp51, tmp47, tmp59, items[sum13], 17, -1502002290);
|
||||
let sum14 = num7 + 15;
|
||||
let tmp66 = ~tmp64;
|
||||
let tmp69 = md5cmn(tmp64 & tmp59 | tmp66 & tmp55, tmp51, tmp64, items[sum14], 22, 1236535329);
|
||||
let tmp72 = md5cmn(tmp69 & tmp59 | tmp64 & tmp61, tmp55, tmp69, items[sum], 5, -165796510);
|
||||
let tmp75 = md5cmn(tmp72 & tmp64 | tmp69 & tmp66, tmp59, tmp72, items[sum5], 9, -1069501632);
|
||||
let tmp78 = md5cmn(tmp75 & tmp69 | tmp72 & ~tmp69, tmp64, tmp75, items[sum10], 14, 643717713);
|
||||
let tmp81 = md5cmn(tmp78 & tmp72 | tmp75 & ~tmp72, tmp69, tmp78, items[num7], 20, -373897302);
|
||||
let tmp84 = md5cmn(tmp81 & tmp75 | tmp78 & ~tmp75, tmp72, tmp81, items[sum4], 5, -701558691);
|
||||
let tmp87 = md5cmn(tmp84 & tmp78 | tmp81 & ~tmp78, tmp75, tmp84, items[sum9], 9, 38016083);
|
||||
let tmp90 = md5cmn(tmp87 & tmp81 | tmp84 & ~tmp81, tmp78, tmp87, items[sum14], 14, -660478335);
|
||||
let tmp93 = md5cmn(tmp90 & tmp84 | tmp87 & ~tmp84, tmp81, tmp90, items[sum3], 20, -405537848);
|
||||
let tmp96 = md5cmn(tmp93 & tmp87 | tmp90 & ~tmp87, tmp84, tmp93, items[sum8], 5, 568446438);
|
||||
let tmp99 = md5cmn(tmp96 & tmp90 | tmp93 & ~tmp90, tmp87, tmp96, items[sum13], 9, -1019803690);
|
||||
let tmp102 = md5cmn(tmp99 & tmp93 | tmp96 & ~tmp93, tmp90, tmp99, items[sum2], 14, -187363961);
|
||||
let tmp105 = md5cmn(tmp102 & tmp96 | tmp99 & ~tmp96, tmp93, tmp102, items[sum7], 20, 1163531501);
|
||||
let tmp108 = md5cmn(tmp105 & tmp99 | tmp102 & ~tmp99, tmp96, tmp105, items[sum12], 5, -1444681467);
|
||||
let tmp111 = md5cmn(tmp108 & tmp102 | tmp105 & ~tmp102, tmp99, tmp108, items[sum1], 9, -51403784);
|
||||
let tmp114 = md5cmn(tmp111 & tmp105 | tmp108 & ~tmp105, tmp102, tmp111, items[sum6], 14, 1735328473);
|
||||
let tmp117 = md5cmn(tmp114 & tmp108 | tmp111 & ~tmp108, tmp105, tmp114, items[sum11], 20, -1926607734);
|
||||
let tmp120 = md5cmn(tmp117 ^ tmp114 ^ tmp111, tmp108, tmp117, items[sum4], 4, -378558);
|
||||
let tmp123 = md5cmn(tmp120 ^ tmp117 ^ tmp114, tmp111, tmp120, items[sum7], 11, -2022574463);
|
||||
let tmp126 = md5cmn(tmp123 ^ tmp120 ^ tmp117, tmp114, tmp123, items[sum10], 16, 1839030562);
|
||||
let tmp129 = md5cmn(tmp126 ^ tmp123 ^ tmp120, tmp117, tmp126, items[sum13], 23, -35309556);
|
||||
let tmp132 = md5cmn(tmp129 ^ tmp126 ^ tmp123, tmp120, tmp129, items[sum], 4, -1530992060);
|
||||
let tmp135 = md5cmn(tmp132 ^ tmp129 ^ tmp126, tmp123, tmp132, items[sum3], 11, 1272893353);
|
||||
let tmp138 = md5cmn(tmp135 ^ tmp132 ^ tmp129, tmp126, tmp135, items[sum6], 16, -155497632);
|
||||
let tmp141 = md5cmn(tmp138 ^ tmp135 ^ tmp132, tmp129, tmp138, items[sum9], 23, -1094730640);
|
||||
let tmp144 = md5cmn(tmp141 ^ tmp138 ^ tmp135, tmp132, tmp141, items[sum12], 4, 681279174);
|
||||
let tmp147 = md5cmn(tmp144 ^ tmp141 ^ tmp138, tmp135, tmp144, items[num7], 11, -358537222);
|
||||
let tmp150 = md5cmn(tmp147 ^ tmp144 ^ tmp141, tmp138, tmp147, items[sum2], 16, -722521979);
|
||||
let tmp153 = md5cmn(tmp150 ^ tmp147 ^ tmp144, tmp141, tmp150, items[sum5], 23, 76029189);
|
||||
let tmp156 = md5cmn(tmp153 ^ tmp150 ^ tmp147, tmp144, tmp153, items[sum8], 4, -640364487);
|
||||
let tmp159 = md5cmn(tmp156 ^ tmp153 ^ tmp150, tmp147, tmp156, items[sum11], 11, -421815835);
|
||||
let tmp162 = md5cmn(tmp159 ^ tmp156 ^ tmp153, tmp150, tmp159, items[sum14], 16, 530742520);
|
||||
let tmp165 = md5cmn(tmp162 ^ tmp159 ^ tmp156, tmp153, tmp162, items[sum1], 23, -995338651);
|
||||
let tmp168 = md5cmn(tmp162 ^ (tmp165 | ~tmp159), tmp156, tmp165, items[num7], 6, -198630844);
|
||||
let tmp171 = md5cmn(tmp165 ^ (tmp168 | ~tmp162), tmp159, tmp168, items[sum6], 10, 1126891415);
|
||||
let tmp174 = md5cmn(tmp168 ^ (tmp171 | ~tmp165), tmp162, tmp171, items[sum13], 15, -1416354905);
|
||||
let tmp177 = md5cmn(tmp171 ^ (tmp174 | ~tmp168), tmp165, tmp174, items[sum4], 21, -57434055);
|
||||
let tmp180 = md5cmn(tmp174 ^ (tmp177 | ~tmp171), tmp168, tmp177, items[sum11], 6, 1700485571);
|
||||
let tmp183 = md5cmn(tmp177 ^ (tmp180 | ~tmp174), tmp171, tmp180, items[sum2], 10, -1894986606);
|
||||
let tmp186 = md5cmn(tmp180 ^ (tmp183 | ~tmp177), tmp174, tmp183, items[sum9], 15, -1051523);
|
||||
let tmp189 = md5cmn(tmp183 ^ (tmp186 | ~tmp180), tmp177, tmp186, items[sum], 21, -2054922799);
|
||||
let tmp192 = md5cmn(tmp186 ^ (tmp189 | ~tmp183), tmp180, tmp189, items[sum7], 6, 1873313359);
|
||||
let tmp195 = md5cmn(tmp189 ^ (tmp192 | ~tmp186), tmp183, tmp192, items[sum14], 10, -30611744);
|
||||
let tmp198 = md5cmn(tmp192 ^ (tmp195 | ~tmp189), tmp186, tmp195, items[sum5], 15, -1560198380);
|
||||
let tmp201 = md5cmn(tmp195 ^ (tmp198 | ~tmp192), tmp189, tmp198, items[sum12], 21, 1309151649);
|
||||
let tmp204 = md5cmn(tmp198 ^ (tmp201 | ~tmp195), tmp192, tmp201, items[sum3], 6, -145523070);
|
||||
let tmp207 = md5cmn(tmp201 ^ (tmp204 | ~tmp198), tmp195, tmp204, items[sum10], 10, -1120210379);
|
||||
let tmp210 = md5cmn(tmp204 ^ (tmp207 | ~tmp201), tmp198, tmp207, items[sum1], 15, 718787259);
|
||||
let tmp213 = md5cmn(tmp207 ^ (tmp210 | ~tmp204), tmp201, tmp210, items[sum8], 21, -343485551);
|
||||
let sum15 = (65535 & tmp204) + (65535 & num6);
|
||||
num6 = (tmp204 >> 16) + (num6 >> 16) + (sum15 >> 16) << 16 | 65535 & sum15;
|
||||
let sum16 = (65535 & tmp213) + (65535 & num5);
|
||||
num5 = (tmp213 >> 16) + (num5 >> 16) + (sum16 >> 16) << 16 | 65535 & sum16;
|
||||
let sum17 = (65535 & tmp210) + (65535 & num4);
|
||||
num4 = (tmp210 >> 16) + (num4 >> 16) + (sum17 >> 16) << 16 | 65535 & sum17;
|
||||
let sum18 = (65535 & tmp207) + (65535 & num3);
|
||||
num3 = (tmp207 >> 16) + (num3 >> 16) + (sum18 >> 16) << 16 | 65535 & sum18;
|
||||
num7 = num7 + 16;
|
||||
num8 = num3;
|
||||
num9 = num4;
|
||||
num10 = num5;
|
||||
num11 = num6;
|
||||
length2 = items.length;
|
||||
} while (num7 < length2);
|
||||
}
|
||||
const items1 = [num11, num10, num9, num8];
|
||||
const items2 = [];
|
||||
const result2 = 32 * items1.length;
|
||||
let num141 = 0;
|
||||
if (0 < result2) {
|
||||
do {
|
||||
let tmp219 = items1[num141 >> 5] >>> num141 % 32 & 255;
|
||||
let _parseInt = parseInt;
|
||||
let charAt = "0123456789abcdef".charAt;
|
||||
let charAt2 = "0123456789abcdef".charAt;
|
||||
let charAtResult = "0123456789abcdef".charAt(tmp219 >>> 4 & 15);
|
||||
let arr2 = items2.push(parseInt(charAtResult + "0123456789abcdef".charAt(15 & tmp219), 16));
|
||||
num141 = num141 + 8;
|
||||
} while (num141 < result2);
|
||||
}
|
||||
return items2;
|
||||
};
|
||||
export default { randomUUID };
|
||||
|
|
|
|||
|
|
@ -1,17 +1,114 @@
|
|||
// Module ID: 1267
|
||||
// Function ID: 1268
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 1267
|
||||
let randomUUID = typeof crypto !== "undefined";
|
||||
if (typeof crypto !== "undefined") {
|
||||
const _crypto3 = crypto;
|
||||
randomUUID = crypto.randomUUID;
|
||||
}
|
||||
if (randomUUID) {
|
||||
const _crypto = crypto;
|
||||
const _crypto2 = crypto;
|
||||
randomUUID = randomUUID2.bind(crypto);
|
||||
}
|
||||
|
||||
export default { randomUUID };
|
||||
export default function sha1(str) {
|
||||
let length;
|
||||
if (typeof str === "string") {
|
||||
const _unescape = unescape;
|
||||
const _encodeURIComponent = encodeURIComponent;
|
||||
const unescapeResult = unescape(encodeURIComponent(str));
|
||||
const items = [];
|
||||
let num = 0;
|
||||
let arr = items;
|
||||
if (0 < unescapeResult.length) {
|
||||
do {
|
||||
let arr2 = items.push(unescapeResult.charCodeAt(num));
|
||||
num = num + 1;
|
||||
arr = items;
|
||||
length = unescapeResult.length;
|
||||
} while (num < length);
|
||||
}
|
||||
} else {
|
||||
const _Array2 = Array;
|
||||
arr = str;
|
||||
if (!Array.isArray(str)) {
|
||||
const _Array = Array;
|
||||
const call = slice.call;
|
||||
arr = typeof call === "unknown" ? slice() : call(str);
|
||||
}
|
||||
}
|
||||
arr.push(128);
|
||||
const rounded = Math.ceil((arr.length / 4 + 2) / 16);
|
||||
const array = new Array(rounded);
|
||||
let num3 = 0;
|
||||
if (0 < rounded) {
|
||||
const _Uint32Array = Uint32Array;
|
||||
const uint32Array = new Uint32Array(16);
|
||||
let num5 = 0;
|
||||
do {
|
||||
do {
|
||||
let sum = tmp10 + 4 * num5;
|
||||
uint32Array[num5] = arr[sum] << 24 | arr[sum + 1] << 16 | arr[sum + 2] << 8 | arr[sum + 3];
|
||||
num5 = num5 + 1;
|
||||
} while (num5 < 16);
|
||||
array[num3] = uint32Array;
|
||||
num3 = num3 + 1;
|
||||
} while (num3 < rounded);
|
||||
}
|
||||
const items1 = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
||||
const diff = arr.length - 1;
|
||||
array[rounded - 1][14] = 8 * diff / Math.pow(2, 32);
|
||||
array[rounded - 1][14] = Math.floor(array[rounded - 1][14]);
|
||||
array[rounded - 1][15] = 8 * (arr.length - 1) & 4294967295;
|
||||
let num6 = 0;
|
||||
if (0 < rounded) {
|
||||
const _Uint32Array2 = Uint32Array;
|
||||
const uint32Array1 = new Uint32Array(80);
|
||||
let num8 = 0;
|
||||
do {
|
||||
do {
|
||||
uint32Array1[num8] = array[num6][num8];
|
||||
num8 = num8 + 1;
|
||||
let num9 = 16;
|
||||
} while (num8 < 16);
|
||||
do {
|
||||
let tmp19 = uint32Array1[num9 - 3] ^ uint32Array1[num9 - 8] ^ uint32Array1[num9 - 14] ^ uint32Array1[num9 - 16];
|
||||
uint32Array1[num9] = tmp19 << 1 | tmp19 >>> 31;
|
||||
num9 = num9 + 1;
|
||||
} while (num9 < 80);
|
||||
[tmp20, tmp21, tmp22, tmp23, tmp24] = items1;
|
||||
let num10 = 0;
|
||||
do {
|
||||
let _Math = Math;
|
||||
let rounded1 = Math.floor(num10 / 20);
|
||||
let tmp26 = tmp20 << 5;
|
||||
let tmp27 = tmp20 >>> 27;
|
||||
let tmp30 = tmp23;
|
||||
let tmp31 = tmp22;
|
||||
let tmp33 = tmp20;
|
||||
if (0 === rounded1) {
|
||||
let tmp34 = tmp21 & tmp22 ^ ~tmp21 & tmp23;
|
||||
} else {
|
||||
if (1 !== rounded1) {
|
||||
if (3 !== rounded1) {
|
||||
if (2 === rounded1) {
|
||||
tmp34 = tmp21 & tmp22 ^ tmp21 & tmp23 ^ tmp22 & tmp23;
|
||||
}
|
||||
}
|
||||
}
|
||||
tmp34 = tmp21 ^ tmp22 ^ tmp23;
|
||||
}
|
||||
let tmp35 = (tmp26 | tmp27) + tmp34 + tmp24 + [1518500249, 1859775393, 2400959708, 3395469782][rounded1] + uint32Array1[num10] >>> 0;
|
||||
let tmp36 = (tmp21 << 30 | tmp21 >>> 2) >>> 0;
|
||||
num10 = num10 + 1;
|
||||
tmp24 = tmp23;
|
||||
tmp23 = tmp22;
|
||||
tmp22 = tmp36;
|
||||
tmp21 = tmp20;
|
||||
tmp20 = tmp35;
|
||||
} while (num10 < 80);
|
||||
items1[0] = items1[0] + tmp35 >>> 0;
|
||||
items1[1] = items1[1] + tmp33 >>> 0;
|
||||
items1[2] = items1[2] + tmp36 >>> 0;
|
||||
items1[3] = items1[3] + tmp31 >>> 0;
|
||||
items1[4] = items1[4] + tmp30 >>> 0;
|
||||
num6 = num6 + 1;
|
||||
} while (num6 < rounded);
|
||||
}
|
||||
const items2 = [items1[0] >> 24 & 255, items1[0] >> 16 & 255, items1[0] >> 8 & 255, 255 & items1[0], items1[1] >> 24 & 255, items1[1] >> 16 & 255, items1[1] >> 8 & 255, 255 & items1[1], items1[2] >> 24 & 255, items1[2] >> 16 & 255, items1[2] >> 8 & 255, 255 & items1[2], items1[3] >> 24 & 255, items1[3] >> 16 & 255, items1[3] >> 8 & 255, 255 & items1[3], items1[4] >> 24 & 255, items1[4] >> 16 & 255, items1[4] >> 8 & 255, 255 & items1[4]];
|
||||
return items2;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Module ID: 1270
|
||||
// Function ID: 1271
|
||||
// Module ID: 1268
|
||||
// Function ID: 1269
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1270
|
||||
// Module 1268
|
||||
|
||||
export default "00000000-0000-0000-0000-000000000000";
|
||||
|
|
@ -1,114 +0,0 @@
|
|||
// Module ID: 1269
|
||||
// Function ID: 1270
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 1269
|
||||
|
||||
export default function sha1(str) {
|
||||
let length;
|
||||
if (typeof str === "string") {
|
||||
const _unescape = unescape;
|
||||
const _encodeURIComponent = encodeURIComponent;
|
||||
const unescapeResult = unescape(encodeURIComponent(str));
|
||||
const items = [];
|
||||
let num = 0;
|
||||
let arr = items;
|
||||
if (0 < unescapeResult.length) {
|
||||
do {
|
||||
let arr2 = items.push(unescapeResult.charCodeAt(num));
|
||||
num = num + 1;
|
||||
arr = items;
|
||||
length = unescapeResult.length;
|
||||
} while (num < length);
|
||||
}
|
||||
} else {
|
||||
const _Array2 = Array;
|
||||
arr = str;
|
||||
if (!Array.isArray(str)) {
|
||||
const _Array = Array;
|
||||
const call = slice.call;
|
||||
arr = typeof call === "unknown" ? slice() : call(str);
|
||||
}
|
||||
}
|
||||
arr.push(128);
|
||||
const rounded = Math.ceil((arr.length / 4 + 2) / 16);
|
||||
const array = new Array(rounded);
|
||||
let num3 = 0;
|
||||
if (0 < rounded) {
|
||||
const _Uint32Array = Uint32Array;
|
||||
const uint32Array = new Uint32Array(16);
|
||||
let num5 = 0;
|
||||
do {
|
||||
do {
|
||||
let sum = tmp10 + 4 * num5;
|
||||
uint32Array[num5] = arr[sum] << 24 | arr[sum + 1] << 16 | arr[sum + 2] << 8 | arr[sum + 3];
|
||||
num5 = num5 + 1;
|
||||
} while (num5 < 16);
|
||||
array[num3] = uint32Array;
|
||||
num3 = num3 + 1;
|
||||
} while (num3 < rounded);
|
||||
}
|
||||
const items1 = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
||||
const diff = arr.length - 1;
|
||||
array[rounded - 1][14] = 8 * diff / Math.pow(2, 32);
|
||||
array[rounded - 1][14] = Math.floor(array[rounded - 1][14]);
|
||||
array[rounded - 1][15] = 8 * (arr.length - 1) & 4294967295;
|
||||
let num6 = 0;
|
||||
if (0 < rounded) {
|
||||
const _Uint32Array2 = Uint32Array;
|
||||
const uint32Array1 = new Uint32Array(80);
|
||||
let num8 = 0;
|
||||
do {
|
||||
do {
|
||||
uint32Array1[num8] = array[num6][num8];
|
||||
num8 = num8 + 1;
|
||||
let num9 = 16;
|
||||
} while (num8 < 16);
|
||||
do {
|
||||
let tmp19 = uint32Array1[num9 - 3] ^ uint32Array1[num9 - 8] ^ uint32Array1[num9 - 14] ^ uint32Array1[num9 - 16];
|
||||
uint32Array1[num9] = tmp19 << 1 | tmp19 >>> 31;
|
||||
num9 = num9 + 1;
|
||||
} while (num9 < 80);
|
||||
[tmp20, tmp21, tmp22, tmp23, tmp24] = items1;
|
||||
let num10 = 0;
|
||||
do {
|
||||
let _Math = Math;
|
||||
let rounded1 = Math.floor(num10 / 20);
|
||||
let tmp26 = tmp20 << 5;
|
||||
let tmp27 = tmp20 >>> 27;
|
||||
let tmp30 = tmp23;
|
||||
let tmp31 = tmp22;
|
||||
let tmp33 = tmp20;
|
||||
if (0 === rounded1) {
|
||||
let tmp34 = tmp21 & tmp22 ^ ~tmp21 & tmp23;
|
||||
} else {
|
||||
if (1 !== rounded1) {
|
||||
if (3 !== rounded1) {
|
||||
if (2 === rounded1) {
|
||||
tmp34 = tmp21 & tmp22 ^ tmp21 & tmp23 ^ tmp22 & tmp23;
|
||||
}
|
||||
}
|
||||
}
|
||||
tmp34 = tmp21 ^ tmp22 ^ tmp23;
|
||||
}
|
||||
let tmp35 = (tmp26 | tmp27) + tmp34 + tmp24 + [1518500249, 1859775393, 2400959708, 3395469782][rounded1] + uint32Array1[num10] >>> 0;
|
||||
let tmp36 = (tmp21 << 30 | tmp21 >>> 2) >>> 0;
|
||||
num10 = num10 + 1;
|
||||
tmp24 = tmp23;
|
||||
tmp23 = tmp22;
|
||||
tmp22 = tmp36;
|
||||
tmp21 = tmp20;
|
||||
tmp20 = tmp35;
|
||||
} while (num10 < 80);
|
||||
items1[0] = items1[0] + tmp35 >>> 0;
|
||||
items1[1] = items1[1] + tmp33 >>> 0;
|
||||
items1[2] = items1[2] + tmp36 >>> 0;
|
||||
items1[3] = items1[3] + tmp31 >>> 0;
|
||||
items1[4] = items1[4] + tmp30 >>> 0;
|
||||
num6 = num6 + 1;
|
||||
} while (num6 < rounded);
|
||||
}
|
||||
const items2 = [items1[0] >> 24 & 255, items1[0] >> 16 & 255, items1[0] >> 8 & 255, 255 & items1[0], items1[1] >> 24 & 255, items1[1] >> 16 & 255, items1[1] >> 8 & 255, 255 & items1[1], items1[2] >> 24 & 255, items1[2] >> 16 & 255, items1[2] >> 8 & 255, 255 & items1[2], items1[3] >> 24 & 255, items1[3] >> 16 & 255, items1[3] >> 8 & 255, 255 & items1[3], items1[4] >> 24 & 255, items1[4] >> 16 & 255, items1[4] >> 8 & 255, 255 & items1[4]];
|
||||
return items2;
|
||||
};
|
||||
273
source/__polyfill/01xxx/module_1272.js
Normal file
273
source/__polyfill/01xxx/module_1272.js
Normal file
|
|
@ -0,0 +1,273 @@
|
|||
// Module ID: 1272
|
||||
// Function ID: 1273
|
||||
// Dependencies: []
|
||||
// Exports: cleanHeader, isObject, mixin, params, parseLinks, type
|
||||
|
||||
// Module 1272
|
||||
const exports = arg5;
|
||||
function _createForOfIteratorHelper(iterable, arg1) {
|
||||
let length = iterable;
|
||||
let prop = typeof Symbol !== "undefined";
|
||||
if (typeof Symbol !== "undefined") {
|
||||
const _Symbol = Symbol;
|
||||
prop = iterable[Symbol.iterator];
|
||||
}
|
||||
if (!prop) {
|
||||
prop = iterable[Symbol.iterator];
|
||||
}
|
||||
closure_1 = prop;
|
||||
if (prop) {
|
||||
let done = true;
|
||||
c5 = false;
|
||||
const obj2 = {
|
||||
s() {
|
||||
const call = closure_1.call;
|
||||
closure_1 = typeof call === "unknown" ? closure_1() : call(closure_0);
|
||||
},
|
||||
n() {
|
||||
const iter = closure_1.next();
|
||||
done = iter.done;
|
||||
return iter;
|
||||
},
|
||||
e(arg0) {
|
||||
c5 = true;
|
||||
closure_3 = arg0;
|
||||
},
|
||||
f() {
|
||||
try {
|
||||
let tmp = done;
|
||||
if (!done) {
|
||||
tmp = null == closure_1.return;
|
||||
}
|
||||
if (!tmp) {
|
||||
closure_1.return();
|
||||
}
|
||||
if (c5) {
|
||||
throw closure_3;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
if (c5) {
|
||||
throw closure_3;
|
||||
} else {
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
return obj2;
|
||||
} else {
|
||||
const _Array = Array;
|
||||
if (!Array.isArray(iterable)) {
|
||||
let arr;
|
||||
if (iterable) {
|
||||
if (typeof iterable === "string") {
|
||||
const _Array4 = Array;
|
||||
const array = new Array(length2);
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
let num5 = 0;
|
||||
arr = array;
|
||||
if (0 < iterable.length) {
|
||||
do {
|
||||
array[num5] = iterable[num5];
|
||||
num5 = num5 + 1;
|
||||
arr = array;
|
||||
} while (num5 < length2);
|
||||
}
|
||||
} else {
|
||||
const _Object = Object;
|
||||
let call = toString.call;
|
||||
typeof call === "unknown" ? toString() : call(iterable);
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
let name = tmp4;
|
||||
if (tmp5) {
|
||||
name = iterable.constructor.name;
|
||||
}
|
||||
if ("Map" !== name) {
|
||||
if ("Set" !== name) {
|
||||
if ("Arguments" === name) {
|
||||
length = iterable.length;
|
||||
const _Array2 = Array;
|
||||
const array2 = new Array(length);
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
let num3 = 0;
|
||||
arr = array2;
|
||||
if (0 < length) {
|
||||
do {
|
||||
array2[num3] = iterable[num3];
|
||||
num3 = num3 + 1;
|
||||
arr = array2;
|
||||
} while (num3 < length);
|
||||
}
|
||||
} else {
|
||||
let obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/;
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Array3 = Array;
|
||||
arr = Array.from(iterable);
|
||||
tmp5 = "Object" === tmp4 && iterable.constructor;
|
||||
}
|
||||
}
|
||||
closure_1 = arr;
|
||||
if (!arr) {
|
||||
const _TypeError = TypeError;
|
||||
const typeError = new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (closure_1) {
|
||||
length = closure_1;
|
||||
}
|
||||
closure_2 = 0;
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
const obj3 = {
|
||||
s: F,
|
||||
n() {
|
||||
if (closure_2 >= length.length) {
|
||||
let obj = { done: true };
|
||||
} else {
|
||||
obj = { done: false, value: null };
|
||||
closure_2 = tmp3 + 1;
|
||||
obj.value = tmp[+closure_2];
|
||||
}
|
||||
return obj;
|
||||
},
|
||||
e(arg0) {
|
||||
throw arg0;
|
||||
},
|
||||
f: F
|
||||
};
|
||||
return obj3;
|
||||
}
|
||||
}
|
||||
|
||||
export const type = (str) => {
|
||||
const parts = str.split(/ *; */);
|
||||
return parts.shift();
|
||||
};
|
||||
export const params = (str) => {
|
||||
let iter3;
|
||||
const obj2 = _createForOfIteratorHelper(str.split(/ *; */));
|
||||
try {
|
||||
const obj3 = {};
|
||||
try {
|
||||
obj2.s();
|
||||
const iter = obj2.n();
|
||||
let iter2 = iter;
|
||||
if (!iter.done) {
|
||||
do {
|
||||
str = iter2.value;
|
||||
let parts = str.split(/ *= */);
|
||||
let arr = parts.shift();
|
||||
let tmp4 = arr;
|
||||
let arr3 = parts.shift();
|
||||
if (arr) {
|
||||
arr = arr3;
|
||||
}
|
||||
if (arr) {
|
||||
obj3[tmp4] = arr3;
|
||||
}
|
||||
iter3 = obj2.n();
|
||||
iter2 = iter3;
|
||||
} while (!iter3.done);
|
||||
}
|
||||
obj2.f();
|
||||
return obj3;
|
||||
} catch (tmp8) {
|
||||
obj.e(tmp8);
|
||||
}
|
||||
} catch (tmp11) {
|
||||
obj.f();
|
||||
throw tmp11;
|
||||
}
|
||||
};
|
||||
export const parseLinks = (str) => {
|
||||
let done;
|
||||
const obj2 = _createForOfIteratorHelper(str.split(/ *, */));
|
||||
try {
|
||||
const obj3 = {};
|
||||
try {
|
||||
obj2.s();
|
||||
const iter = obj2.n();
|
||||
let iter2 = iter;
|
||||
if (!iter.done) {
|
||||
do {
|
||||
str = iter2.value;
|
||||
let parts = str.split(/ *; */);
|
||||
let first = parts[0];
|
||||
let str2 = parts[1];
|
||||
let substr = first.slice(1, -1);
|
||||
let arr2 = str2.split(/ *= */)[1];
|
||||
obj3[arr2.slice(1, -1)] = substr;
|
||||
let iter3 = obj2.n();
|
||||
iter2 = iter3;
|
||||
done = iter3.done;
|
||||
} while (!done);
|
||||
}
|
||||
obj2.f();
|
||||
return obj3;
|
||||
} catch (tmp5) {
|
||||
obj.e(tmp5);
|
||||
}
|
||||
} catch (tmp8) {
|
||||
obj.f();
|
||||
throw tmp8;
|
||||
}
|
||||
};
|
||||
export const cleanHeader = (arg0, arg1) => {
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
if (arg1) {
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
export (obj) => null !== obj && typeof obj === "object"
|
||||
export const hasOwn = Object.hasOwn || ((arg0, key10009) => {
|
||||
if (null == arg0) {
|
||||
const _TypeError = TypeError;
|
||||
const typeError = new TypeError("Cannot convert undefined or null to object");
|
||||
throw typeError;
|
||||
} else {
|
||||
const _Object = Object;
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
const call = hasOwnProperty.call;
|
||||
const _Object2 = Object;
|
||||
const object = new Object(arg0);
|
||||
return typeof call === "unknown" ? hasOwnProperty(key10009) : call(object, key10009);
|
||||
}
|
||||
});
|
||||
export const mixin = (arg0, obj) => {
|
||||
for (const key10004 in arg1) {
|
||||
if (!exports.hasOwn(arg1, key10004)) {
|
||||
continue;
|
||||
} else {
|
||||
arg0[key10004] = arg1[key10004];
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
};
|
||||
11
source/__polyfill/01xxx/module_1273.js
Normal file
11
source/__polyfill/01xxx/module_1273.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// Module ID: 1273
|
||||
// Function ID: 1274
|
||||
// Dependencies: [1274, 1275, 1277]
|
||||
|
||||
// Module 1273
|
||||
import _mod1274 from "module_1274" /* 1274 */;
|
||||
import interpretNumericEntities from "interpretNumericEntities" /* 1275 */;
|
||||
import pushToArray from "pushToArray" /* 1277 */;
|
||||
|
||||
|
||||
export default { formats: _mod1274, parse: interpretNumericEntities, stringify: pushToArray };
|
||||
|
|
@ -1,273 +1,27 @@
|
|||
// Module ID: 1274
|
||||
// Function ID: 1275
|
||||
// Dependencies: []
|
||||
// Exports: cleanHeader, isObject, mixin, params, parseLinks, type
|
||||
|
||||
// Module 1274
|
||||
const exports = arg5;
|
||||
function _createForOfIteratorHelper(iterable, arg1) {
|
||||
let length = iterable;
|
||||
let prop = typeof Symbol !== "undefined";
|
||||
if (typeof Symbol !== "undefined") {
|
||||
const _Symbol = Symbol;
|
||||
prop = iterable[Symbol.iterator];
|
||||
}
|
||||
if (!prop) {
|
||||
prop = iterable[Symbol.iterator];
|
||||
}
|
||||
closure_1 = prop;
|
||||
if (prop) {
|
||||
let done = true;
|
||||
c5 = false;
|
||||
const obj2 = {
|
||||
s() {
|
||||
const call = closure_1.call;
|
||||
closure_1 = typeof call === "unknown" ? closure_1() : call(closure_0);
|
||||
},
|
||||
n() {
|
||||
const iter = closure_1.next();
|
||||
done = iter.done;
|
||||
return iter;
|
||||
},
|
||||
e(arg0) {
|
||||
c5 = true;
|
||||
closure_3 = arg0;
|
||||
},
|
||||
f() {
|
||||
try {
|
||||
let tmp = done;
|
||||
if (!done) {
|
||||
tmp = null == closure_1.return;
|
||||
}
|
||||
if (!tmp) {
|
||||
closure_1.return();
|
||||
}
|
||||
if (c5) {
|
||||
throw closure_3;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
if (c5) {
|
||||
throw closure_3;
|
||||
} else {
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
return obj2;
|
||||
} else {
|
||||
const _Array = Array;
|
||||
if (!Array.isArray(iterable)) {
|
||||
let arr;
|
||||
if (iterable) {
|
||||
if (typeof iterable === "string") {
|
||||
const _Array4 = Array;
|
||||
const array = new Array(length2);
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
let num5 = 0;
|
||||
arr = array;
|
||||
if (0 < iterable.length) {
|
||||
do {
|
||||
array[num5] = iterable[num5];
|
||||
num5 = num5 + 1;
|
||||
arr = array;
|
||||
} while (num5 < length2);
|
||||
}
|
||||
} else {
|
||||
const _Object = Object;
|
||||
let call = toString.call;
|
||||
typeof call === "unknown" ? toString() : call(iterable);
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
let name = tmp4;
|
||||
if (tmp5) {
|
||||
name = iterable.constructor.name;
|
||||
}
|
||||
if ("Map" !== name) {
|
||||
if ("Set" !== name) {
|
||||
if ("Arguments" === name) {
|
||||
length = iterable.length;
|
||||
const _Array2 = Array;
|
||||
const array2 = new Array(length);
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
let num3 = 0;
|
||||
arr = array2;
|
||||
if (0 < length) {
|
||||
do {
|
||||
array2[num3] = iterable[num3];
|
||||
num3 = num3 + 1;
|
||||
arr = array2;
|
||||
} while (num3 < length);
|
||||
}
|
||||
} else {
|
||||
let obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/;
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Array3 = Array;
|
||||
arr = Array.from(iterable);
|
||||
tmp5 = "Object" === tmp4 && iterable.constructor;
|
||||
}
|
||||
}
|
||||
closure_1 = arr;
|
||||
if (!arr) {
|
||||
const _TypeError = TypeError;
|
||||
const typeError = new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
const re1 = /%20/g;
|
||||
const obj = {
|
||||
default: "RFC3986",
|
||||
formatters: {
|
||||
RFC1738(arg0) {
|
||||
const call = replace.call;
|
||||
if (typeof call === "unknown") {
|
||||
let callResult = replace(tmp2, "+");
|
||||
} else {
|
||||
callResult = call(arg0, tmp2, "+");
|
||||
}
|
||||
return callResult;
|
||||
},
|
||||
RFC3986(arg0) {
|
||||
return String(arg0);
|
||||
}
|
||||
if (closure_1) {
|
||||
length = closure_1;
|
||||
}
|
||||
closure_2 = 0;
|
||||
class F {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
const obj3 = {
|
||||
s: F,
|
||||
n() {
|
||||
if (closure_2 >= length.length) {
|
||||
let obj = { done: true };
|
||||
} else {
|
||||
obj = { done: false, value: null };
|
||||
closure_2 = tmp3 + 1;
|
||||
obj.value = tmp[+closure_2];
|
||||
}
|
||||
return obj;
|
||||
},
|
||||
e(arg0) {
|
||||
throw arg0;
|
||||
},
|
||||
f: F
|
||||
};
|
||||
return obj3;
|
||||
}
|
||||
}
|
||||
},
|
||||
RFC1738: "RFC1738",
|
||||
RFC3986: "RFC3986"
|
||||
};
|
||||
|
||||
export const type = (str) => {
|
||||
const parts = str.split(/ *; */);
|
||||
return parts.shift();
|
||||
};
|
||||
export const params = (str) => {
|
||||
let iter3;
|
||||
const obj2 = _createForOfIteratorHelper(str.split(/ *; */));
|
||||
try {
|
||||
const obj3 = {};
|
||||
try {
|
||||
obj2.s();
|
||||
const iter = obj2.n();
|
||||
let iter2 = iter;
|
||||
if (!iter.done) {
|
||||
do {
|
||||
str = iter2.value;
|
||||
let parts = str.split(/ *= */);
|
||||
let arr = parts.shift();
|
||||
let tmp4 = arr;
|
||||
let arr3 = parts.shift();
|
||||
if (arr) {
|
||||
arr = arr3;
|
||||
}
|
||||
if (arr) {
|
||||
obj3[tmp4] = arr3;
|
||||
}
|
||||
iter3 = obj2.n();
|
||||
iter2 = iter3;
|
||||
} while (!iter3.done);
|
||||
}
|
||||
obj2.f();
|
||||
return obj3;
|
||||
} catch (tmp8) {
|
||||
obj.e(tmp8);
|
||||
}
|
||||
} catch (tmp11) {
|
||||
obj.f();
|
||||
throw tmp11;
|
||||
}
|
||||
};
|
||||
export const parseLinks = (str) => {
|
||||
let done;
|
||||
const obj2 = _createForOfIteratorHelper(str.split(/ *, */));
|
||||
try {
|
||||
const obj3 = {};
|
||||
try {
|
||||
obj2.s();
|
||||
const iter = obj2.n();
|
||||
let iter2 = iter;
|
||||
if (!iter.done) {
|
||||
do {
|
||||
str = iter2.value;
|
||||
let parts = str.split(/ *; */);
|
||||
let first = parts[0];
|
||||
let str2 = parts[1];
|
||||
let substr = first.slice(1, -1);
|
||||
let arr2 = str2.split(/ *= */)[1];
|
||||
obj3[arr2.slice(1, -1)] = substr;
|
||||
let iter3 = obj2.n();
|
||||
iter2 = iter3;
|
||||
done = iter3.done;
|
||||
} while (!done);
|
||||
}
|
||||
obj2.f();
|
||||
return obj3;
|
||||
} catch (tmp5) {
|
||||
obj.e(tmp5);
|
||||
}
|
||||
} catch (tmp8) {
|
||||
obj.f();
|
||||
throw tmp8;
|
||||
}
|
||||
};
|
||||
export const cleanHeader = (arg0, arg1) => {
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
if (arg1) {
|
||||
delete tmp[tmp2];
|
||||
delete tmp[tmp2];
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
export (obj) => null !== obj && typeof obj === "object"
|
||||
export const hasOwn = Object.hasOwn || ((arg0, key10009) => {
|
||||
if (null == arg0) {
|
||||
const _TypeError = TypeError;
|
||||
const typeError = new TypeError("Cannot convert undefined or null to object");
|
||||
throw typeError;
|
||||
} else {
|
||||
const _Object = Object;
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
const call = hasOwnProperty.call;
|
||||
const _Object2 = Object;
|
||||
const object = new Object(arg0);
|
||||
return typeof call === "unknown" ? hasOwnProperty(key10009) : call(object, key10009);
|
||||
}
|
||||
});
|
||||
export const mixin = (arg0, obj) => {
|
||||
for (const key10004 in arg1) {
|
||||
if (!exports.hasOwn(arg1, key10004)) {
|
||||
continue;
|
||||
} else {
|
||||
arg0[key10004] = arg1[key10004];
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
};
|
||||
export default obj;
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
// Module ID: 1275
|
||||
// Function ID: 1276
|
||||
// Dependencies: [1276, 1277, 1279]
|
||||
|
||||
// Module 1275
|
||||
import _mod1276 from "module_1276" /* 1276 */;
|
||||
import interpretNumericEntities from "interpretNumericEntities" /* 1277 */;
|
||||
import pushToArray from "pushToArray" /* 1279 */;
|
||||
|
||||
|
||||
export default { formats: _mod1276, parse: interpretNumericEntities, stringify: pushToArray };
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
// Module ID: 1276
|
||||
// Function ID: 1277
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1276
|
||||
const re1 = /%20/g;
|
||||
const obj = {
|
||||
default: "RFC3986",
|
||||
formatters: {
|
||||
RFC1738(arg0) {
|
||||
const call = replace.call;
|
||||
if (typeof call === "unknown") {
|
||||
let callResult = replace(tmp2, "+");
|
||||
} else {
|
||||
callResult = call(arg0, tmp2, "+");
|
||||
}
|
||||
return callResult;
|
||||
},
|
||||
RFC3986(arg0) {
|
||||
return String(arg0);
|
||||
}
|
||||
},
|
||||
RFC1738: "RFC1738",
|
||||
RFC3986: "RFC3986"
|
||||
};
|
||||
|
||||
export default obj;
|
||||
54
source/__polyfill/01xxx/module_1278.js
Normal file
54
source/__polyfill/01xxx/module_1278.js
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
// Module ID: 1278
|
||||
// Function ID: 1279
|
||||
// Dependencies: [1279, 1317, 1318, 1281, 1315]
|
||||
|
||||
// Module 1278
|
||||
import _mod1279 from "module_1279" /* 1279 */;
|
||||
import _mod1281 from "module_1281" /* 1281 */;
|
||||
import _mod1315 from "module_1315" /* 1315 */;
|
||||
import _mod1317 from "module_1317" /* 1317 */;
|
||||
import _mod1318 from "module_1318" /* 1318 */;
|
||||
|
||||
let closure_2 = _mod1279 || _mod1317 || _mod1318;
|
||||
|
||||
export default function getSideChannel() {
|
||||
let obj = {
|
||||
assert(arg0) {
|
||||
if (!obj.has(arg0)) {
|
||||
const tmp32 = new _mod1281("Side channel does not contain " + _mod1315(arg0));
|
||||
throw tmp32;
|
||||
}
|
||||
},
|
||||
delete(arg0) {
|
||||
let deleteResult = set;
|
||||
if (deleteResult) {
|
||||
deleteResult = set.delete(arg0);
|
||||
}
|
||||
return deleteResult;
|
||||
},
|
||||
get(arg0) {
|
||||
value = set;
|
||||
if (set) {
|
||||
value = set.get(arg0);
|
||||
}
|
||||
return value;
|
||||
},
|
||||
has(arg0) {
|
||||
let hasItem = set;
|
||||
if (hasItem) {
|
||||
hasItem = set.has(arg0);
|
||||
}
|
||||
return hasItem;
|
||||
},
|
||||
set(arg0, arg1) {
|
||||
obj = closure_0;
|
||||
if (!closure_0) {
|
||||
const tmp2 = closure_2();
|
||||
closure_0 = tmp2;
|
||||
obj = tmp2;
|
||||
}
|
||||
const result = obj.set(arg0, arg1);
|
||||
}
|
||||
};
|
||||
return obj;
|
||||
};
|
||||
104
source/__polyfill/01xxx/module_1279.js
Normal file
104
source/__polyfill/01xxx/module_1279.js
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
// Module ID: 1279
|
||||
// Function ID: 1280
|
||||
// Dependencies: [1280, 1314, 1281, 1315, 1317]
|
||||
|
||||
// Module 1279
|
||||
import _mod1280 from "module_1280" /* 1280 */;
|
||||
import _mod1281 from "module_1281" /* 1281 */;
|
||||
import callBoundIntrinsic from "callBoundIntrinsic" /* 1314 */;
|
||||
import _mod1315 from "module_1315" /* 1315 */;
|
||||
import _mod1317 from "module_1317" /* 1317 */;
|
||||
|
||||
const tmp = _mod1280("%WeakMap%", true);
|
||||
let closure_2 = tmp;
|
||||
let closure_3 = callBoundIntrinsic("WeakMap.prototype.get", true);
|
||||
let closure_4 = callBoundIntrinsic("WeakMap.prototype.set", true);
|
||||
let closure_5 = callBoundIntrinsic("WeakMap.prototype.has", true);
|
||||
let closure_6 = callBoundIntrinsic("WeakMap.prototype.delete", true);
|
||||
if (tmp) {
|
||||
function getSideChannelWeakMap() {
|
||||
let obj = {
|
||||
assert(arg0) {
|
||||
if (!obj.has(arg0)) {
|
||||
const tmp32 = new _mod1281("Side channel does not contain " + _mod1315(arg0));
|
||||
throw tmp32;
|
||||
}
|
||||
},
|
||||
delete(obj) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
if (closure_0) {
|
||||
return closure_6(tmp, obj);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (_mod1317) {
|
||||
if (closure_1) {
|
||||
return obj.delete(obj);
|
||||
}
|
||||
obj = closure_1;
|
||||
}
|
||||
},
|
||||
get(obj) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
if (typeof obj === "object") {
|
||||
if (closure_0) {
|
||||
value = closure_3(tmp, obj);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = set;
|
||||
if (set) {
|
||||
value = set.get(obj);
|
||||
}
|
||||
},
|
||||
has(obj) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
if (typeof obj === "object") {
|
||||
if (closure_0) {
|
||||
let hasItem = closure_5(tmp, obj);
|
||||
}
|
||||
return hasItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
hasItem = set;
|
||||
if (hasItem) {
|
||||
hasItem = set.has(obj);
|
||||
}
|
||||
},
|
||||
set(obj, arg1) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
let tmp6 = closure_0;
|
||||
if (!closure_0) {
|
||||
const tmp5 = new tmp();
|
||||
closure_0 = tmp5;
|
||||
tmp6 = tmp5;
|
||||
}
|
||||
closure_4(tmp6, obj, arg1);
|
||||
}
|
||||
}
|
||||
if (_mod1317) {
|
||||
obj = closure_1;
|
||||
if (!closure_1) {
|
||||
const tmp4 = _mod1317();
|
||||
closure_1 = tmp4;
|
||||
obj = tmp4;
|
||||
}
|
||||
const result = obj.set(obj, arg1);
|
||||
}
|
||||
}
|
||||
};
|
||||
return obj;
|
||||
}
|
||||
} else {
|
||||
getSideChannelWeakMap = _mod1317;
|
||||
}
|
||||
|
||||
export default getSideChannelWeakMap;
|
||||
|
|
@ -1,54 +1,617 @@
|
|||
// Module ID: 1280
|
||||
// Function ID: 1281
|
||||
// Dependencies: [1281, 1319, 1320, 1283, 1317]
|
||||
// Dependencies: [1281, 1282, 1284, 1286, 1298, 1299, 1289, 1300, 1301, 1302, 1303, 1296, 1297, 1304, 1288, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1287, 1294, 1313]
|
||||
|
||||
// Module 1280
|
||||
import _mod1281 from "module_1281" /* 1281 */;
|
||||
import _mod1283 from "module_1283" /* 1283 */;
|
||||
import _mod1317 from "module_1317" /* 1317 */;
|
||||
import _mod1319 from "module_1319" /* 1319 */;
|
||||
import _mod1320 from "module_1320" /* 1320 */;
|
||||
import _mod1282 from "module_1282" /* 1282 */;
|
||||
import _Symbol6 from "_Symbol" /* 1284 */;
|
||||
import _mod1286 from "module_1286" /* 1286 */;
|
||||
import _mod1287 from "module_1287" /* 1287 */;
|
||||
import _mod1288 from "module_1288" /* 1288 */;
|
||||
import _mod1289 from "module_1289" /* 1289 */;
|
||||
import _mod1298 from "module_1298" /* 1298 */;
|
||||
import _mod1299 from "module_1299" /* 1299 */;
|
||||
import _mod1300 from "module_1300" /* 1300 */;
|
||||
import _mod1301 from "module_1301" /* 1301 */;
|
||||
import _mod1302 from "module_1302" /* 1302 */;
|
||||
import _mod1303 from "module_1303" /* 1303 */;
|
||||
import flag4 from "flag" /* 1304 */;
|
||||
import _mod1305 from "module_1305" /* 1305 */;
|
||||
import _mod1306 from "module_1306" /* 1306 */;
|
||||
import _mod1307 from "module_1307" /* 1307 */;
|
||||
import _mod1308 from "module_1308" /* 1308 */;
|
||||
import _mod1309 from "module_1309" /* 1309 */;
|
||||
import _mod1310 from "module_1310" /* 1310 */;
|
||||
import sign from "sign" /* 1311 */;
|
||||
import bind_mod from "bind" /* 1294 */;
|
||||
import module_1296_mod from "module_1296" /* 1296 */;
|
||||
import module_1297 from "module_1297" /* 1297 */;
|
||||
|
||||
let closure_2 = _mod1281 || _mod1319 || _mod1320;
|
||||
|
||||
export default function getSideChannel() {
|
||||
let obj = {
|
||||
assert(arg0) {
|
||||
if (!obj.has(arg0)) {
|
||||
const tmp32 = new _mod1283("Side channel does not contain " + _mod1317(arg0));
|
||||
throw tmp32;
|
||||
function getEvalledConstructor(arg0) {
|
||||
try {
|
||||
const _HermesInternal = HermesInternal;
|
||||
return Function("\"use strict\"; return (" + arg0 + ").constructor;")();
|
||||
} catch (err) {
|
||||
}
|
||||
}
|
||||
function throwTypeError() {
|
||||
throw new _mod1281();
|
||||
}
|
||||
if (_mod1282) {
|
||||
throwTypeError = (() => {
|
||||
try {
|
||||
return throwTypeError;
|
||||
} catch (err) {
|
||||
try {
|
||||
return _mod1282(arguments, "callee").get;
|
||||
} catch (err) {
|
||||
return throwTypeError;
|
||||
}
|
||||
},
|
||||
delete(arg0) {
|
||||
let deleteResult = set;
|
||||
if (deleteResult) {
|
||||
deleteResult = set.delete(arg0);
|
||||
}
|
||||
return deleteResult;
|
||||
},
|
||||
get(arg0) {
|
||||
value = set;
|
||||
if (set) {
|
||||
value = set.get(arg0);
|
||||
}
|
||||
return value;
|
||||
},
|
||||
has(arg0) {
|
||||
let hasItem = set;
|
||||
if (hasItem) {
|
||||
hasItem = set.has(arg0);
|
||||
}
|
||||
return hasItem;
|
||||
},
|
||||
set(arg0, arg1) {
|
||||
obj = closure_0;
|
||||
if (!closure_0) {
|
||||
const tmp2 = closure_2();
|
||||
closure_0 = tmp2;
|
||||
obj = tmp2;
|
||||
}
|
||||
const result = obj.set(arg0, arg1);
|
||||
}
|
||||
};
|
||||
return obj;
|
||||
})();
|
||||
}
|
||||
const tmp5 = _Symbol6();
|
||||
const obj = {};
|
||||
let tmp6;
|
||||
if (typeof Uint8Array !== "undefined") {
|
||||
if (_mod1286) {
|
||||
const _Uint8Array = Uint8Array;
|
||||
tmp6 = _mod1286(Uint8Array);
|
||||
}
|
||||
}
|
||||
let AggregateError;
|
||||
if (typeof globalThis.AggregateError !== "undefined") {
|
||||
AggregateError = globalThis.AggregateError;
|
||||
}
|
||||
const merged = Object.assign({ "%AggregateError%": null, "%Array%": null, "%ArrayBuffer%": null, "%ArrayIteratorPrototype%": null, "%AsyncFromSyncIteratorPrototype%": "fill", "%AsyncFunction%": "\u043A\u0443\u043F\u043E\u043D", "%AsyncGenerator%": "\u043A\u0443\u043F\u043E\u043D\u0434\u0436\u0438\u0439\u0441\u043A\u043E \u043B\u0438\u0446\u0435", "%AsyncGeneratorFunction%": "\u043B\u0438\u0446\u0435", "%AsyncIteratorPrototype%": "\u043D\u0430\u0434\u0443\u0432\u0430\u043B\u043A\u0430", "%Atomics%": "\u043F\u0440\u0430\u0437\u043D\u0435\u043D\u0441\u0442\u0432\u043E", "%BigInt%": "\u0440\u0430\u0434\u043E\u0441\u0442\u0435\u043D", "%BigInt64Array%": "\u0440\u0430\u0437\u0432\u044A\u043B\u043D\u0443\u0432\u0430\u043D", "%BigUint64Array%": "\u0440\u043E\u0436\u0434\u0435\u043D \u0434\u0435\u043D", "%Boolean%": "\u0441\u0432\u0438\u0440\u043A\u0430", "%DataView%": "\u0443\u0440\u0430", "%Date%": "\u0448\u0430\u043F\u043A\u0430", "%decodeURI%": "flag_ar", "%decodeURIComponent%": 0.667, "%encodeURI%": 0.667, "%encodeURIComponent%": 0.667, "%Error%": "ArrayBuffer", "%eval%": "prototype", "%EvalError%": "Eis", "%Float16Array%": "Eisbecher", "%Float32Array%": "Eiscreme", "%Float64Array%": "Eisdiele", "%FinalizationRegistry%": "<string:4148539932>", "%Function%": "<string:167772617>", "%GeneratorFunction%": "<string:3321889326>", "%Int8Array%": "<string:2533360398>", "%Int16Array%": "<string:973079158>", "%Int32Array%": "<string:3321889107>", "%isFinite%": "<string:1174438912>", "%isNaN%": "adorar", "%IteratorPrototype%": "amor", "%JSON%": "cara sonriendo con corazones", "%Map%": "corazones", "%MapIteratorPrototype%": "enamorada", "%Math%": "enamorado", "%Number%": "<string:10354886>", "%Object%": "<string:22430278>", "%Object.getOwnPropertyDescriptor%": "<string:21051392>", "%parseFloat%": "<string:40413440>", "%parseInt%": "<string:46362112>", "%Promise%": "<string:39747584>", "%Proxy%": "<string:22226176>", "%RangeError%": "<string:4194354688>", "%ReferenceError%": "<string:1546535168>", "%Reflect%": "<string:3327197186>", "%RegExp%": "<string:134824192>", "%Set%": "<string:3327197185>", "%SetIteratorPrototype%": "<string:134824192>", "%SharedArrayBuffer%": "<string:3327262721>", "%String%": "<string:1107346944>", "%StringIteratorPrototype%": "actor", "%Symbol%": "entertainer", "%SyntaxError%": "<string:1099672913>", "%ThrowTypeError%": "rockstar", "%TypedArray%": "<string:1389807954>", "%TypeError%": "<string:12976133>", "%Uint8Array%": "<string:3326458194>", "%Uint8ClampedArray%": "<string:807424>", "%Uint16Array%": "<string:240255174>", "%Uint32Array%": "<string:1375782400>", "%URIError%": "<string:12995394>", "%WeakMap%": "<string:3327127122>", "%WeakRef%": "<string:1341215232>", "%WeakSet%": "<string:1750204614>", "%Function.prototype.call%": "<string:1090569735>", "%Function.prototype.apply%": "GeneratorFunction", "%Object.defineProperty%": "<string:1090569809>", "%Object.getPrototypeOf%": "GeneratorFunction", "%Math.abs%": "<string:3321939538>", "%Math.floor%": "<string:1595691520>", "%Math.max%": "<string:307364038>", "%Math.min%": "<string:1375782495>", "%Math.pow%": "<string:13000469>", "%Math.round%": "<string:2069872466>", "%Math.sign%": "<string:1606374024>", "%Reflect.getPrototypeOf%": "<string:2101471376>" });
|
||||
merged[0] = AggregateError;
|
||||
merged[1] = Array;
|
||||
let _ArrayBuffer;
|
||||
if (typeof ArrayBuffer !== "undefined") {
|
||||
_ArrayBuffer = ArrayBuffer;
|
||||
}
|
||||
merged[2] = _ArrayBuffer;
|
||||
let _moduleResult;
|
||||
if (tmp5) {
|
||||
if (_mod1286) {
|
||||
let items = [];
|
||||
const _Symbol = Symbol;
|
||||
const _module = _mod1286;
|
||||
_moduleResult = _module(items[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
merged[3] = _moduleResult;
|
||||
merged[5] = obj;
|
||||
merged[6] = obj;
|
||||
merged[7] = obj;
|
||||
merged[8] = obj;
|
||||
let _Atomics;
|
||||
if (typeof Atomics !== "undefined") {
|
||||
_Atomics = Atomics;
|
||||
}
|
||||
merged[9] = _Atomics;
|
||||
let _BigInt;
|
||||
if (typeof BigInt !== "undefined") {
|
||||
_BigInt = BigInt;
|
||||
}
|
||||
merged[10] = _BigInt;
|
||||
let _BigInt64Array;
|
||||
if (typeof BigInt64Array !== "undefined") {
|
||||
_BigInt64Array = BigInt64Array;
|
||||
}
|
||||
merged[11] = _BigInt64Array;
|
||||
let _BigUint64Array;
|
||||
if (typeof BigUint64Array !== "undefined") {
|
||||
_BigUint64Array = BigUint64Array;
|
||||
}
|
||||
merged[12] = _BigUint64Array;
|
||||
merged[13] = Boolean;
|
||||
let _DataView;
|
||||
if (typeof DataView !== "undefined") {
|
||||
_DataView = DataView;
|
||||
}
|
||||
merged[14] = _DataView;
|
||||
merged[15] = Date;
|
||||
merged[16] = decodeURI;
|
||||
merged[17] = decodeURIComponent;
|
||||
merged[18] = encodeURI;
|
||||
merged[19] = encodeURIComponent;
|
||||
merged[20] = _mod1298;
|
||||
merged[21] = globalThis.eval;
|
||||
merged[22] = _mod1299;
|
||||
let Float16Array;
|
||||
if (typeof globalThis.Float16Array !== "undefined") {
|
||||
Float16Array = globalThis.Float16Array;
|
||||
}
|
||||
merged[23] = Float16Array;
|
||||
let _Float32Array;
|
||||
if (typeof Float32Array !== "undefined") {
|
||||
_Float32Array = Float32Array;
|
||||
}
|
||||
merged[24] = _Float32Array;
|
||||
let _Float64Array;
|
||||
if (typeof Float64Array !== "undefined") {
|
||||
_Float64Array = Float64Array;
|
||||
}
|
||||
merged[25] = _Float64Array;
|
||||
let FinalizationRegistry;
|
||||
if (typeof globalThis.FinalizationRegistry !== "undefined") {
|
||||
FinalizationRegistry = globalThis.FinalizationRegistry;
|
||||
}
|
||||
merged[26] = FinalizationRegistry;
|
||||
merged[27] = Function;
|
||||
merged[28] = obj;
|
||||
let _Int8Array;
|
||||
if (typeof Int8Array !== "undefined") {
|
||||
_Int8Array = Int8Array;
|
||||
}
|
||||
merged[29] = _Int8Array;
|
||||
let _Int16Array;
|
||||
if (typeof Int16Array !== "undefined") {
|
||||
_Int16Array = Int16Array;
|
||||
}
|
||||
merged[30] = _Int16Array;
|
||||
let _Int32Array;
|
||||
if (typeof Int32Array !== "undefined") {
|
||||
_Int32Array = Int32Array;
|
||||
}
|
||||
merged[31] = _Int32Array;
|
||||
merged[32] = isFinite;
|
||||
merged[33] = isNaN;
|
||||
let _module1Result;
|
||||
if (tmp5) {
|
||||
if (_mod1286) {
|
||||
const _module1 = _mod1286;
|
||||
const items1 = [];
|
||||
const _Symbol2 = Symbol;
|
||||
const _module2 = _mod1286;
|
||||
_module1Result = _module1(_module2(items1[Symbol.iterator]()));
|
||||
}
|
||||
}
|
||||
merged[34] = _module1Result;
|
||||
let _JSON;
|
||||
if (typeof JSON === "object") {
|
||||
_JSON = JSON;
|
||||
}
|
||||
merged[35] = _JSON;
|
||||
let _Map1;
|
||||
if (typeof Map !== "undefined") {
|
||||
_Map1 = Map;
|
||||
}
|
||||
merged[36] = _Map1;
|
||||
let _module3Result;
|
||||
if (typeof Map !== "undefined") {
|
||||
if (tmp5) {
|
||||
if (_mod1286) {
|
||||
const _Map = Map;
|
||||
const _module3 = _mod1286;
|
||||
const map = new Map();
|
||||
const _Symbol3 = Symbol;
|
||||
_module3Result = _module3(map[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
}
|
||||
merged[37] = _module3Result;
|
||||
merged[38] = Math;
|
||||
merged[39] = Number;
|
||||
merged[40] = _mod1289;
|
||||
merged[41] = _mod1282;
|
||||
merged[42] = parseFloat;
|
||||
merged[43] = parseInt;
|
||||
let _Promise;
|
||||
if (typeof Promise !== "undefined") {
|
||||
_Promise = Promise;
|
||||
}
|
||||
merged[44] = _Promise;
|
||||
let _Proxy;
|
||||
if (typeof Proxy !== "undefined") {
|
||||
_Proxy = Proxy;
|
||||
}
|
||||
merged[45] = _Proxy;
|
||||
merged[46] = _mod1300;
|
||||
merged[47] = _mod1301;
|
||||
let _Reflect;
|
||||
if (typeof Reflect !== "undefined") {
|
||||
_Reflect = Reflect;
|
||||
}
|
||||
merged[48] = _Reflect;
|
||||
merged[49] = RegExp;
|
||||
let _Set1;
|
||||
if (typeof Set !== "undefined") {
|
||||
_Set1 = Set;
|
||||
}
|
||||
merged[50] = _Set1;
|
||||
let _module4Result;
|
||||
if (typeof Set !== "undefined") {
|
||||
if (tmp5) {
|
||||
if (_mod1286) {
|
||||
const _Set = Set;
|
||||
const _module4 = _mod1286;
|
||||
const set = new Set();
|
||||
const _Symbol4 = Symbol;
|
||||
_module4Result = _module4(set[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
}
|
||||
merged[51] = _module4Result;
|
||||
let _SharedArrayBuffer;
|
||||
if (typeof SharedArrayBuffer !== "undefined") {
|
||||
_SharedArrayBuffer = SharedArrayBuffer;
|
||||
}
|
||||
merged[52] = _SharedArrayBuffer;
|
||||
merged[53] = String;
|
||||
let _module5Result;
|
||||
if (tmp5) {
|
||||
if (_mod1286) {
|
||||
const _Symbol5 = Symbol;
|
||||
const _module5 = _mod1286;
|
||||
_module5Result = _module5(""[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
merged[54] = _module5Result;
|
||||
let _Symbol1;
|
||||
if (tmp5) {
|
||||
_Symbol1 = Symbol;
|
||||
}
|
||||
merged[55] = _Symbol1;
|
||||
merged[56] = _mod1302;
|
||||
merged[57] = throwTypeError;
|
||||
merged[58] = tmp6;
|
||||
merged[59] = _mod1281;
|
||||
let _Uint8Array1;
|
||||
if (typeof Uint8Array !== "undefined") {
|
||||
_Uint8Array1 = Uint8Array;
|
||||
}
|
||||
merged[60] = _Uint8Array1;
|
||||
let _Uint8ClampedArray;
|
||||
if (typeof Uint8ClampedArray !== "undefined") {
|
||||
_Uint8ClampedArray = Uint8ClampedArray;
|
||||
}
|
||||
merged[61] = _Uint8ClampedArray;
|
||||
let _Uint16Array;
|
||||
if (typeof Uint16Array !== "undefined") {
|
||||
_Uint16Array = Uint16Array;
|
||||
}
|
||||
merged[62] = _Uint16Array;
|
||||
let _Uint32Array;
|
||||
if (typeof Uint32Array !== "undefined") {
|
||||
_Uint32Array = Uint32Array;
|
||||
}
|
||||
merged[63] = _Uint32Array;
|
||||
merged[64] = _mod1303;
|
||||
let _WeakMap;
|
||||
if (typeof WeakMap !== "undefined") {
|
||||
_WeakMap = WeakMap;
|
||||
}
|
||||
merged[65] = _WeakMap;
|
||||
let _WeakRef;
|
||||
if (typeof WeakRef !== "undefined") {
|
||||
_WeakRef = WeakRef;
|
||||
}
|
||||
merged[66] = _WeakRef;
|
||||
let _WeakSet;
|
||||
if (typeof WeakSet !== "undefined") {
|
||||
_WeakSet = WeakSet;
|
||||
}
|
||||
merged[67] = _WeakSet;
|
||||
merged[68] = module_1296;
|
||||
merged[69] = module_1297;
|
||||
merged[70] = flag4;
|
||||
merged[71] = _mod1288;
|
||||
merged[72] = _mod1305;
|
||||
merged[73] = _mod1306;
|
||||
merged[74] = _mod1307;
|
||||
merged[75] = _mod1308;
|
||||
merged[76] = _mod1309;
|
||||
merged[77] = _mod1310;
|
||||
merged[78] = sign;
|
||||
merged[79] = _mod1287;
|
||||
if (_mod1286) {
|
||||
try {
|
||||
const error = null.error;
|
||||
} catch (tmp56) {
|
||||
tmp4["%Error.prototype%"] = tmp3(tmp2[3])(tmp3(tmp2[3])(tmp56));
|
||||
const tmp3Result = tmp3(tmp2[3]);
|
||||
}
|
||||
}
|
||||
function doEval(arg0) {
|
||||
if ("%AsyncFunction%" === arg0) {
|
||||
let prototype = getEvalledConstructor("async function () {}");
|
||||
} else if ("%GeneratorFunction%" === arg0) {
|
||||
prototype = getEvalledConstructor("function* () {}");
|
||||
} else if ("%AsyncGeneratorFunction%" === arg0) {
|
||||
prototype = getEvalledConstructor("async function* () {}");
|
||||
} else if ("%AsyncGenerator%" === arg0) {
|
||||
const tmp7 = doEval("%AsyncGeneratorFunction%");
|
||||
if (tmp7) {
|
||||
prototype = tmp7.prototype;
|
||||
}
|
||||
} else if ("%AsyncIteratorPrototype%" === arg0) {
|
||||
const tmp12 = doEval("%AsyncGenerator%");
|
||||
let tmp3 = tmp12;
|
||||
if (tmp12) {
|
||||
tmp3 = _mod1286;
|
||||
}
|
||||
if (tmp3) {
|
||||
prototype = _mod1286(tmp12.prototype);
|
||||
}
|
||||
}
|
||||
merged[arg0] = prototype;
|
||||
return prototype;
|
||||
}
|
||||
const merged1 = Object.assign({ "%ArrayBufferPrototype%": null, "%ArrayPrototype%": null, "%ArrayProto_entries%": null, "%ArrayProto_forEach%": null, "%ArrayProto_keys%": null, "%ArrayProto_values%": null, "%AsyncFunctionPrototype%": null, "%AsyncGenerator%": null, "%AsyncGeneratorPrototype%": null, "%BooleanPrototype%": null, "%DataViewPrototype%": null, "%DatePrototype%": null, "%ErrorPrototype%": null, "%EvalErrorPrototype%": null, "%Float32ArrayPrototype%": null, "%Float64ArrayPrototype%": null, "%FunctionPrototype%": null, "%Generator%": null, "%GeneratorPrototype%": null, "%Int8ArrayPrototype%": null, "%Int16ArrayPrototype%": null, "%Int32ArrayPrototype%": null, "%JSONParse%": null, "%JSONStringify%": null, "%MapPrototype%": null, "%NumberPrototype%": null, "%ObjectPrototype%": null, "%ObjProto_toString%": null, "%ObjProto_valueOf%": null, "%PromisePrototype%": null, "%PromiseProto_then%": null, "%Promise_all%": null, "%Promise_reject%": null, "%Promise_resolve%": null, "%RangeErrorPrototype%": null, "%ReferenceErrorPrototype%": null, "%RegExpPrototype%": null, "%SetPrototype%": null, "%SharedArrayBufferPrototype%": null, "%StringPrototype%": null, "%SymbolPrototype%": null, "%SyntaxErrorPrototype%": null, "%TypedArrayPrototype%": null, "%TypeErrorPrototype%": null, "%Uint8ArrayPrototype%": null, "%Uint8ClampedArrayPrototype%": null, "%Uint16ArrayPrototype%": null, "%Uint32ArrayPrototype%": null, "%URIErrorPrototype%": null, "%WeakMapPrototype%": null, "%WeakSetPrototype%": null });
|
||||
merged1[0] = ["ArrayBuffer", "prototype"];
|
||||
merged1[1] = ["Array", "prototype"];
|
||||
merged1[2] = ["Array", "prototype", "entries"];
|
||||
merged1[3] = ["Array", "prototype", "forEach"];
|
||||
merged1[4] = ["Array", "prototype", "keys"];
|
||||
merged1[5] = ["Array", "prototype", "values"];
|
||||
merged1[6] = ["AsyncFunction", "prototype"];
|
||||
merged1[7] = ["AsyncGeneratorFunction", "prototype"];
|
||||
merged1[8] = ["AsyncGeneratorFunction", "prototype", "prototype"];
|
||||
merged1[9] = ["Boolean", "prototype"];
|
||||
merged1[10] = ["DataView", "prototype"];
|
||||
merged1[11] = ["Date", "prototype"];
|
||||
merged1[12] = ["Error", "prototype"];
|
||||
merged1[13] = ["EvalError", "prototype"];
|
||||
merged1[14] = ["Float32Array", "prototype"];
|
||||
merged1[15] = ["Float64Array", "prototype"];
|
||||
merged1[16] = ["Function", "prototype"];
|
||||
merged1[17] = ["GeneratorFunction", "prototype"];
|
||||
merged1[18] = ["GeneratorFunction", "prototype", "prototype"];
|
||||
merged1[19] = ["Int8Array", "prototype"];
|
||||
merged1[20] = ["Int16Array", "prototype"];
|
||||
merged1[21] = ["Int32Array", "prototype"];
|
||||
merged1[22] = ["JSON", "parse"];
|
||||
merged1[23] = ["JSON", "stringify"];
|
||||
merged1[24] = ["Map", "prototype"];
|
||||
merged1[25] = ["Number", "prototype"];
|
||||
merged1[26] = ["Object", "prototype"];
|
||||
merged1[27] = ["Object", "prototype", "toString"];
|
||||
merged1[28] = ["Object", "prototype", "valueOf"];
|
||||
merged1[29] = ["Promise", "prototype"];
|
||||
merged1[30] = ["Promise", "prototype", "then"];
|
||||
merged1[31] = ["Promise", "all"];
|
||||
merged1[32] = ["Promise", "reject"];
|
||||
merged1[33] = ["Promise", "resolve"];
|
||||
merged1[34] = ["RangeError", "prototype"];
|
||||
merged1[35] = ["ReferenceError", "prototype"];
|
||||
merged1[36] = ["RegExp", "prototype"];
|
||||
merged1[37] = ["Set", "prototype"];
|
||||
merged1[38] = ["SharedArrayBuffer", "prototype"];
|
||||
merged1[39] = ["String", "prototype"];
|
||||
merged1[40] = ["Symbol", "prototype"];
|
||||
merged1[41] = ["SyntaxError", "prototype"];
|
||||
merged1[42] = ["TypedArray", "prototype"];
|
||||
merged1[43] = ["TypeError", "prototype"];
|
||||
merged1[44] = ["Uint8Array", "prototype"];
|
||||
merged1[45] = ["Uint8ClampedArray", "prototype"];
|
||||
merged1[46] = ["Uint16Array", "prototype"];
|
||||
merged1[47] = ["Uint32Array", "prototype"];
|
||||
merged1[48] = ["URIError", "prototype"];
|
||||
merged1[49] = ["WeakMap", "prototype"];
|
||||
merged1[50] = ["WeakSet", "prototype"];
|
||||
let bind = bind_mod;
|
||||
const call = bind.call;
|
||||
let module_1296 = module_1296_mod;
|
||||
let closure_9 = typeof call === "unknown" ? bind(concat) : call(module_1296, concat);
|
||||
let bind = bind_mod;
|
||||
const call2 = bind.call;
|
||||
let closure_10 = typeof call2 === "unknown" ? bind(splice) : call2(module_1297, splice);
|
||||
let bind = bind_mod;
|
||||
const call3 = bind.call;
|
||||
let module_1296 = module_1296_mod;
|
||||
let closure_11 = typeof call3 === "unknown" ? bind(replace) : call3(module_1296, replace);
|
||||
let bind = bind_mod;
|
||||
const call4 = bind.call;
|
||||
let module_1296 = module_1296_mod;
|
||||
let closure_12 = typeof call4 === "unknown" ? bind(slice) : call4(module_1296, slice);
|
||||
let bind = bind_mod;
|
||||
const call5 = bind.call;
|
||||
let module_1296 = module_1296_mod;
|
||||
let closure_13 = typeof call5 === "unknown" ? bind(exec) : call5(module_1296, exec);
|
||||
const re14 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
||||
const re15 = /\\(\\)?/g;
|
||||
function getBaseIntrinsic(arg0, arg1) {
|
||||
|
||||
}
|
||||
|
||||
export default function GetIntrinsic(str, flag) {
|
||||
let tmp46;
|
||||
let tmp47;
|
||||
if (typeof str === "string") {
|
||||
if (0 !== str.length) {
|
||||
if (arguments.length > 1) {
|
||||
if (typeof flag !== "boolean") {
|
||||
const tmp99 = new items(1281)("\"allowMissing\" argument must be a boolean");
|
||||
throw tmp99;
|
||||
}
|
||||
}
|
||||
if (null === closure_13(/^%?[^%]*%?$/, str)) {
|
||||
const tmp93 = new items(1302)("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
||||
throw tmp93;
|
||||
} else {
|
||||
const tmp104 = closure_12(str, 0, 1);
|
||||
const tmp105 = closure_12(str, -1);
|
||||
if ("%" === tmp104) {
|
||||
if ("%" !== tmp105) {
|
||||
const tmp87 = new items(1302)("invalid intrinsic syntax, expected closing `%`");
|
||||
throw tmp87;
|
||||
}
|
||||
}
|
||||
if ("%" === tmp105) {
|
||||
if ("%" !== tmp104) {
|
||||
const tmp81 = new items(1302)("invalid intrinsic syntax, expected opening `%`");
|
||||
throw tmp81;
|
||||
}
|
||||
}
|
||||
items = [];
|
||||
closure_11(str, closure_14, (arg0, arg1, arg2, arg3) => {
|
||||
if (arg2) {
|
||||
let tmp2 = closure_11(arg3, re15, "$1");
|
||||
} else {
|
||||
tmp2 = arg1;
|
||||
if (!arg1) {
|
||||
tmp2 = arg0;
|
||||
}
|
||||
}
|
||||
items[items.length] = tmp2;
|
||||
});
|
||||
str = "";
|
||||
if (items.length > 0) {
|
||||
str = items[0];
|
||||
}
|
||||
if (typeof getBaseIntrinsic === "function") {
|
||||
const text = `${"%" + str}%`;
|
||||
let text1 = text;
|
||||
if (items(1313)(merged1, `${"%" + str}%`)) {
|
||||
const tmp13 = tmp10[`${"%" + str}%`];
|
||||
text1 = `${"%" + tmp13[0]}%`;
|
||||
}
|
||||
if (items(1313)(merged, text1)) {
|
||||
if (tmp14[text1] !== obj) {
|
||||
if (undefined === tmp22) {
|
||||
if (!flag) {
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
const tmp8Result3 = new tmp8(1281)("intrinsic " + text + " exists, but is not available. Please file an issue!");
|
||||
throw tmp8Result3;
|
||||
}
|
||||
}
|
||||
if (tmp12) {
|
||||
str = tmp12[0];
|
||||
closure_10(items, closure_9([0, 1], tmp12));
|
||||
}
|
||||
flag = true;
|
||||
let num = 1;
|
||||
let flag2 = false;
|
||||
let tmp42 = tmp22;
|
||||
let tmp43 = tmp22;
|
||||
if (1 < items.length) {
|
||||
do {
|
||||
let tmp44 = items[num];
|
||||
tmp46 = closure_12(tmp44, 0, 1);
|
||||
tmp47 = closure_12(tmp44, -1);
|
||||
let flag3 = flag2;
|
||||
if ("\"" !== tmp46) {
|
||||
if ("'" !== tmp46) {
|
||||
if ("`" !== tmp46) {
|
||||
if ("\"" !== tmp47) {
|
||||
let tmp52 = "constructor" !== tmp44 && flag;
|
||||
if (!tmp52) {
|
||||
flag3 = true;
|
||||
}
|
||||
let text2 = `${str}.${tmp44}`;
|
||||
let _HermesInternal3 = HermesInternal;
|
||||
let combined = "%" + text2 + "%";
|
||||
let tmp55 = items;
|
||||
let tmp57 = merged;
|
||||
if (items(1313)(merged, combined)) {
|
||||
let tmp59 = tmp57[combined];
|
||||
let tmp58 = flag;
|
||||
} else {
|
||||
tmp58 = flag;
|
||||
tmp59 = tmp42;
|
||||
if (null != tmp42) {
|
||||
if (tmp44 in tmp42) {
|
||||
if (tmp55(1282)) {
|
||||
if (num + 1 >= items.length) {
|
||||
let tmp66 = tmp55(1282)(tmp42, tmp44);
|
||||
let tmp67 = tmp66;
|
||||
if (tmp67) {
|
||||
if ("get" in tmp66) {
|
||||
if (!("originalValue" in tmp66.get)) {
|
||||
let get = tmp66.get;
|
||||
}
|
||||
}
|
||||
}
|
||||
get = tmp42[tmp44];
|
||||
}
|
||||
}
|
||||
let tmp64 = tmp55(1313)(tmp42, tmp44);
|
||||
let tmp65 = tmp42[tmp44];
|
||||
let tmp70 = tmp64;
|
||||
if (tmp64) {
|
||||
tmp70 = !flag3;
|
||||
}
|
||||
tmp58 = tmp64;
|
||||
tmp59 = tmp65;
|
||||
if (tmp70) {
|
||||
tmp57[combined] = tmp65;
|
||||
tmp58 = tmp64;
|
||||
tmp59 = tmp65;
|
||||
}
|
||||
} else if (!flag) {
|
||||
let str19 = "base intrinsic for ";
|
||||
let tmp60 = new.target;
|
||||
let str20 = " exists, but the property is not available.";
|
||||
let tmp61 = new.target;
|
||||
let tmp62 = new tmp55(1281)("base intrinsic for " + str + " exists, but the property is not available.");
|
||||
throw tmp62;
|
||||
}
|
||||
}
|
||||
}
|
||||
num = num + 1;
|
||||
flag = tmp58;
|
||||
tmp42 = tmp59;
|
||||
flag2 = flag3;
|
||||
str = text2;
|
||||
tmp43 = tmp59;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} while (tmp46 === tmp47);
|
||||
const tmp75 = new items(1302)("property names with quotes must have matching quotes");
|
||||
throw tmp75;
|
||||
}
|
||||
return tmp43;
|
||||
} else if (typeof doEval === "function") {
|
||||
if ("%AsyncFunction%" === text1) {
|
||||
let prototype = getEvalledConstructor("async function () {}");
|
||||
} else if ("%GeneratorFunction%" === text1) {
|
||||
prototype = getEvalledConstructor("function* () {}");
|
||||
} else {
|
||||
if ("%AsyncGeneratorFunction%" === text1) {
|
||||
prototype = getEvalledConstructor("async function* () {}");
|
||||
} else if ("%AsyncGenerator%" !== text1) {
|
||||
if ("%AsyncIteratorPrototype%" === text1) {
|
||||
const tmp108 = doEval("%AsyncGeneratorFunction%");
|
||||
let prototype1;
|
||||
if (tmp108) {
|
||||
prototype1 = tmp108.prototype;
|
||||
}
|
||||
tmp14["%AsyncGenerator%"] = prototype1;
|
||||
let tmp8Result4 = prototype1;
|
||||
if (prototype1) {
|
||||
tmp8Result4 = tmp8(1286);
|
||||
}
|
||||
if (tmp8Result4) {
|
||||
prototype = tmp8(1286)(prototype1.prototype);
|
||||
}
|
||||
}
|
||||
}
|
||||
const tmp27 = getEvalledConstructor("async function* () {}");
|
||||
tmp14["%AsyncGeneratorFunction%"] = tmp27;
|
||||
if (tmp27) {
|
||||
prototype = tmp27.prototype;
|
||||
}
|
||||
}
|
||||
tmp14[text1] = prototype;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else {
|
||||
const _HermesInternal = HermesInternal;
|
||||
const tmp8Result21 = new tmp8(1302)("intrinsic " + text + " does not exist!");
|
||||
throw tmp8Result21;
|
||||
}
|
||||
tmp10 = merged1;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new items(1281)("intrinsic name must be a non-empty string");
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,104 +1,7 @@
|
|||
// Module ID: 1281
|
||||
// Function ID: 1282
|
||||
// Dependencies: [1282, 1316, 1283, 1317, 1319]
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1281
|
||||
import _mod1282 from "module_1282" /* 1282 */;
|
||||
import _mod1283 from "module_1283" /* 1283 */;
|
||||
import callBoundIntrinsic from "callBoundIntrinsic" /* 1316 */;
|
||||
import _mod1317 from "module_1317" /* 1317 */;
|
||||
import _mod1319 from "module_1319" /* 1319 */;
|
||||
|
||||
const tmp = _mod1282("%WeakMap%", true);
|
||||
let closure_2 = tmp;
|
||||
let closure_3 = callBoundIntrinsic("WeakMap.prototype.get", true);
|
||||
let closure_4 = callBoundIntrinsic("WeakMap.prototype.set", true);
|
||||
let closure_5 = callBoundIntrinsic("WeakMap.prototype.has", true);
|
||||
let closure_6 = callBoundIntrinsic("WeakMap.prototype.delete", true);
|
||||
if (tmp) {
|
||||
function getSideChannelWeakMap() {
|
||||
let obj = {
|
||||
assert(arg0) {
|
||||
if (!obj.has(arg0)) {
|
||||
const tmp32 = new _mod1283("Side channel does not contain " + _mod1317(arg0));
|
||||
throw tmp32;
|
||||
}
|
||||
},
|
||||
delete(obj) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
if (closure_0) {
|
||||
return closure_6(tmp, obj);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (_mod1319) {
|
||||
if (closure_1) {
|
||||
return obj.delete(obj);
|
||||
}
|
||||
obj = closure_1;
|
||||
}
|
||||
},
|
||||
get(obj) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
if (typeof obj === "object") {
|
||||
if (closure_0) {
|
||||
value = closure_3(tmp, obj);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = set;
|
||||
if (set) {
|
||||
value = set.get(obj);
|
||||
}
|
||||
},
|
||||
has(obj) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
if (typeof obj === "object") {
|
||||
if (closure_0) {
|
||||
let hasItem = closure_5(tmp, obj);
|
||||
}
|
||||
return hasItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
hasItem = set;
|
||||
if (hasItem) {
|
||||
hasItem = set.has(obj);
|
||||
}
|
||||
},
|
||||
set(obj, arg1) {
|
||||
if (closure_2) {
|
||||
if (obj) {
|
||||
let tmp6 = closure_0;
|
||||
if (!closure_0) {
|
||||
const tmp5 = new tmp();
|
||||
closure_0 = tmp5;
|
||||
tmp6 = tmp5;
|
||||
}
|
||||
closure_4(tmp6, obj, arg1);
|
||||
}
|
||||
}
|
||||
if (_mod1319) {
|
||||
obj = closure_1;
|
||||
if (!closure_1) {
|
||||
const tmp4 = _mod1319();
|
||||
closure_1 = tmp4;
|
||||
obj = tmp4;
|
||||
}
|
||||
const result = obj.set(obj, arg1);
|
||||
}
|
||||
}
|
||||
};
|
||||
return obj;
|
||||
}
|
||||
} else {
|
||||
getSideChannelWeakMap = _mod1319;
|
||||
}
|
||||
|
||||
export default getSideChannelWeakMap;
|
||||
export default TypeError;
|
||||
|
|
|
|||
|
|
@ -1,617 +1,17 @@
|
|||
// Module ID: 1282
|
||||
// Function ID: 1283
|
||||
// Dependencies: [1283, 1284, 1286, 1288, 1300, 1301, 1291, 1302, 1303, 1304, 1305, 1298, 1299, 1306, 1290, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1289, 1296, 1315]
|
||||
// Dependencies: [1283]
|
||||
|
||||
// Module 1282
|
||||
import _mod1283 from "module_1283" /* 1283 */;
|
||||
import _mod1284 from "module_1284" /* 1284 */;
|
||||
import _Symbol6 from "_Symbol" /* 1286 */;
|
||||
import _mod1288 from "module_1288" /* 1288 */;
|
||||
import _mod1289 from "module_1289" /* 1289 */;
|
||||
import _mod1290 from "module_1290" /* 1290 */;
|
||||
import _mod1291 from "module_1291" /* 1291 */;
|
||||
import _mod1300 from "module_1300" /* 1300 */;
|
||||
import _mod1301 from "module_1301" /* 1301 */;
|
||||
import _mod1302 from "module_1302" /* 1302 */;
|
||||
import _mod1303 from "module_1303" /* 1303 */;
|
||||
import _mod1304 from "module_1304" /* 1304 */;
|
||||
import _mod1305 from "module_1305" /* 1305 */;
|
||||
import flag4 from "flag" /* 1306 */;
|
||||
import _mod1307 from "module_1307" /* 1307 */;
|
||||
import _mod1308 from "module_1308" /* 1308 */;
|
||||
import _mod1309 from "module_1309" /* 1309 */;
|
||||
import _mod1310 from "module_1310" /* 1310 */;
|
||||
import _mod1311 from "module_1311" /* 1311 */;
|
||||
import _mod1312 from "module_1312" /* 1312 */;
|
||||
import sign from "sign" /* 1313 */;
|
||||
import bind_mod from "bind" /* 1296 */;
|
||||
import module_1298_mod from "module_1298" /* 1298 */;
|
||||
import module_1299 from "module_1299" /* 1299 */;
|
||||
import module_1283_mod from "module_1283" /* 1283 */;
|
||||
|
||||
function getEvalledConstructor(arg0) {
|
||||
let module_1283 = module_1283_mod;
|
||||
if (module_1283) {
|
||||
try {
|
||||
const _HermesInternal = HermesInternal;
|
||||
return Function("\"use strict\"; return (" + arg0 + ").constructor;")();
|
||||
module_1283([], "length");
|
||||
} catch (err) {
|
||||
module_1283 = null;
|
||||
}
|
||||
}
|
||||
function throwTypeError() {
|
||||
throw new _mod1283();
|
||||
}
|
||||
if (_mod1284) {
|
||||
throwTypeError = (() => {
|
||||
try {
|
||||
return throwTypeError;
|
||||
} catch (err) {
|
||||
try {
|
||||
return _mod1284(arguments, "callee").get;
|
||||
} catch (err) {
|
||||
return throwTypeError;
|
||||
}
|
||||
}
|
||||
})();
|
||||
}
|
||||
const tmp5 = _Symbol6();
|
||||
const obj = {};
|
||||
let tmp6;
|
||||
if (typeof Uint8Array !== "undefined") {
|
||||
if (_mod1288) {
|
||||
const _Uint8Array = Uint8Array;
|
||||
tmp6 = _mod1288(Uint8Array);
|
||||
}
|
||||
}
|
||||
let AggregateError;
|
||||
if (typeof globalThis.AggregateError !== "undefined") {
|
||||
AggregateError = globalThis.AggregateError;
|
||||
}
|
||||
const merged = Object.assign({ "%AggregateError%": null, "%Array%": null, "%ArrayBuffer%": null, "%ArrayIteratorPrototype%": null, "%AsyncFromSyncIteratorPrototype%": "fill", "%AsyncFunction%": "\u0430\u0440\u0435\u0441\u0442\u0443\u0432\u0430\u043C", "%AsyncGenerator%": "\u0436\u0435\u043D\u0430", "%AsyncGeneratorFunction%": "\u0437\u0430\u043A\u043E\u043D", "%AsyncIteratorPrototype%": "\u043E\u0440\u0433\u0430\u043D \u043D\u0430 \u0440\u0435\u0434\u0430", "%Atomics%": "\u043F\u043E\u0434 \u043F\u0440\u0438\u043A\u0440\u0438\u0442\u0438\u0435", "%BigInt%": "\u043F\u043E\u043B\u0438\u0446\u0430\u0439", "%BigInt64Array%": "\u043F\u043E\u043B\u0438\u0446\u0430\u0439\u043A\u0430", "%BigUint64Array%": "\u043F\u043E\u043B\u0438\u0446\u0438\u044F", "%Boolean%": "\u0441\u043B\u0443\u0436\u0438\u0442\u0435\u043B \u043D\u0430 \u0440\u0435\u0434\u0430", "%DataView%": "\u0441\u043B\u0443\u0436\u0438\u0442\u0435\u043B\u043A\u0430 \u043D\u0430 \u0440\u0435\u0434\u0430", "%Date%": "\u0443\u043D\u0438\u0444\u043E\u0440\u043C\u0430", "%decodeURI%": "CAPTCHA", "%decodeURIComponent%": "<string:1382023171>", "%encodeURI%": "<string:3409957458>", "%encodeURIComponent%": "<string:1549795310>", "%Error%": "<string:1631575132>", "%eval%": "<string:471859197>", "%EvalError%": "<string:1900014620>", "%Float16Array%": null, "%Float32Array%": "features", "%Float64Array%": "scalar", "%FinalizationRegistry%": 2, "%Function%": 9, "%GeneratorFunction%": "ArrayBuffer", "%Int8Array%": "prototype", "%Int16Array%": "1 godina", "%Int32Array%": "1 godine", "%isFinite%": "1 godinu", "%isNaN%": "<string:474198478>", "%IteratorPrototype%": "<string:469762387>", "%JSON%": "<string:469762387>", "%Map%": "<string:3321889107>", "%MapIteratorPrototype%": "<string:1275102208>", "%Math%": "hn\u011Bv", "%Number%": "japonsk\u00FD symbol hn\u011Bvu", "%Object%": "komiks", "%Object.getOwnPropertyDescriptor%": "komiksov\u00FD", "%parseFloat%": "manga", "%parseInt%": "na\u0161tvan\u00FD", "%Promise%": "rozzloben\u00FD", "%Proxy%": "\u00FAder", "%RangeError%": "vztek", "%ReferenceError%": "\u017E\u00EDly", "%Reflect%": "zloba", "%RegExp%": "zlost", "%Set%": "<string:10354886>", "%SetIteratorPrototype%": "<string:38443586>", "%SharedArrayBuffer%": "<string:32562432>", "%String%": "<string:1886015744>", "%StringIteratorPrototype%": "<string:23270211>", "%Symbol%": "<string:31801600>", "%SyntaxError%": "<string:23679488>", "%ThrowTypeError%": "<string:59199744>", "%TypedArray%": "<string:32371010>", "%TypeError%": "<string:37113344>", "%Uint8Array%": "<string:1581994240>", "%Uint8ClampedArray%": "<string:1912603429>", "%Uint16Array%": "<string:402653708>", "%Uint32Array%": "<string:2634023746>", "%URIError%": "<string:1308623722>", "%WeakMap%": "<string:4093641591>", "%WeakRef%": "<string:805307258>", "%WeakSet%": "<string:1627390827>", "%Function.prototype.call%": "<string:3338666759>", "%Function.prototype.apply%": "<string:2399142189>", "%Object.defineProperty%": "<string:1476395463>", "%Object.getPrototypeOf%": "<string:3321889107>", "%Math.abs%": "<string:1090583040>", "%Math.floor%": "fuji", "%Math.max%": "<string:1518676050>", "%Math.min%": "<string:2175025621>", "%Math.pow%": "<string:2656108548>", "%Math.round%": "<string:113852892>", "%Math.sign%": "<string:3746627586>", "%Reflect.getPrototypeOf%": "<string:113918696>" });
|
||||
merged[0] = AggregateError;
|
||||
merged[1] = Array;
|
||||
let _ArrayBuffer;
|
||||
if (typeof ArrayBuffer !== "undefined") {
|
||||
_ArrayBuffer = ArrayBuffer;
|
||||
}
|
||||
merged[2] = _ArrayBuffer;
|
||||
let _moduleResult;
|
||||
if (tmp5) {
|
||||
if (_mod1288) {
|
||||
let items = [];
|
||||
const _Symbol = Symbol;
|
||||
const _module = _mod1288;
|
||||
_moduleResult = _module(items[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
merged[3] = _moduleResult;
|
||||
merged[5] = obj;
|
||||
merged[6] = obj;
|
||||
merged[7] = obj;
|
||||
merged[8] = obj;
|
||||
let _Atomics;
|
||||
if (typeof Atomics !== "undefined") {
|
||||
_Atomics = Atomics;
|
||||
}
|
||||
merged[9] = _Atomics;
|
||||
let _BigInt;
|
||||
if (typeof BigInt !== "undefined") {
|
||||
_BigInt = BigInt;
|
||||
}
|
||||
merged[10] = _BigInt;
|
||||
let _BigInt64Array;
|
||||
if (typeof BigInt64Array !== "undefined") {
|
||||
_BigInt64Array = BigInt64Array;
|
||||
}
|
||||
merged[11] = _BigInt64Array;
|
||||
let _BigUint64Array;
|
||||
if (typeof BigUint64Array !== "undefined") {
|
||||
_BigUint64Array = BigUint64Array;
|
||||
}
|
||||
merged[12] = _BigUint64Array;
|
||||
merged[13] = Boolean;
|
||||
let _DataView;
|
||||
if (typeof DataView !== "undefined") {
|
||||
_DataView = DataView;
|
||||
}
|
||||
merged[14] = _DataView;
|
||||
merged[15] = Date;
|
||||
merged[16] = decodeURI;
|
||||
merged[17] = decodeURIComponent;
|
||||
merged[18] = encodeURI;
|
||||
merged[19] = encodeURIComponent;
|
||||
merged[20] = _mod1300;
|
||||
merged[21] = globalThis.eval;
|
||||
merged[22] = _mod1301;
|
||||
let Float16Array;
|
||||
if (typeof globalThis.Float16Array !== "undefined") {
|
||||
Float16Array = globalThis.Float16Array;
|
||||
}
|
||||
merged[23] = Float16Array;
|
||||
let _Float32Array;
|
||||
if (typeof Float32Array !== "undefined") {
|
||||
_Float32Array = Float32Array;
|
||||
}
|
||||
merged[24] = _Float32Array;
|
||||
let _Float64Array;
|
||||
if (typeof Float64Array !== "undefined") {
|
||||
_Float64Array = Float64Array;
|
||||
}
|
||||
merged[25] = _Float64Array;
|
||||
let FinalizationRegistry;
|
||||
if (typeof globalThis.FinalizationRegistry !== "undefined") {
|
||||
FinalizationRegistry = globalThis.FinalizationRegistry;
|
||||
}
|
||||
merged[26] = FinalizationRegistry;
|
||||
merged[27] = Function;
|
||||
merged[28] = obj;
|
||||
let _Int8Array;
|
||||
if (typeof Int8Array !== "undefined") {
|
||||
_Int8Array = Int8Array;
|
||||
}
|
||||
merged[29] = _Int8Array;
|
||||
let _Int16Array;
|
||||
if (typeof Int16Array !== "undefined") {
|
||||
_Int16Array = Int16Array;
|
||||
}
|
||||
merged[30] = _Int16Array;
|
||||
let _Int32Array;
|
||||
if (typeof Int32Array !== "undefined") {
|
||||
_Int32Array = Int32Array;
|
||||
}
|
||||
merged[31] = _Int32Array;
|
||||
merged[32] = isFinite;
|
||||
merged[33] = isNaN;
|
||||
let _module1Result;
|
||||
if (tmp5) {
|
||||
if (_mod1288) {
|
||||
const _module1 = _mod1288;
|
||||
const items1 = [];
|
||||
const _Symbol2 = Symbol;
|
||||
const _module2 = _mod1288;
|
||||
_module1Result = _module1(_module2(items1[Symbol.iterator]()));
|
||||
}
|
||||
}
|
||||
merged[34] = _module1Result;
|
||||
let _JSON;
|
||||
if (typeof JSON === "object") {
|
||||
_JSON = JSON;
|
||||
}
|
||||
merged[35] = _JSON;
|
||||
let _Map1;
|
||||
if (typeof Map !== "undefined") {
|
||||
_Map1 = Map;
|
||||
}
|
||||
merged[36] = _Map1;
|
||||
let _module3Result;
|
||||
if (typeof Map !== "undefined") {
|
||||
if (tmp5) {
|
||||
if (_mod1288) {
|
||||
const _Map = Map;
|
||||
const _module3 = _mod1288;
|
||||
const map = new Map();
|
||||
const _Symbol3 = Symbol;
|
||||
_module3Result = _module3(map[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
}
|
||||
merged[37] = _module3Result;
|
||||
merged[38] = Math;
|
||||
merged[39] = Number;
|
||||
merged[40] = _mod1291;
|
||||
merged[41] = _mod1284;
|
||||
merged[42] = parseFloat;
|
||||
merged[43] = parseInt;
|
||||
let _Promise;
|
||||
if (typeof Promise !== "undefined") {
|
||||
_Promise = Promise;
|
||||
}
|
||||
merged[44] = _Promise;
|
||||
let _Proxy;
|
||||
if (typeof Proxy !== "undefined") {
|
||||
_Proxy = Proxy;
|
||||
}
|
||||
merged[45] = _Proxy;
|
||||
merged[46] = _mod1302;
|
||||
merged[47] = _mod1303;
|
||||
let _Reflect;
|
||||
if (typeof Reflect !== "undefined") {
|
||||
_Reflect = Reflect;
|
||||
}
|
||||
merged[48] = _Reflect;
|
||||
merged[49] = RegExp;
|
||||
let _Set1;
|
||||
if (typeof Set !== "undefined") {
|
||||
_Set1 = Set;
|
||||
}
|
||||
merged[50] = _Set1;
|
||||
let _module4Result;
|
||||
if (typeof Set !== "undefined") {
|
||||
if (tmp5) {
|
||||
if (_mod1288) {
|
||||
const _Set = Set;
|
||||
const _module4 = _mod1288;
|
||||
const set = new Set();
|
||||
const _Symbol4 = Symbol;
|
||||
_module4Result = _module4(set[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
}
|
||||
merged[51] = _module4Result;
|
||||
let _SharedArrayBuffer;
|
||||
if (typeof SharedArrayBuffer !== "undefined") {
|
||||
_SharedArrayBuffer = SharedArrayBuffer;
|
||||
}
|
||||
merged[52] = _SharedArrayBuffer;
|
||||
merged[53] = String;
|
||||
let _module5Result;
|
||||
if (tmp5) {
|
||||
if (_mod1288) {
|
||||
const _Symbol5 = Symbol;
|
||||
const _module5 = _mod1288;
|
||||
_module5Result = _module5(""[Symbol.iterator]());
|
||||
}
|
||||
}
|
||||
merged[54] = _module5Result;
|
||||
let _Symbol1;
|
||||
if (tmp5) {
|
||||
_Symbol1 = Symbol;
|
||||
}
|
||||
merged[55] = _Symbol1;
|
||||
merged[56] = _mod1304;
|
||||
merged[57] = throwTypeError;
|
||||
merged[58] = tmp6;
|
||||
merged[59] = _mod1283;
|
||||
let _Uint8Array1;
|
||||
if (typeof Uint8Array !== "undefined") {
|
||||
_Uint8Array1 = Uint8Array;
|
||||
}
|
||||
merged[60] = _Uint8Array1;
|
||||
let _Uint8ClampedArray;
|
||||
if (typeof Uint8ClampedArray !== "undefined") {
|
||||
_Uint8ClampedArray = Uint8ClampedArray;
|
||||
}
|
||||
merged[61] = _Uint8ClampedArray;
|
||||
let _Uint16Array;
|
||||
if (typeof Uint16Array !== "undefined") {
|
||||
_Uint16Array = Uint16Array;
|
||||
}
|
||||
merged[62] = _Uint16Array;
|
||||
let _Uint32Array;
|
||||
if (typeof Uint32Array !== "undefined") {
|
||||
_Uint32Array = Uint32Array;
|
||||
}
|
||||
merged[63] = _Uint32Array;
|
||||
merged[64] = _mod1305;
|
||||
let _WeakMap;
|
||||
if (typeof WeakMap !== "undefined") {
|
||||
_WeakMap = WeakMap;
|
||||
}
|
||||
merged[65] = _WeakMap;
|
||||
let _WeakRef;
|
||||
if (typeof WeakRef !== "undefined") {
|
||||
_WeakRef = WeakRef;
|
||||
}
|
||||
merged[66] = _WeakRef;
|
||||
let _WeakSet;
|
||||
if (typeof WeakSet !== "undefined") {
|
||||
_WeakSet = WeakSet;
|
||||
}
|
||||
merged[67] = _WeakSet;
|
||||
merged[68] = module_1298;
|
||||
merged[69] = module_1299;
|
||||
merged[70] = flag4;
|
||||
merged[71] = _mod1290;
|
||||
merged[72] = _mod1307;
|
||||
merged[73] = _mod1308;
|
||||
merged[74] = _mod1309;
|
||||
merged[75] = _mod1310;
|
||||
merged[76] = _mod1311;
|
||||
merged[77] = _mod1312;
|
||||
merged[78] = sign;
|
||||
merged[79] = _mod1289;
|
||||
if (_mod1288) {
|
||||
try {
|
||||
const error = null.error;
|
||||
} catch (tmp56) {
|
||||
tmp4["%Error.prototype%"] = tmp3(tmp2[3])(tmp3(tmp2[3])(tmp56));
|
||||
const tmp3Result = tmp3(tmp2[3]);
|
||||
}
|
||||
}
|
||||
function doEval(arg0) {
|
||||
if ("%AsyncFunction%" === arg0) {
|
||||
let prototype = getEvalledConstructor("async function () {}");
|
||||
} else if ("%GeneratorFunction%" === arg0) {
|
||||
prototype = getEvalledConstructor("function* () {}");
|
||||
} else if ("%AsyncGeneratorFunction%" === arg0) {
|
||||
prototype = getEvalledConstructor("async function* () {}");
|
||||
} else if ("%AsyncGenerator%" === arg0) {
|
||||
const tmp7 = doEval("%AsyncGeneratorFunction%");
|
||||
if (tmp7) {
|
||||
prototype = tmp7.prototype;
|
||||
}
|
||||
} else if ("%AsyncIteratorPrototype%" === arg0) {
|
||||
const tmp12 = doEval("%AsyncGenerator%");
|
||||
let tmp3 = tmp12;
|
||||
if (tmp12) {
|
||||
tmp3 = _mod1288;
|
||||
}
|
||||
if (tmp3) {
|
||||
prototype = _mod1288(tmp12.prototype);
|
||||
}
|
||||
}
|
||||
merged[arg0] = prototype;
|
||||
return prototype;
|
||||
}
|
||||
const merged1 = Object.assign({ "%ArrayBufferPrototype%": null, "%ArrayPrototype%": null, "%ArrayProto_entries%": null, "%ArrayProto_forEach%": null, "%ArrayProto_keys%": null, "%ArrayProto_values%": null, "%AsyncFunctionPrototype%": null, "%AsyncGenerator%": null, "%AsyncGeneratorPrototype%": null, "%BooleanPrototype%": null, "%DataViewPrototype%": null, "%DatePrototype%": null, "%ErrorPrototype%": null, "%EvalErrorPrototype%": null, "%Float32ArrayPrototype%": null, "%Float64ArrayPrototype%": null, "%FunctionPrototype%": null, "%Generator%": null, "%GeneratorPrototype%": null, "%Int8ArrayPrototype%": null, "%Int16ArrayPrototype%": null, "%Int32ArrayPrototype%": null, "%JSONParse%": null, "%JSONStringify%": null, "%MapPrototype%": null, "%NumberPrototype%": null, "%ObjectPrototype%": null, "%ObjProto_toString%": null, "%ObjProto_valueOf%": null, "%PromisePrototype%": null, "%PromiseProto_then%": null, "%Promise_all%": null, "%Promise_reject%": null, "%Promise_resolve%": null, "%RangeErrorPrototype%": null, "%ReferenceErrorPrototype%": null, "%RegExpPrototype%": null, "%SetPrototype%": null, "%SharedArrayBufferPrototype%": null, "%StringPrototype%": null, "%SymbolPrototype%": null, "%SyntaxErrorPrototype%": null, "%TypedArrayPrototype%": null, "%TypeErrorPrototype%": null, "%Uint8ArrayPrototype%": null, "%Uint8ClampedArrayPrototype%": null, "%Uint16ArrayPrototype%": null, "%Uint32ArrayPrototype%": null, "%URIErrorPrototype%": null, "%WeakMapPrototype%": null, "%WeakSetPrototype%": null });
|
||||
merged1[0] = ["ArrayBuffer", "prototype"];
|
||||
merged1[1] = ["Array", "prototype"];
|
||||
merged1[2] = ["Array", "prototype", "entries"];
|
||||
merged1[3] = ["Array", "prototype", "forEach"];
|
||||
merged1[4] = ["Array", "prototype", "keys"];
|
||||
merged1[5] = ["Array", "prototype", "values"];
|
||||
merged1[6] = ["AsyncFunction", "prototype"];
|
||||
merged1[7] = ["AsyncGeneratorFunction", "prototype"];
|
||||
merged1[8] = ["AsyncGeneratorFunction", "prototype", "prototype"];
|
||||
merged1[9] = ["Boolean", "prototype"];
|
||||
merged1[10] = ["DataView", "prototype"];
|
||||
merged1[11] = ["Date", "prototype"];
|
||||
merged1[12] = ["Error", "prototype"];
|
||||
merged1[13] = ["EvalError", "prototype"];
|
||||
merged1[14] = ["Float32Array", "prototype"];
|
||||
merged1[15] = ["Float64Array", "prototype"];
|
||||
merged1[16] = ["Function", "prototype"];
|
||||
merged1[17] = ["GeneratorFunction", "prototype"];
|
||||
merged1[18] = ["GeneratorFunction", "prototype", "prototype"];
|
||||
merged1[19] = ["Int8Array", "prototype"];
|
||||
merged1[20] = ["Int16Array", "prototype"];
|
||||
merged1[21] = ["Int32Array", "prototype"];
|
||||
merged1[22] = ["JSON", "parse"];
|
||||
merged1[23] = ["JSON", "stringify"];
|
||||
merged1[24] = ["Map", "prototype"];
|
||||
merged1[25] = ["Number", "prototype"];
|
||||
merged1[26] = ["Object", "prototype"];
|
||||
merged1[27] = ["Object", "prototype", "toString"];
|
||||
merged1[28] = ["Object", "prototype", "valueOf"];
|
||||
merged1[29] = ["Promise", "prototype"];
|
||||
merged1[30] = ["Promise", "prototype", "then"];
|
||||
merged1[31] = ["Promise", "all"];
|
||||
merged1[32] = ["Promise", "reject"];
|
||||
merged1[33] = ["Promise", "resolve"];
|
||||
merged1[34] = ["RangeError", "prototype"];
|
||||
merged1[35] = ["ReferenceError", "prototype"];
|
||||
merged1[36] = ["RegExp", "prototype"];
|
||||
merged1[37] = ["Set", "prototype"];
|
||||
merged1[38] = ["SharedArrayBuffer", "prototype"];
|
||||
merged1[39] = ["String", "prototype"];
|
||||
merged1[40] = ["Symbol", "prototype"];
|
||||
merged1[41] = ["SyntaxError", "prototype"];
|
||||
merged1[42] = ["TypedArray", "prototype"];
|
||||
merged1[43] = ["TypeError", "prototype"];
|
||||
merged1[44] = ["Uint8Array", "prototype"];
|
||||
merged1[45] = ["Uint8ClampedArray", "prototype"];
|
||||
merged1[46] = ["Uint16Array", "prototype"];
|
||||
merged1[47] = ["Uint32Array", "prototype"];
|
||||
merged1[48] = ["URIError", "prototype"];
|
||||
merged1[49] = ["WeakMap", "prototype"];
|
||||
merged1[50] = ["WeakSet", "prototype"];
|
||||
let bind = bind_mod;
|
||||
const call = bind.call;
|
||||
let module_1298 = module_1298_mod;
|
||||
let closure_9 = typeof call === "unknown" ? bind(concat) : call(module_1298, concat);
|
||||
let bind = bind_mod;
|
||||
const call2 = bind.call;
|
||||
let closure_10 = typeof call2 === "unknown" ? bind(splice) : call2(module_1299, splice);
|
||||
let bind = bind_mod;
|
||||
const call3 = bind.call;
|
||||
let module_1298 = module_1298_mod;
|
||||
let closure_11 = typeof call3 === "unknown" ? bind(replace) : call3(module_1298, replace);
|
||||
let bind = bind_mod;
|
||||
const call4 = bind.call;
|
||||
let module_1298 = module_1298_mod;
|
||||
let closure_12 = typeof call4 === "unknown" ? bind(slice) : call4(module_1298, slice);
|
||||
let bind = bind_mod;
|
||||
const call5 = bind.call;
|
||||
let module_1298 = module_1298_mod;
|
||||
let closure_13 = typeof call5 === "unknown" ? bind(exec) : call5(module_1298, exec);
|
||||
const re14 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
||||
const re15 = /\\(\\)?/g;
|
||||
function getBaseIntrinsic(arg0, arg1) {
|
||||
|
||||
}
|
||||
|
||||
export default function GetIntrinsic(str, flag) {
|
||||
let tmp46;
|
||||
let tmp47;
|
||||
if (typeof str === "string") {
|
||||
if (0 !== str.length) {
|
||||
if (arguments.length > 1) {
|
||||
if (typeof flag !== "boolean") {
|
||||
const tmp99 = new items(1283)("\"allowMissing\" argument must be a boolean");
|
||||
throw tmp99;
|
||||
}
|
||||
}
|
||||
if (null === closure_13(/^%?[^%]*%?$/, str)) {
|
||||
const tmp93 = new items(1304)("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
||||
throw tmp93;
|
||||
} else {
|
||||
const tmp104 = closure_12(str, 0, 1);
|
||||
const tmp105 = closure_12(str, -1);
|
||||
if ("%" === tmp104) {
|
||||
if ("%" !== tmp105) {
|
||||
const tmp87 = new items(1304)("invalid intrinsic syntax, expected closing `%`");
|
||||
throw tmp87;
|
||||
}
|
||||
}
|
||||
if ("%" === tmp105) {
|
||||
if ("%" !== tmp104) {
|
||||
const tmp81 = new items(1304)("invalid intrinsic syntax, expected opening `%`");
|
||||
throw tmp81;
|
||||
}
|
||||
}
|
||||
items = [];
|
||||
closure_11(str, closure_14, (arg0, arg1, arg2, arg3) => {
|
||||
if (arg2) {
|
||||
let tmp2 = closure_11(arg3, re15, "$1");
|
||||
} else {
|
||||
tmp2 = arg1;
|
||||
if (!arg1) {
|
||||
tmp2 = arg0;
|
||||
}
|
||||
}
|
||||
items[items.length] = tmp2;
|
||||
});
|
||||
str = "";
|
||||
if (items.length > 0) {
|
||||
str = items[0];
|
||||
}
|
||||
if (typeof getBaseIntrinsic === "function") {
|
||||
const text = `${"%" + str}%`;
|
||||
let text1 = text;
|
||||
if (items(1315)(merged1, `${"%" + str}%`)) {
|
||||
const tmp13 = tmp10[`${"%" + str}%`];
|
||||
text1 = `${"%" + tmp13[0]}%`;
|
||||
}
|
||||
if (items(1315)(merged, text1)) {
|
||||
if (tmp14[text1] !== obj) {
|
||||
if (undefined === tmp22) {
|
||||
if (!flag) {
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
const tmp8Result3 = new tmp8(1283)("intrinsic " + text + " exists, but is not available. Please file an issue!");
|
||||
throw tmp8Result3;
|
||||
}
|
||||
}
|
||||
if (tmp12) {
|
||||
str = tmp12[0];
|
||||
closure_10(items, closure_9([0, 1], tmp12));
|
||||
}
|
||||
flag = true;
|
||||
let num = 1;
|
||||
let flag2 = false;
|
||||
let tmp42 = tmp22;
|
||||
let tmp43 = tmp22;
|
||||
if (1 < items.length) {
|
||||
do {
|
||||
let tmp44 = items[num];
|
||||
tmp46 = closure_12(tmp44, 0, 1);
|
||||
tmp47 = closure_12(tmp44, -1);
|
||||
let flag3 = flag2;
|
||||
if ("\"" !== tmp46) {
|
||||
if ("'" !== tmp46) {
|
||||
if ("`" !== tmp46) {
|
||||
if ("\"" !== tmp47) {
|
||||
let tmp52 = "constructor" !== tmp44 && flag;
|
||||
if (!tmp52) {
|
||||
flag3 = true;
|
||||
}
|
||||
let text2 = `${str}.${tmp44}`;
|
||||
let _HermesInternal3 = HermesInternal;
|
||||
let combined = "%" + text2 + "%";
|
||||
let tmp55 = items;
|
||||
let tmp57 = merged;
|
||||
if (items(1315)(merged, combined)) {
|
||||
let tmp59 = tmp57[combined];
|
||||
let tmp58 = flag;
|
||||
} else {
|
||||
tmp58 = flag;
|
||||
tmp59 = tmp42;
|
||||
if (null != tmp42) {
|
||||
if (tmp44 in tmp42) {
|
||||
if (tmp55(1284)) {
|
||||
if (num + 1 >= items.length) {
|
||||
let tmp66 = tmp55(1284)(tmp42, tmp44);
|
||||
let tmp67 = tmp66;
|
||||
if (tmp67) {
|
||||
if ("get" in tmp66) {
|
||||
if (!("originalValue" in tmp66.get)) {
|
||||
let get = tmp66.get;
|
||||
}
|
||||
}
|
||||
}
|
||||
get = tmp42[tmp44];
|
||||
}
|
||||
}
|
||||
let tmp64 = tmp55(1315)(tmp42, tmp44);
|
||||
let tmp65 = tmp42[tmp44];
|
||||
let tmp70 = tmp64;
|
||||
if (tmp64) {
|
||||
tmp70 = !flag3;
|
||||
}
|
||||
tmp58 = tmp64;
|
||||
tmp59 = tmp65;
|
||||
if (tmp70) {
|
||||
tmp57[combined] = tmp65;
|
||||
tmp58 = tmp64;
|
||||
tmp59 = tmp65;
|
||||
}
|
||||
} else if (!flag) {
|
||||
let str19 = "base intrinsic for ";
|
||||
let tmp60 = new.target;
|
||||
let str20 = " exists, but the property is not available.";
|
||||
let tmp61 = new.target;
|
||||
let tmp62 = new tmp55(1283)("base intrinsic for " + str + " exists, but the property is not available.");
|
||||
throw tmp62;
|
||||
}
|
||||
}
|
||||
}
|
||||
num = num + 1;
|
||||
flag = tmp58;
|
||||
tmp42 = tmp59;
|
||||
flag2 = flag3;
|
||||
str = text2;
|
||||
tmp43 = tmp59;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} while (tmp46 === tmp47);
|
||||
const tmp75 = new items(1304)("property names with quotes must have matching quotes");
|
||||
throw tmp75;
|
||||
}
|
||||
return tmp43;
|
||||
} else if (typeof doEval === "function") {
|
||||
if ("%AsyncFunction%" === text1) {
|
||||
let prototype = getEvalledConstructor("async function () {}");
|
||||
} else if ("%GeneratorFunction%" === text1) {
|
||||
prototype = getEvalledConstructor("function* () {}");
|
||||
} else {
|
||||
if ("%AsyncGeneratorFunction%" === text1) {
|
||||
prototype = getEvalledConstructor("async function* () {}");
|
||||
} else if ("%AsyncGenerator%" !== text1) {
|
||||
if ("%AsyncIteratorPrototype%" === text1) {
|
||||
const tmp108 = doEval("%AsyncGeneratorFunction%");
|
||||
let prototype1;
|
||||
if (tmp108) {
|
||||
prototype1 = tmp108.prototype;
|
||||
}
|
||||
tmp14["%AsyncGenerator%"] = prototype1;
|
||||
let tmp8Result4 = prototype1;
|
||||
if (prototype1) {
|
||||
tmp8Result4 = tmp8(1288);
|
||||
}
|
||||
if (tmp8Result4) {
|
||||
prototype = tmp8(1288)(prototype1.prototype);
|
||||
}
|
||||
}
|
||||
}
|
||||
const tmp27 = getEvalledConstructor("async function* () {}");
|
||||
tmp14["%AsyncGeneratorFunction%"] = tmp27;
|
||||
if (tmp27) {
|
||||
prototype = tmp27.prototype;
|
||||
}
|
||||
}
|
||||
tmp14[text1] = prototype;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else {
|
||||
const _HermesInternal = HermesInternal;
|
||||
const tmp8Result21 = new tmp8(1304)("intrinsic " + text + " does not exist!");
|
||||
throw tmp8Result21;
|
||||
}
|
||||
tmp10 = merged1;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new items(1283)("intrinsic name must be a non-empty string");
|
||||
};
|
||||
export default module_1283;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1283
|
||||
|
||||
export default TypeError;
|
||||
export default Object.getOwnPropertyDescriptor;
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
// Module ID: 1284
|
||||
// Function ID: 1285
|
||||
// Dependencies: [1285]
|
||||
|
||||
// Module 1284
|
||||
import module_1285_mod from "module_1285" /* 1285 */;
|
||||
|
||||
let module_1285 = module_1285_mod;
|
||||
if (module_1285) {
|
||||
try {
|
||||
module_1285([], "length");
|
||||
} catch (err) {
|
||||
module_1285 = null;
|
||||
}
|
||||
}
|
||||
|
||||
export default module_1285;
|
||||
|
|
@ -4,4 +4,78 @@
|
|||
|
||||
// Module 1285
|
||||
|
||||
export default Object.getOwnPropertyDescriptor;
|
||||
export default function hasSymbols() {
|
||||
if (typeof Symbol === "function") {
|
||||
const _Object6 = Object;
|
||||
if (typeof Object.getOwnPropertySymbols === "function") {
|
||||
const _Symbol = Symbol;
|
||||
if (typeof Symbol.iterator === "symbol") {
|
||||
return true;
|
||||
} else {
|
||||
const _Symbol2 = Symbol;
|
||||
const SymbolResult = Symbol("test");
|
||||
const _Object7 = Object;
|
||||
if (typeof SymbolResult === "string") {
|
||||
return false;
|
||||
} else {
|
||||
const _Object8 = Object;
|
||||
const call2 = toString.call;
|
||||
if ("[object Symbol]" !== (typeof call2 === "unknown" ? toString() : call2(SymbolResult))) {
|
||||
return false;
|
||||
} else {
|
||||
const _Object9 = Object;
|
||||
const call3 = toString2.call;
|
||||
if ("[object Symbol]" !== (typeof call3 === "unknown" ? toString2() : call3(ObjectResult))) {
|
||||
return false;
|
||||
} else {
|
||||
const obj = {};
|
||||
obj[SymbolResult] = 42;
|
||||
const keys = Object.keys();
|
||||
if (keys !== undefined) {
|
||||
if (keys[tmp] !== undefined) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const _Object = Object;
|
||||
if (typeof Object.keys === "function") {
|
||||
const _Object10 = Object;
|
||||
if (0 !== Object.keys(obj).length) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const _Object2 = Object;
|
||||
if (typeof Object.getOwnPropertyNames === "function") {
|
||||
const _Object11 = Object;
|
||||
if (0 !== Object.getOwnPropertyNames(obj).length) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const _Object3 = Object;
|
||||
const ownPropertySymbols = Object.getOwnPropertySymbols(obj);
|
||||
if (1 === ownPropertySymbols.length) {
|
||||
if (ownPropertySymbols[0] === SymbolResult) {
|
||||
const _Object4 = Object;
|
||||
const call = propertyIsEnumerable.call;
|
||||
if (typeof call === "unknown" ? propertyIsEnumerable(SymbolResult) : call(obj, SymbolResult)) {
|
||||
const _Object5 = Object;
|
||||
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
||||
const _Object12 = Object;
|
||||
const iter = Object.getOwnPropertyDescriptor(obj, SymbolResult);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
ObjectResult = Object(SymbolResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
|
|
|||
31
source/__polyfill/01xxx/module_1286.js
Normal file
31
source/__polyfill/01xxx/module_1286.js
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
// Module ID: 1286
|
||||
// Function ID: 1287
|
||||
// Dependencies: [1287, 1288, 1290]
|
||||
|
||||
// Module 1286
|
||||
import _mod1287 from "module_1287" /* 1287 */;
|
||||
import _mod1288 from "module_1288" /* 1288 */;
|
||||
import _mod1290 from "module_1290" /* 1290 */;
|
||||
|
||||
if (_mod1287) {
|
||||
function getProto(arg0) {
|
||||
return _mod1287(arg0);
|
||||
}
|
||||
} else if (_mod1288) {
|
||||
getProto = function getProto(obj) {
|
||||
if (obj) {
|
||||
return _mod1288(obj);
|
||||
}
|
||||
const typeError = new TypeError("getProto: not an object");
|
||||
throw typeError;
|
||||
};
|
||||
} else {
|
||||
getProto = null;
|
||||
if (_mod1290) {
|
||||
getProto = function getProto(arg0) {
|
||||
return _mod1290(arg0);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default getProto;
|
||||
|
|
@ -3,79 +3,13 @@
|
|||
// Dependencies: []
|
||||
|
||||
// Module 1287
|
||||
let getPrototypeOf = typeof Reflect !== "undefined";
|
||||
if (typeof Reflect !== "undefined") {
|
||||
const _Reflect = Reflect;
|
||||
getPrototypeOf = Reflect.getPrototypeOf;
|
||||
}
|
||||
if (!getPrototypeOf) {
|
||||
getPrototypeOf = null;
|
||||
}
|
||||
|
||||
export default function hasSymbols() {
|
||||
if (typeof Symbol === "function") {
|
||||
const _Object6 = Object;
|
||||
if (typeof Object.getOwnPropertySymbols === "function") {
|
||||
const _Symbol = Symbol;
|
||||
if (typeof Symbol.iterator === "symbol") {
|
||||
return true;
|
||||
} else {
|
||||
const _Symbol2 = Symbol;
|
||||
const SymbolResult = Symbol("test");
|
||||
const _Object7 = Object;
|
||||
if (typeof SymbolResult === "string") {
|
||||
return false;
|
||||
} else {
|
||||
const _Object8 = Object;
|
||||
const call2 = toString.call;
|
||||
if ("[object Symbol]" !== (typeof call2 === "unknown" ? toString() : call2(SymbolResult))) {
|
||||
return false;
|
||||
} else {
|
||||
const _Object9 = Object;
|
||||
const call3 = toString2.call;
|
||||
if ("[object Symbol]" !== (typeof call3 === "unknown" ? toString2() : call3(ObjectResult))) {
|
||||
return false;
|
||||
} else {
|
||||
const obj = {};
|
||||
obj[SymbolResult] = 42;
|
||||
const keys = Object.keys();
|
||||
if (keys !== undefined) {
|
||||
if (keys[tmp] !== undefined) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const _Object = Object;
|
||||
if (typeof Object.keys === "function") {
|
||||
const _Object10 = Object;
|
||||
if (0 !== Object.keys(obj).length) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const _Object2 = Object;
|
||||
if (typeof Object.getOwnPropertyNames === "function") {
|
||||
const _Object11 = Object;
|
||||
if (0 !== Object.getOwnPropertyNames(obj).length) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const _Object3 = Object;
|
||||
const ownPropertySymbols = Object.getOwnPropertySymbols(obj);
|
||||
if (1 === ownPropertySymbols.length) {
|
||||
if (ownPropertySymbols[0] === SymbolResult) {
|
||||
const _Object4 = Object;
|
||||
const call = propertyIsEnumerable.call;
|
||||
if (typeof call === "unknown" ? propertyIsEnumerable(SymbolResult) : call(obj, SymbolResult)) {
|
||||
const _Object5 = Object;
|
||||
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
||||
const _Object12 = Object;
|
||||
const iter = Object.getOwnPropertyDescriptor(obj, SymbolResult);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
ObjectResult = Object(SymbolResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
export default getPrototypeOf;
|
||||
|
|
|
|||
|
|
@ -1,31 +1,9 @@
|
|||
// Module ID: 1288
|
||||
// Function ID: 1289
|
||||
// Dependencies: [1289, 1290, 1292]
|
||||
// Dependencies: [1289]
|
||||
|
||||
// Module 1288
|
||||
import _mod1289 from "module_1289" /* 1289 */;
|
||||
import _mod1290 from "module_1290" /* 1290 */;
|
||||
import _mod1292 from "module_1292" /* 1292 */;
|
||||
|
||||
if (_mod1289) {
|
||||
function getProto(arg0) {
|
||||
return _mod1289(arg0);
|
||||
}
|
||||
} else if (_mod1290) {
|
||||
getProto = function getProto(obj) {
|
||||
if (obj) {
|
||||
return _mod1290(obj);
|
||||
}
|
||||
const typeError = new TypeError("getProto: not an object");
|
||||
throw typeError;
|
||||
};
|
||||
} else {
|
||||
getProto = null;
|
||||
if (_mod1292) {
|
||||
getProto = function getProto(arg0) {
|
||||
return _mod1292(arg0);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default getProto;
|
||||
export default _mod1289.getPrototypeOf || null;
|
||||
|
|
|
|||
|
|
@ -3,13 +3,5 @@
|
|||
// Dependencies: []
|
||||
|
||||
// Module 1289
|
||||
let getPrototypeOf = typeof Reflect !== "undefined";
|
||||
if (typeof Reflect !== "undefined") {
|
||||
const _Reflect = Reflect;
|
||||
getPrototypeOf = Reflect.getPrototypeOf;
|
||||
}
|
||||
if (!getPrototypeOf) {
|
||||
getPrototypeOf = null;
|
||||
}
|
||||
|
||||
export default getPrototypeOf;
|
||||
export default Object;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,39 @@
|
|||
// Module ID: 1290
|
||||
// Function ID: 1291
|
||||
// Dependencies: [1291]
|
||||
// Dependencies: [1282, 1291]
|
||||
|
||||
// Module 1290
|
||||
import _mod1291 from "module_1291" /* 1291 */;
|
||||
import _mod1282 from "module_1282" /* 1282 */;
|
||||
import callBindBasic from "callBindBasic" /* 1291 */;
|
||||
|
||||
|
||||
export default _mod1291.getPrototypeOf || null;
|
||||
try {
|
||||
const _Array = Array;
|
||||
let _module = [].__proto__ === Array.prototype;
|
||||
if (_module) {
|
||||
_module = _mod1282;
|
||||
}
|
||||
if (_module) {
|
||||
const _Object = Object;
|
||||
_module = _mod1282(Object.prototype, "__proto__");
|
||||
}
|
||||
const _Object2 = Object;
|
||||
if (_module) {
|
||||
if (typeof _module.get === "function") {
|
||||
const items = [_module.get];
|
||||
let getDunder = callBindBasic(items);
|
||||
}
|
||||
module.exports = getDunder;
|
||||
}
|
||||
getDunder = typeof getPrototypeOf === "function";
|
||||
if (typeof getPrototypeOf === "function") {
|
||||
getDunder = function getDunder(arg0) {
|
||||
let tmp2 = arg0;
|
||||
if (null != arg0) {
|
||||
tmp2 = Object(arg0);
|
||||
}
|
||||
return getPrototypeOf(tmp2);
|
||||
};
|
||||
}
|
||||
} catch (tmp2) {
|
||||
throw tmp2;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
// Module ID: 1291
|
||||
// Function ID: 1292
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1291
|
||||
|
||||
export default Object;
|
||||
|
|
@ -1,39 +1,19 @@
|
|||
// Module ID: 1292
|
||||
// Function ID: 1293
|
||||
// Dependencies: [1284, 1293]
|
||||
// Dependencies: [1293, 1294, 1296, 1297]
|
||||
|
||||
// Module 1292
|
||||
import _mod1284 from "module_1284" /* 1284 */;
|
||||
import callBindBasic from "callBindBasic" /* 1293 */;
|
||||
import bind from "bind" /* 1294 */;
|
||||
import _mod1296 from "module_1296" /* 1296 */;
|
||||
import _mod1297 from "module_1297" /* 1297 */;
|
||||
import apply from "module_1293" /* 1293 */;
|
||||
|
||||
try {
|
||||
const _Array = Array;
|
||||
let _module = [].__proto__ === Array.prototype;
|
||||
if (_module) {
|
||||
_module = _mod1284;
|
||||
}
|
||||
if (_module) {
|
||||
const _Object = Object;
|
||||
_module = _mod1284(Object.prototype, "__proto__");
|
||||
}
|
||||
const _Object2 = Object;
|
||||
if (_module) {
|
||||
if (typeof _module.get === "function") {
|
||||
const items = [_module.get];
|
||||
let getDunder = callBindBasic(items);
|
||||
}
|
||||
module.exports = getDunder;
|
||||
}
|
||||
getDunder = typeof getPrototypeOf === "function";
|
||||
if (typeof getPrototypeOf === "function") {
|
||||
getDunder = function getDunder(arg0) {
|
||||
let tmp2 = arg0;
|
||||
if (null != arg0) {
|
||||
tmp2 = Object(arg0);
|
||||
}
|
||||
return getPrototypeOf(tmp2);
|
||||
};
|
||||
}
|
||||
} catch (tmp2) {
|
||||
throw tmp2;
|
||||
if (apply) {
|
||||
module.exports = apply;
|
||||
} else {
|
||||
const _module1 = bind;
|
||||
const call = _module1.call;
|
||||
const _module2 = _mod1296;
|
||||
const _module3 = _mod1297;
|
||||
typeof call === "unknown" ? _module1(_module3) : call(_module2, _module3);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
// Module ID: 1295
|
||||
// Function ID: 1296
|
||||
// Module ID: 1293
|
||||
// Function ID: 1294
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1295
|
||||
// Module 1293
|
||||
let apply = typeof Reflect !== "undefined";
|
||||
if (typeof Reflect !== "undefined") {
|
||||
apply = Reflect;
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// Module ID: 1294
|
||||
// Function ID: 1295
|
||||
// Dependencies: [1295, 1296, 1298, 1299]
|
||||
|
||||
// Module 1294
|
||||
import bind from "bind" /* 1296 */;
|
||||
import _mod1298 from "module_1298" /* 1298 */;
|
||||
import _mod1299 from "module_1299" /* 1299 */;
|
||||
import apply from "module_1295" /* 1295 */;
|
||||
|
||||
if (apply) {
|
||||
module.exports = apply;
|
||||
} else {
|
||||
const _module1 = bind;
|
||||
const call = _module1.call;
|
||||
const _module2 = _mod1298;
|
||||
const _module3 = _mod1299;
|
||||
typeof call === "unknown" ? _module1(_module3) : call(_module2, _module3);
|
||||
}
|
||||
7
source/__polyfill/01xxx/module_1296.js
Normal file
7
source/__polyfill/01xxx/module_1296.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// Module ID: 1296
|
||||
// Function ID: 1297
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1296
|
||||
|
||||
export default Function.prototype.call;
|
||||
7
source/__polyfill/01xxx/module_1297.js
Normal file
7
source/__polyfill/01xxx/module_1297.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// Module ID: 1297
|
||||
// Function ID: 1298
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1297
|
||||
|
||||
export default Function.prototype.apply;
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1298
|
||||
|
||||
export default Function.prototype.call;
|
||||
export default Error;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1299
|
||||
|
||||
export default Function.prototype.apply;
|
||||
export default EvalError;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1300
|
||||
|
||||
export default Error;
|
||||
export default RangeError;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1301
|
||||
|
||||
export default EvalError;
|
||||
export default ReferenceError;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1302
|
||||
|
||||
export default RangeError;
|
||||
export default SyntaxError;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1303
|
||||
|
||||
export default ReferenceError;
|
||||
export default URIError;
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
// Module ID: 1304
|
||||
// Function ID: 1305
|
||||
// Dependencies: []
|
||||
|
||||
// Module 1304
|
||||
|
||||
export default SyntaxError;
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
// Module 1305
|
||||
|
||||
export default URIError;
|
||||
export default Math.abs;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue