87 lines
4.1 KiB
React
87 lines
4.1 KiB
React
/* Metro module 7830; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7822, 7831, 7757, 7768] */
|
|
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});
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
|
|
let value = importDefault(7768) /* metro dependency 7768 */;
|
|
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 closure = Pattern;
|
|
env0_6(closure, a0);
|
|
return env0_3(closure, [{key: 'render', value: value_62550}]);
|
|
}
|
|
|
|
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 = importDefault(7752) /* metro dependency 7752 */;
|
|
let r8 = patternTransform || transform;
|
|
r8 = !r8 ? props : r8;
|
|
const value2 = defaultImport(r8);
|
|
const object2 = {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;
|
|
object2.patternUnits = r2;
|
|
object2.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}, object2,
|
|
(importDefault(7757) /* metro dependency 7757 */)({viewBox: viewBox, preserveAspectRatio: preserveAspectRatio}),
|
|
{children: children})} />)(value);
|
|
}
|
|
|