chore: update source for alpha 348.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
This commit is contained in:
parent
3066ce369d
commit
45f5884862
19309 changed files with 724614 additions and 720493 deletions
10925
alpha/source.jsonl
10925
alpha/source.jsonl
File diff suppressed because it is too large
Load diff
|
|
@ -25,7 +25,7 @@ import "Constants";
|
|||
const ME = RouteConstants.ME;
|
||||
({ Routes, FAVORITES, NOTIFICATIONS_INBOX, EMPTY_NUX_SERVER, MOBILE_GUILD_UPSELL_LIST } = RouteConstants);
|
||||
let Constants = Constants_mod;
|
||||
const frozen = Object.freeze({ SUPPRESS_JOIN_NOTIFICATIONS: 1, SUPPRESS_PREMIUM_SUBSCRIPTIONS: 2, SUPPRESS_GUILD_REMINDER_NOTIFICATIONS: 4, SUPPRESS_JOIN_NOTIFICATION_REPLIES: 8, SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATIONS: 16, SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES: 32, SUPPRESS_CHANNEL_PROMPT_DEADCHAT: 128, SUPPRESS_VOICE_SESSION_NOTIFICATIONS: 512, SUPPRESS_GUILD_SPACE_WHITEBOARD_NOTIFICATIONS: 2048 });
|
||||
const frozen = Object.freeze({ SUPPRESS_JOIN_NOTIFICATIONS: 1, SUPPRESS_PREMIUM_SUBSCRIPTIONS: 2, SUPPRESS_GUILD_REMINDER_NOTIFICATIONS: 4, SUPPRESS_JOIN_NOTIFICATION_REPLIES: 8, SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATIONS: 16, SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES: 32, SUPPRESS_CHANNEL_PROMPT_DEADCHAT: 128, SUPPRESS_VOICE_SESSION_NOTIFICATIONS: 512, SUPPRESS_GAMING_LEADERBOARD_NOTIFICATIONS: 1024, SUPPRESS_GUILD_SPACE_WHITEBOARD_NOTIFICATIONS: 2048 });
|
||||
const items = [MessageTypes.MessageTypes.REPLY, MessageTypes.MessageTypes.THREAD_STARTER_MESSAGE, MessageTypes.MessageTypes.CONTEXT_MENU_COMMAND];
|
||||
const ActivityActionTypes = { JOIN: 1, [1]: "JOIN", LISTEN: 3, [3]: "LISTEN", WATCH: 4, [4]: "WATCH", JOIN_REQUEST: 5, [5]: "JOIN_REQUEST", STREAM_REQUEST: 6, [6]: "STREAM_REQUEST" };
|
||||
const frozen1 = Object.freeze({ ACCOUNT_AGE: 5, MEMBER_AGE: 10 });
|
||||
|
|
@ -1037,6 +1037,11 @@ const frozen2 = Object.freeze({
|
|||
BILLING_GIFT_CARD_VIEW: "/billing/gift-card/view",
|
||||
BILLING_GIFT_CARD_REDEEM: "/billing/gift-card/redeem",
|
||||
BILLING_STORE_COUNTRY: "/billing/store-country",
|
||||
BILLING_PAST_DUE_PAYMENT_INVOICE: "/billing/past-due-payment/invoice",
|
||||
BILLING_PAST_DUE_PAYMENT_PAY: "/billing/past-due-payment/pay",
|
||||
BILLING_PAST_DUE_PAYMENT_SETUP_INTENT: "/billing/past-due-payment/setup-intent",
|
||||
BILLING_PAST_DUE_PAYMENT_VALIDATE_BILLING_ADDRESS: "/billing/past-due-payment/validate-billing-address",
|
||||
BILLING_PAST_DUE_PAYMENT_PAYMENT_SOURCE: "/billing/past-due-payment/payment-source",
|
||||
PREMIUM_GROUP_MEMBERSHIP: "/users/@me/premium-group/membership",
|
||||
PREMIUM_GROUP_INVITES: "/users/@me/premium-group/invites",
|
||||
PREMIUM_GROUP_INVITE(arg0) {
|
||||
|
|
@ -1827,9 +1832,6 @@ const frozen2 = Object.freeze({
|
|||
},
|
||||
EXPLICIT_MEDIA_REPORT_FALSE_POSITIVE: "/attachments/report-false-positive",
|
||||
EXPLICIT_MEDIA_SENDER_REPORT_FALSE_POSITIVE: "/attachments/sender-report-false-positive",
|
||||
BULK_GUILD_BAN(arg0) {
|
||||
return "/guilds/" + arg0 + "/bulk-ban";
|
||||
},
|
||||
BULK_GUILD_BAN_V2(arg0) {
|
||||
return "/guilds/" + arg0 + "/bulk-ban/v2";
|
||||
},
|
||||
|
|
@ -3054,6 +3056,11 @@ const obj2 = {
|
|||
BILLING_GIFT_CARD_VIEW: "/billing/gift-card/view",
|
||||
BILLING_GIFT_CARD_REDEEM: "/billing/gift-card/redeem",
|
||||
BILLING_STORE_COUNTRY: "/billing/store-country",
|
||||
BILLING_PAST_DUE_PAYMENT_INVOICE: "/billing/past-due-payment/invoice",
|
||||
BILLING_PAST_DUE_PAYMENT_PAY: "/billing/past-due-payment/pay",
|
||||
BILLING_PAST_DUE_PAYMENT_SETUP_INTENT: "/billing/past-due-payment/setup-intent",
|
||||
BILLING_PAST_DUE_PAYMENT_VALIDATE_BILLING_ADDRESS: "/billing/past-due-payment/validate-billing-address",
|
||||
BILLING_PAST_DUE_PAYMENT_PAYMENT_SOURCE: "/billing/past-due-payment/payment-source",
|
||||
PREMIUM_GROUP_MEMBERSHIP: "/users/@me/premium-group/membership",
|
||||
PREMIUM_GROUP_INVITES: "/users/@me/premium-group/invites",
|
||||
PREMIUM_GROUP_INVITE(arg0) {
|
||||
|
|
@ -3844,9 +3851,6 @@ const obj2 = {
|
|||
},
|
||||
EXPLICIT_MEDIA_REPORT_FALSE_POSITIVE: "/attachments/report-false-positive",
|
||||
EXPLICIT_MEDIA_SENDER_REPORT_FALSE_POSITIVE: "/attachments/sender-report-false-positive",
|
||||
BULK_GUILD_BAN(arg0) {
|
||||
return "/guilds/" + arg0 + "/bulk-ban";
|
||||
},
|
||||
BULK_GUILD_BAN_V2(arg0) {
|
||||
return "/guilds/" + arg0 + "/bulk-ban/v2";
|
||||
},
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export const Base64PNGPrefix = "data:image/png;base64,";
|
|||
export const Base64GIFPrefix = "data:image/gif;base64,";
|
||||
export const Base64AVIFPrefix = "data:image/avif;base64,";
|
||||
export const Base64WEBPPrefix = "data:image/webp;base64,";
|
||||
export const LinkingTypes = { INVITE: "invite", GUILD_TEMPLATE: "guild-template", CHANNEL: "channel", GIFT_CODE: "gift-code", MESSAGE: "message", OAUTH2_AUTHORIZE: "oauth2-authorize", ONE_TIME_LOGIN: "one-time-login", APP_DIRECTORY_PROFILE: "app-directory-profile", PROMOTIONS: "promotions", FEATURE_PROMO_URL: "promo-url", NONE: "none", REMOTE_AUTH: "remote-auth", USER_PROFILE: "user-profile", BUILD_OVERRIDE: "build-override", CONTACT_SYNC: "contact-sync", ADD_FRIENDS: "add-friends", COMPOSE_MESSAGE: "compose-message", GUILD_EVENT_DETAILS: "guild-event-details", FRIENDS: "friends", EDIT_PROFILE: "edit-profile", MOBILE_WEB_HANDOFF: "mobile-web-handoff", USER_CONNECTIONS_CALLBACK: "user-connections-callback", VOICE_CHANNEL: "voice-channel", GUILD_HOME: "guild-home", USER_CONNECTIONS_LINK_CALLBACK: "user-connections-link-callback", SESSION_MANAGEMENT: "session-management", CONNECTIONS: "connections", GUILD_SETTINGS: "guild-settings", GUILD_SETTINGS_PICKER: "guild-settings-picker", ACTIVATE_DEVICE: "activate-device", FAMILY_CENTER: "family-center", SHARE: "share", CREATE_VOICE_INVITE: "create_voice_invite", SEND_VOICE_HANGOUT_WAVE: "send_voice_hangout_wave", ACCOUNT_STANDING: "account-standing", MOBILE_NATIVE_UPDATE: "mobile-native-update", SHOP: "shop", MOBILE_WEB_REDIRECT_CHECKOUT: "mobile-web-redirect-checkout", AUTHORIZED_APPS: "authorized-apps", DAVE_PROTOCOL_VERIFICATION: "dave-protocol-verification", ICYMI: "icymi", QUESTS: "quests", GIFT: "gift", NITRO_HOME: "store", ACTIVITY: "activity", CONNECTED_GAMES: "connected-games", BOOST_MARKETING: "boost-marketing", BOOST_SETTINGS: "boost-settings", QUEST_PREVIEW_TOOL: "quest-preview-tool", QUEST_HOME_PREVIEW: "quest-home-preview", QUEST_BAR_PREVIEW: "quest-bar-preview", SUBSCRIPTION_SETTINGS: "subscription-settings", ROLL_DICE: "roll-dice", GAME_PROFILE: "game-profile", MESSAGE_REQUESTS: "message-requests" };
|
||||
export const LinkingTypes = { INVITE: "invite", GUILD_TEMPLATE: "guild-template", CHANNEL: "channel", GIFT_CODE: "gift-code", MESSAGE: "message", OAUTH2_AUTHORIZE: "oauth2-authorize", ONE_TIME_LOGIN: "one-time-login", APP_DIRECTORY_PROFILE: "app-directory-profile", PROMOTIONS: "promotions", FEATURE_PROMO_URL: "promo-url", NONE: "none", REMOTE_AUTH: "remote-auth", USER_PROFILE: "user-profile", BUILD_OVERRIDE: "build-override", CONTACT_SYNC: "contact-sync", ADD_FRIENDS: "add-friends", COMPOSE_MESSAGE: "compose-message", GUILD_EVENT_DETAILS: "guild-event-details", FRIENDS: "friends", EDIT_PROFILE: "edit-profile", MOBILE_WEB_HANDOFF: "mobile-web-handoff", USER_CONNECTIONS_CALLBACK: "user-connections-callback", VOICE_CHANNEL: "voice-channel", GUILD_HOME: "guild-home", USER_CONNECTIONS_LINK_CALLBACK: "user-connections-link-callback", SESSION_MANAGEMENT: "session-management", CONNECTIONS: "connections", GUILD_SETTINGS: "guild-settings", GUILD_SETTINGS_PICKER: "guild-settings-picker", ACTIVATE_DEVICE: "activate-device", FAMILY_CENTER: "family-center", SHARE: "share", CREATE_VOICE_INVITE: "create_voice_invite", SEND_VOICE_HANGOUT_WAVE: "send_voice_hangout_wave", ACCOUNT_STANDING: "account-standing", MOBILE_NATIVE_UPDATE: "mobile-native-update", SHOP: "shop", MOBILE_WEB_REDIRECT_CHECKOUT: "mobile-web-redirect-checkout", AUTHORIZED_APPS: "authorized-apps", DAVE_PROTOCOL_VERIFICATION: "dave-protocol-verification", ICYMI: "icymi", QUESTS: "quests", GIFT: "gift", NITRO_HOME: "store", ACTIVITY: "activity", CONNECTED_GAMES: "connected-games", BOOST_MARKETING: "boost-marketing", BOOST_SETTINGS: "boost-settings", QUEST_PREVIEW_TOOL: "quest-preview-tool", QUEST_HOME_PREVIEW: "quest-home-preview", QUEST_BAR_PREVIEW: "quest-bar-preview", SUBSCRIPTION_SETTINGS: "subscription-settings", ROLL_DICE: "roll-dice", GAME_PROFILE: "game-profile", MESSAGE_REQUESTS: "message-requests", AGE_VERIFICATION_AGEKEY_RETURN: "agekey-return" };
|
||||
export const ActivityPartyApplicationNames = { spotify: "Spotify" };
|
||||
export const CACHE_STORE_LAZY_KEY = "CacheStoreLazy";
|
||||
export const CACHE_STORE_CHANNELS_LAZY_KEY = "CacheStoreChannelsLazy";
|
||||
|
|
|
|||
|
|
@ -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: "Array", width: "paddingHorizontal", height: "pos" };
|
||||
let closure_8 = { uri: "Array", width: "paddingHorizontal", height: "container" };
|
||||
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 == f73427) {
|
||||
if (null == f73620) {
|
||||
let str = dbName.dbName;
|
||||
if (!str) {
|
||||
str = "sentry-offline";
|
||||
|
|
@ -154,12 +154,12 @@ function createIndexedDbStore(arg0) {
|
|||
closure_0.onerror = fn2;
|
||||
closure_0.onabort = fn2;
|
||||
});
|
||||
f73427 = (arg0) => {
|
||||
f73620 = (arg0) => {
|
||||
closure_0 = arg0;
|
||||
return promise.then((transaction) => closure_0(transaction.transaction(openResult, "readwrite").objectStore(openResult)));
|
||||
};
|
||||
}
|
||||
return f73427;
|
||||
return f73620;
|
||||
}
|
||||
const obj = { push: null, unshift: null, shift: null };
|
||||
closure_4 = asyncGeneratorStep(async (arg0, value) => {
|
||||
|
|
|
|||
|
|
@ -1,174 +0,0 @@
|
|||
// Module ID: 4368
|
||||
// Function ID: 4369
|
||||
// Name: _
|
||||
// Dependencies: [4348]
|
||||
|
||||
// Module 4368 (_)
|
||||
import _mod4348 from "module_4348" /* 4348 */;
|
||||
|
||||
const fn = function _(moment) {
|
||||
function relativeTimeWithPlural(arg0, arg1, arg2) {
|
||||
if ("m" === arg2) {
|
||||
let str5 = "\u043C\u0438\u043D\u0443\u0442\u0443";
|
||||
if (arg1) {
|
||||
str5 = "\u043C\u0438\u043D\u0443\u0442\u0430";
|
||||
}
|
||||
let sum = str5;
|
||||
} else {
|
||||
let str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
const text = `${arg0} `;
|
||||
if (arg1) {
|
||||
str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
}
|
||||
const obj = { ss: str, mm: null, hh: "\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432", dd: "\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439", ww: "\u043D\u0435\u0434\u0435\u043B\u044F_\u043D\u0435\u0434\u0435\u043B\u0438_\u043D\u0435\u0434\u0435\u043B\u044C", MM: "\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432", yy: "\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442" };
|
||||
let str2 = "\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
if (arg1) {
|
||||
str2 = "\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
}
|
||||
obj.mm = str2;
|
||||
const parts = obj[arg2].split("_");
|
||||
const result = tmp % 10;
|
||||
if (result === 1) {
|
||||
if (tmp % 100 !== 11) {
|
||||
let first = parts[0];
|
||||
}
|
||||
sum = text + first;
|
||||
}
|
||||
if (2 <= result) {
|
||||
if (result <= 4) {
|
||||
const result1 = tmp % 100;
|
||||
first = parts[1];
|
||||
}
|
||||
}
|
||||
first = parts[2];
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
const items = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
|
||||
let obj = { months: { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") }, monthsShort: null, weekdays: null, weekdaysShort: null, weekdaysMin: null, monthsParse: null, longMonthsParse: null, shortMonthsParse: null, monthsRegex: null, monthsShortRegex: null, monthsStrictRegex: null, monthsShortStrictRegex: null, longDateFormat: null, calendar: null, relativeTime: null, meridiemParse: null, isPM: null, meridiem: null, dayOfMonthOrdinalParse: null, ordinal: null, week: null };
|
||||
const obj2 = { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") };
|
||||
obj.monthsShort = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
const obj3 = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
obj.weekdays = { standalone: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"), format: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/ };
|
||||
obj.weekdaysShort = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.weekdaysMin = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.monthsParse = items;
|
||||
obj.longMonthsParse = items;
|
||||
obj.shortMonthsParse = items;
|
||||
obj.monthsRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsShortRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsStrictRegex = /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i;
|
||||
obj.monthsShortStrictRegex = /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i;
|
||||
obj.longDateFormat = { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY \u0433.", LLL: "D MMMM YYYY \u0433., H:mm", LLLL: "dddd, D MMMM YYYY \u0433., H:mm" };
|
||||
obj.calendar = {
|
||||
sameDay: "[\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432] LT",
|
||||
nextDay: "[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",
|
||||
lastDay: "[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",
|
||||
nextWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
lastWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
sameElse: "L"
|
||||
};
|
||||
obj.relativeTime = { future: "\u0447\u0435\u0440\u0435\u0437 %s", past: "%s \u043D\u0430\u0437\u0430\u0434", s: "\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434", ss: relativeTimeWithPlural, m: relativeTimeWithPlural, mm: relativeTimeWithPlural, h: "\u0447\u0430\u0441", hh: relativeTimeWithPlural, d: "\u0434\u0435\u043D\u044C", dd: relativeTimeWithPlural, w: "\u043D\u0435\u0434\u0435\u043B\u044F", ww: relativeTimeWithPlural, M: "\u043C\u0435\u0441\u044F\u0446", MM: relativeTimeWithPlural, y: "\u0433\u043E\u0434", yy: relativeTimeWithPlural };
|
||||
obj.meridiemParse = /ночи|утра|дня|вечера/i;
|
||||
obj.isPM = function isPM(arg0) {
|
||||
return /^(дня|вечера)$/.test(arg0);
|
||||
};
|
||||
obj.meridiem = function meridiem(arg0, arg1, arg2) {
|
||||
let str = "\u043D\u043E\u0447\u0438";
|
||||
if (arg0 >= 4) {
|
||||
let str2 = "\u0443\u0442\u0440\u0430";
|
||||
if (arg0 >= 12) {
|
||||
let str3 = "\u0432\u0435\u0447\u0435\u0440\u0430";
|
||||
if (arg0 < 17) {
|
||||
str3 = "\u0434\u043D\u044F";
|
||||
}
|
||||
str2 = str3;
|
||||
}
|
||||
str = str2;
|
||||
}
|
||||
return str;
|
||||
};
|
||||
obj.dayOfMonthOrdinalParse = /\d{1,2}-(й|го|я)/;
|
||||
obj.ordinal = function ordinal(arg0, arg1) {
|
||||
if ("M" !== arg1) {
|
||||
if ("d" !== arg1) {
|
||||
if ("DDD" !== arg1) {
|
||||
if ("D" === arg1) {
|
||||
return arg0 + "-\u0433\u043E";
|
||||
} else {
|
||||
if ("w" !== arg1) {
|
||||
if ("W" !== arg1) {
|
||||
return arg0;
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u044F";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u0439";
|
||||
};
|
||||
obj.week = { dow: 1, doy: 4 };
|
||||
return moment.defineLocale("ru", obj);
|
||||
};
|
||||
if (typeof exports === "object") {
|
||||
if (undefined !== module) {
|
||||
if (typeof require === "function") {
|
||||
fn(_mod4348);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
174
alpha/source/__helpers/04xxx/4434__.js
Normal file
174
alpha/source/__helpers/04xxx/4434__.js
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
// Module ID: 4434
|
||||
// Function ID: 4435
|
||||
// Name: _
|
||||
// Dependencies: [4414]
|
||||
|
||||
// Module 4434 (_)
|
||||
import _mod4414 from "module_4414" /* 4414 */;
|
||||
|
||||
const fn = function _(moment) {
|
||||
function relativeTimeWithPlural(arg0, arg1, arg2) {
|
||||
if ("m" === arg2) {
|
||||
let str5 = "\u043C\u0438\u043D\u0443\u0442\u0443";
|
||||
if (arg1) {
|
||||
str5 = "\u043C\u0438\u043D\u0443\u0442\u0430";
|
||||
}
|
||||
let sum = str5;
|
||||
} else {
|
||||
let str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
const text = `${arg0} `;
|
||||
if (arg1) {
|
||||
str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
}
|
||||
const obj = { ss: str, mm: null, hh: "\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432", dd: "\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439", ww: "\u043D\u0435\u0434\u0435\u043B\u044F_\u043D\u0435\u0434\u0435\u043B\u0438_\u043D\u0435\u0434\u0435\u043B\u044C", MM: "\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432", yy: "\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442" };
|
||||
let str2 = "\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
if (arg1) {
|
||||
str2 = "\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
}
|
||||
obj.mm = str2;
|
||||
const parts = obj[arg2].split("_");
|
||||
const result = tmp % 10;
|
||||
if (result === 1) {
|
||||
if (tmp % 100 !== 11) {
|
||||
let first = parts[0];
|
||||
}
|
||||
sum = text + first;
|
||||
}
|
||||
if (2 <= result) {
|
||||
if (result <= 4) {
|
||||
const result1 = tmp % 100;
|
||||
first = parts[1];
|
||||
}
|
||||
}
|
||||
first = parts[2];
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
const items = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
|
||||
let obj = { months: { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") }, monthsShort: null, weekdays: null, weekdaysShort: null, weekdaysMin: null, monthsParse: null, longMonthsParse: null, shortMonthsParse: null, monthsRegex: null, monthsShortRegex: null, monthsStrictRegex: null, monthsShortStrictRegex: null, longDateFormat: null, calendar: null, relativeTime: null, meridiemParse: null, isPM: null, meridiem: null, dayOfMonthOrdinalParse: null, ordinal: null, week: null };
|
||||
const obj2 = { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") };
|
||||
obj.monthsShort = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
const obj3 = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
obj.weekdays = { standalone: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"), format: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/ };
|
||||
obj.weekdaysShort = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.weekdaysMin = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.monthsParse = items;
|
||||
obj.longMonthsParse = items;
|
||||
obj.shortMonthsParse = items;
|
||||
obj.monthsRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsShortRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsStrictRegex = /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i;
|
||||
obj.monthsShortStrictRegex = /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i;
|
||||
obj.longDateFormat = { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY \u0433.", LLL: "D MMMM YYYY \u0433., H:mm", LLLL: "dddd, D MMMM YYYY \u0433., H:mm" };
|
||||
obj.calendar = {
|
||||
sameDay: "[\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432] LT",
|
||||
nextDay: "[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",
|
||||
lastDay: "[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",
|
||||
nextWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
lastWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
sameElse: "L"
|
||||
};
|
||||
obj.relativeTime = { future: "\u0447\u0435\u0440\u0435\u0437 %s", past: "%s \u043D\u0430\u0437\u0430\u0434", s: "\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434", ss: relativeTimeWithPlural, m: relativeTimeWithPlural, mm: relativeTimeWithPlural, h: "\u0447\u0430\u0441", hh: relativeTimeWithPlural, d: "\u0434\u0435\u043D\u044C", dd: relativeTimeWithPlural, w: "\u043D\u0435\u0434\u0435\u043B\u044F", ww: relativeTimeWithPlural, M: "\u043C\u0435\u0441\u044F\u0446", MM: relativeTimeWithPlural, y: "\u0433\u043E\u0434", yy: relativeTimeWithPlural };
|
||||
obj.meridiemParse = /ночи|утра|дня|вечера/i;
|
||||
obj.isPM = function isPM(arg0) {
|
||||
return /^(дня|вечера)$/.test(arg0);
|
||||
};
|
||||
obj.meridiem = function meridiem(arg0, arg1, arg2) {
|
||||
let str = "\u043D\u043E\u0447\u0438";
|
||||
if (arg0 >= 4) {
|
||||
let str2 = "\u0443\u0442\u0440\u0430";
|
||||
if (arg0 >= 12) {
|
||||
let str3 = "\u0432\u0435\u0447\u0435\u0440\u0430";
|
||||
if (arg0 < 17) {
|
||||
str3 = "\u0434\u043D\u044F";
|
||||
}
|
||||
str2 = str3;
|
||||
}
|
||||
str = str2;
|
||||
}
|
||||
return str;
|
||||
};
|
||||
obj.dayOfMonthOrdinalParse = /\d{1,2}-(й|го|я)/;
|
||||
obj.ordinal = function ordinal(arg0, arg1) {
|
||||
if ("M" !== arg1) {
|
||||
if ("d" !== arg1) {
|
||||
if ("DDD" !== arg1) {
|
||||
if ("D" === arg1) {
|
||||
return arg0 + "-\u0433\u043E";
|
||||
} else {
|
||||
if ("w" !== arg1) {
|
||||
if ("W" !== arg1) {
|
||||
return arg0;
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u044F";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u0439";
|
||||
};
|
||||
obj.week = { dow: 1, doy: 4 };
|
||||
return moment.defineLocale("ru", obj);
|
||||
};
|
||||
if (typeof exports === "object") {
|
||||
if (undefined !== module) {
|
||||
if (typeof require === "function") {
|
||||
fn(_mod4414);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
|
|
@ -1,438 +0,0 @@
|
|||
// Module ID: 4518
|
||||
// Function ID: 4519
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4490]
|
||||
|
||||
// Module 4518 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4490).NitroModules;
|
||||
NitroModules.createHybridObject("RiveFileFactory");
|
||||
let obj = {};
|
||||
let closure_0 = async function _fromURL(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let asyncGeneratorStep = function _fromFileURL() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromFileURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
const Image = async function _fromResource(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromResource(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_3 = async function _fromBytes(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromBytes(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _fromSource(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp6 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c8 = 2;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp3;
|
||||
closure_3 = tmp7;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
closure_131_6 = undefined;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (1 === tmp7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp70 = null;
|
||||
if (typeof closure_131_0 === "number") {
|
||||
tmp70 = closure_131_0;
|
||||
}
|
||||
closure_131_3 = tmp70;
|
||||
let uri = null;
|
||||
if (typeof closure_131_0 === "object") {
|
||||
uri = closure_131_0.uri;
|
||||
}
|
||||
closure_131_4 = uri;
|
||||
if (closure_131_3) {
|
||||
const assetSource = closure_2.resolveAssetSource(closure_131_3);
|
||||
let uri1;
|
||||
if (assetSource != null) {
|
||||
uri1 = assetSource.uri;
|
||||
}
|
||||
let tmp25 = uri1;
|
||||
} else {
|
||||
tmp25 = closure_131_4;
|
||||
}
|
||||
closure_131_5 = tmp25;
|
||||
if (closure_131_5) {
|
||||
c6 = 1;
|
||||
if (closure_131_5.match(/https?:\/\//)) {
|
||||
closure_0.fromURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else if (closure_131_5.match(/file:\/\//)) {
|
||||
obj.fromFileURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else {
|
||||
obj.fromResource(closure_131_5, closure_131_1, closure_131_2);
|
||||
}
|
||||
c6 = 0;
|
||||
c8 = 3;
|
||||
} else {
|
||||
const _Error3 = Error;
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
const error = new Error("Invalid source: could not resolve asset " + closure_131_0 + ". Ensure 'riv' is in metro.config.js assetExts.");
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
closure_131_7 = closure_5;
|
||||
const _Error = Error;
|
||||
if (closure_131_7 instanceof Error) {
|
||||
let message = closure_131_7.message;
|
||||
} else {
|
||||
const _String = String;
|
||||
message = String(closure_131_7);
|
||||
}
|
||||
closure_131_6 = message;
|
||||
const _Error2 = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error1 = new Error("Failed to load Rive file from source: " + closure_131_6);
|
||||
throw error1;
|
||||
}
|
||||
} catch (tmp59) {
|
||||
closure_5 = tmp59;
|
||||
if (tmp4 === c6) {
|
||||
c8 = tmp2;
|
||||
throw tmp59;
|
||||
} else {
|
||||
c7 = tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
obj.fromURL = function fromURL(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_0.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromFileURL = function fromFileURL(arg0) {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromResource = function fromResource(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_2.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromBytes = function fromBytes(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromSource = function fromSource(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveFileFactory = obj;
|
||||
|
|
@ -1,388 +0,0 @@
|
|||
// Module ID: 4533
|
||||
// Function ID: 4534
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4513, 4527]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4533 (_temp2)
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const require = fn;
|
||||
function _temp2(arg0) {
|
||||
return arg0 + 1;
|
||||
}
|
||||
function _temp(dispose) {
|
||||
let disposeResult;
|
||||
if (dispose != null) {
|
||||
disposeResult = dispose.dispose();
|
||||
}
|
||||
return disposeResult;
|
||||
}
|
||||
const noop = fn(19);
|
||||
({ useCallback, useEffect: c3, useState: closure_4, useMemo } = noop);
|
||||
|
||||
export const useRiveList = function useRiveList(arg0, arg1) {
|
||||
_require = arg0;
|
||||
dependencyMap = arg1;
|
||||
const cResult = require("c").c(39);
|
||||
let obj = require("c");
|
||||
let tmp = _require;
|
||||
[tmp5, _slicedToArray] = disposableMemo(null);
|
||||
const tmp4 = _slicedToArray(disposableMemo(null), 2);
|
||||
[r10021, closure_3] = disposableMemo(0);
|
||||
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
||||
const fn = function o() {
|
||||
_slicedToArray(null);
|
||||
};
|
||||
cResult[0] = fn;
|
||||
let first = fn;
|
||||
} else {
|
||||
first = cResult[0];
|
||||
}
|
||||
if (cResult[1] === arg0) {
|
||||
if (cResult[2] === arg1) {
|
||||
let tmp8 = cResult[3];
|
||||
}
|
||||
closure_3(first, tmp8);
|
||||
if (cResult[4] === arg0) {
|
||||
if (cResult[5] === arg1) {
|
||||
let tmp11 = cResult[6];
|
||||
}
|
||||
if (cResult[7] === arg0) {
|
||||
if (cResult[8] === arg1) {
|
||||
let tmp12 = cResult[9];
|
||||
}
|
||||
disposableMemo = tmp(4527).useDisposableMemo(tmp11, _temp, tmp12);
|
||||
if (cResult[10] === arg0) {
|
||||
if (cResult[11] === disposableMemo) {
|
||||
if (cResult[12] === arg1) {
|
||||
let tmp15 = cResult[13];
|
||||
let tmp16 = cResult[14];
|
||||
}
|
||||
tmp9(tmp15, tmp16);
|
||||
if (cResult[15] !== disposableMemo) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const items = [disposableMemo];
|
||||
cResult[15] = disposableMemo;
|
||||
cResult[16] = M;
|
||||
cResult[17] = items;
|
||||
let tmp19 = items;
|
||||
const tmp18 = M;
|
||||
} else {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
tmp19 = cResult[17];
|
||||
}
|
||||
tmp9(tmp18, tmp19);
|
||||
if (disposableMemo != null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (undefined == null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[18] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[18] = disposableMemo;
|
||||
cResult[19] = R;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[20] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[20] = disposableMemo;
|
||||
cResult[21] = tmp24;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[22] !== disposableMemo) {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
cResult[22] = disposableMemo;
|
||||
cResult[23] = C;
|
||||
} else {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[24] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[24] = disposableMemo;
|
||||
cResult[25] = O;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[26] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[26] = disposableMemo;
|
||||
cResult[27] = tmp28;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[28] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[28] = disposableMemo;
|
||||
cResult[29] = tmp30;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[30] === tmp23) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const obj2 = { length: undefined, getInstanceAt: tmp22, addInstance: tmp23, addInstanceAt: tmp25, removeInstance: tmp26, removeInstanceAt: tmp27, swap: tmp29, error: tmp5 };
|
||||
cResult[30] = tmp23;
|
||||
cResult[31] = tmp25;
|
||||
cResult[32] = tmp5;
|
||||
cResult[33] = tmp22;
|
||||
cResult[34] = undefined;
|
||||
cResult[35] = tmp26;
|
||||
cResult[36] = tmp27;
|
||||
cResult[37] = tmp29;
|
||||
cResult[38] = obj2;
|
||||
}
|
||||
}
|
||||
const fn3 = function b() {
|
||||
let tmp = closure_1;
|
||||
if (closure_1) {
|
||||
tmp = !disposableMemo;
|
||||
}
|
||||
if (tmp) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("List property \"" + closure_0 + "\" not found in the ViewModel instance");
|
||||
_slicedToArray(error);
|
||||
}
|
||||
};
|
||||
const items1 = [arg1, disposableMemo, arg0];
|
||||
cResult[10] = arg0;
|
||||
cResult[11] = disposableMemo;
|
||||
cResult[12] = arg1;
|
||||
cResult[13] = fn3;
|
||||
cResult[14] = items1;
|
||||
tmp16 = items1;
|
||||
tmp15 = fn3;
|
||||
const tmpResult = tmp(4527);
|
||||
}
|
||||
const items2 = [arg1, arg0];
|
||||
cResult[7] = arg0;
|
||||
cResult[8] = arg1;
|
||||
cResult[9] = items2;
|
||||
tmp12 = items2;
|
||||
}
|
||||
const fn2 = function v() {
|
||||
if (closure_1) {
|
||||
return obj.listProperty(closure_0);
|
||||
}
|
||||
obj = closure_1;
|
||||
};
|
||||
cResult[4] = arg0;
|
||||
cResult[5] = arg1;
|
||||
cResult[6] = fn2;
|
||||
tmp11 = fn2;
|
||||
}
|
||||
const items3 = [arg0, arg1];
|
||||
cResult[1] = arg0;
|
||||
cResult[2] = arg1;
|
||||
cResult[3] = items3;
|
||||
tmp8 = items3;
|
||||
};
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
// Module ID: 4536
|
||||
// Function ID: 4537
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4490]
|
||||
|
||||
// Module 4536 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4490).NitroModules;
|
||||
let closure_1 = NitroModules.createHybridObject("RiveRuntime");
|
||||
let asyncGeneratorStep = function _initialize() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj4 = { value: tmp4.initialize(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else if (tmp4.isInitialized) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
} else {
|
||||
const initError = tmp4.initError;
|
||||
c0 = initError;
|
||||
if (initError == null) {
|
||||
c0 = "Unknown error";
|
||||
}
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Rive initialization failed: " + c0);
|
||||
throw error;
|
||||
}
|
||||
} catch (tmp15) {
|
||||
c3 = tmp;
|
||||
throw tmp15;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveRuntime = {
|
||||
initialize() {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
},
|
||||
getStatus() {
|
||||
const obj = { isInitialized: closure_1.isInitialized, error: null };
|
||||
const initError = closure_1.initError;
|
||||
obj.error = initError;
|
||||
return obj;
|
||||
}
|
||||
};
|
||||
438
alpha/source/__helpers/04xxx/4584__fromURL.js
Normal file
438
alpha/source/__helpers/04xxx/4584__fromURL.js
Normal file
|
|
@ -0,0 +1,438 @@
|
|||
// Module ID: 4584
|
||||
// Function ID: 4585
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4556]
|
||||
|
||||
// Module 4584 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4556).NitroModules;
|
||||
NitroModules.createHybridObject("RiveFileFactory");
|
||||
let obj = {};
|
||||
let closure_0 = async function _fromURL(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let asyncGeneratorStep = function _fromFileURL() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromFileURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
const Image = async function _fromResource(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromResource(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_3 = async function _fromBytes(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromBytes(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _fromSource(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp6 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c8 = 2;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp3;
|
||||
closure_3 = tmp7;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
closure_131_6 = undefined;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
return { value: "flex", done: true };
|
||||
}
|
||||
} else if (1 === tmp7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp70 = null;
|
||||
if (typeof closure_131_0 === "number") {
|
||||
tmp70 = closure_131_0;
|
||||
}
|
||||
closure_131_3 = tmp70;
|
||||
let uri = null;
|
||||
if (typeof closure_131_0 === "object") {
|
||||
uri = closure_131_0.uri;
|
||||
}
|
||||
closure_131_4 = uri;
|
||||
if (closure_131_3) {
|
||||
const assetSource = closure_2.resolveAssetSource(closure_131_3);
|
||||
let uri1;
|
||||
if (assetSource != null) {
|
||||
uri1 = assetSource.uri;
|
||||
}
|
||||
let tmp25 = uri1;
|
||||
} else {
|
||||
tmp25 = closure_131_4;
|
||||
}
|
||||
closure_131_5 = tmp25;
|
||||
if (closure_131_5) {
|
||||
c6 = 1;
|
||||
if (closure_131_5.match(/https?:\/\//)) {
|
||||
closure_0.fromURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else if (closure_131_5.match(/file:\/\//)) {
|
||||
obj.fromFileURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else {
|
||||
obj.fromResource(closure_131_5, closure_131_1, closure_131_2);
|
||||
}
|
||||
c6 = 0;
|
||||
c8 = 3;
|
||||
} else {
|
||||
const _Error3 = Error;
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
const error = new Error("Invalid source: could not resolve asset " + closure_131_0 + ". Ensure 'riv' is in metro.config.js assetExts.");
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
closure_131_7 = closure_5;
|
||||
const _Error = Error;
|
||||
if (closure_131_7 instanceof Error) {
|
||||
let message = closure_131_7.message;
|
||||
} else {
|
||||
const _String = String;
|
||||
message = String(closure_131_7);
|
||||
}
|
||||
closure_131_6 = message;
|
||||
const _Error2 = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error1 = new Error("Failed to load Rive file from source: " + closure_131_6);
|
||||
throw error1;
|
||||
}
|
||||
} catch (tmp59) {
|
||||
closure_5 = tmp59;
|
||||
if (tmp4 === c6) {
|
||||
c8 = tmp2;
|
||||
throw tmp59;
|
||||
} else {
|
||||
c7 = tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
obj.fromURL = function fromURL(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_0.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromFileURL = function fromFileURL(arg0) {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromResource = function fromResource(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_2.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromBytes = function fromBytes(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromSource = function fromSource(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveFileFactory = obj;
|
||||
388
alpha/source/__helpers/04xxx/4599__temp2.js
Normal file
388
alpha/source/__helpers/04xxx/4599__temp2.js
Normal file
|
|
@ -0,0 +1,388 @@
|
|||
// Module ID: 4599
|
||||
// Function ID: 4600
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4579, 4593]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4599 (_temp2)
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const require = fn;
|
||||
function _temp2(arg0) {
|
||||
return arg0 + 1;
|
||||
}
|
||||
function _temp(dispose) {
|
||||
let disposeResult;
|
||||
if (dispose != null) {
|
||||
disposeResult = dispose.dispose();
|
||||
}
|
||||
return disposeResult;
|
||||
}
|
||||
const noop = fn(19);
|
||||
({ useCallback, useEffect: c3, useState: closure_4, useMemo } = noop);
|
||||
|
||||
export const useRiveList = function useRiveList(arg0, arg1) {
|
||||
_require = arg0;
|
||||
dependencyMap = arg1;
|
||||
const cResult = require("c").c(39);
|
||||
let obj = require("c");
|
||||
let tmp = _require;
|
||||
[tmp5, _slicedToArray] = disposableMemo(null);
|
||||
const tmp4 = _slicedToArray(disposableMemo(null), 2);
|
||||
[r10021, closure_3] = disposableMemo(0);
|
||||
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
||||
const fn = function o() {
|
||||
_slicedToArray(null);
|
||||
};
|
||||
cResult[0] = fn;
|
||||
let first = fn;
|
||||
} else {
|
||||
first = cResult[0];
|
||||
}
|
||||
if (cResult[1] === arg0) {
|
||||
if (cResult[2] === arg1) {
|
||||
let tmp8 = cResult[3];
|
||||
}
|
||||
closure_3(first, tmp8);
|
||||
if (cResult[4] === arg0) {
|
||||
if (cResult[5] === arg1) {
|
||||
let tmp11 = cResult[6];
|
||||
}
|
||||
if (cResult[7] === arg0) {
|
||||
if (cResult[8] === arg1) {
|
||||
let tmp12 = cResult[9];
|
||||
}
|
||||
disposableMemo = tmp(4593).useDisposableMemo(tmp11, _temp, tmp12);
|
||||
if (cResult[10] === arg0) {
|
||||
if (cResult[11] === disposableMemo) {
|
||||
if (cResult[12] === arg1) {
|
||||
let tmp15 = cResult[13];
|
||||
let tmp16 = cResult[14];
|
||||
}
|
||||
tmp9(tmp15, tmp16);
|
||||
if (cResult[15] !== disposableMemo) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const items = [disposableMemo];
|
||||
cResult[15] = disposableMemo;
|
||||
cResult[16] = M;
|
||||
cResult[17] = items;
|
||||
let tmp19 = items;
|
||||
const tmp18 = M;
|
||||
} else {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
tmp19 = cResult[17];
|
||||
}
|
||||
tmp9(tmp18, tmp19);
|
||||
if (disposableMemo != null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (undefined == null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[18] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[18] = disposableMemo;
|
||||
cResult[19] = R;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[20] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[20] = disposableMemo;
|
||||
cResult[21] = tmp24;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[22] !== disposableMemo) {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
cResult[22] = disposableMemo;
|
||||
cResult[23] = C;
|
||||
} else {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[24] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[24] = disposableMemo;
|
||||
cResult[25] = O;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[26] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[26] = disposableMemo;
|
||||
cResult[27] = tmp28;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[28] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[28] = disposableMemo;
|
||||
cResult[29] = tmp30;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[30] === tmp23) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const obj2 = { length: undefined, getInstanceAt: tmp22, addInstance: tmp23, addInstanceAt: tmp25, removeInstance: tmp26, removeInstanceAt: tmp27, swap: tmp29, error: tmp5 };
|
||||
cResult[30] = tmp23;
|
||||
cResult[31] = tmp25;
|
||||
cResult[32] = tmp5;
|
||||
cResult[33] = tmp22;
|
||||
cResult[34] = undefined;
|
||||
cResult[35] = tmp26;
|
||||
cResult[36] = tmp27;
|
||||
cResult[37] = tmp29;
|
||||
cResult[38] = obj2;
|
||||
}
|
||||
}
|
||||
const fn3 = function b() {
|
||||
let tmp = closure_1;
|
||||
if (closure_1) {
|
||||
tmp = !disposableMemo;
|
||||
}
|
||||
if (tmp) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("List property \"" + closure_0 + "\" not found in the ViewModel instance");
|
||||
_slicedToArray(error);
|
||||
}
|
||||
};
|
||||
const items1 = [arg1, disposableMemo, arg0];
|
||||
cResult[10] = arg0;
|
||||
cResult[11] = disposableMemo;
|
||||
cResult[12] = arg1;
|
||||
cResult[13] = fn3;
|
||||
cResult[14] = items1;
|
||||
tmp16 = items1;
|
||||
tmp15 = fn3;
|
||||
const tmpResult = tmp(4593);
|
||||
}
|
||||
const items2 = [arg1, arg0];
|
||||
cResult[7] = arg0;
|
||||
cResult[8] = arg1;
|
||||
cResult[9] = items2;
|
||||
tmp12 = items2;
|
||||
}
|
||||
const fn2 = function v() {
|
||||
if (closure_1) {
|
||||
return obj.listProperty(closure_0);
|
||||
}
|
||||
obj = closure_1;
|
||||
};
|
||||
cResult[4] = arg0;
|
||||
cResult[5] = arg1;
|
||||
cResult[6] = fn2;
|
||||
tmp11 = fn2;
|
||||
}
|
||||
const items3 = [arg0, arg1];
|
||||
cResult[1] = arg0;
|
||||
cResult[2] = arg1;
|
||||
cResult[3] = items3;
|
||||
tmp8 = items3;
|
||||
};
|
||||
96
alpha/source/__helpers/04xxx/4602__initialize.js
Normal file
96
alpha/source/__helpers/04xxx/4602__initialize.js
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
// Module ID: 4602
|
||||
// Function ID: 4603
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4556]
|
||||
|
||||
// Module 4602 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4556).NitroModules;
|
||||
let closure_1 = NitroModules.createHybridObject("RiveRuntime");
|
||||
let asyncGeneratorStep = function _initialize() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj4 = { value: tmp4.initialize(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else if (tmp4.isInitialized) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
} else {
|
||||
const initError = tmp4.initError;
|
||||
c0 = initError;
|
||||
if (initError == null) {
|
||||
c0 = "Unknown error";
|
||||
}
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Rive initialization failed: " + c0);
|
||||
throw error;
|
||||
}
|
||||
} catch (tmp15) {
|
||||
c3 = tmp;
|
||||
throw tmp15;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveRuntime = {
|
||||
initialize() {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
},
|
||||
getStatus() {
|
||||
const obj = { isInitialized: closure_1.isInitialized, error: null };
|
||||
const initError = closure_1.initError;
|
||||
obj.error = initError;
|
||||
return obj;
|
||||
}
|
||||
};
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
// Module ID: 4732
|
||||
// Function ID: 4733
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4728]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4732 (_playHaptic)
|
||||
import _modDef4728 from "module_4728" /* 4728 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _playHaptic(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
if (obj.isEnabled()) {
|
||||
c2 = 3;
|
||||
const obj4 = { value: tmp6(tmp7[2]).triggerPattern(tmp4, tmp5), done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
c2 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
obj = _modDef4728;
|
||||
tmp4 = closure_0;
|
||||
tmp5 = closure_1;
|
||||
tmp6 = importDefault;
|
||||
tmp7 = dependencyMap;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const playHaptic = function playHaptic(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
66
alpha/source/__helpers/04xxx/4802__playHaptic.js
Normal file
66
alpha/source/__helpers/04xxx/4802__playHaptic.js
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Module ID: 4802
|
||||
// Function ID: 4803
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4798]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4802 (_playHaptic)
|
||||
import _modDef4798 from "module_4798" /* 4798 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _playHaptic(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
if (obj.isEnabled()) {
|
||||
c2 = 3;
|
||||
const obj4 = { value: tmp6(tmp7[2]).triggerPattern(tmp4, tmp5), done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
c2 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
obj = _modDef4798;
|
||||
tmp4 = closure_0;
|
||||
tmp5 = closure_1;
|
||||
tmp6 = importDefault;
|
||||
tmp7 = dependencyMap;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const playHaptic = function playHaptic(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
// Module ID: 5875
|
||||
// Function ID: 5876
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5875 (__react_navigation__elements_contexts)
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
let __react_navigation__elements_contexts = "__react_navigation__elements_contexts";
|
||||
__react_navigation__elements_contexts = globalThis.__react_navigation__elements_contexts;
|
||||
if (__react_navigation__elements_contexts == null) {
|
||||
const _Map = Map;
|
||||
__react_navigation__elements_contexts = new Map();
|
||||
}
|
||||
globalThis.__react_navigation__elements_contexts = __react_navigation__elements_contexts;
|
||||
|
||||
export const getNamedContext = function getNamedContext(FrameContext, arg1) {
|
||||
value = globalThis[__react_navigation__elements_contexts].get(FrameContext);
|
||||
if (!value) {
|
||||
const context = noop.createContext(arg1);
|
||||
context.displayName = FrameContext;
|
||||
const _globalThis = globalThis;
|
||||
const result = globalThis[tmp].set(FrameContext, context);
|
||||
value = context;
|
||||
const obj2 = globalThis[tmp];
|
||||
}
|
||||
return value;
|
||||
};
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
// Module ID: 5959
|
||||
// Function ID: 5960
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5959 (__react_navigation__elements_contexts)
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
let __react_navigation__elements_contexts = "__react_navigation__elements_contexts";
|
||||
__react_navigation__elements_contexts = globalThis.__react_navigation__elements_contexts;
|
||||
if (__react_navigation__elements_contexts == null) {
|
||||
const _Map = Map;
|
||||
__react_navigation__elements_contexts = new Map();
|
||||
}
|
||||
globalThis.__react_navigation__elements_contexts = __react_navigation__elements_contexts;
|
||||
|
||||
export const getNamedContext = function getNamedContext(FrameContext, arg1) {
|
||||
value = globalThis[__react_navigation__elements_contexts].get(FrameContext);
|
||||
if (!value) {
|
||||
const context = noop.createContext(arg1);
|
||||
context.displayName = FrameContext;
|
||||
const _globalThis = globalThis;
|
||||
const result = globalThis[tmp].set(FrameContext, context);
|
||||
value = context;
|
||||
const obj2 = globalThis[tmp];
|
||||
}
|
||||
return value;
|
||||
};
|
||||
|
|
@ -1,106 +0,0 @@
|
|||
// Module ID: 8841
|
||||
// Function ID: 8842
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1252]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8841 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1252 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _fetchText(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else if (!closure_0) {
|
||||
c1 = 3;
|
||||
const obj = { value: null, done: true };
|
||||
return obj;
|
||||
} else if (obj4.startsWith("data:image/svg+xml;utf8")) {
|
||||
let tmp4 = (function dataUriToXml(arg0) {
|
||||
try {
|
||||
const _decodeURIComponent = decodeURIComponent;
|
||||
const parts = decodeURIComponent(arg0).split(",");
|
||||
const substr = parts.slice(1);
|
||||
return substr.join(",");
|
||||
} catch (tmp3) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Decoding " + tmp + " failed with error: " + tmp3);
|
||||
throw error;
|
||||
}
|
||||
})(obj4);
|
||||
} else if (obj4.startsWith("data:image/svg+xml;base64")) {
|
||||
tmp4 = decodeBase64Image(obj4);
|
||||
} else {
|
||||
tmp4 = (function fetchUriData(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1_5.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
})(obj4);
|
||||
}
|
||||
} catch (tmp7) {
|
||||
c1 = tmp;
|
||||
throw tmp7;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_5 = async function _fetchUriData() {
|
||||
closure_129_0 = closure_0;
|
||||
const _fetch = fetch;
|
||||
closure_129_1 = await fetch(closure_0);
|
||||
if (!closure_129_1.ok) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Fetching " + closure_129_0 + " failed with status " + closure_129_1.status);
|
||||
throw error;
|
||||
}
|
||||
await closure_129_1.text();
|
||||
return arg1;
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
function decodeBase64Image(arg0) {
|
||||
const str = decodeURIComponent(arg0);
|
||||
const parts = decodeURIComponent(arg0).split(";")[1].split(",");
|
||||
const substr = parts.slice(1);
|
||||
const joined = substr.join(",");
|
||||
const _Buffer = Buffer.Buffer;
|
||||
const str2 = decodeURIComponent(arg0).split(";")[1];
|
||||
return _Buffer.from(joined, parts[0]).toString("utf-8");
|
||||
}
|
||||
|
||||
export const fetchText = function fetchText(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
106
alpha/source/__helpers/08xxx/8912__fetchText.js
Normal file
106
alpha/source/__helpers/08xxx/8912__fetchText.js
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
// Module ID: 8912
|
||||
// Function ID: 8913
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1252]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8912 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1252 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _fetchText(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else if (!closure_0) {
|
||||
c1 = 3;
|
||||
const obj = { value: null, done: true };
|
||||
return obj;
|
||||
} else if (obj4.startsWith("data:image/svg+xml;utf8")) {
|
||||
let tmp4 = (function dataUriToXml(arg0) {
|
||||
try {
|
||||
const _decodeURIComponent = decodeURIComponent;
|
||||
const parts = decodeURIComponent(arg0).split(",");
|
||||
const substr = parts.slice(1);
|
||||
return substr.join(",");
|
||||
} catch (tmp3) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Decoding " + tmp + " failed with error: " + tmp3);
|
||||
throw error;
|
||||
}
|
||||
})(obj4);
|
||||
} else if (obj4.startsWith("data:image/svg+xml;base64")) {
|
||||
tmp4 = decodeBase64Image(obj4);
|
||||
} else {
|
||||
tmp4 = (function fetchUriData(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1_5.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
})(obj4);
|
||||
}
|
||||
} catch (tmp7) {
|
||||
c1 = tmp;
|
||||
throw tmp7;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_5 = async function _fetchUriData() {
|
||||
closure_129_0 = closure_0;
|
||||
const _fetch = fetch;
|
||||
closure_129_1 = await fetch(closure_0);
|
||||
if (!closure_129_1.ok) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Fetching " + closure_129_0 + " failed with status " + closure_129_1.status);
|
||||
throw error;
|
||||
}
|
||||
await closure_129_1.text();
|
||||
return arg1;
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
function decodeBase64Image(arg0) {
|
||||
const str = decodeURIComponent(arg0);
|
||||
const parts = decodeURIComponent(arg0).split(";")[1].split(",");
|
||||
const substr = parts.slice(1);
|
||||
const joined = substr.join(",");
|
||||
const _Buffer = Buffer.Buffer;
|
||||
const str2 = decodeURIComponent(arg0).split(";")[1];
|
||||
return _Buffer.from(joined, parts[0]).toString("utf-8");
|
||||
}
|
||||
|
||||
export const fetchText = function fetchText(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,451 +0,0 @@
|
|||
// Module ID: 9967
|
||||
// Function ID: 9968
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9968, 9969]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9967 (_asyncLoop)
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const Hash = require;
|
||||
let closure_7 = async function _asyncLoop(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c4 = 1;
|
||||
c3 = 1;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
closure_131_2 = closure_2;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
const _Date2 = Date;
|
||||
closure_131_3 = Date.now();
|
||||
closure_131_4 = 0;
|
||||
if (closure_131_4 < closure_0) {
|
||||
closure_131_2(closure_131_4);
|
||||
const _Date = Date;
|
||||
closure_131_5 = Date.now() - closure_131_3;
|
||||
let tmp15 = closure_131_5 >= 0;
|
||||
if (tmp15) {
|
||||
tmp15 = closure_131_5 < closure_131_1;
|
||||
}
|
||||
if (!tmp15) {
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
const obj4 = { value: closure_132_1.nextTick(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
c6 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_131_3 = closure_131_3 + closure_131_5;
|
||||
}
|
||||
closure_131_4 = closure_131_4 + 1;
|
||||
} catch (tmp25) {
|
||||
c6 = tmp;
|
||||
throw tmp25;
|
||||
}
|
||||
}
|
||||
};
|
||||
let uint32Array = new Uint32Array([287454020]);
|
||||
let uint8Array = new Uint8Array(uint32Array.buffer);
|
||||
let closure_5 = Array.from({ length: 256 }, (arg0, arg1) => require("checkEnv").padStart(2, "0"));
|
||||
const _0 = { _0: 48, _9: 57, _A: 65, _F: 70, _a: 97, _f: 102 };
|
||||
let closure_129_0 = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c0 === 2) {
|
||||
c0 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c0 = 2;
|
||||
if (arg0 === 1) {
|
||||
c0 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c0 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
c0 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} catch (tmp4) {
|
||||
c0 = tmp;
|
||||
throw tmp4;
|
||||
}
|
||||
}
|
||||
});
|
||||
class Hash {
|
||||
constructor() {
|
||||
tmp = closure_3(this, Hash);
|
||||
return;
|
||||
}
|
||||
}
|
||||
const entry = {
|
||||
key: "clone",
|
||||
value: function clone() {
|
||||
return this._cloneInto();
|
||||
}
|
||||
};
|
||||
let items = [entry];
|
||||
const toString = {}.toString;
|
||||
|
||||
export const isBytes = function isBytes(obj) {
|
||||
let tmp = obj instanceof Uint8Array;
|
||||
if (!tmp) {
|
||||
let tmp3 = null != obj && typeof obj === "object";
|
||||
if (tmp3) {
|
||||
tmp3 = "Uint8Array" === obj.constructor.name;
|
||||
}
|
||||
tmp = tmp3;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
export const byteSwap32 = function byteSwap32(B32) {
|
||||
let length;
|
||||
let num = 0;
|
||||
if (0 < B32.length) {
|
||||
do {
|
||||
B32[num] = exports.byteSwap(B32[num]);
|
||||
num = num + 1;
|
||||
length = B32.length;
|
||||
} while (num < length);
|
||||
}
|
||||
};
|
||||
export const bytesToHex = function bytesToHex(arg0) {
|
||||
let length;
|
||||
Hash(9968).bytes(arg0);
|
||||
let num = 0;
|
||||
let str = "";
|
||||
let str2 = "";
|
||||
if (0 < arg0.length) {
|
||||
do {
|
||||
str = `${closure_5[arg0[num]]}`;
|
||||
num = num + 1;
|
||||
str2 = str;
|
||||
length = arg0.length;
|
||||
} while (num < length);
|
||||
}
|
||||
return str2;
|
||||
};
|
||||
export const hexToBytes = function hexToBytes(str) {
|
||||
let sum;
|
||||
if (typeof str !== "string") {
|
||||
const _Error3 = Error;
|
||||
const error = new Error("hex string expected, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const result = length / 2;
|
||||
if (str.length % 2) {
|
||||
const _Error2 = Error;
|
||||
const error1 = new Error("padded hex string expected, got unpadded hex of length " + length);
|
||||
throw error1;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(result);
|
||||
let num = 0;
|
||||
let num5 = 0;
|
||||
if (0 < result) {
|
||||
while (true) {
|
||||
let charCodeAtResult = str.charCodeAt(num);
|
||||
let tmp7 = _0;
|
||||
if (charCodeAtResult >= _0._0) {
|
||||
if (charCodeAtResult <= tmp7._9) {
|
||||
let diff = charCodeAtResult - tmp7._0;
|
||||
sum = num + 1;
|
||||
let charCodeAtResult1 = str.charCodeAt(sum);
|
||||
if (charCodeAtResult1 >= tmp7._0) {
|
||||
if (charCodeAtResult1 <= tmp7._9) {
|
||||
let diff1 = charCodeAtResult1 - tmp7._0;
|
||||
if (undefined === diff) {
|
||||
break;
|
||||
} else if (undefined === diff1) {
|
||||
break;
|
||||
} else {
|
||||
uint8Array[num5] = 16 * diff + diff1;
|
||||
num5 = num5 + 1;
|
||||
num = num + 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._A) {
|
||||
if (charCodeAtResult1 <= tmp7._F) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._a) {
|
||||
if (charCodeAtResult1 <= tmp7._f) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._A) {
|
||||
if (charCodeAtResult <= tmp7._F) {
|
||||
diff = charCodeAtResult - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._a) {
|
||||
if (charCodeAtResult <= tmp7._f) {
|
||||
diff = charCodeAtResult - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Error = Error;
|
||||
const error2 = new Error("hex string expected, got non-hex character \"" + (str[num] + str[sum]) + "\" at index " + num);
|
||||
throw error2;
|
||||
}
|
||||
return uint8Array;
|
||||
}
|
||||
}
|
||||
};
|
||||
export const asyncLoop = function asyncLoop(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_7.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const utf8ToBytes = function utf8ToBytes(str) {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
const uint8Array = new Uint8Array(encoder.encode(str));
|
||||
return uint8Array;
|
||||
}
|
||||
};
|
||||
export const toBytes = function toBytes(B) {
|
||||
let uint8Array = B;
|
||||
if (typeof B === "string") {
|
||||
if (typeof B !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof B);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(B));
|
||||
}
|
||||
}
|
||||
Hash(9968).bytes(uint8Array);
|
||||
return uint8Array;
|
||||
};
|
||||
export const concatBytes = function concatBytes() {
|
||||
let length;
|
||||
let length2;
|
||||
const items = [...arguments];
|
||||
let num = 0;
|
||||
let num2 = 0;
|
||||
let num3 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr2 = items[num];
|
||||
let bytesResult = Hash(9968).bytes(arr2);
|
||||
num2 = num2 + arr2.length;
|
||||
num = num + 1;
|
||||
num3 = num2;
|
||||
length = items.length;
|
||||
} while (num < length);
|
||||
}
|
||||
const uint8Array = new Uint8Array(num3);
|
||||
let num4 = 0;
|
||||
let num5 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr3 = items[num5];
|
||||
let result = uint8Array.set(arr3, num4);
|
||||
num4 = num4 + arr3.length;
|
||||
num5 = num5 + 1;
|
||||
length2 = items.length;
|
||||
} while (num5 < length2);
|
||||
}
|
||||
return uint8Array;
|
||||
};
|
||||
export const checkOpts = function checkOpts(arg0, arg1) {
|
||||
if (undefined !== arg1) {
|
||||
const call = toString.call;
|
||||
if ("[object Object]" !== (typeof call === "unknown" ? tmp() : call(arg1))) {
|
||||
const _Error = Error;
|
||||
const error = new Error("Options should be object or undefined");
|
||||
throw error;
|
||||
}
|
||||
tmp = toString;
|
||||
}
|
||||
return Object.assign(arg0, arg1);
|
||||
};
|
||||
export const wrapConstructor = function wrapConstructor(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9968).bytes(uint8Array);
|
||||
const obj = closure_0();
|
||||
return closure_0().update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn());
|
||||
hashC.create = () => closure_0();
|
||||
return hashC;
|
||||
};
|
||||
export const wrapConstructorWithOpts = function wrapConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9968).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const wrapXOFConstructorWithOpts = function wrapXOFConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9968).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const randomBytes = function randomBytes(result) {
|
||||
let num = result;
|
||||
if (result === undefined) {
|
||||
num = 32;
|
||||
}
|
||||
if (Hash(9969).crypto) {
|
||||
if (typeof tmp(9969).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9969).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9969).crypto) {
|
||||
if (typeof tmp(9969).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9969).crypto;
|
||||
return _crypto.randomBytes(num);
|
||||
}
|
||||
}
|
||||
const error = new Error("crypto.getRandomValues must be defined");
|
||||
throw error;
|
||||
};
|
||||
export const u8 = (buffer) => {
|
||||
const uint8Array = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return uint8Array;
|
||||
};
|
||||
export const u32 = (buffer) => {
|
||||
const uint32Array = new Uint32Array(buffer.buffer, buffer.byteOffset, Math.floor(buffer.byteLength / 4));
|
||||
return uint32Array;
|
||||
};
|
||||
export const createView = (buffer) => {
|
||||
const dataView = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return dataView;
|
||||
};
|
||||
export const rotr = (arg0, arg1) => arg0 << 32 - arg1 | arg0 >>> arg1;
|
||||
export const rotl = (arg0, arg1) => arg0 << arg1 | arg0 >>> 32 - arg1 >>> 0;
|
||||
export const isLE = 68 === uint8Array[0];
|
||||
export const byteSwap = (arg0) => arg0 << 24 & 4278190080 | arg0 << 8 & 16711680 | arg0 >>> 8 & 65280 | arg0 >>> 24 & 255;
|
||||
export const byteSwapIfBE = exports.isLE ? ((arg0) => arg0) : ((arg0) => exports.byteSwap(arg0));
|
||||
export const nextTick = function nextTick() {
|
||||
const self = this;
|
||||
const apply = Hash.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const Hash = _createClass(Hash, items);
|
||||
451
alpha/source/__helpers/10xxx/10040__asyncLoop.js
Normal file
451
alpha/source/__helpers/10xxx/10040__asyncLoop.js
Normal file
|
|
@ -0,0 +1,451 @@
|
|||
// Module ID: 10040
|
||||
// Function ID: 10041
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 10041, 10042]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 10040 (_asyncLoop)
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const Hash = require;
|
||||
let closure_7 = async function _asyncLoop(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c4 = 1;
|
||||
c3 = 1;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
closure_131_2 = closure_2;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
const _Date2 = Date;
|
||||
closure_131_3 = Date.now();
|
||||
closure_131_4 = 0;
|
||||
if (closure_131_4 < closure_0) {
|
||||
closure_131_2(closure_131_4);
|
||||
const _Date = Date;
|
||||
closure_131_5 = Date.now() - closure_131_3;
|
||||
let tmp15 = closure_131_5 >= 0;
|
||||
if (tmp15) {
|
||||
tmp15 = closure_131_5 < closure_131_1;
|
||||
}
|
||||
if (!tmp15) {
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
const obj4 = { value: closure_132_1.nextTick(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
c6 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_131_3 = closure_131_3 + closure_131_5;
|
||||
}
|
||||
closure_131_4 = closure_131_4 + 1;
|
||||
} catch (tmp25) {
|
||||
c6 = tmp;
|
||||
throw tmp25;
|
||||
}
|
||||
}
|
||||
};
|
||||
let uint32Array = new Uint32Array([287454020]);
|
||||
let uint8Array = new Uint8Array(uint32Array.buffer);
|
||||
let closure_5 = Array.from({ length: 256 }, (arg0, arg1) => require("checkEnv").padStart(2, "0"));
|
||||
const _0 = { _0: 48, _9: 57, _A: 65, _F: 70, _a: 97, _f: 102 };
|
||||
let closure_129_0 = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c0 === 2) {
|
||||
c0 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c0 = 2;
|
||||
if (arg0 === 1) {
|
||||
c0 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c0 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
c0 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} catch (tmp4) {
|
||||
c0 = tmp;
|
||||
throw tmp4;
|
||||
}
|
||||
}
|
||||
});
|
||||
class Hash {
|
||||
constructor() {
|
||||
tmp = closure_3(this, Hash);
|
||||
return;
|
||||
}
|
||||
}
|
||||
const entry = {
|
||||
key: "clone",
|
||||
value: function clone() {
|
||||
return this._cloneInto();
|
||||
}
|
||||
};
|
||||
let items = [entry];
|
||||
const toString = {}.toString;
|
||||
|
||||
export const isBytes = function isBytes(obj) {
|
||||
let tmp = obj instanceof Uint8Array;
|
||||
if (!tmp) {
|
||||
let tmp3 = null != obj && typeof obj === "object";
|
||||
if (tmp3) {
|
||||
tmp3 = "Uint8Array" === obj.constructor.name;
|
||||
}
|
||||
tmp = tmp3;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
export const byteSwap32 = function byteSwap32(B32) {
|
||||
let length;
|
||||
let num = 0;
|
||||
if (0 < B32.length) {
|
||||
do {
|
||||
B32[num] = exports.byteSwap(B32[num]);
|
||||
num = num + 1;
|
||||
length = B32.length;
|
||||
} while (num < length);
|
||||
}
|
||||
};
|
||||
export const bytesToHex = function bytesToHex(arg0) {
|
||||
let length;
|
||||
Hash(10041).bytes(arg0);
|
||||
let num = 0;
|
||||
let str = "";
|
||||
let str2 = "";
|
||||
if (0 < arg0.length) {
|
||||
do {
|
||||
str = `${closure_5[arg0[num]]}`;
|
||||
num = num + 1;
|
||||
str2 = str;
|
||||
length = arg0.length;
|
||||
} while (num < length);
|
||||
}
|
||||
return str2;
|
||||
};
|
||||
export const hexToBytes = function hexToBytes(str) {
|
||||
let sum;
|
||||
if (typeof str !== "string") {
|
||||
const _Error3 = Error;
|
||||
const error = new Error("hex string expected, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const result = length / 2;
|
||||
if (str.length % 2) {
|
||||
const _Error2 = Error;
|
||||
const error1 = new Error("padded hex string expected, got unpadded hex of length " + length);
|
||||
throw error1;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(result);
|
||||
let num = 0;
|
||||
let num5 = 0;
|
||||
if (0 < result) {
|
||||
while (true) {
|
||||
let charCodeAtResult = str.charCodeAt(num);
|
||||
let tmp7 = _0;
|
||||
if (charCodeAtResult >= _0._0) {
|
||||
if (charCodeAtResult <= tmp7._9) {
|
||||
let diff = charCodeAtResult - tmp7._0;
|
||||
sum = num + 1;
|
||||
let charCodeAtResult1 = str.charCodeAt(sum);
|
||||
if (charCodeAtResult1 >= tmp7._0) {
|
||||
if (charCodeAtResult1 <= tmp7._9) {
|
||||
let diff1 = charCodeAtResult1 - tmp7._0;
|
||||
if (undefined === diff) {
|
||||
break;
|
||||
} else if (undefined === diff1) {
|
||||
break;
|
||||
} else {
|
||||
uint8Array[num5] = 16 * diff + diff1;
|
||||
num5 = num5 + 1;
|
||||
num = num + 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._A) {
|
||||
if (charCodeAtResult1 <= tmp7._F) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._a) {
|
||||
if (charCodeAtResult1 <= tmp7._f) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._A) {
|
||||
if (charCodeAtResult <= tmp7._F) {
|
||||
diff = charCodeAtResult - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._a) {
|
||||
if (charCodeAtResult <= tmp7._f) {
|
||||
diff = charCodeAtResult - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Error = Error;
|
||||
const error2 = new Error("hex string expected, got non-hex character \"" + (str[num] + str[sum]) + "\" at index " + num);
|
||||
throw error2;
|
||||
}
|
||||
return uint8Array;
|
||||
}
|
||||
}
|
||||
};
|
||||
export const asyncLoop = function asyncLoop(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_7.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const utf8ToBytes = function utf8ToBytes(str) {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
const uint8Array = new Uint8Array(encoder.encode(str));
|
||||
return uint8Array;
|
||||
}
|
||||
};
|
||||
export const toBytes = function toBytes(B) {
|
||||
let uint8Array = B;
|
||||
if (typeof B === "string") {
|
||||
if (typeof B !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof B);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(B));
|
||||
}
|
||||
}
|
||||
Hash(10041).bytes(uint8Array);
|
||||
return uint8Array;
|
||||
};
|
||||
export const concatBytes = function concatBytes() {
|
||||
let length;
|
||||
let length2;
|
||||
const items = [...arguments];
|
||||
let num = 0;
|
||||
let num2 = 0;
|
||||
let num3 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr2 = items[num];
|
||||
let bytesResult = Hash(10041).bytes(arr2);
|
||||
num2 = num2 + arr2.length;
|
||||
num = num + 1;
|
||||
num3 = num2;
|
||||
length = items.length;
|
||||
} while (num < length);
|
||||
}
|
||||
const uint8Array = new Uint8Array(num3);
|
||||
let num4 = 0;
|
||||
let num5 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr3 = items[num5];
|
||||
let result = uint8Array.set(arr3, num4);
|
||||
num4 = num4 + arr3.length;
|
||||
num5 = num5 + 1;
|
||||
length2 = items.length;
|
||||
} while (num5 < length2);
|
||||
}
|
||||
return uint8Array;
|
||||
};
|
||||
export const checkOpts = function checkOpts(arg0, arg1) {
|
||||
if (undefined !== arg1) {
|
||||
const call = toString.call;
|
||||
if ("[object Object]" !== (typeof call === "unknown" ? tmp() : call(arg1))) {
|
||||
const _Error = Error;
|
||||
const error = new Error("Options should be object or undefined");
|
||||
throw error;
|
||||
}
|
||||
tmp = toString;
|
||||
}
|
||||
return Object.assign(arg0, arg1);
|
||||
};
|
||||
export const wrapConstructor = function wrapConstructor(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(10041).bytes(uint8Array);
|
||||
const obj = closure_0();
|
||||
return closure_0().update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn());
|
||||
hashC.create = () => closure_0();
|
||||
return hashC;
|
||||
};
|
||||
export const wrapConstructorWithOpts = function wrapConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(10041).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const wrapXOFConstructorWithOpts = function wrapXOFConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(10041).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const randomBytes = function randomBytes(result) {
|
||||
let num = result;
|
||||
if (result === undefined) {
|
||||
num = 32;
|
||||
}
|
||||
if (Hash(10042).crypto) {
|
||||
if (typeof tmp(10042).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(10042).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(10042).crypto) {
|
||||
if (typeof tmp(10042).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(10042).crypto;
|
||||
return _crypto.randomBytes(num);
|
||||
}
|
||||
}
|
||||
const error = new Error("crypto.getRandomValues must be defined");
|
||||
throw error;
|
||||
};
|
||||
export const u8 = (buffer) => {
|
||||
const uint8Array = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return uint8Array;
|
||||
};
|
||||
export const u32 = (buffer) => {
|
||||
const uint32Array = new Uint32Array(buffer.buffer, buffer.byteOffset, Math.floor(buffer.byteLength / 4));
|
||||
return uint32Array;
|
||||
};
|
||||
export const createView = (buffer) => {
|
||||
const dataView = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return dataView;
|
||||
};
|
||||
export const rotr = (arg0, arg1) => arg0 << 32 - arg1 | arg0 >>> arg1;
|
||||
export const rotl = (arg0, arg1) => arg0 << arg1 | arg0 >>> 32 - arg1 >>> 0;
|
||||
export const isLE = 68 === uint8Array[0];
|
||||
export const byteSwap = (arg0) => arg0 << 24 & 4278190080 | arg0 << 8 & 16711680 | arg0 >>> 8 & 65280 | arg0 >>> 24 & 255;
|
||||
export const byteSwapIfBE = exports.isLE ? ((arg0) => arg0) : ((arg0) => exports.byteSwap(arg0));
|
||||
export const nextTick = function nextTick() {
|
||||
const self = this;
|
||||
const apply = Hash.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const Hash = _createClass(Hash, items);
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
// Module ID: 11500
|
||||
// Function ID: 11501
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11496]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11500 (_pickDirectory)
|
||||
import _mod11496 from "module_11496" /* 11496 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pickDirectory(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
const obj = { mode: "open" };
|
||||
const merged = Object.assign(closure_0);
|
||||
const NativeDocumentPicker = _mod11496.NativeDocumentPicker;
|
||||
c1 = 3;
|
||||
const obj4 = { value: NativeDocumentPicker.pickDirectory(obj), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp9) {
|
||||
c1 = tmp;
|
||||
throw tmp9;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pickDirectory = function pickDirectory(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,135 +0,0 @@
|
|||
// Module ID: 11501
|
||||
// Function ID: 11502
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11498, 11496, 11502]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11501 (_pick)
|
||||
import _mod11496 from "module_11496" /* 11496 */;
|
||||
import _mod11498 from "module_11498" /* 11498 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pick(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
while (true) {
|
||||
c8 = 2;
|
||||
let tmp4 = c7;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp;
|
||||
closure_3 = tmp4;
|
||||
let tmp44 = closure_0;
|
||||
closure_131_0 = undefined;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
let type1;
|
||||
if (closure_0 != null) {
|
||||
type1 = tmp44.type;
|
||||
}
|
||||
if (type1) {
|
||||
let _Array = Array;
|
||||
let fn = tmp44.type;
|
||||
if (Array.isArray(tmp44.type)) {
|
||||
let items = fn;
|
||||
} else {
|
||||
items = [fn];
|
||||
}
|
||||
let flatResult = items.flat();
|
||||
fn = (str) => str.trim();
|
||||
let mapped = flatResult.map(fn);
|
||||
} else {
|
||||
let items1 = [_mod11498.types.allFiles];
|
||||
let obj4 = { mode: "import", allowMultiSelection: false, allowVirtualFiles: false };
|
||||
let merged = Object.assign(tmp44);
|
||||
obj4.type = items1;
|
||||
closure_131_0 = obj4;
|
||||
let type = obj4.type;
|
||||
if (type.every((item) => typeof item === "string")) {
|
||||
if ("mode" in obj4) {
|
||||
let items2 = ["import", "open"];
|
||||
if (!items2.includes(obj4.mode)) {
|
||||
let _TypeError2 = TypeError;
|
||||
let tmp30 = new.target;
|
||||
let tmp31 = new.target;
|
||||
let typeError = new TypeError("Invalid mode option: " + obj4.mode);
|
||||
throw typeError;
|
||||
}
|
||||
}
|
||||
let NativeDocumentPicker = _mod11496.NativeDocumentPicker;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
let obj5 = { value: NativeDocumentPicker.pick(obj4), done: false };
|
||||
return obj5;
|
||||
} else {
|
||||
let _TypeError = TypeError;
|
||||
let _HermesInternal = HermesInternal;
|
||||
let tmp26 = new.target;
|
||||
let tmp27 = new.target;
|
||||
let typeError1 = new TypeError("Unexpected type option in " + obj4.type + ", did you try using a DocumentPicker.types.* that does not exist?");
|
||||
throw typeError1;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj6 = { value, done: true };
|
||||
return obj6;
|
||||
} else {
|
||||
closure_131_1 = value;
|
||||
closure_2 = closure_131_1;
|
||||
dependencyMap = closure_131_1[Symbol.iterator]();
|
||||
while (dependencyMap !== undefined) {
|
||||
closure_131_2 = tmp10;
|
||||
let obj = closure_132_0(closure_132_1[4]);
|
||||
closure_131_2.hasRequestedType = obj.safeValidate(closure_131_0.type, closure_131_2);
|
||||
c6 = 0;
|
||||
continue;
|
||||
}
|
||||
c8 = 3;
|
||||
let obj7 = { value: closure_131_1, done: true };
|
||||
return obj7;
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
dependencyMap.return();
|
||||
throw hasOwnProperty;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pick = function pick(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
// Module ID: 11503
|
||||
// Function ID: 11504
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11496]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11503 (_saveDocuments)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = fn;
|
||||
let closure_3 = async function _saveDocuments() {
|
||||
closure_1 = tmp2;
|
||||
await asyncGeneratorStep(async () => {
|
||||
if (tmp2.sourceUris.length > 1) {
|
||||
const _console = console;
|
||||
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(11496).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11496).NativeDocumentPicker;
|
||||
await NativeDocumentPicker.writeDocuments(closure_128_0);
|
||||
return arg1;
|
||||
})();
|
||||
return arg1.map(closure_129_4);
|
||||
};
|
||||
function keepOnlySpecifiedFields(uri) {
|
||||
return { uri: uri.uri, name: uri.name, error: uri.error };
|
||||
}
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const saveDocuments = function saveDocuments(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
60
alpha/source/__helpers/11xxx/11576__pickDirectory.js
Normal file
60
alpha/source/__helpers/11xxx/11576__pickDirectory.js
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// Module ID: 11576
|
||||
// Function ID: 11577
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11572]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11576 (_pickDirectory)
|
||||
import _mod11572 from "module_11572" /* 11572 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pickDirectory(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
const obj = { mode: "open" };
|
||||
const merged = Object.assign(closure_0);
|
||||
const NativeDocumentPicker = _mod11572.NativeDocumentPicker;
|
||||
c1 = 3;
|
||||
const obj4 = { value: NativeDocumentPicker.pickDirectory(obj), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp9) {
|
||||
c1 = tmp;
|
||||
throw tmp9;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pickDirectory = function pickDirectory(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
135
alpha/source/__helpers/11xxx/11577__pick.js
Normal file
135
alpha/source/__helpers/11xxx/11577__pick.js
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
// Module ID: 11577
|
||||
// Function ID: 11578
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11574, 11572, 11578]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11577 (_pick)
|
||||
import _mod11572 from "module_11572" /* 11572 */;
|
||||
import _mod11574 from "module_11574" /* 11574 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pick(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
while (true) {
|
||||
c8 = 2;
|
||||
let tmp4 = c7;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp;
|
||||
closure_3 = tmp4;
|
||||
let tmp44 = closure_0;
|
||||
closure_131_0 = undefined;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
let type1;
|
||||
if (closure_0 != null) {
|
||||
type1 = tmp44.type;
|
||||
}
|
||||
if (type1) {
|
||||
let _Array = Array;
|
||||
let fn = tmp44.type;
|
||||
if (Array.isArray(tmp44.type)) {
|
||||
let items = fn;
|
||||
} else {
|
||||
items = [fn];
|
||||
}
|
||||
let flatResult = items.flat();
|
||||
fn = (str) => str.trim();
|
||||
let mapped = flatResult.map(fn);
|
||||
} else {
|
||||
let items1 = [_mod11574.types.allFiles];
|
||||
let obj4 = { mode: "import", allowMultiSelection: false, allowVirtualFiles: false };
|
||||
let merged = Object.assign(tmp44);
|
||||
obj4.type = items1;
|
||||
closure_131_0 = obj4;
|
||||
let type = obj4.type;
|
||||
if (type.every((item) => typeof item === "string")) {
|
||||
if ("mode" in obj4) {
|
||||
let items2 = ["import", "open"];
|
||||
if (!items2.includes(obj4.mode)) {
|
||||
let _TypeError2 = TypeError;
|
||||
let tmp30 = new.target;
|
||||
let tmp31 = new.target;
|
||||
let typeError = new TypeError("Invalid mode option: " + obj4.mode);
|
||||
throw typeError;
|
||||
}
|
||||
}
|
||||
let NativeDocumentPicker = _mod11572.NativeDocumentPicker;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
let obj5 = { value: NativeDocumentPicker.pick(obj4), done: false };
|
||||
return obj5;
|
||||
} else {
|
||||
let _TypeError = TypeError;
|
||||
let _HermesInternal = HermesInternal;
|
||||
let tmp26 = new.target;
|
||||
let tmp27 = new.target;
|
||||
let typeError1 = new TypeError("Unexpected type option in " + obj4.type + ", did you try using a DocumentPicker.types.* that does not exist?");
|
||||
throw typeError1;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj6 = { value, done: true };
|
||||
return obj6;
|
||||
} else {
|
||||
closure_131_1 = value;
|
||||
closure_2 = closure_131_1;
|
||||
dependencyMap = closure_131_1[Symbol.iterator]();
|
||||
while (dependencyMap !== undefined) {
|
||||
closure_131_2 = tmp10;
|
||||
let obj = closure_132_0(closure_132_1[4]);
|
||||
closure_131_2.hasRequestedType = obj.safeValidate(closure_131_0.type, closure_131_2);
|
||||
c6 = 0;
|
||||
continue;
|
||||
}
|
||||
c8 = 3;
|
||||
let obj7 = { value: closure_131_1, done: true };
|
||||
return obj7;
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
dependencyMap.return();
|
||||
throw hasOwnProperty;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pick = function pick(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
41
alpha/source/__helpers/11xxx/11579__saveDocuments.js
Normal file
41
alpha/source/__helpers/11xxx/11579__saveDocuments.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// Module ID: 11579
|
||||
// Function ID: 11580
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11572]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11579 (_saveDocuments)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = fn;
|
||||
let closure_3 = async function _saveDocuments() {
|
||||
closure_1 = tmp2;
|
||||
await asyncGeneratorStep(async () => {
|
||||
if (tmp2.sourceUris.length > 1) {
|
||||
const _console = console;
|
||||
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(11572).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11572).NativeDocumentPicker;
|
||||
await NativeDocumentPicker.writeDocuments(closure_128_0);
|
||||
return arg1;
|
||||
})();
|
||||
return arg1.map(closure_129_4);
|
||||
};
|
||||
function keepOnlySpecifiedFields(uri) {
|
||||
return { uri: uri.uri, name: uri.name, error: uri.error };
|
||||
}
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const saveDocuments = function saveDocuments(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,358 +0,0 @@
|
|||
// Module ID: 13102
|
||||
// Function ID: 13103
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 13081, 13103, 13082, 13054, 13065, 13068, 13061, 13091, 13055, 13077]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 13102 (_flush)
|
||||
import _mod13055 from "module_13055" /* 13055 */;
|
||||
import _mod13065 from "module_13065" /* 13065 */;
|
||||
import _mod13068 from "module_13068" /* 13068 */;
|
||||
import _mod13077 from "module_13077" /* 13077 */;
|
||||
import _mod13081 from "module_13081" /* 13081 */;
|
||||
import _mod13103 from "module_13103" /* 13103 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
let closure_3 = async function _flush(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_13081").getClient();
|
||||
if (client) {
|
||||
client.flush(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_13081");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _close(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_13081").getClient();
|
||||
if (client) {
|
||||
client.close(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events and disable SDK. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_13081");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(13077).closeSession(tmp3);
|
||||
const tmpResult = tmp(13077);
|
||||
}
|
||||
const isolationScope1 = _mod13081.getIsolationScope();
|
||||
const tmpResult4 = _mod13081;
|
||||
const currentScope1 = _mod13081.getCurrentScope();
|
||||
const tmpResult5 = _mod13081;
|
||||
const client = _mod13081.getClient();
|
||||
const tmp5 = currentScope1.getSession() || isolationScope1.getSession();
|
||||
let tmp6 = tmp5;
|
||||
if (tmp5) {
|
||||
tmp6 = client;
|
||||
}
|
||||
if (tmp6) {
|
||||
client.captureSession(tmp5);
|
||||
}
|
||||
isolationScope.setSession();
|
||||
currentScope.setSession();
|
||||
}
|
||||
|
||||
export const addEventProcessor = function addEventProcessor(arg0) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
const client = _mod13081.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(13082).DEBUG_BUILD) {
|
||||
const logger2 = tmp(13054).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(13082).DEBUG_BUILD) {
|
||||
const logger = tmp(13054).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod13065.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod13103.parseEventHintOrCaptureContext(arg1));
|
||||
};
|
||||
export const captureMessage = function captureMessage(arg0, captureContext) {
|
||||
let tmp;
|
||||
if (typeof captureContext === "string") {
|
||||
tmp = captureContext;
|
||||
}
|
||||
let tmp2;
|
||||
if (typeof captureContext !== "string") {
|
||||
const obj2 = { captureContext };
|
||||
tmp2 = obj2;
|
||||
}
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
return currentScope.captureMessage(arg0, tmp, tmp2);
|
||||
};
|
||||
export const captureSession = function captureSession() {
|
||||
let flag = arg0;
|
||||
if (arg0 === undefined) {
|
||||
flag = false;
|
||||
}
|
||||
if (flag) {
|
||||
endSession();
|
||||
} else {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
const client = _mod13081.getClient();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
let tmp4 = tmp3;
|
||||
if (tmp3) {
|
||||
tmp4 = client;
|
||||
}
|
||||
if (tmp4) {
|
||||
client.captureSession(tmp3);
|
||||
}
|
||||
}
|
||||
};
|
||||
export const close = function close(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export { endSession };
|
||||
export const flush = function flush(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const isEnabled = function isEnabled() {
|
||||
const client = _mod13081.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod13081.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod13081.getClient();
|
||||
const isolationScope = _mod13081.getIsolationScope();
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(13091).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod13055.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod13055.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod13077;
|
||||
obj2.user = currentScope.getUser() || isolationScope.getUser();
|
||||
let tmp5 = userAgent;
|
||||
if (userAgent) {
|
||||
const obj4 = { userAgent };
|
||||
tmp5 = obj4;
|
||||
}
|
||||
const merged = Object.assign(tmp5);
|
||||
const merged1 = Object.assign(arg0);
|
||||
const session = tmpResult.makeSession(obj2);
|
||||
const session1 = isolationScope.getSession();
|
||||
let tmp10 = session1;
|
||||
if (session1) {
|
||||
tmp10 = "ok" === session1.status;
|
||||
}
|
||||
if (tmp10) {
|
||||
tmp(13077).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(13077);
|
||||
}
|
||||
endSession();
|
||||
isolationScope.setSession(session);
|
||||
currentScope.setSession(session);
|
||||
return session;
|
||||
};
|
||||
export const withMonitor = function withMonitor(monitorSlug, arg1, arg2) {
|
||||
_require = monitorSlug;
|
||||
dependencyMap = arg1;
|
||||
function finishCheckIn(status) {
|
||||
const obj = { monitorSlug, status, checkInId: captureCheckInResult, duration: _mod13068.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod13081.getCurrentScope();
|
||||
const client = _mod13081.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(13082).DEBUG_BUILD) {
|
||||
const logger2 = tmp(13054).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(13082).DEBUG_BUILD) {
|
||||
const logger = tmp(13054).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod13065.uuid4();
|
||||
}
|
||||
let currentScope = require("module_13081").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_13081");
|
||||
let client = require("module_13081").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(13082).DEBUG_BUILD) {
|
||||
let logger2 = tmp(13054).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(13068).timestampInSeconds();
|
||||
const tmpResult = tmp(13068);
|
||||
return tmp(13081).withIsolationScope(() => {
|
||||
try {
|
||||
const tmp3 = closure_1();
|
||||
if (obj.isThenable(tmp3)) {
|
||||
const resolved = Promise.resolve(tmp3);
|
||||
resolved.then(() => {
|
||||
finishCheckIn("ok");
|
||||
}, (arg0) => {
|
||||
finishCheckIn("error");
|
||||
throw arg0;
|
||||
});
|
||||
} else {
|
||||
finishCheckIn("ok");
|
||||
}
|
||||
return tmp3;
|
||||
} catch (tmp12) {
|
||||
finishCheckIn("error");
|
||||
throw tmp12;
|
||||
}
|
||||
});
|
||||
} else if (tmp(13082).DEBUG_BUILD) {
|
||||
let logger = tmp(13054).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_13081");
|
||||
captureCheckInResult = require("module_13065").uuid4();
|
||||
};
|
||||
|
|
@ -1,264 +0,0 @@
|
|||
// Module ID: 13129
|
||||
// Function ID: 13130
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [13110, 13082, 13054, 13065, 13063]
|
||||
|
||||
// Module 13129 (_getEventFilterUrl)
|
||||
import _mod13054 from "module_13054" /* 13054 */;
|
||||
import _mod13063 from "module_13063" /* 13063 */;
|
||||
import _mod13065 from "module_13065" /* 13065 */;
|
||||
import _mod13082 from "module_13082" /* 13082 */;
|
||||
import setupIntegration from "module_13110" /* 13110 */;
|
||||
|
||||
function _getEventFilterUrl(arg0) {
|
||||
try {
|
||||
const frames = arg0.exception.values[0].stacktrace.frames;
|
||||
let tmp4 = null;
|
||||
if (frames) {
|
||||
tmp4 = (function _getLastValidUrl(frames) {
|
||||
let tmp2;
|
||||
items = frames;
|
||||
if (frames === undefined) {
|
||||
items = [];
|
||||
}
|
||||
let diff = items.length - 1;
|
||||
if (0 <= diff) {
|
||||
while (true) {
|
||||
tmp2 = items[diff];
|
||||
if (tmp2) {
|
||||
if ("<anonymous>" !== tmp2.filename) {
|
||||
if ("[native code]" !== tmp2.filename) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
diff = diff - 1;
|
||||
}
|
||||
return tmp2.filename || null;
|
||||
}
|
||||
return null;
|
||||
})(frames);
|
||||
}
|
||||
return tmp4;
|
||||
} catch (err) {
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger = tmp6(13054).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(13065).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(13065);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
let items = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/, /^ResizeObserver loop completed with undelivered notifications.$/, /^Cannot redefine property: googletag$/, "undefined is not an object (evaluating 'a.L')", "can't redefine non-configurable property \"solana\"", "vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)", "Can't find variable: _AutofillCallbackHandler", /^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/];
|
||||
|
||||
export const inboundFiltersIntegration = setupIntegration.defineIntegration(() => {
|
||||
if (arg0 === undefined) {
|
||||
let obj = {};
|
||||
}
|
||||
return {
|
||||
name: "InboundFilters",
|
||||
processEvent(type, arg1, getOptions) {
|
||||
let options = getOptions.getOptions();
|
||||
if (obj === undefined) {
|
||||
obj = {};
|
||||
}
|
||||
if (options === undefined) {
|
||||
options = {};
|
||||
}
|
||||
items = [...obj.allowUrls || [], ...tmp2];
|
||||
const items1 = [...obj.denyUrls || [], ...tmp4];
|
||||
const items2 = [...obj.ignoreErrors || [], ...tmp6, ...tmp7];
|
||||
const items3 = [...obj.ignoreTransactions || [], ...tmp9];
|
||||
if (tmp10) {
|
||||
if ((function _isSentryError(type) {
|
||||
try {
|
||||
return "SentryError" === type.exception.values[0].type;
|
||||
} catch (err) {
|
||||
return false;
|
||||
}
|
||||
})(type)) {
|
||||
let flag6 = true;
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger6 = _mod13054.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod13065.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
let tmp77 = null;
|
||||
if (!flag6) {
|
||||
tmp77 = type;
|
||||
}
|
||||
return tmp77;
|
||||
}
|
||||
let flag = false;
|
||||
if (!type.type) {
|
||||
flag = false;
|
||||
if (items2.length) {
|
||||
flag = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type).some((item) => {
|
||||
obj = obj(dependencyMap[4]);
|
||||
return obj.stringMatchesSomePattern(item, items2);
|
||||
});
|
||||
const obj3 = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type);
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
flag6 = true;
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger5 = _mod13054.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod13065.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag2 = false;
|
||||
if (!type.type) {
|
||||
flag2 = false;
|
||||
if (type.exception) {
|
||||
flag2 = false;
|
||||
if (type.exception.values) {
|
||||
flag2 = false;
|
||||
if (0 !== type.exception.values.length) {
|
||||
const message = type.message;
|
||||
let tmp11 = !message;
|
||||
if (!message) {
|
||||
const values = type.exception.values;
|
||||
tmp11 = !values.some((stacktrace) => {
|
||||
stacktrace = stacktrace.stacktrace;
|
||||
if (!stacktrace) {
|
||||
let type = stacktrace.type;
|
||||
if (type) {
|
||||
type = "Error" !== stacktrace.type;
|
||||
}
|
||||
stacktrace = type;
|
||||
}
|
||||
if (!stacktrace) {
|
||||
stacktrace = stacktrace.value;
|
||||
}
|
||||
return stacktrace;
|
||||
});
|
||||
}
|
||||
flag2 = tmp11;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (flag2) {
|
||||
flag6 = true;
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger4 = _mod13054.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod13065.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag3 = false;
|
||||
if ("transaction" === type.type) {
|
||||
flag3 = false;
|
||||
if (items3.length) {
|
||||
const transaction = type.transaction;
|
||||
let result = transaction;
|
||||
if (result) {
|
||||
result = _mod13063.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger3 = _mod13054.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod13065.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod13063.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger2 = _mod13054.logger;
|
||||
const eventDescription = _mod13065.getEventDescription(type);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
logger2.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + eventDescription + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag5 = true;
|
||||
if (items.length) {
|
||||
const tmp21 = _getEventFilterUrl(type);
|
||||
let result2 = !tmp21;
|
||||
if (tmp21) {
|
||||
result2 = _mod13063.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod13082.DEBUG_BUILD) {
|
||||
const logger = _mod13054.logger;
|
||||
const eventDescription1 = _mod13065.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,55 +0,0 @@
|
|||
// Module ID: 13177
|
||||
// Function ID: 13178
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 13178]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 13177 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 13178 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncNullishCoalesce2(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 3;
|
||||
const obj4 = { value: _nullishCoalesce._nullishCoalesce(closure_0, closure_1), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncNullishCoalesce = function _asyncNullishCoalesce(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
// Module ID: 13178
|
||||
// Function ID: 13179
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 13178 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
// Module ID: 13179
|
||||
// Function ID: 13180
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 13179 (_asyncOptionalChain2)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_1 = async function _asyncOptionalChain2(arg0, value) {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_1 = tmp4;
|
||||
closure_129_0 = length;
|
||||
closure_129_2 = undefined;
|
||||
closure_129_3 = undefined;
|
||||
closure_129_4 = undefined;
|
||||
closure_129_5 = undefined;
|
||||
closure_129_1 = undefined;
|
||||
closure_129_2 = length[0];
|
||||
closure_129_3 = 1;
|
||||
if (closure_129_3 < length.length) {
|
||||
closure_129_4 = closure_129_0[closure_129_3];
|
||||
closure_129_5 = closure_129_0[closure_129_3 + 1];
|
||||
closure_129_3 = closure_129_3 + 2;
|
||||
if ("optionalAccess" === closure_129_4) {
|
||||
if (null == closure_129_2) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
}
|
||||
if ("access" !== closure_129_4) {
|
||||
if ("optionalAccess" !== closure_129_4) {
|
||||
let tmp22 = "call" !== closure_129_4;
|
||||
if (tmp22) {
|
||||
tmp22 = "optionalCall" !== closure_129_4;
|
||||
}
|
||||
if (!tmp22) {
|
||||
c2 = 2;
|
||||
c3 = 1;
|
||||
const obj4 = {
|
||||
value: closure_129_5(() => {
|
||||
const items = [closure_1_1, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1_2.call.apply(items);
|
||||
}),
|
||||
done: false
|
||||
};
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
}
|
||||
closure_129_1 = closure_129_2;
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj5 = { value: closure_129_5(closure_129_2), done: false };
|
||||
return obj5;
|
||||
}
|
||||
c3 = 3;
|
||||
const obj6 = { value: closure_129_2, done: true };
|
||||
return obj6;
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj7 = { value, done: true };
|
||||
return obj7;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
closure_129_1 = undefined;
|
||||
}
|
||||
} catch (tmp31) {
|
||||
c3 = tmp;
|
||||
throw tmp31;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncOptionalChain = function _asyncOptionalChain(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
// Module ID: 13180
|
||||
// Function ID: 13181
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 13179]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 13180 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 13179 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncOptionalChainDelete2() {
|
||||
closure_1 = tmp2;
|
||||
closure_129_0 = await _asyncOptionalChain2._asyncOptionalChain(closure_0);
|
||||
let tmp9 = null == closure_129_0;
|
||||
if (!tmp9) {
|
||||
tmp9 = closure_129_0;
|
||||
}
|
||||
return tmp9;
|
||||
};
|
||||
|
||||
export const _asyncOptionalChainDelete = function _asyncOptionalChainDelete(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
// Module ID: 13181
|
||||
// Function ID: 13182
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 13181 (_optionalChain)
|
||||
|
||||
export const _optionalChain = function _optionalChain(arg0) {
|
||||
const first = arg0[0];
|
||||
closure_1 = first;
|
||||
let num = 1;
|
||||
let tmp2 = first;
|
||||
let tmp3 = first;
|
||||
if (1 < arg0.length) {
|
||||
while (true) {
|
||||
let tmp4 = arg0[num];
|
||||
let tmp5 = arg0[num + 1];
|
||||
let tmp6 = "optionalAccess" === tmp4;
|
||||
if (tmp6) {
|
||||
if (null == tmp2) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ("access" !== tmp4) {
|
||||
if (!tmp6) {
|
||||
let tmp9 = "call" !== tmp4 && "optionalCall" !== tmp4;
|
||||
let tmp10 = tmp2;
|
||||
if (!tmp9) {
|
||||
let tmp5Result = tmp5(() => {
|
||||
const items = [closure_0, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1.call.apply(items);
|
||||
});
|
||||
closure_1 = tmp5Result;
|
||||
closure_0 = undefined;
|
||||
tmp10 = tmp5Result;
|
||||
}
|
||||
}
|
||||
num = num + 2;
|
||||
tmp2 = tmp10;
|
||||
tmp3 = tmp10;
|
||||
}
|
||||
closure_0 = tmp2;
|
||||
let tmp5Result2 = tmp5(tmp2);
|
||||
closure_1 = tmp5Result2;
|
||||
tmp10 = tmp5Result2;
|
||||
}
|
||||
}
|
||||
return tmp3;
|
||||
};
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
// Module ID: 13182
|
||||
// Function ID: 13183
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [13181]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 13182 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 13181 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
358
alpha/source/__helpers/13xxx/13184__flush.js
Normal file
358
alpha/source/__helpers/13xxx/13184__flush.js
Normal file
|
|
@ -0,0 +1,358 @@
|
|||
// Module ID: 13184
|
||||
// Function ID: 13185
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 13163, 13185, 13164, 13136, 13147, 13150, 13143, 13173, 13137, 13159]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 13184 (_flush)
|
||||
import _mod13137 from "module_13137" /* 13137 */;
|
||||
import _mod13147 from "module_13147" /* 13147 */;
|
||||
import _mod13150 from "module_13150" /* 13150 */;
|
||||
import _mod13159 from "module_13159" /* 13159 */;
|
||||
import _mod13163 from "module_13163" /* 13163 */;
|
||||
import _mod13185 from "module_13185" /* 13185 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
let closure_3 = async function _flush(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_13163").getClient();
|
||||
if (client) {
|
||||
client.flush(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_13163");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _close(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_13163").getClient();
|
||||
if (client) {
|
||||
client.close(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events and disable SDK. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_13163");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(13159).closeSession(tmp3);
|
||||
const tmpResult = tmp(13159);
|
||||
}
|
||||
const isolationScope1 = _mod13163.getIsolationScope();
|
||||
const tmpResult4 = _mod13163;
|
||||
const currentScope1 = _mod13163.getCurrentScope();
|
||||
const tmpResult5 = _mod13163;
|
||||
const client = _mod13163.getClient();
|
||||
const tmp5 = currentScope1.getSession() || isolationScope1.getSession();
|
||||
let tmp6 = tmp5;
|
||||
if (tmp5) {
|
||||
tmp6 = client;
|
||||
}
|
||||
if (tmp6) {
|
||||
client.captureSession(tmp5);
|
||||
}
|
||||
isolationScope.setSession();
|
||||
currentScope.setSession();
|
||||
}
|
||||
|
||||
export const addEventProcessor = function addEventProcessor(arg0) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
const client = _mod13163.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(13164).DEBUG_BUILD) {
|
||||
const logger2 = tmp(13136).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(13164).DEBUG_BUILD) {
|
||||
const logger = tmp(13136).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod13147.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod13185.parseEventHintOrCaptureContext(arg1));
|
||||
};
|
||||
export const captureMessage = function captureMessage(arg0, captureContext) {
|
||||
let tmp;
|
||||
if (typeof captureContext === "string") {
|
||||
tmp = captureContext;
|
||||
}
|
||||
let tmp2;
|
||||
if (typeof captureContext !== "string") {
|
||||
const obj2 = { captureContext };
|
||||
tmp2 = obj2;
|
||||
}
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
return currentScope.captureMessage(arg0, tmp, tmp2);
|
||||
};
|
||||
export const captureSession = function captureSession() {
|
||||
let flag = arg0;
|
||||
if (arg0 === undefined) {
|
||||
flag = false;
|
||||
}
|
||||
if (flag) {
|
||||
endSession();
|
||||
} else {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
const client = _mod13163.getClient();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
let tmp4 = tmp3;
|
||||
if (tmp3) {
|
||||
tmp4 = client;
|
||||
}
|
||||
if (tmp4) {
|
||||
client.captureSession(tmp3);
|
||||
}
|
||||
}
|
||||
};
|
||||
export const close = function close(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export { endSession };
|
||||
export const flush = function flush(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const isEnabled = function isEnabled() {
|
||||
const client = _mod13163.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod13163.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod13163.getClient();
|
||||
const isolationScope = _mod13163.getIsolationScope();
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(13173).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod13137.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod13137.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod13159;
|
||||
obj2.user = currentScope.getUser() || isolationScope.getUser();
|
||||
let tmp5 = userAgent;
|
||||
if (userAgent) {
|
||||
const obj4 = { userAgent };
|
||||
tmp5 = obj4;
|
||||
}
|
||||
const merged = Object.assign(tmp5);
|
||||
const merged1 = Object.assign(arg0);
|
||||
const session = tmpResult.makeSession(obj2);
|
||||
const session1 = isolationScope.getSession();
|
||||
let tmp10 = session1;
|
||||
if (session1) {
|
||||
tmp10 = "ok" === session1.status;
|
||||
}
|
||||
if (tmp10) {
|
||||
tmp(13159).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(13159);
|
||||
}
|
||||
endSession();
|
||||
isolationScope.setSession(session);
|
||||
currentScope.setSession(session);
|
||||
return session;
|
||||
};
|
||||
export const withMonitor = function withMonitor(monitorSlug, arg1, arg2) {
|
||||
_require = monitorSlug;
|
||||
dependencyMap = arg1;
|
||||
function finishCheckIn(status) {
|
||||
const obj = { monitorSlug, status, checkInId: captureCheckInResult, duration: _mod13150.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod13163.getCurrentScope();
|
||||
const client = _mod13163.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(13164).DEBUG_BUILD) {
|
||||
const logger2 = tmp(13136).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(13164).DEBUG_BUILD) {
|
||||
const logger = tmp(13136).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod13147.uuid4();
|
||||
}
|
||||
let currentScope = require("module_13163").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_13163");
|
||||
let client = require("module_13163").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(13164).DEBUG_BUILD) {
|
||||
let logger2 = tmp(13136).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(13150).timestampInSeconds();
|
||||
const tmpResult = tmp(13150);
|
||||
return tmp(13163).withIsolationScope(() => {
|
||||
try {
|
||||
const tmp3 = closure_1();
|
||||
if (obj.isThenable(tmp3)) {
|
||||
const resolved = Promise.resolve(tmp3);
|
||||
resolved.then(() => {
|
||||
finishCheckIn("ok");
|
||||
}, (arg0) => {
|
||||
finishCheckIn("error");
|
||||
throw arg0;
|
||||
});
|
||||
} else {
|
||||
finishCheckIn("ok");
|
||||
}
|
||||
return tmp3;
|
||||
} catch (tmp12) {
|
||||
finishCheckIn("error");
|
||||
throw tmp12;
|
||||
}
|
||||
});
|
||||
} else if (tmp(13164).DEBUG_BUILD) {
|
||||
let logger = tmp(13136).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_13163");
|
||||
captureCheckInResult = require("module_13147").uuid4();
|
||||
};
|
||||
264
alpha/source/__helpers/13xxx/13211__getEventFilterUrl.js
Normal file
264
alpha/source/__helpers/13xxx/13211__getEventFilterUrl.js
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
// Module ID: 13211
|
||||
// Function ID: 13212
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [13192, 13164, 13136, 13147, 13145]
|
||||
|
||||
// Module 13211 (_getEventFilterUrl)
|
||||
import _mod13136 from "module_13136" /* 13136 */;
|
||||
import _mod13145 from "module_13145" /* 13145 */;
|
||||
import _mod13147 from "module_13147" /* 13147 */;
|
||||
import _mod13164 from "module_13164" /* 13164 */;
|
||||
import setupIntegration from "module_13192" /* 13192 */;
|
||||
|
||||
function _getEventFilterUrl(arg0) {
|
||||
try {
|
||||
const frames = arg0.exception.values[0].stacktrace.frames;
|
||||
let tmp4 = null;
|
||||
if (frames) {
|
||||
tmp4 = (function _getLastValidUrl(frames) {
|
||||
let tmp2;
|
||||
items = frames;
|
||||
if (frames === undefined) {
|
||||
items = [];
|
||||
}
|
||||
let diff = items.length - 1;
|
||||
if (0 <= diff) {
|
||||
while (true) {
|
||||
tmp2 = items[diff];
|
||||
if (tmp2) {
|
||||
if ("<anonymous>" !== tmp2.filename) {
|
||||
if ("[native code]" !== tmp2.filename) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
diff = diff - 1;
|
||||
}
|
||||
return tmp2.filename || null;
|
||||
}
|
||||
return null;
|
||||
})(frames);
|
||||
}
|
||||
return tmp4;
|
||||
} catch (err) {
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger = tmp6(13136).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(13147).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(13147);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
let items = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/, /^ResizeObserver loop completed with undelivered notifications.$/, /^Cannot redefine property: googletag$/, "undefined is not an object (evaluating 'a.L')", "can't redefine non-configurable property \"solana\"", "vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)", "Can't find variable: _AutofillCallbackHandler", /^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/];
|
||||
|
||||
export const inboundFiltersIntegration = setupIntegration.defineIntegration(() => {
|
||||
if (arg0 === undefined) {
|
||||
let obj = {};
|
||||
}
|
||||
return {
|
||||
name: "InboundFilters",
|
||||
processEvent(type, arg1, getOptions) {
|
||||
let options = getOptions.getOptions();
|
||||
if (obj === undefined) {
|
||||
obj = {};
|
||||
}
|
||||
if (options === undefined) {
|
||||
options = {};
|
||||
}
|
||||
items = [...obj.allowUrls || [], ...tmp2];
|
||||
const items1 = [...obj.denyUrls || [], ...tmp4];
|
||||
const items2 = [...obj.ignoreErrors || [], ...tmp6, ...tmp7];
|
||||
const items3 = [...obj.ignoreTransactions || [], ...tmp9];
|
||||
if (tmp10) {
|
||||
if ((function _isSentryError(type) {
|
||||
try {
|
||||
return "SentryError" === type.exception.values[0].type;
|
||||
} catch (err) {
|
||||
return false;
|
||||
}
|
||||
})(type)) {
|
||||
let flag6 = true;
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger6 = _mod13136.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod13147.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
let tmp77 = null;
|
||||
if (!flag6) {
|
||||
tmp77 = type;
|
||||
}
|
||||
return tmp77;
|
||||
}
|
||||
let flag = false;
|
||||
if (!type.type) {
|
||||
flag = false;
|
||||
if (items2.length) {
|
||||
flag = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type).some((item) => {
|
||||
obj = obj(dependencyMap[4]);
|
||||
return obj.stringMatchesSomePattern(item, items2);
|
||||
});
|
||||
const obj3 = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type);
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
flag6 = true;
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger5 = _mod13136.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod13147.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag2 = false;
|
||||
if (!type.type) {
|
||||
flag2 = false;
|
||||
if (type.exception) {
|
||||
flag2 = false;
|
||||
if (type.exception.values) {
|
||||
flag2 = false;
|
||||
if (0 !== type.exception.values.length) {
|
||||
const message = type.message;
|
||||
let tmp11 = !message;
|
||||
if (!message) {
|
||||
const values = type.exception.values;
|
||||
tmp11 = !values.some((stacktrace) => {
|
||||
stacktrace = stacktrace.stacktrace;
|
||||
if (!stacktrace) {
|
||||
let type = stacktrace.type;
|
||||
if (type) {
|
||||
type = "Error" !== stacktrace.type;
|
||||
}
|
||||
stacktrace = type;
|
||||
}
|
||||
if (!stacktrace) {
|
||||
stacktrace = stacktrace.value;
|
||||
}
|
||||
return stacktrace;
|
||||
});
|
||||
}
|
||||
flag2 = tmp11;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (flag2) {
|
||||
flag6 = true;
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger4 = _mod13136.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod13147.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag3 = false;
|
||||
if ("transaction" === type.type) {
|
||||
flag3 = false;
|
||||
if (items3.length) {
|
||||
const transaction = type.transaction;
|
||||
let result = transaction;
|
||||
if (result) {
|
||||
result = _mod13145.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger3 = _mod13136.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod13147.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod13145.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger2 = _mod13136.logger;
|
||||
const eventDescription = _mod13147.getEventDescription(type);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
logger2.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + eventDescription + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag5 = true;
|
||||
if (items.length) {
|
||||
const tmp21 = _getEventFilterUrl(type);
|
||||
let result2 = !tmp21;
|
||||
if (tmp21) {
|
||||
result2 = _mod13145.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod13164.DEBUG_BUILD) {
|
||||
const logger = _mod13136.logger;
|
||||
const eventDescription1 = _mod13147.getEventDescription(type);
|
||||
let _HermesInternal = HermesInternal;
|
||||
logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + eventDescription1 + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
55
alpha/source/__helpers/13xxx/13259__asyncNullishCoalesce2.js
Normal file
55
alpha/source/__helpers/13xxx/13259__asyncNullishCoalesce2.js
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
// Module ID: 13259
|
||||
// Function ID: 13260
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 13260]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 13259 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 13260 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncNullishCoalesce2(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 3;
|
||||
const obj4 = { value: _nullishCoalesce._nullishCoalesce(closure_0, closure_1), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncNullishCoalesce = function _asyncNullishCoalesce(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
15
alpha/source/__helpers/13xxx/13260__nullishCoalesce.js
Normal file
15
alpha/source/__helpers/13xxx/13260__nullishCoalesce.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Module ID: 13260
|
||||
// Function ID: 13261
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 13260 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
122
alpha/source/__helpers/13xxx/13261__asyncOptionalChain2.js
Normal file
122
alpha/source/__helpers/13xxx/13261__asyncOptionalChain2.js
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
// Module ID: 13261
|
||||
// Function ID: 13262
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 13261 (_asyncOptionalChain2)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_1 = async function _asyncOptionalChain2(arg0, value) {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_1 = tmp4;
|
||||
closure_129_0 = length;
|
||||
closure_129_2 = undefined;
|
||||
closure_129_3 = undefined;
|
||||
closure_129_4 = undefined;
|
||||
closure_129_5 = undefined;
|
||||
closure_129_1 = undefined;
|
||||
closure_129_2 = length[0];
|
||||
closure_129_3 = 1;
|
||||
if (closure_129_3 < length.length) {
|
||||
closure_129_4 = closure_129_0[closure_129_3];
|
||||
closure_129_5 = closure_129_0[closure_129_3 + 1];
|
||||
closure_129_3 = closure_129_3 + 2;
|
||||
if ("optionalAccess" === closure_129_4) {
|
||||
if (null == closure_129_2) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
}
|
||||
if ("access" !== closure_129_4) {
|
||||
if ("optionalAccess" !== closure_129_4) {
|
||||
let tmp22 = "call" !== closure_129_4;
|
||||
if (tmp22) {
|
||||
tmp22 = "optionalCall" !== closure_129_4;
|
||||
}
|
||||
if (!tmp22) {
|
||||
c2 = 2;
|
||||
c3 = 1;
|
||||
const obj4 = {
|
||||
value: closure_129_5(() => {
|
||||
const items = [closure_1_1, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1_2.call.apply(items);
|
||||
}),
|
||||
done: false
|
||||
};
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
}
|
||||
closure_129_1 = closure_129_2;
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj5 = { value: closure_129_5(closure_129_2), done: false };
|
||||
return obj5;
|
||||
}
|
||||
c3 = 3;
|
||||
const obj6 = { value: closure_129_2, done: true };
|
||||
return obj6;
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj7 = { value, done: true };
|
||||
return obj7;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
closure_129_1 = undefined;
|
||||
}
|
||||
} catch (tmp31) {
|
||||
c3 = tmp;
|
||||
throw tmp31;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncOptionalChain = function _asyncOptionalChain(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// Module ID: 13262
|
||||
// Function ID: 13263
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 13261]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 13262 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 13261 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncOptionalChainDelete2() {
|
||||
closure_1 = tmp2;
|
||||
closure_129_0 = await _asyncOptionalChain2._asyncOptionalChain(closure_0);
|
||||
let tmp9 = null == closure_129_0;
|
||||
if (!tmp9) {
|
||||
tmp9 = closure_129_0;
|
||||
}
|
||||
return tmp9;
|
||||
};
|
||||
|
||||
export const _asyncOptionalChainDelete = function _asyncOptionalChainDelete(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
50
alpha/source/__helpers/13xxx/13263__optionalChain.js
Normal file
50
alpha/source/__helpers/13xxx/13263__optionalChain.js
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
// Module ID: 13263
|
||||
// Function ID: 13264
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 13263 (_optionalChain)
|
||||
|
||||
export const _optionalChain = function _optionalChain(arg0) {
|
||||
const first = arg0[0];
|
||||
closure_1 = first;
|
||||
let num = 1;
|
||||
let tmp2 = first;
|
||||
let tmp3 = first;
|
||||
if (1 < arg0.length) {
|
||||
while (true) {
|
||||
let tmp4 = arg0[num];
|
||||
let tmp5 = arg0[num + 1];
|
||||
let tmp6 = "optionalAccess" === tmp4;
|
||||
if (tmp6) {
|
||||
if (null == tmp2) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ("access" !== tmp4) {
|
||||
if (!tmp6) {
|
||||
let tmp9 = "call" !== tmp4 && "optionalCall" !== tmp4;
|
||||
let tmp10 = tmp2;
|
||||
if (!tmp9) {
|
||||
let tmp5Result = tmp5(() => {
|
||||
const items = [closure_0, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1.call.apply(items);
|
||||
});
|
||||
closure_1 = tmp5Result;
|
||||
closure_0 = undefined;
|
||||
tmp10 = tmp5Result;
|
||||
}
|
||||
}
|
||||
num = num + 2;
|
||||
tmp2 = tmp10;
|
||||
tmp3 = tmp10;
|
||||
}
|
||||
closure_0 = tmp2;
|
||||
let tmp5Result2 = tmp5(tmp2);
|
||||
closure_1 = tmp5Result2;
|
||||
tmp10 = tmp5Result2;
|
||||
}
|
||||
}
|
||||
return tmp3;
|
||||
};
|
||||
16
alpha/source/__helpers/13xxx/13264__optionalChainDelete.js
Normal file
16
alpha/source/__helpers/13xxx/13264__optionalChainDelete.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// Module ID: 13264
|
||||
// Function ID: 13265
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [13263]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 13264 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 13263 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
// Module ID: 15834
|
||||
// Function ID: 15835
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15835]
|
||||
|
||||
// Module 15834 (_regeneratorRuntime)
|
||||
import _mod15835 from "module_15835" /* 15835 */;
|
||||
|
||||
const tmp3 = _mod15835();
|
||||
try {
|
||||
globalThis.regeneratorRuntime = tmp3;
|
||||
} catch (err) {
|
||||
const _globalThis = globalThis;
|
||||
if (typeof globalThis === "object") {
|
||||
const _globalThis2 = globalThis;
|
||||
globalThis.regeneratorRuntime = tmp2;
|
||||
} else {
|
||||
const _Function = Function;
|
||||
Function("r", "regeneratorRuntime = r")(tmp2);
|
||||
}
|
||||
}
|
||||
|
||||
export default tmp3;
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
// Module ID: 15838
|
||||
// Function ID: 15839
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15838 (_getRequireWildcardCache)
|
||||
function _getRequireWildcardCache(arg0) {
|
||||
if (typeof WeakMap !== "function") {
|
||||
return null;
|
||||
} else {
|
||||
const _WeakMap = WeakMap;
|
||||
const weakMap = new WeakMap();
|
||||
let tmp = weakMap;
|
||||
const _WeakMap2 = WeakMap;
|
||||
const weakMap1 = new WeakMap();
|
||||
_getRequireWildcardCache = function _getRequireWildcardCache(arg0) {
|
||||
return arg0 ? weakMap1 : weakMap;
|
||||
};
|
||||
if (arg0) {
|
||||
tmp = weakMap1;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
// Module ID: 15841
|
||||
// Function ID: 15842
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15841 (_defineProperty)
|
||||
import _mod43 from "module_43" /* 43 */;
|
||||
|
||||
|
||||
export default function _defineProperty(arg0, arg1, value) {
|
||||
const tmp = _mod43(arg1);
|
||||
if (tmp in arg0) {
|
||||
const _Object = Object;
|
||||
const obj = { value, enumerable: true, configurable: true, writable: true };
|
||||
Object.defineProperty(arg0, tmp, obj);
|
||||
} else {
|
||||
arg0[tmp] = value;
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
23
alpha/source/__helpers/15xxx/15888__regeneratorRuntime.js
Normal file
23
alpha/source/__helpers/15xxx/15888__regeneratorRuntime.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Module ID: 15888
|
||||
// Function ID: 15889
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15889]
|
||||
|
||||
// Module 15888 (_regeneratorRuntime)
|
||||
import _mod15889 from "module_15889" /* 15889 */;
|
||||
|
||||
const tmp3 = _mod15889();
|
||||
try {
|
||||
globalThis.regeneratorRuntime = tmp3;
|
||||
} catch (err) {
|
||||
const _globalThis = globalThis;
|
||||
if (typeof globalThis === "object") {
|
||||
const _globalThis2 = globalThis;
|
||||
globalThis.regeneratorRuntime = tmp2;
|
||||
} else {
|
||||
const _Function = Function;
|
||||
Function("r", "regeneratorRuntime = r")(tmp2);
|
||||
}
|
||||
}
|
||||
|
||||
export default tmp3;
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// Module ID: 15892
|
||||
// Function ID: 15893
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15892 (_getRequireWildcardCache)
|
||||
function _getRequireWildcardCache(arg0) {
|
||||
if (typeof WeakMap !== "function") {
|
||||
return null;
|
||||
} else {
|
||||
const _WeakMap = WeakMap;
|
||||
const weakMap = new WeakMap();
|
||||
let tmp = weakMap;
|
||||
const _WeakMap2 = WeakMap;
|
||||
const weakMap1 = new WeakMap();
|
||||
_getRequireWildcardCache = function _getRequireWildcardCache(arg0) {
|
||||
return arg0 ? weakMap1 : weakMap;
|
||||
};
|
||||
if (arg0) {
|
||||
tmp = weakMap1;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
20
alpha/source/__helpers/15xxx/15895__defineProperty.js
Normal file
20
alpha/source/__helpers/15xxx/15895__defineProperty.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Module ID: 15895
|
||||
// Function ID: 15896
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15895 (_defineProperty)
|
||||
import _mod43 from "module_43" /* 43 */;
|
||||
|
||||
|
||||
export default function _defineProperty(arg0, arg1, value) {
|
||||
const tmp = _mod43(arg1);
|
||||
if (tmp in arg0) {
|
||||
const _Object = Object;
|
||||
const obj = { value, enumerable: true, configurable: true, writable: true };
|
||||
Object.defineProperty(arg0, tmp, obj);
|
||||
} else {
|
||||
arg0[tmp] = value;
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -19,7 +19,7 @@ let closure_6 = ["mark", "measure"];
|
|||
const NativePerformanceCxx = nullthrows(_modDef154);
|
||||
({ reportMark: closure_8, reportMeasure: closure_9, getMarkTime: c10, clearMarks: closure_11, clearMeasures: closure_12 } = NativePerformanceCxx);
|
||||
let closure_13 = { startTime: 0, detail: "category" };
|
||||
let closure_14 = { name: "", startTime: 0, duration: 0, detail: "ip" };
|
||||
let closure_14 = { name: "", startTime: 0, duration: 0, detail: "disabled" };
|
||||
function getMarkTimeForMeasure(arg0) {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -394,17 +394,17 @@ export const Children = {
|
|||
const items = [];
|
||||
c2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f70632.call;
|
||||
const call = f70825.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f70632(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f70825(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
return items;
|
||||
}
|
||||
},
|
||||
forEach(element, arg1, arg2) {
|
||||
const f70630 = function() {
|
||||
const f70823 = function() {
|
||||
const self = this;
|
||||
const apply = f70630.apply;
|
||||
const apply = f70823.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 = f70632.call;
|
||||
const call = f70825.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f70632(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f70825(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 = f70632.call;
|
||||
const call = f70825.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f70632(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f70825(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
return closure_0;
|
||||
},
|
||||
toArray(element) {
|
||||
const f70632 = (arg0) => arg0;
|
||||
const f70825 = (arg0) => arg0;
|
||||
let items1 = element;
|
||||
if (null != element) {
|
||||
const items = [];
|
||||
closure_2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f70632.call;
|
||||
const call = f70825.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f70632(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f70825(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);
|
||||
f109906 = tmp3Result;
|
||||
f110209 = 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 = () => f109906;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f109906.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f109906._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f109906._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f109906._scrollView.nativeInstance;
|
||||
tmp3Result.getScrollResponder = () => f110209;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f110209.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f110209._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f110209._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f110209._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 = f109906.getNativeScrollRef();
|
||||
const nativeScrollRef = f110209.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const obj = _modDef350;
|
||||
if (!x) {
|
||||
|
|
@ -121,14 +121,14 @@ class ScrollView {
|
|||
if (animated) {
|
||||
animated = animated.animated;
|
||||
}
|
||||
const nativeScrollRef = f109906.getNativeScrollRef();
|
||||
const nativeScrollRef = f110209.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.scrollToEnd(nativeScrollRef, false !== animated);
|
||||
const tmp2 = false !== animated;
|
||||
}
|
||||
};
|
||||
tmp3Result.flashScrollIndicators = () => {
|
||||
const nativeScrollRef = f109906.getNativeScrollRef();
|
||||
const nativeScrollRef = f110209.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const result = _modDef350.flashScrollIndicators(nativeScrollRef);
|
||||
}
|
||||
|
|
@ -138,9 +138,9 @@ class ScrollView {
|
|||
if (!arg1) {
|
||||
num = 0;
|
||||
}
|
||||
f109906._additionalScrollOffset = num;
|
||||
f109906._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f109906._innerView.nativeInstance) {
|
||||
f110209._additionalScrollOffset = num;
|
||||
f110209._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f110209._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) {
|
||||
f109906._animated = animated.animated;
|
||||
f110209._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 = f109906.getNativeScrollRef();
|
||||
const nativeScrollRef = f110209.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 != f109906._keyboardMetrics) {
|
||||
if (null != f110209._keyboardMetrics) {
|
||||
screenY = obj._keyboardMetrics.screenY;
|
||||
}
|
||||
const sum = closure_0 - screenY + closure_1 + obj._additionalScrollOffset;
|
||||
let bound = sum;
|
||||
if (true === f109906._preventNegativeScrollOffset) {
|
||||
if (true === f110209._preventNegativeScrollOffset) {
|
||||
const _Math = Math;
|
||||
bound = Math.max(0, sum);
|
||||
}
|
||||
const point = { x: 0, y: bound, animated: true };
|
||||
f109906.scrollTo(point);
|
||||
f109906._additionalScrollOffset = 0;
|
||||
f109906._preventNegativeScrollOffset = false;
|
||||
f110209.scrollTo(point);
|
||||
f110209._additionalScrollOffset = 0;
|
||||
f110209._preventNegativeScrollOffset = false;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -210,29 +210,29 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleScroll = (arg0) => {
|
||||
f109906._observedScrollSinceBecomingResponder = true;
|
||||
if (f109906.props.onScroll) {
|
||||
f110209._observedScrollSinceBecomingResponder = true;
|
||||
if (f110209.props.onScroll) {
|
||||
const props = tmp.props;
|
||||
props.onScroll(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleLayout = (nativeEvent) => {
|
||||
if (true === f109906.props.invertStickyHeaders) {
|
||||
if (true === f110209.props.invertStickyHeaders) {
|
||||
const obj2 = { layoutHeight: nativeEvent.nativeEvent.layout.height };
|
||||
obj.setState(obj2);
|
||||
}
|
||||
if (f109906.props.onLayout) {
|
||||
if (f110209.props.onLayout) {
|
||||
const props = obj.props;
|
||||
props.onLayout(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleContentOnLayout = (arg0) => {
|
||||
if (f109906.props.onContentSizeChange) {
|
||||
const props = f109906.props;
|
||||
if (f110209.props.onContentSizeChange) {
|
||||
const props = f110209.props;
|
||||
props.onContentSizeChange(tmp, tmp2);
|
||||
}
|
||||
};
|
||||
f109906 = (arg0) => arg0;
|
||||
f110209 = (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 = f109906(nativeInstance);
|
||||
tmp = f110209(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -258,7 +258,7 @@ class ScrollView {
|
|||
};
|
||||
closure_1 = obj1;
|
||||
tmp3Result._innerView = obj1;
|
||||
f109906 = (arg0) => Object.assign(arg0, { getScrollResponder: f109906.getScrollResponder, getScrollableNode: f109906.getScrollableNode, getInnerViewNode: f109906.getInnerViewNode, getInnerViewRef: f109906.getInnerViewRef, getNativeScrollRef: f109906.getNativeScrollRef, scrollTo: f109906.scrollTo, scrollToEnd: f109906.scrollToEnd, flashScrollIndicators: f109906.flashScrollIndicators, scrollResponderZoomTo: f109906.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f109906.scrollResponderScrollNativeHandleToKeyboard });
|
||||
f110209 = (arg0) => Object.assign(arg0, { getScrollResponder: f110209.getScrollResponder, getScrollableNode: f110209.getScrollableNode, getInnerViewNode: f110209.getInnerViewNode, getInnerViewRef: f110209.getInnerViewRef, getNativeScrollRef: f110209.getNativeScrollRef, scrollTo: f110209.scrollTo, scrollToEnd: f110209.scrollToEnd, flashScrollIndicators: f110209.flashScrollIndicators, scrollResponderZoomTo: f110209.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f110209.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 = f109906(nativeInstance);
|
||||
tmp = f110209(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -285,63 +285,63 @@ class ScrollView {
|
|||
closure_1 = obj4;
|
||||
tmp3Result._scrollView = obj4;
|
||||
tmp3Result.scrollResponderKeyboardWillShow = (endCoordinates) => {
|
||||
f109906._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f109906.props.onKeyboardWillShow) {
|
||||
const props = f109906.props;
|
||||
f110209._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f110209.props.onKeyboardWillShow) {
|
||||
const props = f110209.props;
|
||||
props.onKeyboardWillShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardWillHide = (arg0) => {
|
||||
f109906._keyboardMetrics = null;
|
||||
if (f109906.props.onKeyboardWillHide) {
|
||||
f110209._keyboardMetrics = null;
|
||||
if (f110209.props.onKeyboardWillHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardWillHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidShow = (endCoordinates) => {
|
||||
f109906._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f109906.props.onKeyboardDidShow) {
|
||||
const props = f109906.props;
|
||||
f110209._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f110209.props.onKeyboardDidShow) {
|
||||
const props = f110209.props;
|
||||
props.onKeyboardDidShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidHide = (arg0) => {
|
||||
f109906._keyboardMetrics = null;
|
||||
if (f109906.props.onKeyboardDidHide) {
|
||||
f110209._keyboardMetrics = null;
|
||||
if (f110209.props.onKeyboardDidHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardDidHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollBegin = (arg0) => {
|
||||
const _performance = ScrollView.performance;
|
||||
f109906._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f109906.props.onMomentumScrollBegin) {
|
||||
const props = f109906.props;
|
||||
f110209._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f110209.props.onMomentumScrollBegin) {
|
||||
const props = f110209.props;
|
||||
const result = props.onMomentumScrollBegin(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollEnd = (arg0) => {
|
||||
_modDef351.endScroll();
|
||||
const _performance = ScrollView.performance;
|
||||
f109906._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f109906.props.onMomentumScrollEnd) {
|
||||
const props = f109906.props;
|
||||
f110209._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f110209.props.onMomentumScrollEnd) {
|
||||
const props = f110209.props;
|
||||
props.onMomentumScrollEnd(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollBeginDrag = (arg0) => {
|
||||
_modDef351.beginScroll();
|
||||
if ("on-drag" === f109906.props.keyboardDismissMode) {
|
||||
if ("on-drag" === f110209.props.keyboardDismissMode) {
|
||||
dismissKeyboardDefault();
|
||||
}
|
||||
if (f109906.props.onScrollBeginDrag) {
|
||||
if (f110209.props.onScrollBeginDrag) {
|
||||
const props = tmp4.props;
|
||||
props.onScrollBeginDrag(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollEndDrag = (nativeEvent) => {
|
||||
const velocity = nativeEvent.nativeEvent.velocity;
|
||||
let _isAnimatingResult = f109906._isAnimating();
|
||||
let _isAnimatingResult = f110209._isAnimating();
|
||||
if (!_isAnimatingResult) {
|
||||
let tmp3 = velocity;
|
||||
if (velocity) {
|
||||
|
|
@ -353,29 +353,29 @@ class ScrollView {
|
|||
if (!_isAnimatingResult) {
|
||||
_modDef351.endScroll();
|
||||
}
|
||||
if (f109906.props.onScrollEndDrag) {
|
||||
if (f110209.props.onScrollEndDrag) {
|
||||
const props = tmp.props;
|
||||
props.onScrollEndDrag(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._isAnimating = () => {
|
||||
const _performance = ScrollView.performance;
|
||||
return _performance.now() - f109906._lastMomentumScrollEndTime < 16 || f109906._lastMomentumScrollEndTime < f109906._lastMomentumScrollBeginTime;
|
||||
return _performance.now() - f110209._lastMomentumScrollEndTime < 16 || f110209._lastMomentumScrollEndTime < f110209._lastMomentumScrollBeginTime;
|
||||
};
|
||||
tmp3Result._handleResponderGrant = (arg0) => {
|
||||
f109906._observedScrollSinceBecomingResponder = false;
|
||||
if (f109906.props.onResponderGrant) {
|
||||
f110209._observedScrollSinceBecomingResponder = false;
|
||||
if (f110209.props.onResponderGrant) {
|
||||
const props = obj.props;
|
||||
props.onResponderGrant(arg0);
|
||||
}
|
||||
f109906._becameResponderWhileAnimating = f109906._isAnimating();
|
||||
f110209._becameResponderWhileAnimating = f110209._isAnimating();
|
||||
};
|
||||
tmp3Result._handleResponderReject = () => {
|
||||
|
||||
};
|
||||
tmp3Result._handleResponderRelease = (nativeEvent) => {
|
||||
f109906._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f109906.props.onResponderRelease) {
|
||||
f110209._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f110209.props.onResponderRelease) {
|
||||
const props = obj.props;
|
||||
props.onResponderRelease(nativeEvent);
|
||||
}
|
||||
|
|
@ -407,10 +407,10 @@ class ScrollView {
|
|||
tmp3 = importDefault;
|
||||
}
|
||||
};
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f109906._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f109906.props.disableScrollViewPanResponder && f109906._isTouching;
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f110209._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f110209.props.disableScrollViewPanResponder && f110209._isTouching;
|
||||
tmp3Result._handleStartShouldSetResponder = (target) => {
|
||||
if (true === f109906.props.disableScrollViewPanResponder) {
|
||||
if (true === f110209.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
} else {
|
||||
let tmp4 = "handled" !== obj.props.keyboardShouldPersistTaps;
|
||||
|
|
@ -425,7 +425,7 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleStartShouldSetResponderCapture = (target) => {
|
||||
if (f109906._isAnimating()) {
|
||||
if (f110209._isAnimating()) {
|
||||
return true;
|
||||
} else if (true === obj.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
|
|
@ -471,16 +471,16 @@ class ScrollView {
|
|||
return isTextInputResult;
|
||||
};
|
||||
tmp3Result._softKeyboardIsDetached = () => {
|
||||
let tmp = null != f109906._keyboardMetrics;
|
||||
let tmp = null != f110209._keyboardMetrics;
|
||||
if (tmp) {
|
||||
tmp = 0 === f109906._keyboardMetrics.height;
|
||||
tmp = 0 === f110209._keyboardMetrics.height;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
tmp3Result._keyboardEventsAreUnreliable = () => get_VersionDefault.Version < 30;
|
||||
tmp3Result._handleTouchEnd = (nativeEvent) => {
|
||||
f109906._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f109906.props.keyboardShouldPersistTaps;
|
||||
f110209._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f110209.props.keyboardShouldPersistTaps;
|
||||
let tmp = !keyboardShouldPersistTaps;
|
||||
if (keyboardShouldPersistTaps) {
|
||||
tmp = "never" === keyboardShouldPersistTaps;
|
||||
|
|
@ -490,27 +490,27 @@ class ScrollView {
|
|||
_modDef144.blurTextInput(result);
|
||||
const tmp2Result = _modDef144;
|
||||
}
|
||||
if (f109906.props.onTouchEnd) {
|
||||
if (f110209.props.onTouchEnd) {
|
||||
const props = obj.props;
|
||||
props.onTouchEnd(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchCancel = (arg0) => {
|
||||
f109906._isTouching = false;
|
||||
if (f109906.props.onTouchCancel) {
|
||||
f110209._isTouching = false;
|
||||
if (f110209.props.onTouchCancel) {
|
||||
const props = tmp.props;
|
||||
props.onTouchCancel(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchStart = (arg0) => {
|
||||
f109906._isTouching = true;
|
||||
if (f109906.props.onTouchStart) {
|
||||
f110209._isTouching = true;
|
||||
if (f110209.props.onTouchStart) {
|
||||
const props = tmp.props;
|
||||
props.onTouchStart(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchMove = (arg0) => {
|
||||
if (f109906.props.onTouchMove) {
|
||||
if (f110209.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 f109957 = (__getValue) => __getValue.__getValue();
|
||||
const f110260 = (__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] = f109960(arr);
|
||||
obj[key10006] = f110263(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109960(dependencyMap[6])) {
|
||||
if (item instanceof f110263(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 = f109960(tmp9);
|
||||
tmp3 = f110263(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -127,24 +127,24 @@ let items = [
|
|||
{
|
||||
key: "__getValueWithStaticTransforms",
|
||||
value: function __getValueWithStaticTransforms(arr) {
|
||||
let f109958 = [];
|
||||
let f110261 = [];
|
||||
const _transforms = this._transforms;
|
||||
f109958 = (__getValue) => {
|
||||
f109958.push(__getValue.__getValue());
|
||||
f110261 = (__getValue) => {
|
||||
f110261.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] = f109960(arr);
|
||||
obj[key10006] = f110263(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109960(dependencyMap[6])) {
|
||||
if (item instanceof f110263(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 = f109960(tmp9);
|
||||
tmp3 = f110263(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -176,20 +176,20 @@ let items = [
|
|||
}
|
||||
return obj;
|
||||
});
|
||||
closure_129_0 = () => f109958.shift();
|
||||
closure_129_0 = () => f110261.shift();
|
||||
return arr.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f109960(arr);
|
||||
obj[key10006] = f110263(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109960(dependencyMap[6])) {
|
||||
if (item instanceof f110263(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 = f109960(tmp9);
|
||||
tmp3 = f110263(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -227,20 +227,20 @@ let items = [
|
|||
key: "__getAnimatedValue",
|
||||
value: function __getAnimatedValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f109960 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
const f110263 = (__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] = f109960(arr);
|
||||
obj[key10006] = f110263(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109960(dependencyMap[6])) {
|
||||
if (item instanceof f110263(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 = f109960(tmp9);
|
||||
tmp3 = f110263(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ if (null) {
|
|||
} else {
|
||||
self = this;
|
||||
tmp6 = global;
|
||||
obj = { fired: false, wrapFn: "a", target: "a", type: "isArray", listener: "track" };
|
||||
obj = { fired: false, wrapFn: "a", target: false, type: false, listener: false };
|
||||
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: "a", type: "isArray", listener: "track" };
|
||||
obj = { fired: false, wrapFn: "a", target: false, type: false, listener: false };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ let fn = function n() {
|
|||
let length;
|
||||
let length2;
|
||||
let obj = {};
|
||||
let f110088 = obj;
|
||||
let f110391 = 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 = f110088[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp4 = f110391[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 = f110088;
|
||||
tmp5 = f110391;
|
||||
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 = f110088;
|
||||
tmp = f110391;
|
||||
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 = f110088;
|
||||
tmp2 = f110391;
|
||||
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 = f110088;
|
||||
tmp2 = f110391;
|
||||
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 = f110088;
|
||||
tmp13 = f110391;
|
||||
tmp14 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -986,7 +986,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f110088[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f110391[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 = f110088[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f110391[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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f110391[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 = f110088[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
tmp13 = f110391[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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f110391[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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f110391[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 = f110088[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp8 = f110391[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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp17 = f110391[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" === (f110088[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f110088[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
brewer = "string" === (f110391[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f110391[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 = f110088[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
tmp10 = f110391[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 = f110088[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
tmp29 = f110391[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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp5 = f110391[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;
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_130_0 = (arg0, arg1) => arg0 * arg1 / 255;
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_131_0 = (arg0, arg1) => 255 * (1 - (1 - arg0 / 255) * (1 - arg1 / 255));
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_132_0 = (arg0, arg1) => {
|
||||
if (arg1 < 128) {
|
||||
|
|
@ -3796,14 +3796,14 @@ let fn = function n() {
|
|||
}
|
||||
return result;
|
||||
};
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_133_0 = (arg0, arg1) => {
|
||||
let tmp = arg0;
|
||||
|
|
@ -3812,14 +3812,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_134_0 = (arg0, arg1) => {
|
||||
let tmp = arg1;
|
||||
|
|
@ -3828,14 +3828,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_135_0 = (arg0, arg1) => {
|
||||
let num = 255;
|
||||
|
|
@ -3848,24 +3848,24 @@ let fn = function n() {
|
|||
}
|
||||
return num;
|
||||
};
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_136_0 = (arg0, arg1) => 255 * (1 - (1 - arg1 / 255) / (arg0 / 255));
|
||||
f110088 = (arg0, arg1) => {
|
||||
const items = [f110088(arg0[0], arg1[0]), f110088(arg0[1], arg1[1]), f110088(arg0[2], arg1[2])];
|
||||
f110391 = (arg0, arg1) => {
|
||||
const items = [f110391(arg0[0], arg1[0]), f110391(arg0[1], arg1[1]), f110391(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(f110088(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f110391(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" === (f110088[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f110088[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
tmp2 = "object" === (f110391[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f110391[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 = f110088[typeof call === "unknown" ? toString(dependencyMap) : call(toString, dependencyMap)] || "object";
|
||||
tmp4 = f110391[typeof call === "unknown" ? toString(dependencyMap) : call(toString, dependencyMap)] || "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());
|
||||
[f110088, type$p] = mapped1;
|
||||
[f110391, 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());
|
||||
[f110088, type$p, type$p] = mapped2;
|
||||
[f110391, 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());
|
||||
[f110088, type$p, type$p, last] = mapped3;
|
||||
[f110391, 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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f110391[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 = f110088[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f110391[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: "WireType", cacheCreationInputTokens: "names", cacheReadInputTokens: "Number", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "ip", cacheCreationInputTokens: "values", cacheReadInputTokens: "isArray", 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;
|
||||
closure_2 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "WireType", cacheCreationInputTokens: "names", cacheReadInputTokens: "Number", toolCalls: [], activeToolBlocks: {} };
|
||||
closure_2 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "ip", cacheCreationInputTokens: "values", cacheReadInputTokens: "isArray", toolCalls: [], activeToolBlocks: {} };
|
||||
applyResult.on("streamEvent", (arg0) => {
|
||||
processEvent(arg0, closure_2, 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(/* F122947 */ function() { ... });
|
||||
closure_0 = closure_2(/* F123283 */ 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(/* F122947 */ function() { ... });
|
||||
closure_0 = closure_2(/* F123283 */ 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 (/* F127197 */ function*() { ... })();
|
||||
return (/* F127543 */ 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(() => { ... }, () => { ... }, /* F122951 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F123287 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1516,7 +1516,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F127197 */ function*() { ... })();
|
||||
return (/* F127543 */ 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(() => { ... }, () => { ... }, /* F122951 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F123287 */ 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(/* F122947 */ function() { ... });
|
||||
closure_0 = closure_2(/* F123283 */ 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(/* F122947 */ function() { ... });
|
||||
closure_0 = closure_2(/* F123283 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ export const createLangChainCallbackHandler = function createLangChainCallbackHa
|
|||
lc_namespace: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_secrets: "r",
|
||||
lc_attributes: "padding",
|
||||
lc_aliases: "createStyles",
|
||||
lc_serializable_keys: "View",
|
||||
lc_aliases: "left",
|
||||
lc_serializable_keys: "concat",
|
||||
lc_id: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_kwargs: {},
|
||||
name: false,
|
||||
|
|
|
|||
|
|
@ -3206,7 +3206,7 @@ function initObservers(doc) {
|
|||
({ mousemoveCb: drag, sampling, doc, mirror: fn3 } = doc);
|
||||
closure_2 = undefined;
|
||||
closure_3 = undefined;
|
||||
let f73048;
|
||||
let f73241;
|
||||
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;
|
||||
f73048 = function() {
|
||||
f73241 = 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 /* F110472 */ function() { ... };
|
||||
return /* F110775 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -4634,7 +4634,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F110472 */ function() { ... };
|
||||
return /* F110775 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -5485,7 +5485,7 @@ function addBreadcrumbEvent(triggerUserActivity, category) {
|
|||
}
|
||||
obj.timestamp = 1000 * num;
|
||||
const obj2 = { tag: "breadcrumb", payload: null };
|
||||
const normalizer = f110514(map[8]);
|
||||
const normalizer = f110817(map[8]);
|
||||
obj2.payload = normalizer.normalize(_null, 10, 1000);
|
||||
obj.data = obj2;
|
||||
obj.throttledAddEvent(obj);
|
||||
|
|
@ -6216,7 +6216,7 @@ function mergeWarning(_meta, arg1) {
|
|||
_meta._meta = headers;
|
||||
return _meta;
|
||||
} else {
|
||||
const obj2 = { headers, size: "Array", _meta: "formatToPlainString" };
|
||||
const obj2 = { headers, size: "Array", _meta: "assign" };
|
||||
const obj3 = { warnings: null };
|
||||
const items1 = [arg1];
|
||||
obj3.warnings = items1;
|
||||
|
|
@ -6658,7 +6658,7 @@ let closure_159 = async function _prepareFetchData2(arg0, arg1, arg2) {
|
|||
tmp23._meta = obj11;
|
||||
let obj14 = tmp23;
|
||||
} else {
|
||||
obj14 = { headers: obj11, size: "Array", _meta: "formatToPlainString" };
|
||||
obj14 = { headers: obj11, size: "Array", _meta: "assign" };
|
||||
const obj16 = { warnings: null };
|
||||
const items1 = [tmp21];
|
||||
obj16.warnings = items1;
|
||||
|
|
@ -7443,7 +7443,7 @@ let closure_164 = async function _captureXhrBreadcrumbToReplay(arg0, arg1, arg2)
|
|||
tmp22._meta = obj9;
|
||||
let obj10 = tmp22;
|
||||
} else {
|
||||
obj10 = { headers: obj9, size: "Array", _meta: "formatToPlainString" };
|
||||
obj10 = { headers: obj9, size: "Array", _meta: "assign" };
|
||||
const obj11 = { warnings: null };
|
||||
let items2 = [tmp17];
|
||||
obj11.warnings = items2;
|
||||
|
|
@ -7461,7 +7461,7 @@ let closure_164 = async function _captureXhrBreadcrumbToReplay(arg0, arg1, arg2)
|
|||
tmp18._meta = obj12;
|
||||
let obj13 = tmp18;
|
||||
} else {
|
||||
obj13 = { headers: obj12, size: "Array", _meta: "formatToPlainString" };
|
||||
obj13 = { headers: obj12, size: "Array", _meta: "assign" };
|
||||
const obj14 = { warnings: null };
|
||||
let items4 = [tmp14];
|
||||
obj14.warnings = items4;
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ export const adjustTransactionDuration = (on, activeSpan, arg2) => {
|
|||
}
|
||||
};
|
||||
export const ignoreEmptyBackNavigation = (on, c4) => {
|
||||
const f73617 = (arg0) => {
|
||||
const data = c4(f73617[2]).spanToJSON(arg0).data;
|
||||
const f73810 = (arg0) => {
|
||||
const data = c4(f73810[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 f73618 = () => {
|
||||
const debug = c4(f73617[2]).debug;
|
||||
const f73811 = () => {
|
||||
const debug = c4(f73810[2]).debug;
|
||||
debug.log("Not sampling transaction as route has been seen before. Pass ignoreEmptyBackNavigationTransactions = false to disable this feature.");
|
||||
};
|
||||
if (on) {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export const reactNativeTracingIntegration = () => {
|
|||
let merged1;
|
||||
let fn2;
|
||||
let url;
|
||||
let obj2 = { currentRoute: "max" };
|
||||
let obj2 = { currentRoute: "r" };
|
||||
let fn = obj.beforeStartSpan;
|
||||
const merged = Object.assign(Object.assign({}, url), obj);
|
||||
if (null === fn) {
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ class FeedbackWidget {
|
|||
closure_129_12 = undefined;
|
||||
closure_129_0 = undefined;
|
||||
if (self._hasScreenshot()) {
|
||||
debug.setState({ filename: "Array", attachment: "paddingHorizontal", attachmentUri: "pos" });
|
||||
debug.setState({ filename: "Array", attachment: "paddingHorizontal", attachmentUri: "container" });
|
||||
} else {
|
||||
num2 = debug.props.imagePicker;
|
||||
closure_129_6 = num2;
|
||||
|
|
@ -465,7 +465,7 @@ class FeedbackWidget {
|
|||
FeedbackWidget._savedState = Object.assign({}, closure_0.state);
|
||||
};
|
||||
tmp4Result._clearFormState = () => {
|
||||
closure_0._savedState = { name: "", email: "", description: "", filename: "category", attachment: "memo", attachmentUri: "jsxs" };
|
||||
closure_0._savedState = { name: "", email: "", description: "", filename: "ip", attachment: "isArray", attachmentUri: "isArray" };
|
||||
};
|
||||
tmp4Result._hasScreenshot = () => undefined !== closure_0.state.filename && undefined !== closure_0.state.attachment && undefined !== closure_0.state.attachmentUri;
|
||||
tmp4Result._getUser = () => {
|
||||
|
|
@ -789,12 +789,12 @@ let items = [
|
|||
const entry1 = {
|
||||
key: "reset",
|
||||
value: function reset() {
|
||||
FeedbackWidget._savedState = { name: "", email: "", description: "", filename: "category", attachment: "memo", attachmentUri: "jsxs" };
|
||||
FeedbackWidget._savedState = { name: "", email: "", description: "", filename: "ip", attachment: "isArray", attachmentUri: "isArray" };
|
||||
}
|
||||
};
|
||||
const items1 = [entry1];
|
||||
const importDefaultResultResult = _createClass(FeedbackWidget, items, items1);
|
||||
importDefaultResultResult.defaultProps = fn(1066).defaultConfiguration;
|
||||
importDefaultResultResult._savedState = { name: "", email: "", description: "", filename: "category", attachment: "memo", attachmentUri: "jsxs" };
|
||||
importDefaultResultResult._savedState = { name: "", email: "", description: "", filename: "ip", attachment: "isArray", attachmentUri: "isArray" };
|
||||
|
||||
export const FeedbackWidget = importDefaultResultResult;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "28522770c3d2a0061abb6aeaa6941f41", name: "bg.messages.28522770c3d2a0061abb6aeaa6941f41.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "63f9fcb86577e60808cb541c1e86af55", name: "bg.messages.63f9fcb86577e60808cb541c1e86af55.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "24398df6c72bbe2535dd82c8eb604546", name: "cs.messages.24398df6c72bbe2535dd82c8eb604546.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "16747058713220007a49c1c0fee1c5ba", name: "cs.messages.16747058713220007a49c1c0fee1c5ba.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "91884ad779537ddd424f2c60aec76e40", name: "da.messages.91884ad779537ddd424f2c60aec76e40.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "cee309452e12fc639fa683bc701df93b", name: "da.messages.cee309452e12fc639fa683bc701df93b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f099f2d0c7ae287b44326d7b207bfb5f", name: "de.messages.f099f2d0c7ae287b44326d7b207bfb5f.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "7f168d605a70d8e5056fdff2b38560d2", name: "de.messages.7f168d605a70d8e5056fdff2b38560d2.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c0aa38b4cbfad18a68183bb4b6f05e0a", name: "el.messages.c0aa38b4cbfad18a68183bb4b6f05e0a.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "1124cbdad97cc0889c5b14261ef4f4be", name: "el.messages.1124cbdad97cc0889c5b14261ef4f4be.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "5144d1d21c8b6ef2aa3704c4bc931115", name: "en-GB.messages.5144d1d21c8b6ef2aa3704c4bc931115.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "fe792f983606c66a01a891fd5030a581", name: "en-GB.messages.fe792f983606c66a01a891fd5030a581.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "03f8c938bcce94ce46b0ba68dedc3c8b", name: "es-ES.messages.03f8c938bcce94ce46b0ba68dedc3c8b.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "771f9c6cc0dea00bde78342af1276d81", name: "es-ES.messages.771f9c6cc0dea00bde78342af1276d81.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c52d951dea01e2123b06b42463fb5880", name: "es-419.messages.c52d951dea01e2123b06b42463fb5880.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "beece06fe5cd901c39e39e404ccdc3b2", name: "es-419.messages.beece06fe5cd901c39e39e404ccdc3b2.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6ec3f676240a34a468c4bf803bcbe1d5", name: "fi.messages.6ec3f676240a34a468c4bf803bcbe1d5.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "98548494768359988ba65580a6b203c1", name: "fi.messages.98548494768359988ba65580a6b203c1.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "81be1ad2fcf03ad15236932d661c76b4", name: "fr.messages.81be1ad2fcf03ad15236932d661c76b4.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f49e301349f0326a4262eba91c1a57bf", name: "fr.messages.f49e301349f0326a4262eba91c1a57bf.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8780db4899113e7493ffc854d1c4ad44", name: "hr.messages.8780db4899113e7493ffc854d1c4ad44.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d8289704ad81929cd8f971cf0957a52f", name: "hr.messages.d8289704ad81929cd8f971cf0957a52f.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a76fb681e0557f5dce3e3786137baffe", name: "hu.messages.a76fb681e0557f5dce3e3786137baffe.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "7e72a2a5d71cf3c630cfe2847b57956a", name: "hu.messages.7e72a2a5d71cf3c630cfe2847b57956a.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d79b4b7e7da35eee9c35bba6a3a98992", name: "it.messages.d79b4b7e7da35eee9c35bba6a3a98992.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a8bf9f92f0a61b9f819df6edfb75f872", name: "it.messages.a8bf9f92f0a61b9f819df6edfb75f872.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b0583058737a1afef6b6cc6de4c557e3", name: "ja.messages.b0583058737a1afef6b6cc6de4c557e3.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "107f71e9260bdf5eaa52a1ddcbf35e2b", name: "ja.messages.107f71e9260bdf5eaa52a1ddcbf35e2b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "99578bb6e6eaaa06b0a135ea6fa95cb5", name: "ko.messages.99578bb6e6eaaa06b0a135ea6fa95cb5.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "04fa7081b12c114bb3a8a841f53a484f", name: "ko.messages.04fa7081b12c114bb3a8a841f53a484f.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b8f986d820a8950381630212b3900862", name: "lt.messages.b8f986d820a8950381630212b3900862.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "9e3db44b9b975d309d78a3f4a0006c9d", name: "lt.messages.9e3db44b9b975d309d78a3f4a0006c9d.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b43fa9a484c5d9830c495cd9685ba3ae", name: "nl.messages.b43fa9a484c5d9830c495cd9685ba3ae.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "3736dad7c54b26d999956260373a5299", name: "nl.messages.3736dad7c54b26d999956260373a5299.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "5f35d3b0ab1d59b3d5eda6083b0b16a6", name: "no.messages.5f35d3b0ab1d59b3d5eda6083b0b16a6.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "bc53707ff5a769987931a0add459e181", name: "no.messages.bc53707ff5a769987931a0add459e181.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "947881debdd56803ebb52432ad9a3c72", name: "pl.messages.947881debdd56803ebb52432ad9a3c72.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a180513f37c63e3d9a6f266f96f024ee", name: "pl.messages.a180513f37c63e3d9a6f266f96f024ee.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "71544b025f47eee9ad38aa548cf55ad3", name: "pt-BR.messages.71544b025f47eee9ad38aa548cf55ad3.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f58621030e10a77c8f61b521386b1a19", name: "pt-BR.messages.f58621030e10a77c8f61b521386b1a19.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "2e3d53361edb0f798bb70ce2bc2fbfef", name: "ro.messages.2e3d53361edb0f798bb70ce2bc2fbfef.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8ab0eb8e231c6e32730869dd4161dedd", name: "ro.messages.8ab0eb8e231c6e32730869dd4161dedd.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b397bcc4b2359562f6681fe3048d81f9", name: "ru.messages.b397bcc4b2359562f6681fe3048d81f9.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f092268937f7d76cb8f495264a7bc206", name: "ru.messages.f092268937f7d76cb8f495264a7bc206.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ccf6fb1cc1a2c0a6546bc56c79d0ddd8", name: "sv-SE.messages.ccf6fb1cc1a2c0a6546bc56c79d0ddd8.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6c88c121aa8ce80e43c361b63edfec21", name: "sv-SE.messages.6c88c121aa8ce80e43c361b63edfec21.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "4f490f57a8629c2dc604e1856666f25c", name: "th.messages.4f490f57a8629c2dc604e1856666f25c.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "1ddcbd2f527de14488702e027ec12974", name: "th.messages.1ddcbd2f527de14488702e027ec12974.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c54154a8f1f73d9f24bebded6d07feae", name: "tr.messages.c54154a8f1f73d9f24bebded6d07feae.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "aa2506b5c0258c9cabad804e702fea7b", name: "tr.messages.aa2506b5c0258c9cabad804e702fea7b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "7799ea8374680b04f765599826f5e939", name: "uk.messages.7799ea8374680b04f765599826f5e939.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "4f8a4ef432d0578e1573c942468ae2df", name: "uk.messages.4f8a4ef432d0578e1573c942468ae2df.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6c44ef87f578cadb5cba815dc3f2bf17", name: "vi.messages.6c44ef87f578cadb5cba815dc3f2bf17.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c71da2769d303f3fa3c89d5cbcdcb435", name: "vi.messages.c71da2769d303f3fa3c89d5cbcdcb435.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "571cbc096bfe028239a6521abfd10480", name: "zh-CN.messages.571cbc096bfe028239a6521abfd10480.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d3edccfaa31af44b701faf48f796cc97", name: "zh-CN.messages.d3edccfaa31af44b701faf48f796cc97.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "25d1eda6a01762dcee4ebfb97ac045a8", name: "zh-TW.messages.25d1eda6a01762dcee4ebfb97ac045a8.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b95bfb188df5254bc68c6d7d2559c5ef", name: "zh-TW.messages.b95bfb188df5254bc68c6d7d2559c5ef.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "aaa3eb2b265ff1fa550e25fff3702549", name: "hi.messages.aaa3eb2b265ff1fa550e25fff3702549.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "cf2dc6dea51834576b981fc3971ef09a", name: "hi.messages.cf2dc6dea51834576b981fc3971ef09a.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/intl/messages", scales: [1], hash: "879f3679136e34c3b325f3297adf42b2", name: "en-US.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/intl/messages", scales: [1], hash: "a39a90f05b0845aa772e9e95376bed97", name: "en-US.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ 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%": "Otvori Discord", "%AsyncGenerator%": "Registriraj se sada", "%AsyncGeneratorFunction%": "Spreman/na isprobati Discord? Besplatno je!", "%AsyncIteratorPrototype%": "PRIDRU\u017DI SE PREKO {num} MILIJUNA IGRA\u010CA JO\u0160 DANAS", "%Atomics%": "Po\u010Detna", "%BigInt%": "Zna\u010Dajke", "%BigInt64Array%": "Nitro", "%BigUint64Array%": "Preuzmi", "%Boolean%": "Partneri", "%DataView%": "Izradi", "%Date%": "Vi\u0161e", "%decodeURI%": "Status", "%decodeURIComponent%": "Povratne Informacije", "%encodeURI%": "Pomo\u0107 i podr\u0161ka", "%encodeURIComponent%": "Smjernice", "%Error%": "HypeSquad", "%eval%": "Dru\u0161tvo", "%EvalError%": "Radna mjesta", "%Float16Array%": "Sigurnost", "%Float32Array%": "Razvojni programeri - Developeri", "%Float64Array%": "Dokumentacija", "%FinalizationRegistry%": "Brending", "%Function%": "Prijava", "%GeneratorFunction%": "Otvori", "%Int8Array%": "Proizvod", "%Int16Array%": "Resursi", "%Int32Array%": "Aplikacije", "%isFinite%": "Uvjeti", "%isNaN%": "Privatnost", "%IteratorPrototype%": "O nama", "%JSON%": "Verifikacija", "%Map%": "Rich Presence", "%MapIteratorPrototype%": "Upiti medija", "%Math%": "Podr\u0161ka", "%Number%": "Portal za developere", "%Object%": "Zajednica", "%Object.getOwnPropertyDescriptor%": "Sigurnost", "%parseFloat%": "Centar za sigurnost", "%parseInt%": "Akademija za moderatore", "%Promise%": "Otkrij", "%Proxy%": "Serveri", "%RangeError%": "Karijere", "%ReferenceError%": "Misije", "%Reflect%": "{count, plural, one {# ekskluzivna pogodnost} few {# ekskluzivne pogodnosti} other {# ekskluzivnih pogodnosti}}", "%RegExp%": "Samo uz ovaj model", "%Set%": "Pretplata na server", "%SetIteratorPrototype%": "Osobna pretplata", "%SharedArrayBuffer%": "jo\u0161 {count, plural, one {# pogodnost} other {# pogodnosti}}", "%String%": "{num}M", "%StringIteratorPrototype%": "{num}K", "%Symbol%": "Tvoje mjesto za razgovor sa svojom zajednicom i prijateljima.", "%SyntaxError%": "\u010Cekaj malo!", "%ThrowTypeError%": "Ako ti je netko rekao da copy/pastea\u0161 ne\u0161to ovdje, vjerojatnost da te netko \u017Eeli prevariti je 11/10.", "%TypedArray%": "Lijepljenje ovdje bilo \u010Dega moglo bi dati napada\u010Dima pristup tvom Discord ra\u010Dunu.", "%TypeError%": "Ako ne razumije\u0161 u potpunosti \u0161to radi\u0161, zatvori ovaj prozor i ostani siguran/na.", "%Uint8Array%": "Ako u potpunosti razumije\u0161 \u0161to radi\u0161, trebao/la bi do\u0107i raditi s nama {url}", "%Uint8ClampedArray%": "flag_ar", "%Uint16Array%": 0.667, "%Uint32Array%": 0.667, "%URIError%": 0.667, "%WeakMap%": "ArrayBuffer", "%WeakRef%": "prototype", "%WeakSet%": "AH", "%Function.prototype.call%": "<string:36332354>", "%Function.prototype.apply%": "<string:22237440>", "%Object.defineProperty%": "<string:2214643200>", "%Object.getPrototypeOf%": "<string:2810268672>", "%Math.abs%": "<string:2810445825>", "%Math.floor%": "<string:356515841>", "%Math.max%": "<string:607387651>", "%Math.min%": "<string:108789762>", "%Math.pow%": "<string:783745025>", "%Math.round%": "<string:1915682818>", "%Math.sign%": "<string:2810707970>", "%Reflect.getPrototypeOf%": "<string:2810773505>" });
|
||||
const merged = Object.assign({ "%AggregateError%": null, "%Array%": null, "%ArrayBuffer%": null, "%ArrayIteratorPrototype%": null, "%AsyncFromSyncIteratorPrototype%": "fill", "%AsyncFunction%": "\u00C5bn Discord", "%AsyncGenerator%": "Tilmeld dig nu", "%AsyncGeneratorFunction%": "Klar til at pr\u00F8ve Discord? Det er gratis.", "%AsyncIteratorPrototype%": "SLUT DIG TIL OVER {num} MILLIONER AF SPILLERE I DAG", "%Atomics%": "Start", "%BigInt%": "Funktioner", "%BigInt64Array%": "Nitro", "%BigUint64Array%": "Download", "%Boolean%": "Partnere", "%DataView%": "Byg", "%Date%": "Mere", "%decodeURI%": "Status", "%decodeURIComponent%": "Hj\u00E6lp og support", "%encodeURI%": "Retningslinjer", "%encodeURIComponent%": "HypeSquad", "%Error%": "StreamKit", "%eval%": "Selskab", "%EvalError%": "Stillinger", "%Float16Array%": "Sikkerhed", "%Float32Array%": "Udviklere", "%Float64Array%": "Dokumentation", "%FinalizationRegistry%": "Varem\u00E6rke", "%Function%": "Log ind", "%GeneratorFunction%": "\u00C5bn", "%Int8Array%": "Produkt", "%Int16Array%": "Ressourcer", "%Int32Array%": "Applikationer", "%isFinite%": "Betingelser", "%isNaN%": "Fortrolighed", "%IteratorPrototype%": "Om", "%JSON%": "Bekr\u00E6ftelse", "%Map%": "Rich Presence", "%MapIteratorPrototype%": "Presseforesp\u00F8rgsler", "%Math%": "Support", "%Number%": "UdviklingsPortal", "%Object%": "Community", "%Object.getOwnPropertyDescriptor%": "Sikkerhed", "%parseFloat%": "Sikkerhedscenter", "%parseInt%": "Mod-Akademiet", "%Promise%": "Udforsk", "%Proxy%": "Servere", "%RangeError%": "Karrierer", "%ReferenceError%": "Missioner", "%Reflect%": "{count, plural, one {# eksklusiv fordel} other {# eksklusive fordele}}", "%RegExp%": "Eksklusivt for dette niveau", "%Set%": "Serverabonnement", "%SetIteratorPrototype%": "Personligt abonnement", "%SharedArrayBuffer%": "+ {count, plural, one {# fordel mere} other {# fordele mere}}", "%String%": "{num}M", "%StringIteratorPrototype%": "{num}K", "%Symbol%": "Dit sted, hvor du kan tale med communities og venner.", "%SyntaxError%": "Stop!", "%ThrowTypeError%": "Hvis nogen bad dig om at kopiere og inds\u00E6tte noget her, er der en 110 % chance for, at du bliver snydt.", "%TypedArray%": "Hvis du inds\u00E6tter noget herinde, giver det scammere adgang til din Discord-konto.", "%TypeError%": "Medmindre du forst\u00E5r pr\u00E6cist, hvad du har gang i, s\u00E5 luk dette vindue og forbliv p\u00E5 den sikre side.", "%Uint8Array%": "Hvis du rent faktisk forst\u00E5r pr\u00E6cist, hvad du har gang i, skulle du komme og arbejde sammen med os {url}", "%Uint8ClampedArray%": "flag_io", "%Uint16Array%": 0.667, "%Uint32Array%": 0.667, "%URIError%": 0.667, "%WeakMap%": "ArrayBuffer", "%WeakRef%": "prototype", "%WeakSet%": "foot_tone4", "%Function.prototype.call%": "foot_medium_dark_skin_tone", "%Function.prototype.apply%": "accessibilityRole", "%Object.defineProperty%": "r", "%Object.getPrototypeOf%": "isArray", "%Math.abs%": "backgroundColor", "%Math.floor%": "keys", "%Math.max%": "Array", "%Math.min%": "isArray", "%Math.pow%": 419430685, "%Math.round%": -1711275444, "%Math.sign%": -1895824898, "%Reflect.getPrototypeOf%": 1275068727 });
|
||||
merged[0] = AggregateError;
|
||||
merged[1] = Array;
|
||||
let _ArrayBuffer;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ export default function getSideChannelList() {
|
|||
set(key, value) {
|
||||
let iter = obj;
|
||||
if (!obj) {
|
||||
obj = { next: "max" };
|
||||
obj = { next: "r" };
|
||||
iter = obj;
|
||||
}
|
||||
let iter2 = iter.next;
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ export const getActionFromState = function getActionFromState(index, initialRout
|
|||
}
|
||||
let tmp23 = substr1[substr1.length - 1];
|
||||
let _Object3 = Object;
|
||||
let merged1 = Object.assign(obj5, { initial: "category", screen: "w", params: "replace", state: "Array" });
|
||||
let merged1 = Object.assign(obj5, { initial: "Array", screen: "PX_8", params: "y", state: "HermesInternal" });
|
||||
if (1 === substr1.length) {
|
||||
if (undefined === substr1[0].key) {
|
||||
obj5.initial = true;
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ export const KeyboardProvider = (enabled) => {
|
|||
}
|
||||
}, items1);
|
||||
const obj13 = { value: tmp9, children: null };
|
||||
const obj14 = { ref: tmp3, enabled, navigationBarTranslucent: null, statusBarTranslucent: null, preserveEdgeToEdge: null, style: null, onKeyboardMoveReanimated: null, onKeyboardMoveStart: "Boolean", onKeyboardMove: "zh-Hans-HK", onKeyboardMoveInteractive: "zh-Hans", onKeyboardMoveEnd: true, onFocusedInputLayoutChangedReanimated: null, children: 500 };
|
||||
const obj14 = { ref: tmp3, enabled, navigationBarTranslucent: null, statusBarTranslucent: null, preserveEdgeToEdge: null, style: null, onKeyboardMoveReanimated: null, onKeyboardMoveStart: "Boolean", onKeyboardMove: "nl-BQ", onKeyboardMoveInteractive: "nl", onKeyboardMoveEnd: 0, onFocusedInputLayoutChangedReanimated: null, children: "HermesInternal" };
|
||||
let tmp18 = updateSharedValues;
|
||||
let tmp19 = updateSharedValues;
|
||||
if (!updateSharedValues) {
|
||||
|
|
|
|||
|
|
@ -82,8 +82,8 @@ fn = function n(userConfig, callback) {
|
|||
initialVelocity: 0,
|
||||
current: "disabled",
|
||||
lastTimestamp: null,
|
||||
startTimestamp: true,
|
||||
reduceMotion: "/assets/images/native/premium/illustrations"
|
||||
startTimestamp: -2.25,
|
||||
reduceMotion: 150
|
||||
};
|
||||
let num = obj.velocity;
|
||||
if (num == null) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ fn = function n(toValue, userConfig, callback) {
|
|||
dependencyMap = userConfig;
|
||||
__initData = callback;
|
||||
const fn = function u() {
|
||||
let obj = { damping: 10, mass: 1, stiffness: 100, overshootClamping: false, restDisplacementThreshold: 0.01, restSpeedThreshold: 2, velocity: 0, duration: 2000, dampingRatio: 0.5, reduceMotion: "category", clamp: "x" };
|
||||
let obj = { damping: 10, mass: 1, stiffness: 100, overshootClamping: false, restDisplacementThreshold: 0.01, restSpeedThreshold: 2, velocity: 0, duration: 2000, dampingRatio: 0.5, reduceMotion: "category", clamp: "replace" };
|
||||
const merged = Object.assign(dependencyMap);
|
||||
let duration;
|
||||
if (dependencyMap != null) {
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue