156 lines
9.5 KiB
JavaScript
156 lines
9.5 KiB
JavaScript
/* Metro module 5372; source: unknown; dependencies: [164, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5359, 5382] */
|
|
import Module00164 from './module-00164.js'; /* Metro dependency 164 */
|
|
import * as Module05359Module from './module-05359.js'; /* Metro dependency 5359 */
|
|
import * as TapGestureModule from './module-05373-TapGesture.js'; /* Metro dependency 5373 */
|
|
import * as PanGestureModule from './module-05374-PanGesture.js'; /* Metro dependency 5374 */
|
|
import * as PinchGestureModule from './module-05375-PinchGesture.js'; /* Metro dependency 5375 */
|
|
import * as RotationGestureModule from './module-05376-RotationGesture.js'; /* Metro dependency 5376 */
|
|
import * as FlingGestureModule from './module-05377-FlingGesture.js'; /* Metro dependency 5377 */
|
|
import * as LongPressGestureModule from './module-05378-LongPressGesture.js'; /* Metro dependency 5378 */
|
|
import * as ForceTouchGestureModule from './module-05379-ForceTouchGesture.js'; /* Metro dependency 5379 */
|
|
import * as NativeGestureModule from './module-05380-NativeGesture.js'; /* Metro dependency 5380 */
|
|
import * as ManualGestureModule from './module-05381-ManualGesture.js'; /* Metro dependency 5381 */
|
|
import * as Module05382Module from './module-05382.js'; /* Metro dependency 5382 */
|
|
|
|
function _fun47360(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:6, offset: 0x011c021d, size: 215 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.GestureObjects = {Tap: Tap, Pan: Pan, Pinch: Pinch, Rotation: Rotation, Fling: Fling, LongPress: LongPress,
|
|
ForceTouch: ForceTouch, Native: Native, Manual: Manual, Hover: Hover, Race: Race, Simultaneous: Simultaneous,
|
|
Exclusive: Exclusive};
|
|
function Tap() { // fn#47361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:113, offset: 0x011c02f4, size: 53 bytes, params: 1, frame: 11
|
|
const TapGesture = (TapGestureModule).TapGesture;
|
|
const value = Object.create(TapGesture.prototype, {constructor: {value: TapGesture}});
|
|
const tapGesture = new TapGesture();
|
|
return tapGesture instanceof Object ? tapGesture : value;
|
|
}
|
|
|
|
function Pan() { // fn#47362, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:164, offset: 0x011c0329, size: 53 bytes, params: 1, frame: 11
|
|
const PanGesture = (PanGestureModule).PanGesture;
|
|
const value = Object.create(PanGesture.prototype, {constructor: {value: PanGesture}});
|
|
const panGesture = new PanGesture();
|
|
return panGesture instanceof Object ? panGesture : value;
|
|
}
|
|
|
|
function Pinch() { // fn#47363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:217, offset: 0x011c035e, size: 53 bytes, params: 1, frame: 11
|
|
const PinchGesture = (PinchGestureModule).PinchGesture;
|
|
const value = Object.create(PinchGesture.prototype, {constructor: {value: PinchGesture}});
|
|
const pinchGesture = new PinchGesture();
|
|
return pinchGesture instanceof Object ? pinchGesture : value;
|
|
}
|
|
|
|
function Rotation() { // fn#47364, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:277, offset: 0x011c0393, size: 53 bytes, params: 1, frame: 11
|
|
const RotationGesture = (RotationGestureModule).RotationGesture;
|
|
const value = Object.create(RotationGesture.prototype, {constructor: {value: RotationGesture}});
|
|
const rotationGesture = new RotationGesture();
|
|
return rotationGesture instanceof Object ? rotationGesture : value;
|
|
}
|
|
|
|
function Fling() { // fn#47365, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:340, offset: 0x011c03c8, size: 53 bytes, params: 1, frame: 11
|
|
const FlingGesture = (FlingGestureModule).FlingGesture;
|
|
const value = Object.create(FlingGesture.prototype, {constructor: {value: FlingGesture}});
|
|
const flingGesture = new FlingGesture();
|
|
return flingGesture instanceof Object ? flingGesture : value;
|
|
}
|
|
|
|
function LongPress() { // fn#47366, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:401, offset: 0x011c03fd, size: 53 bytes, params: 1, frame: 11
|
|
const LongPressGesture = (LongPressGestureModule).LongPressGesture;
|
|
const value = Object.create(LongPressGesture.prototype, {constructor: {value: LongPressGesture}});
|
|
const longPressGesture = new LongPressGesture();
|
|
return longPressGesture instanceof Object ? longPressGesture : value;
|
|
}
|
|
|
|
function ForceTouch() { // fn#47367, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:471, offset: 0x011c0432, size: 53 bytes, params: 1, frame: 11
|
|
const ForceTouchGesture = (ForceTouchGestureModule).ForceTouchGesture;
|
|
const value = Object.create(ForceTouchGesture.prototype, {constructor: {value: ForceTouchGesture}});
|
|
const forceTouchGesture = new ForceTouchGesture();
|
|
return forceTouchGesture instanceof Object ? forceTouchGesture : value;
|
|
}
|
|
|
|
function Native() { // fn#47368, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:539, offset: 0x011c0467, size: 53 bytes, params: 1, frame: 11
|
|
const NativeGesture = (NativeGestureModule).NativeGesture;
|
|
const value = Object.create(NativeGesture.prototype, {constructor: {value: NativeGesture}});
|
|
const nativeGesture = new NativeGesture();
|
|
return nativeGesture instanceof Object ? nativeGesture : value;
|
|
}
|
|
|
|
function Manual() { // fn#47369, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:599, offset: 0x011c049c, size: 53 bytes, params: 1, frame: 11
|
|
const ManualGesture = (ManualGestureModule).ManualGesture;
|
|
const value = Object.create(ManualGesture.prototype, {constructor: {value: ManualGesture}});
|
|
const manualGesture = new ManualGesture();
|
|
return manualGesture instanceof Object ? manualGesture : value;
|
|
}
|
|
|
|
function Hover() { // fn#47370, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:658, offset: 0x011c04d1, size: 53 bytes, params: 1, frame: 11
|
|
const HoverGesture = (Module05359Module).HoverGesture;
|
|
const value = Object.create(HoverGesture.prototype, {constructor: {value: HoverGesture}});
|
|
const hoverGesture = new HoverGesture();
|
|
return hoverGesture instanceof Object ? hoverGesture : value;
|
|
}
|
|
|
|
function Race() { // fn#47371, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:715, offset: 0x011c0506, size: 103 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const ComposedGesture = (Module05382Module).ComposedGesture;
|
|
return Module00164(ComposedGesture, array);
|
|
}
|
|
|
|
function Simultaneous() { // fn#47372, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:854, offset: 0x011c056d, size: 103 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const SimultaneousGesture = (Module05382Module).SimultaneousGesture;
|
|
return Module00164(SimultaneousGesture, array);
|
|
}
|
|
|
|
function Exclusive() { // fn#47373, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5550:1002, offset: 0x011c05d4, size: 103 bytes, params: 1, frame: 15
|
|
var r0;
|
|
var value5;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
for (r0 = value4; true; r0 = value5) {
|
|
array[r0] = arguments[r0];
|
|
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (!(value5 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const ExclusiveGesture = (Module05382Module).ExclusiveGesture;
|
|
return Module00164(ExclusiveGesture, array);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun47360, 5372, [164, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5359,
|
|
5382]) /* metro module 5372, dependencies: [164, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5359, 5382] */;
|