@bigbinary/neeto-form-frontend 1.1.10 → 1.1.12

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
@@ -49648,7 +49648,7 @@ var RatingField = function RatingField(_ref) {
49648
49648
 
49649
49649
  function cov_169joloac6() {
49650
49650
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/Fields/RichTextEditor.jsx";
49651
- var hash = "53fd3688aa83451f7f39b66ea40c7dfe6344a2f5";
49651
+ var hash = "6ba7fc3833833f3e5a9b53ad73dcbbb33833852b";
49652
49652
  var global = new Function("return this")();
49653
49653
  var gcv = "__coverage__";
49654
49654
  var coverageData = {
@@ -49660,7 +49660,7 @@ function cov_169joloac6() {
49660
49660
  column: 23
49661
49661
  },
49662
49662
  end: {
49663
- line: 45,
49663
+ line: 46,
49664
49664
  column: 1
49665
49665
  }
49666
49666
  },
@@ -49680,7 +49680,7 @@ function cov_169joloac6() {
49680
49680
  column: 2
49681
49681
  },
49682
49682
  end: {
49683
- line: 44,
49683
+ line: 45,
49684
49684
  column: 4
49685
49685
  }
49686
49686
  },
@@ -49690,27 +49690,27 @@ function cov_169joloac6() {
49690
49690
  column: 10
49691
49691
  },
49692
49692
  end: {
49693
- line: 40,
49693
+ line: 41,
49694
49694
  column: 12
49695
49695
  }
49696
49696
  },
49697
49697
  "4": {
49698
49698
  start: {
49699
- line: 37,
49699
+ line: 38,
49700
49700
  column: 26
49701
49701
  },
49702
49702
  end: {
49703
- line: 37,
49703
+ line: 38,
49704
49704
  column: 58
49705
49705
  }
49706
49706
  },
49707
49707
  "5": {
49708
49708
  start: {
49709
- line: 38,
49709
+ line: 39,
49710
49710
  column: 31
49711
49711
  },
49712
49712
  end: {
49713
- line: 38,
49713
+ line: 39,
49714
49714
  column: 62
49715
49715
  }
49716
49716
  }
@@ -49731,10 +49731,10 @@ function cov_169joloac6() {
49731
49731
  loc: {
49732
49732
  start: {
49733
49733
  line: 9,
49734
- column: 59
49734
+ column: 70
49735
49735
  },
49736
49736
  end: {
49737
- line: 45,
49737
+ line: 46,
49738
49738
  column: 1
49739
49739
  }
49740
49740
  },
@@ -49758,7 +49758,7 @@ function cov_169joloac6() {
49758
49758
  column: 10
49759
49759
  },
49760
49760
  end: {
49761
- line: 40,
49761
+ line: 41,
49762
49762
  column: 12
49763
49763
  }
49764
49764
  },
@@ -49768,49 +49768,49 @@ function cov_169joloac6() {
49768
49768
  name: "(anonymous_2)",
49769
49769
  decl: {
49770
49770
  start: {
49771
- line: 37,
49771
+ line: 38,
49772
49772
  column: 20
49773
49773
  },
49774
49774
  end: {
49775
- line: 37,
49775
+ line: 38,
49776
49776
  column: 21
49777
49777
  }
49778
49778
  },
49779
49779
  loc: {
49780
49780
  start: {
49781
- line: 37,
49781
+ line: 38,
49782
49782
  column: 26
49783
49783
  },
49784
49784
  end: {
49785
- line: 37,
49785
+ line: 38,
49786
49786
  column: 58
49787
49787
  }
49788
49788
  },
49789
- line: 37
49789
+ line: 38
49790
49790
  },
49791
49791
  "3": {
49792
49792
  name: "(anonymous_3)",
49793
49793
  decl: {
49794
49794
  start: {
49795
- line: 38,
49795
+ line: 39,
49796
49796
  column: 22
49797
49797
  },
49798
49798
  end: {
49799
- line: 38,
49799
+ line: 39,
49800
49800
  column: 23
49801
49801
  }
49802
49802
  },
49803
49803
  loc: {
49804
49804
  start: {
49805
- line: 38,
49805
+ line: 39,
49806
49806
  column: 31
49807
49807
  },
49808
49808
  end: {
49809
- line: 38,
49809
+ line: 39,
49810
49810
  column: 62
49811
49811
  }
49812
49812
  },
49813
- line: 38
49813
+ line: 39
49814
49814
  }
49815
49815
  },
