first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

5
node_modules/expo-constants/build/Constants.d.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import { AndroidManifest, AppOwnership, Constants, ExecutionEnvironment, IOSManifest, NativeConstants, PlatformManifest, UserInterfaceIdiom, WebManifest } from './Constants.types';
export { AndroidManifest, AppOwnership, Constants, ExecutionEnvironment, IOSManifest, NativeConstants, PlatformManifest, UserInterfaceIdiom, WebManifest, };
declare const _default: Constants;
export default _default;
//# sourceMappingURL=Constants.d.ts.map

1
node_modules/expo-constants/build/Constants.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../src/Constants.ts"],"names":[],"mappings":"AAcA,OAAO,EACL,eAAe,EACf,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,eAAe,EACf,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,GACZ,CAAC;wBA0N0B,SAAS;AAArC,wBAAsC"}

189
node_modules/expo-constants/build/Constants.js generated vendored Normal file
View File

@@ -0,0 +1,189 @@
import { CodedError, requireOptionalNativeModule } from 'expo-modules-core';
import { Platform, NativeModules } from 'react-native';
import { AppOwnership, ExecutionEnvironment, UserInterfaceIdiom, } from './Constants.types';
import ExponentConstants from './ExponentConstants';
export { AppOwnership, ExecutionEnvironment, UserInterfaceIdiom, };
if (!ExponentConstants) {
console.warn("No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?");
}
const ExpoUpdates = requireOptionalNativeModule('ExpoUpdates');
let rawUpdatesManifest = null;
// If expo-updates defines a non-empty manifest, prefer that one
if (ExpoUpdates) {
let updatesManifest;
if (ExpoUpdates.manifest) {
updatesManifest = ExpoUpdates.manifest;
}
else if (ExpoUpdates.manifestString) {
updatesManifest = JSON.parse(ExpoUpdates.manifestString);
}
if (updatesManifest && Object.keys(updatesManifest).length > 0) {
rawUpdatesManifest = updatesManifest;
}
}
// If dev-launcher defines a non-empty manifest, prefer that one
let rawDevLauncherManifest = null;
if (NativeModules.EXDevLauncher) {
let devLauncherManifest;
if (NativeModules.EXDevLauncher.manifestString) {
devLauncherManifest = JSON.parse(NativeModules.EXDevLauncher.manifestString);
}
if (devLauncherManifest && Object.keys(devLauncherManifest).length > 0) {
rawDevLauncherManifest = devLauncherManifest;
}
}
// Fall back to ExponentConstants.manifest if we don't have one from Updates
let rawAppConfig = null;
if (ExponentConstants && ExponentConstants.manifest) {
const appConfig = ExponentConstants.manifest;
// On Android we pass the manifest in JSON form so this step is necessary
if (typeof appConfig === 'string') {
rawAppConfig = JSON.parse(appConfig);
}
else {
rawAppConfig = appConfig;
}
}
let rawManifest = rawUpdatesManifest ?? rawDevLauncherManifest ?? rawAppConfig;
const { name, appOwnership, ...nativeConstants } = (ExponentConstants || {});
const constants = {
...nativeConstants,
// Ensure this is null in bare workflow
appOwnership: appOwnership ?? null,
};
Object.defineProperties(constants, {
/**
* Use `manifest` property by default.
* This property is only used for internal purposes.
* It behaves similarly to the original one, but suppresses warning upon no manifest available.
* `expo-asset` uses it to prevent users from seeing mentioned warning.
*/
__unsafeNoWarnManifest: {
get() {
const maybeManifest = getManifest(true);
if (!maybeManifest || !isEmbeddedManifest(maybeManifest)) {
return null;
}
return maybeManifest;
},
enumerable: false,
},
__unsafeNoWarnManifest2: {
get() {
const maybeManifest = getManifest(true);
if (!maybeManifest || !isExpoUpdatesManifest(maybeManifest)) {
return null;
}
return maybeManifest;
},
enumerable: false,
},
manifest: {
get() {
const maybeManifest = getManifest();
if (!maybeManifest || !isEmbeddedManifest(maybeManifest)) {
return null;
}
return maybeManifest;
},
enumerable: true,
},
manifest2: {
get() {
const maybeManifest = getManifest();
if (!maybeManifest || !isExpoUpdatesManifest(maybeManifest)) {
return null;
}
return maybeManifest;
},
enumerable: true,
},
expoConfig: {
get() {
const maybeManifest = getManifest(true);
if (!maybeManifest) {
return null;
}
// if running an embedded update, maybeManifest is a EmbeddedManifest which doesn't have
// the expo config. Instead, the embedded expo-constants app.config should be used.
if (ExpoUpdates && ExpoUpdates.isEmbeddedLaunch) {
return rawAppConfig;
}
if (isExpoUpdatesManifest(maybeManifest)) {
return maybeManifest.extra?.expoClient ?? null;
}
else if (isEmbeddedManifest(maybeManifest)) {
return maybeManifest;
}
return null;
},
enumerable: true,
},
expoGoConfig: {
get() {
const maybeManifest = getManifest(true);
if (!maybeManifest) {
return null;
}
if (isExpoUpdatesManifest(maybeManifest)) {
return maybeManifest.extra?.expoGo ?? null;
}
else if (isEmbeddedManifest(maybeManifest)) {
return maybeManifest;
}
return null;
},
enumerable: true,
},
easConfig: {
get() {
const maybeManifest = getManifest(true);
if (!maybeManifest) {
return null;
}
if (isExpoUpdatesManifest(maybeManifest)) {
return maybeManifest.extra?.eas ?? null;
}
else if (isEmbeddedManifest(maybeManifest)) {
return maybeManifest;
}
return null;
},
enumerable: true,
},
__rawManifest_TEST: {
get() {
return rawManifest;
},
set(value) {
rawManifest = value;
},
enumerable: false,
},
});
function isEmbeddedManifest(manifest) {
return !isExpoUpdatesManifest(manifest);
}
function isExpoUpdatesManifest(manifest) {
return 'metadata' in manifest;
}
function getManifest(suppressWarning = false) {
if (!rawManifest) {
const invalidManifestType = rawManifest === null ? 'null' : 'undefined';
if (nativeConstants.executionEnvironment === ExecutionEnvironment.Bare &&
Platform.OS !== 'web') {
if (!suppressWarning) {
console.warn(`Constants.manifest is ${invalidManifestType} because the embedded app.config could not be read. Ensure that you have installed the expo-constants build scripts if you need to read from Constants.manifest.`);
}
}
else if (nativeConstants.executionEnvironment === ExecutionEnvironment.StoreClient ||
nativeConstants.executionEnvironment === ExecutionEnvironment.Standalone) {
// If we somehow get here, this is a truly exceptional state to be in.
// Constants.manifest should *always* be defined in those contexts.
throw new CodedError('ERR_CONSTANTS_MANIFEST_UNAVAILABLE', `Constants.manifest is ${invalidManifestType}, must be an object.`);
}
}
return rawManifest;
}
export default constants;
//# sourceMappingURL=Constants.js.map

