apxor-qe 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -308,7 +308,7 @@
308
308
  var toUpperCase = function toUpperCase(key) {
309
309
  return key.toUpperCase();
310
310
  };
311
- var vRev = function vRev(actual, expected, operator) {
311
+ var ldZx = function ldZx(actual, expected, operator) {
312
312
  switch (operator) {
313
313
  case "EQ":
314
314
  return actual === expected;
@@ -418,14 +418,14 @@
418
418
  };
419
419
  var isTimeBetween = function isTimeBetween(startTime, endTime, currentTime) {
420
420
  // Extract hours and minutes from the time strings
421
- var nYTe$split$map = startTime.split(":").map(Number),
422
- nYTe$split$map2 = _slicedToArray(nYTe$split$map, 2),
423
- startHour = nYTe$split$map2[0],
424
- startMinute = nYTe$split$map2[1];
425
- var iDwb$split$map = endTime.split(":").map(Number),
426
- iDwb$split$map2 = _slicedToArray(iDwb$split$map, 2),
427
- endHour = iDwb$split$map2[0],
428
- endMinute = iDwb$split$map2[1];
421
+ var dLHN$split$map = startTime.split(":").map(Number),
422
+ dLHN$split$map2 = _slicedToArray(dLHN$split$map, 2),
423
+ startHour = dLHN$split$map2[0],
424
+ startMinute = dLHN$split$map2[1];
425
+ var UIpJ$split$map = endTime.split(":").map(Number),
426
+ UIpJ$split$map2 = _slicedToArray(UIpJ$split$map, 2),
427
+ endHour = UIpJ$split$map2[0],
428
+ endMinute = UIpJ$split$map2[1];
429
429
  var _currentTime$split$ma = currentTime.split(":").map(Number),
430
430
  _currentTime$split$ma2 = _slicedToArray(_currentTime$split$ma, 2),
431
431
  currentHour = _currentTime$split$ma2[0],
@@ -628,7 +628,7 @@
628
628
  path = path.substring(0, index) + "svg:svg";
629
629
  }
630
630
  try {
631
- return document.ReXr(path, document, function (prefix) {
631
+ return document.iMZf(path, document, function (prefix) {
632
632
  if (prefix === "svg") {
633
633
  return "http://www.w3.org/2000/svg";
634
634
  } else {
@@ -720,18 +720,18 @@
720
720
  var Audience = /*#__PURE__*/_createClass(function Audience() {
721
721
  var _this = this;
722
722
  _classCallCheck(this, Audience);
723
- _defineProperty(this, "DFrC", "ALL");
724
- _defineProperty(this, "jkhw", []);
725
- _defineProperty(this, "xsNZ", []);
723
+ _defineProperty(this, "KlQa", "ALL");
724
+ _defineProperty(this, "vuUy", []);
725
+ _defineProperty(this, "TvMJ", []);
726
726
  _defineProperty(this, "userAttributesValidated", true);
727
727
  _defineProperty(this, "sessionAttributeValidated", true);
728
728
  _defineProperty(this, "parse", function () {
729
729
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
730
730
  try {
731
- _this.DFrC = config.audience.audience_type;
732
- _this.jkhw = config.audience.attributes.user;
733
- _this.xsNZ = config.audience.attributes.session;
734
- if (!Array.isArray(_this.jkhw) || !Array.isArray(_this.xsNZ)) {
731
+ _this.KlQa = config.audience.audience_type;
732
+ _this.vuUy = config.audience.attributes.user;
733
+ _this.TvMJ = config.audience.attributes.session;
734
+ if (!Array.isArray(_this.vuUy) || !Array.isArray(_this.TvMJ)) {
735
735
  Logger$1.error("No attributes");
736
736
  return false;
737
737
  }
@@ -743,11 +743,11 @@
743
743
  });
744
744
  _defineProperty(this, "validate", function (user, session) {
745
745
  var status = true;
746
- if (_this.DFrC === "FTU") {
746
+ if (_this.KlQa === "FTU") {
747
747
  status = Apxor.getController().getSessionInfo().is_first_session;
748
748
  }
749
- var userAttributesCompare = _this.ViXp(user, _this.jkhw);
750
- var sessionAttributesCompare = _this.ViXp(session, _this.xsNZ);
749
+ var userAttributesCompare = _this.KGxX(user, _this.vuUy);
750
+ var sessionAttributesCompare = _this.KGxX(session, _this.TvMJ);
751
751
  if (!userAttributesCompare) {
752
752
  _this.userAttributesValidated = false;
753
753
  }
@@ -756,7 +756,7 @@
756
756
  }
757
757
  return status && userAttributesCompare && sessionAttributesCompare;
758
758
  });
759
- _defineProperty(this, "ViXp", function (attributes, expected) {
759
+ _defineProperty(this, "KGxX", function (attributes, expected) {
760
760
  var length = expected.length;
761
761
  var status = true;
762
762
  try {
@@ -804,7 +804,7 @@
804
804
  } else if (type === "b") {
805
805
  loggedValue = !!loggedValue;
806
806
  }
807
- return vRev(loggedValue, configValue, operator);
807
+ return ldZx(loggedValue, configValue, operator);
808
808
  });
809
809
  });
810
810
  status = status && match;
@@ -825,15 +825,15 @@
825
825
  var Details = /*#__PURE__*/_createClass(function Details() {
826
826
  var _this = this;
827
827
  _classCallCheck(this, Details);
828
- _defineProperty(this, "UGic", "");
829
- _defineProperty(this, "cIhR", {});
830
- _defineProperty(this, "heYC", "");
828
+ _defineProperty(this, "KyJY", "");
829
+ _defineProperty(this, "Sqrf", {});
830
+ _defineProperty(this, "WgXw", "");
831
831
  _defineProperty(this, "parse", function () {
832
832
  var details = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
833
833
  try {
834
- _this.UGic = details.name;
835
- _this.cIhR = details.additional_info;
836
- _this.heYC = details === null || details === void 0 ? void 0 : details.path;
834
+ _this.KyJY = details.name;
835
+ _this.Sqrf = details.additional_info;
836
+ _this.WgXw = details === null || details === void 0 ? void 0 : details.path;
837
837
  } catch (error) {
838
838
  return false;
839
839
  }
@@ -844,14 +844,14 @@
844
844
  var Timebounds = /*#__PURE__*/_createClass(function Timebounds() {
845
845
  var _this = this;
846
846
  _classCallCheck(this, Timebounds);
847
- _defineProperty(this, "YSug", 0);
848
- _defineProperty(this, "HlwB", 0);
847
+ _defineProperty(this, "MREo", 0);
848
+ _defineProperty(this, "Hllr", 0);
849
849
  _defineProperty(this, "parse", function () {
850
850
  var timeBounds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
851
851
  try {
852
- _this.YSug = Number(timeBounds.lower);
853
- _this.HlwB = Number(timeBounds.upper);
854
- if (isNaN(_this.YSug) || isNaN(_this.HlwB)) {
852
+ _this.MREo = Number(timeBounds.lower);
853
+ _this.Hllr = Number(timeBounds.upper);
854
+ if (isNaN(_this.MREo) || isNaN(_this.Hllr)) {
855
855
  return false;
856
856
  }
857
857
  } catch (error) {
@@ -864,17 +864,17 @@
864
864
  var PreCondition = /*#__PURE__*/_createClass(function PreCondition() {
865
865
  var _this = this;
866
866
  _classCallCheck(this, PreCondition);
867
- _defineProperty(this, "QQId", 0);
868
- _defineProperty(this, "vDdr", "");
869
- _defineProperty(this, "hMhi", "");
870
- _defineProperty(this, "uXsD", new Details());
871
- _defineProperty(this, "GHht", new Timebounds());
867
+ _defineProperty(this, "SqYL", 0);
868
+ _defineProperty(this, "HvGe", "");
869
+ _defineProperty(this, "FDiq", "");
870
+ _defineProperty(this, "lKqH", new Details());
871
+ _defineProperty(this, "Gufw", new Timebounds());
872
872
  _defineProperty(this, "parse", function () {
873
873
  var precondition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
874
874
  try {
875
- _this.vDdr = precondition.event_type;
876
- _this.hMhi = precondition.activity;
877
- return _this.uXsD.parse(precondition.details) && _this.GHht.parse(precondition.time_bounds);
875
+ _this.HvGe = precondition.event_type;
876
+ _this.FDiq = precondition.activity;
877
+ return _this.lKqH.parse(precondition.details) && _this.Gufw.parse(precondition.time_bounds);
878
878
  } catch (error) {
879
879
  return false;
880
880
  }
@@ -885,37 +885,37 @@
885
885
  var Condition = /*#__PURE__*/_createClass(function Condition() {
886
886
  var _this = this;
887
887
  _classCallCheck(this, Condition);
888
- _defineProperty(this, "QQId", 0);
889
- _defineProperty(this, "HUHi", -1);
890
- _defineProperty(this, "oBTS", 0);
891
- _defineProperty(this, "SGjX", "");
892
- _defineProperty(this, "hMhi", "");
893
- _defineProperty(this, "vDdr", "");
894
- _defineProperty(this, "GHht", new Timebounds());
895
- _defineProperty(this, "uXsD", new Details());
896
- _defineProperty(this, "xVLs", new PreCondition());
897
- _defineProperty(this, "yztc", "AND");
898
- _defineProperty(this, "BigG", false);
899
- _defineProperty(this, "DFrC", void 0);
900
- _defineProperty(this, "QXzb", "");
888
+ _defineProperty(this, "SqYL", 0);
889
+ _defineProperty(this, "DlWo", -1);
890
+ _defineProperty(this, "rZaN", 0);
891
+ _defineProperty(this, "Yfhc", "");
892
+ _defineProperty(this, "FDiq", "");
893
+ _defineProperty(this, "HvGe", "");
894
+ _defineProperty(this, "Gufw", new Timebounds());
895
+ _defineProperty(this, "lKqH", new Details());
896
+ _defineProperty(this, "uhVV", new PreCondition());
897
+ _defineProperty(this, "GWsZ", "AND");
898
+ _defineProperty(this, "DePE", false);
899
+ _defineProperty(this, "KlQa", void 0);
900
+ _defineProperty(this, "bgZN", "");
901
901
  _defineProperty(this, "parse", function () {
902
902
  var condition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
903
903
  try {
904
- var fHuv$count_conf, fHuv$count_conf2;
905
- _this.HUHi = condition === null || condition === void 0 ? void 0 : condition.sequence;
904
+ var WClN$count_conf, WClN$count_conf2;
905
+ _this.DlWo = condition === null || condition === void 0 ? void 0 : condition.sequence;
906
906
  _this._conditionType = condition === null || condition === void 0 ? void 0 : condition.condition_type;
907
907
  _this._id = condition === null || condition === void 0 ? void 0 : condition._id;
908
908
  _this._eventCategory = condition !== null && condition !== void 0 && condition.event_category ? condition === null || condition === void 0 ? void 0 : condition.event_category : "specific_event";
909
- _this.oBTS = condition === null || condition === void 0 || (fHuv$count_conf = condition.count_config) === null || fHuv$count_conf === void 0 ? void 0 : fHuv$count_conf.count;
910
- _this.SGjX = condition === null || condition === void 0 || (fHuv$count_conf2 = condition.count_config) === null || fHuv$count_conf2 === void 0 ? void 0 : fHuv$count_conf2.operator;
911
- _this.hMhi = condition === null || condition === void 0 ? void 0 : condition.activity;
912
- _this.vDdr = condition === null || condition === void 0 ? void 0 : condition.event_type;
913
- _this.yztc = condition.combine_operator;
909
+ _this.rZaN = condition === null || condition === void 0 || (WClN$count_conf = condition.count_config) === null || WClN$count_conf === void 0 ? void 0 : WClN$count_conf.count;
910
+ _this.Yfhc = condition === null || condition === void 0 || (WClN$count_conf2 = condition.count_config) === null || WClN$count_conf2 === void 0 ? void 0 : WClN$count_conf2.operator;
911
+ _this.FDiq = condition === null || condition === void 0 ? void 0 : condition.activity;
912
+ _this.HvGe = condition === null || condition === void 0 ? void 0 : condition.event_type;
913
+ _this.GWsZ = condition.combine_operator;
914
914
  _this._timeEnabled = condition === null || condition === void 0 ? void 0 : condition.time_enabled;
915
915
  _this._time = condition === null || condition === void 0 ? void 0 : condition.time;
916
- _this.DFrC = condition === null || condition === void 0 ? void 0 : condition.type;
917
- _this.QXzb = condition === null || condition === void 0 ? void 0 : condition.route;
918
- return _this.uXsD.parse(condition === null || condition === void 0 ? void 0 : condition.details) && _this.xVLs.parse(condition.trigger) && _this.GHht.parse(condition.time_bounds);
916
+ _this.KlQa = condition === null || condition === void 0 ? void 0 : condition.type;
917
+ _this.bgZN = condition === null || condition === void 0 ? void 0 : condition.route;
918
+ return _this.lKqH.parse(condition === null || condition === void 0 ? void 0 : condition.details) && _this.uhVV.parse(condition.trigger) && _this.Gufw.parse(condition.time_bounds);
919
919
  } catch (error) {
920
920
  Logger$2.error(error);
921
921
  return false;
@@ -927,19 +927,19 @@
927
927
  var GoalEvent = /*#__PURE__*/_createClass(function GoalEvent() {
928
928
  var _this = this;
929
929
  _classCallCheck(this, GoalEvent);
930
- _defineProperty(this, "oBTS", 0);
931
- _defineProperty(this, "SGjX", "");
932
- _defineProperty(this, "vDdr", "");
933
- _defineProperty(this, "GHht", new Timebounds());
934
- _defineProperty(this, "uXsD", new Details());
935
- _defineProperty(this, "yztc", "AND");
930
+ _defineProperty(this, "rZaN", 0);
931
+ _defineProperty(this, "Yfhc", "");
932
+ _defineProperty(this, "HvGe", "");
933
+ _defineProperty(this, "Gufw", new Timebounds());
934
+ _defineProperty(this, "lKqH", new Details());
935
+ _defineProperty(this, "GWsZ", "AND");
936
936
  _defineProperty(this, "parse", function (data) {
937
937
  try {
938
- _this.oBTS = data.count_config.count;
939
- _this.SGjX = data.count_config.operator;
940
- _this.vDdr = data.event_type;
941
- _this.yztc = data.combine_operator;
942
- return _this.uXsD.parse(data.details) && _this.GHht.parse(data.time_bounds);
938
+ _this.rZaN = data.count_config.count;
939
+ _this.Yfhc = data.count_config.operator;
940
+ _this.HvGe = data.event_type;
941
+ _this.GWsZ = data.combine_operator;
942
+ return _this.lKqH.parse(data.details) && _this.Gufw.parse(data.time_bounds);
943
943
  } catch (error) {
944
944
  Logger$3.error(error);
945
945
  return false;
@@ -953,29 +953,29 @@
953
953
  function ConditionValidator() {
954
954
  var _this = this;
955
955
  _classCallCheck(this, ConditionValidator);
956
- _defineProperty(this, "XmsR", 0);
957
- _defineProperty(this, "ABDA", "");
958
- _defineProperty(this, "fHuv", new Condition());
959
- _defineProperty(this, "suqg", new GoalEvent());
960
- _defineProperty(this, "zWyW", false);
961
- _defineProperty(this, "yoCa", false);
962
- _defineProperty(this, "SdOG", 0);
963
- _defineProperty(this, "yztc", "AND");
964
- _defineProperty(this, "eMRD", "OR");
965
- _defineProperty(this, "mMVK", -1);
966
- _defineProperty(this, "gMeI", []);
967
- _defineProperty(this, "gwWN", {});
968
- _defineProperty(this, "xyKD", false);
969
- _defineProperty(this, "OwjD", void 0);
970
- _defineProperty(this, "PgpX", void 0);
971
- _defineProperty(this, "yevy", void 0);
972
- _defineProperty(this, "vTHP", void 0);
956
+ _defineProperty(this, "EVry", 0);
957
+ _defineProperty(this, "bdFJ", "");
958
+ _defineProperty(this, "WClN", new Condition());
959
+ _defineProperty(this, "PRzK", new GoalEvent());
960
+ _defineProperty(this, "sqtm", false);
961
+ _defineProperty(this, "YgKd", false);
962
+ _defineProperty(this, "oSvu", 0);
963
+ _defineProperty(this, "GWsZ", "AND");
964
+ _defineProperty(this, "jNho", "OR");
965
+ _defineProperty(this, "thKi", -1);
966
+ _defineProperty(this, "PHRJ", []);
967
+ _defineProperty(this, "oFGe", {});
968
+ _defineProperty(this, "scDF", false);
969
+ _defineProperty(this, "mxgE", void 0);
970
+ _defineProperty(this, "YiPY", void 0);
971
+ _defineProperty(this, "AvID", void 0);
972
+ _defineProperty(this, "eCfL", void 0);
973
973
  _defineProperty(this, "no_KPI_TriggerDetails", []);
974
- _defineProperty(this, "VkyX", false);
974
+ _defineProperty(this, "JUwB", false);
975
975
  _defineProperty(this, "timerDidnt", void 0);
976
976
  _defineProperty(this, "timerDid", void 0);
977
977
  /**
978
- * If respectSequence is true, don't auto-jRNn to events except for the condition whose index is 0
978
+ * If respectSequence is true, don't auto-APPb to events except for the condition whose index is 0
979
979
  *
980
980
  * @param condition
981
981
  * @param type
@@ -994,106 +994,106 @@
994
994
  var flag = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : "";
995
995
  var childConditionIndex = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : -1;
996
996
  var registerChecker = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : true;
997
- _this.ABDA = id;
998
- _this.SdOG = index;
999
- _this.gMeI = noKpiArray;
1000
- _this.OwjD = respectSequence;
997
+ _this.bdFJ = id;
998
+ _this.oSvu = index;
999
+ _this.PHRJ = noKpiArray;
1000
+ _this.mxgE = respectSequence;
1001
1001
  _this.childConditionIndex = childConditionIndex;
1002
1002
  _this.across_sessions = across_sessions ? across_sessions : false;
1003
1003
  if (flag !== "termination" || flag === "") {
1004
- var result = _this.fHuv.parse(condition);
1004
+ var result = _this.WClN.parse(condition);
1005
1005
  if (result) {
1006
- _this.yztc = _this.fHuv.yztc;
1006
+ _this.GWsZ = _this.WClN.GWsZ;
1007
1007
 
1008
1008
  // FIXME: Why this code is written? Don't see any usecase
1009
- if (_this.fHuv.BigG) {
1010
- var eventName = _this.fHuv.uXsD.UGic;
1009
+ if (_this.WClN.DePE) {
1010
+ var eventName = _this.WClN.lKqH.KyJY;
1011
1011
  if (eventName === "APX_PAGE_OPENED") {
1012
- eventName = _this.fHuv.uXsD.cIhR["navigation_id"];
1013
- eventName = isDefined(eventName) ? eventName : _this.fHuv.uXsD.UGic;
1012
+ eventName = _this.WClN.lKqH.Sqrf["navigation_id"];
1013
+ eventName = isDefined(eventName) ? eventName : _this.WClN.lKqH.KyJY;
1014
1014
  }
1015
- _this.mMVK = Apxor.getController().getEventCount(eventName);
1016
- var count = _this.fHuv.oBTS;
1017
- var operator = _this.fHuv.SGjX;
1018
- _this.yoCa = _this.dZrw(_this.mMVK - 1, count, operator, false);
1019
- _this.zWyW = _this.yoCa;
1020
- // If the condition is already satisfied and if it is page view, no need to jRNn
1015
+ _this.thKi = Apxor.getController().getEventCount(eventName);
1016
+ var count = _this.WClN.rZaN;
1017
+ var operator = _this.WClN.Yfhc;
1018
+ _this.YgKd = _this.FhUD(_this.thKi - 1, count, operator, false);
1019
+ _this.sqtm = _this.YgKd;
1020
+ // If the condition is already satisfied and if it is page view, no need to APPb
1021
1021
  // This only applies for NAVIGATION_EVENTS
1022
- if (_this.yoCa && _this.fHuv.uXsD.UGic === "APX_PAGE_OPENED") {
1022
+ if (_this.YgKd && _this.WClN.lKqH.KyJY === "APX_PAGE_OPENED") {
1023
1023
  return true;
1024
1024
  }
1025
1025
  }
1026
1026
  if (registerChecker === true) {
1027
1027
  if (!respectSequence || index === 0 || respectSequence === "unordered") {
1028
- _this.jRNn();
1028
+ _this.APPb();
1029
1029
  }
1030
1030
  }
1031
1031
  return true;
1032
1032
  }
1033
1033
  } else {
1034
- var _result = _this.suqg.parse(condition);
1035
- _this.eMRD = _this.suqg.yztc;
1036
- _this.zgOY();
1034
+ var _result = _this.PRzK.parse(condition);
1035
+ _this.jNho = _this.PRzK.GWsZ;
1036
+ _this.hrYw();
1037
1037
  return true;
1038
1038
  }
1039
1039
  return false;
1040
1040
  });
1041
- _defineProperty(this, "jRNn", function () {
1041
+ _defineProperty(this, "APPb", function () {
1042
1042
  var _window$ApxorRTM;
1043
1043
  var childConditionIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
1044
1044
  if (childConditionIndex != -1) {
1045
- _this.PgpX = childConditionIndex;
1045
+ _this.YiPY = childConditionIndex;
1046
1046
  }
1047
- var condition = _this.fHuv;
1047
+ var condition = _this.WClN;
1048
1048
  var event_category = condition !== null && condition !== void 0 && condition._eventCategory ? condition === null || condition === void 0 ? void 0 : condition._eventCategory : "specific_event";
1049
- var precondition = condition.xVLs;
1049
+ var precondition = condition.uhVV;
1050
1050
  var ceInstance = CE.getInstance();
1051
- if (precondition.vDdr === "app_start") {
1052
- _this.zWyW = true;
1051
+ if (precondition.HvGe === "app_start") {
1052
+ _this.sqtm = true;
1053
1053
  if (condition !== null && condition !== void 0 && condition._timeEnabled) {
1054
1054
  if ((condition === null || condition === void 0 ? void 0 : condition._time.unit) != "session") {
1055
1055
  var timeInMillisec = calculateTime(condition._time.unit, condition._time.value);
1056
- if ((condition === null || condition === void 0 ? void 0 : condition.DFrC) == "didn't") {
1057
- _this.xyKD = false;
1056
+ if ((condition === null || condition === void 0 ? void 0 : condition.KlQa) == "didn't") {
1057
+ _this.scDF = false;
1058
1058
  _this.timerDidnt = setTimeout(function () {
1059
- if (!_this.xyKD) {
1060
- _this.yoCa = true;
1061
- if (_this.yoCa) {
1062
- _this.XmsR += 1;
1063
- _this.yoCa = _this.dZrw(_this.XmsR, _this.fHuv.oBTS, _this.fHuv.SGjX);
1064
- if (_this.yoCa) {
1065
- _this.fHuv.QQId = Date.now();
1066
- _this.xyKD = false;
1067
- ceInstance.validate(_this.ABDA, _this.SdOG, _this.PgpX);
1059
+ if (!_this.scDF) {
1060
+ _this.YgKd = true;
1061
+ if (_this.YgKd) {
1062
+ _this.EVry += 1;
1063
+ _this.YgKd = _this.FhUD(_this.EVry, _this.WClN.rZaN, _this.WClN.Yfhc);
1064
+ if (_this.YgKd) {
1065
+ _this.WClN.SqYL = Date.now();
1066
+ _this.scDF = false;
1067
+ ceInstance.validate(_this.bdFJ, _this.oSvu, _this.YiPY);
1068
1068
  }
1069
1069
  }
1070
1070
  if (event_category === "specific_event") {
1071
- ceInstance.unregisterFromEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.yLyk);
1071
+ ceInstance.unregisterFromEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.tTcF);
1072
1072
  } else {
1073
- _this.qKoB(event_category);
1073
+ _this.xWgh(event_category);
1074
1074
  }
1075
- _this.zWyW = false;
1075
+ _this.sqtm = false;
1076
1076
  }
1077
1077
  }, timeInMillisec);
1078
1078
  if (_this.across_sessions) {
1079
1079
  var _timeInMillisec = calculateTime(condition._time.unit, condition._time.value);
1080
1080
  var timeEnabled = condition._timeEnabled;
1081
1081
  var condition_id = condition._id;
1082
- _this.rbcW(condition.DFrC, condition.uXsD.UGic, Date.now(), condition.uXsD.cIhR, _timeInMillisec, timeEnabled, condition_id);
1082
+ _this.cYfS(condition.KlQa, condition.lKqH.KyJY, Date.now(), condition.lKqH.Sqrf, _timeInMillisec, timeEnabled, condition_id);
1083
1083
  }
1084
1084
  if (event_category === "specific_event") {
1085
- ceInstance.registerForEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.yLyk);
1086
- _this.vTHP = _this.fHuv;
1085
+ ceInstance.registerForEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.tTcF);
1086
+ _this.eCfL = _this.WClN;
1087
1087
  } else {
1088
- _this.xrGZ(event_category);
1088
+ _this.CUnC(event_category);
1089
1089
  }
1090
- } else if ((condition === null || condition === void 0 ? void 0 : condition.DFrC) == "did") {
1090
+ } else if ((condition === null || condition === void 0 ? void 0 : condition.KlQa) == "did") {
1091
1091
  _this.timerDid = setTimeout(function () {
1092
- if (!_this.VkyX) {
1092
+ if (!_this.JUwB) {
1093
1093
  if (event_category === "specific_event") {
1094
- ceInstance.unregisterFromEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.erQr);
1094
+ ceInstance.unregisterFromEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.lvQw);
1095
1095
  } else {
1096
- _this.wjhx(event_category);
1096
+ _this.Byhk(event_category);
1097
1097
  }
1098
1098
  }
1099
1099
  }, timeInMillisec);
@@ -1101,327 +1101,327 @@
1101
1101
  var _timeInMillisec2 = calculateTime(condition._time.unit, condition._time.value);
1102
1102
  var _timeEnabled = condition._timeEnabled;
1103
1103
  var _condition_id = condition._id;
1104
- _this.rbcW(condition.DFrC, condition.uXsD.UGic, Date.now(), condition.uXsD.cIhR, _timeInMillisec2, _timeEnabled, _condition_id);
1104
+ _this.cYfS(condition.KlQa, condition.lKqH.KyJY, Date.now(), condition.lKqH.Sqrf, _timeInMillisec2, _timeEnabled, _condition_id);
1105
1105
  }
1106
1106
  if (event_category === "specific_event") {
1107
- ceInstance.registerForEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.erQr);
1108
- _this.yevy = _this.fHuv;
1107
+ ceInstance.registerForEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.lvQw);
1108
+ _this.AvID = _this.WClN;
1109
1109
  } else {
1110
- _this.hcXm(event_category);
1110
+ _this.mRBf(event_category);
1111
1111
  }
1112
1112
  }
1113
1113
  }
1114
1114
  } else {
1115
1115
  if (event_category === "specific_event") {
1116
- ceInstance.registerForEvent(generateKey(condition.vDdr) + "___" + condition.uXsD.UGic, _this.dkXM);
1116
+ ceInstance.registerForEvent(generateKey(condition.HvGe) + "___" + condition.lKqH.KyJY, _this.EXBl);
1117
1117
  } else {
1118
- _this.rGmm(event_category);
1118
+ _this.nrMH(event_category);
1119
1119
  }
1120
1120
  }
1121
1121
  } else {
1122
1122
  if (condition !== null && condition !== void 0 && condition._timeEnabled) {
1123
1123
  if ((condition === null || condition === void 0 ? void 0 : condition._time.unit) != "session") {
1124
1124
  var _timeInMillisec3 = calculateTime(condition._time.unit, condition._time.value);
1125
- if ((condition === null || condition === void 0 ? void 0 : condition.DFrC) == "didn't") {
1126
- _this.xyKD = false;
1125
+ if ((condition === null || condition === void 0 ? void 0 : condition.KlQa) == "didn't") {
1126
+ _this.scDF = false;
1127
1127
  _this.timerDidnt = setTimeout(function () {
1128
- if (!_this.xyKD) {
1129
- _this.yoCa = true;
1130
- if (_this.yoCa) {
1131
- _this.XmsR += 1;
1132
- _this.yoCa = _this.dZrw(_this.XmsR, _this.fHuv.oBTS, _this.fHuv.SGjX);
1133
- if (_this.yoCa) {
1134
- _this.fHuv.QQId = Date.now();
1135
- _this.xyKD = false;
1136
- ceInstance.validate(_this.ABDA, _this.SdOG);
1128
+ if (!_this.scDF) {
1129
+ _this.YgKd = true;
1130
+ if (_this.YgKd) {
1131
+ _this.EVry += 1;
1132
+ _this.YgKd = _this.FhUD(_this.EVry, _this.WClN.rZaN, _this.WClN.Yfhc);
1133
+ if (_this.YgKd) {
1134
+ _this.WClN.SqYL = Date.now();
1135
+ _this.scDF = false;
1136
+ ceInstance.validate(_this.bdFJ, _this.oSvu);
1137
1137
  }
1138
1138
  }
1139
1139
  }
1140
1140
  if (event_category === "specific_event") {
1141
- ceInstance.unregisterFromEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.yLyk);
1141
+ ceInstance.unregisterFromEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.tTcF);
1142
1142
  }
1143
- _this.zWyW = false;
1143
+ _this.sqtm = false;
1144
1144
  }, _timeInMillisec3);
1145
1145
  if (event_category === "specific_event") {
1146
- ceInstance.registerForEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.yLyk);
1147
- _this.vTHP = _this.fHuv;
1146
+ ceInstance.registerForEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.tTcF);
1147
+ _this.eCfL = _this.WClN;
1148
1148
  } else {
1149
- _this.xrGZ();
1149
+ _this.CUnC();
1150
1150
  }
1151
- } else if ((condition === null || condition === void 0 ? void 0 : condition.DFrC) == "did") {
1151
+ } else if ((condition === null || condition === void 0 ? void 0 : condition.KlQa) == "did") {
1152
1152
  _this.timerDid = setTimeout(function () {
1153
- if (!_this.VkyX) {
1153
+ if (!_this.JUwB) {
1154
1154
  if (event_category === "specific_event") {
1155
- ceInstance.unregisterFromEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.erQr);
1155
+ ceInstance.unregisterFromEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.lvQw);
1156
1156
  }
1157
1157
  }
1158
1158
  }, _timeInMillisec3);
1159
1159
  if (event_category === "specific_event") {
1160
- ceInstance.registerForEvent(generateKey(_this.fHuv.vDdr) + "___" + _this.fHuv.uXsD.UGic, _this.erQr);
1160
+ ceInstance.registerForEvent(generateKey(_this.WClN.HvGe) + "___" + _this.WClN.lKqH.KyJY, _this.lvQw);
1161
1161
  }
1162
1162
  }
1163
1163
  }
1164
1164
  } else {
1165
1165
  if (event_category === "specific_event") {
1166
- ceInstance.registerForEvent(generateKey(condition.vDdr) + "___" + precondition.uXsD.UGic, _this.dkXM);
1166
+ ceInstance.registerForEvent(generateKey(condition.HvGe) + "___" + precondition.lKqH.KyJY, _this.EXBl);
1167
1167
  }
1168
1168
  }
1169
1169
  }
1170
- if ((_window$ApxorRTM = window.ApxorRTM) !== null && _window$ApxorRTM !== void 0 && _window$ApxorRTM.badgesLists.includes(_this.ABDA)) {
1171
- ceInstance.registerForEvent(generateKey(condition.vDdr) + "___" + "apxor-badge-container-".concat("-".concat(_this.ABDA).replaceAll(" ", "").replace(/[^\w\s]/gi, "")), _this.dkXM);
1170
+ if ((_window$ApxorRTM = window.ApxorRTM) !== null && _window$ApxorRTM !== void 0 && _window$ApxorRTM.badgesLists.includes(_this.bdFJ)) {
1171
+ ceInstance.registerForEvent(generateKey(condition.HvGe) + "___" + "apxor-badge-container-".concat("-".concat(_this.bdFJ).replaceAll(" ", "").replace(/[^\w\s]/gi, "")), _this.EXBl);
1172
1172
  }
1173
1173
  });
1174
- _defineProperty(this, "rGmm", function (event_category) {
1174
+ _defineProperty(this, "nrMH", function (event_category) {
1175
1175
  var ceInstance = new CE();
1176
1176
  if (event_category === "apxor_event") {
1177
1177
  ceInstance.registerForEvent("apxor_event", function (type, name, time, additionalInfo) {
1178
- _this.dkXM(generateKey(_this.fHuv.vDdr), _this.fHuv.uXsD.UGic, time, _this.fHuv.uXsD.cIhR);
1178
+ _this.EXBl(generateKey(_this.WClN.HvGe), _this.WClN.lKqH.KyJY, time, _this.WClN.lKqH.Sqrf);
1179
1179
  });
1180
1180
  } else if (event_category === "customer_event") {
1181
1181
  ceInstance.registerForEvent("customer_event", function (type, name, time, additionalInfo) {
1182
- _this.dkXM(generateKey(_this.fHuv.vDdr), _this.fHuv.uXsD.UGic, time, _this.fHuv.uXsD.cIhR);
1182
+ _this.EXBl(generateKey(_this.WClN.HvGe), _this.WClN.lKqH.KyJY, time, _this.WClN.lKqH.Sqrf);
1183
1183
  });
1184
1184
  } else if (event_category === "any_event") {
1185
1185
  ceInstance.registerForEvent("any_event", function (type, name, time, additionalInfo) {
1186
- _this.dkXM(generateKey(_this.fHuv.vDdr), _this.fHuv.uXsD.UGic, time, _this.fHuv.uXsD.cIhR);
1186
+ _this.EXBl(generateKey(_this.WClN.HvGe), _this.WClN.lKqH.KyJY, time, _this.WClN.lKqH.Sqrf);
1187
1187
  });
1188
1188
  } else if (event_category === "campaign_event") {
1189
1189
  ceInstance.registerForEvent("campaign_event", function (type, name, time, additionalInfo) {
1190
- _this.dkXM(generateKey(_this.fHuv.vDdr), _this.fHuv.uXsD.UGic, time, _this.fHuv.uXsD.cIhR);
1190
+ _this.EXBl(generateKey(_this.WClN.HvGe), _this.WClN.lKqH.KyJY, time, _this.WClN.lKqH.Sqrf);
1191
1191
  });
1192
1192
  } else if (event_category === "survey_event") {
1193
1193
  ceInstance.registerForEvent("survey_event", function (type, name, time, additionalInfo) {
1194
- _this.dkXM(generateKey(_this.fHuv.vDdr), _this.fHuv.uXsD.UGic, time, _this.fHuv.uXsD.cIhR);
1194
+ _this.EXBl(generateKey(_this.WClN.HvGe), _this.WClN.lKqH.KyJY, time, _this.WClN.lKqH.Sqrf);
1195
1195
  });
1196
1196
  }
1197
1197
  });
1198
- _defineProperty(this, "qKoB", function (event_category) {
1198
+ _defineProperty(this, "xWgh", function (event_category) {
1199
1199
  var ceInstance = new CE();
1200
- var eventCategory = _this.fHuv._eventCategory;
1200
+ var eventCategory = _this.WClN._eventCategory;
1201
1201
  if (eventCategory === "apxor_event") {
1202
- ceInstance.unregisterFromEvent("apxor_event", _this.yLyk);
1202
+ ceInstance.unregisterFromEvent("apxor_event", _this.tTcF);
1203
1203
  } else if (eventCategory === "customer_event") {
1204
- ceInstance.unregisterFromEvent("customer_event", _this.yLyk);
1204
+ ceInstance.unregisterFromEvent("customer_event", _this.tTcF);
1205
1205
  } else if (eventCategory === "any_event") {
1206
- ceInstance.unregisterFromEvent("any_event", _this.yLyk);
1206
+ ceInstance.unregisterFromEvent("any_event", _this.tTcF);
1207
1207
  } else if (eventCategory === "campaign_event") {
1208
- ceInstance.unregisterFromEvent("campaign_event", _this.yLyk);
1208
+ ceInstance.unregisterFromEvent("campaign_event", _this.tTcF);
1209
1209
  } else if (eventCategory === "survey_event") {
1210
- ceInstance.unregisterFromEvent("survey_event", _this.yLyk);
1210
+ ceInstance.unregisterFromEvent("survey_event", _this.tTcF);
1211
1211
  }
1212
1212
  });
1213
- _defineProperty(this, "xrGZ", function () {
1213
+ _defineProperty(this, "CUnC", function () {
1214
1214
  var ceInstance = new CE();
1215
- var eventCategory = _this.fHuv._eventCategory;
1215
+ var eventCategory = _this.WClN._eventCategory;
1216
1216
  if (eventCategory === "apxor_event") {
1217
- ceInstance.registerForEvent("apxor_event", _this.yLyk);
1217
+ ceInstance.registerForEvent("apxor_event", _this.tTcF);
1218
1218
  } else if (eventCategory === "customer_event") {
1219
- ceInstance.registerForEvent("customer_event", _this.yLyk);
1219
+ ceInstance.registerForEvent("customer_event", _this.tTcF);
1220
1220
  } else if (eventCategory === "any_event") {
1221
- ceInstance.registerForEvent("any_event", _this.yLyk);
1221
+ ceInstance.registerForEvent("any_event", _this.tTcF);
1222
1222
  } else if (eventCategory === "campaign_event") {
1223
- ceInstance.registerForEvent("campaign_event", _this.yLyk);
1223
+ ceInstance.registerForEvent("campaign_event", _this.tTcF);
1224
1224
  } else if (eventCategory === "survey_event") {
1225
- ceInstance.registerForEvent("survey_event", _this.yLyk);
1225
+ ceInstance.registerForEvent("survey_event", _this.tTcF);
1226
1226
  }
1227
1227
  });
1228
- _defineProperty(this, "hcXm", function () {
1228
+ _defineProperty(this, "mRBf", function () {
1229
1229
  var ceInstance = new CE();
1230
- var eventCategory = _this.fHuv._eventCategory;
1230
+ var eventCategory = _this.WClN._eventCategory;
1231
1231
  if (eventCategory === "apxor_event") {
1232
- ceInstance.registerForEvent("apxor_event", _this.erQr);
1232
+ ceInstance.registerForEvent("apxor_event", _this.lvQw);
1233
1233
  } else if (eventCategory === "customer_event") {
1234
- ceInstance.registerForEvent("customer_event", _this.erQr);
1234
+ ceInstance.registerForEvent("customer_event", _this.lvQw);
1235
1235
  } else if (eventCategory === "any_event") {
1236
- ceInstance.registerForEvent("any_event", _this.erQr);
1236
+ ceInstance.registerForEvent("any_event", _this.lvQw);
1237
1237
  } else if (eventCategory === "campaign_event") {
1238
- ceInstance.registerForEvent("campaign_event", _this.erQr);
1238
+ ceInstance.registerForEvent("campaign_event", _this.lvQw);
1239
1239
  } else if (eventCategory === "survey_event") {
1240
- ceInstance.registerForEvent("survey_event", _this.erQr);
1240
+ ceInstance.registerForEvent("survey_event", _this.lvQw);
1241
1241
  }
1242
1242
  });
1243
- _defineProperty(this, "wjhx", function () {
1243
+ _defineProperty(this, "Byhk", function () {
1244
1244
  var ceInstance = new CE();
1245
- var eventCategory = _this.fHuv._eventCategory;
1245
+ var eventCategory = _this.WClN._eventCategory;
1246
1246
  if (eventCategory === "apxor_event") {
1247
- ceInstance.unregisterFromEvent("apxor_event", _this.erQr);
1247
+ ceInstance.unregisterFromEvent("apxor_event", _this.lvQw);
1248
1248
  } else if (eventCategory === "customer_event") {
1249
- ceInstance.unregisterFromEvent("customer_event", _this.erQr);
1249
+ ceInstance.unregisterFromEvent("customer_event", _this.lvQw);
1250
1250
  } else if (eventCategory === "any_event") {
1251
- ceInstance.unregisterFromEvent("any_event", _this.erQr);
1251
+ ceInstance.unregisterFromEvent("any_event", _this.lvQw);
1252
1252
  } else if (eventCategory === "campaign_event") {
1253
- ceInstance.unregisterFromEvent("campaign_event", _this.erQr);
1253
+ ceInstance.unregisterFromEvent("campaign_event", _this.lvQw);
1254
1254
  } else if (eventCategory === "survey_event") {
1255
- ceInstance.unregisterFromEvent("survey_event", _this.erQr);
1255
+ ceInstance.unregisterFromEvent("survey_event", _this.lvQw);
1256
1256
  }
1257
1257
  });
1258
- _defineProperty(this, "zgOY", function () {
1259
- var condition = _this.suqg;
1258
+ _defineProperty(this, "hrYw", function () {
1259
+ var condition = _this.PRzK;
1260
1260
  var ceInstance = CE.getInstance();
1261
- _this.zWyW = true;
1262
- ceInstance.registerForEvent(generateKey(condition.vDdr) + "___" + condition.uXsD.UGic, _this.ISVV);
1261
+ _this.sqtm = true;
1262
+ ceInstance.registerForEvent(generateKey(condition.HvGe) + "___" + condition.lKqH.KyJY, _this.ipby);
1263
1263
  });
1264
- _defineProperty(this, "AwuV", function (type, name, time, additionalInfo) {
1265
- var _this$fHuv;
1264
+ _defineProperty(this, "cwAa", function (type, name, time, additionalInfo) {
1265
+ var _this$WClN;
1266
1266
  var eventTime = Date.now();
1267
- var time_differnce = (eventTime - _this.gwWN[name]) / 1000;
1268
- var time_fromConfig = ((_this$fHuv = _this.fHuv) === null || _this$fHuv === void 0 || (_this$fHuv = _this$fHuv.uXsD) === null || _this$fHuv === void 0 || (_this$fHuv = _this$fHuv.cIhR) === null || _this$fHuv === void 0 ? void 0 : _this$fHuv.time) / 1000;
1267
+ var time_differnce = (eventTime - _this.oFGe[name]) / 1000;
1268
+ var time_fromConfig = ((_this$WClN = _this.WClN) === null || _this$WClN === void 0 || (_this$WClN = _this$WClN.lKqH) === null || _this$WClN === void 0 || (_this$WClN = _this$WClN.Sqrf) === null || _this$WClN === void 0 ? void 0 : _this$WClN.time) / 1000;
1269
1269
  if (time_fromConfig > time_differnce) {
1270
1270
  _this._displayCampaign(time);
1271
1271
  }
1272
1272
  });
1273
- _defineProperty(this, "SLEo", function (type, name, time, additionalInfo) {
1273
+ _defineProperty(this, "rZJt", function (type, name, time, additionalInfo) {
1274
1274
  var _this$_condition2, _this$_condition3;
1275
- _this.xyKD = true;
1275
+ _this.scDF = true;
1276
1276
  var currentTime = Date.now();
1277
- var eventName = (_this$_condition2 = _this.fHuv) === null || _this$_condition2 === void 0 || (_this$_condition2 = _this$_condition2.xVLs) === null || _this$_condition2 === void 0 ? void 0 : _this$_condition2.uXsD.UGic;
1278
- var eventTime = _this.gwWN[eventName];
1277
+ var eventName = (_this$_condition2 = _this.WClN) === null || _this$_condition2 === void 0 || (_this$_condition2 = _this$_condition2.uhVV) === null || _this$_condition2 === void 0 ? void 0 : _this$_condition2.lKqH.KyJY;
1278
+ var eventTime = _this.oFGe[eventName];
1279
1279
  var time_differnce = (currentTime - eventTime) / 1000;
1280
- var time_fromConfig = (_this$_condition3 = _this.fHuv) === null || _this$_condition3 === void 0 || (_this$_condition3 = _this$_condition3.uXsD) === null || _this$_condition3 === void 0 || (_this$_condition3 = _this$_condition3.cIhR) === null || _this$_condition3 === void 0 ? void 0 : _this$_condition3.time;
1280
+ var time_fromConfig = (_this$_condition3 = _this.WClN) === null || _this$_condition3 === void 0 || (_this$_condition3 = _this$_condition3.lKqH) === null || _this$_condition3 === void 0 || (_this$_condition3 = _this$_condition3.Sqrf) === null || _this$_condition3 === void 0 ? void 0 : _this$_condition3.time;
1281
1281
  time_fromConfig = time_fromConfig / 1000;
1282
1282
  if (time_fromConfig > time_differnce) {
1283
1283
  _this._displayCampaign(time);
1284
1284
  }
1285
1285
  //unregister the event
1286
1286
  });
1287
- _defineProperty(this, "erQr", function () {
1288
- _this.VkyX = true;
1287
+ _defineProperty(this, "lvQw", function () {
1288
+ _this.JUwB = true;
1289
1289
  var ceInstance = new CE();
1290
1290
  clearTimeout(_this.timerDid);
1291
- _this.XmsR += 1;
1292
- _this.yoCa = _this.dZrw(_this.XmsR, _this.fHuv.oBTS, _this.fHuv.SGjX);
1293
- if (_this.yoCa) {
1294
- ceInstance.unregisterFromEvent(generateKey(_this.yevy.vDdr) + "___" + _this.yevy.uXsD.UGic, _this.erQr);
1295
- _this.VkyX = false;
1296
- ceInstance.validate(_this.ABDA, _this.SdOG, _this.PgpX);
1291
+ _this.EVry += 1;
1292
+ _this.YgKd = _this.FhUD(_this.EVry, _this.WClN.rZaN, _this.WClN.Yfhc);
1293
+ if (_this.YgKd) {
1294
+ ceInstance.unregisterFromEvent(generateKey(_this.AvID.HvGe) + "___" + _this.AvID.lKqH.KyJY, _this.lvQw);
1295
+ _this.JUwB = false;
1296
+ ceInstance.validate(_this.bdFJ, _this.oSvu, _this.YiPY);
1297
1297
  }
1298
1298
  });
1299
- _defineProperty(this, "yLyk", function (type, name, time, additionalInfo) {
1300
- _this.xyKD = true;
1299
+ _defineProperty(this, "tTcF", function (type, name, time, additionalInfo) {
1300
+ _this.scDF = true;
1301
1301
  clearTimeout(_this.timerDidnt);
1302
1302
  var ceInstance = new CE();
1303
- ceInstance.unregisterFromEvent(generateKey(_this.vTHP.vDdr) + "___" + _this.vTHP.uXsD.UGic, _this.yLyk);
1303
+ ceInstance.unregisterFromEvent(generateKey(_this.eCfL.HvGe) + "___" + _this.eCfL.lKqH.KyJY, _this.tTcF);
1304
1304
  //return;
1305
1305
  });
1306
- _defineProperty(this, "dkXM", function (type, name, time, additionalInfo) {
1306
+ _defineProperty(this, "EXBl", function (type, name, time, additionalInfo) {
1307
1307
  var _window$ApxorRTM2, _window$ApxorRTM3;
1308
1308
  var ceInstance = CE.getInstance();
1309
- if (!_this.zWyW) {
1309
+ if (!_this.sqtm) {
1310
1310
  // Validate Precondition
1311
- _this.zWyW = _this.KRGs(type, name, time, additionalInfo);
1312
- if (_this.zWyW) {
1313
- var condition = _this.fHuv;
1314
- var precondition = condition.xVLs;
1315
- precondition.QQId = time;
1311
+ _this.sqtm = _this.YUkH(type, name, time, additionalInfo);
1312
+ if (_this.sqtm) {
1313
+ var condition = _this.WClN;
1314
+ var precondition = condition.uhVV;
1315
+ precondition.SqYL = time;
1316
1316
  //events will be registred by its type activity event_type: "activity_time"
1317
- if ((condition === null || condition === void 0 ? void 0 : condition.vDdr) === "activity_time") {
1318
- var fHuv$uXsD, fHuv$QXzb, fHuv$_details2, fHuv$_details3;
1319
- var event_time = condition === null || condition === void 0 || (fHuv$uXsD = condition.uXsD) === null || fHuv$uXsD === void 0 || (fHuv$uXsD = fHuv$uXsD.cIhR) === null || fHuv$uXsD === void 0 ? void 0 : fHuv$uXsD.time;
1320
- if ((condition === null || condition === void 0 || (fHuv$QXzb = condition.QXzb) === null || fHuv$QXzb === void 0 ? void 0 : fHuv$QXzb.length) > 0) {
1317
+ if ((condition === null || condition === void 0 ? void 0 : condition.HvGe) === "activity_time") {
1318
+ var WClN$lKqH, WClN$bgZN, WClN$_details2, WClN$_details3;
1319
+ var event_time = condition === null || condition === void 0 || (WClN$lKqH = condition.lKqH) === null || WClN$lKqH === void 0 || (WClN$lKqH = WClN$lKqH.Sqrf) === null || WClN$lKqH === void 0 ? void 0 : WClN$lKqH.time;
1320
+ if ((condition === null || condition === void 0 || (WClN$bgZN = condition.bgZN) === null || WClN$bgZN === void 0 ? void 0 : WClN$bgZN.length) > 0) {
1321
1321
  setTimeout(function () {
1322
1322
  var _Apxor$getController;
1323
1323
  var appEventsForNoKpi = (_Apxor$getController = Apxor.getController()) === null || _Apxor$getController === void 0 ? void 0 : _Apxor$getController._appEventsNoKpi;
1324
- appEventsForNoKpi.length <= 2 && condition.QXzb === location.pathname && _this._displayCampaign(time);
1324
+ appEventsForNoKpi.length <= 2 && condition.bgZN === location.pathname && _this._displayCampaign(time);
1325
1325
  }, event_time);
1326
- } else if ((condition === null || condition === void 0 || (fHuv$_details2 = condition.uXsD) === null || fHuv$_details2 === void 0 || (fHuv$_details2 = fHuv$_details2.cIhR) === null || fHuv$_details2 === void 0 ? void 0 : fHuv$_details2.nkpi.length) > 0) {
1326
+ } else if ((condition === null || condition === void 0 || (WClN$_details2 = condition.lKqH) === null || WClN$_details2 === void 0 || (WClN$_details2 = WClN$_details2.Sqrf) === null || WClN$_details2 === void 0 ? void 0 : WClN$_details2.nkpi.length) > 0) {
1327
1327
  setTimeout(function () {
1328
- if (!_this.xyKD) {
1329
- _this.yoCa = true;
1330
- if (_this.yoCa) {
1331
- _this.XmsR += 1;
1332
- _this.yoCa = _this.dZrw(_this.XmsR, _this.fHuv.oBTS, _this.fHuv.SGjX);
1333
- if (_this.yoCa) {
1334
- _this.fHuv.QQId = time;
1335
- _this.xyKD = false;
1336
- ceInstance.validate(_this.ABDA, _this.SdOG);
1328
+ if (!_this.scDF) {
1329
+ _this.YgKd = true;
1330
+ if (_this.YgKd) {
1331
+ _this.EVry += 1;
1332
+ _this.YgKd = _this.FhUD(_this.EVry, _this.WClN.rZaN, _this.WClN.Yfhc);
1333
+ if (_this.YgKd) {
1334
+ _this.WClN.SqYL = time;
1335
+ _this.scDF = false;
1336
+ ceInstance.validate(_this.bdFJ, _this.oSvu);
1337
1337
  }
1338
1338
  }
1339
1339
  }
1340
- condition.uXsD.cIhR.nkpi.map(function (nokpi) {
1341
- ceInstance.unregisterFromEvent(toUpperCase(condition.uXsD.cIhR.et) + "___" + nokpi, _this);
1342
- _this.zWyW = false;
1340
+ condition.lKqH.Sqrf.nkpi.map(function (nokpi) {
1341
+ ceInstance.unregisterFromEvent(toUpperCase(condition.lKqH.Sqrf.et) + "___" + nokpi, _this);
1342
+ _this.sqtm = false;
1343
1343
  });
1344
1344
  }, event_time);
1345
- condition.uXsD.cIhR.nkpi.map(function (nokpi) {
1346
- ceInstance.registerForEvent(toUpperCase(condition.uXsD.cIhR.et) + "___" + nokpi, _this.yLyk);
1345
+ condition.lKqH.Sqrf.nkpi.map(function (nokpi) {
1346
+ ceInstance.registerForEvent(toUpperCase(condition.lKqH.Sqrf.et) + "___" + nokpi, _this.tTcF);
1347
1347
  });
1348
1348
  }
1349
1349
  //it is for unregistering the events did case after completing the time imit
1350
- else if ((condition === null || condition === void 0 || (fHuv$_details3 = condition.uXsD) === null || fHuv$_details3 === void 0 || (fHuv$_details3 = fHuv$_details3.cIhR) === null || fHuv$_details3 === void 0 ? void 0 : fHuv$_details3.kpi.length) > 0) {
1350
+ else if ((condition === null || condition === void 0 || (WClN$_details3 = condition.lKqH) === null || WClN$_details3 === void 0 || (WClN$_details3 = WClN$_details3.Sqrf) === null || WClN$_details3 === void 0 ? void 0 : WClN$_details3.kpi.length) > 0) {
1351
1351
  setTimeout(function () {
1352
- condition.uXsD.cIhR.kpi.map(function (kpi) {
1353
- ceInstance.unregisterFromEvent(toUpperCase(condition.uXsD.cIhR.et) + "___" + kpi, _this);
1352
+ condition.lKqH.Sqrf.kpi.map(function (kpi) {
1353
+ ceInstance.unregisterFromEvent(toUpperCase(condition.lKqH.Sqrf.et) + "___" + kpi, _this);
1354
1354
  });
1355
1355
  }, event_time);
1356
- condition.uXsD.cIhR.kpi.map(function (kpi) {
1357
- if (kpi === condition.xVLs.uXsD.UGic) {
1356
+ condition.lKqH.Sqrf.kpi.map(function (kpi) {
1357
+ if (kpi === condition.uhVV.lKqH.KyJY) {
1358
1358
  //unregister the previous event
1359
- ceInstance.unregisterFromEvent(generateKey(precondition.vDdr) + "___" + precondition.uXsD.UGic, _this);
1360
- ceInstance.registerForEvent(toUpperCase(condition.uXsD.cIhR.et) + "___" + kpi, _this.AwuV);
1359
+ ceInstance.unregisterFromEvent(generateKey(precondition.HvGe) + "___" + precondition.lKqH.KyJY, _this);
1360
+ ceInstance.registerForEvent(toUpperCase(condition.lKqH.Sqrf.et) + "___" + kpi, _this.cwAa);
1361
1361
  } else {
1362
- ceInstance.registerForEvent(toUpperCase(condition.uXsD.cIhR.et) + "___" + kpi, _this.SLEo);
1362
+ ceInstance.registerForEvent(toUpperCase(condition.lKqH.Sqrf.et) + "___" + kpi, _this.rZJt);
1363
1363
  }
1364
1364
  });
1365
1365
  }
1366
1366
  } else {
1367
- ceInstance.unregisterFromEvent(generateKey(precondition.vDdr) + "___" + precondition.uXsD.UGic, _this);
1368
- ceInstance.registerForEvent(generateKey(condition.vDdr) + "___" + condition.uXsD.UGic, _this);
1367
+ ceInstance.unregisterFromEvent(generateKey(precondition.HvGe) + "___" + precondition.lKqH.KyJY, _this);
1368
+ ceInstance.registerForEvent(generateKey(condition.HvGe) + "___" + condition.lKqH.KyJY, _this);
1369
1369
  }
1370
- _this.gwWN[name] = Date.now();
1370
+ _this.oFGe[name] = Date.now();
1371
1371
  }
1372
1372
  return;
1373
1373
  }
1374
- if ((_window$ApxorRTM2 = window.ApxorRTM) !== null && _window$ApxorRTM2 !== void 0 && _window$ApxorRTM2.isBadgePresent && (_window$ApxorRTM3 = window.ApxorRTM) !== null && _window$ApxorRTM3 !== void 0 && _window$ApxorRTM3.badgesLists.includes(_this.ABDA) && Apxor.getController().isBadgeTriggerSatisfied(_this.ABDA)) {
1375
- _this.yoCa = true;
1376
- _this.fHuv.QQId = time;
1377
- ceInstance.validate(_this.ABDA, _this.SdOG);
1374
+ if ((_window$ApxorRTM2 = window.ApxorRTM) !== null && _window$ApxorRTM2 !== void 0 && _window$ApxorRTM2.isBadgePresent && (_window$ApxorRTM3 = window.ApxorRTM) !== null && _window$ApxorRTM3 !== void 0 && _window$ApxorRTM3.badgesLists.includes(_this.bdFJ) && Apxor.getController().isBadgeTriggerSatisfied(_this.bdFJ)) {
1375
+ _this.YgKd = true;
1376
+ _this.WClN.SqYL = time;
1377
+ ceInstance.validate(_this.bdFJ, _this.oSvu);
1378
1378
  return;
1379
1379
  }
1380
1380
 
1381
1381
  // Validate Condition
1382
- var validationStatus = generateKey(_this.fHuv.vDdr) === type && _this.nEoX(time - _this.fHuv.xVLs.QQId, _this.fHuv.GHht) && _this.fHuv.uXsD.UGic === name && _this.BxfC(_this.fHuv.uXsD.cIhR, additionalInfo);
1382
+ var validationStatus = generateKey(_this.WClN.HvGe) === type && _this.LYgL(time - _this.WClN.uhVV.SqYL, _this.WClN.Gufw) && _this.WClN.lKqH.KyJY === name && _this.esVc(_this.WClN.lKqH.Sqrf, additionalInfo);
1383
1383
  if (validationStatus) {
1384
- _this.XmsR += 1;
1385
- _this.yoCa = _this.dZrw(_this.XmsR, _this.fHuv.oBTS, _this.fHuv.SGjX);
1386
- if (_this.yoCa) {
1387
- _this.fHuv.QQId = time;
1384
+ _this.EVry += 1;
1385
+ _this.YgKd = _this.FhUD(_this.EVry, _this.WClN.rZaN, _this.WClN.Yfhc);
1386
+ if (_this.YgKd) {
1387
+ _this.WClN.SqYL = time;
1388
1388
  if (_this.across_sessions) {
1389
- var timeInMillisec = calculateTime(_this.fHuv._time.unit, _this.fHuv._time.value);
1390
- var timeEnabled = _this.fHuv._timeEnabled;
1391
- var condition_id = _this.fHuv._id;
1392
- var satisfiedCount = _this.XmsR;
1393
- _this.rbcW(_this.fHuv.DFrC, name, time, additionalInfo, timeInMillisec, timeEnabled, condition_id, satisfiedCount);
1389
+ var timeInMillisec = calculateTime(_this.WClN._time.unit, _this.WClN._time.value);
1390
+ var timeEnabled = _this.WClN._timeEnabled;
1391
+ var condition_id = _this.WClN._id;
1392
+ var satisfiedCount = _this.EVry;
1393
+ _this.cYfS(_this.WClN.KlQa, name, time, additionalInfo, timeInMillisec, timeEnabled, condition_id, satisfiedCount);
1394
1394
  }
1395
- ceInstance.validate(_this.ABDA, _this.SdOG, _this.PgpX);
1395
+ ceInstance.validate(_this.bdFJ, _this.oSvu, _this.YiPY);
1396
1396
  }
1397
1397
  }
1398
1398
  });
1399
- _defineProperty(this, "ISVV", function (type, name, time, additionalInfo) {
1399
+ _defineProperty(this, "ipby", function (type, name, time, additionalInfo) {
1400
1400
  var ceInstance = CE.getInstance();
1401
- var validationStatus = generateKey(_this.suqg.vDdr) === type && _this.nEoX(time, _this.suqg.GHht) && _this.suqg.uXsD.UGic === name && _this.BxfC(_this.suqg.uXsD.cIhR, additionalInfo);
1401
+ var validationStatus = generateKey(_this.PRzK.HvGe) === type && _this.LYgL(time, _this.PRzK.Gufw) && _this.PRzK.lKqH.KyJY === name && _this.esVc(_this.PRzK.lKqH.Sqrf, additionalInfo);
1402
1402
  if (validationStatus) {
1403
- _this.XmsR += 1;
1404
- _this.yoCa = _this.dZrw(_this.XmsR, _this.suqg.oBTS, _this.suqg.SGjX);
1405
- if (_this.yoCa) {
1406
- _this.suqg.QQId = time;
1407
- ceInstance.validateForTermination(_this.ABDA, _this.SdOG);
1403
+ _this.EVry += 1;
1404
+ _this.YgKd = _this.FhUD(_this.EVry, _this.PRzK.rZaN, _this.PRzK.Yfhc);
1405
+ if (_this.YgKd) {
1406
+ _this.PRzK.SqYL = time;
1407
+ ceInstance.validateForTermination(_this.bdFJ, _this.oSvu);
1408
1408
  }
1409
1409
  }
1410
1410
  });
1411
- _defineProperty(this, "KRGs", function (type, name, time, additionalInfo) {
1412
- var precondition = _this.fHuv.xVLs;
1413
- var result = generateKey(precondition.vDdr) === type && precondition.uXsD.UGic === name && _this.nEoX(time, precondition.GHht) && _this.BxfC(precondition.uXsD.cIhR, additionalInfo);
1414
- result = name === "APX_PAGE_OPENED" ? result && location.pathname === precondition.uXsD.heYC : result;
1411
+ _defineProperty(this, "YUkH", function (type, name, time, additionalInfo) {
1412
+ var precondition = _this.WClN.uhVV;
1413
+ var result = generateKey(precondition.HvGe) === type && precondition.lKqH.KyJY === name && _this.LYgL(time, precondition.Gufw) && _this.esVc(precondition.lKqH.Sqrf, additionalInfo);
1414
+ result = name === "APX_PAGE_OPENED" ? result && location.pathname === precondition.lKqH.WgXw : result;
1415
1415
  return result;
1416
1416
  });
1417
- _defineProperty(this, "nEoX", function (time, timeBounds) {
1417
+ _defineProperty(this, "LYgL", function (time, timeBounds) {
1418
1418
  var currentTime = Math.ceil(time);
1419
- return currentTime > timeBounds.YSug && currentTime < timeBounds.HlwB;
1419
+ return currentTime > timeBounds.MREo && currentTime < timeBounds.Hllr;
1420
1420
  });
1421
- _defineProperty(this, "dZrw", function (current, required, operator) {
1421
+ _defineProperty(this, "FhUD", function (current, required, operator) {
1422
1422
  var checkOld = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
1423
- if (checkOld && _this.fHuv.BigG) {
1424
- current = current + _this.mMVK;
1423
+ if (checkOld && _this.WClN.DePE) {
1424
+ current = current + _this.thKi;
1425
1425
  }
1426
1426
  switch (operator) {
1427
1427
  case "EQ":
@@ -1438,7 +1438,7 @@
1438
1438
  return false;
1439
1439
  }
1440
1440
  });
1441
- _defineProperty(this, "BxfC", function (expected, received) {
1441
+ _defineProperty(this, "esVc", function (expected, received) {
1442
1442
  var status = true;
1443
1443
  try {
1444
1444
  var _loop = function _loop() {
@@ -1484,9 +1484,9 @@
1484
1484
  } else if (type === "b") {
1485
1485
  loggedValue = !!loggedValue;
1486
1486
  }
1487
- return vRev(loggedValue, expectedValue, operator);
1487
+ return ldZx(loggedValue, expectedValue, operator);
1488
1488
  }
1489
- // vRev(loggedValue, expectedValue, operator)
1489
+ // ldZx(loggedValue, expectedValue, operator)
1490
1490
  );
1491
1491
 
1492
1492
  var presence_checker = (_expected$item = expected[item]) !== null && _expected$item !== void 0 && _expected$item.present ? (_expected$item2 = expected[item]) === null || _expected$item2 === void 0 ? void 0 : _expected$item2.present : false;
@@ -1501,7 +1501,7 @@
1501
1501
  }
1502
1502
  status = status && match;
1503
1503
  } else {
1504
- status = status && vRev(received[item], expected[item], "EQ");
1504
+ status = status && ldZx(received[item], expected[item], "EQ");
1505
1505
  }
1506
1506
  },
1507
1507
  _ret;
@@ -1515,7 +1515,7 @@
1515
1515
  }
1516
1516
  return status;
1517
1517
  });
1518
- _defineProperty(this, "rbcW", function (type, name, time, additionalInfo, timeInMillisec, timeEnabled, id, satisfiedCount) {
1518
+ _defineProperty(this, "cYfS", function (type, name, time, additionalInfo, timeInMillisec, timeEnabled, id, satisfiedCount) {
1519
1519
  var objectPresenceChecker = false;
1520
1520
  var requiredObject;
1521
1521
  _this.no_KPI_TriggerDetails = Apxor.getController().getFromStorage("apx_nokpi_triggerdetails");
@@ -1555,7 +1555,7 @@
1555
1555
  }
1556
1556
  Apxor.getController().persistToStorage("apx_nokpi_triggerdetails", JSON.stringify(_this.no_KPI_TriggerDetails));
1557
1557
  });
1558
- _defineProperty(this, "oFex", function (validators) {
1558
+ _defineProperty(this, "ADTy", function (validators) {
1559
1559
  var ceInstance = new CE();
1560
1560
  var _iterator = _createForOfIteratorHelper(validators),
1561
1561
  _step;
@@ -1563,7 +1563,7 @@
1563
1563
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
1564
1564
  var validator = _step.value;
1565
1565
  if ((validator === null || validator === void 0 ? void 0 : validator.length) === 1 || (validator === null || validator === void 0 ? void 0 : validator.length) === undefined) {
1566
- ceInstance.unregisterFromEvent(generateKey(validator === null || validator === void 0 ? void 0 : validator.fHuv.vDdr) + "___" + (validator === null || validator === void 0 ? void 0 : validator.fHuv.uXsD.UGic), _this.dkXM);
1566
+ ceInstance.unregisterFromEvent(generateKey(validator === null || validator === void 0 ? void 0 : validator.WClN.HvGe) + "___" + (validator === null || validator === void 0 ? void 0 : validator.WClN.lKqH.KyJY), _this.EXBl);
1567
1567
  } else {
1568
1568
  var _iterator2 = _createForOfIteratorHelper(validator),
1569
1569
  _step2;
@@ -1571,7 +1571,7 @@
1571
1571
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1572
1572
  var _childValidator$_cond;
1573
1573
  var childValidator = _step2.value;
1574
- ceInstance.unregisterFromEvent(generateKey(childValidator === null || childValidator === void 0 ? void 0 : childValidator.fHuv.vDdr) + "___" + (childValidator === null || childValidator === void 0 || (_childValidator$_cond = childValidator.fHuv) === null || _childValidator$_cond === void 0 ? void 0 : _childValidator$_cond.uXsD.UGic), _this.dkXM);
1574
+ ceInstance.unregisterFromEvent(generateKey(childValidator === null || childValidator === void 0 ? void 0 : childValidator.WClN.HvGe) + "___" + (childValidator === null || childValidator === void 0 || (_childValidator$_cond = childValidator.WClN) === null || _childValidator$_cond === void 0 ? void 0 : _childValidator$_cond.lKqH.KyJY), _this.EXBl);
1575
1575
  }
1576
1576
  } catch (err) {
1577
1577
  _iterator2.e(err);
@@ -1591,14 +1591,14 @@
1591
1591
  key: "_displayCampaign",
1592
1592
  value: function _displayCampaign(time) {
1593
1593
  var ceInstance = CE.getInstance();
1594
- this.yoCa = true;
1595
- if (this.yoCa) {
1596
- this.XmsR += 1;
1597
- this.yoCa = this.dZrw(this.XmsR, this.fHuv.oBTS, this.fHuv.SGjX);
1598
- if (this.yoCa) {
1599
- this.fHuv.QQId = time;
1600
- ceInstance.validate(this.ABDA, this.SdOG);
1601
- //ceInstance.updateCount(this.ABDA);
1594
+ this.YgKd = true;
1595
+ if (this.YgKd) {
1596
+ this.EVry += 1;
1597
+ this.YgKd = this.FhUD(this.EVry, this.WClN.rZaN, this.WClN.Yfhc);
1598
+ if (this.YgKd) {
1599
+ this.WClN.SqYL = time;
1600
+ ceInstance.validate(this.bdFJ, this.oSvu);
1601
+ //ceInstance.updateCount(this.bdFJ);
1602
1602
  }
1603
1603
  }
1604
1604
  }
@@ -1610,38 +1610,38 @@
1610
1610
  var Frequency = /*#__PURE__*/_createClass(function Frequency() {
1611
1611
  var _this = this;
1612
1612
  _classCallCheck(this, Frequency);
1613
- _defineProperty(this, "oBTS", 0);
1614
- _defineProperty(this, "WVfG", 0);
1615
- _defineProperty(this, "AEyV", "SESSION");
1616
- _defineProperty(this, "Rcoc", 0);
1617
- _defineProperty(this, "uIOV", 0);
1618
- _defineProperty(this, "UhtC", 0);
1613
+ _defineProperty(this, "rZaN", 0);
1614
+ _defineProperty(this, "vpQG", 0);
1615
+ _defineProperty(this, "sRWr", "SESSION");
1616
+ _defineProperty(this, "nWdc", 0);
1617
+ _defineProperty(this, "dOdV", 0);
1618
+ _defineProperty(this, "aObU", 0);
1619
1619
  _defineProperty(this, "_enable_repetition_gap", void 0);
1620
1620
  _defineProperty(this, "_enable_days_limit", void 0);
1621
1621
  _defineProperty(this, "_enable_session_limit", void 0);
1622
- _defineProperty(this, "IbRb", void 0);
1623
- _defineProperty(this, "ErEX", void 0);
1624
- _defineProperty(this, "SQOs", void 0);
1622
+ _defineProperty(this, "DWGK", void 0);
1623
+ _defineProperty(this, "ClXk", void 0);
1624
+ _defineProperty(this, "chzi", void 0);
1625
1625
  _defineProperty(this, "DSLimits", void 0);
1626
1626
  _defineProperty(this, "parse", function () {
1627
1627
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1628
1628
  try {
1629
1629
  var _config$frequency, _config$frequency3, _config$frequency4, _config$frequency7, _config$frequency8;
1630
- _this.ABDA = config._id;
1631
- _this.ofFb = config.meta;
1632
- _this.oBTS = config.frequency.count;
1633
- if (_this.oBTS === -1) {
1634
- _this.oBTS = 9999999;
1635
- }
1636
- _this.UhtC = _this.oBTS;
1637
- _this.WVfG = config.frequency.time_interval;
1638
- _this.AEyV = config.frequency.validity;
1630
+ _this.bdFJ = config._id;
1631
+ _this.Busn = config.meta;
1632
+ _this.rZaN = config.frequency.count;
1633
+ if (_this.rZaN === -1) {
1634
+ _this.rZaN = 9999999;
1635
+ }
1636
+ _this.aObU = _this.rZaN;
1637
+ _this.vpQG = config.frequency.time_interval;
1638
+ _this.sRWr = config.frequency.validity;
1639
1639
  _this.DSLimits = config.frequency.DSLimits;
1640
- _this.uIOV = config.frequency.ses_lmt;
1640
+ _this.dOdV = config.frequency.ses_lmt;
1641
1641
  _this._enable_session_limit = (_config$frequency = config.frequency) === null || _config$frequency === void 0 ? void 0 : _config$frequency.enable_session_limit;
1642
1642
  if (_this._enable_session_limit) {
1643
1643
  var _config$frequency2;
1644
- _this.IbRb = (_config$frequency2 = config.frequency) === null || _config$frequency2 === void 0 ? void 0 : _config$frequency2.session_count;
1644
+ _this.DWGK = (_config$frequency2 = config.frequency) === null || _config$frequency2 === void 0 ? void 0 : _config$frequency2.session_count;
1645
1645
  }
1646
1646
  _this._dayCount = (_config$frequency3 = config.frequency) !== null && _config$frequency3 !== void 0 && _config$frequency3.day_lmt ? (_config$frequency4 = config.frequency) === null || _config$frequency4 === void 0 ? void 0 : _config$frequency4.day_lmt : 0;
1647
1647
  _this._enable_repetition_gap = config.frequency.enable_repetition_gap ? config.frequency.enable_repetition_gap : false;
@@ -1652,31 +1652,31 @@
1652
1652
  }
1653
1653
  _this._enable_days_limit = (_config$frequency7 = config.frequency) !== null && _config$frequency7 !== void 0 && _config$frequency7.enable_days_limit ? (_config$frequency8 = config.frequency) === null || _config$frequency8 === void 0 ? void 0 : _config$frequency8.enable_days_limit : false;
1654
1654
  if (_this._enable_days_limit) {
1655
- _this.SQOs = config.frequency.days_limit.days ? config.frequency.days_limit.days : 1;
1656
- _this.ErEX = config.frequency.days_limit.limit;
1655
+ _this.chzi = config.frequency.days_limit.days ? config.frequency.days_limit.days : 1;
1656
+ _this.ClXk = config.frequency.days_limit.limit;
1657
1657
  }
1658
1658
 
1659
1659
  // let data = Apxor.getController().getFromStorage(QE_STATE);
1660
1660
  // let qe_state = JSON.parse(decode(Apxor.getSiteId(), data));
1661
1661
  var qe_state = CE.getInstance().getQeState();
1662
1662
  if (!isDefined(qe_state) || !isDefined(qe_state[config._id])) return true;
1663
- if (_this.AEyV === "SESSION") {
1664
- _this.oBTS = parseInt(_this.oBTS) - parseInt(qe_state[config._id]["SESSION"]);
1665
- if (_this.oBTS <= 0) {
1666
- _this.IdAw("Session limit reached");
1663
+ if (_this.sRWr === "SESSION") {
1664
+ _this.rZaN = parseInt(_this.rZaN) - parseInt(qe_state[config._id]["SESSION"]);
1665
+ if (_this.rZaN <= 0) {
1666
+ _this.cwbp("Session limit reached");
1667
1667
  console.warn("Max count limit reached for session:" + config._id);
1668
1668
  if (Apxor.getController().isTestDevice()) {
1669
- validationToastDisplayandRemoval("Maximum overall limit reached for campaign name ".concat(_this.ofFb.name));
1669
+ validationToastDisplayandRemoval("Maximum overall limit reached for campaign name ".concat(_this.Busn.name));
1670
1670
  }
1671
1671
  return false;
1672
1672
  }
1673
- } else if (_this.AEyV === "OVERALL") {
1674
- _this.oBTS = parseInt(_this.oBTS) - parseInt(qe_state[config._id]["OVERALL"]);
1675
- if (_this.oBTS <= 0) {
1676
- _this.IdAw("Overall limit reached");
1673
+ } else if (_this.sRWr === "OVERALL") {
1674
+ _this.rZaN = parseInt(_this.rZaN) - parseInt(qe_state[config._id]["OVERALL"]);
1675
+ if (_this.rZaN <= 0) {
1676
+ _this.cwbp("Overall limit reached");
1677
1677
  console.warn("Max count limit reached for overall:" + config._id);
1678
1678
  if (Apxor.getController().isTestDevice()) {
1679
- validationToastDisplayandRemoval("Maximum overall limit reached for campaign name ".concat(_this.ofFb.name));
1679
+ validationToastDisplayandRemoval("Maximum overall limit reached for campaign name ".concat(_this.Busn.name));
1680
1680
  }
1681
1681
  return false;
1682
1682
  }
@@ -1690,38 +1690,38 @@
1690
1690
  }
1691
1691
  return true;
1692
1692
  });
1693
- _defineProperty(this, "RQvg", function () {
1694
- _this.oBTS = _this.oBTS - 1;
1693
+ _defineProperty(this, "IAEG", function () {
1694
+ _this.rZaN = _this.rZaN - 1;
1695
1695
  });
1696
1696
  _defineProperty(this, "getFrequencyCount", function () {
1697
- return _this.oBTS;
1697
+ return _this.rZaN;
1698
1698
  });
1699
- _defineProperty(this, "TyZe", function () {
1700
- if (_this.AEyV === "SESSION") {
1701
- _this.oBTS = _this.UhtC;
1699
+ _defineProperty(this, "raNn", function () {
1700
+ if (_this.sRWr === "SESSION") {
1701
+ _this.rZaN = _this.aObU;
1702
1702
  Logger$5.info("Campaign Limit reset");
1703
1703
  }
1704
1704
  });
1705
1705
  /**
1706
- * @function Vsbc
1706
+ * @function LJcq
1707
1707
  * @description Validates if the campaign count is with in the limits set in the config.
1708
1708
  * @param {string} Config id
1709
1709
  * @returns {boolean} true - If the Campaign limits are not reached
1710
1710
  * false - Otherwise
1711
1711
  */
1712
- _defineProperty(this, "Vsbc", function (id) {
1712
+ _defineProperty(this, "LJcq", function (id) {
1713
1713
  try {
1714
- if (_this.oBTS <= 0) {
1715
- if (_this.AEyV === "OVERALL") {
1716
- _this.IdAw("Overall limit reached");
1714
+ if (_this.rZaN <= 0) {
1715
+ if (_this.sRWr === "OVERALL") {
1716
+ _this.cwbp("Overall limit reached");
1717
1717
  if (Apxor.getController().isTestDevice()) {
1718
- validationToastDisplayandRemoval("Maximum overall limit reached for campaign name ".concat(_this.ofFb.name));
1718
+ validationToastDisplayandRemoval("Maximum overall limit reached for campaign name ".concat(_this.Busn.name));
1719
1719
  }
1720
- } else if (_this.AEyV === "SESSION") {
1720
+ } else if (_this.sRWr === "SESSION") {
1721
1721
  if (Apxor.getController().isTestDevice()) {
1722
- validationToastDisplayandRemoval("Maximum session limit reached for campaign name ".concat(_this.ofFb.name));
1722
+ validationToastDisplayandRemoval("Maximum session limit reached for campaign name ".concat(_this.Busn.name));
1723
1723
  }
1724
- _this.IdAw("Session limit reached");
1724
+ _this.cwbp("Session limit reached");
1725
1725
  }
1726
1726
  return false;
1727
1727
  }
@@ -1732,12 +1732,12 @@
1732
1732
  //If the frequency counts are not stored no validity checks are needed.
1733
1733
  if (!isDefined(qe_state) || !isDefined(qe_state[id])) return true;
1734
1734
  if (_this._enable_session_limit) {
1735
- var sessionCountFromConfig = parseInt(_this.IbRb);
1735
+ var sessionCountFromConfig = parseInt(_this.DWGK);
1736
1736
  var thisSessionCount = parseInt(qe_state[id]["SESSION"]);
1737
1737
  if (sessionCountFromConfig - thisSessionCount <= 0) {
1738
- _this.IdAw("Session limit reached");
1738
+ _this.cwbp("Session limit reached");
1739
1739
  if (Apxor.getController().isTestDevice()) {
1740
- validationToastDisplayandRemoval("Maximum session limit reached for campaign name ".concat(_this.ofFb.name));
1740
+ validationToastDisplayandRemoval("Maximum session limit reached for campaign name ".concat(_this.Busn.name));
1741
1741
  }
1742
1742
  return false;
1743
1743
  }
@@ -1746,16 +1746,16 @@
1746
1746
  if (_this._repetitionUnit != "session") {
1747
1747
  var repetition_times = Apxor.getController().getFromStorage("apx-last-shown-times");
1748
1748
  repetition_times = JSON.parse(repetition_times);
1749
- if (!isNull(isObjectWithGivenKeyPresent(repetition_times, _this.ABDA))) {
1750
- var currentObj = isObjectWithGivenKeyPresent(repetition_times, _this.ABDA);
1751
- var current_repetition_time = currentObj[_this.ABDA];
1749
+ if (!isNull(isObjectWithGivenKeyPresent(repetition_times, _this.bdFJ))) {
1750
+ var currentObj = isObjectWithGivenKeyPresent(repetition_times, _this.bdFJ);
1751
+ var current_repetition_time = currentObj[_this.bdFJ];
1752
1752
  var current_time = Date.now();
1753
1753
  var timeInSecFromConfig;
1754
1754
  timeInSecFromConfig = calculateTime(_this._repetitionUnit, _this._repetitionValue);
1755
1755
  if (current_time - current_repetition_time < timeInSecFromConfig) {
1756
- _this.IdAw("Config does not satisfy time difference ");
1756
+ _this.cwbp("Config does not satisfy time difference ");
1757
1757
  if (Apxor.getController().isTestDevice()) {
1758
- validationToastDisplayandRemoval("Config does not satisfy time difference for campaign name ".concat(_this.ofFb.name));
1758
+ validationToastDisplayandRemoval("Config does not satisfy time difference for campaign name ".concat(_this.Busn.name));
1759
1759
  }
1760
1760
  return false;
1761
1761
  }
@@ -1763,14 +1763,14 @@
1763
1763
  } else {
1764
1764
  var sessionsTowait = Apxor.getController().getFromStorage("apx-last-shown-session");
1765
1765
  sessionsTowait = JSON.parse(sessionsTowait);
1766
- if (!isNull(isObjectWithGivenKeyPresent(sessionsTowait, _this.ABDA))) {
1767
- var _currentObj = isObjectWithGivenKeyPresent(sessionsTowait, _this.ABDA);
1768
- var current_repetition_session = _currentObj[_this.ABDA];
1766
+ if (!isNull(isObjectWithGivenKeyPresent(sessionsTowait, _this.bdFJ))) {
1767
+ var _currentObj = isObjectWithGivenKeyPresent(sessionsTowait, _this.bdFJ);
1768
+ var current_repetition_session = _currentObj[_this.bdFJ];
1769
1769
  var current_session = Apxor.getController().getFromStorage("apx_retained_session");
1770
1770
  if (current_session - current_repetition_session < parseInt(_this._repetitionValue)) {
1771
- _this.IdAw("Config does not satisfy session difference ");
1771
+ _this.cwbp("Config does not satisfy session difference ");
1772
1772
  if (Apxor.getController().isTestDevice()) {
1773
- validationToastDisplayandRemoval("Config does not satisfy session difference for campaign name ".concat(_this.ofFb.name));
1773
+ validationToastDisplayandRemoval("Config does not satisfy session difference for campaign name ".concat(_this.Busn.name));
1774
1774
  }
1775
1775
  return false;
1776
1776
  }
@@ -1779,13 +1779,13 @@
1779
1779
  }
1780
1780
 
1781
1781
  //If the config has a session count limit set
1782
- if (_this.uIOV !== 0 && _this.DSLimits) {
1783
- var sessionCountInConfig = parseInt(_this.uIOV);
1782
+ if (_this.dOdV !== 0 && _this.DSLimits) {
1783
+ var sessionCountInConfig = parseInt(_this.dOdV);
1784
1784
  var _thisSessionCount = parseInt(qe_state[id]["SESSION"]);
1785
1785
  if (sessionCountInConfig - _thisSessionCount <= 0) {
1786
- _this.IdAw("Session limit reached");
1786
+ _this.cwbp("Session limit reached");
1787
1787
  if (Apxor.getController().isTestDevice()) {
1788
- validationToastDisplayandRemoval("Session limit reached for campaign name ".concat(_this.ofFb.name));
1788
+ validationToastDisplayandRemoval("Session limit reached for campaign name ".concat(_this.Busn.name));
1789
1789
  }
1790
1790
  return false;
1791
1791
  }
@@ -1798,44 +1798,44 @@
1798
1798
  var dayCountInConfig = parseInt(_this._dayCount);
1799
1799
  var thisDayCount = parseInt(((_qe_state$id = qe_state[id]) === null || _qe_state$id === void 0 ? void 0 : _qe_state$id.DATES[date]) || 0);
1800
1800
  if (dayCountInConfig - thisDayCount <= 0) {
1801
- _this.IdAw("Day limit reached");
1801
+ _this.cwbp("Day limit reached");
1802
1802
  if (Apxor.getController().isTestDevice()) {
1803
- validationToastDisplayandRemoval("Day limit reached for campaign name ".concat(_this.ofFb.name));
1803
+ validationToastDisplayandRemoval("Day limit reached for campaign name ".concat(_this.Busn.name));
1804
1804
  }
1805
1805
  return false;
1806
1806
  }
1807
1807
  }
1808
- if (_this.SQOs > 0 && _this._enable_days_limit) {
1809
- var daysCount = _this.SQOs;
1808
+ if (_this.chzi > 0 && _this._enable_days_limit) {
1809
+ var daysCount = _this.chzi;
1810
1810
  var shownLimit = 0;
1811
1811
  var daysListInDDMMYYYY = getPastDates(daysCount);
1812
1812
  daysListInDDMMYYYY.forEach(function (fetchedDate) {
1813
1813
  var _qe_state$id2;
1814
1814
  shownLimit = shownLimit + parseInt(((_qe_state$id2 = qe_state[id]) === null || _qe_state$id2 === void 0 ? void 0 : _qe_state$id2.DATES[fetchedDate]) || 0);
1815
1815
  });
1816
- if (shownLimit > _this.ErEX) {
1816
+ if (shownLimit > _this.ClXk) {
1817
1817
  Logger$5.info("Shown Limit Crossed");
1818
1818
  if (Apxor.getController().isTestDevice()) {
1819
- validationToastDisplayandRemoval("Days limit reached for campaign name ".concat(_this.ofFb.name));
1819
+ validationToastDisplayandRemoval("Days limit reached for campaign name ".concat(_this.Busn.name));
1820
1820
  }
1821
1821
  return false;
1822
1822
  }
1823
1823
  }
1824
1824
  } catch (e) {
1825
- _this.IdAw("Error validating the frequency: ".concat(e));
1825
+ _this.cwbp("Error validating the frequency: ".concat(e));
1826
1826
  Logger$5.error("Error validating the frequency:" + e);
1827
1827
  }
1828
1828
  return true;
1829
1829
  });
1830
- _defineProperty(this, "IdAw", function (reason) {
1831
- var _this$ofFb$attr;
1830
+ _defineProperty(this, "cwbp", function (reason) {
1831
+ var _this$Busn$attr;
1832
1832
  Apxor === null || Apxor === void 0 || Apxor.logEvent("apx_non_eligible_user", {
1833
- apx_nudge_type: _this.ofFb.type === "SURVEY" ? "survey" : "campaign",
1834
- apx_nudge_id: _this.ABDA,
1835
- apx_nudge_name: _this.ofFb.name,
1836
- message_name: _this.ofFb.UGic,
1837
- id: _this.ABDA,
1838
- apx_variant_code: _this.ofFb.isExperiment || _this.ofFb.only_context ? (_this$ofFb$attr = _this.ofFb.attr) === null || _this$ofFb$attr === void 0 ? void 0 : _this$ofFb$attr[APX_VARIANT_CODE] : "TG",
1833
+ apx_nudge_type: _this.Busn.type === "SURVEY" ? "survey" : "campaign",
1834
+ apx_nudge_id: _this.bdFJ,
1835
+ apx_nudge_name: _this.Busn.name,
1836
+ message_name: _this.Busn.KyJY,
1837
+ id: _this.bdFJ,
1838
+ apx_variant_code: _this.Busn.isExperiment || _this.Busn.only_context ? (_this$Busn$attr = _this.Busn.attr) === null || _this$Busn$attr === void 0 ? void 0 : _this$Busn$attr[APX_VARIANT_CODE] : "TG",
1839
1839
  apx_notshown_type: "warn",
1840
1840
  apx_reason: reason
1841
1841
  });
@@ -1848,10 +1848,10 @@
1848
1848
  var GroupConditionValidator = /*#__PURE__*/_createClass(function GroupConditionValidator() {
1849
1849
  var _this = this;
1850
1850
  _classCallCheck(this, GroupConditionValidator);
1851
- _defineProperty(this, "OTPw", []);
1852
- _defineProperty(this, "GbmE", 0);
1853
- _defineProperty(this, "Zyiy", false);
1854
- _defineProperty(this, "eEYX", void 0);
1851
+ _defineProperty(this, "HygX", []);
1852
+ _defineProperty(this, "UYsF", 0);
1853
+ _defineProperty(this, "kfNs", false);
1854
+ _defineProperty(this, "sclT", void 0);
1855
1855
  _defineProperty(this, "initialize", function () {
1856
1856
  var conditions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
1857
1857
  var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -1860,51 +1860,51 @@
1860
1860
  var noKpiArray = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
1861
1861
  var parentRespectSequence = arguments.length > 5 ? arguments[5] : undefined;
1862
1862
  var across_sessions = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
1863
- _this.ABDA = id;
1864
- _this.SdOG = index;
1865
- _this.gMeI = noKpiArray;
1866
- _this.OwjD = respectSequence;
1863
+ _this.bdFJ = id;
1864
+ _this.oSvu = index;
1865
+ _this.PHRJ = noKpiArray;
1866
+ _this.mxgE = respectSequence;
1867
1867
  _this.across_sessions = across_sessions;
1868
1868
  var childConditions = [];
1869
- _this.GbmE = conditions.length;
1869
+ _this.UYsF = conditions.length;
1870
1870
  try {
1871
1871
  if (childConditions != null) {
1872
1872
  respectSequence = conditions === null || conditions === void 0 ? void 0 : conditions.sequence_type;
1873
- childConditions = _this.tTRq(conditions, _this.GbmE);
1874
- if (parentRespectSequence === "unordered" || _this.SdOG === 0) {
1875
- _this.jRNn();
1873
+ childConditions = _this.onrv(conditions, _this.UYsF);
1874
+ if (parentRespectSequence === "unordered" || _this.oSvu === 0) {
1875
+ _this.APPb();
1876
1876
  }
1877
- return _this.OTPw;
1877
+ return _this.HygX;
1878
1878
  }
1879
1879
  } catch (error) {
1880
1880
  Logger$6.error(error);
1881
1881
  return false;
1882
1882
  }
1883
1883
  });
1884
- _defineProperty(this, "tTRq", function (conditions, conditionsLength) {
1884
+ _defineProperty(this, "onrv", function (conditions, conditionsLength) {
1885
1885
  for (var index = 0; index < conditionsLength; index++) {
1886
- _this.eEYX = new ConditionValidator();
1886
+ _this.sclT = new ConditionValidator();
1887
1887
  try {
1888
- if (_this.eEYX.initialize(conditions[index], _this.ABDA, _this.SdOG, _this.OwjD, _this.IyJN, _this.across_sessions, "", -1, false)) {
1889
- _this.OTPw.push(_this.eEYX);
1890
- _this.OTPw.sequence_type = _this.OwjD;
1888
+ if (_this.sclT.initialize(conditions[index], _this.bdFJ, _this.oSvu, _this.mxgE, _this.YFCU, _this.across_sessions, "", -1, false)) {
1889
+ _this.HygX.push(_this.sclT);
1890
+ _this.HygX.sequence_type = _this.mxgE;
1891
1891
  }
1892
1892
  } catch (error) {
1893
1893
  Logger$6.error(error);
1894
1894
  }
1895
1895
  }
1896
- return _this.OTPw;
1896
+ return _this.HygX;
1897
1897
  });
1898
- _defineProperty(this, "jRNn", function () {
1899
- if (_this.OwjD === "ordered" || _this.OwjD === "strictly_ordered") {
1900
- _this.OTPw[0].jRNn(0);
1898
+ _defineProperty(this, "APPb", function () {
1899
+ if (_this.mxgE === "ordered" || _this.mxgE === "strictly_ordered") {
1900
+ _this.HygX[0].APPb(0);
1901
1901
  } else {
1902
- var _iterator = _createForOfIteratorHelper(_this.OTPw),
1902
+ var _iterator = _createForOfIteratorHelper(_this.HygX),
1903
1903
  _step;
1904
1904
  try {
1905
1905
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
1906
1906
  var validator = _step.value;
1907
- validator.jRNn();
1907
+ validator.APPb();
1908
1908
  }
1909
1909
  } catch (err) {
1910
1910
  _iterator.e(err);
@@ -1913,22 +1913,22 @@
1913
1913
  }
1914
1914
  }
1915
1915
  });
1916
- _defineProperty(this, "oFex", function (validators) {
1917
- _this.eEYX.oFex(validators);
1916
+ _defineProperty(this, "ADTy", function (validators) {
1917
+ _this.sclT.ADTy(validators);
1918
1918
  });
1919
1919
  });
1920
1920
 
1921
1921
  var Meta = /*#__PURE__*/_createClass(function Meta() {
1922
1922
  var _this = this;
1923
1923
  _classCallCheck(this, Meta);
1924
- _defineProperty(this, "UGic", "");
1925
- _defineProperty(this, "DFrC", "");
1924
+ _defineProperty(this, "KyJY", "");
1925
+ _defineProperty(this, "KlQa", "");
1926
1926
  _defineProperty(this, "parse", function () {
1927
1927
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1928
1928
  try {
1929
1929
  var _config$meta, _config$meta2;
1930
- _this.UGic = config.meta.name;
1931
- _this.DFrC = config.meta.type;
1930
+ _this.KyJY = config.meta.name;
1931
+ _this.KlQa = config.meta.type;
1932
1932
  _this._only_context = config.meta.only_context;
1933
1933
  _this._attr = ((_config$meta = config.meta) === null || _config$meta === void 0 ? void 0 : _config$meta.attr) || {};
1934
1934
  _this._isExperiment = (_config$meta2 = config.meta) === null || _config$meta2 === void 0 ? void 0 : _config$meta2.isExperiment;
@@ -1944,11 +1944,11 @@
1944
1944
  var OverallConfig = /*#__PURE__*/_createClass(function OverallConfig() {
1945
1945
  var _this = this;
1946
1946
  _classCallCheck(this, OverallConfig);
1947
- _defineProperty(this, "zKQj", []);
1947
+ _defineProperty(this, "Fzfv", []);
1948
1948
  _defineProperty(this, "_ret_day", {});
1949
- _defineProperty(this, "OFTf", {});
1950
- _defineProperty(this, "IPPT", false);
1951
- _defineProperty(this, "kTaF", false);
1949
+ _defineProperty(this, "ypuj", {});
1950
+ _defineProperty(this, "noaz", false);
1951
+ _defineProperty(this, "jbkV", false);
1952
1952
  _defineProperty(this, "retainedDaysValidated", true);
1953
1953
  _defineProperty(this, "retainedSessionValidated", true);
1954
1954
  _defineProperty(this, "eventDoneInLT", false);
@@ -1956,11 +1956,11 @@
1956
1956
  _defineProperty(this, "parse", function () {
1957
1957
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1958
1958
  try {
1959
- _this.zKQj = config.overall_cfg.events;
1959
+ _this.Fzfv = config.overall_cfg.events;
1960
1960
  _this._ret_day = config.overall_cfg.ret_day;
1961
- _this.OFTf = config.overall_cfg.session;
1962
- _this.IPPT = config.overall_cfg.toggleRetDay;
1963
- _this.kTaF = config.overall_cfg.toggleSession;
1961
+ _this.ypuj = config.overall_cfg.session;
1962
+ _this.noaz = config.overall_cfg.toggleRetDay;
1963
+ _this.jbkV = config.overall_cfg.toggleSession;
1964
1964
  } catch (error) {
1965
1965
  Logger$7.error(error);
1966
1966
  return false;
@@ -1970,11 +1970,11 @@
1970
1970
  _defineProperty(this, "validate", function () {
1971
1971
  var retainedDays = parseInt(Apxor.getController().getFromStorage(APX_RETAINED_DAYS));
1972
1972
  var retainedSession = parseInt(Apxor.getController().getFromStorage(APX_RETAINED_SESSIONS));
1973
- if (_this.IPPT && !isNaN(retainedDays) && !(retainedDays >= _this._ret_day.from && retainedDays <= _this._ret_day.to)) {
1973
+ if (_this.noaz && !isNaN(retainedDays) && !(retainedDays >= _this._ret_day.from && retainedDays <= _this._ret_day.to)) {
1974
1974
  _this.retainedDaysValidated = false;
1975
1975
  return false;
1976
1976
  }
1977
- if (_this.kTaF && !isNaN(retainedSession) && !(retainedSession >= _this.OFTf.from && retainedSession <= _this.OFTf.to)) {
1977
+ if (_this.jbkV && !isNaN(retainedSession) && !(retainedSession >= _this.ypuj.from && retainedSession <= _this.ypuj.to)) {
1978
1978
  _this.retainedSessionValidated = false;
1979
1979
  return false;
1980
1980
  }
@@ -1983,8 +1983,8 @@
1983
1983
  var data = Apxor.getController().getFromStorage("_apx_lt_count");
1984
1984
  var siteid = Apxor.getSiteId();
1985
1985
  var LtCountObjDecoded = JSON.parse(new TextDecoder().decode(stringToArrayBuffer(decode(siteid, data))));
1986
- for (var i = 0; i < _this.zKQj.length; i++) {
1987
- var evName = _this.zKQj[i].name.replace("'", "").replace("’", "");
1986
+ for (var i = 0; i < _this.Fzfv.length; i++) {
1987
+ var evName = _this.Fzfv[i].name.replace("'", "").replace("’", "");
1988
1988
  if (LtCountObjDecoded[evName]) {
1989
1989
  _this.eventDoneInLT = true;
1990
1990
  return false;
@@ -2001,14 +2001,14 @@
2001
2001
  var Attributes = /*#__PURE__*/_createClass(function Attributes() {
2002
2002
  var _this = this;
2003
2003
  _classCallCheck(this, Attributes);
2004
- _defineProperty(this, "jkhw", []);
2005
- _defineProperty(this, "xsNZ", []);
2004
+ _defineProperty(this, "vuUy", []);
2005
+ _defineProperty(this, "TvMJ", []);
2006
2006
  _defineProperty(this, "parse", function () {
2007
2007
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2008
2008
  try {
2009
- _this.jkhw = config.attributes.user;
2010
- _this.xsNZ = config.attributes.session;
2011
- if (!Array.isArray(_this.jkhw) || !Array.isArray(_this.xsNZ)) {
2009
+ _this.vuUy = config.attributes.user;
2010
+ _this.TvMJ = config.attributes.session;
2011
+ if (!Array.isArray(_this.vuUy) || !Array.isArray(_this.TvMJ)) {
2012
2012
  Logger$8.error("No attributes");
2013
2013
  return false;
2014
2014
  }
@@ -2019,9 +2019,9 @@
2019
2019
  return true;
2020
2020
  });
2021
2021
  _defineProperty(this, "validate", function (user, session) {
2022
- return _this.ViXp(user, _this.jkhw) && _this.ViXp(session, _this.xsNZ);
2022
+ return _this.KGxX(user, _this.vuUy) && _this.KGxX(session, _this.TvMJ);
2023
2023
  });
2024
- _defineProperty(this, "ViXp", function (attributes, expected) {
2024
+ _defineProperty(this, "KGxX", function (attributes, expected) {
2025
2025
  var length = expected.length;
2026
2026
  var status = true;
2027
2027
  try {
@@ -2051,7 +2051,7 @@
2051
2051
  }
2052
2052
  var match = loggedValues.some(function (loggedValue) {
2053
2053
  return values.some(function (configValue) {
2054
- return vRev(loggedValue, configValue, operator);
2054
+ return ldZx(loggedValue, configValue, operator);
2055
2055
  });
2056
2056
  });
2057
2057
  status = status && match;
@@ -2075,18 +2075,18 @@
2075
2075
  var TimeBasedTermination = /*#__PURE__*/_createClass(function TimeBasedTermination() {
2076
2076
  var _this = this;
2077
2077
  _classCallCheck(this, TimeBasedTermination);
2078
- _defineProperty(this, "IGdf", Apxor.getController());
2078
+ _defineProperty(this, "yIng", Apxor.getController());
2079
2079
  _defineProperty(this, "type", "");
2080
2080
  _defineProperty(this, "_duration_seconds", 0);
2081
- _defineProperty(this, "DAMZ", 1);
2081
+ _defineProperty(this, "wIYn", 1);
2082
2082
  _defineProperty(this, "parse", function (config) {
2083
2083
  try {
2084
2084
  var _config$terminate_inf, _config$terminate_inf2, _config$terminate_inf3;
2085
- _this.DFrC = (_config$terminate_inf = config.terminate_info.time_based) === null || _config$terminate_inf === void 0 ? void 0 : _config$terminate_inf.type;
2085
+ _this.KlQa = (_config$terminate_inf = config.terminate_info.time_based) === null || _config$terminate_inf === void 0 ? void 0 : _config$terminate_inf.type;
2086
2086
  _this._duration_seconds = (_config$terminate_inf2 = config.terminate_info) === null || _config$terminate_inf2 === void 0 ? void 0 : _config$terminate_inf2.time_based.duration_seconds;
2087
- _this.DAMZ = (_config$terminate_inf3 = config.terminate_info.time_based) === null || _config$terminate_inf3 === void 0 ? void 0 : _config$terminate_inf3.days;
2088
- if (_this.vRev(config._id)) {
2089
- _this.IGdf.persistTerminationInfoLocally(config._id);
2087
+ _this.wIYn = (_config$terminate_inf3 = config.terminate_info.time_based) === null || _config$terminate_inf3 === void 0 ? void 0 : _config$terminate_inf3.days;
2088
+ if (_this.ldZx(config._id)) {
2089
+ _this.yIng.persistTerminationInfoLocally(config._id);
2090
2090
  return false;
2091
2091
  }
2092
2092
  } catch (_unused) {
@@ -2094,16 +2094,16 @@
2094
2094
  }
2095
2095
  return true;
2096
2096
  });
2097
- _defineProperty(this, "vRev", function (id) {
2097
+ _defineProperty(this, "ldZx", function (id) {
2098
2098
  var _Data$id;
2099
- var Data = JSON.parse(_this.IGdf.getFromStorage(APX_TERMINATION_ID));
2099
+ var Data = JSON.parse(_this.yIng.getFromStorage(APX_TERMINATION_ID));
2100
2100
  if (!Data[id] || !((_Data$id = Data[id]) !== null && _Data$id !== void 0 && _Data$id.startDate)) return false;
2101
2101
  var startDate = new Date(Data[id].startDate);
2102
2102
  var presentDate = new Date(getDateInMMDDYYYY());
2103
2103
  var diff = parseInt((presentDate - startDate) / (1000 * 60 * 60 * 24), 10);
2104
2104
  var currentTime = _getTime();
2105
- var nYTe = Data[id].nYTe;
2106
- return diff === _this.DAMZ && currentTime.hours >= nYTe.hours || diff > _this.DAMZ || Data[id].goalAcheived;
2105
+ var dLHN = Data[id].dLHN;
2106
+ return diff === _this.wIYn && currentTime.hours >= dLHN.hours || diff > _this.wIYn || Data[id].goalAcheived;
2107
2107
  });
2108
2108
  });
2109
2109
 
@@ -2112,19 +2112,19 @@
2112
2112
  _classCallCheck(this, TerminationInfo);
2113
2113
  _defineProperty(this, "enable_goal_events", false);
2114
2114
  _defineProperty(this, "attributes", {});
2115
- _defineProperty(this, "oamw", new Attributes());
2116
- _defineProperty(this, "wuBT", new TimeBasedTermination());
2115
+ _defineProperty(this, "ErYc", new Attributes());
2116
+ _defineProperty(this, "TVJQ", new TimeBasedTermination());
2117
2117
  _defineProperty(this, "parse", function () {
2118
2118
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2119
2119
  try {
2120
2120
  var _config$terminate_inf, _config$terminate_inf2, _config$terminate_inf3;
2121
2121
  _this.enable_time_based = config === null || config === void 0 || (_config$terminate_inf = config.terminate_info) === null || _config$terminate_inf === void 0 ? void 0 : _config$terminate_inf.enable_time_based;
2122
- if (_this.enable_time_based && !_this.wuBT.parse(config)) {
2122
+ if (_this.enable_time_based && !_this.TVJQ.parse(config)) {
2123
2123
  return false;
2124
2124
  }
2125
2125
  _this.enable_goal_events = config === null || config === void 0 || (_config$terminate_inf2 = config.terminate_info) === null || _config$terminate_inf2 === void 0 ? void 0 : _config$terminate_inf2.enable_goal_events;
2126
2126
  _this.enable_attributes = config === null || config === void 0 || (_config$terminate_inf3 = config.terminate_info) === null || _config$terminate_inf3 === void 0 ? void 0 : _config$terminate_inf3.enable_attributes;
2127
- if (_this.enable_attributes && !_this.oamw.parse(config.terminate_info)) {
2127
+ if (_this.enable_attributes && !_this.ErYc.parse(config.terminate_info)) {
2128
2128
  return false;
2129
2129
  }
2130
2130
  } catch (error) {
@@ -2134,7 +2134,7 @@
2134
2134
  return true;
2135
2135
  });
2136
2136
  _defineProperty(this, "validate", function (user, session) {
2137
- return _this.oamw.validate(user, session);
2137
+ return _this.ErYc.validate(user, session);
2138
2138
  });
2139
2139
  });
2140
2140
 
@@ -2142,15 +2142,15 @@
2142
2142
  var Validity = /*#__PURE__*/_createClass(function Validity() {
2143
2143
  var _this = this;
2144
2144
  _classCallCheck(this, Validity);
2145
- _defineProperty(this, "jjeA", -1);
2146
- _defineProperty(this, "vFlH", -1);
2147
- _defineProperty(this, "nYTe", -1);
2148
- _defineProperty(this, "iDwb", -1);
2149
- _defineProperty(this, "ycyp", -1);
2150
- _defineProperty(this, "dCIk", -1);
2145
+ _defineProperty(this, "RuvQ", -1);
2146
+ _defineProperty(this, "ZQoY", -1);
2147
+ _defineProperty(this, "dLHN", -1);
2148
+ _defineProperty(this, "UIpJ", -1);
2149
+ _defineProperty(this, "OXLD", -1);
2150
+ _defineProperty(this, "MinM", -1);
2151
2151
  _defineProperty(this, "_is_user_timezone", void 0);
2152
- _defineProperty(this, "cfKb", false);
2153
- _defineProperty(this, "fmrF", false);
2152
+ _defineProperty(this, "cIGW", false);
2153
+ _defineProperty(this, "KEdX", false);
2154
2154
  _defineProperty(this, "_nudge_expired", false);
2155
2155
  _defineProperty(this, "_not_yet_active", false);
2156
2156
  _defineProperty(this, "_not_in_specified_time", false);
@@ -2159,36 +2159,36 @@
2159
2159
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2160
2160
  try {
2161
2161
  var _config$validity, _config$validity2;
2162
- _this.ABDA = config._id;
2163
- _this.ofFb = config.meta;
2162
+ _this.bdFJ = config._id;
2163
+ _this.Busn = config.meta;
2164
2164
  if (isNaN(Date.parse(config.validity.start_date)) || isNaN(Date.parse(config.validity.end_date)) || !Array.isArray(config.validity.days_in_week)) {
2165
2165
  Logger$9.error("Not valid dates");
2166
2166
  return false;
2167
2167
  }
2168
- _this.jjeA = Date.parse(config.validity.start_date);
2169
- _this.vFlH = Date.parse(config.validity.end_date);
2168
+ _this.RuvQ = Date.parse(config.validity.start_date);
2169
+ _this.ZQoY = Date.parse(config.validity.end_date);
2170
2170
  _this._days_in_week = (_config$validity = config.validity) !== null && _config$validity !== void 0 && _config$validity.days_in_week ? (_config$validity2 = config.validity) === null || _config$validity2 === void 0 ? void 0 : _config$validity2.days_in_week : [1, 2, 3, 4, 5, 6, 7];
2171
2171
  _this._is_user_timezone = config.is_user_timezone ? config.is_user_timezone : true;
2172
2172
  if (isDefined(config.at_specific_time)) {
2173
- _this.cfKb = config.at_specific_time;
2174
- if (_this.cfKb && isDefined(config.time_limits)) {
2175
- _this.nYTe = config.time_limits.start_time;
2176
- _this.iDwb = config.time_limits.end_time;
2173
+ _this.cIGW = config.at_specific_time;
2174
+ if (_this.cIGW && isDefined(config.time_limits)) {
2175
+ _this.dLHN = config.time_limits.start_time;
2176
+ _this.UIpJ = config.time_limits.end_time;
2177
2177
 
2178
2178
  // If invalid format is passed, return false
2179
- if (isNumber(_this.nYTe) || isNumber(_this.iDwb)) {
2179
+ if (isNumber(_this.dLHN) || isNumber(_this.UIpJ)) {
2180
2180
  Logger$9.error("Not valid times");
2181
2181
  return false;
2182
2182
  }
2183
2183
  }
2184
2184
  }
2185
2185
  if (isDefined(config.time_excludes_in_day)) {
2186
- _this.fmrF = config.time_excludes_in_day;
2187
- if (_this.fmrF && isDefined(config.time_excludes)) {
2188
- _this.ycyp = config.time_excludes.start_time;
2189
- _this.dCIk = config.time_excludes.end_time;
2186
+ _this.KEdX = config.time_excludes_in_day;
2187
+ if (_this.KEdX && isDefined(config.time_excludes)) {
2188
+ _this.OXLD = config.time_excludes.start_time;
2189
+ _this.MinM = config.time_excludes.end_time;
2190
2190
  // If invalid format is passed, return false
2191
- if (isNumber(_this.ycyp) || isNumber(_this.dCIk)) {
2191
+ if (isNumber(_this.OXLD) || isNumber(_this.MinM)) {
2192
2192
  Logger$9.error("Not valid exclude times");
2193
2193
  return false;
2194
2194
  }
@@ -2205,40 +2205,40 @@
2205
2205
  var currentDate = new Date();
2206
2206
  var currentDay = currentDate.getDay() + 1;
2207
2207
  var currentTimeIn24hourFormat = _getCurrentTime(_this._is_user_timezone);
2208
- if (currentTime > _this.jjeA && currentTime < _this.vFlH && _this._days_in_week.includes(currentDay)) {
2209
- if (_this.cfKb && !(_timeEvaluator(currentTimeIn24hourFormat, _this.nYTe, "GT") && _timeEvaluator(currentTimeIn24hourFormat, _this.iDwb, "LT"))) {
2208
+ if (currentTime > _this.RuvQ && currentTime < _this.ZQoY && _this._days_in_week.includes(currentDay)) {
2209
+ if (_this.cIGW && !(_timeEvaluator(currentTimeIn24hourFormat, _this.dLHN, "GT") && _timeEvaluator(currentTimeIn24hourFormat, _this.UIpJ, "LT"))) {
2210
2210
  _this._not_in_specified_time = true;
2211
2211
  }
2212
- if (_this.fmrF && isTimeBetween(_this.ycyp, _this.dCIk, currentTimeIn24hourFormat)) {
2213
- _this.IdAw("Exclude Time limits check failed");
2212
+ if (_this.KEdX && isTimeBetween(_this.OXLD, _this.MinM, currentTimeIn24hourFormat)) {
2213
+ _this.cwbp("Exclude Time limits check failed");
2214
2214
  if (Apxor.getController().isTestDevice()) {
2215
- validationToastDisplayandRemoval("Exclude Time Limits check failed for campaign name ".concat(_this.ofFb.name));
2215
+ validationToastDisplayandRemoval("Exclude Time Limits check failed for campaign name ".concat(_this.Busn.name));
2216
2216
  }
2217
2217
  return false;
2218
2218
  }
2219
- return !_this.cfKb || _timeEvaluator(currentTimeIn24hourFormat, _this.nYTe, "GT") && _timeEvaluator(currentTimeIn24hourFormat, _this.iDwb, "LT");
2220
- } else if (currentTime < _this.jjeA) {
2219
+ return !_this.cIGW || _timeEvaluator(currentTimeIn24hourFormat, _this.dLHN, "GT") && _timeEvaluator(currentTimeIn24hourFormat, _this.UIpJ, "LT");
2220
+ } else if (currentTime < _this.RuvQ) {
2221
2221
  _this._not_yet_active = true;
2222
- } else if (currentTime > _this.vFlH) {
2222
+ } else if (currentTime > _this.ZQoY) {
2223
2223
  _this._nudge_expired = true;
2224
2224
  } else if (!_this._days_in_week.includes(currentDay)) {
2225
- _this.IdAw("Current week day did not match with Configured Week day");
2225
+ _this.cwbp("Current week day did not match with Configured Week day");
2226
2226
  if (Apxor.getController().isTestDevice()) {
2227
- validationToastDisplayandRemoval("Current week day did not match with Configured Week day for campaign name ".concat(_this.ofFb.name));
2227
+ validationToastDisplayandRemoval("Current week day did not match with Configured Week day for campaign name ".concat(_this.Busn.name));
2228
2228
  }
2229
2229
  return false;
2230
2230
  }
2231
2231
  return false;
2232
2232
  });
2233
- _defineProperty(this, "IdAw", function (reason) {
2234
- var _this$ofFb$attr;
2233
+ _defineProperty(this, "cwbp", function (reason) {
2234
+ var _this$Busn$attr;
2235
2235
  Apxor === null || Apxor === void 0 || Apxor.logEvent("apx_non_eligible_user", {
2236
- apx_nudge_type: _this.ofFb.type === "SURVEY" ? "survey" : "campaign",
2237
- apx_nudge_id: _this.ABDA,
2238
- apx_nudge_name: _this.ofFb.name,
2239
- message_name: _this.ofFb.UGic,
2240
- id: _this.ABDA,
2241
- apx_variant_code: _this.ofFb.isExperiment || _this.ofFb.only_context ? (_this$ofFb$attr = _this.ofFb.attr) === null || _this$ofFb$attr === void 0 ? void 0 : _this$ofFb$attr[APX_VARIANT_CODE] : "TG",
2236
+ apx_nudge_type: _this.Busn.type === "SURVEY" ? "survey" : "campaign",
2237
+ apx_nudge_id: _this.bdFJ,
2238
+ apx_nudge_name: _this.Busn.name,
2239
+ message_name: _this.Busn.KyJY,
2240
+ id: _this.bdFJ,
2241
+ apx_variant_code: _this.Busn.isExperiment || _this.Busn.only_context ? (_this$Busn$attr = _this.Busn.attr) === null || _this$Busn$attr === void 0 ? void 0 : _this$Busn$attr[APX_VARIANT_CODE] : "TG",
2242
2242
  apx_notshown_type: "warn",
2243
2243
  apx_reason: reason
2244
2244
  });
@@ -2248,20 +2248,20 @@
2248
2248
  var Binding = /*#__PURE__*/_createClass(function Binding() {
2249
2249
  var _this = this;
2250
2250
  _classCallCheck(this, Binding);
2251
- _defineProperty(this, "MLvn", "");
2252
- _defineProperty(this, "nLZR", "");
2253
- _defineProperty(this, "aCat", "");
2254
- _defineProperty(this, "qNPe", "");
2251
+ _defineProperty(this, "eHmB", "");
2252
+ _defineProperty(this, "orYZ", "");
2253
+ _defineProperty(this, "jewV", "");
2254
+ _defineProperty(this, "kULT", "");
2255
2255
  _defineProperty(this, "parse", function () {
2256
2256
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2257
2257
  try {
2258
- _this.MLvn = config === null || config === void 0 ? void 0 : config.screen_binding;
2259
- if (!_this.MLvn) {
2258
+ _this.eHmB = config === null || config === void 0 ? void 0 : config.screen_binding;
2259
+ if (!_this.eHmB) {
2260
2260
  return true;
2261
2261
  } else {
2262
- _this.nLZR = config === null || config === void 0 ? void 0 : config.binding.url;
2263
- _this.aCat = config === null || config === void 0 ? void 0 : config.binding["var"];
2264
- _this.qNPe = config === null || config === void 0 ? void 0 : config.binding.operator;
2262
+ _this.orYZ = config === null || config === void 0 ? void 0 : config.binding.url;
2263
+ _this.jewV = config === null || config === void 0 ? void 0 : config.binding["var"];
2264
+ _this.kULT = config === null || config === void 0 ? void 0 : config.binding.operator;
2265
2265
  return true;
2266
2266
  }
2267
2267
  } catch (error) {
@@ -2276,11 +2276,11 @@
2276
2276
  * operator :operator can be either "EQ" used for equality comparision or "SW" used for startswith comparision
2277
2277
  */
2278
2278
  _defineProperty(this, "validate", function () {
2279
- var url = _this.nLZR;
2280
- var variable = _this.aCat;
2281
- var operator = _this.qNPe;
2279
+ var url = _this.orYZ;
2280
+ var variable = _this.jewV;
2281
+ var operator = _this.kULT;
2282
2282
  var currentUrl = window.location.href;
2283
- if (!_this.MLvn) {
2283
+ if (!_this.eHmB) {
2284
2284
  return true;
2285
2285
  } else {
2286
2286
  if (operator === "EQ") {
@@ -2324,44 +2324,44 @@
2324
2324
  var ConfigItem = /*#__PURE__*/_createClass(function ConfigItem() {
2325
2325
  var _this = this;
2326
2326
  _classCallCheck(this, ConfigItem);
2327
- _defineProperty(this, "qfrr", []);
2328
- _defineProperty(this, "vqdX", []);
2329
- _defineProperty(this, "ABDA", "");
2330
- _defineProperty(this, "ofFb", new Meta());
2331
- _defineProperty(this, "Rtvw", new Audience());
2332
- _defineProperty(this, "AEyV", new Validity());
2333
- _defineProperty(this, "sqke", new Frequency());
2334
- _defineProperty(this, "Rlua", new OverallConfig());
2335
- _defineProperty(this, "TAxm", new TerminationInfo());
2336
- _defineProperty(this, "SXtO", new Binding());
2337
- _defineProperty(this, "OwjD", false);
2338
- _defineProperty(this, "IyJN", []);
2327
+ _defineProperty(this, "slst", []);
2328
+ _defineProperty(this, "OakL", []);
2329
+ _defineProperty(this, "bdFJ", "");
2330
+ _defineProperty(this, "Busn", new Meta());
2331
+ _defineProperty(this, "PnhJ", new Audience());
2332
+ _defineProperty(this, "sRWr", new Validity());
2333
+ _defineProperty(this, "jznt", new Frequency());
2334
+ _defineProperty(this, "lgot", new OverallConfig());
2335
+ _defineProperty(this, "poNk", new TerminationInfo());
2336
+ _defineProperty(this, "iJQR", new Binding());
2337
+ _defineProperty(this, "mxgE", false);
2338
+ _defineProperty(this, "YFCU", []);
2339
2339
  _defineProperty(this, "_variant_code", "");
2340
- _defineProperty(this, "Zyiy", false);
2340
+ _defineProperty(this, "kfNs", false);
2341
2341
  _defineProperty(this, "groupCombineOperator", "OR");
2342
- _defineProperty(this, "xyKD", false);
2343
- _defineProperty(this, "vtAp", false);
2344
- _defineProperty(this, "sHdE", void 0);
2342
+ _defineProperty(this, "scDF", false);
2343
+ _defineProperty(this, "nWvj", false);
2344
+ _defineProperty(this, "yOuv", void 0);
2345
2345
  _defineProperty(this, "timeForKPI", void 0);
2346
2346
  _defineProperty(this, "kpiIndex", 0);
2347
- _defineProperty(this, "jaQb", void 0);
2347
+ _defineProperty(this, "PVCi", void 0);
2348
2348
  _defineProperty(this, "_across_sessions", false);
2349
- _defineProperty(this, "JWQI", void 0);
2350
- _defineProperty(this, "RlZB", false);
2351
- _defineProperty(this, "JILc", void 0);
2352
- _defineProperty(this, "GGny", void 0);
2353
- _defineProperty(this, "vpAf", void 0);
2354
- _defineProperty(this, "YXfN", void 0);
2355
- _defineProperty(this, "bsQT", void 0);
2356
- _defineProperty(this, "FefJ", void 0);
2357
- _defineProperty(this, "DBxj", void 0);
2358
- _defineProperty(this, "MhIU", void 0);
2359
- _defineProperty(this, "qIOQ", void 0);
2360
- _defineProperty(this, "ymdm", void 0);
2349
+ _defineProperty(this, "ijiy", void 0);
2350
+ _defineProperty(this, "Puvj", false);
2351
+ _defineProperty(this, "ztNO", void 0);
2352
+ _defineProperty(this, "doLk", void 0);
2353
+ _defineProperty(this, "LwyE", void 0);
2354
+ _defineProperty(this, "tLbv", void 0);
2355
+ _defineProperty(this, "YjoD", void 0);
2356
+ _defineProperty(this, "kMGf", void 0);
2357
+ _defineProperty(this, "MeLD", void 0);
2358
+ _defineProperty(this, "SFmA", void 0);
2359
+ _defineProperty(this, "wzIA", void 0);
2360
+ _defineProperty(this, "MzoY", void 0);
2361
2361
  _defineProperty(this, "parse", function () {
2362
2362
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2363
2363
  try {
2364
- var _this$ofFb$_attr;
2364
+ var _this$Busn$_attr;
2365
2365
  // If ID is not present, throw it out
2366
2366
  if (!isDefined(config._id)) {
2367
2367
  Logger$a.error("No Id");
@@ -2375,10 +2375,10 @@
2375
2375
  }
2376
2376
 
2377
2377
  // If META, VALIDITY, FREQUENCY and AUDIENCE is not parsed properly, throw it out
2378
- if (!(_this.ofFb.parse(config) && _this.AEyV.parse(config) && _this.sqke.parse(config) && _this.Rtvw.parse(config) && _this.Rlua.parse(config) && _this.TAxm.parse(config) && _this.SXtO.parse(config))) {
2378
+ if (!(_this.Busn.parse(config) && _this.sRWr.parse(config) && _this.jznt.parse(config) && _this.PnhJ.parse(config) && _this.lgot.parse(config) && _this.poNk.parse(config) && _this.iJQR.parse(config))) {
2379
2379
  return false;
2380
2380
  }
2381
- _this._variant_code = _this.ofFb._isExperiment || _this.ofFb._only_context ? (_this$ofFb$_attr = _this.ofFb._attr) === null || _this$ofFb$_attr === void 0 ? void 0 : _this$ofFb$_attr[APX_VARIANT_CODE] : "TG";
2381
+ _this._variant_code = _this.Busn._isExperiment || _this.Busn._only_context ? (_this$Busn$_attr = _this.Busn._attr) === null || _this$Busn$_attr === void 0 ? void 0 : _this$Busn$_attr[APX_VARIANT_CODE] : "TG";
2382
2382
  _this._across_sessions = config !== null && config !== void 0 && config.across_sessions ? config === null || config === void 0 ? void 0 : config.across_sessions : false;
2383
2383
  _this.enable_conditions = config === null || config === void 0 ? void 0 : config.enable_conditions;
2384
2384
  _this.enable_conditions_v2 = config === null || config === void 0 ? void 0 : config.enable_conditions_v2;
@@ -2387,12 +2387,12 @@
2387
2387
  Logger$a.error("No valid conditions", config.conditions);
2388
2388
  return false;
2389
2389
  }
2390
- _this.ABDA = config._id;
2391
- _this.OwjD = isDefined(config.sequence_enabled) ? config.sequence_enabled : false;
2390
+ _this.bdFJ = config._id;
2391
+ _this.mxgE = isDefined(config.sequence_enabled) ? config.sequence_enabled : false;
2392
2392
  if (isDefined(config.conditions_v2) && _this.enable_conditions_v2) {
2393
- _this.OwjD = config === null || config === void 0 ? void 0 : config.sequence_type;
2393
+ _this.mxgE = config === null || config === void 0 ? void 0 : config.sequence_type;
2394
2394
  }
2395
- if (_this.OwjD === true) {
2395
+ if (_this.mxgE === true) {
2396
2396
  // iff respectSequence is true, Sort the Conditions by their sequence order
2397
2397
  // We need to sort, if server sends them in orderless manner
2398
2398
  config.conditions.sort(function (prev, current) {
@@ -2404,40 +2404,40 @@
2404
2404
  var conditions;
2405
2405
  if (isDefined(config.conditions_v2) && _this.enable_conditions_v2) {
2406
2406
  conditions = config.conditions_v2;
2407
- _this.RlZB = true;
2407
+ _this.Puvj = true;
2408
2408
  } else {
2409
2409
  conditions = config.conditions;
2410
2410
  }
2411
- _this.JWQI = conditions;
2411
+ _this.ijiy = conditions;
2412
2412
  var length = conditions.length;
2413
2413
  var no_context_enabled = config === null || config === void 0 ? void 0 : config.no_context_enabled;
2414
2414
  if (length === 0 && no_context_enabled) {
2415
2415
  setTimeout(function () {
2416
- _this.XvYs();
2416
+ _this.gdmS();
2417
2417
  }, 10);
2418
2418
  }
2419
- _this.ymdm = length;
2420
- _this.TNJX(conditions, length);
2421
- _this.pnkr();
2422
- if (_this.TAxm.enable_goal_events) {
2419
+ _this.MzoY = length;
2420
+ _this.Jhsx(conditions, length);
2421
+ _this.fALS();
2422
+ if (_this.poNk.enable_goal_events) {
2423
2423
  var goal_events = config.terminate_info.goal_events.events;
2424
2424
  var goaleventslength = goal_events.length;
2425
2425
  for (var i = 0; i < goaleventslength; i++) {
2426
2426
  var conditionValidator = new ConditionValidator();
2427
- if (conditionValidator.initialize(goal_events[i], _this.ABDA, i, true, [], _this._across_sessions, "termination")) {
2428
- _this.vqdX.push(conditionValidator);
2427
+ if (conditionValidator.initialize(goal_events[i], _this.bdFJ, i, true, [], _this._across_sessions, "termination")) {
2428
+ _this.OakL.push(conditionValidator);
2429
2429
  }
2430
2430
  }
2431
2431
  }
2432
- return _this.qfrr.length > 0;
2432
+ return _this.slst.length > 0;
2433
2433
  } catch (error) {
2434
2434
  Logger$a.error(error);
2435
2435
  return false;
2436
2436
  }
2437
2437
  });
2438
- _defineProperty(this, "TNJX", function (conditions, length) {
2438
+ _defineProperty(this, "Jhsx", function (conditions, length) {
2439
2439
  var _loop = function _loop() {
2440
- _this.IyJN = [];
2440
+ _this.YFCU = [];
2441
2441
  var condition = conditions[index];
2442
2442
  var condition_type = condition !== null && condition !== void 0 && condition.condition_type ? condition === null || condition === void 0 ? void 0 : condition.condition_type : "single";
2443
2443
  if (condition_type === "group") {
@@ -2445,32 +2445,32 @@
2445
2445
  var conditions_v2 = condition.conditions_v2;
2446
2446
  _this.groupCombineOperator = condition.combine_operator;
2447
2447
  var groupRespectSequence = condition === null || condition === void 0 ? void 0 : condition.sequence_type;
2448
- _this.qIOQ = new GroupConditionValidator();
2449
- var groupValidator = _this.qIOQ.initialize(conditions_v2, _this.ABDA, index, groupRespectSequence, _this.IyJN, _this.OwjD, _this._across_sessions);
2450
- _this.qfrr.push(groupValidator);
2451
- //this.TNJX(condition.conditions_v2, length_child_conditions);
2448
+ _this.wzIA = new GroupConditionValidator();
2449
+ var groupValidator = _this.wzIA.initialize(conditions_v2, _this.bdFJ, index, groupRespectSequence, _this.YFCU, _this.mxgE, _this._across_sessions);
2450
+ _this.slst.push(groupValidator);
2451
+ //this.Jhsx(condition.conditions_v2, length_child_conditions);
2452
2452
  } else {
2453
2453
  if (condition.type === "didn't") {
2454
- var fHuv$details;
2454
+ var WClN$details;
2455
2455
  var obj = {
2456
2456
  trigger_key: condition.trigger.details.name,
2457
- no_kpi_array: condition === null || condition === void 0 || (fHuv$details = condition.details) === null || fHuv$details === void 0 || (fHuv$details = fHuv$details.additional_info) === null || fHuv$details === void 0 ? void 0 : fHuv$details.nkpi,
2457
+ no_kpi_array: condition === null || condition === void 0 || (WClN$details = condition.details) === null || WClN$details === void 0 || (WClN$details = WClN$details.additional_info) === null || WClN$details === void 0 ? void 0 : WClN$details.nkpi,
2458
2458
  condition_id: condition === null || condition === void 0 ? void 0 : condition._id,
2459
2459
  time_bounds: condition.time_bounds.upper
2460
2460
  };
2461
- _this.IyJN = [].concat(_toConsumableArray(_this.IyJN), [obj]);
2461
+ _this.YFCU = [].concat(_toConsumableArray(_this.YFCU), [obj]);
2462
2462
  }
2463
- _this.qIOQ = new ConditionValidator();
2464
- if (_this.qIOQ.initialize(condition, _this.ABDA, index, _this.OwjD, _this.IyJN, _this._across_sessions)) {
2465
- _this.qfrr.push(_this.qIOQ);
2463
+ _this.wzIA = new ConditionValidator();
2464
+ if (_this.wzIA.initialize(condition, _this.bdFJ, index, _this.mxgE, _this.YFCU, _this._across_sessions)) {
2465
+ _this.slst.push(_this.wzIA);
2466
2466
  var max_retries = (condition === null || condition === void 0 ? void 0 : condition.timeout) / (condition === null || condition === void 0 ? void 0 : condition.findinterval);
2467
2467
  var frame_id = (condition === null || condition === void 0 ? void 0 : condition.frameid) || "";
2468
2468
  var url = condition === null || condition === void 0 ? void 0 : condition.url;
2469
2469
  if (window.location.href === url) {
2470
2470
  if (condition.event_type === "view_visibility") {
2471
2471
  if (_findTargetElement(condition.view_id, frame_id, condition === null || condition === void 0 ? void 0 : condition.enable_retry, condition === null || condition === void 0 ? void 0 : condition.findinterval, max_retries) === true) {
2472
- //this.jRNn();
2473
- _this.XvYs(true);
2472
+ //this.APPb();
2473
+ _this.gdmS(true);
2474
2474
  }
2475
2475
  }
2476
2476
  }
@@ -2480,8 +2480,8 @@
2480
2480
  if (window.location.href === url) {
2481
2481
  if (condition.event_type === "view_visibility") {
2482
2482
  if (_findTargetElement(condition.view_id, frame_id, condition === null || condition === void 0 ? void 0 : condition.enable_retry, condition === null || condition === void 0 ? void 0 : condition.findinterval, max_retries) === true) {
2483
- //this.jRNn();
2484
- _this.XvYs(true);
2483
+ //this.APPb();
2484
+ _this.gdmS(true);
2485
2485
  }
2486
2486
  }
2487
2487
  }
@@ -2493,188 +2493,188 @@
2493
2493
  _loop();
2494
2494
  }
2495
2495
  });
2496
- _defineProperty(this, "pnkr", function () {
2497
- if (_this._across_sessions && _this.OwjD === "ordered") {
2496
+ _defineProperty(this, "fALS", function () {
2497
+ if (_this._across_sessions && _this.mxgE === "ordered") {
2498
2498
  var satisfied = false;
2499
2499
  var no_KPI_TriggerDetails = Apxor.getController().getFromStorage("apx_nokpi_triggerdetails");
2500
2500
  no_KPI_TriggerDetails = JSON.parse(no_KPI_TriggerDetails);
2501
2501
  if (no_KPI_TriggerDetails != null && no_KPI_TriggerDetails != undefined) {
2502
2502
  var _loop2 = function _loop2(i) {
2503
2503
  var _this$_conditionValid, _this$_conditionValid2, _this$_conditionValid3;
2504
- if ((_this$_conditionValid = _this.qfrr[i]) !== null && _this$_conditionValid !== void 0 && (_this$_conditionValid = _this$_conditionValid.fHuv) !== null && _this$_conditionValid !== void 0 && _this$_conditionValid._timeEnabled && _this.qfrr[i].length === undefined) {
2505
- if (_this.qfrr[i].fHuv.DFrC === "didn't") {
2506
- var conditionValidatorId = _this.qfrr[i].fHuv._id;
2507
- var matchingObject = _this.ldkM(conditionValidatorId, no_KPI_TriggerDetails);
2504
+ if ((_this$_conditionValid = _this.slst[i]) !== null && _this$_conditionValid !== void 0 && (_this$_conditionValid = _this$_conditionValid.WClN) !== null && _this$_conditionValid !== void 0 && _this$_conditionValid._timeEnabled && _this.slst[i].length === undefined) {
2505
+ if (_this.slst[i].WClN.KlQa === "didn't") {
2506
+ var conditionValidatorId = _this.slst[i].WClN._id;
2507
+ var matchingObject = _this.doSy(conditionValidatorId, no_KPI_TriggerDetails);
2508
2508
  if (matchingObject) {
2509
2509
  if (Date.now() > matchingObject.finishTime) {
2510
- _this.qfrr[i].yoCa = true;
2511
- _this.qfrr[i].XmsR = matchingObject.satisfiedCount;
2510
+ _this.slst[i].YgKd = true;
2511
+ _this.slst[i].EVry = matchingObject.satisfiedCount;
2512
2512
  satisfied = true;
2513
2513
  } else {
2514
2514
  var timeleft = matchingObject.finishTime - Date.now();
2515
- var eventCategory = _this.qfrr[i].fHuv._eventCategory ? _this.qfrr[i].fHuv._eventCategory : "specific_event";
2515
+ var eventCategory = _this.slst[i].WClN._eventCategory ? _this.slst[i].WClN._eventCategory : "specific_event";
2516
2516
  var ceInstance = new CE();
2517
2517
  if (eventCategory === "specific_event") {
2518
- ceInstance.registerForEvent(generateKey(_this.qfrr[i].fHuv.vDdr) + "___" + _this.qfrr[i].fHuv.uXsD.UGic, _this.yLyk);
2519
- _this.bsQT = _this.qfrr[i];
2518
+ ceInstance.registerForEvent(generateKey(_this.slst[i].WClN.HvGe) + "___" + _this.slst[i].WClN.lKqH.KyJY, _this.tTcF);
2519
+ _this.YjoD = _this.slst[i];
2520
2520
  } else {
2521
- _this.xrGZ(eventCategory);
2521
+ _this.CUnC(eventCategory);
2522
2522
  }
2523
2523
  setTimeout(function () {
2524
- if (i === _this.qfrr.length - 1 && !_this.xyKD) {
2525
- _this.qfrr[i].yoCa = true;
2526
- _this.qfrr[i].XmsR = matchingObject.satisfiedCount;
2524
+ if (i === _this.slst.length - 1 && !_this.scDF) {
2525
+ _this.slst[i].YgKd = true;
2526
+ _this.slst[i].EVry = matchingObject.satisfiedCount;
2527
2527
  satisfied = true;
2528
2528
  if (eventCategory === "specific_event") {
2529
- ceInstance.unregisterFromEvent(generateKey(_this.qfrr[i].fHuv.vDdr) + "___" + _this.qfrr[i].fHuv.uXsD.UGic, _this.yLyk);
2529
+ ceInstance.unregisterFromEvent(generateKey(_this.slst[i].WClN.HvGe) + "___" + _this.slst[i].WClN.lKqH.KyJY, _this.tTcF);
2530
2530
  } else {
2531
- _this.JoxB(_this.qfrr[i]);
2531
+ _this.FkGU(_this.slst[i]);
2532
2532
  }
2533
- _this.XvYs();
2533
+ _this.gdmS();
2534
2534
  }
2535
2535
  }, timeleft);
2536
2536
  }
2537
2537
  }
2538
2538
  }
2539
- if (_this.qfrr[i].fHuv.DFrC === "did") {
2540
- var _conditionValidatorId = _this.qfrr[i].fHuv._id;
2541
- var _matchingObject = _this.ldkM(_conditionValidatorId, no_KPI_TriggerDetails);
2539
+ if (_this.slst[i].WClN.KlQa === "did") {
2540
+ var _conditionValidatorId = _this.slst[i].WClN._id;
2541
+ var _matchingObject = _this.doSy(_conditionValidatorId, no_KPI_TriggerDetails);
2542
2542
  if (_matchingObject) {
2543
2543
  if (_matchingObject.satisfiedCount == null) {
2544
2544
  if (Date.now() < _matchingObject.finishTime) {
2545
- _this.vpAf = _matchingObject;
2546
- _this.GGny = i;
2545
+ _this.LwyE = _matchingObject;
2546
+ _this.doLk = i;
2547
2547
  var _timeleft = _matchingObject.finishTime - Date.now();
2548
- var _eventCategory = _this.qfrr[i].fHuv._eventCategory ? _this.qfrr[i].fHuv._eventCategory : "specific_event";
2548
+ var _eventCategory = _this.slst[i].WClN._eventCategory ? _this.slst[i].WClN._eventCategory : "specific_event";
2549
2549
  var _ceInstance = new CE();
2550
2550
  if (_eventCategory === "specific_event") {
2551
- _ceInstance.registerForEvent(generateKey(_this.qfrr[i].fHuv.vDdr) + "___" + _this.qfrr[i].fHuv.uXsD.UGic, _this.Daaj);
2551
+ _ceInstance.registerForEvent(generateKey(_this.slst[i].WClN.HvGe) + "___" + _this.slst[i].WClN.lKqH.KyJY, _this.raUd);
2552
2552
  } else {
2553
- _this.xrGZ(_eventCategory);
2553
+ _this.CUnC(_eventCategory);
2554
2554
  }
2555
2555
  setTimeout(function () {
2556
2556
  if (_eventCategory === "specific_event") {
2557
- _ceInstance.unregisterFromEvent(generateKey(_this.qfrr[i].fHuv.vDdr) + "___" + _this.qfrr[i].fHuv.uXsD.UGic, _this.Daaj);
2557
+ _ceInstance.unregisterFromEvent(generateKey(_this.slst[i].WClN.HvGe) + "___" + _this.slst[i].WClN.lKqH.KyJY, _this.raUd);
2558
2558
  } else {
2559
- _this.JoxB(_this.qfrr[i]);
2559
+ _this.FkGU(_this.slst[i]);
2560
2560
  }
2561
2561
  }, _timeleft);
2562
2562
  }
2563
2563
  } else {
2564
- _this.qfrr[i].XmsR = _matchingObject.satisfiedCount;
2565
- _this.qfrr[i].yoCa = true;
2564
+ _this.slst[i].EVry = _matchingObject.satisfiedCount;
2565
+ _this.slst[i].YgKd = true;
2566
2566
  }
2567
2567
  }
2568
2568
  }
2569
2569
  } else {
2570
- satisfied = _this.BzBT(i, no_KPI_TriggerDetails);
2570
+ satisfied = _this.xUFw(i, no_KPI_TriggerDetails);
2571
2571
  }
2572
- if (satisfied && (!((_this$_conditionValid2 = _this.qfrr[i]) !== null && _this$_conditionValid2 !== void 0 && (_this$_conditionValid2 = _this$_conditionValid2.fHuv) !== null && _this$_conditionValid2 !== void 0 && _this$_conditionValid2._timeEnabled) || ((_this$_conditionValid3 = _this.qfrr[i]) === null || _this$_conditionValid3 === void 0 ? void 0 : _this$_conditionValid3.length) > 1)) {
2573
- if (i === _this.qfrr.length - 1) {
2574
- _this.XvYs();
2572
+ if (satisfied && (!((_this$_conditionValid2 = _this.slst[i]) !== null && _this$_conditionValid2 !== void 0 && (_this$_conditionValid2 = _this$_conditionValid2.WClN) !== null && _this$_conditionValid2 !== void 0 && _this$_conditionValid2._timeEnabled) || ((_this$_conditionValid3 = _this.slst[i]) === null || _this$_conditionValid3 === void 0 ? void 0 : _this$_conditionValid3.length) > 1)) {
2573
+ if (i === _this.slst.length - 1) {
2574
+ _this.gdmS();
2575
2575
  }
2576
2576
  } else if (!satisfied) {
2577
- if (!_this.qfrr[i].length === undefined) _this.qfrr[i].jRNn();
2577
+ if (!_this.slst[i].length === undefined) _this.slst[i].APPb();
2578
2578
  }
2579
2579
  };
2580
- for (var i = 0; i < _this.qfrr.length; i++) {
2580
+ for (var i = 0; i < _this.slst.length; i++) {
2581
2581
  _loop2(i);
2582
2582
  }
2583
2583
  }
2584
- } else if (_this._across_sessions && _this.OwjD === "unordered") {
2584
+ } else if (_this._across_sessions && _this.mxgE === "unordered") {
2585
2585
  var _no_KPI_TriggerDetails = Apxor.getController().getFromStorage("apx_nokpi_triggerdetails");
2586
2586
  _no_KPI_TriggerDetails = JSON.parse(_no_KPI_TriggerDetails);
2587
2587
  if (_no_KPI_TriggerDetails != null && _no_KPI_TriggerDetails != undefined) {
2588
- for (var _i = 0; _i < _this.qfrr.length; _i++) {
2589
- _this.BzBT(_i, _no_KPI_TriggerDetails);
2588
+ for (var _i = 0; _i < _this.slst.length; _i++) {
2589
+ _this.xUFw(_i, _no_KPI_TriggerDetails);
2590
2590
  }
2591
2591
  }
2592
2592
  }
2593
2593
  });
2594
- _defineProperty(this, "BzBT", function (index, no_KPI_TriggerDetails) {
2595
- if (_this.qfrr[index].length === undefined || _this.qfrr[index].length === 1) {
2596
- var conditionValidatorId = _this.qfrr[index].fHuv._id;
2594
+ _defineProperty(this, "xUFw", function (index, no_KPI_TriggerDetails) {
2595
+ if (_this.slst[index].length === undefined || _this.slst[index].length === 1) {
2596
+ var conditionValidatorId = _this.slst[index].WClN._id;
2597
2597
  var satisfied = false;
2598
- var matchingObject = _this.ldkM(conditionValidatorId, no_KPI_TriggerDetails);
2598
+ var matchingObject = _this.doSy(conditionValidatorId, no_KPI_TriggerDetails);
2599
2599
  if (matchingObject) {
2600
- _this.JILc = matchingObject;
2600
+ _this.ztNO = matchingObject;
2601
2601
  var validator = new ConditionValidator();
2602
- satisfied = validator.dZrw(matchingObject.satisfiedCount, _this.qfrr[index].fHuv.oBTS, _this.qfrr[index].fHuv.SGjX);
2602
+ satisfied = validator.FhUD(matchingObject.satisfiedCount, _this.slst[index].WClN.rZaN, _this.slst[index].WClN.Yfhc);
2603
2603
  if (matchingObject) {
2604
2604
  if (satisfied) {
2605
- _this.qfrr[index].yoCa = true;
2605
+ _this.slst[index].YgKd = true;
2606
2606
  } else {
2607
- _this.qfrr[index].XmsR = matchingObject.satisfiedCount;
2607
+ _this.slst[index].EVry = matchingObject.satisfiedCount;
2608
2608
  }
2609
2609
  }
2610
2610
  } else {
2611
- _this.qfrr[index].jRNn();
2611
+ _this.slst[index].APPb();
2612
2612
  }
2613
2613
  return satisfied;
2614
- } else if (_this.qfrr[index].length >= 1) {
2614
+ } else if (_this.slst[index].length >= 1) {
2615
2615
  var _this$_conditionValid4;
2616
2616
  var groupRespectSequence = "unordered";
2617
- groupRespectSequence = (_this$_conditionValid4 = _this.qfrr[index]) === null || _this$_conditionValid4 === void 0 ? void 0 : _this$_conditionValid4.sequence_type;
2617
+ groupRespectSequence = (_this$_conditionValid4 = _this.slst[index]) === null || _this$_conditionValid4 === void 0 ? void 0 : _this$_conditionValid4.sequence_type;
2618
2618
  var individualConditionSatisfied;
2619
2619
  if (groupRespectSequence === "ordered" || groupRespectSequence === "strictly_ordered") {
2620
- for (var i = 0; i < _this.qfrr[index].length; i++) {
2621
- var individualCondition = _this.qfrr[index][i];
2622
- var singleConditionValidatorId = individualCondition.fHuv._id;
2620
+ for (var i = 0; i < _this.slst[index].length; i++) {
2621
+ var individualCondition = _this.slst[index][i];
2622
+ var singleConditionValidatorId = individualCondition.WClN._id;
2623
2623
  individualConditionSatisfied = false;
2624
- var _matchingObject2 = _this.ldkM(singleConditionValidatorId, no_KPI_TriggerDetails);
2624
+ var _matchingObject2 = _this.doSy(singleConditionValidatorId, no_KPI_TriggerDetails);
2625
2625
  if (_matchingObject2) {
2626
2626
  var _validator = new ConditionValidator();
2627
- individualConditionSatisfied = _validator.dZrw(_matchingObject2.satisfiedCount, individualCondition.fHuv.oBTS, individualCondition.fHuv.SGjX);
2627
+ individualConditionSatisfied = _validator.FhUD(_matchingObject2.satisfiedCount, individualCondition.WClN.rZaN, individualCondition.WClN.Yfhc);
2628
2628
  if (_matchingObject2) {
2629
2629
  if (individualConditionSatisfied) {
2630
- _this.qfrr[index][i].yoCa = true;
2630
+ _this.slst[index][i].YgKd = true;
2631
2631
  var childIndex = i + 1;
2632
- var upcomingValidator = _this.qfrr[index][i + 1];
2633
- if (upcomingValidator === undefined && isDefined(_this.qfrr[index + 1])) {
2634
- _this.qfrr[index + 1].jRNn();
2632
+ var upcomingValidator = _this.slst[index][i + 1];
2633
+ if (upcomingValidator === undefined && isDefined(_this.slst[index + 1])) {
2634
+ _this.slst[index + 1].APPb();
2635
2635
  individualConditionSatisfied = true;
2636
2636
  }
2637
2637
  if (upcomingValidator != undefined) {
2638
- _this.qfrr[index][i + 1].jRNn(childIndex);
2638
+ _this.slst[index][i + 1].APPb(childIndex);
2639
2639
  }
2640
2640
  } else {
2641
- _this.qfrr[index][i].XmsR = _matchingObject2.satisfiedCount;
2641
+ _this.slst[index][i].EVry = _matchingObject2.satisfiedCount;
2642
2642
  }
2643
2643
  }
2644
2644
  } else {
2645
- if (isDefined(_this.qfrr[index][i - 1]) && _this.qfrr[index][i].yoCa === true) {
2646
- _this.qfrr[index][i].jRNn();
2647
- } else if (isUndefined(_this.qfrr[index][i - 1])) {
2648
- _this.qfrr[index][i].jRNn();
2645
+ if (isDefined(_this.slst[index][i - 1]) && _this.slst[index][i].YgKd === true) {
2646
+ _this.slst[index][i].APPb();
2647
+ } else if (isUndefined(_this.slst[index][i - 1])) {
2648
+ _this.slst[index][i].APPb();
2649
2649
  }
2650
2650
  }
2651
2651
  }
2652
2652
  return individualConditionSatisfied;
2653
2653
  } else {
2654
2654
  var conditionSatisfiedChecker;
2655
- for (var _i2 = 0; _i2 < _this.qfrr[index].length; _i2++) {
2656
- var individualCombineOperator = _this.qfrr[index][0].fHuv.yztc;
2655
+ for (var _i2 = 0; _i2 < _this.slst[index].length; _i2++) {
2656
+ var individualCombineOperator = _this.slst[index][0].WClN.GWsZ;
2657
2657
  if (individualCombineOperator === "OR") {
2658
2658
  conditionSatisfiedChecker = false;
2659
2659
  } else {
2660
2660
  conditionSatisfiedChecker = true;
2661
2661
  }
2662
- var _individualCondition = _this.qfrr[index][_i2];
2663
- var _singleConditionValidatorId = _individualCondition.fHuv._id;
2662
+ var _individualCondition = _this.slst[index][_i2];
2663
+ var _singleConditionValidatorId = _individualCondition.WClN._id;
2664
2664
  individualConditionSatisfied = false;
2665
- var _matchingObject3 = _this.ldkM(_singleConditionValidatorId, no_KPI_TriggerDetails);
2665
+ var _matchingObject3 = _this.doSy(_singleConditionValidatorId, no_KPI_TriggerDetails);
2666
2666
  if (_matchingObject3) {
2667
2667
  var _validator2 = new ConditionValidator();
2668
- individualConditionSatisfied = _validator2.dZrw(_matchingObject3.satisfiedCount, _individualCondition.fHuv.oBTS, _individualCondition.fHuv.SGjX);
2668
+ individualConditionSatisfied = _validator2.FhUD(_matchingObject3.satisfiedCount, _individualCondition.WClN.rZaN, _individualCondition.WClN.Yfhc);
2669
2669
  if (_matchingObject3) {
2670
2670
  if (individualConditionSatisfied) {
2671
- _this.qfrr[index][_i2].yoCa = true;
2671
+ _this.slst[index][_i2].YgKd = true;
2672
2672
  } else {
2673
- _this.qfrr[index][_i2].XmsR = _matchingObject3.satisfiedCount;
2673
+ _this.slst[index][_i2].EVry = _matchingObject3.satisfiedCount;
2674
2674
  }
2675
2675
  }
2676
2676
  } else {
2677
- _individualCondition.jRNn();
2677
+ _individualCondition.APPb();
2678
2678
  }
2679
2679
  if (individualCombineOperator === "AND") {
2680
2680
  conditionSatisfiedChecker = conditionSatisfiedChecker && individualConditionSatisfied;
@@ -2686,36 +2686,36 @@
2686
2686
  }
2687
2687
  }
2688
2688
  });
2689
- _defineProperty(this, "ldkM", function (id, list) {
2689
+ _defineProperty(this, "doSy", function (id, list) {
2690
2690
  return list.find(function (obj) {
2691
2691
  return obj.id === id;
2692
2692
  });
2693
2693
  });
2694
- _defineProperty(this, "ReXr", function (index) {
2694
+ _defineProperty(this, "iMZf", function (index) {
2695
2695
  var childIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;
2696
2696
  var ceInstance = CE.getInstance();
2697
2697
  if (index < 0) {
2698
2698
  return;
2699
2699
  }
2700
- var currentValidator = _this.qfrr[index];
2700
+ var currentValidator = _this.slst[index];
2701
2701
  var groupRespectSequence = "unordered";
2702
2702
  if ((currentValidator === null || currentValidator === void 0 ? void 0 : currentValidator.length) > 1) {
2703
2703
  groupRespectSequence = currentValidator === null || currentValidator === void 0 ? void 0 : currentValidator.sequence_type;
2704
2704
  }
2705
- if (_this.OwjD === true || _this.OwjD === "ordered" || _this.OwjD === "strictly_ordered" || groupRespectSequence === "ordered" || groupRespectSequence === "strictly_ordered") {
2705
+ if (_this.mxgE === true || _this.mxgE === "ordered" || _this.mxgE === "strictly_ordered" || groupRespectSequence === "ordered" || groupRespectSequence === "strictly_ordered") {
2706
2706
  _this.kpiIndex = index + 1;
2707
- var conditionValidator = _this.qfrr[index];
2707
+ var conditionValidator = _this.slst[index];
2708
2708
  if ((conditionValidator === null || conditionValidator === void 0 ? void 0 : conditionValidator.length) > 0) {
2709
2709
  if (isDefined(conditionValidator)) {
2710
- if (_this.OwjD === "unordered" && groupRespectSequence === "ordered") {
2710
+ if (_this.mxgE === "unordered" && groupRespectSequence === "ordered") {
2711
2711
  var prevValidator = currentValidator[childIndex - 1];
2712
2712
  if (isDefined(prevValidator)) {
2713
2713
  if (prevValidator.length === undefined || prevValidator.length == 1) {
2714
- if (!prevValidator.yoCa) {
2714
+ if (!prevValidator.YgKd) {
2715
2715
  return;
2716
2716
  }
2717
2717
  } else if (prevValidator.length > 1) {
2718
- if (!_this.yJXi(prevValidator)) {
2718
+ if (!_this.EioD(prevValidator)) {
2719
2719
  return;
2720
2720
  }
2721
2721
  }
@@ -2723,103 +2723,103 @@
2723
2723
  var nextValidator = currentValidator[childIndex + 1];
2724
2724
  if (!isDefined(nextValidator)) {
2725
2725
  if (groupRespectSequence === "strictly_ordered") {
2726
- if (_this.Zyiy != true) {
2727
- _this.XvYs();
2726
+ if (_this.kfNs != true) {
2727
+ _this.gdmS();
2728
2728
  }
2729
2729
  } else {
2730
2730
  var _currentValidator$chi;
2731
2731
  if (((_currentValidator$chi = currentValidator[childIndex]) === null || _currentValidator$chi === void 0 ? void 0 : _currentValidator$chi.length) > 0) {
2732
- if (_this.yJXi(currentValidator)) {
2733
- _this.XvYs();
2732
+ if (_this.EioD(currentValidator)) {
2733
+ _this.gdmS();
2734
2734
  }
2735
2735
  } else {
2736
- _this.XvYs();
2736
+ _this.gdmS();
2737
2737
  }
2738
2738
  }
2739
2739
  } else {
2740
- nextValidator.jRNn(childIndex + 1);
2741
- if (_this.OwjD === "strictly_ordered") {
2742
- _this._currentEventname = conditionValidator[childIndex].fHuv.uXsD.UGic;
2740
+ nextValidator.APPb(childIndex + 1);
2741
+ if (_this.mxgE === "strictly_ordered") {
2742
+ _this._currentEventname = conditionValidator[childIndex].WClN.lKqH.KyJY;
2743
2743
  var controller = Apxor.getController();
2744
- controller.registerForEvent(APP_EVENT, _this.nUlv);
2745
- controller.registerForEvent(CLIENT_EVENT, _this.nUlv);
2744
+ controller.registerForEvent(APP_EVENT, _this.XtWv);
2745
+ controller.registerForEvent(CLIENT_EVENT, _this.XtWv);
2746
2746
  }
2747
2747
  }
2748
2748
  } else {
2749
- var _prevValidator = _this.qfrr[index - 1];
2750
- // if (isDefined(prevValidator) && !prevValidator.yoCa) {
2749
+ var _prevValidator = _this.slst[index - 1];
2750
+ // if (isDefined(prevValidator) && !prevValidator.YgKd) {
2751
2751
  // return;
2752
2752
  // }
2753
2753
  if (isDefined(_prevValidator)) {
2754
2754
  if (_prevValidator.length === undefined || _prevValidator.length == 1) {
2755
- if (!_prevValidator.yoCa) {
2755
+ if (!_prevValidator.YgKd) {
2756
2756
  return;
2757
2757
  }
2758
2758
  } else if (_prevValidator.length > 1) {
2759
- if (!_this.yJXi(_prevValidator)) {
2759
+ if (!_this.EioD(_prevValidator)) {
2760
2760
  return;
2761
2761
  }
2762
2762
  }
2763
2763
  }
2764
- var jaQb;
2764
+ var PVCi;
2765
2765
  if (conditionValidator.length === undefined || conditionValidator.length === 1) {
2766
- jaQb = _this.qfrr[index + 1];
2766
+ PVCi = _this.slst[index + 1];
2767
2767
  } else if (conditionValidator.length > 1) {
2768
2768
  if (groupRespectSequence === "ordered" || groupRespectSequence === "strictly_ordered") {
2769
2769
  if (childIndex === conditionValidator.length - 1) {
2770
- jaQb = _this.qfrr[index + 1];
2770
+ PVCi = _this.slst[index + 1];
2771
2771
  } else {
2772
- jaQb = _this.qfrr[index][childIndex + 1];
2772
+ PVCi = _this.slst[index][childIndex + 1];
2773
2773
  }
2774
2774
  } else {
2775
- if (_this.yJXi(conditionValidator)) {
2776
- jaQb = _this.qfrr[index + 1];
2775
+ if (_this.EioD(conditionValidator)) {
2776
+ PVCi = _this.slst[index + 1];
2777
2777
  }
2778
2778
  }
2779
2779
  }
2780
- if (!isDefined(jaQb)) {
2781
- if (_this.OwjD === "strictly_ordered") {
2782
- if (_this.Zyiy != true) {
2783
- _this.XvYs();
2780
+ if (!isDefined(PVCi)) {
2781
+ if (_this.mxgE === "strictly_ordered") {
2782
+ if (_this.kfNs != true) {
2783
+ _this.gdmS();
2784
2784
  }
2785
2785
  } else {
2786
- if (_this.yJXi(conditionValidator)) {
2787
- _this.XvYs();
2786
+ if (_this.EioD(conditionValidator)) {
2787
+ _this.gdmS();
2788
2788
  }
2789
2789
  }
2790
2790
  } else {
2791
- if (jaQb.length === undefined || jaQb.length === 1) {
2792
- jaQb.jRNn(childIndex + 1);
2791
+ if (PVCi.length === undefined || PVCi.length === 1) {
2792
+ PVCi.APPb(childIndex + 1);
2793
2793
  } else {
2794
- if (_this.yJXi(conditionValidator)) {
2795
- if (jaQb.length === undefined) {
2796
- jaQb.jRNn();
2797
- } else if (jaQb.length > 1) {
2798
- if (jaQb.sequence_type === "unordered") {
2799
- for (var i = 0; i < jaQb.length; i++) {
2800
- jaQb[i].jRNn(i);
2794
+ if (_this.EioD(conditionValidator)) {
2795
+ if (PVCi.length === undefined) {
2796
+ PVCi.APPb();
2797
+ } else if (PVCi.length > 1) {
2798
+ if (PVCi.sequence_type === "unordered") {
2799
+ for (var i = 0; i < PVCi.length; i++) {
2800
+ PVCi[i].APPb(i);
2801
2801
  }
2802
- } else if (jaQb.sequence_type === "ordered" || jaQb.sequence_type === "strictly_ordered") {
2803
- jaQb[0].jRNn(0);
2802
+ } else if (PVCi.sequence_type === "ordered" || PVCi.sequence_type === "strictly_ordered") {
2803
+ PVCi[0].APPb(0);
2804
2804
  }
2805
2805
  }
2806
2806
  }
2807
2807
  }
2808
- if (_this.OwjD === "strictly_ordered") {
2809
- _this._currentEventname = conditionValidator[childIndex].fHuv.uXsD.UGic;
2810
- var IGdf = Apxor.getController();
2811
- IGdf.registerForEvent(APP_EVENT, _this.nUlv);
2812
- IGdf.registerForEvent(CLIENT_EVENT, _this.nUlv);
2808
+ if (_this.mxgE === "strictly_ordered") {
2809
+ _this._currentEventname = conditionValidator[childIndex].WClN.lKqH.KyJY;
2810
+ var yIng = Apxor.getController();
2811
+ yIng.registerForEvent(APP_EVENT, _this.XtWv);
2812
+ yIng.registerForEvent(CLIENT_EVENT, _this.XtWv);
2813
2813
  }
2814
2814
  }
2815
2815
  }
2816
2816
  }
2817
2817
  } else {
2818
- if (isDefined(conditionValidator) && conditionValidator.yoCa) {
2819
- conditionValidator.gwWN[conditionValidator.fHuv.uXsD.UGic] = Date.now();
2818
+ if (isDefined(conditionValidator) && conditionValidator.YgKd) {
2819
+ conditionValidator.oFGe[conditionValidator.WClN.lKqH.KyJY] = Date.now();
2820
2820
  // Check if previous validator is satisfied
2821
- var _prevValidator2 = _this.qfrr[index - 1];
2822
- // if (isDefined(prevValidator) && !prevValidator.yoCa) {
2821
+ var _prevValidator2 = _this.slst[index - 1];
2822
+ // if (isDefined(prevValidator) && !prevValidator.YgKd) {
2823
2823
  // // TODO: If current index is satisfied before previous one, do something
2824
2824
  // // either unregister all conditions or remove this item from ConfigLookup
2825
2825
  // return;
@@ -2827,113 +2827,113 @@
2827
2827
 
2828
2828
  if (isDefined(_prevValidator2)) {
2829
2829
  if (_prevValidator2.length === undefined || _prevValidator2.length == 1) {
2830
- if (!_prevValidator2.yoCa) {
2830
+ if (!_prevValidator2.YgKd) {
2831
2831
  return;
2832
2832
  }
2833
2833
  } else if (_prevValidator2.length > 1) {
2834
- if (!_this.yJXi(_prevValidator2)) {
2834
+ if (!_this.EioD(_prevValidator2)) {
2835
2835
  return;
2836
2836
  }
2837
2837
  }
2838
2838
  }
2839
- var _nextValidator2 = _this.qfrr[index + 1];
2839
+ var _nextValidator2 = _this.slst[index + 1];
2840
2840
  if (!isDefined(_nextValidator2)) {
2841
2841
  // It means this is the last condition
2842
2842
  // Validate all conditions
2843
- if (_this.OwjD === "strictly_ordered") {
2844
- if (_this.Zyiy != true) {
2845
- _this.XvYs();
2843
+ if (_this.mxgE === "strictly_ordered") {
2844
+ if (_this.kfNs != true) {
2845
+ _this.gdmS();
2846
2846
  }
2847
2847
  } else {
2848
- _this.XvYs();
2848
+ _this.gdmS();
2849
2849
  }
2850
2850
  } else {
2851
2851
  var _nextValidator2$_cond;
2852
- if (_nextValidator2 !== null && _nextValidator2 !== void 0 && (_nextValidator2$_cond = _nextValidator2.fHuv) !== null && _nextValidator2$_cond !== void 0 && _nextValidator2$_cond._timeEnabled) {
2852
+ if (_nextValidator2 !== null && _nextValidator2 !== void 0 && (_nextValidator2$_cond = _nextValidator2.WClN) !== null && _nextValidator2$_cond !== void 0 && _nextValidator2$_cond._timeEnabled) {
2853
2853
  var _nextValidator2$_cond2;
2854
- if (((_nextValidator2$_cond2 = _nextValidator2.fHuv) === null || _nextValidator2$_cond2 === void 0 ? void 0 : _nextValidator2$_cond2._time.unit) != "session") {
2854
+ if (((_nextValidator2$_cond2 = _nextValidator2.WClN) === null || _nextValidator2$_cond2 === void 0 ? void 0 : _nextValidator2$_cond2._time.unit) != "session") {
2855
2855
  var _nextValidator2$_cond3, _nextValidator2$_cond4;
2856
- var timeInMillisec = calculateTime(_nextValidator2.fHuv._time.unit, _nextValidator2.fHuv._time.value);
2857
- if (((_nextValidator2$_cond3 = _nextValidator2.fHuv) === null || _nextValidator2$_cond3 === void 0 ? void 0 : _nextValidator2$_cond3.DFrC) == "didn't") {
2858
- _this.DBxj = setTimeout(function () {
2859
- if (!_this.xyKD) {
2860
- _this.xyKD = false;
2861
- _nextValidator2.yoCa = true;
2862
- if (_nextValidator2.yoCa) {
2863
- _nextValidator2.XmsR += 1;
2856
+ var timeInMillisec = calculateTime(_nextValidator2.WClN._time.unit, _nextValidator2.WClN._time.value);
2857
+ if (((_nextValidator2$_cond3 = _nextValidator2.WClN) === null || _nextValidator2$_cond3 === void 0 ? void 0 : _nextValidator2$_cond3.KlQa) == "didn't") {
2858
+ _this.MeLD = setTimeout(function () {
2859
+ if (!_this.scDF) {
2860
+ _this.scDF = false;
2861
+ _nextValidator2.YgKd = true;
2862
+ if (_nextValidator2.YgKd) {
2863
+ _nextValidator2.EVry += 1;
2864
2864
  var _conditionValidator = new ConditionValidator();
2865
- _nextValidator2.yoCa = _conditionValidator.dZrw(_nextValidator2.XmsR, _nextValidator2.fHuv.oBTS, _nextValidator2.fHuv.SGjX);
2866
- if (_nextValidator2.yoCa) {
2867
- _nextValidator2.fHuv.QQId = Date.now();
2865
+ _nextValidator2.YgKd = _conditionValidator.FhUD(_nextValidator2.EVry, _nextValidator2.WClN.rZaN, _nextValidator2.WClN.Yfhc);
2866
+ if (_nextValidator2.YgKd) {
2867
+ _nextValidator2.WClN.SqYL = Date.now();
2868
2868
  var nextIndex = index + 1;
2869
- var upcomingValidator = _this.qfrr[nextIndex + 1];
2869
+ var upcomingValidator = _this.slst[nextIndex + 1];
2870
2870
  if (!isDefined(upcomingValidator)) {
2871
- // this.xyKD = false;
2872
- _this.XvYs();
2871
+ // this.scDF = false;
2872
+ _this.gdmS();
2873
2873
  } else {
2874
- upcomingValidator.jRNn();
2874
+ upcomingValidator.APPb();
2875
2875
  }
2876
- // ceInstance.validate(this.ABDA, index);
2876
+ // ceInstance.validate(this.bdFJ, index);
2877
2877
  }
2878
2878
  }
2879
2879
 
2880
- ceInstance.unregisterFromEvent(generateKey(_nextValidator2.fHuv.vDdr) + "___" + _nextValidator2.fHuv.uXsD.UGic, _this.yLyk);
2881
- _nextValidator2.zWyW = false;
2880
+ ceInstance.unregisterFromEvent(generateKey(_nextValidator2.WClN.HvGe) + "___" + _nextValidator2.WClN.lKqH.KyJY, _this.tTcF);
2881
+ _nextValidator2.sqtm = false;
2882
2882
  } else {
2883
- _this.xyKD = false;
2883
+ _this.scDF = false;
2884
2884
  }
2885
2885
  }, timeInMillisec);
2886
2886
  if (_this._across_sessions) {
2887
- var _timeInMillisec = calculateTime(_nextValidator2.fHuv._time.unit, _nextValidator2.fHuv._time.value);
2888
- var timeEnabled = _nextValidator2.fHuv._timeEnabled;
2889
- var condition_id = _nextValidator2.fHuv._id;
2887
+ var _timeInMillisec = calculateTime(_nextValidator2.WClN._time.unit, _nextValidator2.WClN._time.value);
2888
+ var timeEnabled = _nextValidator2.WClN._timeEnabled;
2889
+ var condition_id = _nextValidator2.WClN._id;
2890
2890
  var cv = new ConditionValidator();
2891
- cv.rbcW(_nextValidator2.fHuv.DFrC, _nextValidator2.fHuv.uXsD.UGic, Date.now(), _nextValidator2.fHuv.uXsD.cIhR, _timeInMillisec, timeEnabled, condition_id);
2891
+ cv.cYfS(_nextValidator2.WClN.KlQa, _nextValidator2.WClN.lKqH.KyJY, Date.now(), _nextValidator2.WClN.lKqH.Sqrf, _timeInMillisec, timeEnabled, condition_id);
2892
2892
  }
2893
- if (_nextValidator2.fHuv._eventCategory === "specific_event") {
2894
- ceInstance.registerForEvent(generateKey(_nextValidator2.fHuv.vDdr) + "___" + _nextValidator2.fHuv.uXsD.UGic, _this.yLyk);
2895
- _this.bsQT = _nextValidator2;
2893
+ if (_nextValidator2.WClN._eventCategory === "specific_event") {
2894
+ ceInstance.registerForEvent(generateKey(_nextValidator2.WClN.HvGe) + "___" + _nextValidator2.WClN.lKqH.KyJY, _this.tTcF);
2895
+ _this.YjoD = _nextValidator2;
2896
2896
  } else {
2897
- _this.xrGZ(_nextValidator2);
2897
+ _this.CUnC(_nextValidator2);
2898
2898
  }
2899
- } else if (((_nextValidator2$_cond4 = _nextValidator2.fHuv) === null || _nextValidator2$_cond4 === void 0 ? void 0 : _nextValidator2$_cond4.DFrC) == "did") {
2900
- _this.xyKD = false;
2901
- _this.jaQb = _nextValidator2;
2902
- if (isDefined(_this.qfrr[index + 2]) && _this._across_sessions) {
2903
- _this.YXfN = _this.qfrr[index + 2];
2899
+ } else if (((_nextValidator2$_cond4 = _nextValidator2.WClN) === null || _nextValidator2$_cond4 === void 0 ? void 0 : _nextValidator2$_cond4.KlQa) == "did") {
2900
+ _this.scDF = false;
2901
+ _this.PVCi = _nextValidator2;
2902
+ if (isDefined(_this.slst[index + 2]) && _this._across_sessions) {
2903
+ _this.tLbv = _this.slst[index + 2];
2904
2904
  }
2905
- _this.MhIU = setTimeout(function () {
2906
- if (!_this.xyKD) {
2907
- _this.xyKD = false;
2908
- ceInstance.unregisterFromEvent(generateKey(_nextValidator2.fHuv.vDdr) + "___" + _nextValidator2.fHuv.uXsD.UGic, _this.SLEo);
2905
+ _this.SFmA = setTimeout(function () {
2906
+ if (!_this.scDF) {
2907
+ _this.scDF = false;
2908
+ ceInstance.unregisterFromEvent(generateKey(_nextValidator2.WClN.HvGe) + "___" + _nextValidator2.WClN.lKqH.KyJY, _this.rZJt);
2909
2909
  } else {
2910
- _this.xyKD = false;
2910
+ _this.scDF = false;
2911
2911
  }
2912
2912
  }, timeInMillisec);
2913
- _this.sHdE = conditionValidator;
2913
+ _this.yOuv = conditionValidator;
2914
2914
  _this.timeForKPI = timeInMillisec;
2915
- ceInstance.registerForEvent(generateKey(_nextValidator2.fHuv.vDdr) + "___" + _nextValidator2.fHuv.uXsD.UGic, _this.SLEo);
2916
- _this.FefJ = _nextValidator2;
2915
+ ceInstance.registerForEvent(generateKey(_nextValidator2.WClN.HvGe) + "___" + _nextValidator2.WClN.lKqH.KyJY, _this.rZJt);
2916
+ _this.kMGf = _nextValidator2;
2917
2917
  if (_this._across_sessions) {
2918
- var _timeInMillisec2 = calculateTime(_nextValidator2.fHuv._time.unit, _nextValidator2.fHuv._time.value);
2919
- var _timeEnabled = _nextValidator2.fHuv._timeEnabled;
2920
- var _condition_id = _nextValidator2.fHuv._id;
2918
+ var _timeInMillisec2 = calculateTime(_nextValidator2.WClN._time.unit, _nextValidator2.WClN._time.value);
2919
+ var _timeEnabled = _nextValidator2.WClN._timeEnabled;
2920
+ var _condition_id = _nextValidator2.WClN._id;
2921
2921
  var _cv = new ConditionValidator();
2922
- _cv.rbcW(_nextValidator2.fHuv.DFrC, _nextValidator2.fHuv.uXsD.UGic, Date.now(), _nextValidator2.fHuv.uXsD.cIhR, _timeInMillisec2, _timeEnabled, _condition_id);
2922
+ _cv.cYfS(_nextValidator2.WClN.KlQa, _nextValidator2.WClN.lKqH.KyJY, Date.now(), _nextValidator2.WClN.lKqH.Sqrf, _timeInMillisec2, _timeEnabled, _condition_id);
2923
2923
  }
2924
2924
  }
2925
2925
  }
2926
2926
  } else {
2927
2927
  if (_nextValidator2.length > 0) {
2928
2928
  if (_nextValidator2.sequence_type === "ordered" || _nextValidator2.sequence_type === "strictly_ordered") {
2929
- _nextValidator2[0].jRNn(childIndex + 1);
2929
+ _nextValidator2[0].APPb(childIndex + 1);
2930
2930
  } else {
2931
2931
  var _iterator = _createForOfIteratorHelper(_nextValidator2),
2932
2932
  _step;
2933
2933
  try {
2934
2934
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
2935
2935
  var validator = _step.value;
2936
- validator.jRNn();
2936
+ validator.APPb();
2937
2937
  }
2938
2938
  } catch (err) {
2939
2939
  _iterator.e(err);
@@ -2942,87 +2942,87 @@
2942
2942
  }
2943
2943
  }
2944
2944
  } else {
2945
- _nextValidator2.jRNn();
2945
+ _nextValidator2.APPb();
2946
2946
  }
2947
2947
  }
2948
- if (_this.OwjD === "strictly_ordered") {
2949
- _this._currentEventname = conditionValidator.fHuv.uXsD.UGic;
2948
+ if (_this.mxgE === "strictly_ordered") {
2949
+ _this._currentEventname = conditionValidator.WClN.lKqH.KyJY;
2950
2950
  var _controller2 = Apxor.getController();
2951
- _controller2.registerForEvent(APP_EVENT, _this.nUlv);
2952
- _controller2.registerForEvent(CLIENT_EVENT, _this.nUlv);
2951
+ _controller2.registerForEvent(APP_EVENT, _this.XtWv);
2952
+ _controller2.registerForEvent(CLIENT_EVENT, _this.XtWv);
2953
2953
  }
2954
2954
  }
2955
2955
  }
2956
2956
  }
2957
2957
  } else {
2958
2958
  // Validate all conditions
2959
- _this.iUCb();
2960
- _this.XvYs();
2959
+ _this.DSfp();
2960
+ _this.gdmS();
2961
2961
  }
2962
2962
  });
2963
- _defineProperty(this, "nUlv", function (event) {
2963
+ _defineProperty(this, "XtWv", function (event) {
2964
2964
  if (event && event.name != _this._currentEventname) {
2965
- _this.Zyiy = true;
2965
+ _this.kfNs = true;
2966
2966
  return;
2967
2967
  }
2968
2968
  });
2969
- _defineProperty(this, "xrGZ", function (validator) {
2969
+ _defineProperty(this, "CUnC", function (validator) {
2970
2970
  var ceInstance = new CE();
2971
- var eventCategory = validator.fHuv._eventCategory;
2971
+ var eventCategory = validator.WClN._eventCategory;
2972
2972
  if (eventCategory === "apxor_event") {
2973
- ceInstance.registerForEvent("apxor_event", _this.yLyk);
2973
+ ceInstance.registerForEvent("apxor_event", _this.tTcF);
2974
2974
  } else if (eventCategory === "customer_event") {
2975
- ceInstance.registerForEvent("customer_event", _this.yLyk);
2975
+ ceInstance.registerForEvent("customer_event", _this.tTcF);
2976
2976
  } else if (eventCategory === "any_event") {
2977
- ceInstance.registerForEvent("any_event", _this.yLyk);
2977
+ ceInstance.registerForEvent("any_event", _this.tTcF);
2978
2978
  } else if (eventCategory === "campaign_event") {
2979
- ceInstance.registerForEvent("campaign_event", _this.yLyk);
2979
+ ceInstance.registerForEvent("campaign_event", _this.tTcF);
2980
2980
  } else if (eventCategory === "survey_event") {
2981
- ceInstance.registerForEvent("survey_event", _this.yLyk);
2981
+ ceInstance.registerForEvent("survey_event", _this.tTcF);
2982
2982
  }
2983
2983
  });
2984
- _defineProperty(this, "JoxB", function (validator) {
2984
+ _defineProperty(this, "FkGU", function (validator) {
2985
2985
  var ceInstance = new CE();
2986
- var eventCategory = validator.fHuv._eventCategory;
2986
+ var eventCategory = validator.WClN._eventCategory;
2987
2987
  if (eventCategory === "apxor_event") {
2988
- ceInstance.unregisterFromEvent("apxor_event", _this.yLyk);
2988
+ ceInstance.unregisterFromEvent("apxor_event", _this.tTcF);
2989
2989
  } else if (eventCategory === "customer_event") {
2990
- ceInstance.unregisterFromEvent("customer_event", _this.yLyk);
2990
+ ceInstance.unregisterFromEvent("customer_event", _this.tTcF);
2991
2991
  } else if (eventCategory === "any_event") {
2992
- ceInstance.unregisterFromEvent("any_event", _this.yLyk);
2992
+ ceInstance.unregisterFromEvent("any_event", _this.tTcF);
2993
2993
  } else if (eventCategory === "campaign_event") {
2994
- ceInstance.unregisterFromEvent("campaign_event", _this.yLyk);
2994
+ ceInstance.unregisterFromEvent("campaign_event", _this.tTcF);
2995
2995
  } else if (eventCategory === "survey_event") {
2996
- ceInstance.unregisterFromEvent("survey_event", _this.yLyk);
2996
+ ceInstance.unregisterFromEvent("survey_event", _this.tTcF);
2997
2997
  }
2998
2998
  });
2999
- _defineProperty(this, "yLyk", function () {
2999
+ _defineProperty(this, "tTcF", function () {
3000
3000
  var _this$_unregisterVali, _this$_unregisterVali2;
3001
- if (_this.DBxj) {
3002
- _this.xyKD = false;
3003
- clearTimeout(_this.DBxj);
3001
+ if (_this.MeLD) {
3002
+ _this.scDF = false;
3003
+ clearTimeout(_this.MeLD);
3004
3004
  }
3005
3005
  var ceInstance = new CE();
3006
- _this.xyKD = true;
3006
+ _this.scDF = true;
3007
3007
  if (_this._across_sessions) {
3008
3008
  if (localStorage.getItem("apx_nokpi_triggerdetails") !== null) {
3009
3009
  localStorage.removeItem("apx_nokpi_triggerdetails");
3010
3010
  }
3011
3011
  }
3012
- ceInstance.unregisterFromEvent(generateKey((_this$_unregisterVali = _this.bsQT) === null || _this$_unregisterVali === void 0 || (_this$_unregisterVali = _this$_unregisterVali.fHuv) === null || _this$_unregisterVali === void 0 ? void 0 : _this$_unregisterVali.vDdr) + "___" + ((_this$_unregisterVali2 = _this.bsQT) === null || _this$_unregisterVali2 === void 0 || (_this$_unregisterVali2 = _this$_unregisterVali2.fHuv) === null || _this$_unregisterVali2 === void 0 || (_this$_unregisterVali2 = _this$_unregisterVali2.uXsD) === null || _this$_unregisterVali2 === void 0 ? void 0 : _this$_unregisterVali2.UGic), _this.yLyk);
3012
+ ceInstance.unregisterFromEvent(generateKey((_this$_unregisterVali = _this.YjoD) === null || _this$_unregisterVali === void 0 || (_this$_unregisterVali = _this$_unregisterVali.WClN) === null || _this$_unregisterVali === void 0 ? void 0 : _this$_unregisterVali.HvGe) + "___" + ((_this$_unregisterVali2 = _this.YjoD) === null || _this$_unregisterVali2 === void 0 || (_this$_unregisterVali2 = _this$_unregisterVali2.WClN) === null || _this$_unregisterVali2 === void 0 || (_this$_unregisterVali2 = _this$_unregisterVali2.lKqH) === null || _this$_unregisterVali2 === void 0 ? void 0 : _this$_unregisterVali2.KyJY), _this.tTcF);
3013
3013
  });
3014
- _defineProperty(this, "SLEo", function () {
3014
+ _defineProperty(this, "rZJt", function () {
3015
3015
  var _this$_unregisterVali3, _this$_unregisterVali4, _this$_nextUpcomingVa;
3016
3016
  var ceInstance = new CE();
3017
- _this.xyKD = true;
3018
- if (_this.MhIU) {
3019
- clearTimeout(_this.MhIU);
3017
+ _this.scDF = true;
3018
+ if (_this.SFmA) {
3019
+ clearTimeout(_this.SFmA);
3020
3020
  }
3021
3021
  var conditionValidator = new ConditionValidator();
3022
- _this.jaQb.XmsR += 1;
3023
- _this.jaQb.yoCa = conditionValidator.dZrw(_this.jaQb.XmsR, _this.jaQb.fHuv.oBTS, _this.jaQb.fHuv.SGjX);
3024
- ceInstance.unregisterFromEvent(generateKey((_this$_unregisterVali3 = _this.FefJ) === null || _this$_unregisterVali3 === void 0 || (_this$_unregisterVali3 = _this$_unregisterVali3.fHuv) === null || _this$_unregisterVali3 === void 0 ? void 0 : _this$_unregisterVali3.vDdr) + "___" + ((_this$_unregisterVali4 = _this.FefJ) === null || _this$_unregisterVali4 === void 0 || (_this$_unregisterVali4 = _this$_unregisterVali4.fHuv) === null || _this$_unregisterVali4 === void 0 ? void 0 : _this$_unregisterVali4.uXsD.UGic), _this.SLEo);
3025
- if (_this._across_sessions && (_this$_nextUpcomingVa = _this.YXfN) !== null && _this$_nextUpcomingVa !== void 0 && _this$_nextUpcomingVa.fHuv._timeBased) {
3022
+ _this.PVCi.EVry += 1;
3023
+ _this.PVCi.YgKd = conditionValidator.FhUD(_this.PVCi.EVry, _this.PVCi.WClN.rZaN, _this.PVCi.WClN.Yfhc);
3024
+ ceInstance.unregisterFromEvent(generateKey((_this$_unregisterVali3 = _this.kMGf) === null || _this$_unregisterVali3 === void 0 || (_this$_unregisterVali3 = _this$_unregisterVali3.WClN) === null || _this$_unregisterVali3 === void 0 ? void 0 : _this$_unregisterVali3.HvGe) + "___" + ((_this$_unregisterVali4 = _this.kMGf) === null || _this$_unregisterVali4 === void 0 || (_this$_unregisterVali4 = _this$_unregisterVali4.WClN) === null || _this$_unregisterVali4 === void 0 ? void 0 : _this$_unregisterVali4.lKqH.KyJY), _this.rZJt);
3025
+ if (_this._across_sessions && (_this$_nextUpcomingVa = _this.tLbv) !== null && _this$_nextUpcomingVa !== void 0 && _this$_nextUpcomingVa.WClN._timeBased) {
3026
3026
  var no_KPI_TriggerDetails = Apxor.getController().getFromStorage("apx_nokpi_triggerdetails");
3027
3027
  if (no_KPI_TriggerDetails === null || no_KPI_TriggerDetails === undefined) {
3028
3028
  no_KPI_TriggerDetails = [];
@@ -3032,7 +3032,7 @@
3032
3032
  var objectPresenceChecker;
3033
3033
  var requiredObject;
3034
3034
  for (var i = 0; i < no_KPI_TriggerDetails.length; i++) {
3035
- if (_this.no_KPI_TriggerDetails[i].id === _this.YXfN.fHuv._id) {
3035
+ if (_this.no_KPI_TriggerDetails[i].id === _this.tLbv.WClN._id) {
3036
3036
  objectPresenceChecker = true;
3037
3037
  requiredObject = no_KPI_TriggerDetails[i];
3038
3038
  break;
@@ -3042,42 +3042,42 @@
3042
3042
  if (objectPresenceChecker) {
3043
3043
  requiredObject.satisfiedCount += 1;
3044
3044
  } else {
3045
- var id = _this.jaQb.fHuv._id;
3046
- var type = _this.jaQb.fHuv.DFrC;
3047
- var name = _this.jaQb.fHuv.uXsD.UGic;
3048
- var additionalInfo = _this.jaQb.fHuv.uXsD.cIhR;
3045
+ var id = _this.PVCi.WClN._id;
3046
+ var type = _this.PVCi.WClN.KlQa;
3047
+ var name = _this.PVCi.WClN.lKqH.KyJY;
3048
+ var additionalInfo = _this.PVCi.WClN.lKqH.Sqrf;
3049
3049
  triggerObj = {
3050
3050
  id: id,
3051
3051
  type: type,
3052
3052
  time: Date.now(),
3053
3053
  name: name,
3054
3054
  additionalInfo: additionalInfo,
3055
- satisfiedCount: _this.jaQb.fHuv._timeEnabled,
3056
- timeBased: _this.jaQb.fHuv._timeEnabled
3055
+ satisfiedCount: _this.PVCi.WClN._timeEnabled,
3056
+ timeBased: _this.PVCi.WClN._timeEnabled
3057
3057
  //finishTime: finishTime,
3058
3058
  };
3059
3059
 
3060
3060
  _this.no_KPI_TriggerDetails.push(triggerObj);
3061
3061
  }
3062
3062
  }
3063
- if (_this.jaQb.yoCa) {
3064
- var upcomingValidator = _this.qfrr[_this.kpiIndex + 1];
3063
+ if (_this.PVCi.YgKd) {
3064
+ var upcomingValidator = _this.slst[_this.kpiIndex + 1];
3065
3065
  if (!isDefined(upcomingValidator)) {
3066
- _this.XvYs();
3066
+ _this.gdmS();
3067
3067
  } else {
3068
- upcomingValidator.jRNn();
3068
+ upcomingValidator.APPb();
3069
3069
  }
3070
3070
  }
3071
3071
  });
3072
- _defineProperty(this, "Daaj", function () {
3073
- if (_this.GGny === _this.qfrr.length - 1) {
3074
- _this.vtAp = true;
3075
- var yoCa = true;
3076
- if (yoCa) {
3077
- if (_this.qfrr[_this.GGny]) {
3078
- _this.qfrr[_this.GGny].XmsR = _this.vpAf.satisfiedCount;
3079
- _this.qfrr[_this.GGny].yoCa = true;
3080
- _this.XvYs();
3072
+ _defineProperty(this, "raUd", function () {
3073
+ if (_this.doLk === _this.slst.length - 1) {
3074
+ _this.nWvj = true;
3075
+ var YgKd = true;
3076
+ if (YgKd) {
3077
+ if (_this.slst[_this.doLk]) {
3078
+ _this.slst[_this.doLk].EVry = _this.LwyE.satisfiedCount;
3079
+ _this.slst[_this.doLk].YgKd = true;
3080
+ _this.gdmS();
3081
3081
  }
3082
3082
  }
3083
3083
  } else {
@@ -3090,7 +3090,7 @@
3090
3090
  var requiredObject;
3091
3091
  var objectPresenceChecker;
3092
3092
  for (var i = 0; i < no_KPI_TriggerDetails.length; i++) {
3093
- if (no_KPI_TriggerDetails[i].id === _this.GGny) {
3093
+ if (no_KPI_TriggerDetails[i].id === _this.doLk) {
3094
3094
  objectPresenceChecker = true;
3095
3095
  requiredObject = no_KPI_TriggerDetails[i];
3096
3096
  break;
@@ -3100,27 +3100,27 @@
3100
3100
  requiredObject.satisfiedCount = 1;
3101
3101
  }
3102
3102
  Apxor.getController().persistToStorage("apx_nokpi_triggerdetails", JSON.stringify(no_KPI_TriggerDetails));
3103
- _this.qfrr[_this.GGny].XmsR = _this.vpAf.satisfiedCount;
3104
- _this.qfrr[_this.GGny].yoCa = true;
3105
- if (_this.qfrr[_this.GGny + 1].fHuv._timeEnabled) {
3106
- var timeInMillisec = calculateTime(_this.qfrr[_this.GGny + 1].fHuv._time.unit, _this.qfrr[_this.GGny + 1].fHuv._time.value);
3107
- var timeEnabled = _this.qfrr[_this.GGny + 1].fHuv._timeEnabled;
3108
- var condition_id = _this.qfrr[_this.GGny + 1].fHuv._id;
3109
- var satisfiedCount = _this.qfrr[_this.GGny + 1].XmsR;
3110
- var name = _this.qfrr[_this.GGny + 1].fHuv.uXsD.UGic;
3111
- var additionalInfo = _this.qfrr[_this.GGny + 1].uXsD.cIhR;
3103
+ _this.slst[_this.doLk].EVry = _this.LwyE.satisfiedCount;
3104
+ _this.slst[_this.doLk].YgKd = true;
3105
+ if (_this.slst[_this.doLk + 1].WClN._timeEnabled) {
3106
+ var timeInMillisec = calculateTime(_this.slst[_this.doLk + 1].WClN._time.unit, _this.slst[_this.doLk + 1].WClN._time.value);
3107
+ var timeEnabled = _this.slst[_this.doLk + 1].WClN._timeEnabled;
3108
+ var condition_id = _this.slst[_this.doLk + 1].WClN._id;
3109
+ var satisfiedCount = _this.slst[_this.doLk + 1].EVry;
3110
+ var name = _this.slst[_this.doLk + 1].WClN.lKqH.KyJY;
3111
+ var additionalInfo = _this.slst[_this.doLk + 1].lKqH.Sqrf;
3112
3112
  var condition_validator = new ConditionValidator();
3113
- condition_validator.rbcW(_this.fHuv.DFrC, name, Date.now(), additionalInfo, timeInMillisec, timeEnabled, condition_id, satisfiedCount);
3113
+ condition_validator.cYfS(_this.WClN.KlQa, name, Date.now(), additionalInfo, timeInMillisec, timeEnabled, condition_id, satisfiedCount);
3114
3114
  }
3115
3115
  }
3116
3116
  });
3117
- _defineProperty(this, "iUCb", function () {
3118
- if (_this._across_sessions && _this.RlZB) {
3117
+ _defineProperty(this, "DSfp", function () {
3118
+ if (_this._across_sessions && _this.Puvj) {
3119
3119
  var matching_validator;
3120
3120
  var matchedIndex;
3121
3121
  var matchednestedIndex;
3122
3122
  var conditionType = "single";
3123
- var yoCa = false;
3123
+ var YgKd = false;
3124
3124
  var no_KPI_TriggerDetails = Apxor.getController().getFromStorage("apx_nokpi_triggerdetails");
3125
3125
  no_KPI_TriggerDetails = JSON.parse(no_KPI_TriggerDetails);
3126
3126
  if (no_KPI_TriggerDetails.length > 0) {
@@ -3131,9 +3131,9 @@
3131
3131
  var trigger = _step2.value;
3132
3132
  var id_to_check = trigger["id"];
3133
3133
  var satifiedCount = trigger["satisfiedCount"];
3134
- matching_validator = _this.qfrr.find(function (validator, index) {
3134
+ matching_validator = _this.slst.find(function (validator, index) {
3135
3135
  if ((validator === null || validator === void 0 ? void 0 : validator.length) === 1 || (validator === null || validator === void 0 ? void 0 : validator.length) === undefined) {
3136
- if (validator.fHuv._id === id_to_check) {
3136
+ if (validator.WClN._id === id_to_check) {
3137
3137
  conditionType = "single";
3138
3138
  matchedIndex = index;
3139
3139
  return true;
@@ -3142,7 +3142,7 @@
3142
3142
  } else if (validator.length > 0) {
3143
3143
  // If the condition is a group, check if any individual condition has the id
3144
3144
  var nestedIndex = validator.findIndex(function (individualCondition) {
3145
- return individualCondition.fHuv._id === id_to_check;
3145
+ return individualCondition.WClN._id === id_to_check;
3146
3146
  });
3147
3147
  if (nestedIndex !== -1) {
3148
3148
  // If id_to_check is found in a nested condition, store both indexes
@@ -3156,22 +3156,22 @@
3156
3156
  });
3157
3157
  if (conditionType === "single" && matching_validator) {
3158
3158
  var condition_validator = new ConditionValidator();
3159
- yoCa = condition_validator.dZrw(satifiedCount, matching_validator.fHuv.oBTS, matching_validator.fHuv.SGjX);
3160
- var matchingValidatorIndex = _this.qfrr.findIndex(function (validator) {
3161
- var _validator$fHuv;
3162
- return (validator === null || validator === void 0 || (_validator$fHuv = validator.fHuv) === null || _validator$fHuv === void 0 ? void 0 : _validator$fHuv._id) === id_to_check;
3159
+ YgKd = condition_validator.FhUD(satifiedCount, matching_validator.WClN.rZaN, matching_validator.WClN.Yfhc);
3160
+ var matchingValidatorIndex = _this.slst.findIndex(function (validator) {
3161
+ var _validator$WClN;
3162
+ return (validator === null || validator === void 0 || (_validator$WClN = validator.WClN) === null || _validator$WClN === void 0 ? void 0 : _validator$WClN._id) === id_to_check;
3163
3163
  });
3164
3164
  if (matchingValidatorIndex === undefined) {
3165
3165
  matchingValidatorIndex = matchedIndex;
3166
3166
  }
3167
- if (yoCa) {
3168
- _this.qfrr[matchingValidatorIndex].yoCa = true;
3167
+ if (YgKd) {
3168
+ _this.slst[matchingValidatorIndex].YgKd = true;
3169
3169
  }
3170
3170
  } else if (conditionType === "group" && matching_validator) {
3171
3171
  var _condition_validator = new ConditionValidator();
3172
- yoCa = _condition_validator.dZrw(satifiedCount, matching_validator[matchednestedIndex].fHuv.oBTS, matching_validator[matchednestedIndex].fHuv.SGjX);
3173
- if (yoCa) {
3174
- _this.qfrr[matchedIndex][matchednestedIndex].yoCa = true;
3172
+ YgKd = _condition_validator.FhUD(satifiedCount, matching_validator[matchednestedIndex].WClN.rZaN, matching_validator[matchednestedIndex].WClN.Yfhc);
3173
+ if (YgKd) {
3174
+ _this.slst[matchedIndex][matchednestedIndex].YgKd = true;
3175
3175
  }
3176
3176
  }
3177
3177
  };
@@ -3186,66 +3186,66 @@
3186
3186
  }
3187
3187
  }
3188
3188
  });
3189
- _defineProperty(this, "cAjr", function (index) {
3189
+ _defineProperty(this, "HScg", function (index) {
3190
3190
  if (index < 0) {
3191
3191
  return;
3192
3192
  }
3193
- _this.hFnp();
3193
+ _this.NpcX();
3194
3194
  });
3195
- _defineProperty(this, "XvYs", function () {
3195
+ _defineProperty(this, "gdmS", function () {
3196
3196
  var _window$ApxorRTM, _window$ApxorRTM2;
3197
3197
  var view_visibility = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
3198
3198
  // Check If Audience, Validity is satisfied or not
3199
3199
  var userAttributes = Apxor.getController().getUserAttributes();
3200
3200
  var sessionAttributes = Apxor.getController().getSessionAttributes();
3201
- if (!((_window$ApxorRTM = window.ApxorRTM) !== null && _window$ApxorRTM !== void 0 && _window$ApxorRTM.isBadgePresent && (_window$ApxorRTM2 = window.ApxorRTM) !== null && _window$ApxorRTM2 !== void 0 && _window$ApxorRTM2.badgesLists.includes(_this.ABDA) && Apxor.getController().isBadgeTriggerSatisfied(_this.ABDA))) {
3201
+ if (!((_window$ApxorRTM = window.ApxorRTM) !== null && _window$ApxorRTM !== void 0 && _window$ApxorRTM.isBadgePresent && (_window$ApxorRTM2 = window.ApxorRTM) !== null && _window$ApxorRTM2 !== void 0 && _window$ApxorRTM2.badgesLists.includes(_this.bdFJ) && Apxor.getController().isBadgeTriggerSatisfied(_this.bdFJ))) {
3202
3202
  Apxor === null || Apxor === void 0 || Apxor.logEvent("apx_trigger_satisfied", {
3203
- apx_nudge_type: _this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign",
3204
- apx_nudge_id: _this.ABDA,
3205
- apx_nudge_name: _this.ofFb.UGic,
3206
- message_name: _this.ofFb.UGic,
3207
- id: _this.ABDA,
3208
- apx_variant_code: _this.ofFb._isExperiment || _this.ofFb._only_context ? _this.ofFb._attr[APX_VARIANT_CODE] : "TG"
3203
+ apx_nudge_type: _this.Busn.KlQa === "SURVEY" ? "survey" : "campaign",
3204
+ apx_nudge_id: _this.bdFJ,
3205
+ apx_nudge_name: _this.Busn.KyJY,
3206
+ message_name: _this.Busn.KyJY,
3207
+ id: _this.bdFJ,
3208
+ apx_variant_code: _this.Busn._isExperiment || _this.Busn._only_context ? _this.Busn._attr[APX_VARIANT_CODE] : "TG"
3209
3209
  });
3210
3210
  }
3211
- if (!_this.AEyV.validate() || !_this.Rtvw.validate(userAttributes, sessionAttributes) || !_this.Rlua.validate() || !_this.SXtO.validate()) {
3211
+ if (!_this.sRWr.validate() || !_this.PnhJ.validate(userAttributes, sessionAttributes) || !_this.lgot.validate() || !_this.iJQR.validate()) {
3212
3212
  // eslint-disable-next-line no-unused-vars
3213
- var apx_nudge_type = _this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign";
3214
- if (!_this.Rlua.retainedDaysValidated) {
3215
- _this.IdAw("Retained day criteria not met");
3213
+ var apx_nudge_type = _this.Busn.KlQa === "SURVEY" ? "survey" : "campaign";
3214
+ if (!_this.lgot.retainedDaysValidated) {
3215
+ _this.cwbp("Retained day criteria not met");
3216
3216
  return;
3217
3217
  }
3218
- if (!_this.Rlua.retainedSessionValidated) {
3219
- _this.IdAw("User session criteria not met");
3218
+ if (!_this.lgot.retainedSessionValidated) {
3219
+ _this.cwbp("User session criteria not met");
3220
3220
  return;
3221
3221
  }
3222
- if (_this.Rlua.eventDoneInLT) {
3223
- _this.IdAw("Event done in life time");
3222
+ if (_this.lgot.eventDoneInLT) {
3223
+ _this.cwbp("Event done in life time");
3224
3224
  return;
3225
3225
  }
3226
- if (!_this.Rtvw.userAttributesValidated) {
3227
- _this.IdAw("User property filter not met");
3226
+ if (!_this.PnhJ.userAttributesValidated) {
3227
+ _this.cwbp("User property filter not met");
3228
3228
  return;
3229
3229
  }
3230
- if (!_this.Rtvw.sessionAttributeValidated) {
3231
- _this.IdAw("Session property filter not met");
3230
+ if (!_this.PnhJ.sessionAttributeValidated) {
3231
+ _this.cwbp("Session property filter not met");
3232
3232
  return;
3233
3233
  }
3234
- if (_this.AEyV._not_in_specified_time) {
3235
- _this.IdAw("Time limits check failed");
3234
+ if (_this.sRWr._not_in_specified_time) {
3235
+ _this.cwbp("Time limits check failed");
3236
3236
  return;
3237
3237
  }
3238
- if (_this.AEyV._not_yet_active) {
3239
- _this.IdAw("not in the scheduled time");
3238
+ if (_this.sRWr._not_yet_active) {
3239
+ _this.cwbp("not in the scheduled time");
3240
3240
  return;
3241
3241
  }
3242
- if (_this.AEyV._nudge_expired) {
3243
- _this.IdAw("nudge expired");
3242
+ if (_this.sRWr._nudge_expired) {
3243
+ _this.cwbp("nudge expired");
3244
3244
  return;
3245
3245
  }
3246
3246
  return;
3247
3247
  }
3248
- var length = _this.qfrr.length;
3248
+ var length = _this.slst.length;
3249
3249
  var isSatisfied = length < 1;
3250
3250
  var combineOperator = "";
3251
3251
  if (length === 0) {
@@ -3253,24 +3253,24 @@
3253
3253
  }
3254
3254
  for (var index = 0; index < length; index++) {
3255
3255
  var currentResult = void 0;
3256
- var validator = _this.qfrr[index];
3256
+ var validator = _this.slst[index];
3257
3257
  if (validator.length > 1) {
3258
- var combine_operator = validator[0].fHuv.yztc;
3258
+ var combine_operator = validator[0].WClN.GWsZ;
3259
3259
  if (combine_operator === "AND") {
3260
3260
  currentResult = true;
3261
3261
  } else {
3262
3262
  currentResult = false;
3263
3263
  }
3264
3264
  for (var i = 0; i < validator.length; i++) {
3265
- var _combine_operator = validator[0].fHuv.yztc;
3265
+ var _combine_operator = validator[0].WClN.GWsZ;
3266
3266
  if (_combine_operator === "AND") {
3267
- currentResult = currentResult && validator[i].yoCa;
3267
+ currentResult = currentResult && validator[i].YgKd;
3268
3268
  } else {
3269
- currentResult = currentResult || validator[i].yoCa;
3269
+ currentResult = currentResult || validator[i].YgKd;
3270
3270
  }
3271
3271
  }
3272
3272
  } else {
3273
- currentResult = validator.yoCa;
3273
+ currentResult = validator.YgKd;
3274
3274
  }
3275
3275
  if (combineOperator.trim() === "") {
3276
3276
  isSatisfied = currentResult;
@@ -3287,7 +3287,7 @@
3287
3287
  if (validator.length > 1) {
3288
3288
  combineOperator = _this.groupCombineOperator;
3289
3289
  } else {
3290
- combineOperator = validator.yztc;
3290
+ combineOperator = validator.GWsZ;
3291
3291
  }
3292
3292
  }
3293
3293
  if (view_visibility === true) {
@@ -3296,8 +3296,8 @@
3296
3296
  if (isSatisfied) {
3297
3297
  console.debug("onCondition satisfied");
3298
3298
  // Check if count reached it's maximum
3299
- if (!_this.sqke.Vsbc(_this.ABDA)) {
3300
- console.warn("Maximum limit reached", _this.ABDA);
3299
+ if (!_this.jznt.LJcq(_this.bdFJ)) {
3300
+ console.warn("Maximum limit reached", _this.bdFJ);
3301
3301
  return;
3302
3302
  }
3303
3303
 
@@ -3306,24 +3306,24 @@
3306
3306
  // if (
3307
3307
  // !(
3308
3308
  // window.ApxorRTM?.isBadgePresent &&
3309
- // window.ApxorRTM?.badgesLists.includes(this.ABDA) &&
3310
- // Apxor.getController().isBadgeTriggerSatisfied(this.ABDA)
3309
+ // window.ApxorRTM?.badgesLists.includes(this.bdFJ) &&
3310
+ // Apxor.getController().isBadgeTriggerSatisfied(this.bdFJ)
3311
3311
  // )
3312
3312
  // ) {
3313
3313
  // let apx_nudge_type =
3314
- // this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign";
3314
+ // this.Busn.KlQa === "SURVEY" ? "survey" : "campaign";
3315
3315
  // Apxor?.logEvent(
3316
3316
  // "apx_trigger_satisfied",
3317
3317
  // {
3318
3318
  // apx_nudge_type:
3319
- // this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign",
3320
- // apx_nudge_id: this.ABDA,
3321
- // apx_nudge_name: this.ofFb.UGic,
3322
- // message_name: this.ofFb.UGic,
3323
- // id: this.ABDA,
3319
+ // this.Busn.KlQa === "SURVEY" ? "survey" : "campaign",
3320
+ // apx_nudge_id: this.bdFJ,
3321
+ // apx_nudge_name: this.Busn.KyJY,
3322
+ // message_name: this.Busn.KyJY,
3323
+ // id: this.bdFJ,
3324
3324
  // apx_variant_code:
3325
- // this.ofFb._isExperiment || this.ofFb._only_context
3326
- // ? this.ofFb._attr[APX_VARIANT_CODE]
3325
+ // this.Busn._isExperiment || this.Busn._only_context
3326
+ // ? this.Busn._attr[APX_VARIANT_CODE]
3327
3327
  // : "TG",
3328
3328
  // },
3329
3329
  // false,
@@ -3335,22 +3335,22 @@
3335
3335
  if (_this._across_sessions) {
3336
3336
  localStorage.removeItem("apx_nokpi_triggerdetails");
3337
3337
  }
3338
- var _iterator3 = _createForOfIteratorHelper(_this.qfrr),
3338
+ var _iterator3 = _createForOfIteratorHelper(_this.slst),
3339
3339
  _step3;
3340
3340
  try {
3341
3341
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3342
3342
  var _validator3 = _step3.value;
3343
3343
  if ((_validator3 === null || _validator3 === void 0 ? void 0 : _validator3.length) === 1 || (_validator3 === null || _validator3 === void 0 ? void 0 : _validator3.length) === undefined) {
3344
- _validator3.yoCa = false;
3345
- _validator3.XmsR = 0;
3344
+ _validator3.YgKd = false;
3345
+ _validator3.EVry = 0;
3346
3346
  } else {
3347
3347
  var _iterator4 = _createForOfIteratorHelper(_validator3),
3348
3348
  _step4;
3349
3349
  try {
3350
3350
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
3351
3351
  var childValidator = _step4.value;
3352
- childValidator.yoCa = false;
3353
- childValidator.XmsR = 0;
3352
+ childValidator.YgKd = false;
3353
+ childValidator.EVry = 0;
3354
3354
  }
3355
3355
  } catch (err) {
3356
3356
  _iterator4.e(err);
@@ -3359,41 +3359,41 @@
3359
3359
  }
3360
3360
  }
3361
3361
  }
3362
- // this.qIOQ = new ConditionValidator();
3362
+ // this.wzIA = new ConditionValidator();
3363
3363
  } catch (err) {
3364
3364
  _iterator3.e(err);
3365
3365
  } finally {
3366
3366
  _iterator3.f();
3367
3367
  }
3368
- _this.qIOQ.oFex(_this.qfrr);
3369
- _this.qfrr = [];
3370
- _this.TNJX(_this.JWQI, _this.ymdm);
3371
- if (_this.ofFb._only_context === true) {
3372
- var _apx_nudge_type = _this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign";
3373
- Apxor.logEvent(APX_CONTEXT_EVALUATED, _objectSpread2(_objectSpread2({}, _this.ofFb._attr), {}, {
3374
- message_name: _this.ofFb.UGic,
3375
- apx_nudge_name: _this.ofFb.UGic,
3376
- apx_nudge_id: _this.ABDA,
3377
- id: _this.ABDA
3368
+ _this.wzIA.ADTy(_this.slst);
3369
+ _this.slst = [];
3370
+ _this.Jhsx(_this.ijiy, _this.MzoY);
3371
+ if (_this.Busn._only_context === true) {
3372
+ var _apx_nudge_type = _this.Busn.KlQa === "SURVEY" ? "survey" : "campaign";
3373
+ Apxor.logEvent(APX_CONTEXT_EVALUATED, _objectSpread2(_objectSpread2({}, _this.Busn._attr), {}, {
3374
+ message_name: _this.Busn.KyJY,
3375
+ apx_nudge_name: _this.Busn.KyJY,
3376
+ apx_nudge_id: _this.bdFJ,
3377
+ id: _this.bdFJ
3378
3378
  }), false, "", _apx_nudge_type);
3379
3379
  }
3380
3380
  // Emit event
3381
- Apxor.getController().dispatchEvent(_this.ofFb.DFrC, {
3382
- name: _this.ofFb.DFrC,
3381
+ Apxor.getController().dispatchEvent(_this.Busn.KlQa, {
3382
+ name: _this.Busn.KlQa,
3383
3383
  additional_info: {
3384
- uuid: _this.ABDA,
3385
- name: _this.ofFb.UGic
3384
+ uuid: _this.bdFJ,
3385
+ name: _this.Busn.KyJY
3386
3386
  }
3387
3387
  });
3388
3388
  }
3389
3389
  });
3390
- _defineProperty(this, "hFnp", function () {
3391
- var length = _this.vqdX.length;
3390
+ _defineProperty(this, "NpcX", function () {
3391
+ var length = _this.OakL.length;
3392
3392
  var isSatisfied = length < 1;
3393
3393
  var combineOperator = "";
3394
3394
  for (var index = 0; index < length; index++) {
3395
- var validator = _this.vqdX[index];
3396
- var currentResult = validator.yoCa;
3395
+ var validator = _this.OakL[index];
3396
+ var currentResult = validator.YgKd;
3397
3397
  if (combineOperator.trim() === "") {
3398
3398
  isSatisfied = currentResult;
3399
3399
  } else {
@@ -3406,25 +3406,25 @@
3406
3406
  break;
3407
3407
  }
3408
3408
  }
3409
- combineOperator = validator.eMRD;
3409
+ combineOperator = validator.jNho;
3410
3410
  }
3411
3411
  if (isSatisfied) {
3412
- Apxor.getController().persistTerminationInfoLocally(_this.ABDA);
3413
- if (_this.ofFb._only_context === true) {
3414
- var apx_nudge_type = _this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign";
3415
- Apxor.logEvent(APX_CONTEXT_EVALUATED, _objectSpread2(_objectSpread2({}, _this.ofFb._attr), {}, {
3416
- message_name: _this.ofFb.UGic,
3417
- apx_nudge_name: _this.ofFb.UGic,
3418
- apx_nudge_id: _this.ABDA,
3419
- id: _this.ABDA
3412
+ Apxor.getController().persistTerminationInfoLocally(_this.bdFJ);
3413
+ if (_this.Busn._only_context === true) {
3414
+ var apx_nudge_type = _this.Busn.KlQa === "SURVEY" ? "survey" : "campaign";
3415
+ Apxor.logEvent(APX_CONTEXT_EVALUATED, _objectSpread2(_objectSpread2({}, _this.Busn._attr), {}, {
3416
+ message_name: _this.Busn.KyJY,
3417
+ apx_nudge_name: _this.Busn.KyJY,
3418
+ apx_nudge_id: _this.bdFJ,
3419
+ id: _this.bdFJ
3420
3420
  }), false, "apxor", apx_nudge_type);
3421
3421
  }
3422
3422
  // Emit event
3423
- Apxor.getController().dispatchEvent(_this.ofFb.DFrC, {
3424
- name: _this.ofFb.DFrC,
3423
+ Apxor.getController().dispatchEvent(_this.Busn.KlQa, {
3424
+ name: _this.Busn.KlQa,
3425
3425
  additional_info: {
3426
- uuid: _this.ABDA,
3427
- name: _this.ofFb.UGic
3426
+ uuid: _this.bdFJ,
3427
+ name: _this.Busn.KyJY
3428
3428
  }
3429
3429
  });
3430
3430
  }
@@ -3432,44 +3432,44 @@
3432
3432
  _defineProperty(this, "validateForTerminationAttributes", function () {
3433
3433
  var userAttributes = Apxor.getController().getUserAttributes();
3434
3434
  var sessionAttributes = Apxor.getController().getSessionAttributes();
3435
- return _this.TAxm.validate(userAttributes, sessionAttributes);
3435
+ return _this.poNk.validate(userAttributes, sessionAttributes);
3436
3436
  });
3437
- _defineProperty(this, "RQvg", function () {
3438
- _this.sqke.RQvg();
3437
+ _defineProperty(this, "IAEG", function () {
3438
+ _this.jznt.IAEG();
3439
3439
  });
3440
3440
  _defineProperty(this, "getFrequencyCount", function () {
3441
- return _this.sqke.getFrequencyCount();
3441
+ return _this.jznt.getFrequencyCount();
3442
3442
  });
3443
- _defineProperty(this, "RVJD", function () {
3444
- return _this.sqke.TyZe();
3443
+ _defineProperty(this, "kcZO", function () {
3444
+ return _this.jznt.raNn();
3445
3445
  });
3446
- _defineProperty(this, "yJXi", function (validator) {
3446
+ _defineProperty(this, "EioD", function (validator) {
3447
3447
  var currentResult;
3448
- var combine_operator = validator[0].fHuv.yztc;
3448
+ var combine_operator = validator[0].WClN.GWsZ;
3449
3449
  if (combine_operator === "AND") {
3450
3450
  currentResult = true;
3451
3451
  } else {
3452
3452
  currentResult = false;
3453
3453
  }
3454
3454
  for (var i = 0; i < validator.length; i++) {
3455
- var _combine_operator2 = validator[0].fHuv.yztc;
3455
+ var _combine_operator2 = validator[0].WClN.GWsZ;
3456
3456
  if (_combine_operator2 === "AND") {
3457
- currentResult = currentResult && validator[i].yoCa;
3457
+ currentResult = currentResult && validator[i].YgKd;
3458
3458
  } else {
3459
- currentResult = currentResult || validator[i].yoCa;
3459
+ currentResult = currentResult || validator[i].YgKd;
3460
3460
  }
3461
3461
  }
3462
3462
  return currentResult;
3463
3463
  });
3464
- _defineProperty(this, "IdAw", function (reason) {
3465
- var _this$ofFb$_attr2;
3464
+ _defineProperty(this, "cwbp", function (reason) {
3465
+ var _this$Busn$_attr2;
3466
3466
  Apxor === null || Apxor === void 0 || Apxor.logEvent("apx_non_eligible_user", {
3467
- apx_nudge_type: _this.ofFb.DFrC === "SURVEY" ? "survey" : "campaign",
3468
- apx_nudge_id: _this.ABDA,
3469
- apx_nudge_name: _this.ofFb.UGic,
3470
- message_name: _this.ofFb.UGic,
3471
- id: _this.ABDA,
3472
- apx_variant_code: _this.ofFb._isExperiment || _this.ofFb._only_context ? (_this$ofFb$_attr2 = _this.ofFb._attr) === null || _this$ofFb$_attr2 === void 0 ? void 0 : _this$ofFb$_attr2[APX_VARIANT_CODE] : "TG",
3467
+ apx_nudge_type: _this.Busn.KlQa === "SURVEY" ? "survey" : "campaign",
3468
+ apx_nudge_id: _this.bdFJ,
3469
+ apx_nudge_name: _this.Busn.KyJY,
3470
+ message_name: _this.Busn.KyJY,
3471
+ id: _this.bdFJ,
3472
+ apx_variant_code: _this.Busn._isExperiment || _this.Busn._only_context ? (_this$Busn$_attr2 = _this.Busn._attr) === null || _this$Busn$_attr2 === void 0 ? void 0 : _this$Busn$_attr2[APX_VARIANT_CODE] : "TG",
3473
3473
  apx_notshown_type: "warn",
3474
3474
  apx_reason: reason
3475
3475
  });
@@ -3479,7 +3479,7 @@
3479
3479
  var ConfigLookup = /*#__PURE__*/_createClass(function ConfigLookup() {
3480
3480
  var _this = this;
3481
3481
  _classCallCheck(this, ConfigLookup);
3482
- _defineProperty(this, "zCLd", {});
3482
+ _defineProperty(this, "YeAl", {});
3483
3483
  _defineProperty(this, "parse", function () {
3484
3484
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
3485
3485
  configs: []
@@ -3502,7 +3502,7 @@
3502
3502
  var configId = _config._id;
3503
3503
  var configItem = new ConfigItem();
3504
3504
  if (configItem.parse(_config)) {
3505
- _this.zCLd[configId] = configItem;
3505
+ _this.YeAl[configId] = configItem;
3506
3506
  } else {
3507
3507
  console.warn("Failed to parse cfg", configId);
3508
3508
  }
@@ -3511,51 +3511,51 @@
3511
3511
  });
3512
3512
  _defineProperty(this, "validate", function (id, index) {
3513
3513
  var childIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;
3514
- if (_this.zCLd[id]) {
3515
- var configItem = _this.zCLd[id];
3516
- configItem.ReXr(index, childIndex);
3514
+ if (_this.YeAl[id]) {
3515
+ var configItem = _this.YeAl[id];
3516
+ configItem.iMZf(index, childIndex);
3517
3517
  }
3518
3518
  });
3519
3519
  _defineProperty(this, "getVariantCode", function (id) {
3520
- if (_this.zCLd[id]) {
3521
- var configItem = _this.zCLd[id];
3520
+ if (_this.YeAl[id]) {
3521
+ var configItem = _this.YeAl[id];
3522
3522
  return configItem._variant_code;
3523
3523
  }
3524
3524
  return "";
3525
3525
  });
3526
3526
  _defineProperty(this, "validateForTermination", function (id, index) {
3527
- if (_this.zCLd[id]) {
3528
- var configItem = _this.zCLd[id];
3529
- configItem.cAjr(index);
3527
+ if (_this.YeAl[id]) {
3528
+ var configItem = _this.YeAl[id];
3529
+ configItem.HScg(index);
3530
3530
  }
3531
3531
  });
3532
3532
  _defineProperty(this, "validateForTerminationAttributes", function (id) {
3533
- if (_this.zCLd[id]) {
3534
- var configItem = _this.zCLd[id];
3533
+ if (_this.YeAl[id]) {
3534
+ var configItem = _this.YeAl[id];
3535
3535
  return configItem.validateForTerminationAttributes();
3536
3536
  }
3537
3537
  return false;
3538
3538
  });
3539
- _defineProperty(this, "RQvg", function (id) {
3540
- var campiagnConfig = _this.zCLd[id];
3541
- campiagnConfig.RQvg();
3539
+ _defineProperty(this, "IAEG", function (id) {
3540
+ var campiagnConfig = _this.YeAl[id];
3541
+ campiagnConfig.IAEG();
3542
3542
  });
3543
3543
  _defineProperty(this, "getFrequencyCount", function (id) {
3544
- var campiagnConfig = _this.zCLd[id];
3544
+ var campiagnConfig = _this.YeAl[id];
3545
3545
  if (campiagnConfig != undefined) return campiagnConfig.getFrequencyCount();
3546
3546
  });
3547
3547
  _defineProperty(this, "resetFrequencyCounts", function () {
3548
- var configs = _this.zCLd;
3548
+ var configs = _this.YeAl;
3549
3549
  for (var configId in configs) {
3550
- configs[configId].RVJD();
3550
+ configs[configId].kcZO();
3551
3551
  }
3552
3552
  });
3553
- _defineProperty(this, "EAAe", function (campaignId) {
3553
+ _defineProperty(this, "ZzjC", function (campaignId) {
3554
3554
  try {
3555
- if (_this.zCLd) {
3556
- var configItem = _this.zCLd[campaignId];
3557
- if (configItem && configItem.ofFb) {
3558
- return configItem.ofFb;
3555
+ if (_this.YeAl) {
3556
+ var configItem = _this.YeAl[campaignId];
3557
+ if (configItem && configItem.Busn) {
3558
+ return configItem.Busn;
3559
3559
  }
3560
3560
  }
3561
3561
  } catch (e) {
@@ -3571,51 +3571,51 @@
3571
3571
  var EventsListener = /*#__PURE__*/_createClass(function EventsListener() {
3572
3572
  var _this = this;
3573
3573
  _classCallCheck(this, EventsListener);
3574
- _defineProperty(this, "VhOV", {});
3575
- _defineProperty(this, "VRqD", []);
3576
- _defineProperty(this, "KSTc", false);
3574
+ _defineProperty(this, "Idml", {});
3575
+ _defineProperty(this, "nouG", []);
3576
+ _defineProperty(this, "CEfy", false);
3577
3577
  _defineProperty(this, "initialize", function () {
3578
3578
  var controller = Apxor.getController();
3579
3579
  controller.registerForEvent(APP_EVENT$1, function (event) {
3580
- return _this.YXge(event, "AE");
3580
+ return _this.xozT(event, "AE");
3581
3581
  });
3582
3582
  controller.registerForEvent(CLIENT_EVENT$1, function (event) {
3583
- return _this.YXge(event, "CE");
3583
+ return _this.xozT(event, "CE");
3584
3584
  });
3585
3585
  });
3586
- _defineProperty(this, "nARi", function () {
3586
+ _defineProperty(this, "kQde", function () {
3587
3587
  // Clear Buffer
3588
- var _iterator = _createForOfIteratorHelper(_this.VRqD),
3588
+ var _iterator = _createForOfIteratorHelper(_this.nouG),
3589
3589
  _step;
3590
3590
  try {
3591
3591
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3592
3592
  var item = _step.value;
3593
- _this.pMOK(item.event, item.key, item.type);
3593
+ _this.BpMO(item.event, item.key, item.type);
3594
3594
  }
3595
3595
  } catch (err) {
3596
3596
  _iterator.e(err);
3597
3597
  } finally {
3598
3598
  _iterator.f();
3599
3599
  }
3600
- _this.KSTc = true;
3600
+ _this.CEfy = true;
3601
3601
  });
3602
- _defineProperty(this, "zXsm", function (event, callback) {
3602
+ _defineProperty(this, "wofl", function (event, callback) {
3603
3603
  if (!isFunction(callback)) {
3604
3604
  return;
3605
3605
  }
3606
3606
  var listeners;
3607
- if (_this.VhOV[event]) {
3608
- listeners = _this.VhOV[event];
3607
+ if (_this.Idml[event]) {
3608
+ listeners = _this.Idml[event];
3609
3609
  } else {
3610
3610
  listeners = [];
3611
3611
  }
3612
3612
  listeners.push(callback);
3613
- _this.VhOV[event] = listeners;
3614
- Logger$b.debug("Listeners list: ", _this.VhOV);
3613
+ _this.Idml[event] = listeners;
3614
+ Logger$b.debug("Listeners list: ", _this.Idml);
3615
3615
  });
3616
3616
  _defineProperty(this, "unregisterFromEvent", function (event, callback) {
3617
- if (_this.VhOV[event]) {
3618
- var listeners = _this.VhOV[event];
3617
+ if (_this.Idml[event]) {
3618
+ var listeners = _this.Idml[event];
3619
3619
  var updatedListeners = [];
3620
3620
  for (var index = 0; index < listeners.length; index++) {
3621
3621
  var listener = listeners[index];
@@ -3623,36 +3623,36 @@
3623
3623
  updatedListeners.push(listener);
3624
3624
  }
3625
3625
  }
3626
- _this.VhOV[event] = updatedListeners;
3626
+ _this.Idml[event] = updatedListeners;
3627
3627
  }
3628
3628
  });
3629
- _defineProperty(this, "YXge", function (event) {
3629
+ _defineProperty(this, "xozT", function (event) {
3630
3630
  var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "AE";
3631
- _this.pMOK(event, "any_event", type);
3631
+ _this.BpMO(event, "any_event", type);
3632
3632
  if ((event === null || event === void 0 ? void 0 : event.loggedBy) === "apxor") {
3633
- _this.pMOK(event, "apxor_event", type);
3633
+ _this.BpMO(event, "apxor_event", type);
3634
3634
  } else if ((event === null || event === void 0 ? void 0 : event.loggedBy) === "customer") {
3635
- _this.pMOK(event, "customer_event", type);
3635
+ _this.BpMO(event, "customer_event", type);
3636
3636
  }
3637
3637
  if ((event === null || event === void 0 ? void 0 : event.apx_nudge_type) === "campaign") {
3638
- _this.pMOK(event, "campaign_event", type);
3638
+ _this.BpMO(event, "campaign_event", type);
3639
3639
  } else if ((event === null || event === void 0 ? void 0 : event.apx_nudge_type) === "survey") {
3640
- _this.pMOK(event, "survey_event", type);
3640
+ _this.BpMO(event, "survey_event", type);
3641
3641
  }
3642
3642
  var key = type + "___" + event.name;
3643
- _this.pMOK(event, key, type);
3643
+ _this.BpMO(event, key, type);
3644
3644
  });
3645
- _defineProperty(this, "pMOK", function (event, key, type) {
3646
- if (!_this.KSTc) {
3647
- _this.VRqD.push({
3645
+ _defineProperty(this, "BpMO", function (event, key, type) {
3646
+ if (!_this.CEfy) {
3647
+ _this.nouG.push({
3648
3648
  event: event,
3649
3649
  key: key,
3650
3650
  type: type
3651
3651
  });
3652
3652
  } else {
3653
- Logger$b.debug("Notifying listeners for event: " + event + ", " + key, _this.VhOV);
3654
- if (_this.VhOV[key]) {
3655
- var listeners = _this.VhOV[key];
3653
+ Logger$b.debug("Notifying listeners for event: " + event + ", " + key, _this.Idml);
3654
+ if (_this.Idml[key]) {
3655
+ var listeners = _this.Idml[key];
3656
3656
  var time = Apxor.getController().getSDKRunningTimeInSec();
3657
3657
  for (var index = 0; index < listeners.length; index++) {
3658
3658
  var listener = listeners[index];
@@ -3668,17 +3668,17 @@
3668
3668
  function CE() {
3669
3669
  var _this = this;
3670
3670
  _classCallCheck(this, CE);
3671
- _defineProperty(this, "Zogu", false);
3672
- _defineProperty(this, "DCuT", null);
3673
- _defineProperty(this, "eElz", getDateInDDMMYYYY());
3674
- _defineProperty(this, "uUxG", new EventsListener());
3675
- _defineProperty(this, "sNNK", Apxor.getSiteId());
3671
+ _defineProperty(this, "xyDu", false);
3672
+ _defineProperty(this, "HyVs", null);
3673
+ _defineProperty(this, "azNS", getDateInDDMMYYYY());
3674
+ _defineProperty(this, "gWXS", new EventsListener());
3675
+ _defineProperty(this, "WBFQ", Apxor.getSiteId());
3676
3676
  _defineProperty(this, "_qeState", {});
3677
3677
  _defineProperty(this, "getQeState", function () {
3678
3678
  try {
3679
3679
  var data = Apxor.getController().getFromStorage(QE_STATE);
3680
3680
  if (data) {
3681
- return JSON.parse(decode(_this.sNNK, data));
3681
+ return JSON.parse(decode(_this.WBFQ, data));
3682
3682
  } else {
3683
3683
  _this._qeState = {};
3684
3684
  return _this.setQeState();
@@ -3707,10 +3707,10 @@
3707
3707
  return _this._qeState;
3708
3708
  });
3709
3709
  _defineProperty(this, "initialize", function () {
3710
- if (!_this.Zogu) {
3711
- _this.Zogu = true;
3712
- _this.DCuT = new ConfigLookup();
3713
- _this.uUxG.initialize();
3710
+ if (!_this.xyDu) {
3711
+ _this.xyDu = true;
3712
+ _this.HyVs = new ConfigLookup();
3713
+ _this.gWXS.initialize();
3714
3714
  _this._qeState = _this.getQeState();
3715
3715
  Logger$c.info("QE Initialized..");
3716
3716
  }
@@ -3721,12 +3721,12 @@
3721
3721
  * @param config
3722
3722
  */
3723
3723
  _defineProperty(this, "parse", function (config) {
3724
- if (!_this.iwiH()) {
3724
+ if (!_this.wPzN()) {
3725
3725
  Logger$c.warn("Must call init first. Unable to proceed");
3726
3726
  return;
3727
3727
  }
3728
- _this.DCuT.parse(config);
3729
- _this.uUxG.nARi();
3728
+ _this.HyVs.parse(config);
3729
+ _this.gWXS.kQde();
3730
3730
  });
3731
3731
  /**
3732
3732
  * Validates all conditions for given config ID
@@ -3736,22 +3736,22 @@
3736
3736
  */
3737
3737
  _defineProperty(this, "validate", function (id, index) {
3738
3738
  var childIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;
3739
- if (!_this.iwiH()) {
3739
+ if (!_this.wPzN()) {
3740
3740
  return;
3741
3741
  }
3742
- _this.DCuT.validate(id, index, childIndex);
3742
+ _this.HyVs.validate(id, index, childIndex);
3743
3743
  });
3744
3744
  _defineProperty(this, "getVariantCode", function (id) {
3745
- return _this.DCuT.getVariantCode(id);
3745
+ return _this.HyVs.getVariantCode(id);
3746
3746
  });
3747
3747
  _defineProperty(this, "validateForTermination", function (id, index) {
3748
- if (!_this.iwiH()) {
3748
+ if (!_this.wPzN()) {
3749
3749
  return;
3750
3750
  }
3751
- _this.DCuT.validateForTermination(id, index);
3751
+ _this.HyVs.validateForTermination(id, index);
3752
3752
  });
3753
3753
  _defineProperty(this, "validateForTerminationAttributes", function (user, session) {
3754
- return _this.DCuT.validateForTerminationAttributes(user, session);
3754
+ return _this.HyVs.validateForTerminationAttributes(user, session);
3755
3755
  });
3756
3756
  _defineProperty(this, "updateCount", function (id) {
3757
3757
  try {
@@ -3760,25 +3760,25 @@
3760
3760
  }
3761
3761
  _this.incrementFrequencies(id);
3762
3762
  _this.setQeState(id);
3763
- _this.DCuT.RQvg(id);
3763
+ _this.HyVs.IAEG(id);
3764
3764
  } catch (e) {
3765
3765
  console.log("Could not update the count config:".concat(e));
3766
3766
  }
3767
3767
  });
3768
3768
  _defineProperty(this, "resetFrequencyCounts", function () {
3769
- _this.DCuT.resetFrequencyCounts();
3769
+ _this.HyVs.resetFrequencyCounts();
3770
3770
  });
3771
3771
  _defineProperty(this, "getFrequencyCount", function (id) {
3772
- return _this.DCuT.getFrequencyCount(id);
3772
+ return _this.HyVs.getFrequencyCount(id);
3773
3773
  });
3774
3774
  _defineProperty(this, "registerForEvent", function (event, callback) {
3775
- _this.uUxG.zXsm(event, callback);
3775
+ _this.gWXS.wofl(event, callback);
3776
3776
  });
3777
3777
  _defineProperty(this, "unregisterFromEvent", function (event, callback) {
3778
- _this.uUxG.unregisterFromEvent(event, callback);
3778
+ _this.gWXS.unregisterFromEvent(event, callback);
3779
3779
  });
3780
3780
  _defineProperty(this, "notifyEventListener", function (event) {
3781
- _this.uUxG.YXge(event);
3781
+ _this.gWXS.xozT(event);
3782
3782
  });
3783
3783
  /**
3784
3784
  * Fetches the config from Server
@@ -3791,14 +3791,14 @@
3791
3791
  _defineProperty(this, "fetch", function (type, validateUrl, apiUrl, callback) {
3792
3792
  Apxor.getController().fetchConfiguration(type, validateUrl, apiUrl, callback);
3793
3793
  });
3794
- _defineProperty(this, "iwiH", function () {
3795
- return _this.Zogu;
3794
+ _defineProperty(this, "wPzN", function () {
3795
+ return _this.xyDu;
3796
3796
  });
3797
3797
  _defineProperty(this, "getCampaignMetaFromQueryEngine", function (campaignId) {
3798
- return _this.DCuT.EAAe(campaignId);
3798
+ return _this.HyVs.ZzjC(campaignId);
3799
3799
  });
3800
- _defineProperty(this, "ihPs", function () {
3801
- return _this.eElz;
3800
+ _defineProperty(this, "TpGv", function () {
3801
+ return _this.azNS;
3802
3802
  });
3803
3803
  if (!CE.instance) {
3804
3804
  CE.instance = this;
@@ -3822,7 +3822,7 @@
3822
3822
  OVERALL: 0,
3823
3823
  DATES: {}
3824
3824
  };
3825
- if (this.eElz) this._qeState[id].DATES[this.eElz] = 0;
3825
+ if (this.azNS) this._qeState[id].DATES[this.azNS] = 0;
3826
3826
  this.setQeState(id);
3827
3827
  }
3828
3828
  } catch (e) {
@@ -3841,12 +3841,12 @@
3841
3841
 
3842
3842
  // Increment the DATES count for this particular date by 1. If the date changes reset.
3843
3843
  var currentDate = getDateInDDMMYYYY();
3844
- if (currentDate !== this.eElz || !(configFrequency.DATES && configFrequency.DATES[currentDate])) {
3845
- this.eElz = currentDate;
3844
+ if (currentDate !== this.azNS || !(configFrequency.DATES && configFrequency.DATES[currentDate])) {
3845
+ this.azNS = currentDate;
3846
3846
  configFrequency.DATES = {};
3847
- configFrequency.DATES[this.eElz] = 0;
3847
+ configFrequency.DATES[this.azNS] = 0;
3848
3848
  }
3849
- configFrequency.DATES[this.eElz] = configFrequency.DATES[this.eElz] + 1;
3849
+ configFrequency.DATES[this.azNS] = configFrequency.DATES[this.azNS] + 1;
3850
3850
  }
3851
3851
  }], [{
3852
3852
  key: "getInstance",