Files
discord-decomp/sources/by-id/module-01747-SharedTransition.js
2026-07-28 01:06:53 +03:00

1115 lines
52 KiB
JavaScript

/* Metro module 1747; source: unknown; dependencies: [6, 7, 1635, 1650, 1724, 1621, 1682, 1746] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import * as Module01635Module from './module-01635.js'; /* Metro dependency 1635 */
import * as Module01650Module from './module-01650.js'; /* Metro dependency 1650 */
import * as ProgressTransitionManagerModule from './module-01746-ProgressTransitionManager.js'; /* Metro dependency 1746 */
function _fun19330(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:6, offset: 0x00ea68bf, size: 217 bytes, params: 8, frame: 19
const env0_1 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_5 = ['width', 'height', 'originX', 'originY', 'transform', 'borderRadius', 'borderTopLeftRadius',
'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius'];
object = {code: 'function pnpm_SharedTransitionTs1(viewTag,values,progress){const{progressAnimationCallback}=this.__closure;const newStyles=progressAnimationCallback(values,progress);global._notifyAboutProgress(viewTag,newStyles,true);}'};
object = {code: 'function pnpm_SharedTransitionTs2(values){const{animationFactory,SUPPORTED_PROPS,withTiming,reduceMotion,transitionDuration}=this.__closure;let animations={};const initialValues={};if(animationFactory){animations=animationFactory(values);for(const key in animations){if(!SUPPORTED_PROPS.includes(key)){throw new ReanimatedError("The prop \'"+key+"\' is not supported yet.");}}}else{for(const propName of SUPPORTED_PROPS){if(propName===\'transform\'){const matrix=values.targetTransformMatrix;animations.transformMatrix=withTiming(matrix,{reduceMotion:reduceMotion,duration:transitionDuration});}else{const capitalizedPropName=""+propName.charAt(0).toUpperCase()+propName.slice(1);const keyToTargetValue="target"+capitalizedPropName;animations[propName]=withTiming(values[keyToTargetValue],{reduceMotion:reduceMotion,duration:transitionDuration});}}}for(const propName in animations){if(propName===\'transform\'){initialValues.transformMatrix=values.currentTransformMatrix;}else{const capitalizedPropName=propName.charAt(0).toUpperCase()+propName.slice(1);const keyToCurrentValue="current"+capitalizedPropName;initialValues[propName]=values[keyToCurrentValue];}}return{initialValues:initialValues,animations:animations};}'};
object = {code: 'function pnpm_SharedTransitionTs3(viewTag,values,progress){const{SUPPORTED_PROPS}=this.__closure;const newStyles={};for(const propertyName of SUPPORTED_PROPS){if(propertyName===\'transform\'){const currentMatrix=values.currentTransformMatrix;const targetMatrix=values.targetTransformMatrix;const newMatrix=new Array(9);for(let i=0;i<9;i++){newMatrix[i]=progress*(targetMatrix[i]-currentMatrix[i])+currentMatrix[i];}newStyles.transformMatrix=newMatrix;}else{const PropertyName=propertyName.charAt(0).toUpperCase()+propertyName.slice(1);const currentPropertyName="current"+PropertyName;const targetPropertyName="target"+PropertyName;const currentValue=values[currentPropertyName];const targetValue=values[targetPropertyName];newStyles[propertyName]=progress*(targetValue-currentValue)+currentValue;}}global._notifyAboutProgress(viewTag,newStyles,true);}'};
const value = _fun19331();
const ProgressTransitionManager = (ProgressTransitionManagerModule).ProgressTransitionManager;
const value2 = Object.create(ProgressTransitionManager.prototype, {constructor: {value: ProgressTransitionManager}});
const progressTransitionManager = new ProgressTransitionManager();
value._progressTransitionManager = progressTransitionManager instanceof Object ? progressTransitionManager : value2;
exports.SharedTransition = value;
function _fun19331() { // fn#19331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:2611, offset: 0x00ea6998, size: 420 bytes, params: 1, frame: 21
return CreateClass(SharedTransition, [{key: 'custom', value: function(a0) {
this._customAnimationFactory = a0;
return this;
}}, {key: 'progressAnimation', value: value_19334}, {key: 'duration', value: function(a0) {
this._transitionDuration = a0;
return this;
}}, {key: 'reduceMotion', value: function(a0) {
this._reduceMotion = a0;
return this;
}}, {key: 'defaultTransitionType', value: function(a0) {
this._defaultTransitionType = a0;
return this;
}}, {key: 'registerTransition', value: value_19339}, {key: 'unregisterTransition', value: value_19340},
{key: 'getReduceMotion', value: function() {
return this._reduceMotion;
}}, {key: 'getTransitionAnimation', value: function() {
if (!this._animation) {
this.buildAnimation();
}
return this._animation;
}}, {key: 'getProgressAnimation', value: function() {
if (!this._progressAnimation) {
this.buildProgressAnimation();
}
return this._progressAnimation;
}}, {key: 'buildAnimation', value: value_19344}, {key: 'buildProgressAnimation', value: value_19346}],
[{key: 'custom', value: value_19348}, {key: 'duration', value: value_19349}, {key: 'progressAnimation',
value: value_19350}, {key: 'defaultTransitionType', value: value_19351}, {key: 'reduceMotion',
value: value_19352}]);
function SharedTransition() { // fn#19332, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:2622, offset: 0x00ea6b3c, size: 109 bytes, params: 1, frame: 14
env1_3(this, SharedTransition);
this._customAnimationFactory = null;
this._animation = null;
this._transitionDuration = 500;
const ReduceMotion = (Module01635Module).ReduceMotion;
const System = ReduceMotion.System;
this._reduceMotion = System;
this._customProgressAnimation = undefined;
this._progressAnimation = undefined;
this._defaultTransitionType = undefined;
}
function value_19334(a0) { // fn#19334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:3051, offset: 0x00ea6bb7, size: 69 bytes, params: 2, frame: 4
const env0_0 = a0;
const _customProgressAnimation2 = _customProgressAnimation;
_customProgressAnimation2.__closure = {progressAnimationCallback: a0};
_customProgressAnimation2.__workletHash = 10649853891033;
_customProgressAnimation2.__initData = env1_6;
this._customProgressAnimation = _customProgressAnimation2;
return this;
function _customProgressAnimation(a0, a1, a2) { // fn#19335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:3128, owner: value_19334._customProgressAnimation, offset: 0x00ea6bfc, size: 48 bytes, params: 4, frame: 16
env2_0._notifyAboutProgress(a0, env0_0(a1, a2), true);
}
}
function value_19339(a0, a1) { // fn#19339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:3625, offset: 0x00ea6c56, size: 385 bytes, params: 3, frame: 22
var transitionAnimation;
var progressAnimation;
var _defaultTransitionType;
const SharedTransitionType = (Module01635Module).SharedTransitionType;
const LayoutAnimationType = (Module01635Module).LayoutAnimationType;
const r8 = arguments.length > 2 && arguments[2] !== undefined && arguments[2];
value = environment.__proto__;
const getReduceMotionFromConfig = Module01650Module.getReduceMotionFromConfig;
const getReduceMotion = this.getReduceMotion;
if (!Reflect.apply(getReduceMotionFromConfig, Module01650Module, [Reflect.apply(getReduceMotion, this, [])])) {
transitionAnimation = this.getTransitionAnimation();
progressAnimation = this.getProgressAnimation();
_defaultTransitionType = this._defaultTransitionType;
if (!_defaultTransitionType) {
if (this._customAnimationFactory) {
if (this._customProgressAnimation) {
this._defaultTransitionType = SharedTransitionType.PROGRESS_ANIMATION;
} else {
this._defaultTransitionType = SharedTransitionType.ANIMATION;
}
} else {
this._defaultTransitionType = SharedTransitionType.PROGRESS_ANIMATION;
}
}
_defaultTransitionType = this._defaultTransitionType;
(require(1724) /* metro dependency 1724 */).updateLayoutAnimations(a0,
_defaultTransitionType === SharedTransitionType.ANIMATION ? LayoutAnimationType.SHARED_ELEMENT_TRANSITION : LayoutAnimationType.SHARED_ELEMENT_TRANSITION_PROGRESS,
transitionAnimation, a1, r8);
SharedTransition._progressTransitionManager.addProgressAnimation(a0, progressAnimation);
}
}
function value_19340(a0) { // fn#19340, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:4425, offset: 0x00ea6dd7, size: 216 bytes, params: 2, frame: 20
const LayoutAnimationType = (Module01635Module).LayoutAnimationType;
const r3 = arguments.length > 1 && arguments[1] !== undefined && arguments[1];
const _defaultTransitionType = this._defaultTransitionType;
value = environment.__proto__;
const SharedTransitionType = (Module01635Module).SharedTransitionType;
const ANIMATION = SharedTransitionType.ANIMATION;
(require(1724) /* metro dependency 1724 */).updateLayoutAnimations(a0,
_defaultTransitionType === ANIMATION ? LayoutAnimationType.SHARED_ELEMENT_TRANSITION : LayoutAnimationType.SHARED_ELEMENT_TRANSITION_PROGRESS,
undefined, undefined, r3);
SharedTransition._progressTransitionManager.removeProgressAnimation(a0, r3);
}
function value_19344() { // fn#19344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:5235, offset: 0x00ea6efa, size: 142 bytes, params: 1, frame: 17
const _customAnimationFactory = this._customAnimationFactory;
const _transitionDuration = this._transitionDuration;
const _reduceMotion = this._reduceMotion;
const _animation2 = _animation;
const object = {animationFactory: _customAnimationFactory};
object.SUPPORTED_PROPS = env1_5;
object.withTiming = (require(1682) /* metro dependency 1682 */).withTiming;
object.reduceMotion = _reduceMotion;
object.transitionDuration = _transitionDuration;
_animation2.__closure = object;
_animation2.__workletHash = 5349002490567;
_animation2.__initData = env1_7;
this._animation = _animation2;
function _animation(a0) { // fn#19345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:5366, owner: value_19344._animation, offset: 0x00ea6f88, size: 541 bytes, params: 2, frame: 31
var r5;
var r8;
var r1;
var r9;
var value2;
var iterator;
var iterator2;
var item;
var item2;
var value3;
var charAt;
var value4;
var toUpperCase;
var value5;
var slice;
var value6;
var HermesInternal;
var concat;
var value7;
var property;
var moduleValue;
var withTiming;
var object;
var _reduceMotionBinding;
var _transitionDurationBinding;
var value8;
var targetTransformMatrix;
var moduleValue2;
var object2;
var value9;
var error;
var value10;
var properties;
var properties2;
var properties3;
var propertyName;
var propertyName2;
var binding;
var includes;
var ReanimatedError;
var properties4;
var properties5;
var propertyName3;
var currentTransformMatrix;
const object3 = {};
const object4 = {};
let value = environment;
reducibleJoin3: while (true) {
reducibleJoin56: while (true) {
if (_customAnimationFactory) {
value = _customAnimationFactory(a0);
value10 = environment.__proto__.__proto__;
properties = Object.keys(value);
properties2 = 0;
properties3 = properties.length;
if (properties === undefined) {
r1 = value;
} else {
r8 = properties2;
reducibleLoop48: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
r1 = value;
break reducibleLoop48;
}
binding = env2_5;
includes = binding.includes;
if (!Reflect.apply(includes, binding, [propertyName])) {
ReanimatedError = require(dependencyMap[5]).ReanimatedError;
concat = global.HermesInternal.concat;
throw new ReanimatedError("The prop '" + propertyName + "' is not supported yet.");
}
r8 = propertyName2;
continue reducibleLoop48;
}
}
properties = Object.keys(r1);
properties4 = 0;
properties5 = properties.length;
if (properties === undefined) {
break reducibleJoin56;
}
r9 = properties4;
reducibleLoop52: while (true) {
propertyName = properties[r9];
propertyName3 = r9 + 1;
if (propertyName === undefined) {
break reducibleJoin56;
}
if (propertyName === 'transform') {
currentTransformMatrix = a0.currentTransformMatrix;
object4.transformMatrix = currentTransformMatrix;
r9 = propertyName3;
continue reducibleLoop52;
}
charAt = propertyName.charAt;
value = Reflect.apply(charAt, propertyName, [0]);
toUpperCase = value.toUpperCase;
value = Reflect.apply(toUpperCase, value, []);
slice = propertyName.slice;
value += Reflect.apply(slice, propertyName, [1]);
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
object4[propertyName] = a0['current' + value];
r9 = propertyName3;
continue reducibleLoop52;
}
} else {
value2 = environment.__proto__.__proto__;
iterator = env2_5[Symbol.iterator]();
iterator2 = iterator.next;
r5 = iterator;
item2 = Reflect.apply(iterator2, r5, []);
item = item2.value;
item2 = item2.done ? undefined : r5;
if (item2 !== undefined) {
break reducibleJoin3;
}
r1 = object3;
properties = Object.keys(r1);
properties4 = 0;
properties5 = properties.length;
if (properties === undefined) {
break reducibleJoin56;
}
r9 = properties4;
reducibleLoop52: while (true) {
propertyName = properties[r9];
propertyName3 = r9 + 1;
if (propertyName === undefined) {
break reducibleJoin56;
}
if (propertyName === 'transform') {
currentTransformMatrix = a0.currentTransformMatrix;
object4.transformMatrix = currentTransformMatrix;
r9 = propertyName3;
continue reducibleLoop52;
}
charAt = propertyName.charAt;
value = Reflect.apply(charAt, propertyName, [0]);
toUpperCase = value.toUpperCase;
value = Reflect.apply(toUpperCase, value, []);
slice = propertyName.slice;
value += Reflect.apply(slice, propertyName, [1]);
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
object4[propertyName] = a0['current' + value];
r9 = propertyName3;
continue reducibleLoop52;
}
}
}
return {initialValues: object4, animations: r1};
}
reducibleLoop3: while (true) {
try {
value3 = item === 'transform';
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
if (value3) {
try {
targetTransformMatrix = a0.targetTransformMatrix;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = dependencyMap[6];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
moduleValue2 = require(property);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
withTiming = moduleValue2.withTiming;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object2 = {};
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
_reduceMotionBinding = _reduceMotion;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object2.reduceMotion = _reduceMotionBinding;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
_transitionDurationBinding = _transitionDuration;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object2.duration = _transitionDurationBinding;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value9 = Reflect.apply(withTiming, moduleValue2, [targetTransformMatrix, object2]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object3.transformMatrix = value9;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r5 = item2;
} else {
try {
charAt = item.charAt;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value4 = Reflect.apply(charAt, item, [0]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
toUpperCase = value4.toUpperCase;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value5 = Reflect.apply(toUpperCase, value4, []);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
slice = item.slice;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value6 = Reflect.apply(slice, item, [1]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
HermesInternal = global.HermesInternal;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
concat = HermesInternal.concat;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value7 = 'target' + value5 + value6;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = dependencyMap[6];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
moduleValue = require(property);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
withTiming = moduleValue.withTiming;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = a0[value7];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object = {};
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
_reduceMotionBinding = _reduceMotion;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object.reduceMotion = _reduceMotionBinding;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
_transitionDurationBinding = _transitionDuration;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object.duration = _transitionDurationBinding;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value8 = Reflect.apply(withTiming, moduleValue, [property, object]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object3[item] = value8;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r5 = item2;
}
item2 = Reflect.apply(iterator2, r5, []);
item = item2.value;
item2 = item2.done ? undefined : r5;
if (item2 === undefined) {
r1 = object3;
break reducibleLoop3;
}
continue reducibleLoop3;
}
properties = Object.keys(r1);
properties4 = 0;
properties5 = properties.length;
if (properties !== undefined) {
r9 = properties4;
reducibleLoop52: while (true) {
propertyName = properties[r9];
propertyName3 = r9 + 1;
if (propertyName === undefined) {
break reducibleLoop52;
}
if (propertyName === 'transform') {
currentTransformMatrix = a0.currentTransformMatrix;
object4.transformMatrix = currentTransformMatrix;
r9 = propertyName3;
continue reducibleLoop52;
}
charAt = propertyName.charAt;
value = Reflect.apply(charAt, propertyName, [0]);
toUpperCase = value.toUpperCase;
value = Reflect.apply(toUpperCase, value, []);
slice = propertyName.slice;
value += Reflect.apply(slice, propertyName, [1]);
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
object4[propertyName] = a0['current' + value];
r9 = propertyName3;
continue reducibleLoop52;
}
}
return {initialValues: object4, animations: r1};
}
}
function value_19346() { // fn#19346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:6181, offset: 0x00ea71a5, size: 89 bytes, params: 1, frame: 5
var environment;
var _progressAnimation2;
var value;
if (this._customProgressAnimation) {
this._progressAnimation = this._customProgressAnimation;
} else {
_progressAnimation2 = _progressAnimation;
value = environment.__proto__;
_progressAnimation2.__closure = {SUPPORTED_PROPS: env1_5};
_progressAnimation2.__workletHash = 11460342543363;
_progressAnimation2.__initData = env1_8;
this._progressAnimation = _progressAnimation2;
}
function _progressAnimation(a0, a1, a2) { // fn#19347, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:6333, owner: value_19346._progressAnimation, offset: 0x00ea71fe, size: 331 bytes, params: 4, frame: 35
var r18;
var value3;
var charAt;
var value4;
var toUpperCase;
var value5;
var slice;
var value6;
var value7;
var HermesInternal;
var concat;
var value8;
var value9;
var property;
var property2;
var value10;
var value11;
var value12;
var currentTransformMatrix;
var targetTransformMatrix;
var Array;
var prototype;
var array;
var value14;
var property3;
var value15;
var value16;
var value17;
var value18;
var value19;
var error;
var binding;
const object = {};
const iterator = env2_5[Symbol.iterator]();
const iterator2 = iterator.next;
const value2 = 0;
let r4 = iterator;
let item2 = Reflect.apply(iterator2, r4, []);
let item = item2.value;
item2 = item2.done ? undefined : r4;
reducibleJoin2: while (true) {
if (item2 === undefined) {
binding = env2_0;
binding._notifyAboutProgress(a0, object, true);
return undefined;
}
break reducibleJoin2;
}
reducibleLoop2: while (true) {
try {
value3 = item === 'transform';
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
if (value3) {
try {
currentTransformMatrix = a1.currentTransformMatrix;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
targetTransformMatrix = a1.targetTransformMatrix;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
Array = global.Array;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
prototype = Array.prototype;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
array = new Array(9);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value14 = array instanceof Object ? array : undefined;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r18 = value2;
reducibleLoop37: while (true) {
try {
property = targetTransformMatrix[r18];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property3 = currentTransformMatrix[r18];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value15 = property - property3;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value16 = a2 * value15;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = currentTransformMatrix[r18];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value17 = value16 + property;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value14[r18] = value17;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value18 = typeof r18 === 'bigint' ? r18 + 1n : +r18 + 1;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value19 = value18 < 9;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
if (value19) {
r18 = value18;
continue reducibleLoop37;
}
break reducibleLoop37;
}
try {
object.transformMatrix = value14;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r4 = item2;
} else {
try {
charAt = item.charAt;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value4 = Reflect.apply(charAt, item, [value2]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
toUpperCase = value4.toUpperCase;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value5 = Reflect.apply(toUpperCase, value4, []);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
slice = item.slice;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value6 = Reflect.apply(slice, item, [1]);
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value7 = value5 + value6;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
HermesInternal = global.HermesInternal;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
concat = HermesInternal.concat;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value8 = 'target' + value7;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
HermesInternal = global.HermesInternal;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
concat = HermesInternal.concat;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value9 = 'current' + value7;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property = a1[value9];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
property2 = a1[value8];
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value10 = property2 - property;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value11 = a2 * value10;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
value12 = value11 + property;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
try {
object[item] = value12;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r4 = item2;
}
item2 = Reflect.apply(iterator2, r4, []);
item = item2.value;
item2 = item2.done ? undefined : r4;
if (item2 === undefined) {
break reducibleLoop2;
}
continue reducibleLoop2;
}
env2_0._notifyAboutProgress(a0, object, true);
}
}
function value_19348(a0) { // fn#19348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:6789, offset: 0x00ea7349, size: 43 bytes, params: 2, frame: 11
return new SharedTransition().custom(a0);
}
function value_19349(a0) { // fn#19349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:6871, offset: 0x00ea7374, size: 42 bytes, params: 2, frame: 11
return new SharedTransition().duration(a0);
}
function value_19350(a0) { // fn#19350, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:6966, offset: 0x00ea739e, size: 43 bytes, params: 2, frame: 11
return new SharedTransition().progressAnimation(a0);
}
function value_19351(a0) { // fn#19351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:7083, offset: 0x00ea73c9, size: 45 bytes, params: 2, frame: 11
return new SharedTransition().defaultTransitionType(a0);
}
function value_19352(a0) { // fn#19352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1874:7199, offset: 0x00ea73f6, size: 43 bytes, params: 2, frame: 11
return new SharedTransition().reduceMotion(a0);
}
}
}
global.__d(_fun19330, 1747, [6, 7, 1635, 1650, 1724, 1621, 1682,
1746]) /* metro module 1747, dependencies: [6, 7, 1635, 1650, 1724, 1621, 1682, 1746] */;