1
node_modules/expo-constants/build/Constants.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
import { AndroidManifest, AppOwnership, Constants, ExecutionEnvironment, IOSManifest, NativeConstants, PlatformManifest, UserInterfaceIdiom, WebManifest } from './Constants.types';
export { AndroidManifest, AppOwnership, Constants, ExecutionEnvironment, IOSManifest, NativeConstants, PlatformManifest, UserInterfaceIdiom, WebManifest, };
declare const _default: Constants;
export default _default;
//# sourceMappingURL=Constants.server.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Constants.server.d.ts","sourceRoot":"","sources":["../src/Constants.server.ts"],"names":[],"mappings":"AASA,OAAO,EACL,eAAe,EACf,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,eAAe,EACf,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,GACZ,CAAC;wBA2D0B,SAAS;AAArC,wBAAsC"}

50
node_modules/expo-constants/build/Constants.server.js generated vendored Normal file
View File

@@ -0,0 +1,50 @@
import { AppOwnership, ExecutionEnvironment, UserInterfaceIdiom, } from './Constants.types';
import ExponentConstants from './ExponentConstants.web.js';
export { AppOwnership, ExecutionEnvironment, UserInterfaceIdiom, };
const PARSED_MANIFEST = (() => {
if (typeof ExponentConstants?.manifest === 'string') {
return JSON.parse(ExponentConstants.manifest);
}
return ExponentConstants?.manifest;
})();
const constants = ExponentConstants;
Object.defineProperties(constants, {
/**
* Use `manifest` property by default.
* This property is only used for internal purposes.
* It behaves similarly to the original one, but suppresses warning upon no manifest available.
* `expo-asset` uses it to prevent users from seeing mentioned warning.
*/
__unsafeNoWarnManifest: {
get() {
return PARSED_MANIFEST;
},
enumerable: false,
},
manifest: {
get() {
return PARSED_MANIFEST;
},
enumerable: true,
},
expoConfig: {
get() {
return PARSED_MANIFEST;
},
enumerable: true,
},
expoGoConfig: {
get() {
return PARSED_MANIFEST;
},
enumerable: true,
},
easConfig: {
get() {
return PARSED_MANIFEST;
},
enumerable: true,
},
});
export default constants;
//# sourceMappingURL=Constants.server.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Constants.server.js","sourceRoot":"","sources":["../src/Constants.server.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,YAAY,EAEZ,oBAAoB,EAIpB,kBAAkB,GAEnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAEL,YAAY,EAEZ,oBAAoB,EAIpB,kBAAkB,GAEnB,CAAC;AAIF,MAAM,eAAe,GAAgB,CAAC,GAAG,EAAE;IACzC,IAAI,OAAO,iBAAiB,EAAE,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,iBAAiB,EAAE,QAAe,CAAC;AAC5C,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,SAAS,GAAc,iBAAiB,CAAC;AAE/C,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE;IACjC;;;;;OAKG;IACH,sBAAsB,EAAE;QACtB,GAAG;YACD,OAAO,eAAsB,CAAC;QAChC,CAAC;QACD,UAAU,EAAE,KAAK;KAClB;IACD,QAAQ,EAAE;QACR,GAAG;YACD,OAAO,eAAsB,CAAC;QAChC,CAAC;QACD,UAAU,EAAE,IAAI;KACjB;IACD,UAAU,EAAE;QACV,GAAG;YAQD,OAAO,eAAsB,CAAC;QAChC,CAAC;QACD,UAAU,EAAE,IAAI;KACjB;IACD,YAAY,EAAE;QACZ,GAAG;YACD,OAAO,eAAsB,CAAC;QAChC,CAAC;QACD,UAAU,EAAE,IAAI;KACjB;IACD,SAAS,EAAE;QACT,GAAG;YACD,OAAO,eAAsB,CAAC;QAChC,CAAC;QACD,UAAU,EAAE,IAAI;KACjB;CACF,CAAC,CAAC;AAEH,eAAe,SAAsB,CAAC","sourcesContent":["import type { ExpoConfig } from 'expo/config';\nimport type {\n EmbeddedManifest,\n EASConfig,\n ExpoGoConfig,\n ExpoUpdatesManifest,\n} from 'expo-manifests';\nimport type { Manifest as UpdatesManifest } from 'expo-updates';\n\nimport {\n AndroidManifest,\n AppOwnership,\n Constants,\n ExecutionEnvironment,\n IOSManifest,\n NativeConstants,\n PlatformManifest,\n UserInterfaceIdiom,\n WebManifest,\n} from './Constants.types';\nimport ExponentConstants from './ExponentConstants.web.js';\ntype DevLauncherManifest = ExpoUpdatesManifest;\n\nexport {\n AndroidManifest,\n AppOwnership,\n Constants,\n ExecutionEnvironment,\n IOSManifest,\n NativeConstants,\n PlatformManifest,\n UserInterfaceIdiom,\n WebManifest,\n};\n\ntype RawManifest = UpdatesManifest | DevLauncherManifest | ExpoConfig;\n\nconst PARSED_MANIFEST: RawManifest = (() => {\n if (typeof ExponentConstants?.manifest === 'string') {\n return JSON.parse(ExponentConstants.manifest);\n }\n return ExponentConstants?.manifest as any;\n})();\n\nconst constants: Constants = ExponentConstants;\n\nObject.defineProperties(constants, {\n /**\n * Use `manifest` property by default.\n * This property is only used for internal purposes.\n * It behaves similarly to the original one, but suppresses warning upon no manifest available.\n * `expo-asset` uses it to prevent users from seeing mentioned warning.\n */\n __unsafeNoWarnManifest: {\n get(): EmbeddedManifest | null {\n return PARSED_MANIFEST as any;\n },\n enumerable: false,\n },\n manifest: {\n get(): EmbeddedManifest | null {\n return PARSED_MANIFEST as any;\n },\n enumerable: true,\n },\n expoConfig: {\n get():\n | (ExpoConfig & {\n /**\n * Only present during development using @expo/cli.\n */\n hostUri?: string;\n })\n | null {\n return PARSED_MANIFEST as any;\n },\n enumerable: true,\n },\n expoGoConfig: {\n get(): ExpoGoConfig | null {\n return PARSED_MANIFEST as any;\n },\n enumerable: true,\n },\n easConfig: {\n get(): EASConfig | null {\n return PARSED_MANIFEST as any;\n },\n enumerable: true,\n },\n});\n\nexport default constants as Constants;\n"]}

