@dhis2/expression-parser 1.1.7 → 1.1.9

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.
@@ -413,7 +413,7 @@
413
413
  return joinToString(filterNotNull(values), '');
414
414
  }
415
415
  function d2_count(value) {
416
- var tmp1_safe_receiver = value == null ? null : value.d1c_1;
416
+ var tmp1_safe_receiver = value == null ? null : value.c1c_1;
417
417
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o();
418
418
  return tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs;
419
419
  }
@@ -425,7 +425,7 @@
425
425
  var tmp$ret$0;
426
426
  $l$block: {
427
427
  // Inline function 'kotlin.collections.count' call
428
- var this_0 = value.d1c_1;
428
+ var this_0 = value.c1c_1;
429
429
  var tmp_0;
430
430
  if (isInterface(this_0, Collection)) {
431
431
  tmp_0 = this_0.m();
@@ -453,7 +453,7 @@
453
453
  return tmp;
454
454
  }
455
455
  function d2_countIfZeroPos(value) {
456
- var tmp1_safe_receiver = value == null ? null : value.d1c_1;
456
+ var tmp1_safe_receiver = value == null ? null : value.c1c_1;
457
457
  var tmp;
458
458
  if (tmp1_safe_receiver == null) {
459
459
  tmp = null;
@@ -525,7 +525,7 @@
525
525
  return roles.r(role);
526
526
  }
527
527
  function d2_hasValue(value) {
528
- return !((value == null ? null : value.c1c_1) == null);
528
+ return !((value == null ? null : value.b1c_1) == null);
529
529
  }
530
530
  function d2_inOrgUnitGroup(group, orgUnit, supplementaryValues) {
531
531
  // Inline function 'kotlin.collections.get' call
@@ -534,7 +534,7 @@
534
534
  if (orgUnit == null) {
535
535
  tmp = '';
536
536
  } else {
537
- var tmp0_safe_receiver = orgUnit.c1c_1;
537
+ var tmp0_safe_receiver = orgUnit.b1c_1;
538
538
  tmp = tmp0_safe_receiver == null ? null : replace(tmp0_safe_receiver, "'", '');
539
539
  }
540
540
  var uid = tmp;
@@ -542,10 +542,10 @@
542
542
  }
543
543
  function d2_lastEventDate(value) {
544
544
  var tmp;
545
- if ((value == null ? null : value.e1c_1) == null) {
545
+ if ((value == null ? null : value.d1c_1) == null) {
546
546
  tmp = null;
547
547
  } else {
548
- tmp = Companion_getInstance_0().ul(value.e1c_1);
548
+ tmp = Companion_getInstance_0().ul(value.d1c_1);
549
549
  }
550
550
  return tmp;
551
551
  }
@@ -573,7 +573,7 @@
573
573
  var tmp$ret$0;
574
574
  $l$block: {
575
575
  // Inline function 'kotlin.collections.maxOfOrNull' call
576
- var iterator = value.d1c_1.j();
576
+ var iterator = value.c1c_1.j();
577
577
  if (!iterator.k()) {
578
578
  tmp$ret$0 = null;
579
579
  break $l$block;
@@ -619,7 +619,7 @@
619
619
  var tmp$ret$0;
620
620
  $l$block: {
621
621
  // Inline function 'kotlin.collections.minOfOrNull' call
622
- var iterator = value.d1c_1.j();
622
+ var iterator = value.c1c_1.j();
623
623
  if (!iterator.k()) {
624
624
  tmp$ret$0 = null;
625
625
  break $l$block;
@@ -3882,7 +3882,7 @@
3882
3882
  if (value == null)
3883
3883
  return null;
3884
3884
  if (value instanceof VariableValue)
3885
- return this.z1b(this.y1b(value));
3885
+ return value.b1c_1 == null ? null : this.z1b(this.y1b(value));
3886
3886
  if (value instanceof LocalDate)
3887
3887
  return value;
3888
3888
  if (!(value == null) ? typeof value === 'string' : false)
@@ -3891,11 +3891,11 @@
3891
3891
  return toLocalDateTime(value, Companion_getInstance_1().dm()).am();
3892
3892
  throw IllegalArgumentException_init_$Create$("Count not coerce to date: '" + toString_0(value) + "'");
3893
3893
  };
3894
- protoOf(Companion_7).a1c = function (value) {
3894
+ protoOf(Companion_7).e1c = function (value) {
3895
3895
  if (value == null)
3896
3896
  return null;
3897
3897
  if (value instanceof VariableValue)
3898
- return this.a1c(this.y1b(value));
3898
+ return this.e1c(this.y1b(value));
3899
3899
  if (isNumber(value))
3900
3900
  return isNonFractionValue(this, value) ? numberToInt(value).toString() : toString(value);
3901
3901
  return toString(value);
@@ -3905,7 +3905,7 @@
3905
3905
  return null;
3906
3906
  var tmp;
3907
3907
  if (value instanceof VariableValue) {
3908
- switch (value.b1c_1.h2_1) {
3908
+ switch (value.a1c_1.h2_1) {
3909
3909
  case 1:
3910
3910
  tmp = this.s13(value.f1c());
3911
3911
  break;
@@ -3916,7 +3916,7 @@
3916
3916
  tmp = this.z1b(value.f1c());
3917
3917
  break;
3918
3918
  default:
3919
- tmp = this.a1c(value.f1c());
3919
+ tmp = this.e1c(value.f1c());
3920
3920
  break;
3921
3921
  }
3922
3922
  } else {
@@ -4052,7 +4052,7 @@
4052
4052
  var value = $data.s10_1.d2(variable.c15(0).v14());
4053
4053
  var tmp;
4054
4054
  if (!(value == null)) {
4055
- (variable instanceof VariableNode ? variable : THROW_CCE()).s19(value.b1c_1);
4055
+ (variable instanceof VariableNode ? variable : THROW_CCE()).s19(value.a1c_1);
4056
4056
  tmp = Unit_instance;
4057
4057
  }
4058
4058
  return Unit_instance;
@@ -4607,7 +4607,7 @@
4607
4607
  }
4608
4608
  function Typed$Companion$toStringTypeCoercion$ref($boundThis) {
4609
4609
  var l = function (p0) {
4610
- return $boundThis.a1c(p0);
4610
+ return $boundThis.e1c(p0);
4611
4611
  };
4612
4612
  l.callableName = 'toStringTypeCoercion';
4613
4613
  return l;
@@ -4778,155 +4778,171 @@
4778
4778
  if (fnInfo === NamedFunction_subExpression_getInstance()) {
4779
4779
  tmp = null;
4780
4780
  } else {
4781
+ var tmp_0;
4781
4782
  switch (fnInfo.h2_1) {
4782
4783
  case 0:
4783
- tmp = this.r1c_1.px(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4784
+ tmp_0 = this.r1c_1.px(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4784
4785
  break;
4785
4786
  case 1:
4786
- tmp = this.r1c_1.qx(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4787
+ tmp_0 = this.r1c_1.qx(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4787
4788
  break;
4788
4789
  case 2:
4789
- tmp = this.r1c_1.rx(evalToMixed_0(this, fn.f15()));
4790
+ tmp_0 = this.r1c_1.rx(evalToMixed_0(this, fn.f15()));
4790
4791
  break;
4791
4792
  case 3:
4792
- tmp = this.r1c_1.sx(evalToNumbers(this, fn.f15()));
4793
+ tmp_0 = this.r1c_1.sx(evalToNumbers(this, fn.f15()));
4793
4794
  break;
4794
4795
  case 4:
4795
- tmp = this.r1c_1.tx(this.v1c(fn.c15(0)), evalToMixed(this, fn.c15(1)), evalToMixed(this, fn.c15(2)));
4796
+ tmp_0 = this.r1c_1.tx(this.v1c(fn.c15(0)), evalToMixed(this, fn.c15(1)), evalToMixed(this, fn.c15(2)));
4796
4797
  break;
4797
4798
  case 5:
4798
- tmp = this.r1c_1.ux(evalToMixed(this, fn.c15(0)));
4799
+ tmp_0 = this.r1c_1.ux(evalToMixed(this, fn.c15(0)));
4799
4800
  break;
4800
4801
  case 6:
4801
- tmp = this.r1c_1.vx(evalToMixed(this, fn.c15(0)));
4802
+ tmp_0 = this.r1c_1.vx(evalToMixed(this, fn.c15(0)));
4802
4803
  break;
4803
4804
  case 7:
4804
- tmp = this.r1c_1.wx(evalToNumbers(this, fn.f15()));
4805
+ tmp_0 = this.r1c_1.wx(evalToNumbers(this, fn.f15()));
4805
4806
  break;
4806
4807
  case 8:
4807
- tmp = fn.b15() === 1 ? this.r1c_1.xx(this.u1c(fn.c15(0))) : this.r1c_1.xx(this.u1c(fn.c15(0))) / this.r1c_1.xx(this.u1c(fn.c15(1)));
4808
+ tmp_0 = fn.b15() === 1 ? this.r1c_1.xx(this.u1c(fn.c15(0))) : this.r1c_1.xx(this.u1c(fn.c15(0))) / this.r1c_1.xx(this.u1c(fn.c15(1)));
4808
4809
  break;
4809
4810
  case 9:
4810
- tmp = this.r1c_1.yx(this.u1c(fn.c15(0)));
4811
+ tmp_0 = this.r1c_1.yx(this.u1c(fn.c15(0)));
4811
4812
  break;
4812
4813
  case 14:
4813
- tmp = this.r1c_1.zx(this.u1c(fn.c15(0)));
4814
+ tmp_0 = this.r1c_1.zx(this.u1c(fn.c15(0)));
4814
4815
  break;
4815
4816
  case 29:
4816
- tmp = this.r1c_1.ny(this.a1d(fn.c15(0)), this.u1c(fn.c15(1)));
4817
+ tmp_0 = this.r1c_1.ny(this.a1d(fn.c15(0)), this.u1c(fn.c15(1)));
4817
4818
  break;
4818
4819
  case 30:
4819
- tmp = this.r1c_1.oy(this.u1c(fn.c15(0)));
4820
+ tmp_0 = this.r1c_1.oy(this.u1c(fn.c15(0)));
4820
4821
  break;
4821
4822
  case 31:
4822
- tmp = this.r1c_1.py(evalToStrings(this, fn.f15()));
4823
+ tmp_0 = this.r1c_1.py(evalToStrings(this, fn.f15()));
4823
4824
  break;
4824
4825
  case 33:
4825
- tmp = this.r1c_1.px(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4826
+ tmp_0 = this.r1c_1.px(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4826
4827
  break;
4827
4828
  case 34:
4828
- tmp = this.r1c_1.qx(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4829
+ tmp_0 = this.r1c_1.qx(this.w1c(fn.c15(0)), drop(evalToStrings(this, fn.f15()), 1));
4829
4830
  break;
4830
4831
  case 35:
4831
- tmp = this.r1c_1.qy(evalToVar(this, fn.c15(0)));
4832
+ tmp_0 = this.r1c_1.qy(evalToVar(this, fn.c15(0)));
4832
4833
  break;
4833
4834
  case 37:
4834
- tmp = this.r1c_1.ry(evalToVar(this, fn.c15(0)), this.w1c(fn.c15(1)));
4835
+ tmp_0 = this.r1c_1.ry(evalToVar(this, fn.c15(0)), this.w1c(fn.c15(1)));
4835
4836
  break;
4836
4837
  case 38:
4837
- tmp = this.r1c_1.sy(evalToVar(this, fn.c15(0)));
4838
+ tmp_0 = this.r1c_1.sy(evalToVar(this, fn.c15(0)));
4838
4839
  break;
4839
4840
  case 39:
4840
- tmp = this.r1c_1.ty(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4841
+ tmp_0 = this.r1c_1.ty(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4841
4842
  break;
4842
4843
  case 40:
4843
- tmp = this.r1c_1.uy(this.w1c(fn.c15(0)), this.w1c(fn.c15(1)));
4844
+ tmp_0 = this.r1c_1.uy(this.w1c(fn.c15(0)), this.w1c(fn.c15(1)));
4844
4845
  break;
4845
4846
  case 41:
4846
- tmp = this.r1c_1.vy(this.u1c(fn.c15(0)));
4847
+ tmp_0 = this.r1c_1.vy(this.u1c(fn.c15(0)));
4847
4848
  break;
4848
4849
  case 42:
4849
- tmp = this.r1c_1.wy(this.w1c(fn.c15(0)), this.s1c_1.u10_1.d2('USER'));
4850
+ tmp_0 = this.r1c_1.wy(this.w1c(fn.c15(0)), this.s1c_1.u10_1.d2('USER'));
4850
4851
  break;
4851
4852
  case 43:
4852
- tmp = this.r1c_1.xy(evalToVar(this, fn.c15(0)));
4853
+ var tmp_1;
4854
+ try {
4855
+ tmp_1 = this.r1c_1.xy(evalToVar(this, fn.c15(0)));
4856
+ } catch ($p) {
4857
+ var tmp_2;
4858
+ if ($p instanceof IllegalExpressionException) {
4859
+ var e = $p;
4860
+ tmp_2 = false;
4861
+ } else {
4862
+ throw $p;
4863
+ }
4864
+ tmp_1 = tmp_2;
4865
+ }
4866
+
4867
+ tmp_0 = tmp_1;
4853
4868
  break;
4854
4869
  case 44:
4855
- tmp = this.r1c_1.yy(this.w1c(fn.c15(0)), this.s1c_1.s10_1.d2('org_unit'), this.s1c_1.u10_1);
4870
+ tmp_0 = this.r1c_1.yy(this.w1c(fn.c15(0)), this.s1c_1.s10_1.d2('org_unit'), this.s1c_1.u10_1);
4856
4871
  break;
4857
4872
  case 45:
4858
- tmp = this.r1c_1.zy(evalToVar(this, fn.c15(0)));
4873
+ tmp_0 = this.r1c_1.zy(evalToVar(this, fn.c15(0)));
4859
4874
  break;
4860
4875
  case 46:
4861
- tmp = this.r1c_1.az(this.w1c(fn.c15(0)), evalToInteger(this, fn.c15(1)));
4876
+ tmp_0 = this.r1c_1.az(this.w1c(fn.c15(0)), evalToInteger(this, fn.c15(1)));
4862
4877
  break;
4863
4878
  case 47:
4864
- tmp = this.r1c_1.bz(this.w1c(fn.c15(0)));
4879
+ tmp_0 = this.r1c_1.bz(this.w1c(fn.c15(0)));
4865
4880
  break;
4866
4881
  case 48:
4867
- tmp = this.r1c_1.cz(evalToVar(this, fn.c15(0)));
4882
+ tmp_0 = this.r1c_1.cz(evalToVar(this, fn.c15(0)));
4868
4883
  break;
4869
4884
  case 49:
4870
- tmp = this.r1c_1.dz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4885
+ tmp_0 = this.r1c_1.dz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4871
4886
  break;
4872
4887
  case 50:
4873
- tmp = this.r1c_1.ez(evalToVar(this, fn.c15(0)));
4888
+ tmp_0 = this.r1c_1.ez(evalToVar(this, fn.c15(0)));
4874
4889
  break;
4875
4890
  case 51:
4876
- tmp = this.r1c_1.fz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)));
4891
+ tmp_0 = this.r1c_1.fz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)));
4877
4892
  break;
4878
4893
  case 52:
4879
- tmp = this.r1c_1.gz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4894
+ tmp_0 = this.r1c_1.gz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4880
4895
  break;
4881
4896
  case 53:
4882
- tmp = this.r1c_1.hz(this.u1c(fn.c15(0)));
4897
+ tmp_0 = this.r1c_1.hz(this.u1c(fn.c15(0)));
4883
4898
  break;
4884
4899
  case 55:
4885
- tmp = this.r1c_1.iz(this.w1c(fn.c15(0)), evalToInteger(this, fn.c15(1)));
4900
+ tmp_0 = this.r1c_1.iz(this.w1c(fn.c15(0)), evalToInteger(this, fn.c15(1)));
4886
4901
  break;
4887
4902
  case 56:
4888
- tmp = this.r1c_1.jz(this.u1c(fn.c15(0)), fn.b15() <= 1 ? 0 : evalToInteger(this, fn.c15(1)));
4903
+ tmp_0 = this.r1c_1.jz(this.u1c(fn.c15(0)), fn.b15() <= 1 ? 0 : evalToInteger(this, fn.c15(1)));
4889
4904
  break;
4890
4905
  case 57:
4891
- tmp = this.r1c_1.kz(this.w1c(fn.c15(0)), this.w1c(fn.c15(1)), evalToInteger(this, fn.c15(2)));
4906
+ tmp_0 = this.r1c_1.kz(this.w1c(fn.c15(0)), this.w1c(fn.c15(1)), evalToInteger(this, fn.c15(2)));
4892
4907
  break;
4893
4908
  case 58:
4894
- tmp = this.r1c_1.lz(this.w1c(fn.c15(0)), evalToInteger(this, fn.c15(1)), evalToInteger(this, fn.c15(2)));
4909
+ tmp_0 = this.r1c_1.lz(this.w1c(fn.c15(0)), evalToInteger(this, fn.c15(1)), evalToInteger(this, fn.c15(2)));
4895
4910
  break;
4896
4911
  case 59:
4897
- tmp = this.r1c_1.mz(this.w1c(fn.c15(0)), this.w1c(fn.c15(1)));
4912
+ tmp_0 = this.r1c_1.mz(this.w1c(fn.c15(0)), this.w1c(fn.c15(1)));
4898
4913
  break;
4899
4914
  case 60:
4900
- tmp = this.r1c_1.nz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4915
+ tmp_0 = this.r1c_1.nz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4901
4916
  break;
4902
4917
  case 61:
4903
- tmp = this.r1c_1.oz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4918
+ tmp_0 = this.r1c_1.oz(this.a1d(fn.c15(0)), this.a1d(fn.c15(1)));
4904
4919
  break;
4905
4920
  case 62:
4906
- tmp = this.r1c_1.pz(this.u1c(fn.c15(0)));
4921
+ tmp_0 = this.r1c_1.pz(this.u1c(fn.c15(0)));
4907
4922
  break;
4908
4923
  case 63:
4909
- tmp = this.r1c_1.qz(evalToNumbers(this, fn.f15()));
4924
+ tmp_0 = this.r1c_1.qz(evalToNumbers(this, fn.f15()));
4910
4925
  break;
4911
4926
  case 64:
4912
- tmp = this.r1c_1.rz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)), this.w1c(fn.c15(2)));
4927
+ tmp_0 = this.r1c_1.rz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)), this.w1c(fn.c15(2)));
4913
4928
  break;
4914
4929
  case 65:
4915
- tmp = this.r1c_1.sz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)), this.w1c(fn.c15(2)));
4930
+ tmp_0 = this.r1c_1.sz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)), this.w1c(fn.c15(2)));
4916
4931
  break;
4917
4932
  case 66:
4918
- tmp = this.r1c_1.tz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)), this.w1c(fn.c15(2)));
4933
+ tmp_0 = this.r1c_1.tz(this.u1c(fn.c15(0)), this.u1c(fn.c15(1)), this.w1c(fn.c15(2)));
4919
4934
  break;
