Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
44 lines
1.4 KiB
TypeScript
44 lines
1.4 KiB
TypeScript
// Module ID: 10955
|
|
// Function ID: 10956
|
|
// Name: Helpers
|
|
// Dependencies: [1235, 4554, 2]
|
|
|
|
// Module 10955 (Helpers)
|
|
import ApexExperimentStore from "ApexExperimentStore" /* 1235 */;
|
|
|
|
const CommonTriggerPoints = fn(4554).CommonTriggerPoints;
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/experiments/trigger_points/Helpers.tsx");
|
|
class CommonTriggerPointConfiguration {
|
|
constructor(arg0, arg1, arg2) {
|
|
obj = Object.create(new.target.prototype);
|
|
obj.experiments = global;
|
|
obj.triggerPoint = fn;
|
|
obj.params = importDefault;
|
|
return obj;
|
|
}
|
|
}
|
|
const prototype = CommonTriggerPointConfiguration.prototype;
|
|
prototype["registeredExperimentIds"] = function registeredExperimentIds() {
|
|
const experiments = this.experiments;
|
|
return experiments.map((definition) => definition.definition.id);
|
|
};
|
|
prototype["trigger"] = function trigger() {
|
|
let obj = arg0;
|
|
if (arg0 === undefined) {
|
|
obj = {};
|
|
}
|
|
const result = ApexExperimentStore.trackCommonTriggerPointExposures(this.params.location);
|
|
({ triggerPoint, experiments } = this);
|
|
const obj2 = {};
|
|
const merged = Object.assign(this.params);
|
|
const merged1 = Object.assign(obj);
|
|
const item = experiments.forEach((trackExposure) => {
|
|
trackExposure.trackExposure(obj2);
|
|
});
|
|
};
|
|
prototype["getExperiments"] = function getExperiments() {
|
|
return this.experiments;
|
|
};
|
|
|
|
export { CommonTriggerPointConfiguration };
|