231
node_modules/expo-constants/build/Constants.types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,231 @@
import type { ExpoConfig } from 'expo/config';
import type { EASConfig as ManifestsEASConfig, ExpoGoConfig as ManifestsExpoGoConfig, ExpoUpdatesManifest, EmbeddedManifest, ManifestAsset as ManifestAssetForReExport, ManifestExtra as ManifestExtraForReExport, ClientScopingConfig as ClientScopingConfigForReExport, ExpoGoPackagerOpts as ExpoGoPackagerOptsForReExport } from 'expo-manifests';
export declare enum AppOwnership {
/**
* The experience is running inside the Expo Go app.
* @deprecated Use [`Constants.executionEnvironment`](#executionenvironment) instead.
*/
Expo = "expo"
}
/**
* Identifies where the app's JavaScript bundle is currently running.
*/
export declare enum ExecutionEnvironment {
/** A project that includes native project directories that you maintain directly in your
* [existing (bare) React Native app](https://docs.expo.dev/bare/overview/).
*/
Bare = "bare",
/** Production/release build created with or without EAS Build. */
Standalone = "standalone",
/** Expo Go or a development build built with `expo-dev-client`. */
StoreClient = "storeClient"
}
/**
* Current supported values are `handset`, `tablet`, `desktop` and `tv`. CarPlay will show up
* as `unsupported`.
*/
export declare enum UserInterfaceIdiom {
Handset = "handset",
Tablet = "tablet",
Desktop = "desktop",
TV = "tv",
Unsupported = "unsupported"
}
/**
* @platform ios
*/
export type IOSManifest = {
/**
* The build number specified in the embedded **Info.plist** value for `CFBundleVersion` in this app.
* In a standalone app, you can set this with the `ios.buildNumber` value in **app.json**. This
* may differ from the value in `Constants.expoConfig.ios.buildNumber` because the manifest
* can be updated, whereas this value will never change for a given native binary.
* The value is set to `null` in case you run your app in Expo Go.
*/
buildNumber: string | null;
/**
* The Apple internal model identifier for this device.
* @example
* `iPhone1,1`
* @deprecated Use `expo-device`'s [`Device.modelId`](./device/#devicemodelid).
*/
platform: string;
/**
* The human-readable model name of this device. For example, `"iPhone 7 Plus"` if it can be determined,
* otherwise will be `null`.
* @deprecated Moved to `expo-device` as [`Device.modelName`](./device/#devicemodelname).
*/
model: string | null;
/**
* The user interface idiom of the current device, such as whether the app is running on an iPhone, iPad, Mac or Apple TV.
* @deprecated Use `expo-device`'s [`Device.getDeviceTypeAsync()`](./device/#devicegetdevicetypeasync).
*/
userInterfaceIdiom: UserInterfaceIdiom;
/**
* The version of iOS running on this device.
* @example
* `10.3`
* @deprecated Use `expo-device`'s [`Device.osVersion`](./device/#deviceosversion).
*/
systemVersion: string;
} & Record<string, any>;
/**
* @platform android
*/
export type AndroidManifest = {
/**
* The version code set by `android.versionCode` in app.json.
* The value is set to `null` in case you run your app in Expo Go.
* @deprecated Use `expo-application`'s [`Application.nativeBuildVersion`](./application/#applicationnativebuildversion).
*/
versionCode: number;
} & Record<string, any>;
/**
* @platform web
*/
export type WebManifest = Record<string, any>;
export type ManifestAsset = ManifestAssetForReExport;
export type Manifest = ExpoUpdatesManifest;
export type ManifestExtra = ManifestExtraForReExport;
export type EASConfig = ManifestsEASConfig;
export type ClientScopingConfig = ClientScopingConfigForReExport;
export type ExpoGoConfig = ManifestsExpoGoConfig;
export type ExpoGoPackagerOpts = ExpoGoPackagerOptsForReExport;
export type PlatformManifest = {
ios?: IOSManifest;
android?: AndroidManifest;
web?: WebManifest;
detach?: {
scheme?: string;
[key: string]: any;
};
scheme?: string;
hostUri?: string;
developer?: string;
} & Record<string, any>;
export type NativeConstants = {
/**
* @hidden
*/
name: 'ExponentConstants';
/**
* Returns `expo` when running in Expo Go, otherwise `null`.
* @deprecated Use [`Constants.executionEnvironment`](#executionenvironment) instead.
*/
appOwnership: AppOwnership | null;
/**
* Returns `true` when the app is running in debug mode (`__DEV__`). Otherwise, returns `false`.
*/
debugMode: boolean;
/**
* A human-readable name for the device type.
*/
deviceName?: string;
/**
* The [device year class](https://github.com/facebook/device-year-class) of this device.
* @deprecated Moved to `expo-device` as [`Device.deviceYearClass`](./device/#deviceyearclass).
*/
deviceYearClass: number | null;
/**
* Returns the current execution environment.
*/
executionEnvironment: ExecutionEnvironment;
experienceUrl: string;
/**
* Nullable only on the web.
*/
expoRuntimeVersion: string | null;
/**
* The version string of the Expo Go app currently running.
* Returns `null` in bare workflow and web.
*/
expoVersion: string | null;
isDetached?: boolean;
intentUri?: string;
/**
* Returns `true` if the app is running in headless mode. Otherwise, returns `false`.
*/
isHeadless: boolean;
linkingUri: string;
/**
* @hidden
* Manifest embedded in the build. Returns `null` when `manifest2` is non-null.
* @deprecated Use `Constants.expoConfig` instead, which behaves more consistently across EAS Build
* and EAS Update.
*/
manifest: EmbeddedManifest | null;
/**
* Manifest for Expo apps using modern Expo Updates from a remote source, such as apps that
* use EAS Update. `Constants.expoConfig` should be used for accessing the Expo config object.
*/
manifest2: ExpoUpdatesManifest | null;
/**
* The standard Expo config object defined in **app.json** and **app.config.js** files. For both
* classic and modern manifests, whether they are embedded or remote.
*/
expoConfig: (ExpoConfig & {
/**
* Only present during development using @expo/cli.
*/
hostUri?: string;
}) | null;
/**
* The standard Expo Go config object populated when running in Expo Go.
*/
expoGoConfig: ManifestsExpoGoConfig | null;
/**
* The standard EAS config object populated when using EAS.
*/
easConfig: ManifestsEASConfig | null;
/**
* A string that is unique to the current session of your app. It is different across apps and
* across multiple launches of the same app.
*/
sessionId: string;
/**
* The default status bar height for the device. Does not factor in changes when location tracking
* is in use or a phone call is active.
*/
statusBarHeight: number;
/**
* A list of the system font names available on the current device.
*/
systemFonts: string[];
systemVersion?: number;
/**
* @hidden
*/
supportedExpoSdks?: string[];
/**
* Returns the specific platform manifest object.
*
* > **Note**: This is distinct from the `manifest` and `manifest2`.
*/
platform?: PlatformManifest;
/**
* Gets the user agent string which would be included in requests sent by a web view running on
* this device. This is probably not the same user agent you might be providing in your JS `fetch`
* requests.
*/
getWebViewUserAgentAsync: () => Promise<string | null>;
} & Record<string, any>;
/**
* @hidden
*/
export type Constants = NativeConstants & {
/**
* > **Warning**: Do not use this property. Use `manifest` by default.
*
* In certain cases accessing manifest via this property
* suppresses important warning about missing manifest.
*/
__unsafeNoWarnManifest?: EmbeddedManifest;
/**
* > **Warning**: Do not use this property. Use `manifest2` by default.
*
* In certain cases accessing manifest via this property
* suppresses important warning about missing manifest.
*/
__unsafeNoWarnManifest2?: ExpoUpdatesManifest;
};
//# sourceMappingURL=Constants.types.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Constants.types.d.ts","sourceRoot":"","sources":["../src/Constants.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EACV,SAAS,IAAI,kBAAkB,EAC/B,YAAY,IAAI,qBAAqB,EACrC,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,IAAI,wBAAwB,EACzC,aAAa,IAAI,wBAAwB,EACzC,mBAAmB,IAAI,8BAA8B,EACrD,kBAAkB,IAAI,6BAA6B,EAEpD,MAAM,gBAAgB,CAAC;AAExB,oBAAY,YAAY;IACtB;;;OAGG;IACH,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,IAAI,SAAS;IACb,kEAAkE;IAClE,UAAU,eAAe;IACzB,mEAAmE;IACnE,WAAW,gBAAgB;CAC5B;AAGD;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,EAAE,OAAO;IACT,WAAW,gBAAgB;CAC5B;AAGD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,KAAK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MAAM,GAAG,IAAI,CAAC,CAAC;CACxD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG;IACxC;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,CAAC;IAC1C;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,mBAAmB,CAAC;CAC/C,CAAC"}