4920
4935
  case 27:
4921
- tmp = this.r1c_1.ly(this.u1c(fn.c15(0)), fn.b15() > 1 ? this.u1c(fn.c15(1)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'avg')).s14(fn.c15(0))), fn.b15() > 2 ? this.u1c(fn.c15(2)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'stddev')).s14(fn.c15(0))));
4936
+ tmp_0 = this.r1c_1.ly(this.u1c(fn.c15(0)), fn.b15() > 1 ? this.u1c(fn.c15(1)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'avg')).s14(fn.c15(0))), fn.b15() > 2 ? this.u1c(fn.c15(2)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'stddev')).s14(fn.c15(0))));
4922
4937
  break;
4923
4938
  case 28:
4924
- tmp = this.r1c_1.my(this.u1c(fn.c15(0)), fn.b15() > 1 ? this.u1c(fn.c15(1)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'avg')).s14(fn.c15(0))), fn.b15() > 2 ? this.u1c(fn.c15(2)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'stddev')).s14(fn.c15(0))));
4939
+ tmp_0 = this.r1c_1.my(this.u1c(fn.c15(0)), fn.b15() > 1 ? this.u1c(fn.c15(1)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'avg')).s14(fn.c15(0))), fn.b15() > 2 ? this.u1c(fn.c15(2)) : evalAggFunction(this, (new FunctionNode(NodeType_FUNCTION_getInstance(), 'stddev')).s14(fn.c15(0))));
4925
4940
  break;
