@bigbinary/neeto-form-frontend 1.0.37 → 1.0.38

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.
package/dist/index.cjs.js CHANGED
@@ -6493,7 +6493,7 @@ function _objectWithoutProperties$1(source, excluded) {
6493
6493
  return target;
6494
6494
  }
6495
6495
 
6496
- var _excluded$m = ["size"],
6496
+ var _excluded$n = ["size"],
6497
6497
  _excluded2$3 = ["size"],
6498
6498
  _excluded3$2 = ["size"],
6499
6499
  _excluded4$1 = ["size"],
@@ -6933,7 +6933,7 @@ var Star = function Star(props) {
6933
6933
  var _ref = (cov_3ymiqznmu().s[1]++, props),
6934
6934
  _ref$size = _ref.size,
6935
6935
  size = _ref$size === void 0 ? (cov_3ymiqznmu().b[0][0]++, 20) : _ref$size,
6936
- other = _objectWithoutProperties$1(_ref, _excluded$m);
6936
+ other = _objectWithoutProperties$1(_ref, _excluded$n);
6937
6937
  cov_3ymiqznmu().s[2]++;
6938
6938
  return /*#__PURE__*/React__default["default"].createElement("svg", _extends$9({
6939
6939
  fill: "none",
@@ -7070,7 +7070,7 @@ var Trophy = function Trophy(_ref5) {
7070
7070
 
7071
7071
  function cov_2qs8napxwn() {
7072
7072
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/constants.jsx";
7073
- var hash = "ff4b828f21f91d7e4af0da0c25671135ec9b988a";
7073
+ var hash = "56d8a9922e5231d780837fe7e89f5aae3a98ccbe";
7074
7074
  var global = new Function("return this")();
7075
7075
  var gcv = "__coverage__";
7076
7076
  var coverageData = {
@@ -7082,57 +7082,57 @@ function cov_2qs8napxwn() {
7082
7082
  column: 29
7083
7083
  },
7084
7084
  end: {
7085
- line: 37,
7085
+ line: 38,
7086
7086
  column: 1
7087
7087
  }
7088
7088
  },
7089
7089
  "1": {
7090
7090
  start: {
7091
- line: 39,
7091
+ line: 40,
7092
7092
  column: 29
7093
7093
  },
7094
7094
  end: {
7095
- line: 43,
7095
+ line: 44,
7096
7096
  column: 1
7097
7097
  }
7098
7098
  },
7099
7099
  "2": {
7100
7100
  start: {
7101
- line: 45,
7101
+ line: 46,
7102
7102
  column: 42
7103
7103
  },
7104
7104
  end: {
7105
- line: 45,
7105
+ line: 46,
7106
7106
  column: 72
7107
7107
  }
7108
7108
  },
7109
7109
  "3": {
7110
7110
  start: {
7111
- line: 47,
7111
+ line: 48,
7112
7112
  column: 30
7113
7113
  },
7114
7114
  end: {
7115
- line: 63,
7115
+ line: 64,
7116
7116
  column: 1
7117
7117
  }
7118
7118
  },
7119
7119
  "4": {
7120
7120
  start: {
7121
- line: 65,
7121
+ line: 66,
7122
7122
  column: 35
7123
7123
  },
7124
7124
  end: {
7125
- line: 65,
7125
+ line: 66,
7126
7126
  column: 49
7127
7127
  }
7128
7128
  },
7129
7129
  "5": {
7130
7130
  start: {
7131
- line: 67,
7131
+ line: 68,
7132
7132
  column: 25
7133
7133
  },
7134
7134
  end: {
7135
- line: 73,
7135
+ line: 74,
7136
7136
  column: 1
7137
7137
  }
7138
7138
  }
@@ -7150,7 +7150,7 @@ function cov_2qs8napxwn() {
7150
7150
  f: {},
7151
7151
  b: {},
7152
7152
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
7153
- hash: "ff4b828f21f91d7e4af0da0c25671135ec9b988a"
7153
+ hash: "56d8a9922e5231d780837fe7e89f5aae3a98ccbe"
7154
7154
  };
7155
7155
  var coverage = global[gcv] || (global[gcv] = {});
7156
7156
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -7210,6 +7210,10 @@ var QUESTION_KIND = (cov_2qs8napxwn().s[0]++, {
7210
7210
  value: "termsandcondition",
7211
7211
  type: "checkbox"
7212
7212
  },
7213
+ CONDITION: {
7214
+ value: "condition",
7215
+ type: "checkbox"
7216
+ },
7213
7217
  DATE: {
7214
7218
  value: "date"
7215
7219
  },
@@ -8457,7 +8461,7 @@ var queryClient = (cov_dn5xf8jlj().s[0]++, new QueryClient({
8457
8461
  })
8458
8462
  }));
8459
8463
 
8460
- var _excluded$l = ["formId", "preview"],
8464
+ var _excluded$m = ["formId", "preview"],
8461
8465
  _excluded3$1 = ["formId", "submissionId"];
8462
8466
  function cov_2atpj3pe74() {
8463
8467
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/hooks/useFormApi.js";
@@ -10157,7 +10161,7 @@ cov_2atpj3pe74().s[0]++;
10157
10161
  var useForm = function useForm(_ref) {
10158
10162
  var formId = _ref.formId,
10159
10163
  preview = _ref.preview,
10160
- options = _objectWithoutProperties$1(_ref, _excluded$l);
10164
+ options = _objectWithoutProperties$1(_ref, _excluded$m);
10161
10165
  cov_2atpj3pe74().f[0]++;
10162
10166
  cov_2atpj3pe74().s[1]++;
10163
10167
  return useQuery([QUERY_KEYS.QUESTIONS, preview ? (cov_2atpj3pe74().b[0][0]++, "preview/".concat(formId)) : (cov_2atpj3pe74().b[0][1]++, formId)], function () {
@@ -12395,7 +12399,7 @@ reactIs_production_min.typeOf=y;
12395
12399
  }
12396
12400
  } (reactIs));
12397
12401
 
12398
- var _excluded$k = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"],
12402
+ var _excluded$l = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"],
12399
12403
  _excluded2$2 = ["reactReduxForwardedRef"];
12400
12404
 
12401
12405
  var EMPTY_ARRAY = [];
@@ -12545,7 +12549,7 @@ _ref) {
12545
12549
  forwardRef = _ref2$forwardRef === void 0 ? false : _ref2$forwardRef,
12546
12550
  _ref2$context = _ref2.context,
12547
12551
  context = _ref2$context === void 0 ? ReactReduxContext : _ref2$context,
12548
- connectOptions = _objectWithoutPropertiesLoose$1(_ref2, _excluded$k);
12552
+ connectOptions = _objectWithoutPropertiesLoose$1(_ref2, _excluded$l);
12549
12553
 
12550
12554
  var Context = context;
12551
12555
  return function wrapWithConnect(WrappedComponent) {
@@ -12904,7 +12908,7 @@ function whenMergePropsIsOmitted(mergeProps) {
12904
12908
  }
12905
12909
  var defaultMergePropsFactories = [whenMergePropsIsFunction, whenMergePropsIsOmitted];
12906
12910
 
12907
- var _excluded$j = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"];
12911
+ var _excluded$k = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"];
12908
12912
  function impureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch) {
12909
12913
  return function impureFinalPropsSelector(state, ownProps) {
12910
12914
  return mergeProps(mapStateToProps(state, ownProps), mapDispatchToProps(dispatch, ownProps), ownProps);
@@ -12977,7 +12981,7 @@ function finalPropsSelectorFactory(dispatch, _ref2) {
12977
12981
  var initMapStateToProps = _ref2.initMapStateToProps,
12978
12982
  initMapDispatchToProps = _ref2.initMapDispatchToProps,
12979
12983
  initMergeProps = _ref2.initMergeProps,
12980
- options = _objectWithoutPropertiesLoose$1(_ref2, _excluded$j);
12984
+ options = _objectWithoutPropertiesLoose$1(_ref2, _excluded$k);
12981
12985
 
12982
12986
  var mapStateToProps = initMapStateToProps(dispatch, options);
12983
12987
  var mapDispatchToProps = initMapDispatchToProps(dispatch, options);
@@ -12987,7 +12991,7 @@ function finalPropsSelectorFactory(dispatch, _ref2) {
12987
12991
  return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);
12988
12992
  }
12989
12993
 
12990
- var _excluded$i = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"];
12994
+ var _excluded$j = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"];
12991
12995
  /*
12992
12996
  connect is a facade over connectAdvanced. It turns its args into a compatible
12993
12997
  selectorFactory, which has the signature:
@@ -13051,7 +13055,7 @@ function createConnect(_temp) {
13051
13055
  areStatePropsEqual = _ref3$areStatePropsEq === void 0 ? shallowEqual : _ref3$areStatePropsEq,
13052
13056
  _ref3$areMergedPropsE = _ref3.areMergedPropsEqual,
13053
13057
  areMergedPropsEqual = _ref3$areMergedPropsE === void 0 ? shallowEqual : _ref3$areMergedPropsE,
13054
- extraOptions = _objectWithoutPropertiesLoose$1(_ref3, _excluded$i);
13058
+ extraOptions = _objectWithoutPropertiesLoose$1(_ref3, _excluded$j);
13055
13059
 
13056
13060
  var initMapStateToProps = match$1(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');
13057
13061
  var initMapDispatchToProps = match$1(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');
@@ -22178,7 +22182,7 @@ var ListItem = function ListItem(_ref) {
22178
22182
  }, label));
22179
22183
  };
22180
22184
 
22181
- var _excluded$h = ["size", "color"],
22185
+ var _excluded$i = ["size", "color"],
22182
22186
  _excluded2$1 = ["size", "color"],
22183
22187
  _excluded3 = ["size", "color"],
22184
22188
  _excluded4 = ["size", "color"];
@@ -22498,7 +22502,7 @@ var BadSmiley = function BadSmiley(props) {
22498
22502
  var _ref = (cov_1dollm8rdo().s[1]++, props),
22499
22503
  size = _ref.size,
22500
22504
  color = _ref.color,
22501
- other = _objectWithoutProperties$1(_ref, _excluded$h);
22505
+ other = _objectWithoutProperties$1(_ref, _excluded$i);
22502
22506
  cov_1dollm8rdo().s[2]++;
22503
22507
  return /*#__PURE__*/React__default["default"].createElement("svg", _extends$9({
22504
22508
  fill: "none",
@@ -23450,6 +23454,7 @@ var common = {
23450
23454
  },
23451
23455
  "delete": "Delete",
23452
23456
  agreeTermsAndConditions: "I agree to terms & conditions mentioned below",
23457
+ agreeCondition: "I agree",
23453
23458
  mustAcceptTermsAndConditions: "You must accept the terms and conditions",
23454
23459
  email: "Email",
23455
23460
  phone: "Phone",
@@ -23481,7 +23486,8 @@ var common = {
23481
23486
  icon: "Icon",
23482
23487
  good: "Good",
23483
23488
  okay: "Okay",
23484
- bad: "Bad"
23489
+ bad: "Bad",
23490
+ no: "No"
23485
23491
  };
23486
23492
  var fields = {
23487
23493
  mcf: "Checkbox",
@@ -23499,7 +23505,8 @@ var fields = {
23499
23505
  fbf: "Feedback",
23500
23506
  meif: "Multiple email",
23501
23507
  agif: "Additional guests",
23502
- rtf: "Rich text field"
23508
+ rtf: "Rich text field",
23509
+ cf: "Condition"
23503
23510
  };
23504
23511
  var toasts = {
23505
23512
  formSubmitted: "Form has been submitted successfully!"
@@ -23640,7 +23647,7 @@ instance.use(initReactI18next).init({
23640
23647
  }
23641
23648
  });
23642
23649
 
23643
- var _excluded$g = ["maxLength"];
23650
+ var _excluded$h = ["maxLength"];
23644
23651
  function cov_6lo9nrx9t() {
23645
23652
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/InputWithMaxLength.jsx";
23646
23653
  var hash = "8addc9ae593605b6b19a3b6d1c312704df338020";
@@ -23943,7 +23950,7 @@ cov_6lo9nrx9t();
23943
23950
  cov_6lo9nrx9t().s[0]++;
23944
23951
  var InputWithMaxLength = function InputWithMaxLength(_ref) {
23945
23952
  var maxLength = _ref.maxLength,
23946
- props = _objectWithoutProperties$1(_ref, _excluded$g);
23953
+ props = _objectWithoutProperties$1(_ref, _excluded$h);
23947
23954
  cov_6lo9nrx9t().f[0]++;
23948
23955
  var _ref2 = (cov_6lo9nrx9t().s[1]++, formik.useField(props)),
23949
23956
  _ref3 = _slicedToArray$6(_ref2, 3),
@@ -23968,7 +23975,7 @@ var InputWithMaxLength = function InputWithMaxLength(_ref) {
23968
23975
  })));
23969
23976
  };
23970
23977
 
23971
- var _excluded$f = ["maxLength"];
23978
+ var _excluded$g = ["maxLength"];
23972
23979
  function cov_1c261hpheg() {
23973
23980
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/TextareaWithMaxLength.jsx";
23974
23981
  var hash = "8d7ba3715092adac47a31c8a2a6521ab7b4bbd0c";
@@ -24271,7 +24278,7 @@ cov_1c261hpheg();
24271
24278
  cov_1c261hpheg().s[0]++;
24272
24279
  var TextAreaWithMaxLength = function TextAreaWithMaxLength(_ref) {
24273
24280
  var maxLength = _ref.maxLength,
24274
- props = _objectWithoutProperties$1(_ref, _excluded$f);
24281
+ props = _objectWithoutProperties$1(_ref, _excluded$g);
24275
24282
  cov_1c261hpheg().f[0]++;
24276
24283
  var _ref2 = (cov_1c261hpheg().s[1]++, formik.useField(props)),
24277
24284
  _ref3 = _slicedToArray$6(_ref2, 3),
@@ -24414,6 +24421,162 @@ var AdditionalGuests$1 = function AdditionalGuests(_ref) {
24414
24421
  }))));
24415
24422
  };
24416
24423
 
24424
+ function cov_2kk1k5b9uc() {
24425
+ var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Condition.jsx";
24426
+ var hash = "6a9c9cbddd9ebd68d87e72710f804f94cd3cbf9d";
24427
+ var global = new Function("return this")();
24428
+ var gcv = "__coverage__";
24429
+ var coverageData = {
24430
+ path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Condition.jsx",
24431
+ statementMap: {
24432
+ "0": {
24433
+ start: {
24434
+ line: 8,
24435
+ column: 18
24436
+ },
24437
+ end: {
24438
+ line: 34,
24439
+ column: 1
24440
+ }
24441
+ },
24442
+ "1": {
24443
+ start: {
24444
+ line: 9,
24445
+ column: 16
24446
+ },
24447
+ end: {
24448
+ line: 9,
24449
+ column: 32
24450
+ }
24451
+ },
24452
+ "2": {
24453
+ start: {
24454
+ line: 11,
24455
+ column: 2
24456
+ },
24457
+ end: {
24458
+ line: 33,
24459
+ column: 4
24460
+ }
24461
+ }
24462
+ },
24463
+ fnMap: {
24464
+ "0": {
24465
+ name: "(anonymous_0)",
24466
+ decl: {
24467
+ start: {
24468
+ line: 8,
24469
+ column: 18
24470
+ },
24471
+ end: {
24472
+ line: 8,
24473
+ column: 19
24474
+ }
24475
+ },
24476
+ loc: {
24477
+ start: {
24478
+ line: 8,
24479
+ column: 44
24480
+ },
24481
+ end: {
24482
+ line: 34,
24483
+ column: 1
24484
+ }
24485
+ },
24486
+ line: 8
24487
+ }
24488
+ },
24489
+ branchMap: {
24490
+ "0": {
24491
+ loc: {
24492
+ start: {
24493
+ line: 23,
24494
+ column: 7
24495
+ },
24496
+ end: {
24497
+ line: 31,
24498
+ column: 7
24499
+ }
24500
+ },
24501
+ type: "binary-expr",
24502
+ locations: [{
24503
+ start: {
24504
+ line: 23,
24505
+ column: 7
24506
+ },
24507
+ end: {
24508
+ line: 23,
24509
+ column: 18
24510
+ }
24511
+ }, {
24512
+ start: {
24513
+ line: 24,
24514
+ column: 8
24515
+ },
24516
+ end: {
24517
+ line: 30,
24518
+ column: 14
24519
+ }
24520
+ }],
24521
+ line: 23
24522
+ }
24523
+ },
24524
+ s: {
24525
+ "0": 0,
24526
+ "1": 0,
24527
+ "2": 0
24528
+ },
24529
+ f: {
24530
+ "0": 0
24531
+ },
24532
+ b: {
24533
+ "0": [0, 0]
24534
+ },
24535
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
24536
+ hash: "6a9c9cbddd9ebd68d87e72710f804f94cd3cbf9d"
24537
+ };
24538
+ var coverage = global[gcv] || (global[gcv] = {});
24539
+ if (!coverage[path] || coverage[path].hash !== hash) {
24540
+ coverage[path] = coverageData;
24541
+ }
24542
+ var actualCoverage = coverage[path];
24543
+ {
24544
+ // @ts-ignore
24545
+ cov_2kk1k5b9uc = function () {
24546
+ return actualCoverage;
24547
+ };
24548
+ }
24549
+ return actualCoverage;
24550
+ }
24551
+ cov_2kk1k5b9uc();
24552
+ cov_2kk1k5b9uc().s[0]++;
24553
+ var Condition$3 = function Condition(_ref) {
24554
+ var name = _ref.name,
24555
+ isRequired = _ref.isRequired;
24556
+ cov_2kk1k5b9uc().f[0]++;
24557
+ var _ref2 = (cov_2kk1k5b9uc().s[1]++, useTranslation()),
24558
+ t = _ref2.t;
24559
+ cov_2kk1k5b9uc().s[2]++;
24560
+ return /*#__PURE__*/React__default["default"].createElement("div", {
24561
+ className: "space-y-4"
24562
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
24563
+ className: "grid grid-cols-2 gap-4"
24564
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
24565
+ className: "col-span-2"
24566
+ }, /*#__PURE__*/React__default["default"].createElement(TextAreaWithMaxLength, {
24567
+ required: true,
24568
+ label: t("questions.common.questionFields.field.question"),
24569
+ name: "".concat(name, ".label"),
24570
+ rows: 1
24571
+ }))), (cov_2kk1k5b9uc().b[0][0]++, !isRequired) && (cov_2kk1k5b9uc().b[0][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
24572
+ className: "w-full"
24573
+ }, /*#__PURE__*/React__default["default"].createElement(formik$1.Checkbox, {
24574
+ id: "".concat(name, ".isRequired"),
24575
+ label: t("questions.common.questionFields.field.required"),
24576
+ name: "".concat(name, ".isRequired")
24577
+ }))));
24578
+ };
24579
+
24417
24580
  function cov_5u7jgeqcn() {
24418
24581
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/constants.js";
24419
24582
  var hash = "b3d19de9685469a419e3fbb91a64e9376eebfe14";
@@ -27949,7 +28112,7 @@ var Terms$3 = function Terms(_ref) {
27949
28112
 
27950
28113
  function cov_2qk3dozy47() {
27951
28114
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/index.js";
27952
- var hash = "1c67aa112a33505a9c0fe92ca24e6df7a9df5c52";
28115
+ var hash = "f973b7318af7a0d1059b5369964ad800ca33502b";
27953
28116
  var global = new Function("return this")();
27954
28117
  var gcv = "__coverage__";
27955
28118
  var coverageData = {
@@ -27957,11 +28120,11 @@ function cov_2qk3dozy47() {
27957
28120
  statementMap: {
27958
28121
  "0": {
27959
28122
  start: {
27960
- line: 14,
28123
+ line: 15,
27961
28124
  column: 15
27962
28125
  },
27963
28126
  end: {
27964
- line: 27,
28127
+ line: 29,
27965
28128
  column: 1
27966
28129
  }
27967
28130
  }
@@ -27974,7 +28137,7 @@ function cov_2qk3dozy47() {
27974
28137
  f: {},
27975
28138
  b: {},
27976
28139
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
27977
- hash: "1c67aa112a33505a9c0fe92ca24e6df7a9df5c52"
28140
+ hash: "f973b7318af7a0d1059b5369964ad800ca33502b"
27978
28141
  };
27979
28142
  var coverage = global[gcv] || (global[gcv] = {});
27980
28143
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -28002,7 +28165,8 @@ var Fields = (cov_2qk3dozy47().s[0]++, {
28002
28165
  Terms: Terms$3,
28003
28166
  StarRating: StarRating$2,
28004
28167
  AdditionalGuests: AdditionalGuests$1,
28005
- RichText: RichText$1
28168
+ RichText: RichText$1,
28169
+ Condition: Condition$3
28006
28170
  });
28007
28171
 
28008
28172
  function cov_2gcfk56wsh() {
@@ -28336,7 +28500,7 @@ var Editor = function Editor(_ref) {
28336
28500
 
28337
28501
  function cov_2j8tlu2ul5() {
28338
28502
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/constants.js";
28339
- var hash = "e2bdf47a1223875f9b5045360fbf0ea023532ced";
28503
+ var hash = "9e7ca608a61b8db80cf2c085e9f70e9359851faf";
28340
28504
  var global = new Function("return this")();
28341
28505
  var gcv = "__coverage__";
28342
28506
  var coverageData = {
@@ -28344,61 +28508,61 @@ function cov_2j8tlu2ul5() {
28344
28508
  statementMap: {
28345
28509
  "0": {
28346
28510
  start: {
28347
- line: 31,
28511
+ line: 33,
28348
28512
  column: 4
28349
28513
  },
28350
28514
  end: {
28351
- line: 31,
28515
+ line: 33,
28352
28516
  column: 10
28353
28517
  }
28354
28518
  },
28355
28519
  "1": {
28356
28520
  start: {
28357
- line: 33,
28521
+ line: 35,
28358
28522
  column: 40
28359
28523
  },
28360
28524
  end: {
28361
- line: 33,
28525
+ line: 35,
28362
28526
  column: 41
28363
28527
  }
28364
28528
  },
28365
28529
  "2": {
28366
28530
  start: {
28367
- line: 34,
28531
+ line: 36,
28368
28532
  column: 35
28369
28533
  },
28370
28534
  end: {
28371
- line: 34,
28535
+ line: 36,
28372
28536
  column: 36
28373
28537
  }
28374
28538
  },
28375
28539
  "3": {
28376
28540
  start: {
28377
- line: 36,
28541
+ line: 38,
28378
28542
  column: 30
28379
28543
  },
28380
28544
  end: {
28381
- line: 198,
28545
+ line: 210,
28382
28546
  column: 1
28383
28547
  }
28384
28548
  },
28385
28549
  "4": {
28386
28550
  start: {
28387
- line: 201,
28551
+ line: 213,
28388
28552
  column: 38
28389
28553
  },
28390
28554
  end: {
28391
- line: 204,
28555
+ line: 216,
28392
28556
  column: 1
28393
28557
  }
28394
28558
  },
28395
28559
  "5": {
28396
28560
  start: {
28397
- line: 206,
28561
+ line: 218,
28398
28562
  column: 29
28399
28563
  },
28400
28564
  end: {
28401
- line: 206,
28565
+ line: 218,
28402
28566
  column: 62
28403
28567
  }
28404
28568
  }
@@ -28416,7 +28580,7 @@ function cov_2j8tlu2ul5() {
28416
28580
  f: {},
28417
28581
  b: {},
28418
28582
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
28419
- hash: "e2bdf47a1223875f9b5045360fbf0ea023532ced"
28583
+ hash: "9e7ca608a61b8db80cf2c085e9f70e9359851faf"
28420
28584
  };
28421
28585
  var coverage = global[gcv] || (global[gcv] = {});
28422
28586
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -28444,7 +28608,8 @@ var _ref$1 = (cov_2j8tlu2ul5().s[0]++, Fields),
28444
28608
  Terms$2 = _ref$1.Terms,
28445
28609
  StarRating$1 = _ref$1.StarRating,
28446
28610
  AdditionalGuests = _ref$1.AdditionalGuests,
28447
- RichText = _ref$1.RichText;
28611
+ RichText = _ref$1.RichText,
28612
+ Condition$2 = _ref$1.Condition;
28448
28613
  var SINGLE_CHOICE_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[1]++, 2);
28449
28614
  var DROPDOWN_FIELD_MIN_OPTIONS = (cov_2j8tlu2ul5().s[2]++, 2);
28450
28615
  var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
@@ -28600,6 +28765,15 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
28600
28765
  isRequired: true,
28601
28766
  label: instance.t("common.agreeTermsAndConditions")
28602
28767
  }
28768
+ }, {
28769
+ type: "condition",
28770
+ label: instance.t("fields.cf"),
28771
+ icon: neetoIcons.Checkbox,
28772
+ component: Condition$2,
28773
+ defaults: {
28774
+ isRequired: true,
28775
+ label: instance.t("common.agreeCondition")
28776
+ }
28603
28777
  }, {
28604
28778
  type: "date",
28605
28779
  label: instance.t("fields.date"),
@@ -31302,7 +31476,7 @@ var List = function List(_ref) {
31302
31476
  })));
31303
31477
  };
31304
31478
 
31305
- var _excluded$e = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn"];
31479
+ var _excluded$f = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn"];
31306
31480
  function cov_2e8k7gwd81() {
31307
31481
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
31308
31482
  var hash = "7c11acd7f0e5fde99d6d92b950980d529a13322c";
@@ -32538,7 +32712,7 @@ var Form = function Form(_ref) {
32538
32712
  isKindAlreadyActive = _ref.isKindAlreadyActive,
32539
32713
  getActiveKindDetails = _ref.getActiveKindDetails,
32540
32714
  kindUniqueOn = _ref.kindUniqueOn,
32541
- formDomProps = _objectWithoutProperties$1(_ref, _excluded$e);
32715
+ formDomProps = _objectWithoutProperties$1(_ref, _excluded$f);
32542
32716
  cov_2e8k7gwd81().f[0]++;
32543
32717
  var _ref2 = (cov_2e8k7gwd81().s[1]++, useTranslation()),
32544
32718
  t = _ref2.t;
@@ -35676,7 +35850,7 @@ var Spinner = function Spinner(_ref) {
35676
35850
  })));
35677
35851
  };
35678
35852
 
35679
- var _excluded$d = ["label", "loading", "success", "className"];
35853
+ var _excluded$e = ["label", "loading", "success", "className"];
35680
35854
  function cov_2ndo8sz9m4() {
35681
35855
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/Button.jsx";
35682
35856
  var hash = "947a26eed705c861c4cb61ff2cb56fcb2a312c71";
@@ -36006,7 +36180,7 @@ var Button = function Button(_ref) {
36006
36180
  success = _ref$success === void 0 ? (cov_2ndo8sz9m4().b[1][0]++, false) : _ref$success,
36007
36181
  _ref$className = _ref.className,
36008
36182
  className = _ref$className === void 0 ? (cov_2ndo8sz9m4().b[2][0]++, "") : _ref$className,
36009
- otherProps = _objectWithoutProperties$1(_ref, _excluded$d);
36183
+ otherProps = _objectWithoutProperties$1(_ref, _excluded$e);
36010
36184
  cov_2ndo8sz9m4().f[0]++;
36011
36185
  cov_2ndo8sz9m4().s[1]++;
36012
36186
  return /*#__PURE__*/React__default["default"].createElement("button", _extends$9({
@@ -41437,7 +41611,7 @@ var GroupHeading = function GroupHeading(props) {
41437
41611
  }), innerProps));
41438
41612
  };
41439
41613
 
41440
- var _excluded$c = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
41614
+ var _excluded$d = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
41441
41615
  var inputCSS = function inputCSS(_ref, unstyled) {
41442
41616
  var isDisabled = _ref.isDisabled,
41443
41617
  value = _ref.value,
@@ -41493,7 +41667,7 @@ var Input$1 = function Input(props) {
41493
41667
  isDisabled = _cleanCommonProps.isDisabled,
41494
41668
  isHidden = _cleanCommonProps.isHidden,
41495
41669
  inputClassName = _cleanCommonProps.inputClassName,
41496
- innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$c);
41670
+ innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$d);
41497
41671
  return jsx("div", _extends$1({}, getStyleProps(props, 'input', {
41498
41672
  'input-container': true
41499
41673
  }), {
@@ -42290,10 +42464,10 @@ var createFilter = function createFilter(config) {
42290
42464
  };
42291
42465
  };
42292
42466
 
42293
- var _excluded$b = ["innerRef"];
42467
+ var _excluded$c = ["innerRef"];
42294
42468
  function DummyInput(_ref) {
42295
42469
  var innerRef = _ref.innerRef,
42296
- props = _objectWithoutProperties(_ref, _excluded$b);
42470
+ props = _objectWithoutProperties(_ref, _excluded$c);
42297
42471
  // Remove animation props not meant for HTML elements
42298
42472
  var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
42299
42473
  return jsx("input", _extends$1({
@@ -44298,7 +44472,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
44298
44472
  }(React$2.Component);
44299
44473
  Select$1.defaultProps = defaultProps;
44300
44474
 
44301
- var _excluded$a = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
44475
+ var _excluded$b = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
44302
44476
  function useStateManager(_ref) {
44303
44477
  var _ref$defaultInputValu = _ref.defaultInputValue,
44304
44478
  defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
@@ -44313,7 +44487,7 @@ function useStateManager(_ref) {
44313
44487
  propsOnMenuClose = _ref.onMenuClose,
44314
44488
  propsOnMenuOpen = _ref.onMenuOpen,
44315
44489
  propsValue = _ref.value,
44316
- restSelectProps = _objectWithoutProperties(_ref, _excluded$a);
44490
+ restSelectProps = _objectWithoutProperties(_ref, _excluded$b);
44317
44491
  var _useState = React$2.useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),
44318
44492
  _useState2 = _slicedToArray$4(_useState, 2),
44319
44493
  stateInputValue = _useState2[0],
@@ -44365,7 +44539,7 @@ function useStateManager(_ref) {
44365
44539
  });
44366
44540
  }
44367
44541
 
44368
- var _excluded$9 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"];
44542
+ var _excluded$a = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"];
44369
44543
  var compareOption = function compareOption() {
44370
44544
  var inputValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
44371
44545
  var option = arguments.length > 1 ? arguments[1] : undefined;
@@ -44409,7 +44583,7 @@ function useCreatable(_ref) {
44409
44583
  _ref$options = _ref.options,
44410
44584
  propsOptions = _ref$options === void 0 ? [] : _ref$options,
44411
44585
  propsOnChange = _ref.onChange,
44412
- restSelectProps = _objectWithoutProperties(_ref, _excluded$9);
44586
+ restSelectProps = _objectWithoutProperties(_ref, _excluded$a);
44413
44587
  var _restSelectProps$getO = restSelectProps.getOptionValue,
44414
44588
  getOptionValue$1$1 = _restSelectProps$getO === void 0 ? getOptionValue$1 : _restSelectProps$getO,
44415
44589
  _restSelectProps$getO2 = restSelectProps.getOptionLabel,
@@ -44468,7 +44642,7 @@ var StateManagedSelect = /*#__PURE__*/React$2.forwardRef(function (props, ref) {
44468
44642
  }, baseSelectProps));
44469
44643
  });
44470
44644
 
44471
- var _excluded$8 = ["children"];
44645
+ var _excluded$9 = ["children"];
44472
44646
  function cov_2r9ol8zeg1() {
44473
44647
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/MultipleEmail/constants.jsx";
44474
44648
  var hash = "e09b41725a3ebcee86262f4ca568e046555de10a";
@@ -44921,7 +45095,7 @@ var STYLES = (cov_2r9ol8zeg1().s[0]++, {
44921
45095
  cov_2r9ol8zeg1().s[1]++;
44922
45096
  var CustomControl = function CustomControl(_ref) {
44923
45097
  var children = _ref.children,
44924
- props = _objectWithoutProperties$1(_ref, _excluded$8);
45098
+ props = _objectWithoutProperties$1(_ref, _excluded$9);
44925
45099
  cov_2r9ol8zeg1().f[0]++;
44926
45100
  var _ref2 = (cov_2r9ol8zeg1().s[2]++, props.selectProps),
44927
45101
  prefix = _ref2.prefix;
@@ -51987,7 +52161,7 @@ PhoneNumberSearch.prototype.constructor = PhoneNumberSearch;
51987
52161
 
51988
52162
  function cov_1l3yhm377b() {
51989
52163
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/utils.js";
51990
- var hash = "c5c25e3b86f6ca0d8f7d631a522c9f19b84c95df";
52164
+ var hash = "43a1df0efd87b2eb39a9401cdbb55dc1f6ee1045";
51991
52165
  var global = new Function("return this")();
51992
52166
  var gcv = "__coverage__";
51993
52167
  var coverageData = {
@@ -52049,7 +52223,7 @@ function cov_1l3yhm377b() {
52049
52223
  column: 34
52050
52224
  },
52051
52225
  end: {
52052
- line: 78,
52226
+ line: 84,
52053
52227
  column: 1
52054
52228
  }
52055
52229
  },
@@ -52109,7 +52283,7 @@ function cov_1l3yhm377b() {
52109
52283
  column: 2
52110
52284
  },
52111
52285
  end: {
52112
- line: 75,
52286
+ line: 81,
52113
52287
  column: 5
52114
52288
  }
52115
52289
  },
@@ -52129,7 +52303,7 @@ function cov_1l3yhm377b() {
52129
52303
  column: 4
52130
52304
  },
52131
52305
  end: {
52132
- line: 74,
52306
+ line: 80,
52133
52307
  column: 5
52134
52308
  }
52135
52309
  },
@@ -52140,7 +52314,7 @@ function cov_1l3yhm377b() {
52140
52314
  },
52141
52315
  end: {
52142
52316
  line: 43,
52143
- column: 69
52317
+ column: 57
52144
52318
  }
52145
52319
  },
52146
52320
  "15": {
@@ -52155,22 +52329,22 @@ function cov_1l3yhm377b() {
52155
52329
  },
52156
52330
  "16": {
52157
52331
  start: {
52158
- line: 47,
52332
+ line: 48,
52159
52333
  column: 8
52160
52334
  },
52161
52335
  end: {
52162
- line: 51,
52163
- column: 60
52336
+ line: 48,
52337
+ column: 69
52164
52338
  }
52165
52339
  },
52166
52340
  "17": {
52167
52341
  start: {
52168
- line: 49,
52169
- column: 14
52342
+ line: 50,
52343
+ column: 8
52170
52344
  },
52171
52345
  end: {
52172
- line: 49,
52173
- column: 59
52346
+ line: 50,
52347
+ column: 15
52174
52348
  }
52175
52349
  },
52176
52350
  "18": {
@@ -52179,347 +52353,367 @@ function cov_1l3yhm377b() {
52179
52353
  column: 8
52180
52354
  },
52181
52355
  end: {
52182
- line: 53,
52183
- column: 15
52356
+ line: 57,
52357
+ column: 60
52184
52358
  }
52185
52359
  },
52186
52360
  "19": {
52187
52361
  start: {
52188
- line: 57,
52189
- column: 8
52362
+ line: 55,
52363
+ column: 14
52190
52364
  },
52191
52365
  end: {
52192
- line: 60,
52193
- column: 22
52366
+ line: 55,
52367
+ column: 59
52194
52368
  }
52195
52369
  },
52196
52370
  "20": {
52197
52371
  start: {
52198
52372
  line: 59,
52199
- column: 12
52373
+ column: 8
52200
52374
  },
52201
52375
  end: {
52202
52376
  line: 59,
52203
- column: 57
52377
+ column: 15
52204
52378
  }
52205
52379
  },
52206
52380
  "21": {
52207
52381
  start: {
52208
- line: 62,
52382
+ line: 63,
52209
52383
  column: 8
52210
52384
  },
52211
52385
  end: {
52212
- line: 62,
52213
- column: 15
52386
+ line: 66,
52387
+ column: 22
52214
52388
  }
52215
52389
  },
52216
52390
  "22": {
52217
52391
  start: {
52218
52392
  line: 65,
52219
- column: 8
52393
+ column: 12
52220
52394
  },
52221
52395
  end: {
52222
52396
  line: 65,
52223
- column: 31
52397
+ column: 57
52224
52398
  }
52225
52399
  },
52226
52400
  "23": {
52227
52401
  start: {
52228
- line: 67,
52402
+ line: 68,
52229
52403
  column: 8
52230
52404
  },
52231
52405
  end: {
52232
- line: 67,
52406
+ line: 68,
52233
52407
  column: 15
52234
52408
  }
52235
52409
  },
52236
52410
  "24": {
52237
52411
  start: {
52238
- line: 70,
52412
+ line: 71,
52239
52413
  column: 8
52240
52414
  },
52241
52415
  end: {
52242
- line: 70,
52243
- column: 54
52416
+ line: 71,
52417
+ column: 31
52244
52418
  }
52245
52419
  },
52246
52420
  "25": {
52247
52421
  start: {
52248
- line: 72,
52422
+ line: 73,
52249
52423
  column: 8
52250
52424
  },
52251
52425
  end: {
52252
- line: 72,
52426
+ line: 73,
52253
52427
  column: 15
52254
52428
  }
52255
52429
  },
52256
52430
  "26": {
52257
52431
  start: {
52258
- line: 77,
52432
+ line: 76,
52433
+ column: 8
52434
+ },
52435
+ end: {
52436
+ line: 76,
52437
+ column: 54
52438
+ }
52439
+ },
52440
+ "27": {
52441
+ start: {
52442
+ line: 78,
52443
+ column: 8
52444
+ },
52445
+ end: {
52446
+ line: 78,
52447
+ column: 15
52448
+ }
52449
+ },
52450
+ "28": {
52451
+ start: {
52452
+ line: 83,
52259
52453
  column: 2
52260
52454
  },
52261
52455
  end: {
52262
- line: 77,
52456
+ line: 83,
52263
52457
  column: 64
52264
52458
  }
52265
52459
  },
52266
- "27": {
52460
+ "29": {
52267
52461
  start: {
52268
- line: 80,
52462
+ line: 86,
52269
52463
  column: 36
52270
52464
  },
52271
52465
  end: {
52272
- line: 130,
52466
+ line: 136,
52273
52467
  column: 1
52274
52468
  }
52275
52469
  },
52276
- "28": {
52470
+ "30": {
52277
52471
  start: {
52278
- line: 81,
52472
+ line: 87,
52279
52473
  column: 23
52280
52474
  },
52281
52475
  end: {
52282
- line: 81,
52476
+ line: 87,
52283
52477
  column: 25
52284
52478
  }
52285
52479
  },
52286
- "29": {
52480
+ "31": {
52287
52481
  start: {
52288
- line: 82,
52482
+ line: 88,
52289
52483
  column: 2
52290
52484
  },
52291
52485
  end: {
52292
- line: 127,
52486
+ line: 133,
52293
52487
  column: 5
52294
52488
  }
52295
52489
  },
52296
- "30": {
52490
+ "32": {
52297
52491
  start: {
52298
- line: 83,
52492
+ line: 89,
52299
52493
  column: 44
52300
52494
  },
52301
52495
  end: {
52302
- line: 83,
52496
+ line: 89,
52303
52497
  column: 52
52304
52498
  }
52305
52499
  },
52306
- "31": {
52500
+ "33": {
52307
52501
  start: {
52308
- line: 84,
52502
+ line: 90,
52309
52503
  column: 4
52310
52504
  },
52311
52505
  end: {
52312
- line: 126,
52506
+ line: 132,
52313
52507
  column: 5
52314
52508
  }
52315
52509
  },
52316
- "32": {
52510
+ "34": {
52317
52511
  start: {
52318
- line: 85,
52512
+ line: 91,
52319
52513
  column: 38
52320
52514
  },
52321
52515
  end: {
52322
- line: 85,
52516
+ line: 91,
52323
52517
  column: 46
52324
52518
  }
52325
52519
  },
52326
- "33": {
52520
+ "35": {
52327
52521
  start: {
52328
- line: 86,
52522
+ line: 92,
52329
52523
  column: 6
52330
52524
  },
52331
52525
  end: {
52332
- line: 125,
52526
+ line: 131,
52333
52527
  column: 79
52334
52528
  }
52335
52529
  },
52336
- "34": {
52530
+ "36": {
52337
52531
  start: {
52338
- line: 90,
52532
+ line: 96,
52339
52533
  column: 23
52340
52534
  },
52341
52535
  end: {
52342
- line: 90,
52536
+ line: 96,
52343
52537
  column: 65
52344
52538
  }
52345
52539
  },
52346
- "35": {
52540
+ "37": {
52347
52541
  start: {
52348
- line: 91,
52542
+ line: 97,
52349
52543
  column: 8
52350
52544
  },
52351
52545
  end: {
52352
- line: 98,
52546
+ line: 104,
52353
52547
  column: 9
52354
52548
  }
52355
52549
  },
52356
- "36": {
52550
+ "38": {
52357
52551
  start: {
52358
- line: 92,
52552
+ line: 98,
52359
52553
  column: 10
52360
52554
  },
52361
52555
  end: {
52362
- line: 97,
52556
+ line: 103,
52363
52557
  column: 13
52364
52558
  }
52365
52559
  },
52366
- "37": {
52560
+ "39": {
52367
52561
  start: {
52368
- line: 99,
52562
+ line: 105,
52369
52563
  column: 13
52370
52564
  },
52371
52565
  end: {
52372
- line: 125,
52566
+ line: 131,
52373
52567
  column: 79
52374
52568
  }
52375
52569
  },
52376
- "38": {
52570
+ "40": {
52377
52571
  start: {
52378
- line: 100,
52572
+ line: 106,
52379
52573
  column: 8
52380
52574
  },
52381
52575
  end: {
52382
- line: 110,
52576
+ line: 116,
52383
52577
  column: 11
52384
52578
  }
52385
52579
  },
52386
- "39": {
52580
+ "41": {
52387
52581
  start: {
52388
- line: 101,
52582
+ line: 107,
52389
52583
  column: 10
52390
52584
  },
52391
52585
  end: {
52392
- line: 109,
52586
+ line: 115,
52393
52587
  column: 11
52394
52588
  }
52395
52589
  },
52396
- "40": {
52590
+ "42": {
52397
52591
  start: {
52398
- line: 102,
52592
+ line: 108,
52399
52593
  column: 27
52400
52594
  },
52401
52595
  end: {
52402
- line: 102,
52596
+ line: 108,
52403
52597
  column: 51
52404
52598
  }
52405
52599
  },
52406
- "41": {
52600
+ "43": {
52407
52601
  start: {
52408
- line: 103,
52602
+ line: 109,
52409
52603
  column: 12
52410
52604
  },
52411
52605
  end: {
52412
- line: 108,
52606
+ line: 114,
52413
52607
  column: 15
52414
52608
  }
52415
52609
  },
52416
- "42": {
52610
+ "44": {
52417
52611
  start: {
52418
- line: 111,
52612
+ line: 117,
52419
52613
  column: 13
52420
52614
  },
52421
52615
  end: {
52422
- line: 125,
52616
+ line: 131,
52423
52617
  column: 79
52424
52618
  }
52425
52619
  },
52426
- "43": {
52620
+ "45": {
52427
52621
  start: {
52428
- line: 112,
52622
+ line: 118,
52429
52623
  column: 8
52430
52624
  },
52431
52625
  end: {
52432
- line: 118,
52626
+ line: 124,
52433
52627
  column: 11
52434
52628
  }
52435
52629
  },
52436
- "44": {
52630
+ "46": {
52437
52631
  start: {
52438
- line: 119,
52632
+ line: 125,
52439
52633
  column: 13
52440
52634
  },
52441
52635
  end: {
52442
- line: 125,
52636
+ line: 131,
52443
52637
  column: 79
52444
52638
  }
52445
52639
  },
52446
- "45": {
52640
+ "47": {
52447
52641
  start: {
52448
- line: 120,
52642
+ line: 126,
52449
52643
  column: 8
52450
52644
  },
52451
52645
  end: {
52452
- line: 124,
52646
+ line: 130,
52453
52647
  column: 11
52454
52648
  }
52455
52649
  },
52456
- "46": {
52650
+ "48": {
52457
52651
  start: {
52458
- line: 125,
52652
+ line: 131,
52459
52653
  column: 13
52460
52654
  },
52461
52655
  end: {
52462
- line: 125,
52656
+ line: 131,
52463
52657
  column: 79
52464
52658
  }
52465
52659
  },
52466
- "47": {
52660
+ "49": {
52467
52661
  start: {
52468
- line: 129,
52662
+ line: 135,
52469
52663
  column: 2
52470
52664
  },
52471
52665
  end: {
52472
- line: 129,
52666
+ line: 135,
52473
52667
  column: 22
52474
52668
  }
52475
52669
  },
52476
- "48": {
52670
+ "50": {
52477
52671
  start: {
52478
- line: 132,
52672
+ line: 138,
52479
52673
  column: 25
52480
52674
  },
52481
52675
  end: {
52482
- line: 144,
52676
+ line: 150,
52483
52677
  column: 1
52484
52678
  }
52485
52679
  },
52486
- "49": {
52680
+ "51": {
52487
52681
  start: {
52488
- line: 133,
52682
+ line: 139,
52489
52683
  column: 25
52490
52684
  },
52491
52685
  end: {
52492
- line: 133,
52686
+ line: 139,
52493
52687
  column: 30
52494
52688
  }
52495
52689
  },
52496
- "50": {
52690
+ "52": {
52497
52691
  start: {
52498
- line: 135,
52692
+ line: 141,
52499
52693
  column: 2
52500
52694
  },
52501
52695
  end: {
52502
- line: 141,
52696
+ line: 147,
52503
52697
  column: 3
52504
52698
  }
52505
52699
  },
52506
- "51": {
52700
+ "53": {
52507
52701
  start: {
52508
- line: 136,
52702
+ line: 142,
52509
52703
  column: 4
52510
52704
  },
52511
52705
  end: {
52512
- line: 140,
52706
+ line: 146,
52513
52707
  column: 21
52514
52708
  }
52515
52709
  },
52516
- "52": {
52710
+ "54": {
52517
52711
  start: {
52518
- line: 143,
52712
+ line: 149,
52519
52713
  column: 2
52520
52714
  },
52521
52715
  end: {
52522
- line: 143,
52716
+ line: 149,
52523
52717
  column: 24
52524
52718
  }
52525
52719
  }
@@ -52615,7 +52809,7 @@ function cov_1l3yhm377b() {
52615
52809
  column: 5
52616
52810
  },
52617
52811
  end: {
52618
- line: 78,
52812
+ line: 84,
52619
52813
  column: 1
52620
52814
  }
52621
52815
  },
@@ -52663,7 +52857,7 @@ function cov_1l3yhm377b() {
52663
52857
  column: 32
52664
52858
  },
52665
52859
  end: {
52666
- line: 75,
52860
+ line: 81,
52667
52861
  column: 3
52668
52862
  }
52669
52863
  },
@@ -52673,145 +52867,145 @@ function cov_1l3yhm377b() {
52673
52867
  name: "(anonymous_6)",
52674
52868
  decl: {
52675
52869
  start: {
52676
- line: 48,
52870
+ line: 54,
52677
52871
  column: 34
52678
52872
  },
52679
52873
  end: {
52680
- line: 48,
52874
+ line: 54,
52681
52875
  column: 35
52682
52876
  }
52683
52877
  },
52684
52878
  loc: {
52685
52879
  start: {
52686
- line: 49,
52880
+ line: 55,
52687
52881
  column: 14
52688
52882
  },
52689
52883
  end: {
52690
- line: 49,
52884
+ line: 55,
52691
52885
  column: 59
52692
52886
  }
52693
52887
  },
52694
- line: 49
52888
+ line: 55
52695
52889
  },
52696
52890
  "7": {
52697
52891
  name: "(anonymous_7)",
52698
52892
  decl: {
52699
52893
  start: {
52700
- line: 58,
52894
+ line: 64,
52701
52895
  column: 33
52702
52896
  },
52703
52897
  end: {
52704
- line: 58,
52898
+ line: 64,
52705
52899
  column: 34
52706
52900
  }
52707
52901
  },
52708
52902
  loc: {
52709
52903
  start: {
52710
- line: 59,
52904
+ line: 65,
52711
52905
  column: 12
52712
52906
  },
52713
52907
  end: {
52714
- line: 59,
52908
+ line: 65,
52715
52909
  column: 57
52716
52910
  }
52717
52911
  },
52718
- line: 59
52912
+ line: 65
52719
52913
  },
52720
52914
  "8": {
52721
52915
  name: "(anonymous_8)",
52722
52916
  decl: {
52723
52917
  start: {
52724
- line: 80,
52918
+ line: 86,
52725
52919
  column: 36
52726
52920
  },
52727
52921
  end: {
52728
- line: 80,
52922
+ line: 86,
52729
52923
  column: 37
52730
52924
  }
52731
52925
  },
52732
52926
  loc: {
52733
52927
  start: {
52734
- line: 80,
52928
+ line: 86,
52735
52929
  column: 61
52736
52930
  },
52737
52931
  end: {
52738
- line: 130,
52932
+ line: 136,
52739
52933
  column: 1
52740
52934
  }
52741
52935
  },
52742
- line: 80
52936
+ line: 86
52743
52937
  },
52744
52938
  "9": {
52745
52939
  name: "(anonymous_9)",
52746
52940
  decl: {
52747
52941
  start: {
52748
- line: 82,
52942
+ line: 88,
52749
52943
  column: 20
52750
52944
  },
52751
52945
  end: {
52752
- line: 82,
52946
+ line: 88,
52753
52947
  column: 21
52754
52948
  }
52755
52949
  },
52756
52950
  loc: {
52757
52951
  start: {
52758
- line: 82,
52952
+ line: 88,
52759
52953
  column: 32
52760
52954
  },
52761
52955
  end: {
52762
- line: 127,
52956
+ line: 133,
52763
52957
  column: 3
52764
52958
  }
52765
52959
  },
52766
- line: 82
52960
+ line: 88
52767
52961
  },
52768
52962
  "10": {
52769
52963
  name: "(anonymous_10)",
52770
52964
  decl: {
52771
52965
  start: {
52772
- line: 100,
52966
+ line: 106,
52773
52967
  column: 30
52774
52968
  },
52775
52969
  end: {
52776
- line: 100,
52970
+ line: 106,
52777
52971
  column: 31
52778
52972
  }
52779
52973
  },
52780
52974
  loc: {
52781
52975
  start: {
52782
- line: 100,
52976
+ line: 106,
52783
52977
  column: 52
52784
52978
  },
52785
52979
  end: {
52786
- line: 110,
52980
+ line: 116,
52787
52981
  column: 9
52788
52982
  }
52789
52983
  },
52790
- line: 100
52984
+ line: 106
52791
52985
  },
52792
52986
  "11": {
52793
52987
  name: "(anonymous_11)",
52794
52988
  decl: {
52795
52989
  start: {
52796
- line: 132,
52990
+ line: 138,
52797
52991
  column: 25
52798
52992
  },
52799
52993
  end: {
52800
- line: 132,
52994
+ line: 138,
52801
52995
  column: 26
52802
52996
  }
52803
52997
  },
52804
52998
  loc: {
52805
52999
  start: {
52806
- line: 132,
53000
+ line: 138,
52807
53001
  column: 35
52808
53002
  },
52809
53003
  end: {
52810
- line: 144,
53004
+ line: 150,
52811
53005
  column: 1
52812
53006
  }
52813
53007
  },
52814
- line: 132
53008
+ line: 138
52815
53009
  }
52816
53010
  },
52817
53011
  branchMap: {
@@ -52960,7 +53154,7 @@ function cov_1l3yhm377b() {
52960
53154
  column: 4
52961
53155
  },
52962
53156
  end: {
52963
- line: 74,
53157
+ line: 80,
52964
53158
  column: 5
52965
53159
  }
52966
53160
  },
@@ -52971,52 +53165,61 @@ function cov_1l3yhm377b() {
52971
53165
  column: 6
52972
53166
  },
52973
53167
  end: {
52974
- line: 45,
52975
- column: 15
53168
+ line: 46,
53169
+ column: 7
52976
53170
  }
52977
53171
  }, {
52978
53172
  start: {
52979
- line: 46,
53173
+ line: 47,
52980
53174
  column: 6
52981
53175
  },
52982
53176
  end: {
52983
- line: 54,
53177
+ line: 51,
52984
53178
  column: 7
52985
53179
  }
52986
53180
  }, {
52987
53181
  start: {
52988
- line: 55,
53182
+ line: 52,
52989
53183
  column: 6
52990
53184
  },
52991
53185
  end: {
52992
- line: 55,
53186
+ line: 60,
53187
+ column: 7
53188
+ }
53189
+ }, {
53190
+ start: {
53191
+ line: 61,
53192
+ column: 6
53193
+ },
53194
+ end: {
53195
+ line: 61,
52993
53196
  column: 37
52994
53197
  }
52995
53198
  }, {
52996
53199
  start: {
52997
- line: 56,
53200
+ line: 62,
52998
53201
  column: 6
52999
53202
  },
53000
53203
  end: {
53001
- line: 63,
53204
+ line: 69,
53002
53205
  column: 7
53003
53206
  }
53004
53207
  }, {
53005
53208
  start: {
53006
- line: 64,
53209
+ line: 70,
53007
53210
  column: 6
53008
53211
  },
53009
53212
  end: {
53010
- line: 68,
53213
+ line: 74,
53011
53214
  column: 7
53012
53215
  }
53013
53216
  }, {
53014
53217
  start: {
53015
- line: 69,
53218
+ line: 75,
53016
53219
  column: 6
53017
53220
  },
53018
53221
  end: {
53019
- line: 73,
53222
+ line: 79,
53020
53223
  column: 7
53021
53224
  }
53022
53225
  }],
@@ -53030,7 +53233,7 @@ function cov_1l3yhm377b() {
53030
53233
  },
53031
53234
  end: {
53032
53235
  line: 43,
53033
- column: 68
53236
+ column: 56
53034
53237
  }
53035
53238
  },
53036
53239
  type: "binary-expr",
@@ -53041,16 +53244,16 @@ function cov_1l3yhm377b() {
53041
53244
  },
53042
53245
  end: {
53043
53246
  line: 43,
53044
- column: 62
53247
+ column: 47
53045
53248
  }
53046
53249
  }, {
53047
53250
  start: {
53048
53251
  line: 43,
53049
- column: 66
53252
+ column: 51
53050
53253
  },
53051
53254
  end: {
53052
53255
  line: 43,
53053
- column: 68
53256
+ column: 56
53054
53257
  }
53055
53258
  }],
53056
53259
  line: 43
@@ -53058,154 +53261,187 @@ function cov_1l3yhm377b() {
53058
53261
  "7": {
53059
53262
  loc: {
53060
53263
  start: {
53061
- line: 47,
53264
+ line: 48,
53062
53265
  column: 25
53063
53266
  },
53064
53267
  end: {
53065
- line: 51,
53268
+ line: 48,
53269
+ column: 68
53270
+ }
53271
+ },
53272
+ type: "binary-expr",
53273
+ locations: [{
53274
+ start: {
53275
+ line: 48,
53276
+ column: 25
53277
+ },
53278
+ end: {
53279
+ line: 48,
53280
+ column: 62
53281
+ }
53282
+ }, {
53283
+ start: {
53284
+ line: 48,
53285
+ column: 66
53286
+ },
53287
+ end: {
53288
+ line: 48,
53289
+ column: 68
53290
+ }
53291
+ }],
53292
+ line: 48
53293
+ },
53294
+ "8": {
53295
+ loc: {
53296
+ start: {
53297
+ line: 53,
53298
+ column: 25
53299
+ },
53300
+ end: {
53301
+ line: 57,
53066
53302
  column: 59
53067
53303
  }
53068
53304
  },
53069
53305
  type: "cond-expr",
53070
53306
  locations: [{
53071
53307
  start: {
53072
- line: 48,
53308
+ line: 54,
53073
53309
  column: 12
53074
53310
  },
53075
53311
  end: {
53076
- line: 50,
53312
+ line: 56,
53077
53313
  column: 13
53078
53314
  }
53079
53315
  }, {
53080
53316
  start: {
53081
- line: 51,
53317
+ line: 57,
53082
53318
  column: 12
53083
53319
  },
53084
53320
  end: {
53085
- line: 51,
53321
+ line: 57,
53086
53322
  column: 59
53087
53323
  }
53088
53324
  }],
53089
- line: 47
53325
+ line: 53
53090
53326
  },
53091
- "8": {
53327
+ "9": {
53092
53328
  loc: {
53093
53329
  start: {
53094
- line: 58,
53330
+ line: 64,
53095
53331
  column: 10
53096
53332
  },
53097
53333
  end: {
53098
- line: 60,
53334
+ line: 66,
53099
53335
  column: 21
53100
53336
  }
53101
53337
  },
53102
53338
  type: "binary-expr",
53103
53339
  locations: [{
53104
53340
  start: {
53105
- line: 58,
53341
+ line: 64,
53106
53342
  column: 10
53107
53343
  },
53108
53344
  end: {
53109
- line: 60,
53345
+ line: 66,
53110
53346
  column: 15
53111
53347
  }
53112
53348
  }, {
53113
53349
  start: {
53114
- line: 60,
53350
+ line: 66,
53115
53351
  column: 19
53116
53352
  },
53117
53353
  end: {
53118
- line: 60,
53354
+ line: 66,
53119
53355
  column: 21
53120
53356
  }
53121
53357
  }],
53122
- line: 58
53358
+ line: 64
53123
53359
  },
53124
- "9": {
53360
+ "10": {
53125
53361
  loc: {
53126
53362
  start: {
53127
- line: 70,
53363
+ line: 76,
53128
53364
  column: 25
53129
53365
  },
53130
53366
  end: {
53131
- line: 70,
53367
+ line: 76,
53132
53368
  column: 53
53133
53369
  }
53134
53370
  },
53135
53371
  type: "binary-expr",
53136
53372
  locations: [{
53137
53373
  start: {
53138
- line: 70,
53374
+ line: 76,
53139
53375
  column: 25
53140
53376
  },
53141
53377
  end: {
53142
- line: 70,
53378
+ line: 76,
53143
53379
  column: 47
53144
53380
  }
53145
53381
  }, {
53146
53382
  start: {
53147
- line: 70,
53383
+ line: 76,
53148
53384
  column: 51
53149
53385
  },
53150
53386
  end: {
53151
- line: 70,
53387
+ line: 76,
53152
53388
  column: 53
53153
53389
  }
53154
53390
  }],
53155
- line: 70
53391
+ line: 76
53156
53392
  },
53157
- "10": {
53393
+ "11": {
53158
53394
  loc: {
53159
53395
  start: {
53160
- line: 77,
53396
+ line: 83,
53161
53397
  column: 9
53162
53398
  },
53163
53399
  end: {
53164
- line: 77,
53400
+ line: 83,
53165
53401
  column: 63
53166
53402
  }
53167
53403
  },
53168
53404
  type: "cond-expr",
53169
53405
  locations: [{
53170
53406
  start: {
53171
- line: 77,
53407
+ line: 83,
53172
53408
  column: 39
53173
53409
  },
53174
53410
  end: {
53175
- line: 77,
53411
+ line: 83,
53176
53412
  column: 50
53177
53413
  }
53178
53414
  }, {
53179
53415
  start: {
53180
- line: 77,
53416
+ line: 83,
53181
53417
  column: 53
53182
53418
  },
53183
53419
  end: {
53184
- line: 77,
53420
+ line: 83,
53185
53421
  column: 63
53186
53422
  }
53187
53423
  }],
53188
- line: 77
53424
+ line: 83
53189
53425
  },
53190
- "11": {
53426
+ "12": {
53191
53427
  loc: {
53192
53428
  start: {
53193
- line: 84,
53429
+ line: 90,
53194
53430
  column: 4
53195
53431
  },
53196
53432
  end: {
53197
- line: 126,
53433
+ line: 132,
53198
53434
  column: 5
53199
53435
  }
53200
53436
  },
53201
53437
  type: "if",
53202
53438
  locations: [{
53203
53439
  start: {
53204
- line: 84,
53440
+ line: 90,
53205
53441
  column: 4
53206
53442
  },
53207
53443
  end: {
53208
- line: 126,
53444
+ line: 132,
53209
53445
  column: 5
53210
53446
  }
53211
53447
  }, {
@@ -53218,93 +53454,93 @@ function cov_1l3yhm377b() {
53218
53454
  column: undefined
53219
53455
  }
53220
53456
  }],
53221
- line: 84
53457
+ line: 90
53222
53458
  },
53223
- "12": {
53459
+ "13": {
53224
53460
  loc: {
53225
53461
  start: {
53226
- line: 86,
53462
+ line: 92,
53227
53463
  column: 6
53228
53464
  },
53229
53465
  end: {
53230
- line: 125,
53466
+ line: 131,
53231
53467
  column: 79
53232
53468
  }
53233
53469
  },
53234
53470
  type: "if",
53235
53471
  locations: [{
53236
53472
  start: {
53237
- line: 86,
53473
+ line: 92,
53238
53474
  column: 6
53239
53475
  },
53240
53476
  end: {
53241
- line: 125,
53477
+ line: 131,
53242
53478
  column: 79
53243
53479
  }
53244
53480
  }, {
53245
53481
  start: {
53246
- line: 99,
53482
+ line: 105,
53247
53483
  column: 13
53248
53484
  },
53249
53485
  end: {
53250
- line: 125,
53486
+ line: 131,
53251
53487
  column: 79
53252
53488
  }
53253
53489
  }],
53254
- line: 86
53490
+ line: 92
53255
53491
  },
53256
- "13": {
53492
+ "14": {
53257
53493
  loc: {
53258
53494
  start: {
53259
- line: 87,
53495
+ line: 93,
53260
53496
  column: 8
53261
53497
  },
53262
53498
  end: {
53263
- line: 88,
53499
+ line: 94,
53264
53500
  column: 45
53265
53501
  }
53266
53502
  },
53267
53503
  type: "binary-expr",
53268
53504
  locations: [{
53269
53505
  start: {
53270
- line: 87,
53506
+ line: 93,
53271
53507
  column: 8
53272
53508
  },
53273
53509
  end: {
53274
- line: 87,
53510
+ line: 93,
53275
53511
  column: 42
53276
53512
  }
53277
53513
  }, {
53278
53514
  start: {
53279
- line: 88,
53515
+ line: 94,
53280
53516
  column: 8
53281
53517
  },
53282
53518
  end: {
53283
- line: 88,
53519
+ line: 94,
53284
53520
  column: 45
53285
53521
  }
53286
53522
  }],
53287
- line: 87
53523
+ line: 93
53288
53524
  },
53289
- "14": {
53525
+ "15": {
53290
53526
  loc: {
53291
53527
  start: {
53292
- line: 91,
53528
+ line: 97,
53293
53529
  column: 8
53294
53530
  },
53295
53531
  end: {
53296
- line: 98,
53532
+ line: 104,
53297
53533
  column: 9
53298
53534
  }
53299
53535
  },
53300
53536
  type: "if",
53301
53537
  locations: [{
53302
53538
  start: {
53303
- line: 91,
53539
+ line: 97,
53304
53540
  column: 8
53305
53541
  },
53306
53542
  end: {
53307
- line: 98,
53543
+ line: 104,
53308
53544
  column: 9
53309
53545
  }
53310
53546
  }, {
@@ -53317,60 +53553,60 @@ function cov_1l3yhm377b() {
53317
53553
  column: undefined
53318
53554
  }
53319
53555
  }],
53320
- line: 91
53556
+ line: 97
53321
53557
  },
53322
- "15": {
53558
+ "16": {
53323
53559
  loc: {
53324
53560
  start: {
53325
- line: 99,
53561
+ line: 105,
53326
53562
  column: 13
53327
53563
  },
53328
53564
  end: {
53329
- line: 125,
53565
+ line: 131,
53330
53566
  column: 79
53331
53567
  }
53332
53568
  },
53333
53569
  type: "if",
53334
53570
  locations: [{
53335
53571
  start: {
53336
- line: 99,
53572
+ line: 105,
53337
53573
  column: 13
53338
53574
  },
53339
53575
  end: {
53340
- line: 125,
53576
+ line: 131,
53341
53577
  column: 79
53342
53578
  }
53343
53579
  }, {
53344
53580
  start: {
53345
- line: 111,
53581
+ line: 117,
53346
53582
  column: 13
53347
53583
  },
53348
53584
  end: {
53349
- line: 125,
53585
+ line: 131,
53350
53586
  column: 79
53351
53587
  }
53352
53588
  }],
53353
- line: 99
53589
+ line: 105
53354
53590
  },
53355
- "16": {
53591
+ "17": {
53356
53592
  loc: {
53357
53593
  start: {
53358
- line: 101,
53594
+ line: 107,
53359
53595
  column: 10
53360
53596
  },
53361
53597
  end: {
53362
- line: 109,
53598
+ line: 115,
53363
53599
  column: 11
53364
53600
  }
53365
53601
  },
53366
53602
  type: "if",
53367
53603
  locations: [{
53368
53604
  start: {
53369
- line: 101,
53605
+ line: 107,
53370
53606
  column: 10
53371
53607
  },
53372
53608
  end: {
53373
- line: 109,
53609
+ line: 115,
53374
53610
  column: 11
53375
53611
  }
53376
53612
  }, {
@@ -53383,159 +53619,159 @@ function cov_1l3yhm377b() {
53383
53619
  column: undefined
53384
53620
  }
53385
53621
  }],
53386
- line: 101
53622
+ line: 107
53387
53623
  },
53388
- "17": {
53624
+ "18": {
53389
53625
  loc: {
53390
53626
  start: {
53391
- line: 111,
53627
+ line: 117,
53392
53628
  column: 13
53393
53629
  },
53394
53630
  end: {
53395
- line: 125,
53631
+ line: 131,
53396
53632
  column: 79
53397
53633
  }
53398
53634
  },
53399
53635
  type: "if",
53400
53636
  locations: [{
53401
53637
  start: {
53402
- line: 111,
53638
+ line: 117,
53403
53639
  column: 13
53404
53640
  },
53405
53641
  end: {
53406
- line: 125,
53642
+ line: 131,
53407
53643
  column: 79
53408
53644
  }
53409
53645
  }, {
53410
53646
  start: {
53411
- line: 119,
53647
+ line: 125,
53412
53648
  column: 13
53413
53649
  },
53414
53650
  end: {
53415
- line: 125,
53651
+ line: 131,
53416
53652
  column: 79
53417
53653
  }
53418
53654
  }],
53419
- line: 111
53655
+ line: 117
53420
53656
  },
53421
- "18": {
53657
+ "19": {
53422
53658
  loc: {
53423
53659
  start: {
53424
- line: 114,
53660
+ line: 120,
53425
53661
  column: 17
53426
53662
  },
53427
53663
  end: {
53428
- line: 116,
53664
+ line: 122,
53429
53665
  column: 16
53430
53666
  }
53431
53667
  },
53432
53668
  type: "cond-expr",
53433
53669
  locations: [{
53434
53670
  start: {
53435
- line: 115,
53671
+ line: 121,
53436
53672
  column: 14
53437
53673
  },
53438
53674
  end: {
53439
- line: 115,
53675
+ line: 121,
53440
53676
  column: 67
53441
53677
  }
53442
53678
  }, {
53443
53679
  start: {
53444
- line: 116,
53680
+ line: 122,
53445
53681
  column: 14
53446
53682
  },
53447
53683
  end: {
53448
- line: 116,
53684
+ line: 122,
53449
53685
  column: 16
53450
53686
  }
53451
53687
  }],
53452
- line: 114
53688
+ line: 120
53453
53689
  },
53454
- "19": {
53690
+ "20": {
53455
53691
  loc: {
53456
53692
  start: {
53457
- line: 119,
53693
+ line: 125,
53458
53694
  column: 13
53459
53695
  },
53460
53696
  end: {
53461
- line: 125,
53697
+ line: 131,
53462
53698
  column: 79
53463
53699
  }
53464
53700
  },
53465
53701
  type: "if",
53466
53702
  locations: [{
53467
53703
  start: {
53468
- line: 119,
53704
+ line: 125,
53469
53705
  column: 13
53470
53706
  },
53471
53707
  end: {
53472
- line: 125,
53708
+ line: 131,
53473
53709
  column: 79
53474
53710
  }
53475
53711
  }, {
53476
53712
  start: {
53477
- line: 125,
53713
+ line: 131,
53478
53714
  column: 13
53479
53715
  },
53480
53716
  end: {
53481
- line: 125,
53717
+ line: 131,
53482
53718
  column: 79
53483
53719
  }
53484
53720
  }],
53485
- line: 119
53721
+ line: 125
53486
53722
  },
53487
- "20": {
53723
+ "21": {
53488
53724
  loc: {
53489
53725
  start: {
53490
- line: 122,
53726
+ line: 128,
53491
53727
  column: 17
53492
53728
  },
53493
53729
  end: {
53494
- line: 122,
53730
+ line: 128,
53495
53731
  column: 69
53496
53732
  }
53497
53733
  },
53498
53734
  type: "cond-expr",
53499
53735
  locations: [{
53500
53736
  start: {
53501
- line: 122,
53737
+ line: 128,
53502
53738
  column: 33
53503
53739
  },
53504
53740
  end: {
53505
- line: 122,
53741
+ line: 128,
53506
53742
  column: 62
53507
53743
  }
53508
53744
  }, {
53509
53745
  start: {
53510
- line: 122,
53746
+ line: 128,
53511
53747
  column: 65
53512
53748
  },
53513
53749
  end: {
53514
- line: 122,
53750
+ line: 128,
53515
53751
  column: 69
53516
53752
  }
53517
53753
  }],
53518
- line: 122
53754
+ line: 128
53519
53755
  },
53520
- "21": {
53756
+ "22": {
53521
53757
  loc: {
53522
53758
  start: {
53523
- line: 135,
53759
+ line: 141,
53524
53760
  column: 2
53525
53761
  },
53526
53762
  end: {
53527
- line: 141,
53763
+ line: 147,
53528
53764
  column: 3
53529
53765
  }
53530
53766
  },
53531
53767
  type: "if",
53532
53768
  locations: [{
53533
53769
  start: {
53534
- line: 135,
53770
+ line: 141,
53535
53771
  column: 2
53536
53772
  },
53537
53773
  end: {
53538
- line: 141,
53774
+ line: 147,
53539
53775
  column: 3
53540
53776
  }
53541
53777
  }, {
@@ -53548,40 +53784,40 @@ function cov_1l3yhm377b() {
53548
53784
  column: undefined
53549
53785
  }
53550
53786
  }],
53551
- line: 135
53787
+ line: 141
53552
53788
  },
53553
- "22": {
53789
+ "23": {
53554
53790
  loc: {
53555
53791
  start: {
53556
- line: 135,
53792
+ line: 141,
53557
53793
  column: 6
53558
53794
  },
53559
53795
  end: {
53560
- line: 135,
53796
+ line: 141,
53561
53797
  column: 30
53562
53798
  }
53563
53799
  },
53564
53800
  type: "binary-expr",
53565
53801
  locations: [{
53566
53802
  start: {
53567
- line: 135,
53803
+ line: 141,
53568
53804
  column: 6
53569
53805
  },
53570
53806
  end: {
53571
- line: 135,
53807
+ line: 141,
53572
53808
  column: 12
53573
53809
  }
53574
53810
  }, {
53575
53811
  start: {
53576
- line: 135,
53812
+ line: 141,
53577
53813
  column: 16
53578
53814
  },
53579
53815
  end: {
53580
- line: 135,
53816
+ line: 141,
53581
53817
  column: 30
53582
53818
  }
53583
53819
  }],
53584
- line: 135
53820
+ line: 141
53585
53821
  }
53586
53822
  },
53587
53823
  s: {
@@ -53637,7 +53873,9 @@ function cov_1l3yhm377b() {
53637
53873
  "49": 0,
53638
53874
  "50": 0,
53639
53875
  "51": 0,
53640
- "52": 0
53876
+ "52": 0,
53877
+ "53": 0,
53878
+ "54": 0
53641
53879
  },
53642
53880
  f: {
53643
53881
  "0": 0,
@@ -53659,7 +53897,7 @@ function cov_1l3yhm377b() {
53659
53897
  "2": [0],
53660
53898
  "3": [0],
53661
53899
  "4": [0, 0],
53662
- "5": [0, 0, 0, 0, 0, 0],
53900
+ "5": [0, 0, 0, 0, 0, 0, 0],
53663
53901
  "6": [0, 0],
53664
53902
  "7": [0, 0],
53665
53903
  "8": [0, 0],
@@ -53676,10 +53914,11 @@ function cov_1l3yhm377b() {
53676
53914
  "19": [0, 0],
53677
53915
  "20": [0, 0],
53678
53916
  "21": [0, 0],
53679
- "22": [0, 0]
53917
+ "22": [0, 0],
53918
+ "23": [0, 0]
53680
53919
  },
53681
53920
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
53682
- hash: "c5c25e3b86f6ca0d8f7d631a522c9f19b84c95df"
53921
+ hash: "43a1df0efd87b2eb39a9401cdbb55dc1f6ee1045"
53683
53922
  };
53684
53923
  var coverage = global[gcv] || (global[gcv] = {});
53685
53924
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -53742,7 +53981,6 @@ var generateInitValues = function generateInitValues(questions) {
53742
53981
  }
53743
53982
  cov_1l3yhm377b().s[11]++;
53744
53983
  questions.forEach(function (question) {
53745
- var _ref2, _valuesMap, _valuesMap$id;
53746
53984
  cov_1l3yhm377b().f[5]++;
53747
53985
  var _ref = (cov_1l3yhm377b().s[12]++, question),
53748
53986
  id = _ref.id,
@@ -53750,88 +53988,100 @@ var generateInitValues = function generateInitValues(questions) {
53750
53988
  optionsAttributes = _ref.optionsAttributes;
53751
53989
  cov_1l3yhm377b().s[13]++;
53752
53990
  switch (kind) {
53753
- case QUESTION_KIND.ADDITIONAL_GUESTS.value:
53991
+ case QUESTION_KIND.CONDITION.value:
53754
53992
  cov_1l3yhm377b().b[5][0]++;
53755
- cov_1l3yhm377b().s[14]++;
53756
- initValues[id] = (_ref2 = (cov_1l3yhm377b().b[6][0]++, toEmailValues((_valuesMap = valuesMap) === null || _valuesMap === void 0 ? void 0 : (_valuesMap$id = _valuesMap[id]) === null || _valuesMap$id === void 0 ? void 0 : _valuesMap$id.value))) !== null && _ref2 !== void 0 ? _ref2 : (cov_1l3yhm377b().b[6][1]++, []);
53757
- cov_1l3yhm377b().s[15]++;
53758
- return;
53759
- case QUESTION_KIND.CHECKBOX.value:
53993
+ {
53994
+ var _ref2, _valuesMap, _valuesMap$id;
53995
+ cov_1l3yhm377b().s[14]++;
53996
+ initValues[id] = (_ref2 = (cov_1l3yhm377b().b[6][0]++, (_valuesMap = valuesMap) === null || _valuesMap === void 0 ? void 0 : (_valuesMap$id = _valuesMap[id]) === null || _valuesMap$id === void 0 ? void 0 : _valuesMap$id.value)) !== null && _ref2 !== void 0 ? _ref2 : (cov_1l3yhm377b().b[6][1]++, false);
53997
+ cov_1l3yhm377b().s[15]++;
53998
+ return;
53999
+ }
54000
+ case QUESTION_KIND.ADDITIONAL_GUESTS.value:
53760
54001
  cov_1l3yhm377b().b[5][1]++;
53761
54002
  {
53762
- var _valuesMap$id2, _valuesMap$id2$option;
54003
+ var _ref3, _valuesMap2, _valuesMap2$id;
53763
54004
  cov_1l3yhm377b().s[16]++;
53764
- initValues[id] = (_valuesMap$id2 = valuesMap[id]) !== null && _valuesMap$id2 !== void 0 && (_valuesMap$id2$option = _valuesMap$id2.optionIds) !== null && _valuesMap$id2$option !== void 0 && _valuesMap$id2$option.length ? (cov_1l3yhm377b().b[7][0]++, optionsAttributes.map(function (option) {
54005
+ initValues[id] = (_ref3 = (cov_1l3yhm377b().b[7][0]++, toEmailValues((_valuesMap2 = valuesMap) === null || _valuesMap2 === void 0 ? void 0 : (_valuesMap2$id = _valuesMap2[id]) === null || _valuesMap2$id === void 0 ? void 0 : _valuesMap2$id.value))) !== null && _ref3 !== void 0 ? _ref3 : (cov_1l3yhm377b().b[7][1]++, []);
54006
+ cov_1l3yhm377b().s[17]++;
54007
+ return;
54008
+ }
54009
+ case QUESTION_KIND.CHECKBOX.value:
54010
+ cov_1l3yhm377b().b[5][2]++;
54011
+ {
54012
+ var _valuesMap$id2, _valuesMap$id2$option;
54013
+ cov_1l3yhm377b().s[18]++;
54014
+ initValues[id] = (_valuesMap$id2 = valuesMap[id]) !== null && _valuesMap$id2 !== void 0 && (_valuesMap$id2$option = _valuesMap$id2.optionIds) !== null && _valuesMap$id2$option !== void 0 && _valuesMap$id2$option.length ? (cov_1l3yhm377b().b[8][0]++, optionsAttributes.map(function (option) {
53765
54015
  var _valuesMap$id3, _valuesMap$id3$option;
53766
54016
  cov_1l3yhm377b().f[6]++;
53767
- cov_1l3yhm377b().s[17]++;
54017
+ cov_1l3yhm377b().s[19]++;
53768
54018
  return (_valuesMap$id3 = valuesMap[id]) === null || _valuesMap$id3 === void 0 ? void 0 : (_valuesMap$id3$option = _valuesMap$id3.optionIds) === null || _valuesMap$id3$option === void 0 ? void 0 : _valuesMap$id3$option.includes(option.id);
53769
- })) : (cov_1l3yhm377b().b[7][1]++, new Array(optionsAttributes.length).fill(false));
53770
- cov_1l3yhm377b().s[18]++;
54019
+ })) : (cov_1l3yhm377b().b[8][1]++, new Array(optionsAttributes.length).fill(false));
54020
+ cov_1l3yhm377b().s[20]++;
53771
54021
  return;
53772
54022
  }
53773
54023
  case QUESTION_KIND.RADIO.value:
53774
- cov_1l3yhm377b().b[5][2]++;
53775
- case QUESTION_KIND.DROPDOWN.value:
53776
54024
  cov_1l3yhm377b().b[5][3]++;
54025
+ case QUESTION_KIND.DROPDOWN.value:
54026
+ cov_1l3yhm377b().b[5][4]++;
53777
54027
  {
53778
54028
  var _optionsAttributes$fi;
53779
- cov_1l3yhm377b().s[19]++;
53780
- initValues[id] = (cov_1l3yhm377b().b[8][0]++, (_optionsAttributes$fi = optionsAttributes.find(function (option) {
54029
+ cov_1l3yhm377b().s[21]++;
54030
+ initValues[id] = (cov_1l3yhm377b().b[9][0]++, (_optionsAttributes$fi = optionsAttributes.find(function (option) {
53781
54031
  var _valuesMap$id4, _valuesMap$id4$option;
53782
54032
  cov_1l3yhm377b().f[7]++;
53783
- cov_1l3yhm377b().s[20]++;
54033
+ cov_1l3yhm377b().s[22]++;
53784
54034
  return (_valuesMap$id4 = valuesMap[id]) === null || _valuesMap$id4 === void 0 ? void 0 : (_valuesMap$id4$option = _valuesMap$id4.optionIds) === null || _valuesMap$id4$option === void 0 ? void 0 : _valuesMap$id4$option.includes(option.id);
53785
- })) === null || _optionsAttributes$fi === void 0 ? void 0 : _optionsAttributes$fi.id) || (cov_1l3yhm377b().b[8][1]++, "");
53786
- cov_1l3yhm377b().s[21]++;
54035
+ })) === null || _optionsAttributes$fi === void 0 ? void 0 : _optionsAttributes$fi.id) || (cov_1l3yhm377b().b[9][1]++, "");
54036
+ cov_1l3yhm377b().s[23]++;
53787
54037
  return;
53788
54038
  }
53789
54039
  case QUESTION_KIND.TERMS.value:
53790
- cov_1l3yhm377b().b[5][4]++;
54040
+ cov_1l3yhm377b().b[5][5]++;
53791
54041
  {
53792
- cov_1l3yhm377b().s[22]++;
54042
+ cov_1l3yhm377b().s[24]++;
53793
54043
  initValues[id] = false;
53794
- cov_1l3yhm377b().s[23]++;
54044
+ cov_1l3yhm377b().s[25]++;
53795
54045
  return;
53796
54046
  }
53797
54047
  default:
53798
- cov_1l3yhm377b().b[5][5]++;
54048
+ cov_1l3yhm377b().b[5][6]++;
53799
54049
  {
53800
- var _ref3, _valuesMap2, _valuesMap2$id;
53801
- cov_1l3yhm377b().s[24]++;
53802
- initValues[id] = (_ref3 = (cov_1l3yhm377b().b[9][0]++, (_valuesMap2 = valuesMap) === null || _valuesMap2 === void 0 ? void 0 : (_valuesMap2$id = _valuesMap2[id]) === null || _valuesMap2$id === void 0 ? void 0 : _valuesMap2$id.value)) !== null && _ref3 !== void 0 ? _ref3 : (cov_1l3yhm377b().b[9][1]++, "");
53803
- cov_1l3yhm377b().s[25]++;
54050
+ var _ref4, _valuesMap3, _valuesMap3$id;
54051
+ cov_1l3yhm377b().s[26]++;
54052
+ initValues[id] = (_ref4 = (cov_1l3yhm377b().b[10][0]++, (_valuesMap3 = valuesMap) === null || _valuesMap3 === void 0 ? void 0 : (_valuesMap3$id = _valuesMap3[id]) === null || _valuesMap3$id === void 0 ? void 0 : _valuesMap3$id.value)) !== null && _ref4 !== void 0 ? _ref4 : (cov_1l3yhm377b().b[10][1]++, "");
54053
+ cov_1l3yhm377b().s[27]++;
53804
54054
  return;
53805
54055
  }
53806
54056
  }
53807
54057
  });
53808
- cov_1l3yhm377b().s[26]++;
53809
- return !isEmptyValues(localValues) ? (cov_1l3yhm377b().b[10][0]++, localValues) : (cov_1l3yhm377b().b[10][1]++, initValues);
54058
+ cov_1l3yhm377b().s[28]++;
54059
+ return !isEmptyValues(localValues) ? (cov_1l3yhm377b().b[11][0]++, localValues) : (cov_1l3yhm377b().b[11][1]++, initValues);
53810
54060
  };
53811
- cov_1l3yhm377b().s[27]++;
54061
+ cov_1l3yhm377b().s[29]++;
53812
54062
  var generateFormResponse = function generateFormResponse(response, questions) {
53813
54063
  cov_1l3yhm377b().f[8]++;
53814
- var formResponse = (cov_1l3yhm377b().s[28]++, []);
53815
- cov_1l3yhm377b().s[29]++;
54064
+ var formResponse = (cov_1l3yhm377b().s[30]++, []);
54065
+ cov_1l3yhm377b().s[31]++;
53816
54066
  questions.forEach(function (question) {
53817
54067
  cov_1l3yhm377b().f[9]++;
53818
- var _ref4 = (cov_1l3yhm377b().s[30]++, question),
53819
- id = _ref4.id,
53820
- kind = _ref4.kind,
53821
- optionsAttributes = _ref4.optionsAttributes;
53822
- cov_1l3yhm377b().s[31]++;
54068
+ var _ref5 = (cov_1l3yhm377b().s[32]++, question),
54069
+ id = _ref5.id,
54070
+ kind = _ref5.kind,
54071
+ optionsAttributes = _ref5.optionsAttributes;
54072
+ cov_1l3yhm377b().s[33]++;
53823
54073
  if (!SCHEMA_LESS_QUESTION_KINDS.includes(kind)) {
53824
- cov_1l3yhm377b().b[11][0]++;
53825
- var _ref5 = (cov_1l3yhm377b().s[32]++, response),
53826
- responseValue = _ref5[id];
53827
- cov_1l3yhm377b().s[33]++;
53828
- if ((cov_1l3yhm377b().b[13][0]++, kind === QUESTION_KIND.RADIO.value) || (cov_1l3yhm377b().b[13][1]++, kind === QUESTION_KIND.DROPDOWN.value)) {
53829
- cov_1l3yhm377b().b[12][0]++;
53830
- var option = (cov_1l3yhm377b().s[34]++, pure.findById(responseValue, optionsAttributes));
53831
- cov_1l3yhm377b().s[35]++;
54074
+ cov_1l3yhm377b().b[12][0]++;
54075
+ var _ref6 = (cov_1l3yhm377b().s[34]++, response),
54076
+ responseValue = _ref6[id];
54077
+ cov_1l3yhm377b().s[35]++;
54078
+ if ((cov_1l3yhm377b().b[14][0]++, kind === QUESTION_KIND.RADIO.value) || (cov_1l3yhm377b().b[14][1]++, kind === QUESTION_KIND.DROPDOWN.value)) {
54079
+ cov_1l3yhm377b().b[13][0]++;
54080
+ var option = (cov_1l3yhm377b().s[36]++, pure.findById(responseValue, optionsAttributes));
54081
+ cov_1l3yhm377b().s[37]++;
53832
54082
  if (option) {
53833
- cov_1l3yhm377b().b[14][0]++;
53834
- cov_1l3yhm377b().s[36]++;
54083
+ cov_1l3yhm377b().b[15][0]++;
54084
+ cov_1l3yhm377b().s[38]++;
53835
54085
  formResponse.push({
53836
54086
  questionId: id,
53837
54087
  questionOptionId: option.id,
@@ -53839,21 +54089,21 @@ var generateFormResponse = function generateFormResponse(response, questions) {
53839
54089
  kind: kind
53840
54090
  });
53841
54091
  } else {
53842
- cov_1l3yhm377b().b[14][1]++;
54092
+ cov_1l3yhm377b().b[15][1]++;
53843
54093
  }
53844
54094
  } else {
53845
- cov_1l3yhm377b().b[12][1]++;
53846
- cov_1l3yhm377b().s[37]++;
54095
+ cov_1l3yhm377b().b[13][1]++;
54096
+ cov_1l3yhm377b().s[39]++;
53847
54097
  if (kind === QUESTION_KIND.CHECKBOX.value) {
53848
- cov_1l3yhm377b().b[15][0]++;
53849
- cov_1l3yhm377b().s[38]++;
54098
+ cov_1l3yhm377b().b[16][0]++;
54099
+ cov_1l3yhm377b().s[40]++;
53850
54100
  responseValue.forEach(function (isChecked, index) {
53851
54101
  cov_1l3yhm377b().f[10]++;
53852
- cov_1l3yhm377b().s[39]++;
54102
+ cov_1l3yhm377b().s[41]++;
53853
54103
  if (isChecked) {
53854
- cov_1l3yhm377b().b[16][0]++;
53855
- var _option = (cov_1l3yhm377b().s[40]++, optionsAttributes[index]);
53856
- cov_1l3yhm377b().s[41]++;
54104
+ cov_1l3yhm377b().b[17][0]++;
54105
+ var _option = (cov_1l3yhm377b().s[42]++, optionsAttributes[index]);
54106
+ cov_1l3yhm377b().s[43]++;
53857
54107
  formResponse.push({
53858
54108
  questionId: id,
53859
54109
  questionOptionId: _option.id,
@@ -53861,34 +54111,34 @@ var generateFormResponse = function generateFormResponse(response, questions) {
53861
54111
  kind: kind
53862
54112
  });
53863
54113
  } else {
53864
- cov_1l3yhm377b().b[16][1]++;
54114
+ cov_1l3yhm377b().b[17][1]++;
53865
54115
  }
53866
54116
  });
53867
54117
  } else {
53868
- cov_1l3yhm377b().b[15][1]++;
53869
- cov_1l3yhm377b().s[42]++;
54118
+ cov_1l3yhm377b().b[16][1]++;
54119
+ cov_1l3yhm377b().s[44]++;
53870
54120
  if (kind === QUESTION_KIND.PHONE.value) {
53871
- cov_1l3yhm377b().b[17][0]++;
53872
- cov_1l3yhm377b().s[43]++;
54121
+ cov_1l3yhm377b().b[18][0]++;
54122
+ cov_1l3yhm377b().s[45]++;
53873
54123
  formResponse.push({
53874
54124
  questionId: id,
53875
- value: responseValue ? (cov_1l3yhm377b().b[18][0]++, parsePhoneNumberFromString(responseValue).formatInternational()) : (cov_1l3yhm377b().b[18][1]++, ""),
54125
+ value: responseValue ? (cov_1l3yhm377b().b[19][0]++, parsePhoneNumberFromString(responseValue).formatInternational()) : (cov_1l3yhm377b().b[19][1]++, ""),
53876
54126
  kind: kind
53877
54127
  });
53878
54128
  } else {
53879
- cov_1l3yhm377b().b[17][1]++;
53880
- cov_1l3yhm377b().s[44]++;
54129
+ cov_1l3yhm377b().b[18][1]++;
54130
+ cov_1l3yhm377b().s[46]++;
53881
54131
  if (kind === QUESTION_KIND.ADDITIONAL_GUESTS.value) {
53882
- cov_1l3yhm377b().b[19][0]++;
53883
- cov_1l3yhm377b().s[45]++;
54132
+ cov_1l3yhm377b().b[20][0]++;
54133
+ cov_1l3yhm377b().s[47]++;
53884
54134
  formResponse.push({
53885
54135
  questionId: id,
53886
- value: responseValue ? (cov_1l3yhm377b().b[20][0]++, ramda.pluck("value", responseValue)) : (cov_1l3yhm377b().b[20][1]++, null),
54136
+ value: responseValue ? (cov_1l3yhm377b().b[21][0]++, ramda.pluck("value", responseValue)) : (cov_1l3yhm377b().b[21][1]++, null),
53887
54137
  kind: kind
53888
54138
  });
53889
54139
  } else {
53890
- cov_1l3yhm377b().b[19][1]++;
53891
- cov_1l3yhm377b().s[46]++;
54140
+ cov_1l3yhm377b().b[20][1]++;
54141
+ cov_1l3yhm377b().s[48]++;
53892
54142
  formResponse.push({
53893
54143
  questionId: id,
53894
54144
  value: responseValue,
@@ -53899,29 +54149,29 @@ var generateFormResponse = function generateFormResponse(response, questions) {
53899
54149
  }
53900
54150
  }
53901
54151
  } else {
53902
- cov_1l3yhm377b().b[11][1]++;
54152
+ cov_1l3yhm377b().b[12][1]++;
53903
54153
  }
53904
54154
  });
53905
- cov_1l3yhm377b().s[47]++;
54155
+ cov_1l3yhm377b().s[49]++;
53906
54156
  return formResponse;
53907
54157
  };
53908
- cov_1l3yhm377b().s[48]++;
54158
+ cov_1l3yhm377b().s[50]++;
53909
54159
  var hyphenize = function hyphenize(string) {
53910
54160
  cov_1l3yhm377b().f[11]++;
53911
- var fallbackString = (cov_1l3yhm377b().s[49]++, "nui");
53912
- cov_1l3yhm377b().s[50]++;
53913
- if ((cov_1l3yhm377b().b[22][0]++, string) && (cov_1l3yhm377b().b[22][1]++, string.replace)) {
53914
- cov_1l3yhm377b().b[21][0]++;
53915
- cov_1l3yhm377b().s[51]++;
54161
+ var fallbackString = (cov_1l3yhm377b().s[51]++, "nui");
54162
+ cov_1l3yhm377b().s[52]++;
54163
+ if ((cov_1l3yhm377b().b[23][0]++, string) && (cov_1l3yhm377b().b[23][1]++, string.replace)) {
54164
+ cov_1l3yhm377b().b[22][0]++;
54165
+ cov_1l3yhm377b().s[53]++;
53916
54166
  return string.replace(/[\s_]/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/-+/g, "-").toLowerCase();
53917
54167
  } else {
53918
- cov_1l3yhm377b().b[21][1]++;
54168
+ cov_1l3yhm377b().b[22][1]++;
53919
54169
  }
53920
- cov_1l3yhm377b().s[52]++;
54170
+ cov_1l3yhm377b().s[54]++;
53921
54171
  return fallbackString;
53922
54172
  };
53923
54173
 
53924
- var _excluded$7 = ["label", "placeholder", "helpText", "value", "onChange", "error", "onBlur", "filterInvalidEmails", "counter", "disabled", "maxHeight", "labelProps"];
54174
+ var _excluded$8 = ["label", "placeholder", "helpText", "value", "onChange", "error", "onBlur", "filterInvalidEmails", "counter", "disabled", "maxHeight", "labelProps"];
53925
54175
  function cov_ic8t6kb5c() {
53926
54176
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/MultipleEmail/index.jsx";
53927
54177
  var hash = "544673bb225987a32143d318f81ed27bb2496821";
@@ -55526,7 +55776,7 @@ var MultiEmailInput = (cov_ic8t6kb5c().s[0]++, /*#__PURE__*/React$2.forwardRef(f
55526
55776
  _ref$maxHeight = _ref.maxHeight,
55527
55777
  maxHeight = _ref$maxHeight === void 0 ? (cov_ic8t6kb5c().b[8][0]++, 200) : _ref$maxHeight,
55528
55778
  labelProps = _ref.labelProps,
55529
- otherProps = _objectWithoutProperties$1(_ref, _excluded$7);
55779
+ otherProps = _objectWithoutProperties$1(_ref, _excluded$8);
55530
55780
  cov_ic8t6kb5c().f[0]++;
55531
55781
  var _ref2 = (cov_ic8t6kb5c().s[1]++, React$2.useState("")),
55532
55782
  _ref3 = _slicedToArray$6(_ref2, 2),
@@ -58385,6 +58635,394 @@ var MultipleEmailInput = function MultipleEmailInput(_ref) {
58385
58635
  })));
58386
58636
  };
58387
58637
 
58638
+ var _excluded$7 = ["name", "label", "error", "value"];
58639
+ function cov_1gez8dqmnr() {
58640
+ var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Condition.jsx";
58641
+ var hash = "328a2f02a8ce55ca9c1107c4db4abe7d241df713";
58642
+ var global = new Function("return this")();
58643
+ var gcv = "__coverage__";
58644
+ var coverageData = {
58645
+ path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Condition.jsx",
58646
+ statementMap: {
58647
+ "0": {
58648
+ start: {
58649
+ line: 3,
58650
+ column: 18
58651
+ },
58652
+ end: {
58653
+ line: 24,
58654
+ column: 1
58655
+ }
58656
+ },
58657
+ "1": {
58658
+ start: {
58659
+ line: 4,
58660
+ column: 2
58661
+ },
58662
+ end: {
58663
+ line: 23,
58664
+ column: 8
58665
+ }
58666
+ }
58667
+ },
58668
+ fnMap: {
58669
+ "0": {
58670
+ name: "(anonymous_0)",
58671
+ decl: {
58672
+ start: {
58673
+ line: 3,
58674
+ column: 18
58675
+ },
58676
+ end: {
58677
+ line: 3,
58678
+ column: 19
58679
+ }
58680
+ },
58681
+ loc: {
58682
+ start: {
58683
+ line: 4,
58684
+ column: 2
58685
+ },
58686
+ end: {
58687
+ line: 23,
58688
+ column: 8
58689
+ }
58690
+ },
58691
+ line: 4
58692
+ }
58693
+ },
58694
+ branchMap: {
58695
+ "0": {
58696
+ loc: {
58697
+ start: {
58698
+ line: 20,
58699
+ column: 5
58700
+ },
58701
+ end: {
58702
+ line: 22,
58703
+ column: 5
58704
+ }
58705
+ },
58706
+ type: "binary-expr",
58707
+ locations: [{
58708
+ start: {
58709
+ line: 20,
58710
+ column: 5
58711
+ },
58712
+ end: {
58713
+ line: 20,
58714
+ column: 12
58715
+ }
58716
+ }, {
58717
+ start: {
58718
+ line: 20,
58719
+ column: 16
58720
+ },
58721
+ end: {
58722
+ line: 20,
58723
+ column: 41
58724
+ }
58725
+ }, {
58726
+ start: {
58727
+ line: 21,
58728
+ column: 6
58729
+ },
58730
+ end: {
58731
+ line: 21,
58732
+ column: 63
58733
+ }
58734
+ }],
58735
+ line: 20
58736
+ }
58737
+ },
58738
+ s: {
58739
+ "0": 0,
58740
+ "1": 0
58741
+ },
58742
+ f: {
58743
+ "0": 0
58744
+ },
58745
+ b: {
58746
+ "0": [0, 0, 0]
58747
+ },
58748
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
58749
+ hash: "328a2f02a8ce55ca9c1107c4db4abe7d241df713"
58750
+ };
58751
+ var coverage = global[gcv] || (global[gcv] = {});
58752
+ if (!coverage[path] || coverage[path].hash !== hash) {
58753
+ coverage[path] = coverageData;
58754
+ }
58755
+ var actualCoverage = coverage[path];
58756
+ {
58757
+ // @ts-ignore
58758
+ cov_1gez8dqmnr = function () {
58759
+ return actualCoverage;
58760
+ };
58761
+ }
58762
+ return actualCoverage;
58763
+ }
58764
+ cov_1gez8dqmnr();
58765
+ cov_1gez8dqmnr().s[0]++;
58766
+ var Condition = function Condition(_ref, ref) {
58767
+ var name = _ref.name,
58768
+ label = _ref.label,
58769
+ error = _ref.error,
58770
+ value = _ref.value,
58771
+ otherProps = _objectWithoutProperties$1(_ref, _excluded$7);
58772
+ cov_1gez8dqmnr().f[0]++;
58773
+ cov_1gez8dqmnr().s[1]++;
58774
+ return /*#__PURE__*/React__default["default"].createElement("div", {
58775
+ className: "neeto-form-engine-terms"
58776
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
58777
+ className: "neeto-form-engine-choice"
58778
+ }, /*#__PURE__*/React__default["default"].createElement("input", _extends$9({
58779
+ required: true,
58780
+ "aria-invalid": !!error,
58781
+ id: "condition-".concat(name),
58782
+ name: name,
58783
+ ref: ref,
58784
+ type: "checkbox",
58785
+ value: value
58786
+ }, otherProps)), /*#__PURE__*/React__default["default"].createElement("label", {
58787
+ className: "neeto-form-engine-label",
58788
+ htmlFor: "condition-".concat(name)
58789
+ }, label)), (cov_1gez8dqmnr().b[0][0]++, !!error) && (cov_1gez8dqmnr().b[0][1]++, typeof error === "string") && (cov_1gez8dqmnr().b[0][2]++, /*#__PURE__*/React__default["default"].createElement("p", {
58790
+ className: "neeto-form-engine-input__error"
58791
+ }, error)));
58792
+ };
58793
+ var Condition$1 = /*#__PURE__*/React$2.forwardRef(Condition);
58794
+
58795
+ function cov_2lhrgkh8e4() {
58796
+ var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/ConditionField.jsx";
58797
+ var hash = "9dd92df1361b93030c12800c1adefa902b7b6916";
58798
+ var global = new Function("return this")();
58799
+ var gcv = "__coverage__";
58800
+ var coverageData = {
58801
+ path: "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/ConditionField.jsx",
58802
+ statementMap: {
58803
+ "0": {
58804
+ start: {
58805
+ line: 9,
58806
+ column: 23
58807
+ },
58808
+ end: {
58809
+ line: 32,
58810
+ column: 1
58811
+ }
58812
+ },
58813
+ "1": {
58814
+ start: {
58815
+ line: 10,
58816
+ column: 56
58817
+ },
58818
+ end: {
58819
+ line: 10,
58820
+ column: 64
58821
+ }
58822
+ },
58823
+ "2": {
58824
+ start: {
58825
+ line: 12,
58826
+ column: 2
58827
+ },
58828
+ end: {
58829
+ line: 31,
58830
+ column: 4
58831
+ }
58832
+ },
58833
+ "3": {
58834
+ start: {
58835
+ line: 23,
58836
+ column: 8
58837
+ },
58838
+ end: {
58839
+ line: 28,
58840
+ column: 10
58841
+ }
58842
+ }
58843
+ },
58844
+ fnMap: {
58845
+ "0": {
58846
+ name: "(anonymous_0)",
58847
+ decl: {
58848
+ start: {
58849
+ line: 9,
58850
+ column: 23
58851
+ },
58852
+ end: {
58853
+ line: 9,
58854
+ column: 24
58855
+ }
58856
+ },
58857
+ loc: {
58858
+ start: {
58859
+ line: 9,
58860
+ column: 58
58861
+ },
58862
+ end: {
58863
+ line: 32,
58864
+ column: 1
58865
+ }
58866
+ },
58867
+ line: 9
58868
+ },
58869
+ "1": {
58870
+ name: "(anonymous_1)",
58871
+ decl: {
58872
+ start: {
58873
+ line: 22,
58874
+ column: 7
58875
+ },
58876
+ end: {
58877
+ line: 22,
58878
+ column: 8
58879
+ }
58880
+ },
58881
+ loc: {
58882
+ start: {
58883
+ line: 23,
58884
+ column: 8
58885
+ },
58886
+ end: {
58887
+ line: 28,
58888
+ column: 10
58889
+ }
58890
+ },
58891
+ line: 23
58892
+ }
58893
+ },
58894
+ branchMap: {
58895
+ "0": {
58896
+ loc: {
58897
+ start: {
58898
+ line: 14,
58899
+ column: 12
58900
+ },
58901
+ end: {
58902
+ line: 14,
58903
+ column: 26
58904
+ }
58905
+ },
58906
+ type: "binary-expr",
58907
+ locations: [{
58908
+ start: {
58909
+ line: 14,
58910
+ column: 12
58911
+ },
58912
+ end: {
58913
+ line: 14,
58914
+ column: 16
58915
+ }
58916
+ }, {
58917
+ start: {
58918
+ line: 14,
58919
+ column: 20
58920
+ },
58921
+ end: {
58922
+ line: 14,
58923
+ column: 26
58924
+ }
58925
+ }],
58926
+ line: 14
58927
+ },
58928
+ "1": {
58929
+ loc: {
58930
+ start: {
58931
+ line: 25,
58932
+ column: 17
58933
+ },
58934
+ end: {
58935
+ line: 25,
58936
+ column: 47
58937
+ }
58938
+ },
58939
+ type: "cond-expr",
58940
+ locations: [{
58941
+ start: {
58942
+ line: 25,
58943
+ column: 32
58944
+ },
58945
+ end: {
58946
+ line: 25,
58947
+ column: 42
58948
+ }
58949
+ }, {
58950
+ start: {
58951
+ line: 25,
58952
+ column: 45
58953
+ },
58954
+ end: {
58955
+ line: 25,
58956
+ column: 47
58957
+ }
58958
+ }],
58959
+ line: 25
58960
+ }
58961
+ },
58962
+ s: {
58963
+ "0": 0,
58964
+ "1": 0,
58965
+ "2": 0,
58966
+ "3": 0
58967
+ },
58968
+ f: {
58969
+ "0": 0,
58970
+ "1": 0
58971
+ },
58972
+ b: {
58973
+ "0": [0, 0],
58974
+ "1": [0, 0]
58975
+ },
58976
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
58977
+ hash: "9dd92df1361b93030c12800c1adefa902b7b6916"
58978
+ };
58979
+ var coverage = global[gcv] || (global[gcv] = {});
58980
+ if (!coverage[path] || coverage[path].hash !== hash) {
58981
+ coverage[path] = coverageData;
58982
+ }
58983
+ var actualCoverage = coverage[path];
58984
+ {
58985
+ // @ts-ignore
58986
+ cov_2lhrgkh8e4 = function () {
58987
+ return actualCoverage;
58988
+ };
58989
+ }
58990
+ return actualCoverage;
58991
+ }
58992
+ cov_2lhrgkh8e4();
58993
+ cov_2lhrgkh8e4().s[0]++;
58994
+ var ConditionField = function ConditionField(_ref) {
58995
+ var question = _ref.question,
58996
+ customValidator = _ref.customValidator;
58997
+ cov_2lhrgkh8e4().f[0]++;
58998
+ var _ref2 = (cov_2lhrgkh8e4().s[1]++, question),
58999
+ name = _ref2.id,
59000
+ kind = _ref2.kind,
59001
+ label = _ref2.label,
59002
+ isRequired = _ref2.isRequired,
59003
+ nodeId = _ref2.nodeId;
59004
+ cov_2lhrgkh8e4().s[2]++;
59005
+ return /*#__PURE__*/React__default["default"].createElement(formik.Field, {
59006
+ name: (cov_2lhrgkh8e4().b[0][0]++, name) || (cov_2lhrgkh8e4().b[0][1]++, nodeId),
59007
+ validate: validateFieldValue({
59008
+ kind: kind,
59009
+ label: label,
59010
+ isRequired: isRequired,
59011
+ customValidator: customValidator
59012
+ })
59013
+ }, function (_ref3) {
59014
+ var meta = _ref3.meta,
59015
+ field = _ref3.field;
59016
+ cov_2lhrgkh8e4().f[1]++;
59017
+ cov_2lhrgkh8e4().s[3]++;
59018
+ return /*#__PURE__*/React__default["default"].createElement(Condition$1, _extends$9({}, field, {
59019
+ error: meta.touched ? (cov_2lhrgkh8e4().b[1][0]++, meta.error) : (cov_2lhrgkh8e4().b[1][1]++, ""),
59020
+ label: getLabel$1(label, isRequired),
59021
+ name: name
59022
+ }));
59023
+ });
59024
+ };
59025
+
58388
59026
  var dayjs = {};
58389
59027
 
58390
59028
  var interopRequireDefault = {exports: {}};
@@ -64723,7 +65361,7 @@ var TextField = function TextField(_ref) {
64723
65361
  var _ref2;
64724
65362
  function cov_1cenqfav07() {
64725
65363
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/constants.jsx";
64726
- var hash = "6a6ab8c31cb2f74800019aa5dc2d515fe1e639ee";
65364
+ var hash = "d9edf3cbe38056376db981c1fc0f74095f278145";
64727
65365
  var global = new Function("return this")();
64728
65366
  var gcv = "__coverage__";
64729
65367
  var coverageData = {
@@ -64731,21 +65369,21 @@ function cov_1cenqfav07() {
64731
65369
  statementMap: {
64732
65370
  "0": {
64733
65371
  start: {
64734
- line: 17,
65372
+ line: 18,
64735
65373
  column: 41
64736
65374
  },
64737
65375
  end: {
64738
- line: 35,
65376
+ line: 37,
64739
65377
  column: 1
64740
65378
  }
64741
65379
  },
64742
65380
  "1": {
64743
65381
  start: {
64744
- line: 28,
65382
+ line: 29,
64745
65383
  column: 4
64746
65384
  },
64747
65385
  end: {
64748
- line: 28,
65386
+ line: 29,
64749
65387
  column: 46
64750
65388
  }
64751
65389
  }
@@ -64755,25 +65393,25 @@ function cov_1cenqfav07() {
64755
65393
  name: "(anonymous_0)",
64756
65394
  decl: {
64757
65395
  start: {
64758
- line: 27,
65396
+ line: 28,
64759
65397
  column: 34
64760
65398
  },
64761
65399
  end: {
64762
- line: 27,
65400
+ line: 28,
64763
65401
  column: 35
64764
65402
  }
64765
65403
  },
64766
65404
  loc: {
64767
65405
  start: {
64768
- line: 28,
65406
+ line: 29,
64769
65407
  column: 4
64770
65408
  },
64771
65409
  end: {
64772
- line: 28,
65410
+ line: 29,
64773
65411
  column: 46
64774
65412
  }
64775
65413
  },
64776
- line: 28
65414
+ line: 29
64777
65415
  }
64778
65416
  },
64779
65417
  branchMap: {},
@@ -64786,7 +65424,7 @@ function cov_1cenqfav07() {
64786
65424
  },
64787
65425
  b: {},
64788
65426
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
64789
- hash: "6a6ab8c31cb2f74800019aa5dc2d515fe1e639ee"
65427
+ hash: "d9edf3cbe38056376db981c1fc0f74095f278145"
64790
65428
  };
64791
65429
  var coverage = global[gcv] || (global[gcv] = {});
64792
65430
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -64809,7 +65447,7 @@ var QUESTION_TO_COMPONENT_MAP = (cov_1cenqfav07().s[0]++, (_ref2 = {}, _definePr
64809
65447
  return /*#__PURE__*/React__default["default"].createElement(neetoEditor.EditorContent, {
64810
65448
  content: question.label
64811
65449
  });
64812
- }), _defineProperty$a(_ref2, QUESTION_KIND.TERMS.value, TermsField), _defineProperty$a(_ref2, QUESTION_KIND.DATE.value, DateField), _defineProperty$a(_ref2, QUESTION_KIND.STAR_RATING.value, StarRatingField), _defineProperty$a(_ref2, QUESTION_KIND.ADDITIONAL_GUESTS.value, MultipleEmailInput), _defineProperty$a(_ref2, QUESTION_KIND.RICH_TEXT.value, RichTextEditor), _ref2));
65450
+ }), _defineProperty$a(_ref2, QUESTION_KIND.TERMS.value, TermsField), _defineProperty$a(_ref2, QUESTION_KIND.DATE.value, DateField), _defineProperty$a(_ref2, QUESTION_KIND.STAR_RATING.value, StarRatingField), _defineProperty$a(_ref2, QUESTION_KIND.ADDITIONAL_GUESTS.value, MultipleEmailInput), _defineProperty$a(_ref2, QUESTION_KIND.RICH_TEXT.value, RichTextEditor), _defineProperty$a(_ref2, QUESTION_KIND.CONDITION.value, ConditionField), _ref2));
64813
65451
 
64814
65452
  function cov_zmqolo6ug() {
64815
65453
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/utils.js";
@@ -70883,7 +71521,7 @@ var linkifyDecorator = function linkifyDecorator(decoratedHref, decoratedText, k
70883
71521
 
70884
71522
  function cov_29xlle89ll() {
70885
71523
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Submissions/Submission.jsx";
70886
- var hash = "c62c7cdd0a05bcdbc09bb134860adb35bde42935";
71524
+ var hash = "5bbf5faa11069095565da90858226edff2576be6";
70887
71525
  var global = new Function("return this")();
70888
71526
  var gcv = "__coverage__";
70889
71527
  var coverageData = {
@@ -70935,7 +71573,7 @@ function cov_29xlle89ll() {
70935
71573
  column: 17
70936
71574
  },
70937
71575
  end: {
70938
- line: 35,
71576
+ line: 39,
70939
71577
  column: 1
70940
71578
  }
70941
71579
  },
@@ -70985,137 +71623,157 @@ function cov_29xlle89ll() {
70985
71623
  column: 2
70986
71624
  },
70987
71625
  end: {
70988
- line: 34,
70989
- column: 15
71626
+ line: 36,
71627
+ column: 3
70990
71628
  }
70991
71629
  },
70992
71630
  "10": {
70993
71631
  start: {
70994
- line: 37,
71632
+ line: 35,
71633
+ column: 4
71634
+ },
71635
+ end: {
71636
+ line: 35,
71637
+ column: 52
71638
+ }
71639
+ },
71640
+ "11": {
71641
+ start: {
71642
+ line: 38,
71643
+ column: 2
71644
+ },
71645
+ end: {
71646
+ line: 38,
71647
+ column: 15
71648
+ }
71649
+ },
71650
+ "12": {
71651
+ start: {
71652
+ line: 41,
70995
71653
  column: 19
70996
71654
  },
70997
71655
  end: {
70998
- line: 94,
71656
+ line: 98,
70999
71657
  column: 1
71000
71658
  }
71001
71659
  },
71002
- "11": {
71660
+ "13": {
71003
71661
  start: {
71004
- line: 44,
71662
+ line: 48,
71005
71663
  column: 62
71006
71664
  },
71007
71665
  end: {
71008
- line: 48,
71666
+ line: 52,
71009
71667
  column: 4
71010
71668
  }
71011
71669
  },
71012
- "12": {
71670
+ "14": {
71013
71671
  start: {
71014
- line: 50,
71672
+ line: 54,
71015
71673
  column: 24
71016
71674
  },
71017
71675
  end: {
71018
- line: 50,
71676
+ line: 54,
71019
71677
  column: 34
71020
71678
  }
71021
71679
  },
71022
- "13": {
71680
+ "15": {
71023
71681
  start: {
71024
- line: 52,
71682
+ line: 56,
71025
71683
  column: 31
71026
71684
  },
71027
71685
  end: {
71028
- line: 68,
71686
+ line: 72,
71029
71687
  column: 3
71030
71688
  }
71031
71689
  },
71032
- "14": {
71690
+ "16": {
71033
71691
  start: {
71034
- line: 54,
71692
+ line: 58,
71035
71693
  column: 6
71036
71694
  },
71037
71695
  end: {
71038
- line: 58,
71696
+ line: 62,
71039
71697
  column: 7
71040
71698
  }
71041
71699
  },
71042
- "15": {
71700
+ "17": {
71043
71701
  start: {
71044
- line: 55,
71702
+ line: 59,
71045
71703
  column: 8
71046
71704
  },
71047
71705
  end: {
71048
- line: 55,
71706
+ line: 59,
71049
71707
  column: 69
71050
71708
  }
71051
71709
  },
71052
- "16": {
71710
+ "18": {
71053
71711
  start: {
71054
- line: 56,
71712
+ line: 60,
71055
71713
  column: 13
71056
71714
  },
71057
71715
  end: {
71058
- line: 58,
71716
+ line: 62,
71059
71717
  column: 7
71060
71718
  }
71061
71719
  },
71062
- "17": {
71720
+ "19": {
71063
71721
  start: {
71064
- line: 57,
71722
+ line: 61,
71065
71723
  column: 8
71066
71724
  },
71067
71725
  end: {
71068
- line: 57,
71726
+ line: 61,
71069
71727
  column: 55
71070
71728
  }
71071
71729
  },
71072
- "18": {
71730
+ "20": {
71073
71731
  start: {
71074
- line: 60,
71732
+ line: 64,
71075
71733
  column: 6
71076
71734
  },
71077
71735
  end: {
71078
- line: 66,
71736
+ line: 70,
71079
71737
  column: 8
71080
71738
  }
71081
71739
  },
71082
- "19": {
71740
+ "21": {
71083
71741
  start: {
71084
- line: 70,
71742
+ line: 74,
71085
71743
  column: 2
71086
71744
  },
71087
71745
  end: {
71088
- line: 76,
71746
+ line: 80,
71089
71747
  column: 3
71090
71748
  }
71091
71749
  },
71092
- "20": {
71750
+ "22": {
71093
71751
  start: {
71094
- line: 71,
71752
+ line: 75,
71095
71753
  column: 4
71096
71754
  },
71097
71755
  end: {
71098
- line: 75,
71756
+ line: 79,
71099
71757
  column: 6
71100
71758
  }
71101
71759
  },
71102
- "21": {
71760
+ "23": {
71103
71761
  start: {
71104
- line: 78,
71762
+ line: 82,
71105
71763
  column: 2
71106
71764
  },
71107
71765
  end: {
71108
- line: 93,
71766
+ line: 97,
71109
71767
  column: 4
71110
71768
  }
71111
71769
  },
71112
- "22": {
71770
+ "24": {
71113
71771
  start: {
71114
- line: 85,
71772
+ line: 89,
71115
71773
  column: 8
71116
71774
  },
71117
71775
  end: {
71118
- line: 90,
71776
+ line: 94,
71119
71777
  column: 14
71120
71778
  }
71121
71779
  }
@@ -71163,7 +71821,7 @@ function cov_29xlle89ll() {
71163
71821
  column: 38
71164
71822
  },
71165
71823
  end: {
71166
- line: 35,
71824
+ line: 39,
71167
71825
  column: 1
71168
71826
  }
71169
71827
  },
@@ -71173,73 +71831,73 @@ function cov_29xlle89ll() {
71173
71831
  name: "(anonymous_2)",
71174
71832
  decl: {
71175
71833
  start: {
71176
- line: 37,
71834
+ line: 41,
71177
71835
  column: 19
71178
71836
  },
71179
71837
  end: {
71180
- line: 37,
71838
+ line: 41,
71181
71839
  column: 20
71182
71840
  }
71183
71841
  },
71184
71842
  loc: {
71185
71843
  start: {
71186
- line: 43,
71844
+ line: 47,
71187
71845
  column: 6
71188
71846
  },
71189
71847
  end: {
71190
- line: 94,
71848
+ line: 98,
71191
71849
  column: 1
71192
71850
  }
71193
71851
  },
71194
- line: 43
71852
+ line: 47
71195
71853
  },
71196
71854
  "3": {
71197
71855
  name: "(anonymous_3)",
71198
71856
  decl: {
71199
71857
  start: {
71200
- line: 52,
71858
+ line: 56,
71201
71859
  column: 31
71202
71860
  },
71203
71861
  end: {
71204
- line: 52,
71862
+ line: 56,
71205
71863
  column: 32
71206
71864
  }
71207
71865
  },
71208
71866
  loc: {
71209
71867
  start: {
71210
- line: 52,
71868
+ line: 56,
71211
71869
  column: 48
71212
71870
  },
71213
71871
  end: {
71214
- line: 68,
71872
+ line: 72,
71215
71873
  column: 3
71216
71874
  }
71217
71875
  },
71218
- line: 52
71876
+ line: 56
71219
71877
  },
71220
71878
  "4": {
71221
71879
  name: "(anonymous_4)",
71222
71880
  decl: {
71223
71881
  start: {
71224
- line: 84,
71882
+ line: 88,
71225
71883
  column: 21
71226
71884
  },
71227
71885
  end: {
71228
- line: 84,
71886
+ line: 88,
71229
71887
  column: 22
71230
71888
  }
71231
71889
  },
71232
71890
  loc: {
71233
71891
  start: {
71234
- line: 85,
71892
+ line: 89,
71235
71893
  column: 8
71236
71894
  },
71237
71895
  end: {
71238
- line: 90,
71896
+ line: 94,
71239
71897
  column: 14
71240
71898
  }
71241
71899
  },
71242
- line: 85
71900
+ line: 89
71243
71901
  }
71244
71902
  },
71245
71903
  branchMap: {
@@ -71378,232 +72036,298 @@ function cov_29xlle89ll() {
71378
72036
  "4": {
71379
72037
  loc: {
71380
72038
  start: {
71381
- line: 38,
72039
+ line: 34,
71382
72040
  column: 2
71383
72041
  },
71384
72042
  end: {
71385
- line: 38,
72043
+ line: 36,
72044
+ column: 3
72045
+ }
72046
+ },
72047
+ type: "if",
72048
+ locations: [{
72049
+ start: {
72050
+ line: 34,
72051
+ column: 2
72052
+ },
72053
+ end: {
72054
+ line: 36,
72055
+ column: 3
72056
+ }
72057
+ }, {
72058
+ start: {
72059
+ line: undefined,
72060
+ column: undefined
72061
+ },
72062
+ end: {
72063
+ line: undefined,
72064
+ column: undefined
72065
+ }
72066
+ }],
72067
+ line: 34
72068
+ },
72069
+ "5": {
72070
+ loc: {
72071
+ start: {
72072
+ line: 35,
72073
+ column: 11
72074
+ },
72075
+ end: {
72076
+ line: 35,
72077
+ column: 51
72078
+ }
72079
+ },
72080
+ type: "cond-expr",
72081
+ locations: [{
72082
+ start: {
72083
+ line: 35,
72084
+ column: 19
72085
+ },
72086
+ end: {
72087
+ line: 35,
72088
+ column: 34
72089
+ }
72090
+ }, {
72091
+ start: {
72092
+ line: 35,
72093
+ column: 37
72094
+ },
72095
+ end: {
72096
+ line: 35,
72097
+ column: 51
72098
+ }
72099
+ }],
72100
+ line: 35
72101
+ },
72102
+ "6": {
72103
+ loc: {
72104
+ start: {
72105
+ line: 42,
72106
+ column: 2
72107
+ },
72108
+ end: {
72109
+ line: 42,
71386
72110
  column: 13
71387
72111
  }
71388
72112
  },
71389
72113
  type: "default-arg",
71390
72114
  locations: [{
71391
72115
  start: {
71392
- line: 38,
72116
+ line: 42,
71393
72117
  column: 11
71394
72118
  },
71395
72119
  end: {
71396
- line: 38,
72120
+ line: 42,
71397
72121
  column: 13
71398
72122
  }
71399
72123
  }],
71400
- line: 38
72124
+ line: 42
71401
72125
  },
71402
- "5": {
72126
+ "7": {
71403
72127
  loc: {
71404
72128
  start: {
71405
- line: 39,
72129
+ line: 43,
71406
72130
  column: 2
71407
72131
  },
71408
72132
  end: {
71409
- line: 39,
72133
+ line: 43,
71410
72134
  column: 19
71411
72135
  }
71412
72136
  },
71413
72137
  type: "default-arg",
71414
72138
  locations: [{
71415
72139
  start: {
71416
- line: 39,
72140
+ line: 43,
71417
72141
  column: 17
71418
72142
  },
71419
72143
  end: {
71420
- line: 39,
72144
+ line: 43,
71421
72145
  column: 19
71422
72146
  }
71423
72147
  }],
71424
- line: 39
72148
+ line: 43
71425
72149
  },
71426
- "6": {
72150
+ "8": {
71427
72151
  loc: {
71428
72152
  start: {
71429
- line: 40,
72153
+ line: 44,
71430
72154
  column: 2
71431
72155
  },
71432
72156
  end: {
71433
- line: 40,
72157
+ line: 44,
71434
72158
  column: 16
71435
72159
  }
71436
72160
  },
71437
72161
  type: "default-arg",
71438
72162
  locations: [{
71439
72163
  start: {
71440
- line: 40,
72164
+ line: 44,
71441
72165
  column: 14
71442
72166
  },
71443
72167
  end: {
71444
- line: 40,
72168
+ line: 44,
71445
72169
  column: 16
71446
72170
  }
71447
72171
  }],
71448
- line: 40
72172
+ line: 44
71449
72173
  },
71450
- "7": {
72174
+ "9": {
71451
72175
  loc: {
71452
72176
  start: {
71453
- line: 41,
72177
+ line: 45,
71454
72178
  column: 2
71455
72179
  },
71456
72180
  end: {
71457
- line: 41,
72181
+ line: 45,
71458
72182
  column: 25
71459
72183
  }
71460
72184
  },
71461
72185
  type: "default-arg",
71462
72186
  locations: [{
71463
72187
  start: {
71464
- line: 41,
72188
+ line: 45,
71465
72189
  column: 23
71466
72190
  },
71467
72191
  end: {
71468
- line: 41,
72192
+ line: 45,
71469
72193
  column: 25
71470
72194
  }
71471
72195
  }],
71472
- line: 41
72196
+ line: 45
71473
72197
  },
71474
- "8": {
72198
+ "10": {
71475
72199
  loc: {
71476
72200
  start: {
71477
- line: 42,
72201
+ line: 46,
71478
72202
  column: 2
71479
72203
  },
71480
72204
  end: {
71481
- line: 42,
72205
+ line: 46,
71482
72206
  column: 18
71483
72207
  }
71484
72208
  },
71485
72209
  type: "default-arg",
71486
72210
  locations: [{
71487
72211
  start: {
71488
- line: 42,
72212
+ line: 46,
71489
72213
  column: 16
71490
72214
  },
71491
72215
  end: {
71492
- line: 42,
72216
+ line: 46,
71493
72217
  column: 18
71494
72218
  }
71495
72219
  }],
71496
- line: 42
72220
+ line: 46
71497
72221
  },
71498
- "9": {
72222
+ "11": {
71499
72223
  loc: {
71500
72224
  start: {
71501
- line: 44,
72225
+ line: 48,
71502
72226
  column: 16
71503
72227
  },
71504
72228
  end: {
71505
- line: 44,
72229
+ line: 48,
71506
72230
  column: 46
71507
72231
  }
71508
72232
  },
71509
72233
  type: "default-arg",
71510
72234
  locations: [{
71511
72235
  start: {
71512
- line: 44,
72236
+ line: 48,
71513
72237
  column: 29
71514
72238
  },
71515
72239
  end: {
71516
- line: 44,
72240
+ line: 48,
71517
72241
  column: 46
71518
72242
  }
71519
72243
  }],
71520
- line: 44
72244
+ line: 48
71521
72245
  },
71522
- "10": {
72246
+ "12": {
71523
72247
  loc: {
71524
72248
  start: {
71525
- line: 47,
72249
+ line: 51,
71526
72250
  column: 16
71527
72251
  },
71528
72252
  end: {
71529
- line: 47,
72253
+ line: 51,
71530
72254
  column: 38
71531
72255
  }
71532
72256
  },
71533
72257
  type: "binary-expr",
71534
72258
  locations: [{
71535
72259
  start: {
71536
- line: 47,
72260
+ line: 51,
71537
72261
  column: 16
71538
72262
  },
71539
72263
  end: {
71540
- line: 47,
72264
+ line: 51,
71541
72265
  column: 22
71542
72266
  }
71543
72267
  }, {
71544
72268
  start: {
71545
- line: 47,
72269
+ line: 51,
71546
72270
  column: 26
71547
72271
  },
71548
72272
  end: {
71549
- line: 47,
72273
+ line: 51,
71550
72274
  column: 38
71551
72275
  }
71552
72276
  }],
71553
- line: 47
72277
+ line: 51
71554
72278
  },
71555
- "11": {
72279
+ "13": {
71556
72280
  loc: {
71557
72281
  start: {
71558
- line: 54,
72282
+ line: 58,
71559
72283
  column: 6
71560
72284
  },
71561
72285
  end: {
71562
- line: 58,
72286
+ line: 62,
71563
72287
  column: 7
71564
72288
  }
71565
72289
  },
71566
72290
  type: "if",
71567
72291
  locations: [{
71568
72292
  start: {
71569
- line: 54,
72293
+ line: 58,
71570
72294
  column: 6
71571
72295
  },
71572
72296
  end: {
71573
- line: 58,
72297
+ line: 62,
71574
72298
  column: 7
71575
72299
  }
71576
72300
  }, {
71577
72301
  start: {
71578
- line: 56,
72302
+ line: 60,
71579
72303
  column: 13
71580
72304
  },
71581
72305
  end: {
71582
- line: 58,
72306
+ line: 62,
71583
72307
  column: 7
71584
72308
  }
71585
72309
  }],
71586
- line: 54
72310
+ line: 58
71587
72311
  },
71588
- "12": {
72312
+ "14": {
71589
72313
  loc: {
71590
72314
  start: {
71591
- line: 56,
72315
+ line: 60,
71592
72316
  column: 13
71593
72317
  },
71594
72318
  end: {
71595
- line: 58,
72319
+ line: 62,
71596
72320
  column: 7
71597
72321
  }
71598
72322
  },
71599
72323
  type: "if",
71600
72324
  locations: [{
71601
72325
  start: {
71602
- line: 56,
72326
+ line: 60,
71603
72327
  column: 13
71604
72328
  },
71605
72329
  end: {
71606
- line: 58,
72330
+ line: 62,
71607
72331
  column: 7
71608
72332
  }
71609
72333
  }, {
@@ -71616,27 +72340,27 @@ function cov_29xlle89ll() {
71616
72340
  column: undefined
71617
72341
  }
71618
72342
  }],
71619
- line: 56
72343
+ line: 60
71620
72344
  },
71621
- "13": {
72345
+ "15": {
71622
72346
  loc: {
71623
72347
  start: {
71624
- line: 70,
72348
+ line: 74,
71625
72349
  column: 2
71626
72350
  },
71627
72351
  end: {
71628
- line: 76,
72352
+ line: 80,
71629
72353
  column: 3
71630
72354
  }
71631
72355
  },
71632
72356
  type: "if",
71633
72357
  locations: [{
71634
72358
  start: {
71635
- line: 70,
72359
+ line: 74,
71636
72360
  column: 2
71637
72361
  },
71638
72362
  end: {
71639
- line: 76,
72363
+ line: 80,
71640
72364
  column: 3
71641
72365
  }
71642
72366
  }, {
@@ -71649,7 +72373,7 @@ function cov_29xlle89ll() {
71649
72373
  column: undefined
71650
72374
  }
71651
72375
  }],
71652
- line: 70
72376
+ line: 74
71653
72377
  }
71654
72378
  },
71655
72379
  s: {
@@ -71675,7 +72399,9 @@ function cov_29xlle89ll() {
71675
72399
  "19": 0,
71676
72400
  "20": 0,
71677
72401
  "21": 0,
71678
- "22": 0
72402
+ "22": 0,
72403
+ "23": 0,
72404
+ "24": 0
71679
72405
  },
71680
72406
  f: {
71681
72407
  "0": 0,
@@ -71689,19 +72415,21 @@ function cov_29xlle89ll() {
71689
72415
  "1": [0, 0],
71690
72416
  "2": [0, 0],
71691
72417
  "3": [0, 0],
71692
- "4": [0],
71693
- "5": [0],
72418
+ "4": [0, 0],
72419
+ "5": [0, 0],
71694
72420
  "6": [0],
71695
72421
  "7": [0],
71696
72422
  "8": [0],
71697
72423
  "9": [0],
71698
- "10": [0, 0],
71699
- "11": [0, 0],
72424
+ "10": [0],
72425
+ "11": [0],
71700
72426
  "12": [0, 0],
71701
- "13": [0, 0]
72427
+ "13": [0, 0],
72428
+ "14": [0, 0],
72429
+ "15": [0, 0]
71702
72430
  },
71703
72431
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
71704
- hash: "c62c7cdd0a05bcdbc09bb134860adb35bde42935"
72432
+ hash: "5bbf5faa11069095565da90858226edff2576be6"
71705
72433
  };
71706
72434
  var coverage = global[gcv] || (global[gcv] = {});
71707
72435
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -71755,41 +72483,49 @@ var getValue = function getValue(_ref2) {
71755
72483
  cov_29xlle89ll().b[3][1]++;
71756
72484
  }
71757
72485
  cov_29xlle89ll().s[9]++;
72486
+ if (kind === QUESTION_KIND.CONDITION.value) {
72487
+ cov_29xlle89ll().b[4][0]++;
72488
+ cov_29xlle89ll().s[10]++;
72489
+ return value ? (cov_29xlle89ll().b[5][0]++, t$1("common.yes")) : (cov_29xlle89ll().b[5][1]++, t$1("common.no"));
72490
+ } else {
72491
+ cov_29xlle89ll().b[4][1]++;
72492
+ }
72493
+ cov_29xlle89ll().s[11]++;
71758
72494
  return value;
71759
72495
  };
71760
- cov_29xlle89ll().s[10]++;
72496
+ cov_29xlle89ll().s[12]++;
71761
72497
  var Submission = function Submission(_ref3) {
71762
72498
  var _ref3$formId = _ref3.formId,
71763
- formId = _ref3$formId === void 0 ? (cov_29xlle89ll().b[4][0]++, "") : _ref3$formId,
72499
+ formId = _ref3$formId === void 0 ? (cov_29xlle89ll().b[6][0]++, "") : _ref3$formId,
71764
72500
  _ref3$submissionId = _ref3.submissionId,
71765
- submissionId = _ref3$submissionId === void 0 ? (cov_29xlle89ll().b[5][0]++, "") : _ref3$submissionId,
72501
+ submissionId = _ref3$submissionId === void 0 ? (cov_29xlle89ll().b[7][0]++, "") : _ref3$submissionId,
71766
72502
  _ref3$className = _ref3.className,
71767
- className = _ref3$className === void 0 ? (cov_29xlle89ll().b[6][0]++, "") : _ref3$className,
72503
+ className = _ref3$className === void 0 ? (cov_29xlle89ll().b[8][0]++, "") : _ref3$className,
71768
72504
  _ref3$questionLabelPr = _ref3.questionLabelProps,
71769
- questionLabelProps = _ref3$questionLabelPr === void 0 ? (cov_29xlle89ll().b[7][0]++, {}) : _ref3$questionLabelPr,
72505
+ questionLabelProps = _ref3$questionLabelPr === void 0 ? (cov_29xlle89ll().b[9][0]++, {}) : _ref3$questionLabelPr,
71770
72506
  _ref3$answerProps = _ref3.answerProps,
71771
- answerProps = _ref3$answerProps === void 0 ? (cov_29xlle89ll().b[8][0]++, {}) : _ref3$answerProps;
72507
+ answerProps = _ref3$answerProps === void 0 ? (cov_29xlle89ll().b[10][0]++, {}) : _ref3$answerProps;
71772
72508
  cov_29xlle89ll().f[2]++;
71773
- var _ref4 = (cov_29xlle89ll().s[11]++, useSubmission({
72509
+ var _ref4 = (cov_29xlle89ll().s[13]++, useSubmission({
71774
72510
  formId: formId,
71775
72511
  submissionId: submissionId,
71776
- enabled: !!((cov_29xlle89ll().b[10][0]++, formId) && (cov_29xlle89ll().b[10][1]++, submissionId))
72512
+ enabled: !!((cov_29xlle89ll().b[12][0]++, formId) && (cov_29xlle89ll().b[12][1]++, submissionId))
71777
72513
  })),
71778
72514
  _ref4$data = _ref4.data,
71779
- submission = _ref4$data === void 0 ? (cov_29xlle89ll().b[9][0]++, {
72515
+ submission = _ref4$data === void 0 ? (cov_29xlle89ll().b[11][0]++, {
71780
72516
  responses: []
71781
72517
  }) : _ref4$data,
71782
72518
  isLoading = _ref4.isLoading;
71783
- var _ref5 = (cov_29xlle89ll().s[12]++, submission),
72519
+ var _ref5 = (cov_29xlle89ll().s[14]++, submission),
71784
72520
  responses = _ref5.responses;
71785
- cov_29xlle89ll().s[13]++;
72521
+ cov_29xlle89ll().s[15]++;
71786
72522
  var renderSubmittedValue = function renderSubmittedValue(kind, value) {
71787
72523
  cov_29xlle89ll().f[3]++;
71788
72524
  {
71789
- cov_29xlle89ll().s[14]++;
72525
+ cov_29xlle89ll().s[16]++;
71790
72526
  if (kind === QUESTION_KIND.RICH_TEXT.value) {
71791
- cov_29xlle89ll().b[11][0]++;
71792
- cov_29xlle89ll().s[15]++;
72527
+ cov_29xlle89ll().b[13][0]++;
72528
+ cov_29xlle89ll().s[17]++;
71793
72529
  return /*#__PURE__*/React__default["default"].createElement(neetoEditor.EditorContent, {
71794
72530
  content: getValue({
71795
72531
  value: value,
@@ -71797,20 +72533,20 @@ var Submission = function Submission(_ref3) {
71797
72533
  })
71798
72534
  });
71799
72535
  } else {
71800
- cov_29xlle89ll().b[11][1]++;
71801
- cov_29xlle89ll().s[16]++;
72536
+ cov_29xlle89ll().b[13][1]++;
72537
+ cov_29xlle89ll().s[18]++;
71802
72538
  if (kind === QUESTION_KIND.PHONE.value) {
71803
- cov_29xlle89ll().b[12][0]++;
71804
- cov_29xlle89ll().s[17]++;
72539
+ cov_29xlle89ll().b[14][0]++;
72540
+ cov_29xlle89ll().s[19]++;
71805
72541
  return /*#__PURE__*/React__default["default"].createElement(PhoneNumber$1.PhoneNumber, {
71806
72542
  showEmoji: true,
71807
72543
  value: value
71808
72544
  });
71809
72545
  } else {
71810
- cov_29xlle89ll().b[12][1]++;
72546
+ cov_29xlle89ll().b[14][1]++;
71811
72547
  }
71812
72548
  }
71813
- cov_29xlle89ll().s[18]++;
72549
+ cov_29xlle89ll().s[20]++;
71814
72550
  return /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, _extends$9({
71815
72551
  weight: "semibold"
71816
72552
  }, answerProps), /*#__PURE__*/React__default["default"].createElement(_default, {
@@ -71821,17 +72557,17 @@ var Submission = function Submission(_ref3) {
71821
72557
  })));
71822
72558
  }
71823
72559
  };
71824
- cov_29xlle89ll().s[19]++;
72560
+ cov_29xlle89ll().s[21]++;
71825
72561
  if (isLoading) {
71826
- cov_29xlle89ll().b[13][0]++;
71827
- cov_29xlle89ll().s[20]++;
72562
+ cov_29xlle89ll().b[15][0]++;
72563
+ cov_29xlle89ll().s[22]++;
71828
72564
  return /*#__PURE__*/React__default["default"].createElement("div", {
71829
72565
  className: "flex h-full w-full items-center justify-center"
71830
72566
  }, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
71831
72567
  } else {
71832
- cov_29xlle89ll().b[13][1]++;
72568
+ cov_29xlle89ll().b[15][1]++;
71833
72569
  }
71834
- cov_29xlle89ll().s[21]++;
72570
+ cov_29xlle89ll().s[23]++;
71835
72571
  return /*#__PURE__*/React__default["default"].createElement("div", {
71836
72572
  className: classnames__default["default"]("mx-auto flex h-full w-full flex-col items-start", _defineProperty$a({}, className, className))
71837
72573
  }, responses.map(function (_ref6) {
@@ -71839,7 +72575,7 @@ var Submission = function Submission(_ref3) {
71839
72575
  label = _ref6.label,
71840
72576
  value = _ref6.value;
71841
72577
  cov_29xlle89ll().f[4]++;
71842
- cov_29xlle89ll().s[22]++;
72578
+ cov_29xlle89ll().s[24]++;
71843
72579
  return /*#__PURE__*/React__default["default"].createElement("div", {
71844
72580
  className: "mb-4",
71845
72581
  key: label