36
node_modules/expo-constants/build/Constants.types.js generated vendored Normal file
View File

@@ -0,0 +1,36 @@
export var AppOwnership;
(function (AppOwnership) {
/**
* The experience is running inside the Expo Go app.
* @deprecated Use [`Constants.executionEnvironment`](#executionenvironment) instead.
*/
AppOwnership["Expo"] = "expo";
})(AppOwnership || (AppOwnership = {}));
/**
* Identifies where the app's JavaScript bundle is currently running.
*/
export var ExecutionEnvironment;
(function (ExecutionEnvironment) {
/** A project that includes native project directories that you maintain directly in your
* [existing (bare) React Native app](https://docs.expo.dev/bare/overview/).
*/
ExecutionEnvironment["Bare"] = "bare";
/** Production/release build created with or without EAS Build. */
ExecutionEnvironment["Standalone"] = "standalone";
/** Expo Go or a development build built with `expo-dev-client`. */
ExecutionEnvironment["StoreClient"] = "storeClient";
})(ExecutionEnvironment || (ExecutionEnvironment = {}));
// @needsAudit
/**
* Current supported values are `handset`, `tablet`, `desktop` and `tv`. CarPlay will show up
* as `unsupported`.
*/
export var UserInterfaceIdiom;
(function (UserInterfaceIdiom) {
UserInterfaceIdiom["Handset"] = "handset";
UserInterfaceIdiom["Tablet"] = "tablet";
UserInterfaceIdiom["Desktop"] = "desktop";
UserInterfaceIdiom["TV"] = "tv";
UserInterfaceIdiom["Unsupported"] = "unsupported";
})(UserInterfaceIdiom || (UserInterfaceIdiom = {}));
//# sourceMappingURL=Constants.types.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
declare const _default: any;
export default _default;
//# sourceMappingURL=ExponentConstants.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ExponentConstants.d.ts","sourceRoot":"","sources":["../src/ExponentConstants.ts"],"names":[],"mappings":";AAEA,wBAAgE"}