4926
4941
  default:
4927
- tmp = this.r1c_1.ox(fnInfo.k14());
4942
+ tmp_0 = this.r1c_1.ox(fnInfo.k14());
4928
4943
  break;
4929
4944
  }
4945
+ tmp = tmp_0;
4930
4946
  }
4931
4947
  return tmp;
4932
4948
  };
@@ -11885,32 +11901,32 @@
11885
11901
  return VariableValue_init_$Init$(valueType, objectCreate(protoOf(VariableValue)));
11886
11902
  }
11887
11903
  function VariableValue(valueType, value, candidates, eventDate) {
11888
- this.b1c_1 = valueType;
11889
- this.c1c_1 = value;
11890
- this.d1c_1 = candidates;
11891
- this.e1c_1 = eventDate;
11904
+ this.a1c_1 = valueType;
11905
+ this.b1c_1 = value;
11906
+ this.c1c_1 = candidates;
11907
+ this.d1c_1 = eventDate;
11892
11908
  // Inline function 'kotlin.require' call
11893
11909
  // Inline function 'kotlin.contracts.contract' call
11894
11910
  // Inline function 'kotlin.require' call
11895
11911
  // Inline function 'kotlin.contracts.contract' call
11896
- if (!(!this.b1c_1.equals(ValueType_SAME_getInstance()) && !this.b1c_1.equals(ValueType_MIXED_getInstance()))) {
11912
+ if (!(!this.a1c_1.equals(ValueType_SAME_getInstance()) && !this.a1c_1.equals(ValueType_MIXED_getInstance()))) {
11897
11913
  // Inline function 'kotlin.require.<anonymous>' call
11898
11914
  var message = 'Failed requirement.';
11899
11915
  throw IllegalArgumentException_init_$Create$(toString(message));
11900
11916
  }
11901
11917
  }
11902
11918
  protoOf(VariableValue).f1c = function () {
11903
- var tmp0_elvis_lhs = this.c1c_1;
11904
- return tmp0_elvis_lhs == null ? this.b1c_1.t1g_1 : tmp0_elvis_lhs;
11919
+ var tmp0_elvis_lhs = this.b1c_1;
11920
+ return tmp0_elvis_lhs == null ? this.a1c_1.t1g_1 : tmp0_elvis_lhs;
11905
11921
  };
11906
11922
  protoOf(VariableValue).toString = function () {
11907
- return 'VariableValue(valueType=' + this.b1c_1.toString() + ', value=' + this.c1c_1 + ', candidates=' + toString(this.d1c_1) + ', eventDate=' + this.e1c_1 + ')';
11923
+ return 'VariableValue(valueType=' + this.a1c_1.toString() + ', value=' + this.b1c_1 + ', candidates=' + toString(this.c1c_1) + ', eventDate=' + this.d1c_1 + ')';
11908
11924
  };
11909
11925
  protoOf(VariableValue).hashCode = function () {
11910
- var result = this.b1c_1.hashCode();
11911
- result = imul(result, 31) + (this.c1c_1 == null ? 0 : getStringHashCode(this.c1c_1)) | 0;
11912
- result = imul(result, 31) + hashCode(this.d1c_1) | 0;
11913
- result = imul(result, 31) + (this.e1c_1 == null ? 0 : getStringHashCode(this.e1c_1)) | 0;
11926
+ var result = this.a1c_1.hashCode();
11927
+ result = imul(result, 31) + (this.b1c_1 == null ? 0 : getStringHashCode(this.b1c_1)) | 0;
11928
+ result = imul(result, 31) + hashCode(this.c1c_1) | 0;
11929
+ result = imul(result, 31) + (this.d1c_1 == null ? 0 : getStringHashCode(this.d1c_1)) | 0;
11914
11930
  return result;
11915
11931
  };
11916
11932
  protoOf(VariableValue).equals = function (other) {
@@ -11919,13 +11935,13 @@
11919
11935
  if (!(other instanceof VariableValue))
11920
11936
  return false;
11921
11937
  var tmp0_other_with_cast = other instanceof VariableValue ? other : THROW_CCE();
11922
- if (!this.b1c_1.equals(tmp0_other_with_cast.b1c_1))
11938
+ if (!this.a1c_1.equals(tmp0_other_with_cast.a1c_1))
11923
11939
  return false;
11924
- if (!(this.c1c_1 == tmp0_other_with_cast.c1c_1))
11940
+ if (!(this.b1c_1 == tmp0_other_with_cast.b1c_1))
11925
11941
  return false;
11926
- if (!equals(this.d1c_1, tmp0_other_with_cast.d1c_1))
11942
+ if (!equals(this.c1c_1, tmp0_other_with_cast.c1c_1))
11927
11943
  return false;
11928
- if (!(this.e1c_1 == tmp0_other_with_cast.e1c_1))
11944
+ if (!(this.d1c_1 == tmp0_other_with_cast.d1c_1))
11929
11945
  return false;
11930
11946
  return true;
11931
11947
  };
@@ -13141,9 +13157,9 @@
13141
13157
  this.y11_1 = listOf([fn(this, NamedFunction_orgUnit_ancestor_getInstance(), [this.h11_1.t1j()]), fn(this, NamedFunction_orgUnit_dataSet_getInstance(), [this.h11_1.t1j()]), fn(this, NamedFunction_orgUnit_group_getInstance(), [this.h11_1.t1j()]), fn(this, NamedFunction_orgUnit_program_getInstance(), [this.h11_1.t1j()])]);
13142
13158
  this.z11_1 = listOf([fn(this, NamedFunction_avg_getInstance(), [this.k11_1]), fn(this, NamedFunction_count_getInstance(), [this.k11_1]), fn(this, NamedFunction_max_getInstance(), [this.k11_1]), fn(this, NamedFunction_min_getInstance(), [this.k11_1]), fn(this, NamedFunction_stddev_getInstance(), [this.k11_1]), fn(this, NamedFunction_sum_getInstance(), [this.k11_1])]);
13143
13159
  this.a12_1 = listOf([fn(this, NamedFunction_median_getInstance(), [this.k11_1]), fn(this, NamedFunction_percentileCont_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_stddevPop_getInstance(), [this.k11_1]), fn(this, NamedFunction_stddevSamp_getInstance(), [this.k11_1]), fn(this, NamedFunction_variance_getInstance(), [this.k11_1])]);
13144
- this.b12_1 = listOf([fn(this, NamedFunction_d2_contains_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_containsItems_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_count_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_countIfValue_getInstance(), [this.l11_1, this.k11_1]), fn(this, NamedFunction_d2_daysBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_hasValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_maxValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_minValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_monthsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_oizp_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_weeksBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_yearsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zing_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_zpvc_getInstance(), [this.k11_1.t1j()])]);
13160
+ this.b12_1 = listOf([fn(this, NamedFunction_d2_condition_getInstance(), [this.f11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_contains_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_containsItems_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_count_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_countIfValue_getInstance(), [this.l11_1, this.k11_1]), fn(this, NamedFunction_d2_daysBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_hasValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_maxValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_minValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_monthsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_oizp_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_weeksBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_yearsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zing_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_zpvc_getInstance(), [this.k11_1.t1j()])]);
13145
13161
  this.c12_1 = listOf([fn(this, NamedFunction_d2_addDays_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_ceil_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_concatenate_getInstance(), [this.k11_1.t1j()]), fn(this, NamedFunction_d2_countIfZeroPos_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_extractDataMatrixValue_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_floor_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_hasUserRole_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_inOrgUnitGroup_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_lastEventDate_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_left_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_length_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_modulus_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_right_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_round_getInstance(), [this.k11_1, this.g11_1.s1j()]), fn(this, NamedFunction_d2_split_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_substring_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_validatePattern_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zScoreHFA_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zScoreWFA_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zScoreWFH_getInstance(), [this.k11_1, this.k11_1, this.k11_1])]);
13146
- this.d12_1 = listOf([fn(this, NamedFunction_d2_condition_getInstance(), [this.f11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_countIfCondition_getInstance(), [this.k11_1, this.f11_1]), fn(this, NamedFunction_d2_minutesBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_relationshipCount_getInstance(), [this.h11_1.u1j().s1j()])]);
13162
+ this.d12_1 = listOf([fn(this, NamedFunction_d2_countIfCondition_getInstance(), [this.k11_1, this.f11_1]), fn(this, NamedFunction_d2_minutesBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_relationshipCount_getInstance(), [this.h11_1.u1j().s1j()])]);
13147
13163
  this.e12_1 = listOf([Companion_instance_19.e1k(NodeType_NULL_getInstance(), 'null'), Companion_instance_19.e1k(NodeType_BOOLEAN_getInstance(), 'true'), Companion_instance_19.e1k(NodeType_BOOLEAN_getInstance(), 'false')]);
13148
13164
  this.f12_1 = this.m11_1.k1j(DataItemType_DATA_ELEMENT_getInstance().s1b_1);
13149
13165
  this.g12_1 = this.n11_1.k1j(DataItemType_ATTRIBUTE_getInstance().s1b_1);