70 lines
3.3 KiB
TypeScript
70 lines
3.3 KiB
TypeScript
/* Metro module 9539; source: modules/qualtrics/QualtricsStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */
|
|
function _fun74430(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#74430, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9725:6, offset: 0x01d8d539, size: 304 bytes, params: 8, frame: 19
|
|
var object2;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
|
object2 = {};
|
|
const Map = global.Map;
|
|
let map = new Map();
|
|
object2.surveys = map;
|
|
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
|
_fun74434(Store).displayName = 'QualtricsStore';
|
|
map = new map(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{QUALTRICS_SURVEY_FETCH_SUCCESS: QUALTRICS_SURVEY_FETCH_SUCCESS});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/qualtrics/QualtricsStore.tsx');
|
|
exports.default = map;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_74431() { // fn#74431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9725:148, offset: 0x01d8d669, size: 98 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_74431_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun74434(a0) { // fn#74434, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9725:371, offset: 0x01d8d6cb, size: 74 bytes, params: 2, frame: 15
|
|
const closure = QualtricsStore;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'getSurvey', value: value_74436}]);
|
|
}
|
|
|
|
function QUALTRICS_SURVEY_FETCH_SUCCESS({surveyId, surveyDetails}) { // fn#74437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9725:832, offset: 0x01d8d73d, size: 43 bytes, params: 2, frame: 13
|
|
env0_5.surveys.set(surveyId, surveyDetails);
|
|
}
|
|
|
|
function value_74436(a0) { // fn#74436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9725:670, offset: 0x01d8d715, size: 40 bytes, params: 2, frame: 11
|
|
let value = environment.__proto__;
|
|
value = env1_5.surveys.get(a0);
|
|
const value2 = null;
|
|
return value2 != value ? value : value2;
|
|
}
|
|
|