View File

@@ -0,0 +1,3 @@
import { requireOptionalNativeModule } from 'expo-modules-core';
export default requireOptionalNativeModule('ExponentConstants');
//# sourceMappingURL=ExponentConstants.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ExponentConstants.js","sourceRoot":"","sources":["../src/ExponentConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAEhE,eAAe,2BAA2B,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["import { requireOptionalNativeModule } from 'expo-modules-core';\n\nexport default requireOptionalNativeModule('ExponentConstants');\n"]}

View File

@@ -0,0 +1,4 @@
import { NativeConstants } from './Constants.types';
declare const _default: NativeConstants;
export default _default;
//# sourceMappingURL=ExponentConstants.web.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ExponentConstants.web.d.ts","sourceRoot":"","sources":["../src/ExponentConstants.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,eAAe,EAAe,MAAM,mBAAmB,CAAC;wBAsGlF,eAAe;AAtEpB,wBAsEqB"}

View File

@@ -0,0 +1,103 @@
import { ExecutionEnvironment } from './Constants.types';
const _sessionId = (Date.now() + '-' + Math.floor(Math.random() * 1000000000)).toString();
function getBrowserName() {
if (typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string') {
const agent = navigator.userAgent.toLowerCase();
if (agent.includes('edge')) {
return 'Edge';
}
else if (agent.includes('edg')) {
return 'Chromium Edge';
}
else if (agent.includes('opr') && 'opr' in window && !!window['opr']) {
return 'Opera';
}
else if (agent.includes('chrome') && 'chrome' in window && !!window['chrome']) {
return 'Chrome';
}
else if (agent.includes('trident')) {
return 'IE';
}
else if (agent.includes('firefox')) {
return 'Firefox';
}
else if (agent.includes('safari')) {
return 'Safari';
}
}
return undefined;
}
export default {
get appOwnership() {
return null;
},
get executionEnvironment() {
return ExecutionEnvironment.Bare;
},
get sessionId() {
return _sessionId;
},
get isHeadless() {
if (typeof navigator === 'undefined')
return true;
return /\bHeadlessChrome\//.test(navigator.userAgent);
},
get expoVersion() {
return this.manifest.sdkVersion || null;
},
get linkingUri() {
if (typeof location !== 'undefined') {
// On native this is `exp://`
// On web we should use the protocol and hostname (location.origin)
return location.origin;
}
else {
return '';
}
},
get expoRuntimeVersion() {
return this.expoVersion;
},
get deviceName() {
return getBrowserName();
},
get systemFonts() {
// TODO: Bacon: Maybe possible.
return [];
},
get statusBarHeight() {
return 0;
},
get deviceYearClass() {
// TODO: Bacon: The android version isn't very accurate either, maybe we could try and guess this value.
return null;
},
get manifest() {
// This is defined by @expo/webpack-config or babel-preset-expo.
// If your site is bundled with a different config then you may not have access to the app.json automatically.
return process.env.APP_MANIFEST || {};
},
get manifest2() {
return null;
},
get experienceUrl() {
if (typeof location !== 'undefined') {
return location.origin;
}
else {
return '';
}
},
get debugMode() {
return __DEV__;
},
async getWebViewUserAgentAsync() {
if (typeof navigator !== 'undefined') {
return navigator.userAgent;
}
else {
return null;
}
},
};
//# sourceMappingURL=ExponentConstants.web.js.map

File diff suppressed because one or more lines are too long