@bigbinary/neeto-form-frontend 1.0.43 → 1.0.45

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
@@ -122,61 +122,6 @@ function _defineProperty$a(obj, key, value) {
122
122
  return obj;
123
123
  }
124
124
 
125
- function _arrayWithHoles$7(arr) {
126
- if (Array.isArray(arr)) return arr;
127
- }
128
-
129
- function _iterableToArrayLimit$6(arr, i) {
130
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
131
- if (null != _i) {
132
- var _s,
133
- _e,
134
- _x,
135
- _r,
136
- _arr = [],
137
- _n = !0,
138
- _d = !1;
139
- try {
140
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
141
- if (Object(_i) !== _i) return;
142
- _n = !1;
143
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
144
- } catch (err) {
145
- _d = !0, _e = err;
146
- } finally {
147
- try {
148
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
149
- } finally {
150
- if (_d) throw _e;
151
- }
152
- }
153
- return _arr;
154
- }
155
- }
156
-
157
- function _arrayLikeToArray$j(arr, len) {
158
- if (len == null || len > arr.length) len = arr.length;
159
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
160
- return arr2;
161
- }
162
-
163
- function _unsupportedIterableToArray$j(o, minLen) {
164
- if (!o) return;
165
- if (typeof o === "string") return _arrayLikeToArray$j(o, minLen);
166
- var n = Object.prototype.toString.call(o).slice(8, -1);
167
- if (n === "Object" && o.constructor) n = o.constructor.name;
168
- if (n === "Map" || n === "Set") return Array.from(o);
169
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$j(o, minLen);
170
- }
171
-
172
- function _nonIterableRest$7() {
173
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
174
- }
175
-
176
- function _slicedToArray$6(arr, i) {
177
- return _arrayWithHoles$7(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray$j(arr, i) || _nonIterableRest$7();
178
- }
179
-
180
125
  function cov_4tvsihi60() {
181
126
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/common/constants.js";
182
127
  var hash = "b92143c6c0f8c73463381382fdfb0de014146400";
@@ -3600,7 +3545,7 @@ function _defineProperty$9(obj, key, value) {
3600
3545
  return obj;
3601
3546
  }
3602
3547
 
3603
- function _arrayWithHoles$6(arr) {
3548
+ function _arrayWithHoles$7(arr) {
3604
3549
  if (Array.isArray(arr)) return arr;
3605
3550
  }
3606
3551
 
@@ -3608,27 +3553,27 @@ function _iterableToArray$2(iter) {
3608
3553
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3609
3554
  }
3610
3555
 
3611
- function _arrayLikeToArray$i(arr, len) {
3556
+ function _arrayLikeToArray$j(arr, len) {
3612
3557
  if (len == null || len > arr.length) len = arr.length;
3613
3558
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
3614
3559
  return arr2;
3615
3560
  }
3616
3561
 
3617
- function _unsupportedIterableToArray$i(o, minLen) {
3562
+ function _unsupportedIterableToArray$j(o, minLen) {
3618
3563
  if (!o) return;
3619
- if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
3564
+ if (typeof o === "string") return _arrayLikeToArray$j(o, minLen);
3620
3565
  var n = Object.prototype.toString.call(o).slice(8, -1);
3621
3566
  if (n === "Object" && o.constructor) n = o.constructor.name;
3622
3567
  if (n === "Map" || n === "Set") return Array.from(o);
3623
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
3568
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$j(o, minLen);
3624
3569
  }
3625
3570
 
3626
- function _nonIterableRest$6() {
3571
+ function _nonIterableRest$7() {
3627
3572
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3628
3573
  }
3629
3574
 
3630
3575
  function _toArray(arr) {
3631
- return _arrayWithHoles$6(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$i(arr) || _nonIterableRest$6();
3576
+ return _arrayWithHoles$7(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableRest$7();
3632
3577
  }
3633
3578
 
3634
3579
  function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
@@ -6500,7 +6445,7 @@ var _excluded$n = ["size"],
6500
6445
  _excluded5 = ["size"];
6501
6446
  function cov_3ymiqznmu() {
6502
6447
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/Common/StarRatingIcons.jsx";
6503
- var hash = "8f12d88a7478ef37b67b0c8e4445cc39069644bb";
6448
+ var hash = "f4b29b283fd872c4616470d709f8f141dd8337fd";
6504
6449
  var global = new Function("return this")();
6505
6450
  var gcv = "__coverage__";
6506
6451
  var coverageData = {
@@ -6635,6 +6580,56 @@ function cov_3ymiqznmu() {
6635
6580
  line: 137,
6636
6581
  column: 8
6637
6582
  }
6583
+ },
6584
+ "13": {
6585
+ start: {
6586
+ line: 140,
6587
+ column: 21
6588
+ },
6589
+ end: {
6590
+ line: 140,
6591
+ column: 37
6592
+ }
6593
+ },
6594
+ "14": {
6595
+ start: {
6596
+ line: 141,
6597
+ column: 22
6598
+ },
6599
+ end: {
6600
+ line: 141,
6601
+ column: 39
6602
+ }
6603
+ },
6604
+ "15": {
6605
+ start: {
6606
+ line: 142,
6607
+ column: 20
6608
+ },
6609
+ end: {
6610
+ line: 142,
6611
+ column: 35
6612
+ }
6613
+ },
6614
+ "16": {
6615
+ start: {
6616
+ line: 143,
6617
+ column: 22
6618
+ },
6619
+ end: {
6620
+ line: 143,
6621
+ column: 39
6622
+ }
6623
+ },
6624
+ "17": {
6625
+ start: {
6626
+ line: 144,
6627
+ column: 23
6628
+ },
6629
+ end: {
6630
+ line: 144,
6631
+ column: 41
6632
+ }
6638
6633
  }
6639
6634
  },
6640
6635
  fnMap: {
@@ -6894,7 +6889,12 @@ function cov_3ymiqznmu() {
6894
6889
  "9": 0,
6895
6890
  "10": 0,
6896
6891
  "11": 0,
6897
- "12": 0
6892
+ "12": 0,
6893
+ "13": 0,
6894
+ "14": 0,
6895
+ "15": 0,
6896
+ "16": 0,
6897
+ "17": 0
6898
6898
  },
6899
6899
  f: {
6900
6900
  "0": 0,
@@ -6911,7 +6911,7 @@ function cov_3ymiqznmu() {
6911
6911
  "4": [0]
6912
6912
  },
6913
6913
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
6914
- hash: "8f12d88a7478ef37b67b0c8e4445cc39069644bb"
6914
+ hash: "f4b29b283fd872c4616470d709f8f141dd8337fd"
6915
6915
  };
6916
6916
  var coverage = global[gcv] || (global[gcv] = {});
6917
6917
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -7067,6 +7067,11 @@ var Trophy = function Trophy(_ref5) {
7067
7067
  strokeWidth: "1.5"
7068
7068
  }));
7069
7069
  };
7070
+ var MemoizedStar = (cov_3ymiqznmu().s[13]++, /*#__PURE__*/React__default["default"].memo(Star));
7071
+ var MemoizedHeart = (cov_3ymiqznmu().s[14]++, /*#__PURE__*/React__default["default"].memo(Heart));
7072
+ var MemoizedZap = (cov_3ymiqznmu().s[15]++, /*#__PURE__*/React__default["default"].memo(Zap));
7073
+ var MemoizedCrown = (cov_3ymiqznmu().s[16]++, /*#__PURE__*/React__default["default"].memo(Crown));
7074
+ var MemoizedTrophy = (cov_3ymiqznmu().s[17]++, /*#__PURE__*/React__default["default"].memo(Trophy));
7070
7075
 
7071
7076
  function cov_2qs8napxwn() {
7072
7077
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/constants.jsx";
@@ -7257,15 +7262,70 @@ var RATING_OPTIONS = (cov_2qs8napxwn().s[3]++, [{
7257
7262
  }]);
7258
7263
  (cov_2qs8napxwn().s[4]++, /\+\d{11,14}$/);
7259
7264
  var ICONS_MAP = (cov_2qs8napxwn().s[5]++, {
7260
- star: Star,
7261
- heart: Heart,
7262
- crown: Crown,
7263
- trophy: Trophy,
7264
- zap: Zap
7265
+ star: MemoizedStar,
7266
+ heart: MemoizedHeart,
7267
+ crown: MemoizedCrown,
7268
+ trophy: MemoizedTrophy,
7269
+ zap: MemoizedZap
7265
7270
  });
7266
7271
 
7272
+ function _arrayWithHoles$6(arr) {
7273
+ if (Array.isArray(arr)) return arr;
7274
+ }
7275
+
7276
+ function _iterableToArrayLimit$6(arr, i) {
7277
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
7278
+ if (null != _i) {
7279
+ var _s,
7280
+ _e,
7281
+ _x,
7282
+ _r,
7283
+ _arr = [],
7284
+ _n = !0,
7285
+ _d = !1;
7286
+ try {
7287
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
7288
+ if (Object(_i) !== _i) return;
7289
+ _n = !1;
7290
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
7291
+ } catch (err) {
7292
+ _d = !0, _e = err;
7293
+ } finally {
7294
+ try {
7295
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
7296
+ } finally {
7297
+ if (_d) throw _e;
7298
+ }
7299
+ }
7300
+ return _arr;
7301
+ }
7302
+ }
7303
+
7304
+ function _arrayLikeToArray$i(arr, len) {
7305
+ if (len == null || len > arr.length) len = arr.length;
7306
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
7307
+ return arr2;
7308
+ }
7309
+
7310
+ function _unsupportedIterableToArray$i(o, minLen) {
7311
+ if (!o) return;
7312
+ if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
7313
+ var n = Object.prototype.toString.call(o).slice(8, -1);
7314
+ if (n === "Object" && o.constructor) n = o.constructor.name;
7315
+ if (n === "Map" || n === "Set") return Array.from(o);
7316
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
7317
+ }
7318
+
7319
+ function _nonIterableRest$6() {
7320
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7321
+ }
7322
+
7323
+ function _slicedToArray$6(arr, i) {
7324
+ return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray$i(arr, i) || _nonIterableRest$6();
7325
+ }
7326
+
7267
7327
  function _arrayWithoutHoles$1(arr) {
7268
- if (Array.isArray(arr)) return _arrayLikeToArray$j(arr);
7328
+ if (Array.isArray(arr)) return _arrayLikeToArray$i(arr);
7269
7329
  }
7270
7330
 
7271
7331
  function _iterableToArray$1(iter) {
@@ -7277,7 +7337,7 @@ function _nonIterableSpread$1() {
7277
7337
  }
7278
7338
 
7279
7339
  function _toConsumableArray$1(arr) {
7280
- return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$j(arr) || _nonIterableSpread$1();
7340
+ return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$i(arr) || _nonIterableSpread$1();
7281
7341
  }
7282
7342
 
7283
7343
  function cov_xtmrgzejj() {
@@ -24688,11 +24748,11 @@ var DROPDOWN_FIELD_MIN_OPTIONS$1 = (cov_5u7jgeqcn().s[1]++, 2);
24688
24748
  (cov_5u7jgeqcn().s[3]++, 40);
24689
24749
  (cov_5u7jgeqcn().s[4]++, 150);
24690
24750
  var STAR_RATING_ICONS_MAP = (cov_5u7jgeqcn().s[5]++, {
24691
- star: Star,
24692
- heart: Heart,
24693
- crown: Crown,
24694
- trophy: Trophy,
24695
- zap: Zap
24751
+ star: MemoizedStar,
24752
+ heart: MemoizedHeart,
24753
+ crown: MemoizedCrown,
24754
+ trophy: MemoizedTrophy,
24755
+ zap: MemoizedZap
24696
24756
  });
24697
24757
 
24698
24758
  function cov_2dmleb6ptc() {
@@ -26603,7 +26663,7 @@ var RatingItem = function RatingItem(_ref) {
26603
26663
  }, children);
26604
26664
  };
26605
26665
  cov_2mbawiwhpy().s[2]++;
26606
- var Rating$2 = function Rating(_ref2) {
26666
+ var Rating$3 = function Rating(_ref2) {
26607
26667
  var name = _ref2.name,
26608
26668
  isRequired = _ref2.isRequired,
26609
26669
  isLabelDisabled = _ref2.isLabelDisabled;
@@ -27795,7 +27855,7 @@ function cov_h8r08qzr() {
27795
27855
  }
27796
27856
  cov_h8r08qzr();
27797
27857
  cov_h8r08qzr().s[0]++;
27798
- var StarRating$2 = function StarRating(_ref) {
27858
+ var StarRating$3 = function StarRating(_ref) {
27799
27859
  var name = _ref.name,
27800
27860
  isRequired = _ref.isRequired,
27801
27861
  isLabelDisabled = _ref.isLabelDisabled;
@@ -28196,9 +28256,9 @@ var Fields = (cov_2qk3dozy47().s[0]++, {
28196
28256
  MultipleChoice: MultipleChoice$1,
28197
28257
  SingleChoice: SingleChoice$1,
28198
28258
  Phone: Phone$1,
28199
- Rating: Rating$2,
28259
+ Rating: Rating$3,
28200
28260
  Terms: Terms$3,
28201
- StarRating: StarRating$2,
28261
+ StarRating: StarRating$3,
28202
28262
  AdditionalGuests: AdditionalGuests$1,
28203
28263
  RichText: RichText$1,
28204
28264
  Condition: Condition$3
@@ -28641,9 +28701,9 @@ var _ref$1 = (cov_2j8tlu2ul5().s[0]++, Fields),
28641
28701
  MultipleChoice = _ref$1.MultipleChoice,
28642
28702
  SingleChoice = _ref$1.SingleChoice,
28643
28703
  Phone = _ref$1.Phone,
28644
- Rating$1 = _ref$1.Rating,
28704
+ Rating$2 = _ref$1.Rating,
28645
28705
  Terms$2 = _ref$1.Terms,
28646
- StarRating$1 = _ref$1.StarRating,
28706
+ StarRating$2 = _ref$1.StarRating,
28647
28707
  AdditionalGuests = _ref$1.AdditionalGuests,
28648
28708
  RichText = _ref$1.RichText,
28649
28709
  Condition$2 = _ref$1.Condition;
@@ -28770,7 +28830,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
28770
28830
  label: instance.t("fields.rif"),
28771
28831
  isSingular: false,
28772
28832
  icon: neetoIcons.Rating,
28773
- component: StarRating$1,
28833
+ component: StarRating$2,
28774
28834
  defaults: {
28775
28835
  label: "",
28776
28836
  isRequired: true,
@@ -28782,7 +28842,7 @@ var QUESTION_KINDS = (cov_2j8tlu2ul5().s[3]++, [{
28782
28842
  label: instance.t("fields.fbf"),
28783
28843
  isSingular: false,
28784
28844
  icon: neetoIcons.Smiley,
28785
- component: Rating$1,
28845
+ component: Rating$2,
28786
28846
  defaults: {
28787
28847
  label: "",
28788
28848
  isRequired: true,
@@ -31515,10 +31575,10 @@ var List = function List(_ref) {
31515
31575
  })));
31516
31576
  };
31517
31577
 
31518
- var _excluded$f = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "setShouldValidate", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
31578
+ var _excluded$f = ["questionKinds", "showAddQuestionDivider", "onValueChange", "showActionBlock", "formId", "isDeletable", "isRequiredField", "submitButtonProps", "cancelButtonProps", "isKindAlreadyActive", "getActiveKindDetails", "kindUniqueOn", "isDisabledFieldLabel"];
31519
31579
  function cov_2e8k7gwd81() {
31520
31580
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Form/index.jsx";
31521
- var hash = "c885d28816766402f837ebd6b60689340526a7ef";
31581
+ var hash = "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354";
31522
31582
  var global = new Function("return this")();
31523
31583
  var gcv = "__coverage__";
31524
31584
  var coverageData = {
@@ -31530,367 +31590,367 @@ function cov_2e8k7gwd81() {
31530
31590
  column: 13
31531
31591
  },
31532
31592
  end: {
31533
- line: 224,
31593
+ line: 221,
31534
31594
  column: 1
31535
31595
  }
31536
31596
  },
31537
31597
  "1": {
31538
31598
  start: {
31539
- line: 43,
31599
+ line: 42,
31540
31600
  column: 16
31541
31601
  },
31542
31602
  end: {
31543
- line: 43,
31603
+ line: 42,
31544
31604
  column: 32
31545
31605
  }
31546
31606
  },
31547
31607
  "2": {
31548
31608
  start: {
31549
- line: 44,
31609
+ line: 43,
31550
31610
  column: 46
31551
31611
  },
31552
31612
  end: {
31553
- line: 44,
31613
+ line: 43,
31554
31614
  column: 58
31555
31615
  }
31556
31616
  },
31557
31617
  "3": {
31558
31618
  start: {
31559
- line: 45,
31619
+ line: 44,
31560
31620
  column: 24
31561
31621
  },
31562
31622
  end: {
31563
- line: 45,
31623
+ line: 44,
31564
31624
  column: 42
31565
31625
  }
31566
31626
  },
31567
31627
  "4": {
31568
31628
  start: {
31569
- line: 46,
31629
+ line: 45,
31570
31630
  column: 56
31571
31631
  },
31572
31632
  end: {
31573
- line: 46,
31633
+ line: 45,
31574
31634
  column: 70
31575
31635
  }
31576
31636
  },
31577
31637
  "5": {
31578
31638
  start: {
31579
- line: 56,
31639
+ line: 55,
31580
31640
  column: 6
31581
31641
  },
31582
31642
  end: {
31583
- line: 56,
31643
+ line: 55,
31584
31644
  column: 19
31585
31645
  }
31586
31646
  },
31587
31647
  "6": {
31588
31648
  start: {
31589
- line: 58,
31649
+ line: 57,
31590
31650
  column: 22
31591
31651
  },
31592
31652
  end: {
31593
- line: 58,
31653
+ line: 57,
31594
31654
  column: 60
31595
31655
  }
31596
31656
  },
31597
31657
  "7": {
31598
31658
  start: {
31599
- line: 60,
31659
+ line: 59,
31600
31660
  column: 2
31601
31661
  },
31602
31662
  end: {
31603
- line: 82,
31663
+ line: 79,
31604
31664
  column: 5
31605
31665
  }
31606
31666
  },
31607
31667
  "8": {
31608
31668
  start: {
31609
- line: 61,
31669
+ line: 60,
31610
31670
  column: 4
31611
31671
  },
31612
31672
  end: {
31613
- line: 70,
31673
+ line: 68,
31614
31674
  column: 7
31615
31675
  }
31616
31676
  },
31617
31677
  "9": {
31618
31678
  start: {
31619
- line: 84,
31679
+ line: 81,
31620
31680
  column: 24
31621
31681
  },
31622
31682
  end: {
31623
- line: 84,
31683
+ line: 81,
31624
31684
  column: 30
31625
31685
  }
31626
31686
  },
31627
31687
  "10": {
31628
31688
  start: {
31629
- line: 86,
31689
+ line: 83,
31630
31690
  column: 2
31631
31691
  },
31632
31692
  end: {
31633
- line: 88,
31693
+ line: 85,
31634
31694
  column: 18
31635
31695
  }
31636
31696
  },
31637
31697
  "11": {
31638
31698
  start: {
31639
- line: 87,
31699
+ line: 84,
31640
31700
  column: 4
31641
31701
  },
31642
31702
  end: {
31643
- line: 87,
31703
+ line: 84,
31644
31704
  column: 31
31645
31705
  }
31646
31706
  },
31647
31707
  "12": {
31648
31708
  start: {
31649
- line: 90,
31709
+ line: 87,
31650
31710
  column: 33
31651
31711
  },
31652
31712
  end: {
31653
- line: 94,
31713
+ line: 91,
31654
31714
  column: 4
31655
31715
  }
31656
31716
  },
31657
31717
  "13": {
31658
31718
  start: {
31659
- line: 97,
31719
+ line: 94,
31660
31720
  column: 4
31661
31721
  },
31662
31722
  end: {
31663
- line: 99,
31723
+ line: 96,
31664
31724
  column: 58
31665
31725
  }
31666
31726
  },
31667
31727
  "14": {
31668
31728
  start: {
31669
- line: 99,
31729
+ line: 96,
31670
31730
  column: 31
31671
31731
  },
31672
31732
  end: {
31673
- line: 99,
31733
+ line: 96,
31674
31734
  column: 57
31675
31735
  }
31676
31736
  },
31677
31737
  "15": {
31678
31738
  start: {
31679
- line: 101,
31739
+ line: 98,
31680
31740
  column: 31
31681
31741
  },
31682
31742
  end: {
31683
- line: 105,
31743
+ line: 102,
31684
31744
  column: 3
31685
31745
  }
31686
31746
  },
31687
31747
  "16": {
31688
31748
  start: {
31689
- line: 102,
31749
+ line: 99,
31690
31750
  column: 27
31691
31751
  },
31692
31752
  end: {
31693
- line: 102,
31753
+ line: 99,
31694
31754
  column: 51
31695
31755
  }
31696
31756
  },
31697
31757
  "17": {
31698
31758
  start: {
31699
- line: 103,
31759
+ line: 100,
31700
31760
  column: 4
31701
31761
  },
31702
31762
  end: {
31703
- line: 103,
31763
+ line: 100,
31704
31764
  column: 43
31705
31765
  }
31706
31766
  },
31707
31767
  "18": {
31708
31768
  start: {
31709
- line: 104,
31769
+ line: 101,
31710
31770
  column: 4
31711
31771
  },
31712
31772
  end: {
31713
- line: 104,
31773
+ line: 101,
31714
31774
  column: 49
31715
31775
  }
31716
31776
  },
31717
31777
  "19": {
31718
31778
  start: {
31719
- line: 107,
31779
+ line: 104,
31720
31780
  column: 20
31721
31781
  },
31722
31782
  end: {
31723
- line: 137,
31783
+ line: 134,
31724
31784
  column: 4
31725
31785
  }
31726
31786
  },
31727
31787
  "20": {
31728
31788
  start: {
31729
- line: 107,
31789
+ line: 104,
31730
31790
  column: 46
31731
31791
  },
31732
31792
  end: {
31733
- line: 137,
31793
+ line: 134,
31734
31794
  column: 3
31735
31795
  }
31736
31796
  },
31737
31797
  "21": {
31738
31798
  start: {
31739
- line: 116,
31799
+ line: 113,
31740
31800
  column: 6
31741
31801
  },
31742
31802
  end: {
31743
- line: 116,
31803
+ line: 113,
31744
31804
  column: 62
31745
31805
  }
31746
31806
  },
31747
31807
  "22": {
31748
31808
  start: {
31749
- line: 118,
31809
+ line: 115,
31750
31810
  column: 27
31751
31811
  },
31752
31812
  end: {
31753
- line: 122,
31813
+ line: 119,
31754
31814
  column: 7
31755
31815
  }
31756
31816
  },
31757
31817
  "23": {
31758
31818
  start: {
31759
- line: 124,
31819
+ line: 121,
31760
31820
  column: 6
31761
31821
  },
31762
31822
  end: {
31763
- line: 130,
31823
+ line: 127,
31764
31824
  column: 8
31765
31825
  }
31766
31826
  },
31767
31827
  "24": {
31768
31828
  start: {
31769
- line: 126,
31829
+ line: 123,
31770
31830
  column: 47
31771
31831
  },
31772
31832
  end: {
31773
- line: 129,
31833
+ line: 126,
31774
31834
  column: 9
31775
31835
  }
31776
31836
  },
31777
31837
  "25": {
31778
31838
  start: {
31779
- line: 133,
31839
+ line: 130,
31780
31840
  column: 6
31781
31841
  },
31782
31842
  end: {
31783
- line: 133,
31843
+ line: 130,
31784
31844
  column: 69
31785
31845
  }
31786
31846
  },
31787
31847
  "26": {
31788
31848
  start: {
31789
- line: 135,
31849
+ line: 132,
31790
31850
  column: 6
31791
31851
  },
31792
31852
  end: {
31793
- line: 135,
31853
+ line: 132,
31794
31854
  column: 36
31795
31855
  }
31796
31856
  },
31797
31857
  "27": {
31798
31858
  start: {
31799
- line: 139,
31859
+ line: 136,
31800
31860
  column: 2
31801
31861
  },
31802
31862
  end: {
31803
- line: 223,
31863
+ line: 220,
31804
31864
  column: 4
31805
31865
  }
31806
31866
  },
31807
31867
  "28": {
31808
31868
  start: {
31809
- line: 150,
31869
+ line: 147,
31810
31870
  column: 23
31811
31871
  },
31812
31872
  end: {
31813
- line: 150,
31873
+ line: 147,
31814
31874
  column: 51
31815
31875
  }
31816
31876
  },
31817
31877
  "29": {
31818
31878
  start: {
31819
- line: 152,
31879
+ line: 149,
31820
31880
  column: 32
31821
31881
  },
31822
31882
  end: {
31823
- line: 155,
31883
+ line: 152,
31824
31884
  column: 11
31825
31885
  }
31826
31886
  },
31827
31887
  "30": {
31828
31888
  start: {
31829
- line: 156,
31889
+ line: 153,
31830
31890
  column: 10
31831
31891
  },
31832
31892
  end: {
31833
- line: 156,
31893
+ line: 153,
31834
31894
  column: 59
31835
31895
  }
31836
31896
  },
31837
31897
  "31": {
31838
31898
  start: {
31839
- line: 157,
31899
+ line: 154,
31840
31900
  column: 10
31841
31901
  },
31842
31902
  end: {
31843
- line: 157,
31903
+ line: 154,
31844
31904
  column: 39
31845
31905
  }
31846
31906
  },
31847
31907
  "32": {
31848
31908
  start: {
31849
- line: 164,
31909
+ line: 161,
31850
31910
  column: 14
31851
31911
  },
31852
31912
  end: {
31853
- line: 194,
31913
+ line: 191,
31854
31914
  column: 17
31855
31915
  }
31856
31916
  },
31857
31917
  "33": {
31858
31918
  start: {
31859
- line: 167,
31919
+ line: 164,
31860
31920
  column: 20
31861
31921
  },
31862
31922
  end: {
31863
- line: 172,
31923
+ line: 169,
31864
31924
  column: 22
31865
31925
  }
31866
31926
  },
31867
31927
  "34": {
31868
31928
  start: {
31869
- line: 191,
31929
+ line: 188,
31870
31930
  column: 38
31871
31931
  },
31872
31932
  end: {
31873
- line: 191,
31933
+ line: 188,
31874
31934
  column: 65
31875
31935
  }
31876
31936
  },
31877
31937
  "35": {
31878
31938
  start: {
31879
- line: 203,
31939
+ line: 200,
31880
31940
  column: 38
31881
31941
  },
31882
31942
  end: {
31883
- line: 206,
31943
+ line: 203,
31884
31944
  column: 17
31885
31945
  }
31886
31946
  },
31887
31947
  "36": {
31888
31948
  start: {
31889
- line: 207,
31949
+ line: 204,
31890
31950
  column: 16
31891
31951
  },
31892
31952
  end: {
31893
- line: 207,
31953
+ line: 204,
31894
31954
  column: 65
31895
31955
  }
31896
31956
  }
@@ -31910,740 +31970,740 @@ function cov_2e8k7gwd81() {
31910
31970
  },
31911
31971
  loc: {
31912
31972
  start: {
31913
- line: 42,
31973
+ line: 41,
31914
31974
  column: 6
31915
31975
  },
31916
31976
  end: {
31917
- line: 224,
31977
+ line: 221,
31918
31978
  column: 1
31919
31979
  }
31920
31980
  },
31921
- line: 42
31981
+ line: 41
31922
31982
  },
31923
31983
  "1": {
31924
31984
  name: "(anonymous_1)",
31925
31985
  decl: {
31926
31986
  start: {
31927
- line: 60,
31987
+ line: 59,
31928
31988
  column: 12
31929
31989
  },
31930
31990
  end: {
31931
- line: 60,
31991
+ line: 59,
31932
31992
  column: 13
31933
31993
  }
31934
31994
  },
31935
31995
  loc: {
31936
31996
  start: {
31937
- line: 60,
31997
+ line: 59,
31938
31998
  column: 18
31939
31999
  },
31940
32000
  end: {
31941
- line: 71,
32001
+ line: 69,
31942
32002
  column: 3
31943
32003
  }
31944
32004
  },
31945
- line: 60
32005
+ line: 59
31946
32006
  },
31947
32007
  "2": {
31948
32008
  name: "(anonymous_2)",
31949
32009
  decl: {
31950
32010
  start: {
31951
- line: 86,
32011
+ line: 83,
31952
32012
  column: 12
31953
32013
  },
31954
32014
  end: {
31955
- line: 86,
32015
+ line: 83,
31956
32016
  column: 13
31957
32017
  }
31958
32018
  },
31959
32019
  loc: {
31960
32020
  start: {
31961
- line: 86,
32021
+ line: 83,
31962
32022
  column: 18
31963
32023
  },
31964
32024
  end: {
31965
- line: 88,
32025
+ line: 85,
31966
32026
  column: 3
31967
32027
  }
31968
32028
  },
31969
- line: 86
32029
+ line: 83
31970
32030
  },
31971
32031
  "3": {
31972
32032
  name: "(anonymous_3)",
31973
32033
  decl: {
31974
32034
  start: {
31975
- line: 99,
32035
+ line: 96,
31976
32036
  column: 19
31977
32037
  },
31978
32038
  end: {
31979
- line: 99,
32039
+ line: 96,
31980
32040
  column: 20
31981
32041
  }
31982
32042
  },
31983
32043
  loc: {
31984
32044
  start: {
31985
- line: 99,
32045
+ line: 96,
31986
32046
  column: 31
31987
32047
  },
31988
32048
  end: {
31989
- line: 99,
32049
+ line: 96,
31990
32050
  column: 57
31991
32051
  }
31992
32052
  },
31993
- line: 99
32053
+ line: 96
31994
32054
  },
31995
32055
  "4": {
31996
32056
  name: "(anonymous_4)",
31997
32057
  decl: {
31998
32058
  start: {
31999
- line: 101,
32059
+ line: 98,
32000
32060
  column: 31
32001
32061
  },
32002
32062
  end: {
32003
- line: 101,
32063
+ line: 98,
32004
32064
  column: 32
32005
32065
  }
32006
32066
  },
32007
32067
  loc: {
32008
32068
  start: {
32009
- line: 101,
32069
+ line: 98,
32010
32070
  column: 51
32011
32071
  },
32012
32072
  end: {
32013
- line: 105,
32073
+ line: 102,
32014
32074
  column: 3
32015
32075
  }
32016
32076
  },
32017
- line: 101
32077
+ line: 98
32018
32078
  },
32019
32079
  "5": {
32020
32080
  name: "(anonymous_5)",
32021
32081
  decl: {
32022
32082
  start: {
32023
- line: 107,
32083
+ line: 104,
32024
32084
  column: 20
32025
32085
  },
32026
32086
  end: {
32027
- line: 107,
32087
+ line: 104,
32028
32088
  column: 21
32029
32089
  }
32030
32090
  },
32031
32091
  loc: {
32032
32092
  start: {
32033
- line: 107,
32093
+ line: 104,
32034
32094
  column: 46
32035
32095
  },
32036
32096
  end: {
32037
- line: 137,
32097
+ line: 134,
32038
32098
  column: 3
32039
32099
  }
32040
32100
  },
32041
- line: 107
32101
+ line: 104
32042
32102
  },
32043
32103
  "6": {
32044
32104
  name: "(anonymous_6)",
32045
32105
  decl: {
32046
32106
  start: {
32047
- line: 115,
32107
+ line: 112,
32048
32108
  column: 22
32049
32109
  },
32050
32110
  end: {
32051
- line: 115,
32111
+ line: 112,
32052
32112
  column: 23
32053
32113
  }
32054
32114
  },
32055
32115
  loc: {
32056
32116
  start: {
32057
- line: 116,
32117
+ line: 113,
32058
32118
  column: 6
32059
32119
  },
32060
32120
  end: {
32061
- line: 116,
32121
+ line: 113,
32062
32122
  column: 62
32063
32123
  }
32064
32124
  },
32065
- line: 116
32125
+ line: 113
32066
32126
  },
32067
32127
  "7": {
32068
32128
  name: "(anonymous_7)",
32069
32129
  decl: {
32070
32130
  start: {
32071
- line: 117,
32131
+ line: 114,
32072
32132
  column: 17
32073
32133
  },
32074
32134
  end: {
32075
- line: 117,
32135
+ line: 114,
32076
32136
  column: 18
32077
32137
  }
32078
32138
  },
32079
32139
  loc: {
32080
32140
  start: {
32081
- line: 117,
32141
+ line: 114,
32082
32142
  column: 23
32083
32143
  },
32084
32144
  end: {
32085
- line: 131,
32145
+ line: 128,
32086
32146
  column: 5
32087
32147
  }
32088
32148
  },
32089
- line: 117
32149
+ line: 114
32090
32150
  },
32091
32151
  "8": {
32092
32152
  name: "(anonymous_8)",
32093
32153
  decl: {
32094
32154
  start: {
32095
- line: 126,
32155
+ line: 123,
32096
32156
  column: 25
32097
32157
  },
32098
32158
  end: {
32099
- line: 126,
32159
+ line: 123,
32100
32160
  column: 26
32101
32161
  }
32102
32162
  },
32103
32163
  loc: {
32104
32164
  start: {
32105
- line: 126,
32165
+ line: 123,
32106
32166
  column: 47
32107
32167
  },
32108
32168
  end: {
32109
- line: 129,
32169
+ line: 126,
32110
32170
  column: 9
32111
32171
  }
32112
32172
  },
32113
- line: 126
32173
+ line: 123
32114
32174
  },
32115
32175
  "9": {
32116
32176
  name: "(anonymous_9)",
32117
32177
  decl: {
32118
32178
  start: {
32119
- line: 132,
32179
+ line: 129,
32120
32180
  column: 14
32121
32181
  },
32122
32182
  end: {
32123
- line: 132,
32183
+ line: 129,
32124
32184
  column: 15
32125
32185
  }
32126
32186
  },
32127
32187
  loc: {
32128
32188
  start: {
32129
- line: 133,
32189
+ line: 130,
32130
32190
  column: 6
32131
32191
  },
32132
32192
  end: {
32133
- line: 133,
32193
+ line: 130,
32134
32194
  column: 69
32135
32195
  }
32136
32196
  },
32137
- line: 133
32197
+ line: 130
32138
32198
  },
32139
32199
  "10": {
32140
32200
  name: "(anonymous_10)",
32141
32201
  decl: {
32142
32202
  start: {
32143
- line: 134,
32203
+ line: 131,
32144
32204
  column: 14
32145
32205
  },
32146
32206
  end: {
32147
- line: 134,
32207
+ line: 131,
32148
32208
  column: 15
32149
32209
  }
32150
32210
  },
32151
32211
  loc: {
32152
32212
  start: {
32153
- line: 134,
32213
+ line: 131,
32154
32214
  column: 20
32155
32215
  },
32156
32216
  end: {
32157
- line: 136,
32217
+ line: 133,
32158
32218
  column: 5
32159
32219
  }
32160
32220
  },
32161
- line: 134
32221
+ line: 131
32162
32222
  },
32163
32223
  "11": {
32164
32224
  name: "(anonymous_11)",
32165
32225
  decl: {
32166
32226
  start: {
32167
- line: 150,
32227
+ line: 147,
32168
32228
  column: 17
32169
32229
  },
32170
32230
  end: {
32171
- line: 150,
32231
+ line: 147,
32172
32232
  column: 18
32173
32233
  }
32174
32234
  },
32175
32235
  loc: {
32176
32236
  start: {
32177
- line: 150,
32237
+ line: 147,
32178
32238
  column: 23
32179
32239
  },
32180
32240
  end: {
32181
- line: 150,
32241
+ line: 147,
32182
32242
  column: 51
32183
32243
  }
32184
32244
  },
32185
- line: 150
32245
+ line: 147
32186
32246
  },
32187
32247
  "12": {
32188
32248
  name: "(anonymous_12)",
32189
32249
  decl: {
32190
32250
  start: {
32191
- line: 151,
32251
+ line: 148,
32192
32252
  column: 18
32193
32253
  },
32194
32254
  end: {
32195
- line: 151,
32255
+ line: 148,
32196
32256
  column: 19
32197
32257
  }
32198
32258
  },
32199
32259
  loc: {
32200
32260
  start: {
32201
- line: 151,
32261
+ line: 148,
32202
32262
  column: 24
32203
32263
  },
32204
32264
  end: {
32205
- line: 158,
32265
+ line: 155,
32206
32266
  column: 9
32207
32267
  }
32208
32268
  },
32209
- line: 151
32269
+ line: 148
32210
32270
  },
32211
32271
  "13": {
32212
32272
  name: "(anonymous_13)",
32213
32273
  decl: {
32214
32274
  start: {
32215
- line: 163,
32275
+ line: 160,
32216
32276
  column: 13
32217
32277
  },
32218
32278
  end: {
32219
- line: 163,
32279
+ line: 160,
32220
32280
  column: 14
32221
32281
  }
32222
32282
  },
32223
32283
  loc: {
32224
32284
  start: {
32225
- line: 164,
32285
+ line: 161,
32226
32286
  column: 14
32227
32287
  },
32228
32288
  end: {
32229
- line: 194,
32289
+ line: 191,
32230
32290
  column: 17
32231
32291
  }
32232
32292
  },
32233
- line: 164
32293
+ line: 161
32234
32294
  },
32235
32295
  "14": {
32236
32296
  name: "(anonymous_14)",
32237
32297
  decl: {
32238
32298
  start: {
32239
- line: 166,
32299
+ line: 163,
32240
32300
  column: 29
32241
32301
  },
32242
32302
  end: {
32243
- line: 166,
32303
+ line: 163,
32244
32304
  column: 30
32245
32305
  }
32246
32306
  },
32247
32307
  loc: {
32248
32308
  start: {
32249
- line: 167,
32309
+ line: 164,
32250
32310
  column: 20
32251
32311
  },
32252
32312
  end: {
32253
- line: 172,
32313
+ line: 169,
32254
32314
  column: 22
32255
32315
  }
32256
32316
  },
32257
- line: 167
32317
+ line: 164
32258
32318
  },
32259
32319
  "15": {
32260
32320
  name: "(anonymous_15)",
32261
32321
  decl: {
32262
32322
  start: {
32263
- line: 191,
32323
+ line: 188,
32264
32324
  column: 30
32265
32325
  },
32266
32326
  end: {
32267
- line: 191,
32327
+ line: 188,
32268
32328
  column: 31
32269
32329
  }
32270
32330
  },
32271
32331
  loc: {
32272
32332
  start: {
32273
- line: 191,
32333
+ line: 188,
32274
32334
  column: 38
32275
32335
  },
32276
32336
  end: {
32277
- line: 191,
32337
+ line: 188,
32278
32338
  column: 65
32279
32339
  }
32280
32340
  },
32281
- line: 191
32341
+ line: 188
32282
32342
  },
32283
32343
  "16": {
32284
32344
  name: "(anonymous_16)",
32285
32345
  decl: {
32286
32346
  start: {
32287
- line: 202,
32347
+ line: 199,
32288
32348
  column: 24
32289
32349
  },
32290
32350
  end: {
32291
- line: 202,
32351
+ line: 199,
32292
32352
  column: 25
32293
32353
  }
32294
32354
  },
32295
32355
  loc: {
32296
32356
  start: {
32297
- line: 202,
32357
+ line: 199,
32298
32358
  column: 32
32299
32359
  },
32300
32360
  end: {
32301
- line: 208,
32361
+ line: 205,
32302
32362
  column: 15
32303
32363
  }
32304
32364
  },
32305
- line: 202
32365
+ line: 199
32306
32366
  }
32307
32367
  },
32308
32368
  branchMap: {
32309
32369
  "0": {
32310
32370
  loc: {
32311
32371
  start: {
32312
- line: 97,
32372
+ line: 94,
32313
32373
  column: 4
32314
32374
  },
32315
32375
  end: {
32316
- line: 99,
32376
+ line: 96,
32317
32377
  column: 58
32318
32378
  }
32319
32379
  },
32320
32380
  type: "binary-expr",
32321
32381
  locations: [{
32322
32382
  start: {
32323
- line: 97,
32383
+ line: 94,
32324
32384
  column: 4
32325
32385
  },
32326
32386
  end: {
32327
- line: 97,
32387
+ line: 94,
32328
32388
  column: 13
32329
32389
  }
32330
32390
  }, {
32331
32391
  start: {
32332
- line: 98,
32392
+ line: 95,
32333
32393
  column: 4
32334
32394
  },
32335
32395
  end: {
32336
- line: 98,
32396
+ line: 95,
32337
32397
  column: 20
32338
32398
  }
32339
32399
  }, {
32340
32400
  start: {
32341
- line: 99,
32401
+ line: 96,
32342
32402
  column: 4
32343
32403
  },
32344
32404
  end: {
32345
- line: 99,
32405
+ line: 96,
32346
32406
  column: 58
32347
32407
  }
32348
32408
  }],
32349
- line: 97
32409
+ line: 94
32350
32410
  },
32351
32411
  "1": {
32352
32412
  loc: {
32353
32413
  start: {
32354
- line: 102,
32414
+ line: 99,
32355
32415
  column: 27
32356
32416
  },
32357
32417
  end: {
32358
- line: 102,
32418
+ line: 99,
32359
32419
  column: 51
32360
32420
  }
32361
32421
  },
32362
32422
  type: "binary-expr",
32363
32423
  locations: [{
32364
32424
  start: {
32365
- line: 102,
32425
+ line: 99,
32366
32426
  column: 27
32367
32427
  },
32368
32428
  end: {
32369
- line: 102,
32429
+ line: 99,
32370
32430
  column: 45
32371
32431
  }
32372
32432
  }, {
32373
32433
  start: {
32374
- line: 102,
32434
+ line: 99,
32375
32435
  column: 49
32376
32436
  },
32377
32437
  end: {
32378
- line: 102,
32438
+ line: 99,
32379
32439
  column: 51
32380
32440
  }
32381
32441
  }],
32382
- line: 102
32442
+ line: 99
32383
32443
  },
32384
32444
  "2": {
32385
32445
  loc: {
32386
32446
  start: {
32387
- line: 113,
32447
+ line: 110,
32388
32448
  column: 6
32389
32449
  },
32390
32450
  end: {
32391
- line: 114,
32451
+ line: 111,
32392
32452
  column: 55
32393
32453
  }
32394
32454
  },
32395
32455
  type: "binary-expr",
32396
32456
  locations: [{
32397
32457
  start: {
32398
- line: 113,
32458
+ line: 110,
32399
32459
  column: 6
32400
32460
  },
32401
32461
  end: {
32402
- line: 113,
32462
+ line: 110,
32403
32463
  column: 44
32404
32464
  }
32405
32465
  }, {
32406
32466
  start: {
32407
- line: 114,
32467
+ line: 111,
32408
32468
  column: 6
32409
32469
  },
32410
32470
  end: {
32411
- line: 114,
32471
+ line: 111,
32412
32472
  column: 55
32413
32473
  }
32414
32474
  }],
32415
- line: 113
32475
+ line: 110
32416
32476
  },
32417
32477
  "3": {
32418
32478
  loc: {
32419
32479
  start: {
32420
- line: 113,
32480
+ line: 110,
32421
32481
  column: 21
32422
32482
  },
32423
32483
  end: {
32424
- line: 113,
32484
+ line: 110,
32425
32485
  column: 43
32426
32486
  }
32427
32487
  },
32428
32488
  type: "binary-expr",
32429
32489
  locations: [{
32430
32490
  start: {
32431
- line: 113,
32491
+ line: 110,
32432
32492
  column: 21
32433
32493
  },
32434
32494
  end: {
32435
- line: 113,
32495
+ line: 110,
32436
32496
  column: 32
32437
32497
  }
32438
32498
  }, {
32439
32499
  start: {
32440
- line: 113,
32500
+ line: 110,
32441
32501
  column: 36
32442
32502
  },
32443
32503
  end: {
32444
- line: 113,
32504
+ line: 110,
32445
32505
  column: 43
32446
32506
  }
32447
32507
  }],
32448
- line: 113
32508
+ line: 110
32449
32509
  },
32450
32510
  "4": {
32451
32511
  loc: {
32452
32512
  start: {
32453
- line: 114,
32513
+ line: 111,
32454
32514
  column: 21
32455
32515
  },
32456
32516
  end: {
32457
- line: 114,
32517
+ line: 111,
32458
32518
  column: 43
32459
32519
  }
32460
32520
  },
32461
32521
  type: "binary-expr",
32462
32522
  locations: [{
32463
32523
  start: {
32464
- line: 114,
32524
+ line: 111,
32465
32525
  column: 21
32466
32526
  },
32467
32527
  end: {
32468
- line: 114,
32528
+ line: 111,
32469
32529
  column: 32
32470
32530
  }
32471
32531
  }, {
32472
32532
  start: {
32473
- line: 114,
32533
+ line: 111,
32474
32534
  column: 36
32475
32535
  },
32476
32536
  end: {
32477
- line: 114,
32537
+ line: 111,
32478
32538
  column: 43
32479
32539
  }
32480
32540
  }],
32481
- line: 114
32541
+ line: 111
32482
32542
  },
32483
32543
  "5": {
32484
32544
  loc: {
32485
32545
  start: {
32486
- line: 116,
32546
+ line: 113,
32487
32547
  column: 27
32488
32548
  },
32489
32549
  end: {
32490
- line: 116,
32550
+ line: 113,
32491
32551
  column: 49
32492
32552
  }
32493
32553
  },
32494
32554
  type: "binary-expr",
32495
32555
  locations: [{
32496
32556
  start: {
32497
- line: 116,
32557
+ line: 113,
32498
32558
  column: 27
32499
32559
  },
32500
32560
  end: {
32501
- line: 116,
32561
+ line: 113,
32502
32562
  column: 38
32503
32563
  }
32504
32564
  }, {
32505
32565
  start: {
32506
- line: 116,
32566
+ line: 113,
32507
32567
  column: 42
32508
32568
  },
32509
32569
  end: {
32510
- line: 116,
32570
+ line: 113,
32511
32571
  column: 49
32512
32572
  }
32513
32573
  }],
32514
- line: 116
32574
+ line: 113
32515
32575
  },
32516
32576
  "6": {
32517
32577
  loc: {
32518
32578
  start: {
32519
- line: 147,
32579
+ line: 144,
32520
32580
  column: 12
32521
32581
  },
32522
32582
  end: {
32523
- line: 148,
32583
+ line: 145,
32524
32584
  column: 61
32525
32585
  }
32526
32586
  },
32527
32587
  type: "binary-expr",
32528
32588
  locations: [{
32529
32589
  start: {
32530
- line: 147,
32590
+ line: 144,
32531
32591
  column: 12
32532
32592
  },
32533
32593
  end: {
32534
- line: 147,
32594
+ line: 144,
32535
32595
  column: 72
32536
32596
  }
32537
32597
  }, {
32538
32598
  start: {
32539
- line: 148,
32599
+ line: 145,
32540
32600
  column: 12
32541
32601
  },
32542
32602
  end: {
32543
- line: 148,
32603
+ line: 145,
32544
32604
  column: 61
32545
32605
  }
32546
32606
  }],
32547
- line: 147
32607
+ line: 144
32548
32608
  },
32549
32609
  "7": {
32550
32610
  loc: {
32551
32611
  start: {
32552
- line: 161,
32612
+ line: 158,
32553
32613
  column: 9
32554
32614
  },
32555
32615
  end: {
32556
- line: 211,
32616
+ line: 208,
32557
32617
  column: 9
32558
32618
  }
32559
32619
  },
32560
32620
  type: "cond-expr",
32561
32621
  locations: [{
32562
32622
  start: {
32563
- line: 162,
32623
+ line: 159,
32564
32624
  column: 10
32565
32625
  },
32566
32626
  end: {
32567
- line: 196,
32627
+ line: 193,
32568
32628
  column: 23
32569
32629
  }
32570
32630
  }, {
32571
32631
  start: {
32572
- line: 198,
32632
+ line: 195,
32573
32633
  column: 10
32574
32634
  },
32575
32635
  end: {
32576
- line: 210,
32636
+ line: 207,
32577
32637
  column: 29
32578
32638
  }
32579
32639
  }],
32580
- line: 161
32640
+ line: 158
32581
32641
  },
32582
32642
  "8": {
32583
32643
  loc: {
32584
32644
  start: {
32585
- line: 212,
32645
+ line: 209,
32586
32646
  column: 9
32587
32647
  },
32588
32648
  end: {
32589
- line: 220,
32649
+ line: 217,
32590
32650
  column: 9
32591
32651
  }
32592
32652
  },
32593
32653
  type: "binary-expr",
32594
32654
  locations: [{
32595
32655
  start: {
32596
- line: 212,
32656
+ line: 209,
32597
32657
  column: 9
32598
32658
  },
32599
32659
  end: {
32600
- line: 212,
32660
+ line: 209,
32601
32661
  column: 24
32602
32662
  }
32603
32663
  }, {
32604
32664
  start: {
32605
- line: 213,
32665
+ line: 210,
32606
32666
  column: 10
32607
32667
  },
32608
32668
  end: {
32609
- line: 219,
32669
+ line: 216,
32610
32670
  column: 12
32611
32671
  }
32612
32672
  }],
32613
- line: 212
32673
+ line: 209
32614
32674
  },
32615
32675
  "9": {
32616
32676
  loc: {
32617
32677
  start: {
32618
- line: 216,
32678
+ line: 213,
32619
32679
  column: 24
32620
32680
  },
32621
32681
  end: {
32622
- line: 216,
32682
+ line: 213,
32623
32683
  column: 46
32624
32684
  }
32625
32685
  },
32626
32686
  type: "binary-expr",
32627
32687
  locations: [{
32628
32688
  start: {
32629
- line: 216,
32689
+ line: 213,
32630
32690
  column: 24
32631
32691
  },
32632
32692
  end: {
32633
- line: 216,
32693
+ line: 213,
32634
32694
  column: 36
32635
32695
  }
32636
32696
  }, {
32637
32697
  start: {
32638
- line: 216,
32698
+ line: 213,
32639
32699
  column: 40
32640
32700
  },
32641
32701
  end: {
32642
- line: 216,
32702
+ line: 213,
32643
32703
  column: 46
32644
32704
  }
32645
32705
  }],
32646
- line: 216
32706
+ line: 213
32647
32707
  }
32648
32708
  },
32649
32709
  s: {
@@ -32717,7 +32777,7 @@ function cov_2e8k7gwd81() {
32717
32777
  "9": [0, 0]
32718
32778
  },
32719
32779
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
32720
- hash: "c885d28816766402f837ebd6b60689340526a7ef"
32780
+ hash: "75bc0a57ebc0e79094a7a070d3da27cbc5fa1354"
32721
32781
  };
32722
32782
  var coverage = global[gcv] || (global[gcv] = {});
32723
32783
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -32743,7 +32803,6 @@ var Form = function Form(_ref) {
32743
32803
  onValueChange = _ref.onValueChange,
32744
32804
  showActionBlock = _ref.showActionBlock,
32745
32805
  formId = _ref.formId,
32746
- setShouldValidate = _ref.setShouldValidate,
32747
32806
  isDeletable = _ref.isDeletable,
32748
32807
  isRequiredField = _ref.isRequiredField,
32749
32808
  submitButtonProps = _ref.submitButtonProps,
@@ -32786,10 +32845,9 @@ var Form = function Form(_ref) {
32786
32845
  isValid: isValid,
32787
32846
  errors: errors,
32788
32847
  submitForm: submitForm,
32789
- resetForm: resetForm,
32790
- setShouldValidate: setShouldValidate
32848
+ resetForm: resetForm
32791
32849
  });
32792
- }, [formId, setFormData, values, dirty, isSubmitting, isValid, errors, submitForm, resetForm, setShouldValidate]);
32850
+ }, [formId, setFormData, values, dirty, isSubmitting, isValid, errors, submitForm, resetForm]);
32793
32851
  var _ref8 = (cov_2e8k7gwd81().s[9]++, values),
32794
32852
  questions = _ref8.questions;
32795
32853
  cov_2e8k7gwd81().s[10]++;
@@ -33291,7 +33349,7 @@ var formValidationSchema = (cov_13igvew484().s[2]++, yup.object().shape({
33291
33349
 
33292
33350
  function cov_2nbnnlcv5p() {
33293
33351
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/index.jsx";
33294
- var hash = "6eb1d47c51f39613ed75d6b4a648a046341f2a2c";
33352
+ var hash = "3657512e450f0fb3332d5e2b841a7570f6023ce7";
33295
33353
  var global = new Function("return this")();
33296
33354
  var gcv = "__coverage__";
33297
33355
  var coverageData = {
@@ -33303,267 +33361,257 @@ function cov_2nbnnlcv5p() {
33303
33361
  column: 18
33304
33362
  },
33305
33363
  end: {
33306
- line: 168,
33364
+ line: 163,
33307
33365
  column: 1
33308
33366
  }
33309
33367
  },
33310
33368
  "1": {
33311
33369
  start: {
33312
33370
  line: 41,
33313
- column: 54
33371
+ column: 22
33314
33372
  },
33315
33373
  end: {
33316
33374
  line: 41,
33317
- column: 69
33375
+ column: 38
33318
33376
  }
33319
33377
  },
33320
33378
  "2": {
33321
33379
  start: {
33322
33380
  line: 43,
33323
- column: 22
33381
+ column: 43
33324
33382
  },
33325
33383
  end: {
33326
- line: 43,
33327
- column: 38
33384
+ line: 48,
33385
+ column: 4
33328
33386
  }
33329
33387
  },
33330
33388
  "3": {
33331
33389
  start: {
33332
33390
  line: 45,
33333
- column: 43
33391
+ column: 22
33334
33392
  },
33335
33393
  end: {
33336
- line: 50,
33337
- column: 4
33394
+ line: 45,
33395
+ column: 41
33338
33396
  }
33339
33397
  },
33340
33398
  "4": {
33341
33399
  start: {
33342
33400
  line: 47,
33343
- column: 22
33401
+ column: 6
33344
33402
  },
33345
33403
  end: {
33346
33404
  line: 47,
33347
- column: 41
33405
+ column: 28
33348
33406
  }
33349
33407
  },
33350
33408
  "5": {
33351
33409
  start: {
33352
- line: 49,
33410
+ line: 56,
33353
33411
  column: 6
33354
33412
  },
33355
33413
  end: {
33356
- line: 49,
33357
- column: 28
33414
+ line: 74,
33415
+ column: 4
33358
33416
  }
33359
33417
  },
33360
33418
  "6": {
33361
33419
  start: {
33362
33420
  line: 58,
33363
- column: 6
33364
- },
33365
- end: {
33366
- line: 76,
33367
- column: 4
33368
- }
33369
- },
33370
- "7": {
33371
- start: {
33372
- line: 60,
33373
33421
  column: 23
33374
33422
  },
33375
33423
  end: {
33376
- line: 60,
33424
+ line: 58,
33377
33425
  column: 39
33378
33426
  }
33379
33427
  },
33380
- "8": {
33428
+ "7": {
33381
33429
  start: {
33382
- line: 78,
33430
+ line: 76,
33383
33431
  column: 2
33384
33432
  },
33385
33433
  end: {
33386
- line: 84,
33434
+ line: 82,
33387
33435
  column: 3
33388
33436
  }
33389
33437
  },
33390
- "9": {
33438
+ "8": {
33391
33439
  start: {
33392
- line: 79,
33440
+ line: 77,
33393
33441
  column: 4
33394
33442
  },
33395
33443
  end: {
33396
- line: 83,
33444
+ line: 81,
33397
33445
  column: 6
33398
33446
  }
33399
33447
  },
33400
- "10": {
33448
+ "9": {
33401
33449
  start: {
33402
- line: 86,
33450
+ line: 84,
33403
33451
  column: 23
33404
33452
  },
33405
33453
  end: {
33406
- line: 93,
33454
+ line: 91,
33407
33455
  column: 6
33408
33456
  }
33409
33457
  },
33410
- "11": {
33458
+ "10": {
33411
33459
  start: {
33412
- line: 87,
33460
+ line: 85,
33413
33461
  column: 4
33414
33462
  },
33415
33463
  end: {
33416
- line: 93,
33464
+ line: 91,
33417
33465
  column: 6
33418
33466
  }
33419
33467
  },
33420
- "12": {
33468
+ "11": {
33421
33469
  start: {
33422
- line: 95,
33470
+ line: 93,
33423
33471
  column: 24
33424
33472
  },
33425
33473
  end: {
33426
- line: 107,
33474
+ line: 105,
33427
33475
  column: 3
33428
33476
  }
33429
33477
  },
33430
- "13": {
33478
+ "12": {
33431
33479
  start: {
33432
- line: 96,
33480
+ line: 94,
33433
33481
  column: 32
33434
33482
  },
33435
33483
  end: {
33436
- line: 99,
33484
+ line: 97,
33437
33485
  column: 6
33438
33486
  }
33439
33487
  },
33440
- "14": {
33488
+ "13": {
33441
33489
  start: {
33442
- line: 101,
33490
+ line: 99,
33443
33491
  column: 4
33444
33492
  },
33445
33493
  end: {
33446
- line: 106,
33494
+ line: 104,
33447
33495
  column: 5
33448
33496
  }
33449
33497
  },
33450
- "15": {
33498
+ "14": {
33451
33499
  start: {
33452
- line: 102,
33500
+ line: 100,
33453
33501
  column: 6
33454
33502
  },
33455
33503
  end: {
33456
- line: 105,
33504
+ line: 103,
33457
33505
  column: 8
33458
33506
  }
33459
33507
  },
33460
- "16": {
33508
+ "15": {
33461
33509
  start: {
33462
- line: 110,
33510
+ line: 108,
33463
33511
  column: 4
33464
33512
  },
33465
33513
  end: {
33466
- line: 111,
33514
+ line: 109,
33467
33515
  column: 61
33468
33516
  }
33469
33517
  },
33470
- "17": {
33518
+ "16": {
33471
33519
  start: {
33472
- line: 111,
33520
+ line: 109,
33473
33521
  column: 17
33474
33522
  },
33475
33523
  end: {
33476
- line: 111,
33524
+ line: 109,
33477
33525
  column: 60
33478
33526
  }
33479
33527
  },
33480
- "18": {
33528
+ "17": {
33481
33529
  start: {
33482
- line: 114,
33530
+ line: 112,
33483
33531
  column: 4
33484
33532
  },
33485
33533
  end: {
33486
- line: 114,
33534
+ line: 112,
33487
33535
  column: 68
33488
33536
  }
33489
33537
  },
33490
- "19": {
33538
+ "18": {
33491
33539
  start: {
33492
- line: 114,
33540
+ line: 112,
33493
33541
  column: 38
33494
33542
  },
33495
33543
  end: {
33496
- line: 114,
33544
+ line: 112,
33497
33545
  column: 67
33498
33546
  }
33499
33547
  },
33500
- "20": {
33548
+ "19": {
33501
33549
  start: {
33502
- line: 116,
33550
+ line: 114,
33503
33551
  column: 31
33504
33552
  },
33505
33553
  end: {
33506
- line: 116,
33554
+ line: 114,
33507
33555
  column: 68
33508
33556
  }
33509
33557
  },
33510
- "21": {
33558
+ "20": {
33511
33559
  start: {
33512
- line: 116,
33560
+ line: 114,
33513
33561
  column: 62
33514
33562
  },
33515
33563
  end: {
33516
- line: 116,
33564
+ line: 114,
33517
33565
  column: 67
33518
33566
  }
33519
33567
  },
33520
- "22": {
33568
+ "21": {
33521
33569
  start: {
33522
- line: 118,
33570
+ line: 116,
33523
33571
  column: 31
33524
33572
  },
33525
33573
  end: {
33526
- line: 120,
33574
+ line: 118,
33527
33575
  column: 79
33528
33576
  }
33529
33577
  },
33530
- "23": {
33578
+ "22": {
33531
33579
  start: {
33532
- line: 122,
33580
+ line: 120,
33533
33581
  column: 2
33534
33582
  },
33535
33583
  end: {
33536
- line: 167,
33584
+ line: 162,
33537
33585
  column: 4
33538
33586
  }
33539
33587
  },
33540
- "24": {
33588
+ "23": {
33541
33589
  start: {
33542
- line: 135,
33590
+ line: 131,
33543
33591
  column: 10
33544
33592
  },
33545
33593
  end: {
33546
- line: 158,
33594
+ line: 153,
33547
33595
  column: 12
33548
33596
  }
33549
33597
  },
33550
- "25": {
33598
+ "24": {
33551
33599
  start: {
33552
- line: 154,
33600
+ line: 149,
33553
33601
  column: 14
33554
33602
  },
33555
33603
  end: {
33556
- line: 156,
33604
+ line: 151,
33557
33605
  column: 15
33558
33606
  }
33559
33607
  },
33560
- "26": {
33608
+ "25": {
33561
33609
  start: {
33562
- line: 155,
33610
+ line: 150,
33563
33611
  column: 16
33564
33612
  },
33565
33613
  end: {
33566
- line: 155,
33614
+ line: 150,
33567
33615
  column: 49
33568
33616
  }
33569
33617
  }
@@ -33587,7 +33635,7 @@ function cov_2nbnnlcv5p() {
33587
33635
  column: 6
33588
33636
  },
33589
33637
  end: {
33590
- line: 168,
33638
+ line: 163,
33591
33639
  column: 1
33592
33640
  }
33593
33641
  },
@@ -33597,241 +33645,241 @@ function cov_2nbnnlcv5p() {
33597
33645
  name: "(anonymous_1)",
33598
33646
  decl: {
33599
33647
  start: {
33600
- line: 47,
33648
+ line: 45,
33601
33649
  column: 13
33602
33650
  },
33603
33651
  end: {
33604
- line: 47,
33652
+ line: 45,
33605
33653
  column: 14
33606
33654
  }
33607
33655
  },
33608
33656
  loc: {
33609
33657
  start: {
33610
- line: 47,
33658
+ line: 45,
33611
33659
  column: 22
33612
33660
  },
33613
33661
  end: {
33614
- line: 47,
33662
+ line: 45,
33615
33663
  column: 41
33616
33664
  }
33617
33665
  },
33618
- line: 47
33666
+ line: 45
33619
33667
  },
33620
33668
  "2": {
33621
33669
  name: "(anonymous_2)",
33622
33670
  decl: {
33623
33671
  start: {
33624
- line: 48,
33672
+ line: 46,
33625
33673
  column: 15
33626
33674
  },
33627
33675
  end: {
33628
- line: 48,
33676
+ line: 46,
33629
33677
  column: 16
33630
33678
  }
33631
33679
  },
33632
33680
  loc: {
33633
33681
  start: {
33634
- line: 49,
33682
+ line: 47,
33635
33683
  column: 6
33636
33684
  },
33637
33685
  end: {
33638
- line: 49,
33686
+ line: 47,
33639
33687
  column: 28
33640
33688
  }
33641
33689
  },
33642
- line: 49
33690
+ line: 47
33643
33691
  },
33644
33692
  "3": {
33645
33693
  name: "(anonymous_3)",
33646
33694
  decl: {
33647
33695
  start: {
33648
- line: 60,
33696
+ line: 58,
33649
33697
  column: 15
33650
33698
  },
33651
33699
  end: {
33652
- line: 60,
33700
+ line: 58,
33653
33701
  column: 16
33654
33702
  }
33655
33703
  },
33656
33704
  loc: {
33657
33705
  start: {
33658
- line: 60,
33706
+ line: 58,
33659
33707
  column: 23
33660
33708
  },
33661
33709
  end: {
33662
- line: 60,
33710
+ line: 58,
33663
33711
  column: 39
33664
33712
  }
33665
33713
  },
33666
- line: 60
33714
+ line: 58
33667
33715
  },
33668
33716
  "4": {
33669
33717
  name: "(anonymous_4)",
33670
33718
  decl: {
33671
33719
  start: {
33672
- line: 86,
33720
+ line: 84,
33673
33721
  column: 23
33674
33722
  },
33675
33723
  end: {
33676
- line: 86,
33724
+ line: 84,
33677
33725
  column: 24
33678
33726
  }
33679
33727
  },
33680
33728
  loc: {
33681
33729
  start: {
33682
- line: 87,
33730
+ line: 85,
33683
33731
  column: 4
33684
33732
  },
33685
33733
  end: {
33686
- line: 93,
33734
+ line: 91,
33687
33735
  column: 6
33688
33736
  }
33689
33737
  },
33690
- line: 87
33738
+ line: 85
33691
33739
  },
33692
33740
  "5": {
33693
33741
  name: "(anonymous_5)",
33694
33742
  decl: {
33695
33743
  start: {
33696
- line: 95,
33744
+ line: 93,
33697
33745
  column: 24
33698
33746
  },
33699
33747
  end: {
33700
- line: 95,
33748
+ line: 93,
33701
33749
  column: 25
33702
33750
  }
33703
33751
  },
33704
33752
  loc: {
33705
33753
  start: {
33706
- line: 95,
33754
+ line: 93,
33707
33755
  column: 37
33708
33756
  },
33709
33757
  end: {
33710
- line: 107,
33758
+ line: 105,
33711
33759
  column: 3
33712
33760
  }
33713
33761
  },
33714
- line: 95
33762
+ line: 93
33715
33763
  },
33716
33764
  "6": {
33717
33765
  name: "(anonymous_6)",
33718
33766
  decl: {
33719
33767
  start: {
33720
- line: 111,
33768
+ line: 109,
33721
33769
  column: 5
33722
33770
  },
33723
33771
  end: {
33724
- line: 111,
33772
+ line: 109,
33725
33773
  column: 6
33726
33774
  }
33727
33775
  },
33728
33776
  loc: {
33729
33777
  start: {
33730
- line: 111,
33778
+ line: 109,
33731
33779
  column: 17
33732
33780
  },
33733
33781
  end: {
33734
- line: 111,
33782
+ line: 109,
33735
33783
  column: 60
33736
33784
  }
33737
33785
  },
33738
- line: 111
33786
+ line: 109
33739
33787
  },
33740
33788
  "7": {
33741
33789
  name: "(anonymous_7)",
33742
33790
  decl: {
33743
33791
  start: {
33744
- line: 114,
33792
+ line: 112,
33745
33793
  column: 24
33746
33794
  },
33747
33795
  end: {
33748
- line: 114,
33796
+ line: 112,
33749
33797
  column: 25
33750
33798
  }
33751
33799
  },
33752
33800
  loc: {
33753
33801
  start: {
33754
- line: 114,
33802
+ line: 112,
33755
33803
  column: 38
33756
33804
  },
33757
33805
  end: {
33758
- line: 114,
33806
+ line: 112,
33759
33807
  column: 67
33760
33808
  }
33761
33809
  },
33762
- line: 114
33810
+ line: 112
33763
33811
  },
33764
33812
  "8": {
33765
33813
  name: "(anonymous_8)",
33766
33814
  decl: {
33767
33815
  start: {
33768
- line: 116,
33816
+ line: 114,
33769
33817
  column: 56
33770
33818
  },
33771
33819
  end: {
33772
- line: 116,
33820
+ line: 114,
33773
33821
  column: 57
33774
33822
  }
33775
33823
  },
33776
33824
  loc: {
33777
33825
  start: {
33778
- line: 116,
33826
+ line: 114,
33779
33827
  column: 62
33780
33828
  },
33781
33829
  end: {
33782
- line: 116,
33830
+ line: 114,
33783
33831
  column: 67
33784
33832
  }
33785
33833
  },
33786
- line: 116
33834
+ line: 114
33787
33835
  },
33788
33836
  "9": {
33789
33837
  name: "(anonymous_9)",
33790
33838
  decl: {
33791
33839
  start: {
33792
- line: 134,
33840
+ line: 130,
33793
33841
  column: 9
33794
33842
  },
33795
33843
  end: {
33796
- line: 134,
33844
+ line: 130,
33797
33845
  column: 10
33798
33846
  }
33799
33847
  },
33800
33848
  loc: {
33801
33849
  start: {
33802
- line: 135,
33850
+ line: 131,
33803
33851
  column: 10
33804
33852
  },
33805
33853
  end: {
33806
- line: 158,
33854
+ line: 153,
33807
33855
  column: 12
33808
33856
  }
33809
33857
  },
33810
- line: 135
33858
+ line: 131
33811
33859
  },
33812
33860
  "10": {
33813
33861
  name: "(anonymous_10)",
33814
33862
  decl: {
33815
33863
  start: {
33816
- line: 153,
33864
+ line: 148,
33817
33865
  column: 22
33818
33866
  },
33819
33867
  end: {
33820
- line: 153,
33868
+ line: 148,
33821
33869
  column: 23
33822
33870
  }
33823
33871
  },
33824
33872
  loc: {
33825
33873
  start: {
33826
- line: 153,
33874
+ line: 148,
33827
33875
  column: 31
33828
33876
  },
33829
33877
  end: {
33830
- line: 157,
33878
+ line: 152,
33831
33879
  column: 13
33832
33880
  }
33833
33881
  },
33834
- line: 153
33882
+ line: 148
33835
33883
  }
33836
33884
  },
33837
33885
  branchMap: {
@@ -34078,70 +34126,70 @@ function cov_2nbnnlcv5p() {
34078
34126
  "10": {
34079
34127
  loc: {
34080
34128
  start: {
34081
- line: 48,
34129
+ line: 46,
34082
34130
  column: 18
34083
34131
  },
34084
34132
  end: {
34085
- line: 48,
34133
+ line: 46,
34086
34134
  column: 70
34087
34135
  }
34088
34136
  },
34089
34137
  type: "default-arg",
34090
34138
  locations: [{
34091
34139
  start: {
34092
- line: 48,
34140
+ line: 46,
34093
34141
  column: 27
34094
34142
  },
34095
34143
  end: {
34096
- line: 48,
34144
+ line: 46,
34097
34145
  column: 70
34098
34146
  }
34099
34147
  }],
34100
- line: 48
34148
+ line: 46
34101
34149
  },
34102
34150
  "11": {
34103
34151
  loc: {
34104
34152
  start: {
34105
- line: 53,
34153
+ line: 51,
34106
34154
  column: 10
34107
34155
  },
34108
34156
  end: {
34109
- line: 56,
34157
+ line: 54,
34110
34158
  column: 5
34111
34159
  }
34112
34160
  },
34113
34161
  type: "default-arg",
34114
34162
  locations: [{
34115
34163
  start: {
34116
- line: 53,
34164
+ line: 51,
34117
34165
  column: 46
34118
34166
  },
34119
34167
  end: {
34120
- line: 56,
34168
+ line: 54,
34121
34169
  column: 5
34122
34170
  }
34123
34171
  }],
34124
- line: 53
34172
+ line: 51
34125
34173
  },
34126
34174
  "12": {
34127
34175
  loc: {
34128
34176
  start: {
34129
- line: 78,
34177
+ line: 76,
34130
34178
  column: 2
34131
34179
  },
34132
34180
  end: {
34133
- line: 84,
34181
+ line: 82,
34134
34182
  column: 3
34135
34183
  }
34136
34184
  },
34137
34185
  type: "if",
34138
34186
  locations: [{
34139
34187
  start: {
34140
- line: 78,
34188
+ line: 76,
34141
34189
  column: 2
34142
34190
  },
34143
34191
  end: {
34144
- line: 84,
34192
+ line: 82,
34145
34193
  column: 3
34146
34194
  }
34147
34195
  }, {
@@ -34154,69 +34202,69 @@ function cov_2nbnnlcv5p() {
34154
34202
  column: undefined
34155
34203
  }
34156
34204
  }],
34157
- line: 78
34205
+ line: 76
34158
34206
  },
34159
34207
  "13": {
34160
34208
  loc: {
34161
34209
  start: {
34162
- line: 78,
34210
+ line: 76,
34163
34211
  column: 6
34164
34212
  },
34165
34213
  end: {
34166
- line: 78,
34214
+ line: 76,
34167
34215
  column: 53
34168
34216
  }
34169
34217
  },
34170
34218
  type: "binary-expr",
34171
34219
  locations: [{
34172
34220
  start: {
34173
- line: 78,
34221
+ line: 76,
34174
34222
  column: 6
34175
34223
  },
34176
34224
  end: {
34177
- line: 78,
34225
+ line: 76,
34178
34226
  column: 15
34179
34227
  }
34180
34228
  }, {
34181
34229
  start: {
34182
- line: 78,
34230
+ line: 76,
34183
34231
  column: 20
34184
34232
  },
34185
34233
  end: {
34186
- line: 78,
34234
+ line: 76,
34187
34235
  column: 30
34188
34236
  }
34189
34237
  }, {
34190
34238
  start: {
34191
- line: 78,
34239
+ line: 76,
34192
34240
  column: 34
34193
34241
  },
34194
34242
  end: {
34195
- line: 78,
34243
+ line: 76,
34196
34244
  column: 52
34197
34245
  }
34198
34246
  }],
34199
- line: 78
34247
+ line: 76
34200
34248
  },
34201
34249
  "14": {
34202
34250
  loc: {
34203
34251
  start: {
34204
- line: 101,
34252
+ line: 99,
34205
34253
  column: 4
34206
34254
  },
34207
34255
  end: {
34208
- line: 106,
34256
+ line: 104,
34209
34257
  column: 5
34210
34258
  }
34211
34259
  },
34212
34260
  type: "if",
34213
34261
  locations: [{
34214
34262
  start: {
34215
- line: 101,
34263
+ line: 99,
34216
34264
  column: 4
34217
34265
  },
34218
34266
  end: {
34219
- line: 106,
34267
+ line: 104,
34220
34268
  column: 5
34221
34269
  }
34222
34270
  }, {
@@ -34229,192 +34277,192 @@ function cov_2nbnnlcv5p() {
34229
34277
  column: undefined
34230
34278
  }
34231
34279
  }],
34232
- line: 101
34280
+ line: 99
34233
34281
  },
34234
34282
  "15": {
34235
34283
  loc: {
34236
34284
  start: {
34237
- line: 110,
34285
+ line: 108,
34238
34286
  column: 4
34239
34287
  },
34240
34288
  end: {
34241
- line: 111,
34289
+ line: 109,
34242
34290
  column: 61
34243
34291
  }
34244
34292
  },
34245
34293
  type: "binary-expr",
34246
34294
  locations: [{
34247
34295
  start: {
34248
- line: 110,
34296
+ line: 108,
34249
34297
  column: 4
34250
34298
  },
34251
34299
  end: {
34252
- line: 110,
34300
+ line: 108,
34253
34301
  column: 23
34254
34302
  }
34255
34303
  }, {
34256
34304
  start: {
34257
- line: 111,
34305
+ line: 109,
34258
34306
  column: 5
34259
34307
  },
34260
34308
  end: {
34261
- line: 111,
34309
+ line: 109,
34262
34310
  column: 60
34263
34311
  }
34264
34312
  }],
34265
- line: 110
34313
+ line: 108
34266
34314
  },
34267
34315
  "16": {
34268
34316
  loc: {
34269
34317
  start: {
34270
- line: 114,
34318
+ line: 112,
34271
34319
  column: 4
34272
34320
  },
34273
34321
  end: {
34274
- line: 114,
34322
+ line: 112,
34275
34323
  column: 68
34276
34324
  }
34277
34325
  },
34278
34326
  type: "binary-expr",
34279
34327
  locations: [{
34280
34328
  start: {
34281
- line: 114,
34329
+ line: 112,
34282
34330
  column: 4
34283
34331
  },
34284
34332
  end: {
34285
- line: 114,
34333
+ line: 112,
34286
34334
  column: 19
34287
34335
  }
34288
34336
  }, {
34289
34337
  start: {
34290
- line: 114,
34338
+ line: 112,
34291
34339
  column: 24
34292
34340
  },
34293
34341
  end: {
34294
- line: 114,
34342
+ line: 112,
34295
34343
  column: 67
34296
34344
  }
34297
34345
  }],
34298
- line: 114
34346
+ line: 112
34299
34347
  },
34300
34348
  "17": {
34301
34349
  loc: {
34302
34350
  start: {
34303
- line: 116,
34351
+ line: 114,
34304
34352
  column: 31
34305
34353
  },
34306
34354
  end: {
34307
- line: 116,
34355
+ line: 114,
34308
34356
  column: 68
34309
34357
  }
34310
34358
  },
34311
34359
  type: "binary-expr",
34312
34360
  locations: [{
34313
34361
  start: {
34314
- line: 116,
34362
+ line: 114,
34315
34363
  column: 31
34316
34364
  },
34317
34365
  end: {
34318
- line: 116,
34366
+ line: 114,
34319
34367
  column: 51
34320
34368
  }
34321
34369
  }, {
34322
34370
  start: {
34323
- line: 116,
34371
+ line: 114,
34324
34372
  column: 56
34325
34373
  },
34326
34374
  end: {
34327
- line: 116,
34375
+ line: 114,
34328
34376
  column: 67
34329
34377
  }
34330
34378
  }],
34331
- line: 116
34379
+ line: 114
34332
34380
  },
34333
34381
  "18": {
34334
34382
  loc: {
34335
34383
  start: {
34336
- line: 118,
34384
+ line: 116,
34337
34385
  column: 31
34338
34386
  },
34339
34387
  end: {
34340
- line: 120,
34388
+ line: 118,
34341
34389
  column: 79
34342
34390
  }
34343
34391
  },
34344
34392
  type: "cond-expr",
34345
34393
  locations: [{
34346
34394
  start: {
34347
- line: 119,
34395
+ line: 117,
34348
34396
  column: 6
34349
34397
  },
34350
34398
  end: {
34351
- line: 119,
34399
+ line: 117,
34352
34400
  column: 20
34353
34401
  }
34354
34402
  }, {
34355
34403
  start: {
34356
- line: 120,
34404
+ line: 118,
34357
34405
  column: 6
34358
34406
  },
34359
34407
  end: {
34360
- line: 120,
34408
+ line: 118,
34361
34409
  column: 79
34362
34410
  }
34363
34411
  }],
34364
- line: 118
34412
+ line: 116
34365
34413
  },
34366
34414
  "19": {
34367
34415
  loc: {
34368
34416
  start: {
34369
- line: 150,
34417
+ line: 145,
34370
34418
  column: 14
34371
34419
  },
34372
34420
  end: {
34373
- line: 150,
34421
+ line: 145,
34374
34422
  column: 77
34375
34423
  }
34376
34424
  },
34377
34425
  type: "cond-expr",
34378
34426
  locations: [{
34379
34427
  start: {
34380
- line: 150,
34428
+ line: 145,
34381
34429
  column: 41
34382
34430
  },
34383
34431
  end: {
34384
- line: 150,
34432
+ line: 145,
34385
34433
  column: 54
34386
34434
  }
34387
34435
  }, {
34388
34436
  start: {
34389
- line: 150,
34437
+ line: 145,
34390
34438
  column: 57
34391
34439
  },
34392
34440
  end: {
34393
- line: 150,
34441
+ line: 145,
34394
34442
  column: 77
34395
34443
  }
34396
34444
  }],
34397
- line: 150
34445
+ line: 145
34398
34446
  },
34399
34447
  "20": {
34400
34448
  loc: {
34401
34449
  start: {
34402
- line: 154,
34450
+ line: 149,
34403
34451
  column: 14
34404
34452
  },
34405
34453
  end: {
34406
- line: 156,
34454
+ line: 151,
34407
34455
  column: 15
34408
34456
  }
34409
34457
  },
34410
34458
  type: "if",
34411
34459
  locations: [{
34412
34460
  start: {
34413
- line: 154,
34461
+ line: 149,
34414
34462
  column: 14
34415
34463
  },
34416
34464
  end: {
34417
- line: 156,
34465
+ line: 151,
34418
34466
  column: 15
34419
34467
  }
34420
34468
  }, {
@@ -34427,40 +34475,40 @@ function cov_2nbnnlcv5p() {
34427
34475
  column: undefined
34428
34476
  }
34429
34477
  }],
34430
- line: 154
34478
+ line: 149
34431
34479
  },
34432
34480
  "21": {
34433
34481
  loc: {
34434
34482
  start: {
34435
- line: 161,
34483
+ line: 156,
34436
34484
  column: 7
34437
34485
  },
34438
34486
  end: {
34439
- line: 165,
34487
+ line: 160,
34440
34488
  column: 7
34441
34489
  }
34442
34490
  },
34443
34491
  type: "binary-expr",
34444
34492
  locations: [{
34445
34493
  start: {
34446
- line: 161,
34494
+ line: 156,
34447
34495
  column: 7
34448
34496
  },
34449
34497
  end: {
34450
- line: 161,
34498
+ line: 156,
34451
34499
  column: 25
34452
34500
  }
34453
34501
  }, {
34454
34502
  start: {
34455
- line: 162,
34503
+ line: 157,
34456
34504
  column: 8
34457
34505
  },
34458
34506
  end: {
34459
- line: 164,
34507
+ line: 159,
34460
34508
  column: 14
34461
34509
  }
34462
34510
  }],
34463
- line: 161
34511
+ line: 156
34464
34512
  }
34465
34513
  },
34466
34514
  s: {
@@ -34489,8 +34537,7 @@ function cov_2nbnnlcv5p() {
34489
34537
  "22": 0,
34490
34538
  "23": 0,
34491
34539
  "24": 0,
34492
- "25": 0,
34493
- "26": 0
34540
+ "25": 0
34494
34541
  },
34495
34542
  f: {
34496
34543
  "0": 0,
@@ -34530,7 +34577,7 @@ function cov_2nbnnlcv5p() {
34530
34577
  "21": [0, 0]
34531
34578
  },
34532
34579
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
34533
- hash: "6eb1d47c51f39613ed75d6b4a648a046341f2a2c"
34580
+ hash: "3657512e450f0fb3332d5e2b841a7570f6023ce7"
34534
34581
  };
34535
34582
  var coverage = global[gcv] || (global[gcv] = {});
34536
34583
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -34550,7 +34597,7 @@ function ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if
34550
34597
  function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$b(Object(source), !0).forEach(function (key) { _defineProperty$a(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
34551
34598
  cov_2nbnnlcv5p().s[0]++;
34552
34599
  var BuildForm = function BuildForm(_ref) {
34553
- var _ref8, _ref9, _ref11;
34600
+ var _ref6, _ref7, _ref9;
34554
34601
  var id = _ref.id,
34555
34602
  onUpdate = _ref.onUpdate,
34556
34603
  buildRequestArgs = _ref.buildRequestArgs,
@@ -34581,32 +34628,28 @@ var BuildForm = function BuildForm(_ref) {
34581
34628
  _ref$allowAdditionalG = _ref.allowAdditionalGuests,
34582
34629
  allowAdditionalGuests = _ref$allowAdditionalG === void 0 ? (cov_2nbnnlcv5p().b[9][0]++, false) : _ref$allowAdditionalG;
34583
34630
  cov_2nbnnlcv5p().f[0]++;
34584
- var _ref2 = (cov_2nbnnlcv5p().s[1]++, React$2.useState(false)),
34585
- _ref3 = _slicedToArray$6(_ref2, 2),
34586
- shouldValidateForm = _ref3[0],
34587
- setShouldValidateForm = _ref3[1];
34588
- var queryClient = (cov_2nbnnlcv5p().s[2]++, useQueryClient());
34589
- var _ref4 = (cov_2nbnnlcv5p().s[3]++, useUpdateQuestions({
34631
+ var queryClient = (cov_2nbnnlcv5p().s[1]++, useQueryClient());
34632
+ var _ref2 = (cov_2nbnnlcv5p().s[2]++, useUpdateQuestions({
34590
34633
  formId: id,
34591
34634
  onError: function onError(error) {
34592
34635
  cov_2nbnnlcv5p().f[1]++;
34593
- cov_2nbnnlcv5p().s[4]++;
34636
+ cov_2nbnnlcv5p().s[3]++;
34594
34637
  return neetoui.Toastr.error(error);
34595
34638
  },
34596
- onSuccess: function onSuccess(_ref5) {
34597
- var _ref5$notice = _ref5.notice,
34598
- notice = _ref5$notice === void 0 ? (cov_2nbnnlcv5p().b[10][0]++, "Questions have been updated successfully!") : _ref5$notice;
34639
+ onSuccess: function onSuccess(_ref3) {
34640
+ var _ref3$notice = _ref3.notice,
34641
+ notice = _ref3$notice === void 0 ? (cov_2nbnnlcv5p().b[10][0]++, "Questions have been updated successfully!") : _ref3$notice;
34599
34642
  cov_2nbnnlcv5p().f[2]++;
34600
- cov_2nbnnlcv5p().s[5]++;
34643
+ cov_2nbnnlcv5p().s[4]++;
34601
34644
  return neetoui.Toastr.success(notice);
34602
34645
  }
34603
34646
  })),
34604
- updateQuestions = _ref4.mutateAsync;
34605
- var _ref6 = (cov_2nbnnlcv5p().s[6]++, useForm({
34647
+ updateQuestions = _ref2.mutateAsync;
34648
+ var _ref4 = (cov_2nbnnlcv5p().s[5]++, useForm({
34606
34649
  formId: id,
34607
34650
  onSuccess: function onSuccess(data) {
34608
34651
  cov_2nbnnlcv5p().f[3]++;
34609
- cov_2nbnnlcv5p().s[7]++;
34652
+ cov_2nbnnlcv5p().s[6]++;
34610
34653
  return onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(data);
34611
34654
  },
34612
34655
  placeholderData: {
@@ -34622,28 +34665,28 @@ var BuildForm = function BuildForm(_ref) {
34622
34665
  }]
34623
34666
  }
34624
34667
  })),
34625
- _ref6$data = _ref6.data,
34626
- _ref6$data2 = _ref6$data === void 0 ? (cov_2nbnnlcv5p().b[11][0]++, {
34668
+ _ref4$data = _ref4.data,
34669
+ _ref4$data2 = _ref4$data === void 0 ? (cov_2nbnnlcv5p().b[11][0]++, {
34627
34670
  title: "",
34628
34671
  questions: []
34629
- }) : _ref6$data,
34630
- questions = _ref6$data2.questions,
34631
- isQuestionsLoading = _ref6$data2.isQuestionsLoading,
34632
- isLoading = _ref6.isLoading;
34633
- cov_2nbnnlcv5p().s[8]++;
34672
+ }) : _ref4$data,
34673
+ questions = _ref4$data2.questions,
34674
+ isQuestionsLoading = _ref4$data2.isQuestionsLoading,
34675
+ isLoading = _ref4.isLoading;
34676
+ cov_2nbnnlcv5p().s[7]++;
34634
34677
  if ((cov_2nbnnlcv5p().b[13][0]++, isLoading) || (cov_2nbnnlcv5p().b[13][1]++, showLoader) && (cov_2nbnnlcv5p().b[13][2]++, isQuestionsLoading)) {
34635
34678
  cov_2nbnnlcv5p().b[12][0]++;
34636
- cov_2nbnnlcv5p().s[9]++;
34679
+ cov_2nbnnlcv5p().s[8]++;
34637
34680
  return /*#__PURE__*/React__default["default"].createElement("div", {
34638
34681
  className: "flex h-full w-full items-center justify-center py-6"
34639
34682
  }, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
34640
34683
  } else {
34641
34684
  cov_2nbnnlcv5p().b[12][1]++;
34642
34685
  }
34643
- cov_2nbnnlcv5p().s[10]++;
34686
+ cov_2nbnnlcv5p().s[9]++;
34644
34687
  var handleSubmit = function handleSubmit(payload) {
34645
34688
  cov_2nbnnlcv5p().f[4]++;
34646
- cov_2nbnnlcv5p().s[11]++;
34689
+ cov_2nbnnlcv5p().s[10]++;
34647
34690
  return updateQuestions({
34648
34691
  id: id,
34649
34692
  values: _objectSpread$a({
@@ -34651,56 +34694,54 @@ var BuildForm = function BuildForm(_ref) {
34651
34694
  }, buildRequestArgs)
34652
34695
  });
34653
34696
  };
34654
- cov_2nbnnlcv5p().s[12]++;
34697
+ cov_2nbnnlcv5p().s[11]++;
34655
34698
  var onValueChange = function onValueChange(questions) {
34656
34699
  cov_2nbnnlcv5p().f[5]++;
34657
- var _ref7 = (cov_2nbnnlcv5p().s[13]++, queryClient.getQueryState([QUERY_KEYS.QUESTIONS, id])),
34658
- dataUpdateCount = _ref7.dataUpdateCount;
34659
- cov_2nbnnlcv5p().s[14]++;
34700
+ var _ref5 = (cov_2nbnnlcv5p().s[12]++, queryClient.getQueryState([QUERY_KEYS.QUESTIONS, id])),
34701
+ dataUpdateCount = _ref5.dataUpdateCount;
34702
+ cov_2nbnnlcv5p().s[13]++;
34660
34703
  if (dataUpdateCount > 0) {
34661
34704
  cov_2nbnnlcv5p().b[14][0]++;
34662
- cov_2nbnnlcv5p().s[15]++;
34705
+ cov_2nbnnlcv5p().s[14]++;
34663
34706
  queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], ramda.assoc("questions", questions));
34664
34707
  } else {
34665
34708
  cov_2nbnnlcv5p().b[14][1]++;
34666
34709
  }
34667
34710
  };
34668
- var isDeletable = (cov_2nbnnlcv5p().s[16]++, (_ref8 = (cov_2nbnnlcv5p().b[15][0]++, isQuestionDeletable)) !== null && _ref8 !== void 0 ? _ref8 : (cov_2nbnnlcv5p().b[15][1]++, function (question) {
34711
+ var isDeletable = (cov_2nbnnlcv5p().s[15]++, (_ref6 = (cov_2nbnnlcv5p().b[15][0]++, isQuestionDeletable)) !== null && _ref6 !== void 0 ? _ref6 : (cov_2nbnnlcv5p().b[15][1]++, function (question) {
34669
34712
  cov_2nbnnlcv5p().f[6]++;
34670
- cov_2nbnnlcv5p().s[17]++;
34713
+ cov_2nbnnlcv5p().s[16]++;
34671
34714
  return !nonRemovableFields.includes(question.kind);
34672
34715
  }));
34673
- var isRequiredField = (cov_2nbnnlcv5p().s[18]++, (_ref9 = (cov_2nbnnlcv5p().b[16][0]++, isFieldRequired)) !== null && _ref9 !== void 0 ? _ref9 : (cov_2nbnnlcv5p().b[16][1]++, function (_ref10) {
34674
- var kind = _ref10.kind;
34716
+ var isRequiredField = (cov_2nbnnlcv5p().s[17]++, (_ref7 = (cov_2nbnnlcv5p().b[16][0]++, isFieldRequired)) !== null && _ref7 !== void 0 ? _ref7 : (cov_2nbnnlcv5p().b[16][1]++, function (_ref8) {
34717
+ var kind = _ref8.kind;
34675
34718
  cov_2nbnnlcv5p().f[7]++;
34676
- cov_2nbnnlcv5p().s[19]++;
34719
+ cov_2nbnnlcv5p().s[18]++;
34677
34720
  return requiredFields.includes(kind);
34678
34721
  }));
34679
- var isDisabledFieldLabel = (cov_2nbnnlcv5p().s[20]++, (_ref11 = (cov_2nbnnlcv5p().b[17][0]++, isFieldLabelDisabled)) !== null && _ref11 !== void 0 ? _ref11 : (cov_2nbnnlcv5p().b[17][1]++, function () {
34722
+ var isDisabledFieldLabel = (cov_2nbnnlcv5p().s[19]++, (_ref9 = (cov_2nbnnlcv5p().b[17][0]++, isFieldLabelDisabled)) !== null && _ref9 !== void 0 ? _ref9 : (cov_2nbnnlcv5p().b[17][1]++, function () {
34680
34723
  cov_2nbnnlcv5p().f[8]++;
34681
- cov_2nbnnlcv5p().s[21]++;
34724
+ cov_2nbnnlcv5p().s[20]++;
34682
34725
  return false;
34683
34726
  }));
34684
- var defaultQuestionKinds = (cov_2nbnnlcv5p().s[22]++, allowAdditionalGuests ? (cov_2nbnnlcv5p().b[18][0]++, QUESTION_KINDS) : (cov_2nbnnlcv5p().b[18][1]++, pure.removeBy({
34727
+ var defaultQuestionKinds = (cov_2nbnnlcv5p().s[21]++, allowAdditionalGuests ? (cov_2nbnnlcv5p().b[18][0]++, QUESTION_KINDS) : (cov_2nbnnlcv5p().b[18][1]++, pure.removeBy({
34685
34728
  type: QUESTION_KIND.ADDITIONAL_GUESTS.value
34686
34729
  }, QUESTION_KINDS)));
34687
- cov_2nbnnlcv5p().s[23]++;
34730
+ cov_2nbnnlcv5p().s[22]++;
34688
34731
  return /*#__PURE__*/React__default["default"].createElement("div", {
34689
34732
  className: "relative"
34690
34733
  }, /*#__PURE__*/React__default["default"].createElement(formik.Formik, {
34691
34734
  enableReinitialize: true,
34692
- validateOnBlur: shouldValidateForm,
34693
- validateOnChange: shouldValidateForm,
34694
34735
  validationSchema: formValidationSchema,
34695
34736
  initialValues: {
34696
34737
  questions: questions
34697
34738
  },
34698
34739
  onSubmit: handleSubmit
34699
- }, function (_ref12) {
34700
- var errors = _ref12.errors,
34701
- setFieldError = _ref12.setFieldError;
34740
+ }, function (_ref10) {
34741
+ var errors = _ref10.errors,
34742
+ setFieldError = _ref10.setFieldError;
34702
34743
  cov_2nbnnlcv5p().f[9]++;
34703
- cov_2nbnnlcv5p().s[24]++;
34744
+ cov_2nbnnlcv5p().s[23]++;
34704
34745
  return /*#__PURE__*/React__default["default"].createElement(Form, _extends$9({}, formDomProps, {
34705
34746
  cancelButtonProps: cancelButtonProps,
34706
34747
  formId: id,
@@ -34710,7 +34751,6 @@ var BuildForm = function BuildForm(_ref) {
34710
34751
  isKindAlreadyActive: isKindAlreadyActive,
34711
34752
  isRequiredField: isRequiredField,
34712
34753
  kindUniqueOn: kindUniqueOn,
34713
- setShouldValidate: setShouldValidateForm,
34714
34754
  showActionBlock: showActionBlock,
34715
34755
  showAddQuestionDivider: showAddQuestionDivider,
34716
34756
  submitButtonProps: submitButtonProps,
@@ -34718,10 +34758,10 @@ var BuildForm = function BuildForm(_ref) {
34718
34758
  onValueChange: onValueChange,
34719
34759
  onChange: function onChange(event) {
34720
34760
  cov_2nbnnlcv5p().f[10]++;
34721
- cov_2nbnnlcv5p().s[25]++;
34761
+ cov_2nbnnlcv5p().s[24]++;
34722
34762
  if (!ramda.isEmpty(errors)) {
34723
34763
  cov_2nbnnlcv5p().b[20][0]++;
34724
- cov_2nbnnlcv5p().s[26]++;
34764
+ cov_2nbnnlcv5p().s[25]++;
34725
34765
  setFieldError(event.target.name);
34726
34766
  } else {
34727
34767
  cov_2nbnnlcv5p().b[20][1]++;
@@ -35978,6 +36018,7 @@ var Spinner = function Spinner(_ref) {
35978
36018
  strokeWidth: "1.5"
35979
36019
  })));
35980
36020
  };
36021
+ var Spinner$1 = /*#__PURE__*/React__default["default"].memo(Spinner);
35981
36022
 
35982
36023
  var _excluded$e = ["label", "loading", "success", "className"];
35983
36024
  function cov_2ndo8sz9m4() {
@@ -36314,7 +36355,7 @@ var Button = function Button(_ref) {
36314
36355
  cov_2ndo8sz9m4().s[1]++;
36315
36356
  return /*#__PURE__*/React__default["default"].createElement("button", _extends$9({
36316
36357
  className: classnames__default["default"]("neeto-form-engine-button", className)
36317
- }, otherProps), (cov_2ndo8sz9m4().b[3][0]++, loading) && (cov_2ndo8sz9m4().b[3][1]++, /*#__PURE__*/React__default["default"].createElement(ButtonLoader, null)), (cov_2ndo8sz9m4().b[4][0]++, success) && (cov_2ndo8sz9m4().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(Success$1, null)), label);
36358
+ }, otherProps), (cov_2ndo8sz9m4().b[3][0]++, loading) && (cov_2ndo8sz9m4().b[3][1]++, /*#__PURE__*/React__default["default"].createElement(ButtonLoader, null)), (cov_2ndo8sz9m4().b[4][0]++, success) && (cov_2ndo8sz9m4().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(Success$2, null)), label);
36318
36359
  };
36319
36360
  cov_2ndo8sz9m4().s[2]++;
36320
36361
  var ButtonLoader = function ButtonLoader() {
@@ -36322,10 +36363,10 @@ var ButtonLoader = function ButtonLoader() {
36322
36363
  cov_2ndo8sz9m4().s[3]++;
36323
36364
  return /*#__PURE__*/React__default["default"].createElement("div", {
36324
36365
  className: "neeto-form-engine-button__loader"
36325
- }, /*#__PURE__*/React__default["default"].createElement(Spinner, null));
36366
+ }, /*#__PURE__*/React__default["default"].createElement(Spinner$1, null));
36326
36367
  };
36327
36368
  cov_2ndo8sz9m4().s[4]++;
36328
- var Success$1 = function Success() {
36369
+ var Success$2 = function Success() {
36329
36370
  cov_2ndo8sz9m4().f[2]++;
36330
36371
  cov_2ndo8sz9m4().s[5]++;
36331
36372
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -58919,7 +58960,7 @@ var Condition = function Condition(_ref, ref) {
58919
58960
  className: "neeto-form-engine-input__error"
58920
58961
  }, error)));
58921
58962
  };
58922
- var Condition$1 = /*#__PURE__*/React$2.forwardRef(Condition);
58963
+ var Condition$1 = /*#__PURE__*/React$2.memo( /*#__PURE__*/React$2.forwardRef(Condition));
58923
58964
 
58924
58965
  function cov_2lhrgkh8e4() {
58925
58966
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/ConditionField.jsx";
@@ -60524,6 +60565,7 @@ var Choices = function Choices(_ref) {
60524
60565
  className: "neeto-form-engine-input__error"
60525
60566
  }, error)));
60526
60567
  };
60568
+ var Choices$1 = /*#__PURE__*/React__default["default"].memo(Choices);
60527
60569
 
60528
60570
  var _excluded$5 = ["size", "label", "error", "helpText", "className", "innerRef"];
60529
60571
  function cov_2mja3ufqil() {
@@ -61619,7 +61661,7 @@ var OptionsField = function OptionsField(_ref) {
61619
61661
  isRequired = _ref3.isRequired,
61620
61662
  _ref3$optionsAttribut = _ref3.optionsAttributes,
61621
61663
  options = _ref3$optionsAttribut === void 0 ? (cov_1i8uylwhkg().b[0][0]++, []) : _ref3$optionsAttribut;
61622
- var Component = (cov_1i8uylwhkg().s[3]++, kind === QUESTION_KIND.DROPDOWN.value ? (cov_1i8uylwhkg().b[1][0]++, Select) : (cov_1i8uylwhkg().b[1][1]++, Choices));
61664
+ var Component = (cov_1i8uylwhkg().s[3]++, kind === QUESTION_KIND.DROPDOWN.value ? (cov_1i8uylwhkg().b[1][0]++, Select) : (cov_1i8uylwhkg().b[1][1]++, Choices$1));
61623
61665
  var transformedOptions = (cov_1i8uylwhkg().s[4]++, kind === QUESTION_KIND.DROPDOWN.value ? (cov_1i8uylwhkg().b[2][0]++, options.map(function (option) {
61624
61666
  cov_1i8uylwhkg().f[1]++;
61625
61667
  cov_1i8uylwhkg().s[5]++;
@@ -62290,6 +62332,7 @@ var Rating = function Rating(_ref) {
62290
62332
  className: "neeto-form-engine-input__error"
62291
62333
  }, error)));
62292
62334
  };
62335
+ var Rating$1 = /*#__PURE__*/React__default["default"].memo(Rating);
62293
62336
 
62294
62337
  function cov_2lj2o2sww7() {
62295
62338
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/RatingField.jsx";
@@ -62584,7 +62627,7 @@ var RatingField = function RatingField(_ref) {
62584
62627
  field = _ref3.field;
62585
62628
  cov_2lj2o2sww7().f[1]++;
62586
62629
  cov_2lj2o2sww7().s[3]++;
62587
- return /*#__PURE__*/React__default["default"].createElement(Rating, _extends$9({
62630
+ return /*#__PURE__*/React__default["default"].createElement(Rating$1, _extends$9({
62588
62631
  averageRatingLabel: (cov_2lj2o2sww7().b[0][0]++, averageRatingLabel) || (cov_2lj2o2sww7().b[0][1]++, RATING_VALUES.AVERAGE.label),
62589
62632
  error: meta.touched ? (cov_2lj2o2sww7().b[1][0]++, meta.error) : (cov_2lj2o2sww7().b[1][1]++, ""),
62590
62633
  highestRatingLabel: (cov_2lj2o2sww7().b[2][0]++, highestRatingLabel) || (cov_2lj2o2sww7().b[2][1]++, RATING_VALUES.GOOD.label),
@@ -63383,6 +63426,7 @@ var StarRating = function StarRating(_ref2) {
63383
63426
  className: "neeto-form-engine-input__error"
63384
63427
  }, error)));
63385
63428
  };
63429
+ var StarRating$1 = /*#__PURE__*/React__default["default"].memo(StarRating);
63386
63430
 
63387
63431
  function cov_14fczoh42d() {
63388
63432
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/StarRatingField.jsx";
@@ -63574,7 +63618,7 @@ var StarRatingField = function StarRatingField(_ref) {
63574
63618
  field = _ref3.field;
63575
63619
  cov_14fczoh42d().f[1]++;
63576
63620
  cov_14fczoh42d().s[3]++;
63577
- return /*#__PURE__*/React__default["default"].createElement(StarRating, _extends$9({
63621
+ return /*#__PURE__*/React__default["default"].createElement(StarRating$1, _extends$9({
63578
63622
  count: count,
63579
63623
  error: meta.touched ? (cov_14fczoh42d().b[0][0]++, meta.error) : (cov_14fczoh42d().b[0][1]++, ""),
63580
63624
  label: getLabel$1(label, isRequired),
@@ -63738,7 +63782,7 @@ var Terms = function Terms(_ref, ref) {
63738
63782
  className: "neeto-form-engine-input__error"
63739
63783
  }, error)));
63740
63784
  };
63741
- var Terms$1 = /*#__PURE__*/React$2.forwardRef(Terms);
63785
+ var Terms$1 = /*#__PURE__*/React$2.memo( /*#__PURE__*/React$2.forwardRef(Terms));
63742
63786
 
63743
63787
  function cov_14h4eyw3wy() {
63744
63788
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/TermsField.jsx";
@@ -65094,6 +65138,7 @@ var Textarea = function Textarea(props) {
65094
65138
  className: "neeto-form-engine-input__error"
65095
65139
  }, error)));
65096
65140
  };
65141
+ var Textarea$1 = /*#__PURE__*/React__default["default"].memo(Textarea);
65097
65142
 
65098
65143
  function cov_h64dar2vv() {
65099
65144
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/TextField.jsx";
@@ -65460,7 +65505,7 @@ var TextField = function TextField(_ref) {
65460
65505
  _ref3$type = _ref3.type,
65461
65506
  type = _ref3$type === void 0 ? (cov_h64dar2vv().b[0][0]++, "text") : _ref3$type,
65462
65507
  otherProps = _ref3.otherProps;
65463
- var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, Textarea) : (cov_h64dar2vv().b[1][1]++, FormInput));
65508
+ var Component = (cov_h64dar2vv().s[3]++, kind === QUESTION_KIND.TEXTAREA.value ? (cov_h64dar2vv().b[1][0]++, Textarea$1) : (cov_h64dar2vv().b[1][1]++, FormInput));
65464
65509
  cov_h64dar2vv().s[4]++;
65465
65510
  return /*#__PURE__*/React__default["default"].createElement(formik.Field, {
65466
65511
  name: (cov_h64dar2vv().b[2][0]++, name) || (cov_h64dar2vv().b[2][1]++, nodeId),
@@ -65907,10 +65952,11 @@ var Success = function Success() {
65907
65952
  style: "h1"
65908
65953
  }, t("successPage.title2")));
65909
65954
  };
65955
+ var Success$1 = /*#__PURE__*/React__default["default"].memo(Success);
65910
65956
 
65911
65957
  function cov_2jkcclu7mz() {
65912
65958
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/index.jsx";
65913
- var hash = "515884cbc114300a42b3d6d09d62dd236c05a20d";
65959
+ var hash = "306fa6a0acfb642be1cbcbeef9eb9a705cee1876";
65914
65960
  var global = new Function("return this")();
65915
65961
  var gcv = "__coverage__";
65916
65962
  var coverageData = {
@@ -65922,7 +65968,7 @@ function cov_2jkcclu7mz() {
65922
65968
  column: 21
65923
65969
  },
65924
65970
  end: {
65925
- line: 346,
65971
+ line: 344,
65926
65972
  column: 1
65927
65973
  }
65928
65974
  },
@@ -66572,137 +66618,137 @@ function cov_2jkcclu7mz() {
66572
66618
  column: 2
66573
66619
  },
66574
66620
  end: {
66575
- line: 345,
66621
+ line: 343,
66576
66622
  column: 4
66577
66623
  }
66578
66624
  },
66579
66625
  "66": {
66580
66626
  start: {
66581
- line: 247,
66627
+ line: 245,
66582
66628
  column: 10
66583
66629
  },
66584
66630
  end: {
66585
- line: 341,
66631
+ line: 339,
66586
66632
  column: 23
66587
66633
  }
66588
66634
  },
66589
66635
  "67": {
66590
66636
  start: {
66591
- line: 261,
66637
+ line: 259,
66592
66638
  column: 16
66593
66639
  },
66594
66640
  end: {
66595
- line: 263,
66641
+ line: 261,
66596
66642
  column: 17
66597
66643
  }
66598
66644
  },
66599
66645
  "68": {
66600
66646
  start: {
66601
- line: 262,
66647
+ line: 260,
66602
66648
  column: 18
66603
66649
  },
66604
66650
  end: {
66605
- line: 262,
66651
+ line: 260,
66606
66652
  column: 51
66607
66653
  }
66608
66654
  },
66609
66655
  "69": {
66610
66656
  start: {
66611
- line: 267,
66657
+ line: 265,
66612
66658
  column: 16
66613
66659
  },
66614
66660
  end: {
66615
- line: 277,
66661
+ line: 275,
66616
66662
  column: 17
66617
66663
  }
66618
66664
  },
66619
66665
  "70": {
66620
66666
  start: {
66621
- line: 268,
66667
+ line: 266,
66622
66668
  column: 18
66623
66669
  },
66624
66670
  end: {
66625
- line: 268,
66671
+ line: 266,
66626
66672
  column: 62
66627
66673
  }
66628
66674
  },
66629
66675
  "71": {
66630
66676
  start: {
66631
- line: 269,
66677
+ line: 267,
66632
66678
  column: 18
66633
66679
  },
66634
66680
  end: {
66635
- line: 269,
66681
+ line: 267,
66636
66682
  column: 64
66637
66683
  }
66638
66684
  },
66639
66685
  "72": {
66640
66686
  start: {
66641
- line: 270,
66687
+ line: 268,
66642
66688
  column: 18
66643
66689
  },
66644
66690
  end: {
66645
- line: 276,
66691
+ line: 274,
66646
66692
  column: 22
66647
66693
  }
66648
66694
  },
66649
66695
  "73": {
66650
66696
  start: {
66651
- line: 278,
66697
+ line: 276,
66652
66698
  column: 16
66653
66699
  },
66654
66700
  end: {
66655
- line: 278,
66701
+ line: 276,
66656
66702
  column: 31
66657
66703
  }
66658
66704
  },
66659
66705
  "74": {
66660
66706
  start: {
66661
- line: 279,
66707
+ line: 277,
66662
66708
  column: 16
66663
66709
  },
66664
66710
  end: {
66665
- line: 279,
66711
+ line: 277,
66666
66712
  column: 43
66667
66713
  }
66668
66714
  },
66669
66715
  "75": {
66670
66716
  start: {
66671
- line: 288,
66717
+ line: 286,
66672
66718
  column: 39
66673
66719
  },
66674
66720
  end: {
66675
- line: 288,
66721
+ line: 286,
66676
66722
  column: 66
66677
66723
  }
66678
66724
  },
66679
66725
  "76": {
66680
66726
  start: {
66681
- line: 290,
66727
+ line: 288,
66682
66728
  column: 16
66683
66729
  },
66684
66730
  end: {
66685
- line: 298,
66731
+ line: 296,
66686
66732
  column: 18
66687
66733
  }
66688
66734
  },
66689
66735
  "77": {
66690
66736
  start: {
66691
- line: 338,
66737
+ line: 336,
66692
66738
  column: 31
66693
66739
  },
66694
66740
  end: {
66695
- line: 338,
66741
+ line: 336,
66696
66742
  column: 45
66697
66743
  }
66698
66744
  },
66699
66745
  "78": {
66700
66746
  start: {
66701
- line: 348,
66747
+ line: 346,
66702
66748
  column: 0
66703
66749
  },
66704
66750
  end: {
66705
- line: 365,
66751
+ line: 363,
66706
66752
  column: 2
66707
66753
  }
66708
66754
  }
@@ -66726,7 +66772,7 @@ function cov_2jkcclu7mz() {
66726
66772
  column: 6
66727
66773
  },
66728
66774
  end: {
66729
- line: 346,
66775
+ line: 344,
66730
66776
  column: 1
66731
66777
  }
66732
66778
  },
@@ -66952,121 +66998,121 @@ function cov_2jkcclu7mz() {
66952
66998
  name: "(anonymous_10)",
66953
66999
  decl: {
66954
67000
  start: {
66955
- line: 246,
67001
+ line: 244,
66956
67002
  column: 9
66957
67003
  },
66958
67004
  end: {
66959
- line: 246,
67005
+ line: 244,
66960
67006
  column: 10
66961
67007
  }
66962
67008
  },
66963
67009
  loc: {
66964
67010
  start: {
66965
- line: 247,
67011
+ line: 245,
66966
67012
  column: 10
66967
67013
  },
66968
67014
  end: {
66969
- line: 341,
67015
+ line: 339,
66970
67016
  column: 23
66971
67017
  }
66972
67018
  },
66973
- line: 247
67019
+ line: 245
66974
67020
  },
66975
67021
  "11": {
66976
67022
  name: "(anonymous_11)",
66977
67023
  decl: {
66978
67024
  start: {
66979
- line: 260,
67025
+ line: 258,
66980
67026
  column: 24
66981
67027
  },
66982
67028
  end: {
66983
- line: 260,
67029
+ line: 258,
66984
67030
  column: 25
66985
67031
  }
66986
67032
  },
66987
67033
  loc: {
66988
67034
  start: {
66989
- line: 260,
67035
+ line: 258,
66990
67036
  column: 33
66991
67037
  },
66992
67038
  end: {
66993
- line: 264,
67039
+ line: 262,
66994
67040
  column: 15
66995
67041
  }
66996
67042
  },
66997
- line: 260
67043
+ line: 258
66998
67044
  },
66999
67045
  "12": {
67000
67046
  name: "(anonymous_12)",
67001
67047
  decl: {
67002
67048
  start: {
67003
- line: 266,
67049
+ line: 264,
67004
67050
  column: 23
67005
67051
  },
67006
67052
  end: {
67007
- line: 266,
67053
+ line: 264,
67008
67054
  column: 24
67009
67055
  }
67010
67056
  },
67011
67057
  loc: {
67012
67058
  start: {
67013
- line: 266,
67059
+ line: 264,
67014
67060
  column: 28
67015
67061
  },
67016
67062
  end: {
67017
- line: 280,
67063
+ line: 278,
67018
67064
  column: 15
67019
67065
  }
67020
67066
  },
67021
- line: 266
67067
+ line: 264
67022
67068
  },
67023
67069
  "13": {
67024
67070
  name: "(anonymous_13)",
67025
67071
  decl: {
67026
67072
  start: {
67027
- line: 287,
67073
+ line: 285,
67028
67074
  column: 37
67029
67075
  },
67030
67076
  end: {
67031
- line: 287,
67077
+ line: 285,
67032
67078
  column: 38
67033
67079
  }
67034
67080
  },
67035
67081
  loc: {
67036
67082
  start: {
67037
- line: 287,
67083
+ line: 285,
67038
67084
  column: 49
67039
67085
  },
67040
67086
  end: {
67041
- line: 299,
67087
+ line: 297,
67042
67088
  column: 15
67043
67089
  }
67044
67090
  },
67045
- line: 287
67091
+ line: 285
67046
67092
  },
67047
67093
  "14": {
67048
67094
  name: "(anonymous_14)",
67049
67095
  decl: {
67050
67096
  start: {
67051
- line: 338,
67097
+ line: 336,
67052
67098
  column: 25
67053
67099
  },
67054
67100
  end: {
67055
- line: 338,
67101
+ line: 336,
67056
67102
  column: 26
67057
67103
  }
67058
67104
  },
67059
67105
  loc: {
67060
67106
  start: {
67061
- line: 338,
67107
+ line: 336,
67062
67108
  column: 31
67063
67109
  },
67064
67110
  end: {
67065
- line: 338,
67111
+ line: 336,
67066
67112
  column: 45
67067
67113
  }
67068
67114
  },
67069
- line: 338
67115
+ line: 336
67070
67116
  }
67071
67117
  },
67072
67118
  branchMap: {
@@ -68039,55 +68085,55 @@ function cov_2jkcclu7mz() {
68039
68085
  "32": {
68040
68086
  loc: {
68041
68087
  start: {
68042
- line: 242,
68088
+ line: 240,
68043
68089
  column: 10
68044
68090
  },
68045
68091
  end: {
68046
- line: 242,
68092
+ line: 240,
68047
68093
  column: 54
68048
68094
  }
68049
68095
  },
68050
68096
  type: "cond-expr",
68051
68097
  locations: [{
68052
68098
  start: {
68053
- line: 242,
68099
+ line: 240,
68054
68100
  column: 27
68055
68101
  },
68056
68102
  end: {
68057
- line: 242,
68103
+ line: 240,
68058
68104
  column: 38
68059
68105
  }
68060
68106
  }, {
68061
68107
  start: {
68062
- line: 242,
68108
+ line: 240,
68063
68109
  column: 41
68064
68110
  },
68065
68111
  end: {
68066
- line: 242,
68112
+ line: 240,
68067
68113
  column: 54
68068
68114
  }
68069
68115
  }],
68070
- line: 242
68116
+ line: 240
68071
68117
  },
68072
68118
  "33": {
68073
68119
  loc: {
68074
68120
  start: {
68075
- line: 261,
68121
+ line: 259,
68076
68122
  column: 16
68077
68123
  },
68078
68124
  end: {
68079
- line: 263,
68125
+ line: 261,
68080
68126
  column: 17
68081
68127
  }
68082
68128
  },
68083
68129
  type: "if",
68084
68130
  locations: [{
68085
68131
  start: {
68086
- line: 261,
68132
+ line: 259,
68087
68133
  column: 16
68088
68134
  },
68089
68135
  end: {
68090
- line: 263,
68136
+ line: 261,
68091
68137
  column: 17
68092
68138
  }
68093
68139
  }, {
@@ -68100,27 +68146,27 @@ function cov_2jkcclu7mz() {
68100
68146
  column: undefined
68101
68147
  }
68102
68148
  }],
68103
- line: 261
68149
+ line: 259
68104
68150
  },
68105
68151
  "34": {
68106
68152
  loc: {
68107
68153
  start: {
68108
- line: 267,
68154
+ line: 265,
68109
68155
  column: 16
68110
68156
  },
68111
68157
  end: {
68112
- line: 277,
68158
+ line: 275,
68113
68159
  column: 17
68114
68160
  }
68115
68161
  },
68116
68162
  type: "if",
68117
68163
  locations: [{
68118
68164
  start: {
68119
- line: 267,
68165
+ line: 265,
68120
68166
  column: 16
68121
68167
  },
68122
68168
  end: {
68123
- line: 277,
68169
+ line: 275,
68124
68170
  column: 17
68125
68171
  }
68126
68172
  }, {
@@ -68133,313 +68179,313 @@ function cov_2jkcclu7mz() {
68133
68179
  column: undefined
68134
68180
  }
68135
68181
  }],
68136
- line: 267
68182
+ line: 265
68137
68183
  },
68138
68184
  "35": {
68139
68185
  loc: {
68140
68186
  start: {
68141
- line: 270,
68187
+ line: 268,
68142
68188
  column: 18
68143
68189
  },
68144
68190
  end: {
68145
- line: 276,
68191
+ line: 274,
68146
68192
  column: 21
68147
68193
  }
68148
68194
  },
68149
68195
  type: "binary-expr",
68150
68196
  locations: [{
68151
68197
  start: {
68152
- line: 270,
68198
+ line: 268,
68153
68199
  column: 18
68154
68200
  },
68155
68201
  end: {
68156
- line: 270,
68202
+ line: 268,
68157
68203
  column: 30
68158
68204
  }
68159
68205
  }, {
68160
68206
  start: {
68161
- line: 271,
68207
+ line: 269,
68162
68208
  column: 20
68163
68209
  },
68164
68210
  end: {
68165
- line: 276,
68211
+ line: 274,
68166
68212
  column: 21
68167
68213
  }
68168
68214
  }],
68169
- line: 270
68215
+ line: 268
68170
68216
  },
68171
68217
  "36": {
68172
68218
  loc: {
68173
68219
  start: {
68174
- line: 282,
68220
+ line: 280,
68175
68221
  column: 15
68176
68222
  },
68177
68223
  end: {
68178
- line: 286,
68224
+ line: 284,
68179
68225
  column: 15
68180
68226
  }
68181
68227
  },
68182
68228
  type: "binary-expr",
68183
68229
  locations: [{
68184
68230
  start: {
68185
- line: 282,
68231
+ line: 280,
68186
68232
  column: 15
68187
68233
  },
68188
68234
  end: {
68189
- line: 282,
68235
+ line: 280,
68190
68236
  column: 36
68191
68237
  }
68192
68238
  }, {
68193
68239
  start: {
68194
- line: 283,
68240
+ line: 281,
68195
68241
  column: 16
68196
68242
  },
68197
68243
  end: {
68198
- line: 285,
68244
+ line: 283,
68199
68245
  column: 22
68200
68246
  }
68201
68247
  }],
68202
- line: 282
68248
+ line: 280
68203
68249
  },
68204
68250
  "37": {
68205
68251
  loc: {
68206
68252
  start: {
68207
- line: 294,
68253
+ line: 292,
68208
68254
  column: 25
68209
68255
  },
68210
68256
  end: {
68211
- line: 294,
68257
+ line: 292,
68212
68258
  column: 55
68213
68259
  }
68214
68260
  },
68215
68261
  type: "binary-expr",
68216
68262
  locations: [{
68217
68263
  start: {
68218
- line: 294,
68264
+ line: 292,
68219
68265
  column: 25
68220
68266
  },
68221
68267
  end: {
68222
- line: 294,
68268
+ line: 292,
68223
68269
  column: 36
68224
68270
  }
68225
68271
  }, {
68226
68272
  start: {
68227
- line: 294,
68273
+ line: 292,
68228
68274
  column: 40
68229
68275
  },
68230
68276
  end: {
68231
- line: 294,
68277
+ line: 292,
68232
68278
  column: 55
68233
68279
  }
68234
68280
  }],
68235
- line: 294
68281
+ line: 292
68236
68282
  },
68237
68283
  "38": {
68238
68284
  loc: {
68239
68285
  start: {
68240
- line: 300,
68286
+ line: 298,
68241
68287
  column: 15
68242
68288
  },
68243
68289
  end: {
68244
- line: 307,
68290
+ line: 305,
68245
68291
  column: 15
68246
68292
  }
68247
68293
  },
68248
68294
  type: "binary-expr",
68249
68295
  locations: [{
68250
68296
  start: {
68251
- line: 300,
68297
+ line: 298,
68252
68298
  column: 15
68253
68299
  },
68254
68300
  end: {
68255
- line: 300,
68301
+ line: 298,
68256
68302
  column: 29
68257
68303
  }
68258
68304
  }, {
68259
68305
  start: {
68260
- line: 300,
68306
+ line: 298,
68261
68307
  column: 33
68262
68308
  },
68263
68309
  end: {
68264
- line: 300,
68310
+ line: 298,
68265
68311
  column: 59
68266
68312
  }
68267
68313
  }, {
68268
68314
  start: {
68269
- line: 301,
68315
+ line: 299,
68270
68316
  column: 16
68271
68317
  },
68272
68318
  end: {
68273
- line: 306,
68319
+ line: 304,
68274
68320
  column: 22
68275
68321
  }
68276
68322
  }],
68277
- line: 300
68323
+ line: 298
68278
68324
  },
68279
68325
  "39": {
68280
68326
  loc: {
68281
68327
  start: {
68282
- line: 309,
68328
+ line: 307,
68283
68329
  column: 15
68284
68330
  },
68285
68331
  end: {
68286
- line: 329,
68332
+ line: 327,
68287
68333
  column: 15
68288
68334
  }
68289
68335
  },
68290
68336
  type: "binary-expr",
68291
68337
  locations: [{
68292
68338
  start: {
68293
- line: 309,
68339
+ line: 307,
68294
68340
  column: 15
68295
68341
  },
68296
68342
  end: {
68297
- line: 309,
68343
+ line: 307,
68298
68344
  column: 42
68299
68345
  }
68300
68346
  }, {
68301
68347
  start: {
68302
- line: 310,
68348
+ line: 308,
68303
68349
  column: 16
68304
68350
  },
68305
68351
  end: {
68306
- line: 328,
68352
+ line: 326,
68307
68353
  column: 22
68308
68354
  }
68309
68355
  }],
68310
- line: 309
68356
+ line: 307
68311
68357
  },
68312
68358
  "40": {
68313
68359
  loc: {
68314
68360
  start: {
68315
- line: 312,
68361
+ line: 310,
68316
68362
  column: 30
68317
68363
  },
68318
68364
  end: {
68319
- line: 312,
68365
+ line: 310,
68320
68366
  column: 57
68321
68367
  }
68322
68368
  },
68323
68369
  type: "binary-expr",
68324
68370
  locations: [{
68325
68371
  start: {
68326
- line: 312,
68372
+ line: 310,
68327
68373
  column: 30
68328
68374
  },
68329
68375
  end: {
68330
- line: 312,
68376
+ line: 310,
68331
68377
  column: 42
68332
68378
  }
68333
68379
  }, {
68334
68380
  start: {
68335
- line: 312,
68381
+ line: 310,
68336
68382
  column: 46
68337
68383
  },
68338
68384
  end: {
68339
- line: 312,
68385
+ line: 310,
68340
68386
  column: 57
68341
68387
  }
68342
68388
  }],
68343
- line: 312
68389
+ line: 310
68344
68390
  },
68345
68391
  "41": {
68346
68392
  loc: {
68347
68393
  start: {
68348
- line: 317,
68394
+ line: 315,
68349
68395
  column: 19
68350
68396
  },
68351
68397
  end: {
68352
- line: 324,
68398
+ line: 322,
68353
68399
  column: 19
68354
68400
  }
68355
68401
  },
68356
68402
  type: "binary-expr",
68357
68403
  locations: [{
68358
68404
  start: {
68359
- line: 317,
68405
+ line: 315,
68360
68406
  column: 19
68361
68407
  },
68362
68408
  end: {
68363
- line: 317,
68409
+ line: 315,
68364
68410
  column: 35
68365
68411
  }
68366
68412
  }, {
68367
68413
  start: {
68368
- line: 318,
68414
+ line: 316,
68369
68415
  column: 20
68370
68416
  },
68371
68417
  end: {
68372
- line: 323,
68418
+ line: 321,
68373
68419
  column: 22
68374
68420
  }
68375
68421
  }],
68376
- line: 317
68422
+ line: 315
68377
68423
  },
68378
68424
  "42": {
68379
68425
  loc: {
68380
68426
  start: {
68381
- line: 325,
68427
+ line: 323,
68382
68428
  column: 19
68383
68429
  },
68384
68430
  end: {
68385
- line: 327,
68431
+ line: 325,
68386
68432
  column: 19
68387
68433
  }
68388
68434
  },
68389
68435
  type: "binary-expr",
68390
68436
  locations: [{
68391
68437
  start: {
68392
- line: 325,
68438
+ line: 323,
68393
68439
  column: 19
68394
68440
  },
68395
68441
  end: {
68396
- line: 325,
68442
+ line: 323,
68397
68443
  column: 36
68398
68444
  }
68399
68445
  }, {
68400
68446
  start: {
68401
- line: 326,
68447
+ line: 324,
68402
68448
  column: 20
68403
68449
  },
68404
68450
  end: {
68405
- line: 326,
68451
+ line: 324,
68406
68452
  column: 68
68407
68453
  }
68408
68454
  }],
68409
- line: 325
68455
+ line: 323
68410
68456
  },
68411
68457
  "43": {
68412
68458
  loc: {
68413
68459
  start: {
68414
- line: 331,
68460
+ line: 329,
68415
68461
  column: 13
68416
68462
  },
68417
68463
  end: {
68418
- line: 340,
68464
+ line: 338,
68419
68465
  column: 13
68420
68466
  }
68421
68467
  },
68422
68468
  type: "binary-expr",
68423
68469
  locations: [{
68424
68470
  start: {
68425
- line: 331,
68471
+ line: 329,
68426
68472
  column: 13
68427
68473
  },
68428
68474
  end: {
68429
- line: 331,
68475
+ line: 329,
68430
68476
  column: 33
68431
68477
  }
68432
68478
  }, {
68433
68479
  start: {
68434
- line: 332,
68480
+ line: 330,
68435
68481
  column: 14
68436
68482
  },
68437
68483
  end: {
68438
- line: 339,
68484
+ line: 337,
68439
68485
  column: 16
68440
68486
  }
68441
68487
  }],
68442
- line: 331
68488
+ line: 329
68443
68489
  }
68444
68490
  },
68445
68491
  s: {
@@ -68587,7 +68633,7 @@ function cov_2jkcclu7mz() {
68587
68633
  "43": [0, 0]
68588
68634
  },
68589
68635
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
68590
- hash: "515884cbc114300a42b3d6d09d62dd236c05a20d"
68636
+ hash: "306fa6a0acfb642be1cbcbeef9eb9a705cee1876"
68591
68637
  };
68592
68638
  var coverage = global[gcv] || (global[gcv] = {});
68593
68639
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -68961,7 +69007,7 @@ var ExternalForm = function ExternalForm(_ref) {
68961
69007
  if ((cov_2jkcclu7mz().b[29][0]++, displayThankYou) && (cov_2jkcclu7mz().b[29][1]++, showSuccess)) {
68962
69008
  cov_2jkcclu7mz().b[28][0]++;
68963
69009
  cov_2jkcclu7mz().s[64]++;
68964
- return /*#__PURE__*/React__default["default"].createElement(Success, null);
69010
+ return /*#__PURE__*/React__default["default"].createElement(Success$1, null);
68965
69011
  } else {
68966
69012
  cov_2jkcclu7mz().b[28][1]++;
68967
69013
  }
@@ -68974,8 +69020,6 @@ var ExternalForm = function ExternalForm(_ref) {
68974
69020
  weight: "semibold"
68975
69021
  }, titleProps), (cov_2jkcclu7mz().b[31][0]++, formTitle) || (cov_2jkcclu7mz().b[31][1]++, title)))), /*#__PURE__*/React__default["default"].createElement(formik.Formik, {
68976
69022
  enableReinitialize: true,
68977
- validateOnBlur: false,
68978
- validateOnChange: false,
68979
69023
  initialValues: generateInitValues(questions, submission === null || submission === void 0 ? void 0 : submission.responses, preserveValues ? (cov_2jkcclu7mz().b[32][0]++, localValues) : (cov_2jkcclu7mz().b[32][1]++, initialValues)),
68980
69024
  onSubmit: onSubmit
68981
69025
  }, function (_ref19) {