@bigbinary/neeto-editor 1.25.18 → 1.25.20

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/index.cjs.js CHANGED
@@ -10,6 +10,7 @@ var neetoui = require('@bigbinary/neetoui');
10
10
  var neetoIcons = require('@bigbinary/neeto-icons');
11
11
  var axios = require('axios');
12
12
  var ReactDOM = require('react-dom');
13
+ var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
13
14
  var formik = require('formik');
14
15
 
15
16
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -107268,7 +107269,7 @@ var TableView = /*#__PURE__*/function () {
107268
107269
 
107269
107270
  function cov_nye8a7co4() {
107270
107271
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Table/ExtensionConfig.js";
107271
- var hash = "de894d7c43cfd0d353e9ecad543e58d66a576906";
107272
+ var hash = "de033c6cf3fecaeadaeeac0cc2c558f24c74e3a0";
107272
107273
  var global = new Function("return this")();
107273
107274
  var gcv = "__coverage__";
107274
107275
  var coverageData = {
@@ -107280,7 +107281,7 @@ function cov_nye8a7co4() {
107280
107281
  column: 14
107281
107282
  },
107282
107283
  end: {
107283
- line: 28,
107284
+ line: 36,
107284
107285
  column: 2
107285
107286
  }
107286
107287
  },
@@ -107297,20 +107298,50 @@ function cov_nye8a7co4() {
107297
107298
  "2": {
107298
107299
  start: {
107299
107300
  line: 18,
107301
+ column: 22
107302
+ },
107303
+ end: {
107304
+ line: 20,
107305
+ column: 5
107306
+ }
107307
+ },
107308
+ "3": {
107309
+ start: {
107310
+ line: 19,
107311
+ column: 13
107312
+ },
107313
+ end: {
107314
+ line: 19,
107315
+ column: 74
107316
+ }
107317
+ },
107318
+ "4": {
107319
+ start: {
107320
+ line: 22,
107300
107321
  column: 4
107301
107322
  },
107302
107323
  end: {
107324
+ line: 22,
107325
+ column: 67
107326
+ }
107327
+ },
107328
+ "5": {
107329
+ start: {
107303
107330
  line: 26,
107331
+ column: 4
107332
+ },
107333
+ end: {
107334
+ line: 34,
107304
107335
  column: 6
107305
107336
  }
107306
107337
  },
107307
- "3": {
107338
+ "6": {
107308
107339
  start: {
107309
- line: 21,
107340
+ line: 29,
107310
107341
  column: 8
107311
107342
  },
107312
107343
  end: {
107313
- line: 25,
107344
+ line: 33,
107314
107345
  column: 16
107315
107346
  }
107316
107347
  }
@@ -107355,10 +107386,10 @@ function cov_nye8a7co4() {
107355
107386
  loc: {
107356
107387
  start: {
107357
107388
  line: 17,
107358
- column: 25
107389
+ column: 23
107359
107390
  },
107360
107391
  end: {
107361
- line: 27,
107392
+ line: 23,
107362
107393
  column: 3
107363
107394
  }
107364
107395
  },
@@ -107368,42 +107399,131 @@ function cov_nye8a7co4() {
107368
107399
  name: "(anonymous_2)",
107369
107400
  decl: {
107370
107401
  start: {
107371
- line: 20,
107402
+ line: 19,
107403
+ column: 6
107404
+ },
107405
+ end: {
107406
+ line: 19,
107407
+ column: 7
107408
+ }
107409
+ },
107410
+ loc: {
107411
+ start: {
107412
+ line: 19,
107413
+ column: 13
107414
+ },
107415
+ end: {
107416
+ line: 19,
107417
+ column: 74
107418
+ }
107419
+ },
107420
+ line: 19
107421
+ },
107422
+ "3": {
107423
+ name: "(anonymous_3)",
107424
+ decl: {
107425
+ start: {
107426
+ line: 25,
107427
+ column: 2
107428
+ },
107429
+ end: {
107430
+ line: 25,
107431
+ column: 3
107432
+ }
107433
+ },
107434
+ loc: {
107435
+ start: {
107436
+ line: 25,
107437
+ column: 25
107438
+ },
107439
+ end: {
107440
+ line: 35,
107441
+ column: 3
107442
+ }
107443
+ },
107444
+ line: 25
107445
+ },
107446
+ "4": {
107447
+ name: "(anonymous_4)",
107448
+ decl: {
107449
+ start: {
107450
+ line: 28,
107372
107451
  column: 19
107373
107452
  },
107374
107453
  end: {
107375
- line: 20,
107454
+ line: 28,
107376
107455
  column: 20
107377
107456
  }
107378
107457
  },
107379
107458
  loc: {
107380
107459
  start: {
107381
- line: 21,
107460
+ line: 29,
107382
107461
  column: 8
107383
107462
  },
107384
107463
  end: {
107385
- line: 25,
107464
+ line: 33,
107386
107465
  column: 16
107387
107466
  }
107388
107467
  },
107389
- line: 21
107468
+ line: 29
107469
+ }
107470
+ },
107471
+ branchMap: {
107472
+ "0": {
107473
+ loc: {
107474
+ start: {
107475
+ line: 19,
107476
+ column: 40
107477
+ },
107478
+ end: {
107479
+ line: 19,
107480
+ column: 66
107481
+ }
107482
+ },
107483
+ type: "binary-expr",
107484
+ locations: [{
107485
+ start: {
107486
+ line: 19,
107487
+ column: 40
107488
+ },
107489
+ end: {
107490
+ line: 19,
107491
+ column: 59
107492
+ }
107493
+ }, {
107494
+ start: {
107495
+ line: 19,
107496
+ column: 63
107497
+ },
107498
+ end: {
107499
+ line: 19,
107500
+ column: 66
107501
+ }
107502
+ }],
107503
+ line: 19
107390
107504
  }
107391
107505
  },
107392
- branchMap: {},
107393
107506
  s: {
107394
107507
  "0": 0,
107395
107508
  "1": 0,
107396
107509
  "2": 0,
107397
- "3": 0
107510
+ "3": 0,
107511
+ "4": 0,
107512
+ "5": 0,
107513
+ "6": 0
107398
107514
  },
107399
107515
  f: {
107400
107516
  "0": 0,
107401
107517
  "1": 0,
107402
- "2": 0
107518
+ "2": 0,
107519
+ "3": 0,
107520
+ "4": 0
107521
+ },
107522
+ b: {
107523
+ "0": [0, 0]
107403
107524
  },
107404
- b: {},
107405
107525
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
107406
- hash: "de894d7c43cfd0d353e9ecad543e58d66a576906"
107526
+ hash: "de033c6cf3fecaeadaeeac0cc2c558f24c74e3a0"
107407
107527
  };
107408
107528
  var coverage = global[gcv] || (global[gcv] = {});
107409
107529
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -107435,15 +107555,30 @@ var Table = (cov_nye8a7co4().s[0]++, Table$2.extend({
107435
107555
  allowTableNodeSelection: true
107436
107556
  };
107437
107557
  },
107558
+ renderHTML: function renderHTML(_ref) {
107559
+ var _node$content, _node$content$content, _node$content$content2, _node$content$content3, _node$content$content4;
107560
+ var node = _ref.node;
107561
+ cov_nye8a7co4().f[1]++;
107562
+ var colgroups = (cov_nye8a7co4().s[2]++, node === null || node === void 0 ? void 0 : (_node$content = node.content) === null || _node$content === void 0 ? void 0 : (_node$content$content = _node$content.content) === null || _node$content$content === void 0 ? void 0 : (_node$content$content2 = _node$content$content[0]) === null || _node$content$content2 === void 0 ? void 0 : (_node$content$content3 = _node$content$content2.content) === null || _node$content$content3 === void 0 ? void 0 : (_node$content$content4 = _node$content$content3.content) === null || _node$content$content4 === void 0 ? void 0 : _node$content$content4.map(function (col) {
107563
+ var _col$attrs;
107564
+ cov_nye8a7co4().f[2]++;
107565
+ cov_nye8a7co4().s[3]++;
107566
+ return ["col", {
107567
+ style: "width: ".concat((cov_nye8a7co4().b[0][0]++, (_col$attrs = col.attrs) === null || _col$attrs === void 0 ? void 0 : _col$attrs.colwidth) || (cov_nye8a7co4().b[0][1]++, 100), "px;")
107568
+ }];
107569
+ }));
107570
+ cov_nye8a7co4().s[4]++;
107571
+ return ["table", {}, ["colgroup"].concat(_toConsumableArray$1(colgroups)), ["tbody", 0]];
107572
+ },
107438
107573
  addKeyboardShortcuts: function addKeyboardShortcuts() {
107439
107574
  var _this$parent,
107440
107575
  _this = this;
107441
- cov_nye8a7co4().f[1]++;
107442
- cov_nye8a7co4().s[2]++;
107576
+ cov_nye8a7co4().f[3]++;
107577
+ cov_nye8a7co4().s[5]++;
107443
107578
  return _objectSpread$3(_objectSpread$3({}, (_this$parent = this.parent) === null || _this$parent === void 0 ? void 0 : _this$parent.call(this)), {}, {
107444
107579
  "Mod-alt-t": function ModAltT() {
107445
- cov_nye8a7co4().f[2]++;
107446
- cov_nye8a7co4().s[3]++;
107580
+ cov_nye8a7co4().f[4]++;
107581
+ cov_nye8a7co4().s[6]++;
107447
107582
  return _this.editor.chain().focus().insertTable({
107448
107583
  rows: 3,
107449
107584
  cols: 3,
@@ -129620,7 +129755,7 @@ var Menu = function Menu(props) {
129620
129755
  var _excluded$2 = ["addonCommands", "addons", "attachments", "attachmentsConfig", "autoFocus", "className", "contentClassName", "menuClassName", "attachmentsClassName", "isMenuIndependent", "defaults", "editorSecrets", "error", "extensions", "hideSlashCommands", "initialValue", "isCharacterCountActive", "keyboardShortcuts", "label", "mentions", "menuType", "placeholder", "required", "rows", "tooltips", "uploadEndpoint", "variables", "onChange", "onFocus", "onBlur", "onSubmit", "onChangeAttachments", "children"];
129621
129756
  function cov_1p0jklglk1() {
129622
129757
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/index.jsx";
129623
- var hash = "009e9991f109937e0cf3853bbc8e0b4c04717259";
129758
+ var hash = "c5d48f13e7e1021183c30c48104047469e66db07";
129624
129759
  var global = new Function("return this")();
129625
129760
  var gcv = "__coverage__";
129626
129761
  var coverageData = {
@@ -129628,291 +129763,301 @@ function cov_1p0jklglk1() {
129628
129763
  statementMap: {
129629
129764
  "0": {
129630
129765
  start: {
129631
- line: 27,
129766
+ line: 28,
129632
129767
  column: 15
129633
129768
  },
129634
129769
  end: {
129635
- line: 215,
129770
+ line: 221,
129636
129771
  column: 1
129637
129772
  }
129638
129773
  },
129639
129774
  "1": {
129640
129775
  start: {
129641
- line: 66,
129776
+ line: 67,
129642
129777
  column: 22
129643
129778
  },
129644
129779
  end: {
129645
- line: 66,
129780
+ line: 67,
129646
129781
  column: 34
129647
129782
  }
129648
129783
  },
129649
129784
  "2": {
129650
129785
  start: {
129651
- line: 67,
129786
+ line: 68,
129652
129787
  column: 30
129653
129788
  },
129654
129789
  end: {
129655
- line: 67,
129790
+ line: 68,
129656
129791
  column: 73
129657
129792
  }
129658
129793
  },
129659
129794
  "3": {
129660
129795
  start: {
129661
- line: 68,
129796
+ line: 69,
129662
129797
  column: 29
129663
129798
  },
129664
129799
  end: {
129665
- line: 68,
129800
+ line: 69,
129666
129801
  column: 72
129667
129802
  }
129668
129803
  },
129669
129804
  "4": {
129670
129805
  start: {
129671
- line: 70,
129806
+ line: 71,
129672
129807
  column: 4
129673
129808
  },
129674
129809
  end: {
129675
- line: 71,
129810
+ line: 72,
129676
129811
  column: 48
129677
129812
  }
129678
129813
  },
129679
129814
  "5": {
129680
129815
  start: {
129681
- line: 72,
129816
+ line: 73,
129682
129817
  column: 28
129683
129818
  },
129684
129819
  end: {
129685
- line: 72,
129820
+ line: 73,
129686
129821
  column: 48
129687
129822
  }
129688
129823
  },
129689
129824
  "6": {
129690
129825
  start: {
129691
- line: 73,
129826
+ line: 74,
129692
129827
  column: 29
129693
129828
  },
129694
129829
  end: {
129695
- line: 73,
129830
+ line: 74,
129696
129831
  column: 50
129697
129832
  }
129698
129833
  },
129699
129834
  "7": {
129700
129835
  start: {
129701
- line: 74,
129836
+ line: 75,
129702
129837
  column: 32
129703
129838
  },
129704
129839
  end: {
129705
- line: 74,
129840
+ line: 75,
129706
129841
  column: 50
129707
129842
  }
129708
129843
  },
129709
129844
  "8": {
129710
129845
  start: {
129711
- line: 75,
129846
+ line: 76,
129712
129847
  column: 30
129713
129848
  },
129714
129849
  end: {
129715
- line: 75,
129850
+ line: 76,
129716
129851
  column: 43
129717
129852
  }
129718
129853
  },
129719
129854
  "9": {
129720
129855
  start: {
129721
- line: 76,
129856
+ line: 77,
129722
129857
  column: 50
129723
129858
  },
129724
129859
  end: {
129725
- line: 76,
129860
+ line: 77,
129726
129861
  column: 65
129727
129862
  }
129728
129863
  },
129729
129864
  "10": {
129730
129865
  start: {
129731
- line: 77,
129866
+ line: 78,
129732
129867
  column: 44
129733
129868
  },
129734
129869
  end: {
129735
- line: 80,
129870
+ line: 81,
129736
129871
  column: 4
129737
129872
  }
129738
129873
  },
129739
129874
  "11": {
129740
129875
  start: {
129741
- line: 82,
129876
+ line: 83,
129742
129877
  column: 28
129743
129878
  },
129744
129879
  end: {
129745
- line: 82,
129880
+ line: 83,
129746
129881
  column: 40
129747
129882
  }
129748
129883
  },
129749
129884
  "12": {
129750
129885
  start: {
129751
- line: 83,
129886
+ line: 84,
129752
129887
  column: 34
129753
129888
  },
129754
129889
  end: {
129755
- line: 84,
129890
+ line: 85,
129756
129891
  column: 66
129757
129892
  }
129758
129893
  },
129759
129894
  "13": {
129760
129895
  start: {
129761
- line: 84,
129896
+ line: 85,
129762
129897
  column: 4
129763
129898
  },
129764
129899
  end: {
129765
- line: 84,
129900
+ line: 85,
129766
129901
  column: 66
129767
129902
  }
129768
129903
  },
129769
129904
  "14": {
129770
129905
  start: {
129771
- line: 86,
129906
+ line: 87,
129772
129907
  column: 27
129773
129908
  },
129774
129909
  end: {
129775
- line: 100,
129910
+ line: 101,
129776
129911
  column: 4
129777
129912
  }
129778
129913
  },
129779
129914
  "15": {
129780
129915
  start: {
129781
- line: 101,
129916
+ line: 102,
129782
129917
  column: 2
129783
129918
  },
129784
129919
  end: {
129785
- line: 101,
129920
+ line: 102,
129786
129921
  column: 38
129787
129922
  }
129788
129923
  },
129789
129924
  "16": {
129790
129925
  start: {
129791
- line: 103,
129792
- column: 24
129926
+ line: 104,
129927
+ column: 23
129793
129928
  },
129794
129929
  end: {
129795
- line: 110,
129796
- column: 4
129930
+ line: 107,
129931
+ column: 3
129797
129932
  }
129798
129933
  },
129799
129934
  "17": {
129800
129935
  start: {
129801
- line: 112,
129802
- column: 17
129936
+ line: 105,
129937
+ column: 20
129803
129938
  },
129804
129939
  end: {
129805
- line: 129,
129806
- column: 4
129940
+ line: 105,
129941
+ column: 46
129807
129942
  }
129808
129943
  },
129809
129944
  "18": {
129810
129945
  start: {
129811
- line: 125,
129812
- column: 30
129946
+ line: 109,
129947
+ column: 24
129813
129948
  },
129814
129949
  end: {
129815
- line: 125,
129816
- column: 70
129950
+ line: 116,
129951
+ column: 4
129817
129952
  }
129818
129953
  },
129819
129954
  "19": {
129820
129955
  start: {
129821
- line: 126,
129822
- column: 30
129956
+ line: 118,
129957
+ column: 17
129823
129958
  },
129824
129959
  end: {
129825
- line: 126,
129826
- column: 56
129960
+ line: 135,
129961
+ column: 4
129827
129962
  }
129828
129963
  },
129829
129964
  "20": {
129830
129965
  start: {
129831
- line: 132,
129966
+ line: 131,
129967
+ column: 30
129968
+ },
129969
+ end: {
129970
+ line: 131,
129971
+ column: 70
129972
+ }
129973
+ },
129974
+ "21": {
129975
+ start: {
129976
+ line: 138,
129832
129977
  column: 2
129833
129978
  },
129834
129979
  end: {
129835
- line: 135,
129980
+ line: 141,
129836
129981
  column: 6
129837
129982
  }
129838
129983
  },
129839
- "21": {
129984
+ "22": {
129840
129985
  start: {
129841
- line: 132,
129986
+ line: 138,
129842
129987
  column: 34
129843
129988
  },
129844
129989
  end: {
129845
- line: 135,
129990
+ line: 141,
129846
129991
  column: 3
129847
129992
  }
129848
129993
  },
129849
- "22": {
129994
+ "23": {
129850
129995
  start: {
129851
- line: 134,
129996
+ line: 140,
129852
129997
  column: 17
129853
129998
  },
129854
129999
  end: {
129855
- line: 134,
130000
+ line: 140,
129856
130001
  column: 40
129857
130002
  }
129858
130003
  },
129859
- "23": {
130004
+ "24": {
129860
130005
  start: {
129861
- line: 138,
130006
+ line: 144,
129862
130007
  column: 2
129863
130008
  },
129864
130009
  end: {
129865
- line: 141,
130010
+ line: 147,
129866
130011
  column: 4
129867
130012
  }
129868
130013
  },
129869
- "24": {
130014
+ "25": {
129870
130015
  start: {
129871
- line: 139,
130016
+ line: 145,
129872
130017
  column: 4
129873
130018
  },
129874
130019
  end: {
129875
- line: 139,
130020
+ line: 145,
129876
130021
  column: 30
129877
130022
  }
129878
130023
  },
129879
- "25": {
130024
+ "26": {
129880
130025
  start: {
129881
- line: 139,
130026
+ line: 145,
129882
130027
  column: 23
129883
130028
  },
129884
130029
  end: {
129885
- line: 139,
130030
+ line: 145,
129886
130031
  column: 30
129887
130032
  }
129888
130033
  },
129889
- "26": {
130034
+ "27": {
129890
130035
  start: {
129891
- line: 140,
130036
+ line: 146,
129892
130037
  column: 4
129893
130038
  },
129894
130039
  end: {
129895
- line: 140,
130040
+ line: 146,
129896
130041
  column: 71
129897
130042
  }
129898
130043
  },
129899
- "27": {
130044
+ "28": {
129900
130045
  start: {
129901
- line: 143,
130046
+ line: 149,
129902
130047
  column: 2
129903
130048
  },
129904
130049
  end: {
129905
- line: 214,
130050
+ line: 220,
129906
130051
  column: 4
129907
130052
  }
129908
130053
  },
129909
- "28": {
130054
+ "29": {
129910
130055
  start: {
129911
- line: 188,
130056
+ line: 194,
129912
130057
  column: 29
129913
130058
  },
129914
130059
  end: {
129915
- line: 188,
130060
+ line: 194,
129916
130061
  column: 77
129917
130062
  }
129918
130063
  }
@@ -129922,221 +130067,197 @@ function cov_1p0jklglk1() {
129922
130067
  name: "(anonymous_0)",
129923
130068
  decl: {
129924
130069
  start: {
129925
- line: 27,
130070
+ line: 28,
129926
130071
  column: 15
129927
130072
  },
129928
130073
  end: {
129929
- line: 27,
130074
+ line: 28,
129930
130075
  column: 16
129931
130076
  }
129932
130077
  },
129933
130078
  loc: {
129934
130079
  start: {
129935
- line: 65,
130080
+ line: 66,
129936
130081
  column: 5
129937
130082
  },
129938
130083
  end: {
129939
- line: 215,
130084
+ line: 221,
129940
130085
  column: 1
129941
130086
  }
129942
130087
  },
129943
- line: 65
130088
+ line: 66
129944
130089
  },
129945
130090
  "1": {
129946
130091
  name: "(anonymous_1)",
129947
130092
  decl: {
129948
130093
  start: {
129949
- line: 83,
130094
+ line: 84,
129950
130095
  column: 34
129951
130096
  },
129952
130097
  end: {
129953
- line: 83,
130098
+ line: 84,
129954
130099
  column: 35
129955
130100
  }
129956
130101
  },
129957
130102
  loc: {
129958
130103
  start: {
129959
- line: 84,
130104
+ line: 85,
129960
130105
  column: 4
129961
130106
  },
129962
130107
  end: {
129963
- line: 84,
130108
+ line: 85,
129964
130109
  column: 66
129965
130110
  }
129966
130111
  },
129967
- line: 84
130112
+ line: 85
129968
130113
  },
129969
130114
  "2": {
129970
130115
  name: "(anonymous_2)",
129971
130116
  decl: {
129972
130117
  start: {
129973
- line: 125,
129974
- column: 14
130118
+ line: 105,
130119
+ column: 4
129975
130120
  },
129976
130121
  end: {
129977
- line: 125,
129978
- column: 15
130122
+ line: 105,
130123
+ column: 5
129979
130124
  }
129980
130125
  },
129981
130126
  loc: {
129982
130127
  start: {
129983
- line: 125,
129984
- column: 30
130128
+ line: 105,
130129
+ column: 20
129985
130130
  },
129986
130131
  end: {
129987
- line: 125,
129988
- column: 70
130132
+ line: 105,
130133
+ column: 46
129989
130134
  }
129990
130135
  },
129991
- line: 125
130136
+ line: 105
129992
130137
  },
129993
130138
  "3": {
129994
130139
  name: "(anonymous_3)",
129995
130140
  decl: {
129996
130141
  start: {
129997
- line: 126,
130142
+ line: 131,
129998
130143
  column: 14
129999
130144
  },
130000
130145
  end: {
130001
- line: 126,
130146
+ line: 131,
130002
130147
  column: 15
130003
130148
  }
130004
130149
  },
130005
130150
  loc: {
130006
130151
  start: {
130007
- line: 126,
130152
+ line: 131,
130008
130153
  column: 30
130009
130154
  },
130010
130155
  end: {
130011
- line: 126,
130012
- column: 56
130156
+ line: 131,
130157
+ column: 70
130013
130158
  }
130014
130159
  },
130015
- line: 126
130160
+ line: 131
130016
130161
  },
130017
130162
  "4": {
130018
130163
  name: "(anonymous_4)",
130019
130164
  decl: {
130020
130165
  start: {
130021
- line: 132,
130166
+ line: 138,
130022
130167
  column: 27
130023
130168
  },
130024
130169
  end: {
130025
- line: 132,
130170
+ line: 138,
130026
130171
  column: 28
130027
130172
  }
130028
130173
  },
130029
130174
  loc: {
130030
130175
  start: {
130031
- line: 132,
130176
+ line: 138,
130032
130177
  column: 34
130033
130178
  },
130034
130179
  end: {
130035
- line: 135,
130180
+ line: 141,
130036
130181
  column: 3
130037
130182
  }
130038
130183
  },
130039
- line: 132
130184
+ line: 138
130040
130185
  },
130041
130186
  "5": {
130042
130187
  name: "(anonymous_5)",
130043
130188
  decl: {
130044
130189
  start: {
130045
- line: 134,
130190
+ line: 140,
130046
130191
  column: 11
130047
130192
  },
130048
130193
  end: {
130049
- line: 134,
130194
+ line: 140,
130050
130195
  column: 12
130051
130196
  }
130052
130197
  },
130053
130198
  loc: {
130054
130199
  start: {
130055
- line: 134,
130200
+ line: 140,
130056
130201
  column: 17
130057
130202
  },
130058
130203
  end: {
130059
- line: 134,
130204
+ line: 140,
130060
130205
  column: 40
130061
130206
  }
130062
130207
  },
130063
- line: 134
130208
+ line: 140
130064
130209
  },
130065
130210
  "6": {
130066
130211
  name: "updateState",
130067
130212
  decl: {
130068
130213
  start: {
130069
- line: 138,
130214
+ line: 144,
130070
130215
  column: 46
130071
130216
  },
130072
130217
  end: {
130073
- line: 138,
130218
+ line: 144,
130074
130219
  column: 57
130075
130220
  }
130076
130221
  },
130077
130222
  loc: {
130078
130223
  start: {
130079
- line: 138,
130224
+ line: 144,
130080
130225
  column: 65
130081
130226
  },
130082
130227
  end: {
130083
- line: 141,
130228
+ line: 147,
130084
130229
  column: 3
130085
130230
  }
130086
130231
  },
130087
- line: 138
130232
+ line: 144
130088
130233
  },
130089
130234
  "7": {
130090
130235
  name: "(anonymous_7)",
130091
130236
  decl: {
130092
130237
  start: {
130093
- line: 188,
130238
+ line: 194,
130094
130239
  column: 23
130095
130240
  },
130096
130241
  end: {
130097
- line: 188,
130242
+ line: 194,
130098
130243
  column: 24
130099
130244
  }
130100
130245
  },
130101
130246
  loc: {
130102
130247
  start: {
130103
- line: 188,
130248
+ line: 194,
130104
130249
  column: 29
130105
130250
  },
130106
130251
  end: {
130107
- line: 188,
130252
+ line: 194,
130108
130253
  column: 77
130109
130254
  }
130110
130255
  },
130111
- line: 188
130256
+ line: 194
130112
130257
  }
130113
130258
  },
130114
130259
  branchMap: {
130115
130260
  "0": {
130116
- loc: {
130117
- start: {
130118
- line: 29,
130119
- column: 4
130120
- },
130121
- end: {
130122
- line: 29,
130123
- column: 22
130124
- }
130125
- },
130126
- type: "default-arg",
130127
- locations: [{
130128
- start: {
130129
- line: 29,
130130
- column: 20
130131
- },
130132
- end: {
130133
- line: 29,
130134
- column: 22
130135
- }
130136
- }],
130137
- line: 29
130138
- },
130139
- "1": {
130140
130261
  loc: {
130141
130262
  start: {
130142
130263
  line: 30,
@@ -130144,23 +130265,23 @@ function cov_1p0jklglk1() {
130144
130265
  },
130145
130266
  end: {
130146
130267
  line: 30,
130147
- column: 15
130268
+ column: 22
130148
130269
  }
130149
130270
  },
130150
130271
  type: "default-arg",
130151
130272
  locations: [{
130152
130273
  start: {
130153
130274
  line: 30,
130154
- column: 13
130275
+ column: 20
130155
130276
  },
130156
130277
  end: {
130157
130278
  line: 30,
130158
- column: 15
130279
+ column: 22
130159
130280
  }
130160
130281
  }],
130161
130282
  line: 30
130162
130283
  },
130163
- "2": {
130284
+ "1": {
130164
130285
  loc: {
130165
130286
  start: {
130166
130287
  line: 31,
@@ -130168,23 +130289,23 @@ function cov_1p0jklglk1() {
130168
130289
  },
130169
130290
  end: {
130170
130291
  line: 31,
130171
- column: 20
130292
+ column: 15
130172
130293
  }
130173
130294
  },
130174
130295
  type: "default-arg",
130175
130296
  locations: [{
130176
130297
  start: {
130177
130298
  line: 31,
130178
- column: 18
130299
+ column: 13
130179
130300
  },
130180
130301
  end: {
130181
130302
  line: 31,
130182
- column: 20
130303
+ column: 15
130183
130304
  }
130184
130305
  }],
130185
130306
  line: 31
130186
130307
  },
130187
- "3": {
130308
+ "2": {
130188
130309
  loc: {
130189
130310
  start: {
130190
130311
  line: 32,
@@ -130192,23 +130313,23 @@ function cov_1p0jklglk1() {
130192
130313
  },
130193
130314
  end: {
130194
130315
  line: 32,
130195
- column: 26
130316
+ column: 20
130196
130317
  }
130197
130318
  },
130198
130319
  type: "default-arg",
130199
130320
  locations: [{
130200
130321
  start: {
130201
130322
  line: 32,
130202
- column: 24
130323
+ column: 18
130203
130324
  },
130204
130325
  end: {
130205
130326
  line: 32,
130206
- column: 26
130327
+ column: 20
130207
130328
  }
130208
130329
  }],
130209
130330
  line: 32
130210
130331
  },
130211
- "4": {
130332
+ "3": {
130212
130333
  loc: {
130213
130334
  start: {
130214
130335
  line: 33,
@@ -130216,47 +130337,47 @@ function cov_1p0jklglk1() {
130216
130337
  },
130217
130338
  end: {
130218
130339
  line: 33,
130219
- column: 21
130340
+ column: 26
130220
130341
  }
130221
130342
  },
130222
130343
  type: "default-arg",
130223
130344
  locations: [{
130224
130345
  start: {
130225
130346
  line: 33,
130226
- column: 16
130347
+ column: 24
130227
130348
  },
130228
130349
  end: {
130229
130350
  line: 33,
130230
- column: 21
130351
+ column: 26
130231
130352
  }
130232
130353
  }],
130233
130354
  line: 33
130234
130355
  },
130235
- "5": {
130356
+ "4": {
130236
130357
  loc: {
130237
130358
  start: {
130238
- line: 38,
130359
+ line: 34,
130239
130360
  column: 4
130240
130361
  },
130241
130362
  end: {
130242
- line: 38,
130243
- column: 29
130363
+ line: 34,
130364
+ column: 21
130244
130365
  }
130245
130366
  },
130246
130367
  type: "default-arg",
130247
130368
  locations: [{
130248
130369
  start: {
130249
- line: 38,
130250
- column: 24
130370
+ line: 34,
130371
+ column: 16
130251
130372
  },
130252
130373
  end: {
130253
- line: 38,
130254
- column: 29
130374
+ line: 34,
130375
+ column: 21
130255
130376
  }
130256
130377
  }],
130257
- line: 38
130378
+ line: 34
130258
130379
  },
130259
- "6": {
130380
+ "5": {
130260
130381
  loc: {
130261
130382
  start: {
130262
130383
  line: 39,
@@ -130264,23 +130385,23 @@ function cov_1p0jklglk1() {
130264
130385
  },
130265
130386
  end: {
130266
130387
  line: 39,
130267
- column: 37
130388
+ column: 29
130268
130389
  }
130269
130390
  },
130270
130391
  type: "default-arg",
130271
130392
  locations: [{
130272
130393
  start: {
130273
130394
  line: 39,
130274
- column: 15
130395
+ column: 24
130275
130396
  },
130276
130397
  end: {
130277
130398
  line: 39,
130278
- column: 37
130399
+ column: 29
130279
130400
  }
130280
130401
  }],
130281
130402
  line: 39
130282
130403
  },
130283
- "7": {
130404
+ "6": {
130284
130405
  loc: {
130285
130406
  start: {
130286
130407
  line: 40,
@@ -130288,23 +130409,23 @@ function cov_1p0jklglk1() {
130288
130409
  },
130289
130410
  end: {
130290
130411
  line: 40,
130291
- column: 22
130412
+ column: 37
130292
130413
  }
130293
130414
  },
130294
130415
  type: "default-arg",
130295
130416
  locations: [{
130296
130417
  start: {
130297
130418
  line: 40,
130298
- column: 20
130419
+ column: 15
130299
130420
  },
130300
130421
  end: {
130301
130422
  line: 40,
130302
- column: 22
130423
+ column: 37
130303
130424
  }
130304
130425
  }],
130305
130426
  line: 40
130306
130427
  },
130307
- "8": {
130428
+ "7": {
130308
130429
  loc: {
130309
130430
  start: {
130310
130431
  line: 41,
@@ -130312,23 +130433,23 @@ function cov_1p0jklglk1() {
130312
130433
  },
130313
130434
  end: {
130314
130435
  line: 41,
130315
- column: 16
130436
+ column: 22
130316
130437
  }
130317
130438
  },
130318
130439
  type: "default-arg",
130319
130440
  locations: [{
130320
130441
  start: {
130321
130442
  line: 41,
130322
- column: 12
130443
+ column: 20
130323
130444
  },
130324
130445
  end: {
130325
130446
  line: 41,
130326
- column: 16
130447
+ column: 22
130327
130448
  }
130328
130449
  }],
130329
130450
  line: 41
130330
130451
  },
130331
- "9": {
130452
+ "8": {
130332
130453
  loc: {
130333
130454
  start: {
130334
130455
  line: 42,
@@ -130336,23 +130457,23 @@ function cov_1p0jklglk1() {
130336
130457
  },
130337
130458
  end: {
130338
130459
  line: 42,
130339
- column: 19
130460
+ column: 16
130340
130461
  }
130341
130462
  },
130342
130463
  type: "default-arg",
130343
130464
  locations: [{
130344
130465
  start: {
130345
130466
  line: 42,
130346
- column: 17
130467
+ column: 12
130347
130468
  },
130348
130469
  end: {
130349
130470
  line: 42,
130350
- column: 19
130471
+ column: 16
130351
130472
  }
130352
130473
  }],
130353
130474
  line: 42
130354
130475
  },
130355
- "10": {
130476
+ "9": {
130356
130477
  loc: {
130357
130478
  start: {
130358
130479
  line: 43,
@@ -130360,23 +130481,23 @@ function cov_1p0jklglk1() {
130360
130481
  },
130361
130482
  end: {
130362
130483
  line: 43,
130363
- column: 29
130484
+ column: 19
130364
130485
  }
130365
130486
  },
130366
130487
  type: "default-arg",
130367
130488
  locations: [{
130368
130489
  start: {
130369
130490
  line: 43,
130370
- column: 24
130491
+ column: 17
130371
130492
  },
130372
130493
  end: {
130373
130494
  line: 43,
130374
- column: 29
130495
+ column: 19
130375
130496
  }
130376
130497
  }],
130377
130498
  line: 43
130378
130499
  },
130379
- "11": {
130500
+ "10": {
130380
130501
  loc: {
130381
130502
  start: {
130382
130503
  line: 44,
@@ -130384,23 +130505,23 @@ function cov_1p0jklglk1() {
130384
130505
  },
130385
130506
  end: {
130386
130507
  line: 44,
130387
- column: 21
130508
+ column: 29
130388
130509
  }
130389
130510
  },
130390
130511
  type: "default-arg",
130391
130512
  locations: [{
130392
130513
  start: {
130393
130514
  line: 44,
130394
- column: 19
130515
+ column: 24
130395
130516
  },
130396
130517
  end: {
130397
130518
  line: 44,
130398
- column: 21
130519
+ column: 29
130399
130520
  }
130400
130521
  }],
130401
130522
  line: 44
130402
130523
  },
130403
- "12": {
130524
+ "11": {
130404
130525
  loc: {
130405
130526
  start: {
130406
130527
  line: 45,
@@ -130408,23 +130529,23 @@ function cov_1p0jklglk1() {
130408
130529
  },
130409
130530
  end: {
130410
130531
  line: 45,
130411
- column: 34
130532
+ column: 21
130412
130533
  }
130413
130534
  },
130414
130535
  type: "default-arg",
130415
130536
  locations: [{
130416
130537
  start: {
130417
130538
  line: 45,
130418
- column: 29
130539
+ column: 19
130419
130540
  },
130420
130541
  end: {
130421
130542
  line: 45,
130422
- column: 34
130543
+ column: 21
130423
130544
  }
130424
130545
  }],
130425
130546
  line: 45
130426
130547
  },
130427
- "13": {
130548
+ "12": {
130428
130549
  loc: {
130429
130550
  start: {
130430
130551
  line: 46,
@@ -130432,23 +130553,23 @@ function cov_1p0jklglk1() {
130432
130553
  },
130433
130554
  end: {
130434
130555
  line: 46,
130435
- column: 26
130556
+ column: 34
130436
130557
  }
130437
130558
  },
130438
130559
  type: "default-arg",
130439
130560
  locations: [{
130440
130561
  start: {
130441
130562
  line: 46,
130442
- column: 24
130563
+ column: 29
130443
130564
  },
130444
130565
  end: {
130445
130566
  line: 46,
130446
- column: 26
130567
+ column: 34
130447
130568
  }
130448
130569
  }],
130449
130570
  line: 46
130450
130571
  },
130451
- "14": {
130572
+ "13": {
130452
130573
  loc: {
130453
130574
  start: {
130454
130575
  line: 47,
@@ -130456,23 +130577,23 @@ function cov_1p0jklglk1() {
130456
130577
  },
130457
130578
  end: {
130458
130579
  line: 47,
130459
- column: 14
130580
+ column: 26
130460
130581
  }
130461
130582
  },
130462
130583
  type: "default-arg",
130463
130584
  locations: [{
130464
130585
  start: {
130465
130586
  line: 47,
130466
- column: 12
130587
+ column: 24
130467
130588
  },
130468
130589
  end: {
130469
130590
  line: 47,
130470
- column: 14
130591
+ column: 26
130471
130592
  }
130472
130593
  }],
130473
130594
  line: 47
130474
130595
  },
130475
- "15": {
130596
+ "14": {
130476
130597
  loc: {
130477
130598
  start: {
130478
130599
  line: 48,
@@ -130480,23 +130601,23 @@ function cov_1p0jklglk1() {
130480
130601
  },
130481
130602
  end: {
130482
130603
  line: 48,
130483
- column: 17
130604
+ column: 14
130484
130605
  }
130485
130606
  },
130486
130607
  type: "default-arg",
130487
130608
  locations: [{
130488
130609
  start: {
130489
130610
  line: 48,
130490
- column: 15
130611
+ column: 12
130491
130612
  },
130492
130613
  end: {
130493
130614
  line: 48,
130494
- column: 17
130615
+ column: 14
130495
130616
  }
130496
130617
  }],
130497
130618
  line: 48
130498
130619
  },
130499
- "16": {
130620
+ "15": {
130500
130621
  loc: {
130501
130622
  start: {
130502
130623
  line: 49,
@@ -130504,7 +130625,7 @@ function cov_1p0jklglk1() {
130504
130625
  },
130505
130626
  end: {
130506
130627
  line: 49,
130507
- column: 22
130628
+ column: 17
130508
130629
  }
130509
130630
  },
130510
130631
  type: "default-arg",
@@ -130515,36 +130636,36 @@ function cov_1p0jklglk1() {
130515
130636
  },
130516
130637
  end: {
130517
130638
  line: 49,
130518
- column: 22
130639
+ column: 17
130519
130640
  }
130520
130641
  }],
130521
130642
  line: 49
130522
130643
  },
130523
- "17": {
130644
+ "16": {
130524
130645
  loc: {
130525
130646
  start: {
130526
- line: 51,
130647
+ line: 50,
130527
130648
  column: 4
130528
130649
  },
130529
130650
  end: {
130530
- line: 51,
130531
- column: 20
130651
+ line: 50,
130652
+ column: 22
130532
130653
  }
130533
130654
  },
130534
130655
  type: "default-arg",
130535
130656
  locations: [{
130536
130657
  start: {
130537
- line: 51,
130658
+ line: 50,
130538
130659
  column: 15
130539
130660
  },
130540
130661
  end: {
130541
- line: 51,
130542
- column: 20
130662
+ line: 50,
130663
+ column: 22
130543
130664
  }
130544
130665
  }],
130545
- line: 51
130666
+ line: 50
130546
130667
  },
130547
- "18": {
130668
+ "17": {
130548
130669
  loc: {
130549
130670
  start: {
130550
130671
  line: 52,
@@ -130552,23 +130673,23 @@ function cov_1p0jklglk1() {
130552
130673
  },
130553
130674
  end: {
130554
130675
  line: 52,
130555
- column: 12
130676
+ column: 20
130556
130677
  }
130557
130678
  },
130558
130679
  type: "default-arg",
130559
130680
  locations: [{
130560
130681
  start: {
130561
130682
  line: 52,
130562
- column: 11
130683
+ column: 15
130563
130684
  },
130564
130685
  end: {
130565
130686
  line: 52,
130566
- column: 12
130687
+ column: 20
130567
130688
  }
130568
130689
  }],
130569
130690
  line: 52
130570
130691
  },
130571
- "19": {
130692
+ "18": {
130572
130693
  loc: {
130573
130694
  start: {
130574
130695
  line: 53,
@@ -130576,23 +130697,23 @@ function cov_1p0jklglk1() {
130576
130697
  },
130577
130698
  end: {
130578
130699
  line: 53,
130579
- column: 17
130700
+ column: 12
130580
130701
  }
130581
130702
  },
130582
130703
  type: "default-arg",
130583
130704
  locations: [{
130584
130705
  start: {
130585
130706
  line: 53,
130586
- column: 15
130707
+ column: 11
130587
130708
  },
130588
130709
  end: {
130589
130710
  line: 53,
130590
- column: 17
130711
+ column: 12
130591
130712
  }
130592
130713
  }],
130593
130714
  line: 53
130594
130715
  },
130595
- "20": {
130716
+ "19": {
130596
130717
  loc: {
130597
130718
  start: {
130598
130719
  line: 54,
@@ -130600,23 +130721,23 @@ function cov_1p0jklglk1() {
130600
130721
  },
130601
130722
  end: {
130602
130723
  line: 54,
130603
- column: 43
130724
+ column: 17
130604
130725
  }
130605
130726
  },
130606
130727
  type: "default-arg",
130607
130728
  locations: [{
130608
130729
  start: {
130609
130730
  line: 54,
130610
- column: 21
130731
+ column: 15
130611
130732
  },
130612
130733
  end: {
130613
130734
  line: 54,
130614
- column: 43
130735
+ column: 17
130615
130736
  }
130616
130737
  }],
130617
130738
  line: 54
130618
130739
  },
130619
- "21": {
130740
+ "20": {
130620
130741
  loc: {
130621
130742
  start: {
130622
130743
  line: 55,
@@ -130624,23 +130745,23 @@ function cov_1p0jklglk1() {
130624
130745
  },
130625
130746
  end: {
130626
130747
  line: 55,
130627
- column: 18
130748
+ column: 43
130628
130749
  }
130629
130750
  },
130630
130751
  type: "default-arg",
130631
130752
  locations: [{
130632
130753
  start: {
130633
130754
  line: 55,
130634
- column: 16
130755
+ column: 21
130635
130756
  },
130636
130757
  end: {
130637
130758
  line: 55,
130638
- column: 18
130759
+ column: 43
130639
130760
  }
130640
130761
  }],
130641
130762
  line: 55
130642
130763
  },
130643
- "22": {
130764
+ "21": {
130644
130765
  loc: {
130645
130766
  start: {
130646
130767
  line: 56,
@@ -130648,23 +130769,23 @@ function cov_1p0jklglk1() {
130648
130769
  },
130649
130770
  end: {
130650
130771
  line: 56,
130651
- column: 19
130772
+ column: 18
130652
130773
  }
130653
130774
  },
130654
130775
  type: "default-arg",
130655
130776
  locations: [{
130656
130777
  start: {
130657
130778
  line: 56,
130658
- column: 15
130779
+ column: 16
130659
130780
  },
130660
130781
  end: {
130661
130782
  line: 56,
130662
- column: 19
130783
+ column: 18
130663
130784
  }
130664
130785
  }],
130665
130786
  line: 56
130666
130787
  },
130667
- "23": {
130788
+ "22": {
130668
130789
  loc: {
130669
130790
  start: {
130670
130791
  line: 57,
@@ -130672,23 +130793,23 @@ function cov_1p0jklglk1() {
130672
130793
  },
130673
130794
  end: {
130674
130795
  line: 57,
130675
- column: 18
130796
+ column: 19
130676
130797
  }
130677
130798
  },
130678
130799
  type: "default-arg",
130679
130800
  locations: [{
130680
130801
  start: {
130681
130802
  line: 57,
130682
- column: 14
130803
+ column: 15
130683
130804
  },
130684
130805
  end: {
130685
130806
  line: 57,
130686
- column: 18
130807
+ column: 19
130687
130808
  }
130688
130809
  }],
130689
130810
  line: 57
130690
130811
  },
130691
- "24": {
130812
+ "23": {
130692
130813
  loc: {
130693
130814
  start: {
130694
130815
  line: 58,
@@ -130696,23 +130817,23 @@ function cov_1p0jklglk1() {
130696
130817
  },
130697
130818
  end: {
130698
130819
  line: 58,
130699
- column: 17
130820
+ column: 18
130700
130821
  }
130701
130822
  },
130702
130823
  type: "default-arg",
130703
130824
  locations: [{
130704
130825
  start: {
130705
130826
  line: 58,
130706
- column: 13
130827
+ column: 14
130707
130828
  },
130708
130829
  end: {
130709
130830
  line: 58,
130710
- column: 17
130831
+ column: 18
130711
130832
  }
130712
130833
  }],
130713
130834
  line: 58
130714
130835
  },
130715
- "25": {
130836
+ "24": {
130716
130837
  loc: {
130717
130838
  start: {
130718
130839
  line: 59,
@@ -130720,23 +130841,23 @@ function cov_1p0jklglk1() {
130720
130841
  },
130721
130842
  end: {
130722
130843
  line: 59,
130723
- column: 19
130844
+ column: 17
130724
130845
  }
130725
130846
  },
130726
130847
  type: "default-arg",
130727
130848
  locations: [{
130728
130849
  start: {
130729
130850
  line: 59,
130730
- column: 15
130851
+ column: 13
130731
130852
  },
130732
130853
  end: {
130733
130854
  line: 59,
130734
- column: 19
130855
+ column: 17
130735
130856
  }
130736
130857
  }],
130737
130858
  line: 59
130738
130859
  },
130739
- "26": {
130860
+ "25": {
130740
130861
  loc: {
130741
130862
  start: {
130742
130863
  line: 60,
@@ -130744,206 +130865,230 @@ function cov_1p0jklglk1() {
130744
130865
  },
130745
130866
  end: {
130746
130867
  line: 60,
130747
- column: 30
130868
+ column: 19
130748
130869
  }
130749
130870
  },
130750
130871
  type: "default-arg",
130751
130872
  locations: [{
130752
130873
  start: {
130753
130874
  line: 60,
130754
- column: 26
130875
+ column: 15
130755
130876
  },
130756
130877
  end: {
130757
130878
  line: 60,
130758
- column: 30
130879
+ column: 19
130759
130880
  }
130760
130881
  }],
130761
130882
  line: 60
130762
130883
  },
130763
- "27": {
130884
+ "26": {
130764
130885
  loc: {
130765
130886
  start: {
130766
- line: 70,
130887
+ line: 61,
130767
130888
  column: 4
130768
130889
  },
130769
130890
  end: {
130891
+ line: 61,
130892
+ column: 30
130893
+ }
130894
+ },
130895
+ type: "default-arg",
130896
+ locations: [{
130897
+ start: {
130898
+ line: 61,
130899
+ column: 26
130900
+ },
130901
+ end: {
130902
+ line: 61,
130903
+ column: 30
130904
+ }
130905
+ }],
130906
+ line: 61
130907
+ },
130908
+ "27": {
130909
+ loc: {
130910
+ start: {
130770
130911
  line: 71,
130912
+ column: 4
130913
+ },
130914
+ end: {
130915
+ line: 72,
130771
130916
  column: 48
130772
130917
  }
130773
130918
  },
130774
130919
  type: "binary-expr",
130775
130920
  locations: [{
130776
130921
  start: {
130777
- line: 70,
130922
+ line: 71,
130778
130923
  column: 4
130779
130924
  },
130780
130925
  end: {
130781
- line: 70,
130926
+ line: 71,
130782
130927
  column: 48
130783
130928
  }
130784
130929
  }, {
130785
130930
  start: {
130786
- line: 71,
130931
+ line: 72,
130787
130932
  column: 4
130788
130933
  },
130789
130934
  end: {
130790
- line: 71,
130935
+ line: 72,
130791
130936
  column: 48
130792
130937
  }
130793
130938
  }],
130794
- line: 70
130939
+ line: 71
130795
130940
  },
130796
130941
  "28": {
130797
130942
  loc: {
130798
130943
  start: {
130799
- line: 84,
130944
+ line: 85,
130800
130945
  column: 4
130801
130946
  },
130802
130947
  end: {
130803
- line: 84,
130948
+ line: 85,
130804
130949
  column: 66
130805
130950
  }
130806
130951
  },
130807
130952
  type: "binary-expr",
130808
130953
  locations: [{
130809
130954
  start: {
130810
- line: 84,
130955
+ line: 85,
130811
130956
  column: 4
130812
130957
  },
130813
130958
  end: {
130814
- line: 84,
130959
+ line: 85,
130815
130960
  column: 56
130816
130961
  }
130817
130962
  }, {
130818
130963
  start: {
130819
- line: 84,
130964
+ line: 85,
130820
130965
  column: 60
130821
130966
  },
130822
130967
  end: {
130823
- line: 84,
130968
+ line: 85,
130824
130969
  column: 66
130825
130970
  }
130826
130971
  }],
130827
- line: 84
130972
+ line: 85
130828
130973
  },
130829
130974
  "29": {
130830
130975
  loc: {
130831
130976
  start: {
130832
- line: 104,
130977
+ line: 110,
130833
130978
  column: 20
130834
130979
  },
130835
130980
  end: {
130836
- line: 104,
130981
+ line: 110,
130837
130982
  column: 65
130838
130983
  }
130839
130984
  },
130840
130985
  type: "binary-expr",
130841
130986
  locations: [{
130842
130987
  start: {
130843
- line: 104,
130988
+ line: 110,
130844
130989
  column: 20
130845
130990
  },
130846
130991
  end: {
130847
- line: 104,
130992
+ line: 110,
130848
130993
  column: 41
130849
130994
  }
130850
130995
  }, {
130851
130996
  start: {
130852
- line: 104,
130997
+ line: 110,
130853
130998
  column: 45
130854
130999
  },
130855
131000
  end: {
130856
- line: 104,
131001
+ line: 110,
130857
131002
  column: 65
130858
131003
  }
130859
131004
  }],
130860
- line: 104
131005
+ line: 110
130861
131006
  },
130862
131007
  "30": {
130863
131008
  loc: {
130864
131009
  start: {
130865
- line: 116,
131010
+ line: 122,
130866
131011
  column: 15
130867
131012
  },
130868
131013
  end: {
130869
- line: 116,
131014
+ line: 122,
130870
131015
  column: 33
130871
131016
  }
130872
131017
  },
130873
131018
  type: "binary-expr",
130874
131019
  locations: [{
130875
131020
  start: {
130876
- line: 116,
131021
+ line: 122,
130877
131022
  column: 15
130878
131023
  },
130879
131024
  end: {
130880
- line: 116,
131025
+ line: 122,
130881
131026
  column: 24
130882
131027
  }
130883
131028
  }, {
130884
131029
  start: {
130885
- line: 116,
131030
+ line: 122,
130886
131031
  column: 28
130887
131032
  },
130888
131033
  end: {
130889
- line: 116,
131034
+ line: 122,
130890
131035
  column: 33
130891
131036
  }
130892
131037
  }],
130893
- line: 116
131038
+ line: 122
130894
131039
  },
130895
131040
  "31": {
130896
131041
  loc: {
130897
131042
  start: {
130898
- line: 125,
131043
+ line: 131,
130899
131044
  column: 30
130900
131045
  },
130901
131046
  end: {
130902
- line: 125,
131047
+ line: 131,
130903
131048
  column: 70
130904
131049
  }
130905
131050
  },
130906
131051
  type: "binary-expr",
130907
131052
  locations: [{
130908
131053
  start: {
130909
- line: 125,
131054
+ line: 131,
130910
131055
  column: 30
130911
131056
  },
130912
131057
  end: {
130913
- line: 125,
131058
+ line: 131,
130914
131059
  column: 40
130915
131060
  }
130916
131061
  }, {
130917
131062
  start: {
130918
- line: 125,
131063
+ line: 131,
130919
131064
  column: 44
130920
131065
  },
130921
131066
  end: {
130922
- line: 125,
131067
+ line: 131,
130923
131068
  column: 70
130924
131069
  }
130925
131070
  }],
130926
- line: 125
131071
+ line: 131
130927
131072
  },
130928
131073
  "32": {
130929
131074
  loc: {
130930
131075
  start: {
130931
- line: 139,
131076
+ line: 145,
130932
131077
  column: 4
130933
131078
  },
130934
131079
  end: {
130935
- line: 139,
131080
+ line: 145,
130936
131081
  column: 30
130937
131082
  }
130938
131083
  },
130939
131084
  type: "if",
130940
131085
  locations: [{
130941
131086
  start: {
130942
- line: 139,
131087
+ line: 145,
130943
131088
  column: 4
130944
131089
  },
130945
131090
  end: {
130946
- line: 139,
131091
+ line: 145,
130947
131092
  column: 30
130948
131093
  }
130949
131094
  }, {
@@ -130956,139 +131101,139 @@ function cov_1p0jklglk1() {
130956
131101
  column: undefined
130957
131102
  }
130958
131103
  }],
130959
- line: 139
131104
+ line: 145
130960
131105
  },
130961
131106
  "33": {
130962
131107
  loc: {
130963
131108
  start: {
130964
- line: 151,
131109
+ line: 157,
130965
131110
  column: 7
130966
131111
  },
130967
131112
  end: {
130968
- line: 159,
131113
+ line: 165,
130969
131114
  column: 7
130970
131115
  }
130971
131116
  },
130972
131117
  type: "binary-expr",
130973
131118
  locations: [{
130974
131119
  start: {
130975
- line: 151,
131120
+ line: 157,
130976
131121
  column: 7
130977
131122
  },
130978
131123
  end: {
130979
- line: 151,
131124
+ line: 157,
130980
131125
  column: 12
130981
131126
  }
130982
131127
  }, {
130983
131128
  start: {
130984
- line: 152,
131129
+ line: 158,
130985
131130
  column: 8
130986
131131
  },
130987
131132
  end: {
130988
- line: 158,
131133
+ line: 164,
130989
131134
  column: 16
130990
131135
  }
130991
131136
  }],
130992
- line: 151
131137
+ line: 157
130993
131138
  },
130994
131139
  "34": {
130995
131140
  loc: {
130996
131141
  start: {
130997
- line: 182,
131142
+ line: 188,
130998
131143
  column: 11
130999
131144
  },
131000
131145
  end: {
131001
- line: 190,
131146
+ line: 196,
131002
131147
  column: 11
131003
131148
  }
131004
131149
  },
131005
131150
  type: "binary-expr",
131006
131151
  locations: [{
131007
131152
  start: {
131008
- line: 182,
131153
+ line: 188,
131009
131154
  column: 11
131010
131155
  },
131011
131156
  end: {
131012
- line: 182,
131157
+ line: 188,
131013
131158
  column: 32
131014
131159
  }
131015
131160
  }, {
131016
131161
  start: {
131017
- line: 183,
131162
+ line: 189,
131018
131163
  column: 12
131019
131164
  },
131020
131165
  end: {
131021
- line: 189,
131166
+ line: 195,
131022
131167
  column: 14
131023
131168
  }
131024
131169
  }],
131025
- line: 182
131170
+ line: 188
131026
131171
  },
131027
131172
  "35": {
131028
131173
  loc: {
131029
131174
  start: {
131030
- line: 191,
131175
+ line: 197,
131031
131176
  column: 11
131032
131177
  },
131033
131178
  end: {
131034
- line: 197,
131179
+ line: 203,
131035
131180
  column: 11
131036
131181
  }
131037
131182
  },
131038
131183
  type: "binary-expr",
131039
131184
  locations: [{
131040
131185
  start: {
131041
- line: 191,
131186
+ line: 197,
131042
131187
  column: 11
131043
131188
  },
131044
131189
  end: {
131045
- line: 191,
131190
+ line: 197,
131046
131191
  column: 29
131047
131192
  }
131048
131193
  }, {
131049
131194
  start: {
131050
- line: 192,
131195
+ line: 198,
131051
131196
  column: 12
131052
131197
  },
131053
131198
  end: {
131054
- line: 196,
131199
+ line: 202,
131055
131200
  column: 14
131056
131201
  }
131057
131202
  }],
131058
- line: 191
131203
+ line: 197
131059
131204
  },
131060
131205
  "36": {
131061
131206
  loc: {
131062
131207
  start: {
131063
- line: 198,
131208
+ line: 204,
131064
131209
  column: 11
131065
131210
  },
131066
131211
  end: {
131067
- line: 210,
131212
+ line: 216,
131068
131213
  column: 11
131069
131214
  }
131070
131215
  },
131071
131216
  type: "binary-expr",
131072
131217
  locations: [{
131073
131218
  start: {
131074
- line: 198,
131219
+ line: 204,
131075
131220
  column: 11
131076
131221
  },
131077
131222
  end: {
131078
- line: 198,
131223
+ line: 204,
131079
131224
  column: 30
131080
131225
  }
131081
131226
  }, {
131082
131227
  start: {
131083
- line: 199,
131228
+ line: 205,
131084
131229
  column: 12
131085
131230
  },
131086
131231
  end: {
131087
- line: 209,
131232
+ line: 215,
131088
131233
  column: 14
131089
131234
  }
131090
131235
  }],
131091
- line: 198
131236
+ line: 204
131092
131237
  }
131093
131238
  },
131094
131239
  s: {
@@ -131120,7 +131265,8 @@ function cov_1p0jklglk1() {
131120
131265
  "25": 0,
131121
131266
  "26": 0,
131122
131267
  "27": 0,
131123
- "28": 0
131268
+ "28": 0,
131269
+ "29": 0
131124
131270
  },
131125
131271
  f: {
131126
131272
  "0": 0,
@@ -131172,7 +131318,7 @@ function cov_1p0jklglk1() {
131172
131318
  "36": [0, 0]
131173
131319
  },
131174
131320
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
131175
- hash: "009e9991f109937e0cf3853bbc8e0b4c04717259"
131321
+ hash: "c5d48f13e7e1021183c30c48104047469e66db07"
131176
131322
  };
131177
131323
  var coverage = global[gcv] || (global[gcv] = {});
131178
131324
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -131299,14 +131445,20 @@ var Editor = function Editor(_ref, ref) {
131299
131445
  useEditorWarnings({
131300
131446
  initialValue: initialValue
131301
131447
  });
131302
- var editorClasses = (cov_1p0jklglk1().s[16]++, classnames$2("neeto-editor", _defineProperty({
131448
+ var handleChange = (cov_1p0jklglk1().s[16]++, reactUtils.useFuncDebounce(function (_ref6) {
131449
+ var editor = _ref6.editor;
131450
+ cov_1p0jklglk1().f[2]++;
131451
+ cov_1p0jklglk1().s[17]++;
131452
+ return onChange(editor.getHTML());
131453
+ }, 100));
131454
+ var editorClasses = (cov_1p0jklglk1().s[18]++, classnames$2("neeto-editor", _defineProperty({
131303
131455
  "slash-active": (cov_1p0jklglk1().b[29][0]++, isSlashCommandsActive) && (cov_1p0jklglk1().b[29][1]++, !isPlaceholderActive),
131304
131456
  "fixed-menu-active border": isFixedMenuActive,
131305
131457
  "bubble-menu-active": isBubbleMenuActive,
131306
131458
  "placeholder-active": isPlaceholderActive,
131307
131459
  "attachments-active": isAttachmentsActive
131308
131460
  }, contentClassName, contentClassName)));
131309
- var editor = (cov_1p0jklglk1().s[17]++, useEditor({
131461
+ var editor = (cov_1p0jklglk1().s[19]++, useEditor({
131310
131462
  extensions: customExtensions,
131311
131463
  content: initialValue,
131312
131464
  injectCSS: false,
@@ -131323,53 +131475,48 @@ var Editor = function Editor(_ref, ref) {
131323
131475
  parseOptions: {
131324
131476
  preserveWhitespace: true
131325
131477
  },
131326
- onCreate: function onCreate(_ref6) {
131327
- var editor = _ref6.editor;
131328
- cov_1p0jklglk1().f[2]++;
131329
- cov_1p0jklglk1().s[18]++;
131330
- return (cov_1p0jklglk1().b[31][0]++, !autoFocus) && (cov_1p0jklglk1().b[31][1]++, setInitialPosition(editor));
131331
- },
131332
- onUpdate: function onUpdate(_ref7) {
131478
+ onCreate: function onCreate(_ref7) {
131333
131479
  var editor = _ref7.editor;
131334
131480
  cov_1p0jklglk1().f[3]++;
131335
- cov_1p0jklglk1().s[19]++;
131336
- return onChange(editor.getHTML());
131481
+ cov_1p0jklglk1().s[20]++;
131482
+ return (cov_1p0jklglk1().b[31][0]++, !autoFocus) && (cov_1p0jklglk1().b[31][1]++, setInitialPosition(editor));
131337
131483
  },
131484
+ onUpdate: handleChange,
131338
131485
  onFocus: onFocus,
131339
131486
  onBlur: onBlur
131340
131487
  }));
131341
131488
 
131342
131489
  /* Make editor object available to the parent */
131343
- cov_1p0jklglk1().s[20]++;
131490
+ cov_1p0jklglk1().s[21]++;
131344
131491
  React$6.useImperativeHandle(ref, function () {
131345
131492
  cov_1p0jklglk1().f[4]++;
131346
- cov_1p0jklglk1().s[21]++;
131493
+ cov_1p0jklglk1().s[22]++;
131347
131494
  return {
131348
131495
  editor: editor,
131349
131496
  focus: function focus() {
131350
131497
  cov_1p0jklglk1().f[5]++;
131351
- cov_1p0jklglk1().s[22]++;
131498
+ cov_1p0jklglk1().s[23]++;
131352
131499
  return editor.commands.focus();
131353
131500
  }
131354
131501
  };
131355
131502
  });
131356
131503
 
131357
131504
  // https://github.com/ueberdosis/tiptap/issues/1451#issuecomment-953348865
131358
- cov_1p0jklglk1().s[23]++;
131505
+ cov_1p0jklglk1().s[24]++;
131359
131506
  EditorView.prototype.updateState = function updateState(state) {
131360
131507
  cov_1p0jklglk1().f[6]++;
131361
- cov_1p0jklglk1().s[24]++;
131508
+ cov_1p0jklglk1().s[25]++;
131362
131509
  if (!this.docView) {
131363
131510
  cov_1p0jklglk1().b[32][0]++;
131364
- cov_1p0jklglk1().s[25]++;
131511
+ cov_1p0jklglk1().s[26]++;
131365
131512
  return;
131366
131513
  } else {
131367
131514
  cov_1p0jklglk1().b[32][1]++;
131368
131515
  }
131369
- cov_1p0jklglk1().s[26]++;
131516
+ cov_1p0jklglk1().s[27]++;
131370
131517
  this.updateStateInner(state, this.state.plugins !== state.plugins);
131371
131518
  };
131372
- cov_1p0jklglk1().s[27]++;
131519
+ cov_1p0jklglk1().s[28]++;
131373
131520
  return /*#__PURE__*/React__default["default"].createElement("div", {
131374
131521
  ref: dragDropRef,
131375
131522
  className: classnames$2((_classnames2 = {}, _defineProperty(_classnames2, className, className), _defineProperty(_classnames2, "ne-attachments__wrapper", isAttachmentsActive), _classnames2))
@@ -131405,7 +131552,7 @@ var Editor = function Editor(_ref, ref) {
131405
131552
  uploadEndpoint: uploadEndpoint,
131406
131553
  onClose: function onClose() {
131407
131554
  cov_1p0jklglk1().f[7]++;
131408
- cov_1p0jklglk1().s[28]++;
131555
+ cov_1p0jklglk1().s[29]++;
131409
131556
  return setMediaUploader({
131410
131557
  image: false,
131411
131558
  video: false