Files
discord-decomp/sources/by-id/module-07830.jsx
T
2026-07-28 01:06:53 +03:00

106 lines
5.8 KiB
React

/* Metro module 7830; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7822, 7831, 7757, 7768] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
import Module07752 from './module-07752.js'; /* Metro dependency 7752 */
import Module07757 from './module-07757.js'; /* Metro dependency 7757 */
import Module07768 from './module-07768.js'; /* Metro dependency 7768 */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
function _fun62544(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62544, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8008:6, offset: 0x01b60231, size: 240 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
let value = Module07768;
value = _fun62548(value);
value.displayName = 'Pattern';
value.defaultProps = {'x': '0%', 'y': '0%', 'width': '100%', 'height': '100%'};
exports.default = value;
function _isNativeReflectConstruct_62545() { // fn#62545, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8008:172, offset: 0x01b60321, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_62545_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun62548(a0) { // fn#62548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8008:397, offset: 0x01b6037f, size: 68 bytes, params: 2, frame: 15
const Pattern2 = Pattern;
Inherits(Pattern2, a0);
return CreateClass(Pattern2, [{key: 'render', value: value_62550}]);
function Pattern() { // fn#62549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8008:409, offset: 0x00c6223c, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_2(this, Pattern);
const value3 = env1_5(Pattern);
return env1_4(this, _isNativeReflectConstruct_62545() ? global.Reflect.construct(value3, arguments,
env1_5(this).constructor) : value3.apply(this, arguments));
}
function value_62550() { // fn#62550, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8008:658, offset: 0x01b603c3, size: 335 bytes, params: 1, frame: 29
var environment;
const props = this.props;
const patternTransform = props.patternTransform;
const transform = props.transform;
const id = props.id;
const x = props.x;
const y = props.y;
const width = props.width;
const height = props.height;
const patternUnits = props.patternUnits;
const patternContentUnits = props.patternContentUnits;
const children = props.children;
const viewBox = props.viewBox;
const preserveAspectRatio = props.preserveAspectRatio;
let value = environment.__proto__;
const defaultImport = Module07752;
let r8 = patternTransform || transform;
r8 = !r8 ? props : r8;
const value2 = defaultImport(r8);
const object = {x: x, y: y, width: width, height: height, name: id, matrix: value2, patternTransform: value2};
let r2 = patternUnits && (importDefault(7822) /* metro dependency 7822 */)[patternUnits];
r2 = !r2 ? 0 : r2;
object.patternUnits = r2;
object.patternContentUnits = patternContentUnits ? (importDefault(7822) /* metro dependency 7822 */)[patternContentUnits] : 1;
value = importDefault(7831) /* metro dependency 7831 */;
const Object = global.Object;
return ((Component) => <Component {...Object.assign({ref: ref_62551}, object,
(Module07757)({viewBox: viewBox, preserveAspectRatio: preserveAspectRatio}),
{children: children})} />)(value);
function value_62550Ref(a0) { // fn#62551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8008:1049, owner: value_62550.ref, offset: 0x01b51c54, size: 23 bytes, params: 2, frame: 11
return env0_0.refMethod(a0);
}
}
}
}
global.__d(_fun62544, 7830, [6, 7, 15, 17, 18, 31, 33, 7752, 7822, 7831, 7757,
7768]) /* metro module 7830, dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7822, 7831, 7757, 7768] */;