Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,68 @@
|
||||
/* Metro module 6890; source: lib/guild/GuildChannelSubscriptions.tsx; dependencies: [6, 7, 1393, 22, 2] */
|
||||
function _fun54712(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#54712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7068:6, offset: 0x0136c7e8, size: 174 bytes, params: 8, frame: 18
|
||||
const serializeChannelRanges = function(a0) {
|
||||
a0.forEach(_fun54714);
|
||||
return {};
|
||||
};
|
||||
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 value = _fun54715();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('lib/guild/GuildChannelSubscriptions.tsx');
|
||||
exports.default = value;
|
||||
exports.MINIMUM_RANGE = 100;
|
||||
exports.DEFAULT_RANGES = [[0, 99]];
|
||||
}
|
||||
|
||||
function serializeChannelRanges(a0) { // fn#54713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7068:116, offset: 0x0136c896, size: 28 bytes, params: 2, frame: 12
|
||||
a0.forEach(_fun54714);
|
||||
return {};
|
||||
}
|
||||
|
||||
function _fun54715() { // fn#54715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7068:204, offset: 0x0136c8b2, size: 147 bytes, params: 1, frame: 15
|
||||
return env0_3(GuildChannelSubscriptions, [{key: 'reset', value: function() {
|
||||
this._subscriptions = {};
|
||||
}}, {key: 'get', value: value_54718}, {key: '_get', value: value_54719}, {key: 'clear', value: function(a0) {
|
||||
delete this._subscriptions[a0];
|
||||
}}, {key: 'subscribe', value: function(a0, a1, a2) {
|
||||
var r0;
|
||||
var value = this._get(a0);
|
||||
var isEqual = importDefault(dependencyMap[3]).isEqual(value.get(a1), a2);
|
||||
if (isEqual) {
|
||||
r0 = !isEqual;
|
||||
} else {
|
||||
value.set(a1, a2);
|
||||
this._subscriptions[a0] = value;
|
||||
this._onChange(a0, serializeChannelRanges(value));
|
||||
value = true;
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}}]);
|
||||
}
|
||||
|
||||
function _fun54714(a0, a1) { // fn#54714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7068:178, offset: 0x00daaa50, size: 21 bytes, params: 3, frame: 3
|
||||
env0_0[a1] = a0;
|
||||
}
|
||||
|
||||
function value_54718(a0) { // fn#54718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7068:412, offset: 0x0136c980, size: 33 bytes, params: 2, frame: 12
|
||||
const value = environment.__proto__;
|
||||
return serializeChannelRanges(this._get(a0));
|
||||
}
|
||||
|
||||
function value_54719(a0) { // fn#54719, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7068:488, offset: 0x0136c9a1, size: 81 bytes, params: 2, frame: 12
|
||||
var r0;
|
||||
var value;
|
||||
const property = this._subscriptions[a0];
|
||||
if (property != null) {
|
||||
r0 = property;
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = importDefault(1393) /* metro dependency 1393 */;
|
||||
value = new value({max: 5});
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user