Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,59 @@
|
||||
/* Metro module 1696; source: unknown; dependencies: [1620] */
|
||||
function _fun18540(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18540, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1823:6, offset: 0x00e8f10f, size: 109 bytes, params: 8, frame: 17
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const WeakMap = global.WeakMap;
|
||||
exports.snapshots = new WeakMap();
|
||||
exports.makeElementVisible = makeElementVisible;
|
||||
exports.setElementPosition = setElementPosition;
|
||||
}
|
||||
|
||||
function makeElementVisible(a0, a1) { // fn#18541, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1823:145, offset: 0x00e8f17c, size: 100 bytes, params: 3, frame: 15
|
||||
const env0_0 = a0;
|
||||
if (a1 === 0) {
|
||||
(require(1620) /* metro dependency 1620 */)._updatePropsJS({visibility: 'initial'}, a0);
|
||||
} else {
|
||||
global.setTimeout(_fun18542, 1000 * a1);
|
||||
}
|
||||
}
|
||||
|
||||
function setElementPosition(a0, a1) { // fn#18543, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1823:336, offset: 0x00e8f218, size: 385 bytes, params: 3, frame: 19
|
||||
var boundingClientRect;
|
||||
var parseInt;
|
||||
var getComputedStyle;
|
||||
var int;
|
||||
var int2;
|
||||
var boundingClientRect2;
|
||||
a0.style.transform = '';
|
||||
a0.style.position = 'absolute';
|
||||
a0.style.top = '' + a1.top + 'px';
|
||||
a0.style.left = '' + a1.left + 'px';
|
||||
a0.style.width = '' + a1.width + 'px';
|
||||
a0.style.height = '' + a1.height + 'px';
|
||||
a0.style.margin = '0px';
|
||||
let parentElement = a0.parentElement;
|
||||
if (parentElement) {
|
||||
parentElement = a0.parentElement;
|
||||
boundingClientRect = parentElement.getBoundingClientRect();
|
||||
parseInt = global.parseInt;
|
||||
getComputedStyle = global.getComputedStyle;
|
||||
int = parseInt(getComputedStyle(parentElement).borderTopWidth);
|
||||
parseInt = global.parseInt;
|
||||
getComputedStyle = global.getComputedStyle;
|
||||
int2 = parseInt(getComputedStyle(parentElement).borderLeftWidth);
|
||||
boundingClientRect2 = a0.getBoundingClientRect();
|
||||
if (boundingClientRect2.top !== a1.top) {
|
||||
a0.style.top = a1.top - boundingClientRect.top - int + 'px';
|
||||
}
|
||||
if (boundingClientRect2.left !== a1.left) {
|
||||
a0.style.left = a1.left - boundingClientRect.left - int2 + 'px';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun18542() { // fn#18542, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1823:245, offset: 0x00e8f1e0, size: 56 bytes, params: 1, frame: 14
|
||||
const value = environment.__proto__;
|
||||
(require(1620) /* metro dependency 1620 */)._updatePropsJS({visibility: 'initial'}, env0_0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user