49816
49816
  branchMap: {
@@ -49818,22 +49818,22 @@ function cov_169joloac6() {
49818
49818
  loc: {
49819
49819
  start: {
49820
49820
  line: 9,
49821
- column: 36
49821
+ column: 47
49822
49822
  },
49823
49823
  end: {
49824
49824
  line: 9,
49825
- column: 52
49825
+ column: 63
49826
49826
  }
49827
49827
  },
49828
49828
  type: "default-arg",
49829
49829
  locations: [{
49830
49830
  start: {
49831
49831
  line: 9,
49832
- column: 50
49832
+ column: 61
49833
49833
  },
49834
49834
  end: {
49835
49835
  line: 9,
49836
- column: 52
49836
+ column: 63
49837
49837
  }
49838
49838
  }],
49839
49839
  line: 9
@@ -49959,7 +49959,7 @@ function cov_169joloac6() {
49959
49959
  "3": [0, 0]
49960
49960
  },
49961
49961
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
49962
- hash: "53fd3688aa83451f7f39b66ea40c7dfe6344a2f5"
49962
+ hash: "6ba7fc3833833f3e5a9b53ad73dcbbb33833852b"
49963
49963
  };
49964
49964
  var coverage = global[gcv] || (global[gcv] = {});
49965
49965
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -49977,7 +49977,8 @@ function cov_169joloac6() {
49977
49977
  cov_169joloac6();
49978
49978
  cov_169joloac6().s[0]++;
49979
49979
  var RichTextEditor = function RichTextEditor(_ref) {
49980
- var question = _ref.question,
49980
+ var editorRef = _ref.editorRef,
49981
+ question = _ref.question,
49981
49982
  _ref$editorProps = _ref.editorProps,
49982
49983
  editorProps = _ref$editorProps === void 0 ? (cov_169joloac6().b[0][0]++, {}) : _ref$editorProps;
49983
49984
  cov_169joloac6().f[0]++;
@@ -50013,6 +50014,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
50013
50014
  error: meta.touched ? (cov_169joloac6().b[3][0]++, meta.error) : (cov_169joloac6().b[3][1]++, ""),
50014
50015
  initialValue: field.value,
50015
50016
  placeholder: placeholder,
50017
+ ref: editorRef,
50016
50018
  addons: ["attachments", "block-quote", "code-block", "image-upload"],
50017
50019
  onBlur: function onBlur() {
50018
50020
  cov_169joloac6().f[2]++;
@@ -51846,7 +51848,7 @@ var Success$1 = /*#__PURE__*/React__default["default"].memo(Success);
51846
51848
 
51847
51849
  function cov_2jkcclu7mz() {
51848
51850
  var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/ExternalForm/index.jsx";
51849
- var hash = "51bd1ad954b6360a0539e2d9c1f4e4c2acb8e797";
51851
+ var hash = "d9ee2f22455f43dadbd75a28c98de235b66d5bf6";
51850
51852
  var global = new Function("return this")();
51851
51853
  var gcv = "__coverage__";
51852
51854
  var coverageData = {
@@ -51858,7 +51860,7 @@ function cov_2jkcclu7mz() {
51858
51860
  column: 21
51859
51861
  },
51860
51862
  end: {
51861
- line: 336,
51863
+ line: 341,
51862
51864
  column: 1
51863
51865
  }
51864
51866
  },
@@ -51934,172 +51936,172 @@ function cov_2jkcclu7mz() {
51934
51936
  },
51935
51937
  "8": {
51936
51938
  start: {
51937
- line: 71,
51938
- column: 22
51939
+ line: 70,
51940
+ column: 20
51939
51941
  },
51940
51942
  end: {
51941
- line: 71,
51942
- column: 38
51943
+ line: 70,
51944
+ column: 28
51943
51945
  }
51944
51946
  },
51945
51947
  "9": {
51946
51948
  start: {
51947
- line: 73,
51948
- column: 16
51949
+ line: 72,
51950
+ column: 22
51949
51951
  },
51950
51952
  end: {
51951
- line: 73,
51952
- column: 32
51953
+ line: 72,
51954
+ column: 38
51953
51955
  }
51954
51956
  },
51955
51957
  "10": {
51956
51958
  start: {
51957
- line: 75,
51958
- column: 2
51959
+ line: 74,
51960
+ column: 16
51959
51961
  },
51960
51962
  end: {
51961
- line: 77,
51962
- column: 15
51963
+ line: 74,
51964
+ column: 32
51963
51965
  }
51964
51966
  },
51965
51967
  "11": {
51966
51968
  start: {
51967
51969
  line: 76,
51968
- column: 4
51970
+ column: 2
51969
51971
  },
51970
51972
  end: {
51971
- line: 76,
51972
- column: 54
51973
+ line: 78,
51974
+ column: 15
51973
51975
  }
51974
51976
  },
51975
51977
  "12": {
51976
51978
  start: {
51977
- line: 79,
51978
- column: 44
51979
+ line: 77,
51980
+ column: 4
51979
51981
  },
51980
51982
  end: {
51981
- line: 81,
51982
- column: 4
51983
+ line: 77,
51984
+ column: 54
51983
51985
  }
51984
51986
  },
51985
51987
  "13": {
51986
51988
  start: {
51987
- line: 83,
51989
+ line: 80,
51988
51990
  column: 44
51989
51991
  },
51990
51992
  end: {
51991
- line: 85,
51993
+ line: 82,
51992
51994
  column: 4
51993
51995
  }
51994
51996
  },
51995
51997
  "14": {
51996
51998
  start: {
51997
- line: 87,
51998
- column: 31
51999
+ line: 84,
52000
+ column: 44
51999
52001
  },
52000
52002
  end: {
52001
- line: 92,
52003
+ line: 86,
52002
52004
  column: 4
52003
52005
  }
52004
52006
  },
52005
52007
  "15": {
52006
52008
  start: {
52007
- line: 94,
52009
+ line: 88,
52008
52010
  column: 31
52009
52011
  },
52010
52012
  end: {
52011
- line: 95,
52012
- column: 47
52013
+ line: 93,
52014
+ column: 4
52013
52015
  }
52014
52016
  },
52015
52017
  "16": {
52016
52018
  start: {
52017
52019
  line: 95,
52018
- column: 4
52020
+ column: 31
52019
52021
  },
52020
52022
  end: {
52021
- line: 95,
52023
+ line: 96,
52022
52024
  column: 47
52023
52025
  }
52024
52026
  },
52025
52027
  "17": {
52026
52028
  start: {
52027
- line: 97,
52028
- column: 19
52029
+ line: 96,
52030
+ column: 4
52029
52031
  },
52030
52032
  end: {
52031
- line: 163,
52032
- column: 3
52033
+ line: 96,
52034
+ column: 47
52033
52035
  }
52034
52036
  },
52035
52037
  "18": {
52036
52038
  start: {
52037
52039
  line: 98,
52038
- column: 4
52040
+ column: 19
52039
52041
  },
52040
52042
  end: {
52041
- line: 98,
52042
- column: 19
52043
+ line: 164,
52044
+ column: 3
52043
52045
  }
52044
52046
  },
52045
52047
  "19": {
52046
52048
  start: {
52047
52049
  line: 99,
52048
- column: 20
52050
+ column: 4
52049
52051
  },
52050
52052
  end: {
52051
52053
  line: 99,
52052
- column: 59
52054
+ column: 19
52053
52055
  }
52054
52056
  },
52055
52057
  "20": {
52056
52058
  start: {
52057
52059
  line: 100,
52058
- column: 4
52060
+ column: 20
52059
52061
  },
52060
52062
  end: {
52061
- line: 162,
52062
- column: 5
52063
+ line: 100,
52064
+ column: 59
52063
52065
  }
52064
52066
  },
52065
52067
  "21": {
52066
52068
  start: {
52067
52069
  line: 101,
52068
- column: 6
52070
+ column: 4
52069
52071
  },
52070
52072
  end: {
52071
- line: 155,
52072
- column: 7
52073
+ line: 163,
52074
+ column: 5
52073
52075
  }
52074
52076
  },
52075
52077
  "22": {
52076
52078
  start: {
52077
52079
  line: 102,
52078
- column: 8
52080
+ column: 6
52079
52081
  },
52080
52082
  end: {
52081
- line: 108,
52082
- column: 10
52083
+ line: 156,
52084
+ column: 7
52083
52085
  }
52084
52086
  },
52085
52087
  "23": {
52086
52088
  start: {
52087
52089
  line: 103,
52088
- column: 10
52090
+ column: 8
52089
52091
  },
52090
52092
  end: {
52091
- line: 107,
52092
- column: 18
52093
+ line: 109,
52094
+ column: 10
52093
52095
  }
52094
52096
  },
52095
52097
  "24": {
52096
52098
  start: {
52097
52099
  line: 104,
52098
- column: 12
52100
+ column: 10
52099
52101
  },
52100
52102
  end: {
52101
- line: 104,
52102
- column: 22
52103
+ line: 108,
52104
+ column: 18
52103
52105
  }
52104
52106
  },
52105
52107
  "25": {
@@ -52109,7 +52111,7 @@ function cov_2jkcclu7mz() {
52109
52111
  },
52110
52112
  end: {
52111
52113
  line: 105,
52112
- column: 33
52114
+ column: 22
52113
52115
  }
52114
52116
  },
52115
52117
  "26": {
@@ -52119,137 +52121,137 @@ function cov_2jkcclu7mz() {
52119
52121
  },
52120
52122
  end: {
52121
52123
  line: 106,
52122
- column: 57
52124
+ column: 33
52123
52125
  }
52124
52126
  },
52125
52127
  "27": {
52126
52128
  start: {
52127
- line: 106,
52128
- column: 29
52129
+ line: 107,
52130
+ column: 12
52129
52131
  },
52130
52132
  end: {
52131
- line: 106,
52132
- column: 49
52133
+ line: 107,
52134
+ column: 57
52133
52135
  }
52134
52136
  },
52135
52137
  "28": {
52136
52138
  start: {
52137
- line: 110,
52138
- column: 8
52139
+ line: 107,
52140
+ column: 29
52139
52141
  },
52140
52142
  end: {
52141
- line: 115,
52142
- column: 9
52143
+ line: 107,
52144
+ column: 49
52143
52145
  }
52144
52146
  },
52145
52147
  "29": {
52146
52148
  start: {
52147
52149
  line: 111,
52148
- column: 31
52150
+ column: 8
52149
52151
  },
52150
52152
  end: {
52151
- line: 111,
52152
- column: 70
52153
+ line: 116,
52154
+ column: 9
52153
52155
  }
52154
52156
  },
52155
52157
  "30": {
52156
52158
  start: {
52157
52159
  line: 112,
52158
- column: 10
52160
+ column: 31
52159
52161
  },
52160
52162
  end: {
52161
- line: 114,
52162
- column: 11
52163
+ line: 112,
52164
+ column: 70
52163
52165
  }
52164
52166
  },
52165
52167
  "31": {
52166
52168
  start: {
52167
52169
  line: 113,
52168
- column: 12
52170
+ column: 10
52169
52171
  },
52170
52172
  end: {
52171
- line: 113,
52172
- column: 37
52173
+ line: 115,
52174
+ column: 11
52173
52175
  }
52174
52176
  },
52175
52177
  "32": {
52176
52178
  start: {
52177
- line: 117,
52178
- column: 8
52179
+ line: 114,
52180
+ column: 12
52179
52181
  },
52180
52182
  end: {
52181
- line: 145,
52182
- column: 9
52183
+ line: 114,
52184
+ column: 37
52183
52185
  }
52184
52186
  },
52185
52187
  "33": {
52186
52188
  start: {
52187
52189
  line: 118,
52188
- column: 10
52190
+ column: 8
52189
52191
  },
52190
52192
  end: {
52191
- line: 121,
52192
- column: 12
52193
+ line: 146,
52194
+ column: 9
52193
52195
  }
52194
52196
  },
52195
52197
  "34": {
52196
52198
  start: {
52197
- line: 123,
52199
+ line: 119,
52198
52200
  column: 10
52199
52201
  },
52200
52202
  end: {
52201
- line: 127,
52202
- column: 13
52203
+ line: 122,
52204
+ column: 12
52203
52205
  }
52204
52206
  },
52205
52207
  "35": {
52206
52208
  start: {
52207
- line: 129,
52209
+ line: 124,
52208
52210
  column: 10
52209
52211
  },
52210
52212
  end: {
52211
- line: 144,
52212
- column: 11
52213
+ line: 128,
52214
+ column: 13
52213
52215
  }
52214
52216
  },
52215
52217
  "36": {
52216
52218
  start: {
52217
52219
  line: 130,
52218
- column: 12
52220
+ column: 10
52219
52221
  },
52220
52222
  end: {
52221
- line: 135,
52222
- column: 15
52223
+ line: 145,
52224
+ column: 11
52223
52225
  }
52224
52226
  },
52225
52227
  "37": {
52226
52228
  start: {
52227
- line: 137,
52229
+ line: 131,
52228
52230
  column: 12
52229
52231
  },
52230
52232
  end: {
52231
- line: 143,
52233
+ line: 136,
52232
52234
  column: 15
52233
52235
  }
52234
52236
  },
52235
52237
  "38": {
52236
52238
  start: {
52237
- line: 147,
52238
- column: 8
52239
+ line: 138,
52240
+ column: 12
52239
52241
  },
52240
52242
  end: {
52241
- line: 148,
52242
- column: 62
52243
+ line: 144,
52244
+ column: 15
52243
52245
  }
52244
52246
  },
52245
52247
  "39": {
52246
52248
  start: {
52247
- line: 149,
52249
+ line: 148,
52248
52250
  column: 8
52249
52251
  },
52250
52252
  end: {
52251
52253
  line: 149,
52252
- column: 54
52254
+ column: 62
52253
52255
  }
52254
52256
  },
52255
52257
  "40": {
@@ -52259,7 +52261,7 @@ function cov_2jkcclu7mz() {
52259
52261
  },
52260
52262
  end: {
52261
52263
  line: 150,
52262
- column: 77
52264
+ column: 54
52263
52265
  }
52264
52266
  },
52265
52267
  "41": {
@@ -52268,18 +52270,18 @@ function cov_2jkcclu7mz() {
52268
52270
  column: 8
52269
52271
  },
52270
52272
  end: {
52271
- line: 154,
52272
- column: 9
52273
+ line: 151,
52274
+ column: 77
52273
52275
  }
52274
52276
  },
52275
52277
  "42": {
52276
52278
  start: {
52277
52279
  line: 152,
52278
- column: 10
52280
+ column: 8
52279
52281
  },
52280
52282
  end: {
52281
- line: 152,
52282
- column: 31
52283
+ line: 155,
52284
+ column: 9
52283
52285
  }
52284
52286
  },
52285
52287
  "43": {
@@ -52289,376 +52291,416 @@ function cov_2jkcclu7mz() {
52289
52291
  },
52290
52292
  end: {
52291
52293
  line: 153,
52292
- column: 55
52294
+ column: 31
52293
52295
  }
52294
52296
  },
52295
52297
  "44": {
52296
52298
  start: {
52297
- line: 153,
52298
- column: 27
52299
+ line: 154,
52300
+ column: 10
52299
52301
  },
52300
52302
  end: {
52301
- line: 153,
52302
- column: 47
52303
+ line: 154,
52304
+ column: 55
52303
52305
  }
52304
52306
  },
52305
52307
  "45": {
52306
52308
  start: {
52307
- line: 157,
52308
- column: 6
52309
+ line: 154,
52310
+ column: 27
52309
52311
  },
52310
52312
  end: {
52311
- line: 157,
52312
- column: 40
52313
+ line: 154,
52314
+ column: 47
52313
52315
  }
52314
52316
  },
52315
52317
  "46": {
52316
52318
  start: {
52317
- line: 159,
52319
+ line: 158,
52318
52320
  column: 6
52319
52321
  },
52320
52322
  end: {
52321
- line: 161,
52322
- column: 7
52323
+ line: 158,
52324
+ column: 40
52323
52325
  }
52324
52326
  },
52325
52327
  "47": {
52326
52328
  start: {
52327
52329
  line: 160,
52328
- column: 8
52330
+ column: 6
52329
52331
  },
52330
52332
  end: {
52331
- line: 160,
52332
- column: 29
52333
+ line: 162,
52334
+ column: 7
52333
52335
  }
52334
52336
  },
52335
52337
  "48": {
52336
52338
  start: {
52337
- line: 165,
52338
- column: 30
52339
+ line: 161,
52340
+ column: 8
52339
52341
  },
52340
52342
  end: {
52341
- line: 175,
52342
- column: 3
52343
+ line: 161,
52344
+ column: 29
52343
52345
  }
52344
52346
  },
52345
52347
  "49": {
52346
52348
  start: {
52347
52349
  line: 166,
52348
- column: 4
52350
+ column: 18
52349
52351
  },
52350
52352
  end: {
52351
- line: 166,
52352
- column: 33
52353
+ line: 179,
52354
+ column: 3
52353
52355
  }
52354
52356
  },
52355
52357
  "50": {
52356
52358
  start: {
52357
- line: 166,
52358
- column: 26
52359
+ line: 167,
52360
+ column: 4
52359
52361
  },
52360
52362
  end: {
52361
- line: 166,
52362
- column: 33
52363
+ line: 175,
52364
+ column: 5
52363
52365
  }
52364
52366
  },
52365
52367
  "51": {
52366
52368
  start: {
52367
- line: 167,
52368
- column: 22
52369
+ line: 168,
52370
+ column: 6
52369
52371
  },
52370
52372
  end: {
52371
- line: 167,
52372
- column: 41
52373
+ line: 168,
52374
+ column: 50
52373
52375
  }
52374
52376
  },
52375
52377
  "52": {
52376
52378
  start: {
52377
- line: 168,
52378
- column: 4
52379
+ line: 169,
52380
+ column: 6
52379
52381
  },
52380
52382
  end: {
52381
- line: 168,
52382
- column: 35
52383
+ line: 169,
52384
+ column: 52
52383
52385
  }
52384
52386
  },
52385
52387
  "53": {
52386
52388
  start: {
52387
- line: 168,
52388
- column: 28
52389
+ line: 170,
52390
+ column: 6
52389
52391
  },
52390
52392
  end: {
52391
- line: 168,
52392
- column: 35
52393
+ line: 174,
52394
+ column: 10
52393
52395
  }
52394
52396
  },
52395
52397
  "54": {
52396
52398
  start: {
52397
- line: 169,
52399
+ line: 176,
52398
52400
  column: 4
52399
52401
  },
52400
52402
  end: {
52401
- line: 174,
52402
- column: 5
52403
+ line: 176,
52404
+ column: 57
52403
52405
  }
52404
52406
  },
52405
52407
  "55": {
52406
52408
  start: {
52407
- line: 170,
52408
- column: 6
52409
+ line: 177,
52410
+ column: 4
52409
52411
  },
52410
52412
  end: {
52411
- line: 173,
52412
- column: 7
52413
+ line: 177,
52414
+ column: 19
52413
52415
  }
52414
52416
  },
52415
52417
  "56": {
52416
52418
  start: {
52417
- line: 171,
52418
- column: 8
52419
+ line: 178,
52420
+ column: 4
52419
52421
  },
52420
52422
  end: {
52421
- line: 171,
52422
- column: 76
52423
+ line: 178,
52424
+ column: 31
52423
52425
  }
52424
52426
  },
52425
52427
  "57": {
52426
52428
  start: {
52427
- line: 172,
52428
- column: 8
52429
+ line: 181,
52430
+ column: 30
52429
52431
  },
52430
52432
  end: {
52431
- line: 172,
52432
- column: 14
52433
+ line: 191,
52434
+ column: 3
52433
52435
  }
52434
52436
  },
52435
52437
  "58": {
52436
52438
  start: {
52437
- line: 177,
52438
- column: 67
52439
+ line: 182,
52440
+ column: 4
52439
52441
  },
52440
52442
  end: {
52441
- line: 183,
52442
- column: 4
52443
+ line: 182,
52444
+ column: 33
52443
52445
  }
52444
52446
  },
52445
52447
  "59": {
52446
52448
  start: {
52447
- line: 185,
52448
- column: 22
52449
+ line: 182,
52450
+ column: 26
52449
52451
  },
52450
52452
  end: {
52451
- line: 189,
52452
- column: 3
52453
+ line: 182,
52454
+ column: 33
52453
52455
  }
52454
52456
  },
52455
52457
  "60": {
52456
52458
  start: {
52457
- line: 191,
52458
- column: 2
52459
+ line: 183,
52460
+ column: 22
52459
52461
  },
52460
52462
  end: {
52461
- line: 201,
52462
- column: 3
52463
+ line: 183,
52464
+ column: 41
52463
52465
  }
52464
52466
  },
52465
52467
  "61": {
52466
52468
  start: {
52467
- line: 196,
52469
+ line: 184,
52468
52470
  column: 4
52469
52471
  },
52470
52472
  end: {
52471
- line: 200,
52472
- column: 6
52473
+ line: 184,
52474
+ column: 35
52473
52475
  }
52474
52476
  },
52475
52477
  "62": {
52476
52478
  start: {
52477
- line: 203,
52478
- column: 31
52479
+ line: 184,
52480
+ column: 28
52479
52481
  },
52480
52482
  end: {
52481
- line: 203,
52483
+ line: 184,
52482
52484
  column: 35
52483
52485
  }
52484
52486
  },
52485
52487
  "63": {
52486
52488
  start: {
52487
- line: 205,
52488
- column: 28
52489
+ line: 185,
52490
+ column: 4
52489
52491
  },
52490
52492
  end: {
52491
- line: 207,
52492
- column: 15
52493
+ line: 190,
52494
+ column: 5
52493
52495
  }
52494
52496
  },
52495
52497
  "64": {
52496
52498
  start: {
52497
- line: 206,
52498
- column: 41
52499
+ line: 186,
52500
+ column: 6
52499
52501
  },
52500
52502
  end: {
52501
- line: 206,
52502
- column: 50
52503
+ line: 189,
52504
+ column: 7
52503
52505
  }
52504
52506
  },
52505
52507
  "65": {
52506
52508
  start: {
52507
- line: 209,
52508
- column: 2
52509
+ line: 187,
52510
+ column: 8
52509
52511
  },
52510
52512
  end: {
52511
- line: 211,
52512
- column: 3
52513
+ line: 187,
52514
+ column: 76
52513
52515
  }
52514
52516
  },
52515
52517
  "66": {
52516
52518
  start: {
52517
- line: 210,
52518
- column: 4
52519
+ line: 188,
52520
+ column: 8
52519
52521
  },
52520
52522
  end: {
52521
- line: 210,
52522
- column: 23
52523
+ line: 188,
52524
+ column: 14
52523
52525
  }
52524
52526
  },
52525
52527
  "67": {
52526
52528
  start: {
52527
- line: 213,
52528
- column: 2
52529
+ line: 193,
52530
+ column: 67
52529
52531
  },
52530
52532
  end: {
52531
- line: 335,
52533
+ line: 199,
52532
52534
  column: 4
52533
52535
  }
52534
52536
  },
52535
52537
  "68": {
52536
52538
  start: {
52537
- line: 238,
52538
- column: 10
52539
+ line: 201,
52540
+ column: 22
52539
52541
  },
52540
52542
  end: {
52541
- line: 331,
52542
- column: 23
52543
+ line: 205,
52544
+ column: 3
52543
52545
  }
52544
52546
  },
52545
52547
  "69": {
52546
52548
  start: {
52547
- line: 254,
52548
- column: 16
52549
+ line: 207,
52550
+ column: 2
52549
52551
  },
52550
52552
  end: {
52551
- line: 256,
52552
- column: 17
52553
+ line: 217,
52554
+ column: 3
52553
52555
  }
52554
52556
  },
52555
52557
  "70": {
52556
52558
  start: {
52557
- line: 255,
52558
- column: 18
52559
+ line: 212,
52560
+ column: 4
52559
52561
  },
52560
52562
  end: {
52561
- line: 255,
52562
- column: 55
52563
+ line: 216,
52564
+ column: 6
52563
52565
  }
52564
52566
  },
52565
52567
  "71": {
52566
52568
  start: {
52567
- line: 260,
52568
- column: 16
52569
+ line: 219,
52570
+ column: 31
52569
52571
  },
52570
52572
  end: {
52571
- line: 268,
52572
- column: 17
52573
+ line: 219,
52574
+ column: 35
52573
52575
  }
52574
52576
  },
52575
52577
  "72": {
52576
52578
  start: {
52577
- line: 261,
52578
- column: 18
52579
+ line: 221,
52580
+ column: 28
52579
52581
  },
52580
52582
  end: {
52581
- line: 261,
52582
- column: 62
52583
+ line: 223,
52584
+ column: 15
52583
52585
  }
52584
52586
  },
52585
52587
  "73": {
52586
52588
  start: {
52587
- line: 262,
52588
- column: 18
52589
+ line: 222,
52590
+ column: 41
52589
52591
  },
52590
52592
  end: {
52591
- line: 262,
52592
- column: 64
52593
+ line: 222,
52594
+ column: 50
52593
52595
  }
52594
52596
  },
52595
52597
  "74": {
52596
52598
  start: {
52597
- line: 263,
52598
- column: 18
52599
+ line: 225,
52600
+ column: 2
52599
52601
  },
52600
52602
  end: {
52601
- line: 267,
52602
- column: 22
52603
+ line: 227,
52604
+ column: 3
52603
52605
  }
52604
52606
  },
52605
52607
  "75": {
52606
52608
  start: {
52607
- line: 269,
52608
- column: 16
52609
+ line: 226,
52610
+ column: 4
52609
52611
  },
52610
52612
  end: {
52611
- line: 269,
52612
- column: 31
52613
+ line: 226,
52614
+ column: 23
52613
52615
  }
52614
52616
  },
52615
52617
  "76": {
52618
+ start: {
52619
+ line: 229,
52620
+ column: 2
52621
+ },
52622
+ end: {
52623
+ line: 340,
52624
+ column: 4
52625
+ }
52626
+ },
52627
+ "77": {
52628
+ start: {
52629
+ line: 254,
52630
+ column: 10
52631
+ },
52632
+ end: {
52633
+ line: 336,
52634
+ column: 23
52635
+ }
52636
+ },
52637
+ "78": {
52616
52638
  start: {
52617
52639
  line: 270,
52618
52640
  column: 16
52619
52641
  },
52620
52642
  end: {
52621
- line: 270,
52622
- column: 43
52643
+ line: 272,
52644
+ column: 17
52623
52645
  }
52624
52646
  },
52625
- "77": {
52647
+ "79": {
52648
+ start: {
52649
+ line: 271,
52650
+ column: 18
52651
+ },
52652
+ end: {
52653
+ line: 271,
52654
+ column: 55
52655
+ }
52656
+ },
52657
+ "80": {
52626
52658
  start: {
52627
- line: 279,
52659
+ line: 275,
52660
+ column: 28
52661
+ },
52662
+ end: {
52663
+ line: 275,
52664
+ column: 51
52665
+ }
52666
+ },
52667
+ "81": {
52668
+ start: {
52669
+ line: 283,
52628
52670
  column: 39
52629
52671
  },
52630
52672
  end: {
52631
- line: 279,
52673
+ line: 283,
52632
52674
  column: 66
52633
52675
  }
52634
52676
  },
52635
- "78": {
52677
+ "82": {
52636
52678
  start: {
52637
- line: 281,
52679
+ line: 285,
52638
52680
  column: 16
52639
52681
  },
52640
52682
  end: {
52641
- line: 288,
52683
+ line: 293,
52642
52684
  column: 18
52643
52685
  }
52644
52686
  },
52645
- "79": {
52687
+ "83": {
52646
52688
  start: {
52647
- line: 328,
52689
+ line: 333,
52648
52690
  column: 31
52649
52691
  },
52650
52692
  end: {
52651
- line: 328,
52693
+ line: 333,
52652
52694
  column: 45
52653
52695
  }
52654
52696
  },
52655
- "80": {
52697
+ "84": {
52656
52698
  start: {
52657
- line: 338,
52699
+ line: 343,
52658
52700
  column: 0
52659
52701
  },
52660
52702
  end: {
52661
- line: 355,
52703
+ line: 360,
52662
52704
  column: 2
52663
52705
  }
52664
52706
  }
@@ -52682,7 +52724,7 @@ function cov_2jkcclu7mz() {
52682
52724
  column: 6
52683
52725
  },
52684
52726
  end: {
52685
- line: 336,
52727
+ line: 341,
52686
52728
  column: 1
52687
52729
  }
52688
52730
  },
@@ -52692,337 +52734,361 @@ function cov_2jkcclu7mz() {
52692
52734
  name: "(anonymous_1)",
52693
52735
  decl: {
52694
52736
  start: {
52695
- line: 75,
52737
+ line: 76,
52696
52738
  column: 12
52697
52739
  },
52698
52740
  end: {
52699
- line: 75,
52741
+ line: 76,
52700
52742
  column: 13
52701
52743
  }
52702
52744
  },
52703
52745
  loc: {
52704
52746
  start: {
52705
- line: 75,
52747
+ line: 76,
52706
52748
  column: 18
52707
52749
  },
52708
52750
  end: {
52709
- line: 77,
52751
+ line: 78,
52710
52752
  column: 3
52711
52753
  }
52712
52754
  },
52713
- line: 75
52755
+ line: 76
52714
52756
  },
52715
52757
  "2": {
52716
52758
  name: "(anonymous_2)",
52717
52759
  decl: {
52718
52760
  start: {
52719
- line: 94,
52761
+ line: 95,
52720
52762
  column: 31
52721
52763
  },
52722
52764
  end: {
52723
- line: 94,
52765
+ line: 95,
52724
52766
  column: 32
52725
52767
  }
52726
52768
  },
52727
52769
  loc: {
52728
52770
  start: {
52729
- line: 95,
52771
+ line: 96,
52730
52772
  column: 4
52731
52773
  },
52732
52774
  end: {
52733
- line: 95,
52775
+ line: 96,
52734
52776
  column: 47
52735
52777
  }
52736
52778
  },
52737
- line: 95
52779
+ line: 96
52738
52780
  },
52739
52781
  "3": {
52740
52782
  name: "(anonymous_3)",
52741
52783
  decl: {
52742
52784
  start: {
52743
- line: 97,
52785
+ line: 98,
52744
52786
  column: 19
52745
52787
  },
52746
52788
  end: {
52747
- line: 97,
52789
+ line: 98,
52748
52790
  column: 20
52749
52791
  }
52750
52792
  },
52751
52793
  loc: {
52752
52794
  start: {
52753
- line: 97,
52795
+ line: 98,
52754
52796
  column: 56
52755
52797
  },
52756
52798
  end: {
52757
- line: 163,
52799
+ line: 164,
52758
52800
  column: 3
52759
52801
  }
52760
52802
  },
52761
- line: 97
52803
+ line: 98
52762
52804
  },
52763
52805
  "4": {
52764
52806
  name: "(anonymous_4)",
52765
52807
  decl: {
52766
52808
  start: {
52767
- line: 102,
52809
+ line: 103,
52768
52810
  column: 26
52769
52811
  },
52770
52812
  end: {
52771
- line: 102,
52813
+ line: 103,
52772
52814
  column: 27
52773
52815
  }
52774
52816
  },
52775
52817
  loc: {
52776
52818
  start: {
52777
- line: 103,
52819
+ line: 104,
52778
52820
  column: 10
52779
52821
  },
52780
52822
  end: {
52781
- line: 107,
52823
+ line: 108,
52782
52824
  column: 18
52783
52825
  }
52784
52826
  },
52785
- line: 103
52827
+ line: 104
52786
52828
  },
52787
52829
  "5": {
52788
52830
  name: "(anonymous_5)",
52789
52831
  decl: {
52790
52832
  start: {
52791
- line: 103,
52833
+ line: 104,
52792
52834
  column: 21
52793
52835
  },
52794
52836
  end: {
52795
- line: 103,
52837
+ line: 104,
52796
52838
  column: 22
52797
52839
  }
52798
52840
  },
52799
52841
  loc: {
52800
52842
  start: {
52801
- line: 103,
52843
+ line: 104,
52802
52844
  column: 27
52803
52845
  },
52804
52846
  end: {
52805
- line: 107,
52847
+ line: 108,
52806
52848
  column: 11
52807
52849
  }
52808
52850
  },
52809
- line: 103
52851
+ line: 104
52810
52852
  },
52811
52853
  "6": {
52812
52854
  name: "(anonymous_6)",
52813
52855
  decl: {
52814
52856
  start: {
52815
- line: 106,
52857
+ line: 107,
52816
52858
  column: 23
52817
52859
  },
52818
52860
  end: {
52819
- line: 106,
52861
+ line: 107,
52820
52862
  column: 24
52821
52863
  }
52822
52864
  },
52823
52865
  loc: {
52824
52866
  start: {
52825
- line: 106,
52867
+ line: 107,
52826
52868
  column: 29
52827
52869
  },
52828
52870
  end: {
52829
- line: 106,
52871
+ line: 107,
52830
52872
  column: 49
52831
52873
  }
52832
52874
  },
52833
- line: 106
52875
+ line: 107
52834
52876
  },
52835
52877
  "7": {
52836
52878
  name: "(anonymous_7)",
52837
52879
  decl: {
52838
52880
  start: {
52839
- line: 153,
52881
+ line: 154,
52840
52882
  column: 21
52841
52883
  },
52842
52884
  end: {
52843
- line: 153,
52885
+ line: 154,
52844
52886
  column: 22
52845
52887
  }
52846
52888
  },
52847
52889
  loc: {
52848
52890
  start: {
52849
- line: 153,
52891
+ line: 154,
52850
52892
  column: 27
52851
52893
  },
52852
52894
  end: {
52853
- line: 153,
52895
+ line: 154,
52854
52896
  column: 47
52855
52897
  }
52856
52898
  },
52857
- line: 153
52899
+ line: 154
52858
52900
  },
52859
52901
  "8": {
52860
52902
  name: "(anonymous_8)",
52861
52903
  decl: {
52862
52904
  start: {
52863
- line: 165,
52905
+ line: 166,
52906
+ column: 18
52907
+ },
52908
+ end: {
52909
+ line: 166,
52910
+ column: 19
52911
+ }
52912
+ },
52913
+ loc: {
52914
+ start: {
52915
+ line: 166,
52916
+ column: 38
52917
+ },
52918
+ end: {
52919
+ line: 179,
52920
+ column: 3
52921
+ }
52922
+ },
52923
+ line: 166
52924
+ },
52925
+ "9": {
52926
+ name: "(anonymous_9)",
52927
+ decl: {
52928
+ start: {
52929
+ line: 181,
52864
52930
  column: 30
52865
52931
  },
52866
52932
  end: {
52867
- line: 165,
52933
+ line: 181,
52868
52934
  column: 31
52869
52935
  }
52870
52936
  },
52871
52937
  loc: {
52872
52938
  start: {
52873
- line: 165,
52939
+ line: 181,
52874
52940
  column: 40
52875
52941
  },
52876
52942
  end: {
52877
- line: 175,
52943
+ line: 191,
52878
52944
  column: 3
52879
52945
  }
52880
52946
  },
52881
- line: 165
52947
+ line: 181
52882
52948
  },
52883
- "9": {
52884
- name: "(anonymous_9)",
52949
+ "10": {
52950
+ name: "(anonymous_10)",
52885
52951
  decl: {
52886
52952
  start: {
52887
- line: 206,
52953
+ line: 222,
52888
52954
  column: 23
52889
52955
  },
52890
52956
  end: {
52891
- line: 206,
52957
+ line: 222,
52892
52958
  column: 24
52893
52959
  }
52894
52960
  },
52895
52961
  loc: {
52896
52962
  start: {
52897
- line: 206,
52963
+ line: 222,
52898
52964
  column: 41
52899
52965
  },
52900
52966
  end: {
52901
- line: 206,
52967
+ line: 222,
52902
52968
  column: 50
52903
52969
  }
52904
52970
  },
52905
- line: 206
52971
+ line: 222
52906
52972
  },
52907
- "10": {
52908
- name: "(anonymous_10)",
52973
+ "11": {
52974
+ name: "(anonymous_11)",
52909
52975
  decl: {
52910
52976
  start: {
52911
- line: 237,
52977
+ line: 253,
52912
52978
  column: 9
52913
52979
  },
52914
52980
  end: {
52915
- line: 237,
52981
+ line: 253,
52916
52982
  column: 10
52917
52983
  }
52918
52984
  },
52919
52985
  loc: {
52920
52986
  start: {
52921
- line: 238,
52987
+ line: 254,
52922
52988
  column: 10
52923
52989
  },
52924
52990
  end: {
52925
- line: 331,
52991
+ line: 336,
52926
52992
  column: 23
52927
52993
  }
52928
52994
  },
52929
- line: 238
52995
+ line: 254
52930
52996
  },
52931
- "11": {
52932
- name: "(anonymous_11)",
52997
+ "12": {
52998
+ name: "(anonymous_12)",
52933
52999
  decl: {
52934
53000
  start: {
52935
- line: 253,
53001
+ line: 269,
52936
53002
  column: 24
52937
53003
  },
52938
53004
  end: {
52939
- line: 253,
53005
+ line: 269,
52940
53006
  column: 25
52941
53007
  }
52942
53008
  },
52943
53009
  loc: {
52944
53010
  start: {
52945
- line: 253,
53011
+ line: 269,
52946
53012
  column: 33
52947
53013
  },
52948
53014
  end: {
52949
- line: 257,
53015
+ line: 273,
52950
53016
  column: 15
52951
53017
  }
52952
53018
  },
52953
- line: 253
53019
+ line: 269
52954
53020
  },
52955
- "12": {
52956
- name: "(anonymous_12)",
53021
+ "13": {
53022
+ name: "(anonymous_13)",
52957
53023
  decl: {
52958
53024
  start: {
52959
- line: 259,
53025
+ line: 275,
52960
53026
  column: 23
52961
53027
  },
52962
53028
  end: {
52963
- line: 259,
53029
+ line: 275,
52964
53030
  column: 24
52965
53031
  }
52966
53032
  },
52967
53033
  loc: {
52968
53034
  start: {
52969
- line: 259,
53035
+ line: 275,
52970
53036
  column: 28
52971
53037
  },
52972
53038
  end: {
52973
- line: 271,
52974
- column: 15
53039
+ line: 275,
53040
+ column: 51
52975
53041
  }
52976
53042
  },
52977
- line: 259
53043
+ line: 275
52978
53044
  },
52979
- "13": {
52980
- name: "(anonymous_13)",
53045
+ "14": {
53046
+ name: "(anonymous_14)",
52981
53047
  decl: {
52982
53048
  start: {
52983
- line: 278,
53049
+ line: 282,
52984
53050
  column: 37
52985
53051
  },
52986
53052
  end: {
52987
- line: 278,
53053
+ line: 282,
52988
53054
  column: 38
52989
53055
  }
52990
53056
  },
52991
53057
  loc: {
52992
53058
  start: {
52993
- line: 278,
53059
+ line: 282,
52994
53060
  column: 49
52995
53061
  },
52996
53062
  end: {
52997
- line: 289,
53063
+ line: 294,
52998
53064
  column: 15
52999
53065
  }
53000
53066
  },
53001
- line: 278
53067
+ line: 282
53002
53068
  },
53003
- "14": {
53004
- name: "(anonymous_14)",
53069
+ "15": {
53070
+ name: "(anonymous_15)",
53005
53071
  decl: {
53006
53072
  start: {
53007
- line: 328,
53073
+ line: 333,
53008
53074
  column: 25
53009
53075
  },
53010
53076
  end: {
53011
- line: 328,
53077
+ line: 333,
53012
53078
  column: 26
53013
53079
  }
53014
53080
  },
53015
53081
  loc: {
53016
53082
  start: {
53017
- line: 328,
53083
+ line: 333,
53018
53084
  column: 31
53019
53085
  },
53020
53086
  end: {
53021
- line: 328,
53087
+ line: 333,
53022
53088
  column: 45
53023
53089
  }
53024
53090
  },
53025
- line: 328
53091
+ line: 333
53026
53092
  }
53027
53093
  },
53028
53094
  branchMap: {
@@ -53293,88 +53359,88 @@ function cov_2jkcclu7mz() {
53293
53359
  "11": {
53294
53360
  loc: {
53295
53361
  start: {
53296
- line: 90,
53362
+ line: 91,
53297
53363
  column: 21
53298
53364
  },
53299
53365
  end: {
53300
- line: 90,
53366
+ line: 91,
53301
53367
  column: 75
53302
53368
  }
53303
53369
  },
53304
53370
  type: "cond-expr",
53305
53371
  locations: [{
53306
53372
  start: {
53307
- line: 90,
53373
+ line: 91,
53308
53374
  column: 36
53309
53375
  },
53310
53376
  end: {
53311
- line: 90,
53377
+ line: 91,
53312
53378
  column: 70
53313
53379
  }
53314
53380
  }, {
53315
53381
  start: {
53316
- line: 90,
53382
+ line: 91,
53317
53383
  column: 73
53318
53384
  },
53319
53385
  end: {
53320
- line: 90,
53386
+ line: 91,
53321
53387
  column: 75
53322
53388
  }
53323
53389
  }],
53324
- line: 90
53390
+ line: 91
53325
53391
  },
53326
53392
  "12": {
53327
53393
  loc: {
53328
53394
  start: {
53329
- line: 101,
53395
+ line: 102,
53330
53396
  column: 6
53331
53397
  },
53332
53398
  end: {
53333
- line: 155,
53399
+ line: 156,
53334
53400
  column: 7
53335
53401
  }
53336
53402
  },
53337
53403
  type: "if",
53338
53404
  locations: [{
53339
53405
  start: {
53340
- line: 101,
53406
+ line: 102,
53341
53407
  column: 6
53342
53408
  },
53343
53409
  end: {
53344
- line: 155,
53410
+ line: 156,
53345
53411
  column: 7
53346
53412
  }
53347
53413
  }, {
53348
53414
  start: {
53349
- line: 109,
53415
+ line: 110,
53350
53416
  column: 13
53351
53417
  },
53352
53418
  end: {
53353
- line: 155,
53419
+ line: 156,
53354
53420
  column: 7
53355
53421
  }
53356
53422
  }],
53357
- line: 101
53423
+ line: 102
53358
53424
  },
53359
53425
  "13": {
53360
53426
  loc: {
53361
53427
  start: {
53362
- line: 110,
53428
+ line: 111,
53363
53429
  column: 8
53364
53430
  },
53365
53431
  end: {
53366
- line: 115,
53432
+ line: 116,
53367
53433
  column: 9
53368
53434
  }
53369
53435
  },
53370
53436
  type: "if",
53371
53437
  locations: [{
53372
53438
  start: {
53373
- line: 110,
53439
+ line: 111,
53374
53440
  column: 8
53375
53441
  },
53376
53442
  end: {
53377
- line: 115,
53443
+ line: 116,
53378
53444
  column: 9
53379
53445
  }
53380
53446
  }, {
@@ -53387,27 +53453,27 @@ function cov_2jkcclu7mz() {
53387
53453
  column: undefined
53388
53454
  }
53389
53455
  }],
53390
- line: 110
53456
+ line: 111
53391
53457
  },
53392
53458
  "14": {
53393
53459
  loc: {
53394
53460
  start: {
53395
- line: 112,
53461
+ line: 113,
53396
53462
  column: 10
53397
53463
  },
53398
53464
  end: {
53399
- line: 114,
53465
+ line: 115,
53400
53466
  column: 11
53401
53467
  }
53402
53468
  },
53403
53469
  type: "if",
53404
53470
  locations: [{
53405
53471
  start: {
53406
- line: 112,
53472
+ line: 113,
53407
53473
  column: 10
53408
53474
  },
53409
53475
  end: {
53410
- line: 114,
53476
+ line: 115,
53411
53477
  column: 11
53412
53478
  }
53413
53479
  }, {
@@ -53420,159 +53486,159 @@ function cov_2jkcclu7mz() {
53420
53486
  column: undefined
53421
53487
  }
53422
53488
  }],
53423
- line: 112
53489
+ line: 113
53424
53490
  },
53425
53491
  "15": {
53426
53492
  loc: {
53427
53493
  start: {
53428
- line: 117,
53494
+ line: 118,
53429
53495
  column: 8
53430
53496
  },
53431
53497
  end: {
53432
- line: 145,
53498
+ line: 146,
53433
53499
  column: 9
53434
53500
  }
53435
53501
  },
53436
53502
  type: "if",
53437
53503
  locations: [{
53438
53504
  start: {
53439
- line: 117,
53505
+ line: 118,
53440
53506
  column: 8
53441
53507
  },
53442
53508
  end: {
53443
- line: 145,
53509
+ line: 146,
53444
53510
  column: 9
53445
53511
  }
53446
53512
  }, {
53447
53513
  start: {
53448
- line: 128,
53514
+ line: 129,
53449
53515
  column: 15
53450
53516
  },
53451
53517
  end: {
53452
- line: 145,
53518
+ line: 146,
53453
53519
  column: 9
53454
53520
  }
53455
53521
  }],
53456
- line: 117
53522
+ line: 118
53457
53523
  },
53458
53524
  "16": {
53459
53525
  loc: {
53460
53526
  start: {
53461
- line: 129,
53527
+ line: 130,
53462
53528
  column: 10
53463
53529
  },
53464
53530
  end: {
53465
- line: 144,
53531
+ line: 145,
53466
53532
  column: 11
53467
53533
  }
53468
53534
  },
53469
53535
  type: "if",
53470
53536
  locations: [{
53471
53537
  start: {
53472
- line: 129,
53538
+ line: 130,
53473
53539
  column: 10
53474
53540
  },
53475
53541
  end: {
53476
- line: 144,
53542
+ line: 145,
53477
53543
  column: 11
53478
53544
  }
53479
53545
  }, {
53480
53546
  start: {
53481
- line: 136,
53547
+ line: 137,
53482
53548
  column: 17
53483
53549
  },
53484
53550
  end: {
53485
- line: 144,
53551
+ line: 145,
53486
53552
  column: 11
53487
53553
  }
53488
53554
  }],
53489
- line: 129
53555
+ line: 130
53490
53556
  },
53491
53557
  "17": {
53492
53558
  loc: {
53493
53559
  start: {
53494
- line: 147,
53560
+ line: 148,
53495
53561
  column: 8
53496
53562
  },
53497
53563
  end: {
53498
- line: 148,
53564
+ line: 149,
53499
53565
  column: 61
53500
53566
  }
53501
53567
  },
53502
53568
  type: "binary-expr",
53503
53569
  locations: [{
53504
53570
  start: {
53505
- line: 147,
53571
+ line: 148,
53506
53572
  column: 8
53507
53573
  },
53508
53574
  end: {
53509
- line: 147,
53575
+ line: 148,
53510
53576
  column: 25
53511
53577
  }
53512
53578
  }, {
53513
53579
  start: {
53514
- line: 148,
53580
+ line: 149,
53515
53581
  column: 10
53516
53582
  },
53517
53583
  end: {
53518
- line: 148,
53584
+ line: 149,
53519
53585
  column: 61
53520
53586
  }
53521
53587
  }],
53522
- line: 147
53588
+ line: 148
53523
53589
  },
53524
53590
  "18": {
53525
53591
  loc: {
53526
53592
  start: {
53527
- line: 149,
53593
+ line: 150,
53528
53594
  column: 8
53529
53595
  },
53530
53596
  end: {
53531
- line: 149,
53597
+ line: 150,
53532
53598
  column: 53
53533
53599
  }
53534
53600
  },
53535
53601
  type: "binary-expr",
53536
53602
  locations: [{
53537
53603
  start: {
53538
- line: 149,
53604
+ line: 150,
53539
53605
  column: 8
53540
53606
  },
53541
53607
  end: {
53542
- line: 149,
53608
+ line: 150,
53543
53609
  column: 27
53544
53610
  }
53545
53611
  }, {
53546
53612
  start: {
53547
- line: 149,
53613
+ line: 150,
53548
53614
  column: 31
53549
53615
  },
53550
53616
  end: {
53551
- line: 149,
53617
+ line: 150,
53552
53618
  column: 53
53553
53619
  }
53554
53620
  }],
53555
- line: 149
53621
+ line: 150
53556
53622
  },
53557
53623
  "19": {
53558
53624
  loc: {
53559
53625
  start: {
53560
- line: 151,
53626
+ line: 152,
53561
53627
  column: 8
53562
53628
  },
53563
53629
  end: {
53564
- line: 154,
53630
+ line: 155,
53565
53631
  column: 9
53566
53632
  }
53567
53633
  },
53568
53634
  type: "if",
53569
53635
  locations: [{
53570
53636
  start: {
53571
- line: 151,
53637
+ line: 152,
53572
53638
  column: 8
53573
53639
  },
53574
53640
  end: {
53575
- line: 154,
53641
+ line: 155,
53576
53642
  column: 9
53577
53643
  }
53578
53644
  }, {
@@ -53585,27 +53651,27 @@ function cov_2jkcclu7mz() {
53585
53651
  column: undefined
53586
53652
  }
53587
53653
  }],
53588
- line: 151
53654
+ line: 152
53589
53655
  },
53590
53656
  "20": {
53591
53657
  loc: {
53592
53658
  start: {
53593
- line: 159,
53659
+ line: 160,
53594
53660
  column: 6
53595
53661
  },
53596
53662
  end: {
53597
- line: 161,
53663
+ line: 162,
53598
53664
  column: 7
53599
53665
  }
53600
53666
  },
53601
53667
  type: "if",
53602
53668
  locations: [{
53603
53669
  start: {
53604
- line: 159,
53670
+ line: 160,
53605
53671
  column: 6
53606
53672
  },
53607
53673
  end: {
53608
- line: 161,
53674
+ line: 162,
53609
53675
  column: 7
53610
53676
  }
53611
53677
  }, {
@@ -53618,27 +53684,93 @@ function cov_2jkcclu7mz() {
53618
53684
  column: undefined
53619
53685
  }
53620
53686
  }],
53621
- line: 159
53687
+ line: 160
53622
53688
  },
53623
53689
  "21": {
53624
53690
  loc: {
53625
53691
  start: {
53626
- line: 166,
53692
+ line: 167,
53627
53693
  column: 4
53628
53694
  },
53629
53695
  end: {
53630
- line: 166,
53696
+ line: 175,
53697
+ column: 5
53698
+ }
53699
+ },
53700
+ type: "if",
53701
+ locations: [{
53702
+ start: {
53703
+ line: 167,
53704
+ column: 4
53705
+ },
53706
+ end: {
53707
+ line: 175,
53708
+ column: 5
53709
+ }
53710
+ }, {
53711
+ start: {
53712
+ line: undefined,
53713
+ column: undefined
53714
+ },
53715
+ end: {
53716
+ line: undefined,
53717
+ column: undefined
53718
+ }
53719
+ }],
53720
+ line: 167
53721
+ },
53722
+ "22": {
53723
+ loc: {
53724
+ start: {
53725
+ line: 170,
53726
+ column: 6
53727
+ },
53728
+ end: {
53729
+ line: 174,
53730
+ column: 9
53731
+ }
53732
+ },
53733
+ type: "binary-expr",
53734
+ locations: [{
53735
+ start: {
53736
+ line: 170,
53737
+ column: 6
53738
+ },
53739
+ end: {
53740
+ line: 170,
53741
+ column: 18
53742
+ }
53743
+ }, {
53744
+ start: {
53745
+ line: 171,
53746
+ column: 8
53747
+ },
53748
+ end: {
53749
+ line: 174,
53750
+ column: 9
53751
+ }
53752
+ }],
53753
+ line: 170
53754
+ },
53755
+ "23": {
53756
+ loc: {
53757
+ start: {
53758
+ line: 182,
53759
+ column: 4
53760
+ },
53761
+ end: {
53762
+ line: 182,
53631
53763
  column: 33
53632
53764
  }
53633
53765
  },
53634
53766
  type: "if",
53635
53767
  locations: [{
53636
53768
  start: {
53637
- line: 166,
53769
+ line: 182,
53638
53770
  column: 4
53639
53771
  },
53640
53772
  end: {
53641
- line: 166,
53773
+ line: 182,
53642
53774
  column: 33
53643
53775
  }
53644
53776
  }, {
@@ -53651,27 +53783,27 @@ function cov_2jkcclu7mz() {
53651
53783
  column: undefined
53652
53784
  }
53653
53785
  }],
53654
- line: 166
53786
+ line: 182
53655
53787
  },
53656
- "22": {
53788
+ "24": {
53657
53789
  loc: {
53658
53790
  start: {
53659
- line: 168,
53791
+ line: 184,
53660
53792
  column: 4
53661
53793
  },
53662
53794
  end: {
53663
- line: 168,
53795
+ line: 184,
53664
53796
  column: 35
53665
53797
  }
53666
53798
  },
53667
53799
  type: "if",
53668
53800
  locations: [{
53669
53801
  start: {
53670
- line: 168,
53802
+ line: 184,
53671
53803
  column: 4
53672
53804
  },
53673
53805
  end: {
53674
- line: 168,
53806
+ line: 184,
53675
53807
  column: 35
53676
53808
  }
53677
53809
  }, {
@@ -53684,27 +53816,27 @@ function cov_2jkcclu7mz() {
53684
53816
  column: undefined
53685
53817
  }
53686
53818
  }],
53687
- line: 168
53819
+ line: 184
53688
53820
  },
53689
- "23": {
53821
+ "25": {
53690
53822
  loc: {
53691
53823
  start: {
53692
- line: 170,
53824
+ line: 186,
53693
53825
  column: 6
53694
53826
  },
53695
53827
  end: {
53696
- line: 173,
53828
+ line: 189,
53697
53829
  column: 7
53698
53830
  }
53699
53831
  },
53700
53832
  type: "if",
53701
53833
  locations: [{
53702
53834
  start: {
53703
- line: 170,
53835
+ line: 186,
53704
53836
  column: 6
53705
53837
  },
53706
53838
  end: {
53707
- line: 173,
53839
+ line: 189,
53708
53840
  column: 7
53709
53841
  }
53710
53842
  }, {
@@ -53717,51 +53849,84 @@ function cov_2jkcclu7mz() {
53717
53849
  column: undefined
53718
53850
  }
53719
53851
  }],
53720
- line: 170
53852
+ line: 186
53721
53853
  },
53722
- "24": {
53854
+ "26": {
53723
53855
  loc: {
53724
53856
  start: {
53725
- line: 177,
53857
+ line: 193,
53726
53858
  column: 16
53727
53859
  },
53728
53860
  end: {
53729
- line: 177,
53861
+ line: 193,
53730
53862
  column: 51
53731
53863
  }
53732
53864
  },
53733
53865
  type: "default-arg",
53734
53866
  locations: [{
53735
53867
  start: {
53736
- line: 177,
53868
+ line: 193,
53737
53869
  column: 23
53738
53870
  },
53739
53871
  end: {
53740
- line: 177,
53872
+ line: 193,
53741
53873
  column: 51
53742
53874
  }
53743
53875
  }],
53744
- line: 177
53876
+ line: 193
53745
53877
  },
53746
- "25": {
53878
+ "27": {
53879
+ loc: {
53880
+ start: {
53881
+ line: 203,
53882
+ column: 4
53883
+ },
53884
+ end: {
53885
+ line: 203,
53886
+ column: 48
53887
+ }
53888
+ },
53889
+ type: "binary-expr",
53890
+ locations: [{
53891
+ start: {
53892
+ line: 203,
53893
+ column: 4
53894
+ },
53895
+ end: {
53896
+ line: 203,
53897
+ column: 40
53898
+ }
53899
+ }, {
53900
+ start: {
53901
+ line: 203,
53902
+ column: 44
53903
+ },
53904
+ end: {
53905
+ line: 203,
53906
+ column: 48
53907
+ }
53908
+ }],
53909
+ line: 203
53910
+ },
53911
+ "28": {
53747
53912
  loc: {
53748
53913
  start: {
53749
- line: 191,
53914
+ line: 207,
53750
53915
  column: 2
53751
53916
  },
53752
53917
  end: {
53753
- line: 201,
53918
+ line: 217,
53754
53919
  column: 3
53755
53920
  }
53756
53921
  },
53757
53922
  type: "if",
53758
53923
  locations: [{
53759
53924
  start: {
53760
- line: 191,
53925
+ line: 207,
53761
53926
  column: 2
53762
53927
  },
53763
53928
  end: {
53764
- line: 201,
53929
+ line: 217,
53765
53930
  column: 3
53766
53931
  }
53767
53932
  }, {
@@ -53774,111 +53939,111 @@ function cov_2jkcclu7mz() {
53774
53939
  column: undefined
53775
53940
  }
53776
53941
  }],
53777
- line: 191
53942
+ line: 207
53778
53943
  },
53779
- "26": {
53944
+ "29": {
53780
53945
  loc: {
53781
53946
  start: {
53782
- line: 192,
53947
+ line: 208,
53783
53948
  column: 4
53784
53949
  },
53785
53950
  end: {
53786
- line: 194,
53951
+ line: 210,
53787
53952
  column: 45
53788
53953
  }
53789
53954
  },
53790
53955
  type: "binary-expr",
53791
53956
  locations: [{
53792
53957
  start: {
53793
- line: 192,
53958
+ line: 208,
53794
53959
  column: 4
53795
53960
  },
53796
53961
  end: {
53797
- line: 192,
53962
+ line: 208,
53798
53963
  column: 13
53799
53964
  }
53800
53965
  }, {
53801
53966
  start: {
53802
- line: 193,
53967
+ line: 209,
53803
53968
  column: 4
53804
53969
  },
53805
53970
  end: {
53806
- line: 193,
53971
+ line: 209,
53807
53972
  column: 27
53808
53973
  }
53809
53974
  }, {
53810
53975
  start: {
53811
- line: 194,
53976
+ line: 210,
53812
53977
  column: 5
53813
53978
  },
53814
53979
  end: {
53815
- line: 194,
53980
+ line: 210,
53816
53981
  column: 19
53817
53982
  }
53818
53983
  }, {
53819
53984
  start: {
53820
- line: 194,
53985
+ line: 210,
53821
53986
  column: 23
53822
53987
  },
53823
53988
  end: {
53824
- line: 194,
53989
+ line: 210,
53825
53990
  column: 44
53826
53991
  }
53827
53992
  }],
53828
- line: 192
53993
+ line: 208
53829
53994
  },
53830
- "27": {
53995
+ "30": {
53831
53996
  loc: {
53832
53997
  start: {
53833
- line: 205,
53998
+ line: 221,
53834
53999
  column: 28
53835
54000
  },
53836
54001
  end: {
53837
- line: 207,
54002
+ line: 223,
53838
54003
  column: 15
53839
54004
  }
53840
54005
  },
53841
54006
  type: "cond-expr",
53842
54007
  locations: [{
53843
54008
  start: {
53844
- line: 206,
54009
+ line: 222,
53845
54010
  column: 6
53846
54011
  },
53847
54012
  end: {
53848
- line: 206,
54013
+ line: 222,
53849
54014
  column: 51
53850
54015
  }
53851
54016
  }, {
53852
54017
  start: {
53853
- line: 207,
54018
+ line: 223,
53854
54019
  column: 6
53855
54020
  },
53856
54021
  end: {
53857
- line: 207,
54022
+ line: 223,
53858
54023
  column: 15
53859
54024
  }
53860
54025
  }],
53861
- line: 205
54026
+ line: 221
53862
54027
  },
53863
- "28": {
54028
+ "31": {
53864
54029
  loc: {
53865
54030
  start: {
53866
- line: 209,
54031
+ line: 225,
53867
54032
  column: 2
53868
54033
  },
53869
54034
  end: {
53870
- line: 211,
54035
+ line: 227,
53871
54036
  column: 3
53872
54037
  }
53873
54038
  },
53874
54039
  type: "if",
53875
54040
  locations: [{
53876
54041
  start: {
53877
- line: 209,
54042
+ line: 225,
53878
54043
  column: 2
53879
54044
  },
53880
54045
  end: {
53881
- line: 211,
54046
+ line: 227,
53882
54047
  column: 3
53883
54048
  }
53884
54049
  }, {
@@ -53891,192 +54056,159 @@ function cov_2jkcclu7mz() {
53891
54056
  column: undefined
53892
54057
  }
53893
54058
  }],
53894
- line: 209
54059
+ line: 225
53895
54060
  },
53896
- "29": {
54061
+ "32": {
53897
54062
  loc: {
53898
54063
  start: {
53899
- line: 209,
54064
+ line: 225,
53900
54065
  column: 6
53901
54066
  },
53902
54067
  end: {
53903
- line: 209,
54068
+ line: 225,
53904
54069
  column: 36
53905
54070
  }
53906
54071
  },
53907
54072
  type: "binary-expr",
53908
54073
  locations: [{
53909
54074
  start: {
53910
- line: 209,
54075
+ line: 225,
53911
54076
  column: 6
53912
54077
  },
53913
54078
  end: {
53914
- line: 209,
54079
+ line: 225,
53915
54080
  column: 21
53916
54081
  }
53917
54082
  }, {
53918
54083
  start: {
53919
- line: 209,
54084
+ line: 225,
53920
54085
  column: 25
53921
54086
  },
53922
54087
  end: {
53923
- line: 209,
54088
+ line: 225,
53924
54089
  column: 36
53925
54090
  }
53926
54091
  }],
53927
- line: 209
54092
+ line: 225
53928
54093
  },
53929
- "30": {
54094
+ "33": {
53930
54095
  loc: {
53931
54096
  start: {
53932
- line: 215,
54097
+ line: 231,
53933
54098
  column: 7
53934
54099
  },
53935
54100
  end: {
53936
- line: 226,
54101
+ line: 242,
53937
54102
  column: 7
53938
54103
  }
53939
54104
  },
53940
54105
  type: "binary-expr",
53941
54106
  locations: [{
53942
54107
  start: {
53943
- line: 215,
54108
+ line: 231,
53944
54109
  column: 7
53945
54110
  },
53946
54111
  end: {
53947
- line: 215,
54112
+ line: 231,
53948
54113
  column: 16
53949
54114
  }
53950
54115
  }, {
53951
54116
  start: {
53952
- line: 216,
54117
+ line: 232,
53953
54118
  column: 8
53954
54119
  },
53955
54120
  end: {
53956
- line: 225,
54121
+ line: 241,
53957
54122
  column: 14
53958
54123
  }
53959
54124
  }],
53960
- line: 215
54125
+ line: 231
53961
54126
  },
53962
- "31": {
54127
+ "34": {
53963
54128
  loc: {
53964
54129
  start: {
53965
- line: 223,
54130
+ line: 239,
53966
54131
  column: 13
53967
54132
  },
53968
54133
  end: {
53969
- line: 223,
54134
+ line: 239,
53970
54135
  column: 31
53971
54136
  }
53972
54137
  },
53973
54138
  type: "binary-expr",
53974
54139
  locations: [{
53975
54140
  start: {
53976
- line: 223,
54141
+ line: 239,
53977
54142
  column: 13
53978
54143
  },
53979
54144
  end: {
53980
- line: 223,
54145
+ line: 239,
53981
54146
  column: 22
53982
54147
  }
53983
54148
  }, {
53984
54149
  start: {
53985
- line: 223,
54150
+ line: 239,
53986
54151
  column: 26
53987
54152
  },
53988
54153
  end: {
53989
- line: 223,
54154
+ line: 239,
53990
54155
  column: 31
53991
54156
  }
53992
54157
  }],
53993
- line: 223
54158
+ line: 239
53994
54159
  },
53995
- "32": {
54160
+ "35": {
53996
54161
  loc: {
53997
54162
  start: {
53998
- line: 233,
54163
+ line: 249,
53999
54164
  column: 10
54000
54165
  },
54001
54166
  end: {
54002
- line: 233,
54167
+ line: 249,
54003
54168
  column: 54
54004
54169
  }
54005
54170
  },
54006
54171
  type: "cond-expr",
54007
54172
  locations: [{
54008
54173
  start: {
54009
- line: 233,
54174
+ line: 249,
54010
54175
  column: 27
54011
54176
  },
54012
54177
  end: {
54013
- line: 233,
54178
+ line: 249,
54014
54179
  column: 38
54015
54180
  }
54016
54181
  }, {
54017
54182
  start: {
54018
- line: 233,
54183
+ line: 249,
54019
54184
  column: 41
54020
54185
  },
54021
54186
  end: {
54022
- line: 233,
54187
+ line: 249,
54023
54188
  column: 54
54024
54189
  }
54025
54190
  }],
54026
- line: 233
54027
- },
54028
- "33": {
54029
- loc: {
54030
- start: {
54031
- line: 254,
54032
- column: 16
54033
- },
54034
- end: {
54035
- line: 256,
54036
- column: 17
54037
- }
54038
- },
54039
- type: "if",
54040
- locations: [{
54041
- start: {
54042
- line: 254,
54043
- column: 16
54044
- },
54045
- end: {
54046
- line: 256,
54047
- column: 17
54048
- }
54049
- }, {
54050
- start: {
54051
- line: undefined,
54052
- column: undefined
54053
- },
54054
- end: {
54055
- line: undefined,
54056
- column: undefined
54057
- }
54058
- }],
54059
- line: 254
54191
+ line: 249
54060
54192
  },
54061
- "34": {
54193
+ "36": {
54062
54194
  loc: {
54063
54195
  start: {
54064
- line: 260,
54196
+ line: 270,
54065
54197
  column: 16
54066
54198
  },
54067
54199
  end: {
54068
- line: 268,
54200
+ line: 272,
54069
54201
  column: 17
54070
54202
  }
54071
54203
  },
54072
54204
  type: "if",
54073
54205
  locations: [{
54074
54206
  start: {
54075
- line: 260,
54207
+ line: 270,
54076
54208
  column: 16
54077
54209
  },
54078
54210
  end: {
54079
- line: 268,
54211
+ line: 272,
54080
54212
  column: 17
54081
54213
  }
54082
54214
  }, {
@@ -54089,313 +54221,280 @@ function cov_2jkcclu7mz() {
54089
54221
  column: undefined
54090
54222
  }
54091
54223
  }],
54092
- line: 260
54093
- },
54094
- "35": {
54095
- loc: {
54096
- start: {
54097
- line: 263,
54098
- column: 18
54099
- },
54100
- end: {
54101
- line: 267,
54102
- column: 21
54103
- }
54104
- },
54105
- type: "binary-expr",
54106
- locations: [{
54107
- start: {
54108
- line: 263,
54109
- column: 18
54110
- },
54111
- end: {
54112
- line: 263,
54113
- column: 30
54114
- }
54115
- }, {
54116
- start: {
54117
- line: 264,
54118
- column: 20
54119
- },
54120
- end: {
54121
- line: 267,
54122
- column: 21
54123
- }
54124
- }],
54125
- line: 263
54224
+ line: 270
54126
54225
  },
54127
- "36": {
54226
+ "37": {
54128
54227
  loc: {
54129
54228
  start: {
54130
- line: 273,
54229
+ line: 277,
54131
54230
  column: 15
54132
54231
  },
54133
54232
  end: {
54134
- line: 277,
54233
+ line: 281,
54135
54234
  column: 15
54136
54235
  }
54137
54236
  },
54138
54237
  type: "binary-expr",
54139
54238
  locations: [{
54140
54239
  start: {
54141
- line: 273,
54240
+ line: 277,
54142
54241
  column: 15
54143
54242
  },
54144
54243
  end: {
54145
- line: 273,
54244
+ line: 277,
54146
54245
  column: 36
54147
54246
  }
54148
54247
  }, {
54149
54248
  start: {
54150
- line: 274,
54249
+ line: 278,
54151
54250
  column: 16
54152
54251
  },
54153
54252
  end: {
54154
- line: 276,
54253
+ line: 280,
54155
54254
  column: 22
54156
54255
  }
54157
54256
  }],
54158
- line: 273
54257
+ line: 277
54159
54258
  },
54160
- "37": {
54259
+ "38": {
54161
54260
  loc: {
54162
54261
  start: {
54163
- line: 285,
54262
+ line: 290,
54164
54263
  column: 25
54165
54264
  },
54166
54265
  end: {
54167
- line: 285,
54266
+ line: 290,
54168
54267
  column: 55
54169
54268
  }
54170
54269
  },
54171
54270
  type: "binary-expr",
54172
54271
  locations: [{
54173
54272
  start: {
54174
- line: 285,
54273
+ line: 290,
54175
54274
  column: 25
54176
54275
  },
54177
54276
  end: {
54178
- line: 285,
54277
+ line: 290,
54179
54278
  column: 36
54180
54279
  }
54181
54280
  }, {
54182
54281
  start: {
54183
- line: 285,
54282
+ line: 290,
54184
54283
  column: 40
54185
54284
  },
54186
54285
  end: {
54187
- line: 285,
54286
+ line: 290,
54188
54287
  column: 55
54189
54288
  }
54190
54289
  }],
54191
- line: 285
54290
+ line: 290
54192
54291
  },
54193
- "38": {
54292
+ "39": {
54194
54293
  loc: {
54195
54294
  start: {
54196
- line: 290,
54295
+ line: 295,
54197
54296
  column: 15
54198
54297
  },
54199
54298
  end: {
54200
- line: 297,
54299
+ line: 302,
54201
54300
  column: 15
54202
54301
  }
54203
54302
  },
54204
54303
  type: "binary-expr",
54205
54304
  locations: [{
54206
54305
  start: {
54207
- line: 290,
54306
+ line: 295,
54208
54307
  column: 15
54209
54308
  },
54210
54309
  end: {
54211
- line: 290,
54310
+ line: 295,
54212
54311
  column: 29
54213
54312
  }
54214
54313
  }, {
54215
54314
  start: {
54216
- line: 290,
54315
+ line: 295,
54217
54316
  column: 33
54218
54317
  },
54219
54318
  end: {
54220
- line: 290,
54319
+ line: 295,
54221
54320
  column: 59
54222
54321
  }
54223
54322
  }, {
54224
54323
  start: {
54225
- line: 291,
54324
+ line: 296,
54226
54325
  column: 16
54227
54326
  },
54228
54327
  end: {
54229
- line: 296,
54328
+ line: 301,
54230
54329
  column: 22
54231
54330
  }
54232
54331
  }],
54233
- line: 290
54332
+ line: 295
54234
54333
  },
54235
- "39": {
54334
+ "40": {
54236
54335
  loc: {
54237
54336
  start: {
54238
- line: 299,
54337
+ line: 304,
54239
54338
  column: 15
54240
54339
  },
54241
54340
  end: {
54242
- line: 319,
54341
+ line: 324,
54243
54342
  column: 15
54244
54343
  }
54245
54344
  },
54246
54345
  type: "binary-expr",
54247
54346
  locations: [{
54248
54347
  start: {
54249
- line: 299,
54348
+ line: 304,
54250
54349
  column: 15
54251
54350
  },
54252
54351
  end: {
54253
- line: 299,
54352
+ line: 304,
54254
54353
  column: 42
54255
54354
  }
54256
54355
  }, {
54257
54356
  start: {
54258
- line: 300,
54357
+ line: 305,
54259
54358
  column: 16
54260
54359
  },
54261
54360
  end: {
54262
- line: 318,
54361
+ line: 323,
54263
54362
  column: 22
54264
54363
  }
54265
54364
  }],
54266
- line: 299
54365
+ line: 304
54267
54366
  },
54268
- "40": {
54367
+ "41": {
54269
54368
  loc: {
54270
54369
  start: {
54271
- line: 302,
54370
+ line: 307,
54272
54371
  column: 30
54273
54372
  },
54274
54373
  end: {
54275
- line: 302,
54374
+ line: 307,
54276
54375
  column: 57
54277
54376
  }
54278
54377
  },
54279
54378
  type: "binary-expr",
54280
54379
  locations: [{
54281
54380
  start: {
54282
- line: 302,
54381
+ line: 307,
54283
54382
  column: 30
54284
54383
  },
54285
54384
  end: {
54286
- line: 302,
54385
+ line: 307,
54287
54386
  column: 42
54288
54387
  }
54289
54388
  }, {
54290
54389
  start: {
54291
- line: 302,
54390
+ line: 307,
54292
54391
  column: 46
54293
54392
  },
54294
54393
  end: {
54295
- line: 302,
54394
+ line: 307,
54296
54395
  column: 57
54297
54396
  }
54298
54397
  }],
54299
- line: 302
54398
+ line: 307
54300
54399
  },
54301
- "41": {
54400
+ "42": {
54302
54401
  loc: {
54303
54402
  start: {
54304
- line: 307,
54403
+ line: 312,
54305
54404
  column: 19
54306
54405
  },
54307
54406
  end: {
54308
- line: 314,
54407
+ line: 319,
54309
54408
  column: 19
54310
54409
  }
54311
54410
  },
54312
54411
  type: "binary-expr",
54313
54412
  locations: [{
54314
54413
  start: {
54315
- line: 307,
54414
+ line: 312,
54316
54415
  column: 19
54317
54416
  },
54318
54417
  end: {
54319
- line: 307,
54418
+ line: 312,
54320
54419
  column: 35
54321
54420
  }
54322
54421
  }, {
54323
54422
  start: {
54324
- line: 308,
54423
+ line: 313,
54325
54424
  column: 20
54326
54425
  },
54327
54426
  end: {
54328
- line: 313,
54427
+ line: 318,
54329
54428
  column: 22
54330
54429
  }
54331
54430
  }],
54332
- line: 307
54431
+ line: 312
54333
54432
  },
54334
- "42": {
54433
+ "43": {
54335
54434
  loc: {
54336
54435
  start: {
54337
- line: 315,
54436
+ line: 320,
54338
54437
  column: 19
54339
54438
  },
54340
54439
  end: {
54341
- line: 317,
54440
+ line: 322,
54342
54441
  column: 19
54343
54442
  }
54344
54443
  },
54345
54444
  type: "binary-expr",
54346
54445
  locations: [{
54347
54446
  start: {
54348
- line: 315,
54447
+ line: 320,
54349
54448
  column: 19
54350
54449
  },
54351
54450
  end: {
54352
- line: 315,
54451
+ line: 320,
54353
54452
  column: 36
54354
54453
  }
54355
54454
  }, {
54356
54455
  start: {
54357
- line: 316,
54456
+ line: 321,
54358
54457
  column: 20
54359
54458
  },
54360
54459
  end: {
54361
- line: 316,
54460
+ line: 321,
54362
54461
  column: 68
54363
54462
  }
54364
54463
  }],
54365
- line: 315
54464
+ line: 320
54366
54465
  },
54367
- "43": {
54466
+ "44": {
54368
54467
  loc: {
54369
54468
  start: {
54370
- line: 321,
54469
+ line: 326,
54371
54470
  column: 13
54372
54471
  },
54373
54472
  end: {
54374
- line: 330,
54473
+ line: 335,
54375
54474
  column: 13
54376
54475
  }
54377
54476
  },
54378
54477
  type: "binary-expr",
54379
54478
  locations: [{
54380
54479
  start: {
54381
- line: 321,
54480
+ line: 326,
54382
54481
  column: 13
54383
54482
  },
54384
54483
  end: {
54385
- line: 321,
54484
+ line: 326,
54386
54485
  column: 33
54387
54486
  }
54388
54487
  }, {
54389
54488
  start: {
54390
- line: 322,
54489
+ line: 327,
54391
54490
  column: 14
54392
54491
  },
54393
54492
  end: {
54394
- line: 329,
54493
+ line: 334,
54395
54494
  column: 16
54396
54495
  }
54397
54496
  }],
54398
- line: 321
54497
+ line: 326
54399
54498
  }
54400
54499
  },
54401
54500
  s: {
@@ -54479,7 +54578,11 @@ function cov_2jkcclu7mz() {
54479
54578
  "77": 0,
54480
54579
  "78": 0,
54481
54580
  "79": 0,
54482
- "80": 0
54581
+ "80": 0,
54582
+ "81": 0,
54583
+ "82": 0,
54584
+ "83": 0,
54585
+ "84": 0
54483
54586
  },
54484
54587
  f: {
54485
54588
  "0": 0,
@@ -54496,7 +54599,8 @@ function cov_2jkcclu7mz() {
54496
54599
  "11": 0,
54497
54600
  "12": 0,
54498
54601
  "13": 0,
54499
- "14": 0
54602
+ "14": 0,
54603
+ "15": 0
54500
54604
  },
54501
54605
  b: {
54502
54606
  "0": [0],
@@ -54523,12 +54627,12 @@ function cov_2jkcclu7mz() {
54523
54627
  "21": [0, 0],
54524
54628
  "22": [0, 0],
54525
54629
  "23": [0, 0],
54526
- "24": [0],
54630
+ "24": [0, 0],
54527
54631
  "25": [0, 0],
54528
- "26": [0, 0, 0, 0],
54632
+ "26": [0],
54529
54633
  "27": [0, 0],
54530
54634
  "28": [0, 0],
54531
- "29": [0, 0],
54635
+ "29": [0, 0, 0, 0],
54532
54636
  "30": [0, 0],
54533
54637
  "31": [0, 0],
54534
54638
  "32": [0, 0],
@@ -54537,15 +54641,16 @@ function cov_2jkcclu7mz() {
54537
54641
  "35": [0, 0],
54538
54642
  "36": [0, 0],
54539
54643
  "37": [0, 0],
54540
- "38": [0, 0, 0],
54541
- "39": [0, 0],
54644
+ "38": [0, 0],
54645
+ "39": [0, 0, 0],
54542
54646
  "40": [0, 0],
54543
54647
  "41": [0, 0],
54544
54648
  "42": [0, 0],
54545
- "43": [0, 0]
54649
+ "43": [0, 0],
54650
+ "44": [0, 0]
54546
54651
  },
54547
54652
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
54548
- hash: "51bd1ad954b6360a0539e2d9c1f4e4c2acb8e797"
54653
+ hash: "d9ee2f22455f43dadbd75a28c98de235b66d5bf6"
54549
54654
  };
54550
54655
  var coverage = global[gcv] || (global[gcv] = {});
54551
54656
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -54627,24 +54732,25 @@ var ExternalForm = function ExternalForm(_ref) {
54627
54732
  setError = _ref9[1];
54628
54733
  var formRef = (cov_2jkcclu7mz().s[6]++, React$2.useRef());
54629
54734
  var formikInnerRef = (cov_2jkcclu7mz().s[7]++, React$2.useRef());
54630
- var queryClient = (cov_2jkcclu7mz().s[8]++, useQueryClient());
54631
- var _ref10 = (cov_2jkcclu7mz().s[9]++, reactI18next.useTranslation()),
54735
+ var editorRef = (cov_2jkcclu7mz().s[8]++, React$2.useRef());
54736
+ var queryClient = (cov_2jkcclu7mz().s[9]++, useQueryClient());
54737
+ var _ref10 = (cov_2jkcclu7mz().s[10]++, reactI18next.useTranslation()),
54632
54738
  t = _ref10.t;
54633
- cov_2jkcclu7mz().s[10]++;
54739
+ cov_2jkcclu7mz().s[11]++;
54634
54740
  React$2.useEffect(function () {
54635
54741
  cov_2jkcclu7mz().f[1]++;
54636
- cov_2jkcclu7mz().s[11]++;
54742
+ cov_2jkcclu7mz().s[12]++;
54637
54743
  setLocalValues(getWithExpiry("".concat(formId, "/values")));
54638
54744
  }, [formId]);
54639
- var _ref11 = (cov_2jkcclu7mz().s[12]++, useCreateSubmission({
54745
+ var _ref11 = (cov_2jkcclu7mz().s[13]++, useCreateSubmission({
54640
54746
  enabled: !submissionId
54641
54747
  })),
54642
54748
  createSubmission = _ref11.mutateAsync;
54643
- var _ref12 = (cov_2jkcclu7mz().s[13]++, useUpdateSubmission({
54749
+ var _ref12 = (cov_2jkcclu7mz().s[14]++, useUpdateSubmission({
54644
54750
  enabled: !!submissionId
54645
54751
  })),
54646
54752
  updateSubmission = _ref12.mutateAsync;
54647
- var _ref13 = (cov_2jkcclu7mz().s[14]++, useSubmission({
54753
+ var _ref13 = (cov_2jkcclu7mz().s[15]++, useSubmission({
54648
54754
  formId: formId,
54649
54755
  submissionId: submissionId,
54650
54756
  placeholderData: submissionId ? (cov_2jkcclu7mz().b[11][0]++, {
@@ -54654,13 +54760,13 @@ var ExternalForm = function ExternalForm(_ref) {
54654
54760
  enabled: !!submissionId
54655
54761
  })),
54656
54762
  submission = _ref13.data;
54657
- cov_2jkcclu7mz().s[15]++;
54763
+ cov_2jkcclu7mz().s[16]++;
54658
54764
  var clearLocalFormValues = function clearLocalFormValues() {
54659
54765
  cov_2jkcclu7mz().f[2]++;
54660
- cov_2jkcclu7mz().s[16]++;
54766
+ cov_2jkcclu7mz().s[17]++;
54661
54767
  return clearLocalStorageValues("".concat(formId, "/values"));
54662
54768
  };
54663
- cov_2jkcclu7mz().s[17]++;
54769
+ cov_2jkcclu7mz().s[18]++;
54664
54770
  var onSubmit = /*#__PURE__*/function () {
54665
54771
  var _ref15 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(values, _ref14) {
54666
54772
  var setSubmitting, responses, newResponses, data;
@@ -54669,32 +54775,32 @@ var ExternalForm = function ExternalForm(_ref) {
54669
54775
  case 0:
54670
54776
  setSubmitting = _ref14.setSubmitting;
54671
54777
  cov_2jkcclu7mz().f[3]++;
54672
- cov_2jkcclu7mz().s[18]++;
54778
+ cov_2jkcclu7mz().s[19]++;
54673
54779
  setError(null);
54674
- responses = (cov_2jkcclu7mz().s[19]++, generateFormResponse(values, questions));
54675
- cov_2jkcclu7mz().s[20]++;
54676
- _context.prev = 6;
54780
+ responses = (cov_2jkcclu7mz().s[20]++, generateFormResponse(values, questions));
54677
54781
  cov_2jkcclu7mz().s[21]++;
54782
+ _context.prev = 6;
54783
+ cov_2jkcclu7mz().s[22]++;
54678
54784
  if (!preview) {
54679
54785
  _context.next = 15;
54680
54786
  break;
54681
54787
  }
54682
54788
  cov_2jkcclu7mz().b[12][0]++;
54683
- cov_2jkcclu7mz().s[22]++;
54789
+ cov_2jkcclu7mz().s[23]++;
54684
54790
  _context.next = 13;
54685
54791
  return new Promise(function (resolve) {
54686
54792
  cov_2jkcclu7mz().f[4]++;
54687
- cov_2jkcclu7mz().s[23]++;
54793
+ cov_2jkcclu7mz().s[24]++;
54688
54794
  return setTimeout(function () {
54689
54795
  cov_2jkcclu7mz().f[5]++;
54690
- cov_2jkcclu7mz().s[24]++;
54691
- resolve();
54692
54796
  cov_2jkcclu7mz().s[25]++;
54693
- setIsSubmitted(true);
54797
+ resolve();
54694
54798
  cov_2jkcclu7mz().s[26]++;
54799
+ setIsSubmitted(true);
54800
+ cov_2jkcclu7mz().s[27]++;
54695
54801
  setTimeout(function () {
54696
54802
  cov_2jkcclu7mz().f[6]++;
54697
- cov_2jkcclu7mz().s[27]++;
54803
+ cov_2jkcclu7mz().s[28]++;
54698
54804
  return setShowSuccess(true);
54699
54805
  }, 1000);
54700
54806
  }, 1500);
@@ -54704,21 +54810,21 @@ var ExternalForm = function ExternalForm(_ref) {
54704
54810
  break;
54705
54811
  case 15:
54706
54812
  cov_2jkcclu7mz().b[12][1]++;
54707
- cov_2jkcclu7mz().s[28]++;
54813
+ cov_2jkcclu7mz().s[29]++;
54708
54814
  if (!onBeforeSubmit) {
54709
54815
  _context.next = 27;
54710
54816
  break;
54711
54817
  }
54712
54818
  cov_2jkcclu7mz().b[13][0]++;
54713
- cov_2jkcclu7mz().s[29]++;
54819
+ cov_2jkcclu7mz().s[30]++;
54714
54820
  _context.next = 22;
54715
54821
  return onBeforeSubmit(responses, values);
54716
54822
  case 22:
54717
54823
  newResponses = _context.sent;
54718
- cov_2jkcclu7mz().s[30]++;
54824
+ cov_2jkcclu7mz().s[31]++;
54719
54825
  if (newResponses) {
54720
54826
  cov_2jkcclu7mz().b[14][0]++;
54721
- cov_2jkcclu7mz().s[31]++;
54827
+ cov_2jkcclu7mz().s[32]++;
54722
54828
  responses = newResponses;
54723
54829
  } else {
54724
54830
  cov_2jkcclu7mz().b[14][1]++;
@@ -54728,13 +54834,13 @@ var ExternalForm = function ExternalForm(_ref) {
54728
54834
  case 27:
54729
54835
  cov_2jkcclu7mz().b[13][1]++;
54730
54836
  case 28:
54731
- cov_2jkcclu7mz().s[32]++;
54837
+ cov_2jkcclu7mz().s[33]++;
54732
54838
  if (!customSubmitHandler) {
54733
54839
  _context.next = 39;
54734
54840
  break;
54735
54841
  }
54736
54842
  cov_2jkcclu7mz().b[15][0]++;
54737
- cov_2jkcclu7mz().s[33]++;
54843
+ cov_2jkcclu7mz().s[34]++;
54738
54844
  _context.next = 34;
54739
54845
  return customSubmitHandler({
54740
54846
  responses: responses,
@@ -54742,19 +54848,19 @@ var ExternalForm = function ExternalForm(_ref) {
54742
54848
  }, clearLocalFormValues);
54743
54849
  case 34:
54744
54850
  data = _context.sent;
54745
- cov_2jkcclu7mz().s[34]++;
54851
+ cov_2jkcclu7mz().s[35]++;
54746
54852
  queryClient.invalidateQueries([QUERY_KEYS.SUBMISSION, formId, submissionId]);
54747
54853
  _context.next = 54;
54748
54854
  break;
54749
54855
  case 39:
54750
54856
  cov_2jkcclu7mz().b[15][1]++;
54751
- cov_2jkcclu7mz().s[35]++;
54857
+ cov_2jkcclu7mz().s[36]++;
54752
54858
  if (!submissionId) {
54753
54859
  _context.next = 49;
54754
54860
  break;
54755
54861
  }
54756
54862
  cov_2jkcclu7mz().b[16][0]++;
54757
- cov_2jkcclu7mz().s[36]++;
54863
+ cov_2jkcclu7mz().s[37]++;
54758
54864
  _context.next = 46;
54759
54865
  return updateSubmission({
54760
54866
  formId: formId,
@@ -54771,7 +54877,7 @@ var ExternalForm = function ExternalForm(_ref) {
54771
54877
  break;
54772
54878
  case 49:
54773
54879
  cov_2jkcclu7mz().b[16][1]++;
54774
- cov_2jkcclu7mz().s[37]++;
54880
+ cov_2jkcclu7mz().s[38]++;
54775
54881
  _context.next = 53;
54776
54882
  return createSubmission({
54777
54883
  formId: formId,
@@ -54784,25 +54890,25 @@ var ExternalForm = function ExternalForm(_ref) {
54784
54890
  case 53:
54785
54891
  data = _context.sent;
54786
54892
  case 54:
54787
- cov_2jkcclu7mz().s[38]++;
54788
- (cov_2jkcclu7mz().b[17][0]++, showSuccessToastr) && (cov_2jkcclu7mz().b[17][1]++, neetoui.Toastr.success(t("neetoForm.toasts.formSubmitted")));
54789
54893
  cov_2jkcclu7mz().s[39]++;
54790
- (cov_2jkcclu7mz().b[18][0]++, clearValuesOnSubmit) && (cov_2jkcclu7mz().b[18][1]++, clearLocalFormValues());
54894
+ (cov_2jkcclu7mz().b[17][0]++, showSuccessToastr) && (cov_2jkcclu7mz().b[17][1]++, neetoui.Toastr.success(t("neetoForm.toasts.formSubmitted")));
54791
54895
  cov_2jkcclu7mz().s[40]++;
54896
+ (cov_2jkcclu7mz().b[18][0]++, clearValuesOnSubmit) && (cov_2jkcclu7mz().b[18][1]++, clearLocalFormValues());
54897
+ cov_2jkcclu7mz().s[41]++;
54792
54898
  onSubmitSuccess === null || onSubmitSuccess === void 0 ? void 0 : onSubmitSuccess({
54793
54899
  values: values,
54794
54900
  responses: responses,
54795
54901
  data: data
54796
54902
  }, clearLocalFormValues);
54797
- cov_2jkcclu7mz().s[41]++;
54903
+ cov_2jkcclu7mz().s[42]++;
54798
54904
  if (isMounted()) {
54799
54905
  cov_2jkcclu7mz().b[19][0]++;
54800
- cov_2jkcclu7mz().s[42]++;
54801
- setIsSubmitted(true);
54802
54906
  cov_2jkcclu7mz().s[43]++;
54907
+ setIsSubmitted(true);
54908
+ cov_2jkcclu7mz().s[44]++;
54803
54909
  setTimeout(function () {
54804
54910
  cov_2jkcclu7mz().f[7]++;
54805
- cov_2jkcclu7mz().s[44]++;
54911
+ cov_2jkcclu7mz().s[45]++;
54806
54912
  return setShowSuccess(true);
54807
54913
  }, 1000);
54808
54914
  } else {
@@ -54814,14 +54920,14 @@ var ExternalForm = function ExternalForm(_ref) {
54814
54920
  case 64:
54815
54921
  _context.prev = 64;
54816
54922
  _context.t0 = _context["catch"](6);
54817
- cov_2jkcclu7mz().s[45]++;
54923
+ cov_2jkcclu7mz().s[46]++;
54818
54924
  setError(parseServerError(_context.t0));
54819
54925
  case 68:
54820
54926
  _context.prev = 68;
54821
- cov_2jkcclu7mz().s[46]++;
54927
+ cov_2jkcclu7mz().s[47]++;
54822
54928
  if (isMounted()) {
54823
54929
  cov_2jkcclu7mz().b[20][0]++;
54824
- cov_2jkcclu7mz().s[47]++;
54930
+ cov_2jkcclu7mz().s[48]++;
54825
54931
  setSubmitting(false);
54826
54932
  } else {
54827
54933
  cov_2jkcclu7mz().b[20][1]++;
@@ -54837,44 +54943,69 @@ var ExternalForm = function ExternalForm(_ref) {
54837
54943
  return _ref15.apply(this, arguments);
54838
54944
  };
54839
54945
  }();
54840
- cov_2jkcclu7mz().s[48]++;
54841
- var handleScrollToError = function handleScrollToError(errors) {
54946
+ cov_2jkcclu7mz().s[49]++;
54947
+ var _onReset = function onReset(e, handleReset) {
54948
+ var _editorRef$current, _editorRef$current$ed, _editorRef$current$ed2, _formDomProps$onReset;
54842
54949
  cov_2jkcclu7mz().f[8]++;
54843
- cov_2jkcclu7mz().s[49]++;
54844
- if (!formRef.current) {
54950
+ cov_2jkcclu7mz().s[50]++;
54951
+ if (clearValuesOnReset) {
54845
54952
  cov_2jkcclu7mz().b[21][0]++;
54846
- cov_2jkcclu7mz().s[50]++;
54847
- return;
54953
+ cov_2jkcclu7mz().s[51]++;
54954
+ clearLocalStorageValues("".concat(formId, "/values"));
54955
+ cov_2jkcclu7mz().s[52]++;
54956
+ setLocalValues(generateInitValues(questions));
54957
+ cov_2jkcclu7mz().s[53]++;
54958
+ (cov_2jkcclu7mz().b[22][0]++, submissionId) && (cov_2jkcclu7mz().b[22][1]++, queryClient.setQueryData([QUERY_KEYS.SUBMISSION, formId, submissionId], {
54959
+ responses: []
54960
+ }));
54848
54961
  } else {
54849
54962
  cov_2jkcclu7mz().b[21][1]++;
54850
54963
  }
54851
- var errorKeys = (cov_2jkcclu7mz().s[51]++, Object.keys(errors));
54852
- cov_2jkcclu7mz().s[52]++;
54964
+ cov_2jkcclu7mz().s[54]++;
54965
+ editorRef === null || editorRef === void 0 ? void 0 : (_editorRef$current = editorRef.current) === null || _editorRef$current === void 0 ? void 0 : (_editorRef$current$ed = _editorRef$current.editor) === null || _editorRef$current$ed === void 0 ? void 0 : (_editorRef$current$ed2 = _editorRef$current$ed.commands) === null || _editorRef$current$ed2 === void 0 ? void 0 : _editorRef$current$ed2.setContent("");
54966
+ cov_2jkcclu7mz().s[55]++;
54967
+ handleReset(e);
54968
+ cov_2jkcclu7mz().s[56]++;
54969
+ formDomProps === null || formDomProps === void 0 ? void 0 : (_formDomProps$onReset = formDomProps.onReset) === null || _formDomProps$onReset === void 0 ? void 0 : _formDomProps$onReset.call(formDomProps, e);
54970
+ };
54971
+ cov_2jkcclu7mz().s[57]++;
54972
+ var handleScrollToError = function handleScrollToError(errors) {
54973
+ cov_2jkcclu7mz().f[9]++;
54974
+ cov_2jkcclu7mz().s[58]++;
54975
+ if (!formRef.current) {
54976
+ cov_2jkcclu7mz().b[23][0]++;
54977
+ cov_2jkcclu7mz().s[59]++;
54978
+ return;
54979
+ } else {
54980
+ cov_2jkcclu7mz().b[23][1]++;
54981
+ }
54982
+ var errorKeys = (cov_2jkcclu7mz().s[60]++, Object.keys(errors));
54983
+ cov_2jkcclu7mz().s[61]++;
54853
54984
  if (ramda.isEmpty(errorKeys)) {
54854
- cov_2jkcclu7mz().b[22][0]++;
54855
- cov_2jkcclu7mz().s[53]++;
54985
+ cov_2jkcclu7mz().b[24][0]++;
54986
+ cov_2jkcclu7mz().s[62]++;
54856
54987
  return;
54857
54988
  } else {
54858
- cov_2jkcclu7mz().b[22][1]++;
54989
+ cov_2jkcclu7mz().b[24][1]++;
54859
54990
  }
54860
- cov_2jkcclu7mz().s[54]++;
54991
+ cov_2jkcclu7mz().s[63]++;
54861
54992
  var _iterator = _createForOfIteratorHelper(formRef.current),
54862
54993
  _step;
54863
54994
  try {
54864
54995
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
54865
54996
  var formElement = _step.value;
54866
- cov_2jkcclu7mz().s[55]++;
54997
+ cov_2jkcclu7mz().s[64]++;
54867
54998
  if (errorKeys.includes(formElement.name)) {
54868
- cov_2jkcclu7mz().b[23][0]++;
54869
- cov_2jkcclu7mz().s[56]++;
54999
+ cov_2jkcclu7mz().b[25][0]++;
55000
+ cov_2jkcclu7mz().s[65]++;
54870
55001
  formElement.scrollIntoView({
54871
55002
  behavior: "smooth",
54872
55003
  block: "center"
54873
55004
  });
54874
- cov_2jkcclu7mz().s[57]++;
55005
+ cov_2jkcclu7mz().s[66]++;
54875
55006
  break;
54876
55007
  } else {
54877
- cov_2jkcclu7mz().b[23][1]++;
55008
+ cov_2jkcclu7mz().b[25][1]++;
54878
55009
  }
54879
55010
  }
54880
55011
  } catch (err) {
@@ -54883,7 +55014,7 @@ var ExternalForm = function ExternalForm(_ref) {
54883
55014
  _iterator.f();
54884
55015
  }
54885
55016
  };
54886
- var _ref16 = (cov_2jkcclu7mz().s[58]++, useForm({
55017
+ var _ref16 = (cov_2jkcclu7mz().s[67]++, useForm({
54887
55018
  formId: formId,
54888
55019
  preview: preview,
54889
55020
  onError: neetoui.Toastr.error,
@@ -54893,60 +55024,60 @@ var ExternalForm = function ExternalForm(_ref) {
54893
55024
  }
54894
55025
  })),
54895
55026
  _ref16$data = _ref16.data,
54896
- form = _ref16$data === void 0 ? (cov_2jkcclu7mz().b[24][0]++, {
55027
+ form = _ref16$data === void 0 ? (cov_2jkcclu7mz().b[26][0]++, {
54897
55028
  title: "",
54898
55029
  questions: []
54899
55030
  }) : _ref16$data,
54900
55031
  isLoading = _ref16.isLoading;
54901
- var keyPressRef = (cov_2jkcclu7mz().s[59]++, reactUtils.useHotKeys("command+enter", (_formikInnerRef$curre = formikInnerRef.current) === null || _formikInnerRef$curre === void 0 ? void 0 : _formikInnerRef$curre.handleSubmit, {
55032
+ var keyPressRef = (cov_2jkcclu7mz().s[68]++, reactUtils.useHotKeys("command+enter", (cov_2jkcclu7mz().b[27][0]++, (_formikInnerRef$curre = formikInnerRef.current) === null || _formikInnerRef$curre === void 0 ? void 0 : _formikInnerRef$curre.handleSubmit) || (cov_2jkcclu7mz().b[27][1]++, pure.noop), {
54902
55033
  mode: "scoped"
54903
55034
  }));
54904
- cov_2jkcclu7mz().s[60]++;
54905
- if ((cov_2jkcclu7mz().b[26][0]++, isLoading) || (cov_2jkcclu7mz().b[26][1]++, form.isQuestionsLoading) || (cov_2jkcclu7mz().b[26][2]++, !!submissionId) && (cov_2jkcclu7mz().b[26][3]++, submission !== null && submission !== void 0 && submission.isLoading)) {
54906
- cov_2jkcclu7mz().b[25][0]++;
54907
- cov_2jkcclu7mz().s[61]++;
55035
+ cov_2jkcclu7mz().s[69]++;
55036
+ if ((cov_2jkcclu7mz().b[29][0]++, isLoading) || (cov_2jkcclu7mz().b[29][1]++, form.isQuestionsLoading) || (cov_2jkcclu7mz().b[29][2]++, !!submissionId) && (cov_2jkcclu7mz().b[29][3]++, submission !== null && submission !== void 0 && submission.isLoading)) {
55037
+ cov_2jkcclu7mz().b[28][0]++;
55038
+ cov_2jkcclu7mz().s[70]++;
54908
55039
  return /*#__PURE__*/React__default["default"].createElement("div", {
54909
55040
  className: "loader flex h-full w-full items-center justify-center"
54910
55041
  }, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
54911
55042
  } else {
54912
- cov_2jkcclu7mz().b[25][1]++;
55043
+ cov_2jkcclu7mz().b[28][1]++;
54913
55044
  }
54914
- var _ref17 = (cov_2jkcclu7mz().s[62]++, form),
55045
+ var _ref17 = (cov_2jkcclu7mz().s[71]++, form),
54915
55046
  title = _ref17.title,
54916
55047
  questions = _ref17.questions;
54917
- var renderedQuestions = (cov_2jkcclu7mz().s[63]++, preview ? (cov_2jkcclu7mz().b[27][0]++, questions.filter(function (_ref18) {
55048
+ var renderedQuestions = (cov_2jkcclu7mz().s[72]++, preview ? (cov_2jkcclu7mz().b[30][0]++, questions.filter(function (_ref18) {
54918
55049
  var _destroy = _ref18._destroy;
54919
- cov_2jkcclu7mz().f[9]++;
54920
- cov_2jkcclu7mz().s[64]++;
55050
+ cov_2jkcclu7mz().f[10]++;
55051
+ cov_2jkcclu7mz().s[73]++;
54921
55052
  return !_destroy;
54922
- })) : (cov_2jkcclu7mz().b[27][1]++, questions));
54923
- cov_2jkcclu7mz().s[65]++;
54924
- if ((cov_2jkcclu7mz().b[29][0]++, displayThankYou) && (cov_2jkcclu7mz().b[29][1]++, showSuccess)) {
54925
- cov_2jkcclu7mz().b[28][0]++;
54926
- cov_2jkcclu7mz().s[66]++;
55053
+ })) : (cov_2jkcclu7mz().b[30][1]++, questions));
55054
+ cov_2jkcclu7mz().s[74]++;
55055
+ if ((cov_2jkcclu7mz().b[32][0]++, displayThankYou) && (cov_2jkcclu7mz().b[32][1]++, showSuccess)) {
55056
+ cov_2jkcclu7mz().b[31][0]++;
55057
+ cov_2jkcclu7mz().s[75]++;
54927
55058
  return /*#__PURE__*/React__default["default"].createElement(Success$1, null);
54928
55059
  } else {
54929
- cov_2jkcclu7mz().b[28][1]++;
55060
+ cov_2jkcclu7mz().b[31][1]++;
54930
55061
  }
54931
- cov_2jkcclu7mz().s[67]++;
54932
- return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (cov_2jkcclu7mz().b[30][0]++, showTitle) && (cov_2jkcclu7mz().b[30][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
55062
+ cov_2jkcclu7mz().s[76]++;
55063
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (cov_2jkcclu7mz().b[33][0]++, showTitle) && (cov_2jkcclu7mz().b[33][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
54933
55064
  className: "py-6 text-center"
54934
55065
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, _extends$8({
54935
55066
  className: "neeto-ui-text-gray-800",
54936
55067
  style: "h4",
54937
55068
  weight: "semibold"
54938
- }, titleProps), (cov_2jkcclu7mz().b[31][0]++, formTitle) || (cov_2jkcclu7mz().b[31][1]++, title)))), /*#__PURE__*/React__default["default"].createElement(formik.Formik, {
55069
+ }, titleProps), (cov_2jkcclu7mz().b[34][0]++, formTitle) || (cov_2jkcclu7mz().b[34][1]++, title)))), /*#__PURE__*/React__default["default"].createElement(formik.Formik, {
54939
55070
  enableReinitialize: true,
54940
55071
  innerRef: formikInnerRef,
54941
- 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)),
55072
+ initialValues: generateInitValues(questions, submission === null || submission === void 0 ? void 0 : submission.responses, preserveValues ? (cov_2jkcclu7mz().b[35][0]++, localValues) : (cov_2jkcclu7mz().b[35][1]++, initialValues)),
54942
55073
  onSubmit: onSubmit
54943
55074
  }, function (_ref19) {
54944
55075
  var isSubmitting = _ref19.isSubmitting,
54945
55076
  errors = _ref19.errors,
54946
55077
  setFieldError = _ref19.setFieldError,
54947
55078
  handleReset = _ref19.handleReset;
54948
- cov_2jkcclu7mz().f[10]++;
54949
- cov_2jkcclu7mz().s[68]++;
55079
+ cov_2jkcclu7mz().f[11]++;
55080
+ cov_2jkcclu7mz().s[77]++;
54950
55081
  return /*#__PURE__*/React__default["default"].createElement(FormikWrap, {
54951
55082
  formId: formId,
54952
55083
  preserveValues: preserveValues,
@@ -54958,85 +55089,69 @@ var ExternalForm = function ExternalForm(_ref) {
54958
55089
  ref: mergeRefs(formRef, keyPressRef),
54959
55090
  className: classnames__default["default"]("neeto-form-engine-form relative space-y-4", _defineProperty$7({}, className, className)),
54960
55091
  onChange: function onChange(event) {
54961
- cov_2jkcclu7mz().f[11]++;
54962
- cov_2jkcclu7mz().s[69]++;
55092
+ cov_2jkcclu7mz().f[12]++;
55093
+ cov_2jkcclu7mz().s[78]++;
54963
55094
  if (!ramda.isEmpty(errors)) {
54964
- cov_2jkcclu7mz().b[33][0]++;
54965
- cov_2jkcclu7mz().s[70]++;
55095
+ cov_2jkcclu7mz().b[36][0]++;
55096
+ cov_2jkcclu7mz().s[79]++;
54966
55097
  setFieldError(event.target.name, "");
54967
55098
  } else {
54968
- cov_2jkcclu7mz().b[33][1]++;
55099
+ cov_2jkcclu7mz().b[36][1]++;
54969
55100
  }
54970
55101
  }
54971
55102
  }, formDomProps, {
54972
55103
  onReset: function onReset(e) {
54973
- var _formDomProps$onReset;
54974
- cov_2jkcclu7mz().f[12]++;
54975
- cov_2jkcclu7mz().s[71]++;
54976
- if (clearValuesOnReset) {
54977
- cov_2jkcclu7mz().b[34][0]++;
54978
- cov_2jkcclu7mz().s[72]++;
54979
- clearLocalStorageValues("".concat(formId, "/values"));
54980
- cov_2jkcclu7mz().s[73]++;
54981
- setLocalValues(generateInitValues(questions));
54982
- cov_2jkcclu7mz().s[74]++;
54983
- (cov_2jkcclu7mz().b[35][0]++, submissionId) && (cov_2jkcclu7mz().b[35][1]++, queryClient.setQueryData([QUERY_KEYS.SUBMISSION, formId, submissionId], {
54984
- responses: []
54985
- }));
54986
- } else {
54987
- cov_2jkcclu7mz().b[34][1]++;
54988
- }
54989
- cov_2jkcclu7mz().s[75]++;
54990
- handleReset(e);
54991
- cov_2jkcclu7mz().s[76]++;
54992
- formDomProps === null || formDomProps === void 0 ? void 0 : (_formDomProps$onReset = formDomProps.onReset) === null || _formDomProps$onReset === void 0 ? void 0 : _formDomProps$onReset.call(formDomProps, e);
55104
+ cov_2jkcclu7mz().f[13]++;
55105
+ cov_2jkcclu7mz().s[80]++;
55106
+ return _onReset(e, handleReset);
54993
55107
  }
54994
- }), (cov_2jkcclu7mz().b[36][0]++, submission === null || submission === void 0 ? void 0 : submission.isLoading) && (cov_2jkcclu7mz().b[36][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
55108
+ }), (cov_2jkcclu7mz().b[37][0]++, submission === null || submission === void 0 ? void 0 : submission.isLoading) && (cov_2jkcclu7mz().b[37][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
54995
55109
  className: "neeto-ui-bg-gray-100 absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center opacity-75"
54996
55110
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Spinner, null))), renderedQuestions.map(function (question) {
54997
55111
  var _ref20;
54998
- cov_2jkcclu7mz().f[13]++;
54999
- var FieldComponent = (cov_2jkcclu7mz().s[77]++, getFieldComponent(question));
55000
- cov_2jkcclu7mz().s[78]++;
55112
+ cov_2jkcclu7mz().f[14]++;
55113
+ var FieldComponent = (cov_2jkcclu7mz().s[81]++, getFieldComponent(question));
55114
+ cov_2jkcclu7mz().s[82]++;
55001
55115
  return /*#__PURE__*/React__default["default"].createElement(FieldComponent, {
55002
55116
  customValidator: customValidator === null || customValidator === void 0 ? void 0 : customValidator(question),
55117
+ editorRef: editorRef,
55003
55118
  editorProps: editorProps,
55004
55119
  question: question,
55005
- key: (_ref20 = (cov_2jkcclu7mz().b[37][0]++, question.id)) !== null && _ref20 !== void 0 ? _ref20 : (cov_2jkcclu7mz().b[37][1]++, question.nodeId),
55120
+ key: (_ref20 = (cov_2jkcclu7mz().b[38][0]++, question.id)) !== null && _ref20 !== void 0 ? _ref20 : (cov_2jkcclu7mz().b[38][1]++, question.nodeId),
55006
55121
  showPrefixIcon: showPrefixIcons
55007
55122
  });
55008
- }), (cov_2jkcclu7mz().b[38][0]++, showEmptyState) && (cov_2jkcclu7mz().b[38][1]++, ramda.isEmpty(renderedQuestions)) && (cov_2jkcclu7mz().b[38][2]++, /*#__PURE__*/React__default["default"].createElement("div", {
55123
+ }), (cov_2jkcclu7mz().b[39][0]++, showEmptyState) && (cov_2jkcclu7mz().b[39][1]++, ramda.isEmpty(renderedQuestions)) && (cov_2jkcclu7mz().b[39][2]++, /*#__PURE__*/React__default["default"].createElement("div", {
55009
55124
  className: "flex flex-col items-center justify-center gap-y-4 py-8"
55010
55125
  }, /*#__PURE__*/React__default["default"].createElement(SvgNoQuestions, null), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
55011
55126
  style: "h3",
55012
55127
  weight: "semibold"
55013
- }, t("neetoForm.questions.common.notFound")))), footer, (cov_2jkcclu7mz().b[39][0]++, !ramda.isEmpty(renderedQuestions)) && (cov_2jkcclu7mz().b[39][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
55128
+ }, t("neetoForm.questions.common.notFound")))), footer, (cov_2jkcclu7mz().b[40][0]++, !ramda.isEmpty(renderedQuestions)) && (cov_2jkcclu7mz().b[40][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
55014
55129
  className: "mt-8 flex items-center justify-start gap-x-2"
55015
55130
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$8({
55016
- disabled: (cov_2jkcclu7mz().b[40][0]++, isSubmitting) || (cov_2jkcclu7mz().b[40][1]++, isSubmitted),
55131
+ disabled: (cov_2jkcclu7mz().b[41][0]++, isSubmitting) || (cov_2jkcclu7mz().b[41][1]++, isSubmitted),
55017
55132
  loading: isSubmitting,
55018
55133
  type: "submit"
55019
- }, submitButtonProps)), (cov_2jkcclu7mz().b[41][0]++, resetButtonProps) && (cov_2jkcclu7mz().b[41][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$8({
55134
+ }, submitButtonProps)), (cov_2jkcclu7mz().b[42][0]++, resetButtonProps) && (cov_2jkcclu7mz().b[42][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$8({
55020
55135
  label: t("neetoForm.common.reset"),
55021
55136
  style: "secondary",
55022
55137
  type: "reset"
55023
- }, resetButtonProps))), (cov_2jkcclu7mz().b[42][0]++, cancelButtonProps) && (cov_2jkcclu7mz().b[42][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$8({
55138
+ }, resetButtonProps))), (cov_2jkcclu7mz().b[43][0]++, cancelButtonProps) && (cov_2jkcclu7mz().b[43][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$8({
55024
55139
  label: "Cancel"
55025
- }, cancelButtonProps)))))), (cov_2jkcclu7mz().b[43][0]++, !customSubmitHandler) && (cov_2jkcclu7mz().b[43][1]++, /*#__PURE__*/React__default["default"].createElement(Callout, {
55140
+ }, cancelButtonProps)))))), (cov_2jkcclu7mz().b[44][0]++, !customSubmitHandler) && (cov_2jkcclu7mz().b[44][1]++, /*#__PURE__*/React__default["default"].createElement(Callout, {
55026
55141
  callout: {
55027
55142
  isVisible: pure.isPresent(error),
55028
55143
  title: t("neetoForm.callouts.submitError"),
55029
55144
  message: error
55030
55145
  },
55031
55146
  onClose: function onClose() {
55032
- cov_2jkcclu7mz().f[14]++;
55033
- cov_2jkcclu7mz().s[79]++;
55147
+ cov_2jkcclu7mz().f[15]++;
55148
+ cov_2jkcclu7mz().s[83]++;
55034
55149
  return setError(null);
55035
55150
  }
55036
55151
  })));
55037
55152
  }));
55038
55153
  };
55039
- cov_2jkcclu7mz().s[80]++;
55154
+ cov_2jkcclu7mz().s[84]++;
55040
55155
 
55041
55156
  var dist = {};
55042
55157