@bigbinary/neeto-editor 1.25.15 → 1.25.17

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.
Files changed (3) hide show
  1. package/index.cjs.js +900 -813
  2. package/index.js +902 -815
  3. package/package.json +1 -1
package/index.cjs.js CHANGED
@@ -23503,7 +23503,7 @@ var VARIABLE_SPAN_REGEX = (cov_1l9oz901pg().s[3]++, /<span data-variable="" [^>]
23503
23503
 
23504
23504
  function cov_2fxze78p7l() {
23505
23505
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/utils.js";
23506
- var hash = "4a7e240f9544a6997542df200cd5101135aa4296";
23506
+ var hash = "441fa5e97cbfafb994f82f3774eb62e2601621d6";
23507
23507
  var global = new Function("return this")();
23508
23508
  var gcv = "__coverage__";
23509
23509
  var coverageData = {
@@ -23511,191 +23511,211 @@ function cov_2fxze78p7l() {
23511
23511
  statementMap: {
23512
23512
  "0": {
23513
23513
  start: {
23514
- line: 9,
23514
+ line: 10,
23515
23515
  column: 33
23516
23516
  },
23517
23517
  end: {
23518
- line: 19,
23518
+ line: 20,
23519
23519
  column: 1
23520
23520
  }
23521
23521
  },
23522
23522
  "1": {
23523
23523
  start: {
23524
- line: 10,
23524
+ line: 11,
23525
23525
  column: 2
23526
23526
  },
23527
23527
  end: {
23528
- line: 16,
23528
+ line: 17,
23529
23529
  column: 3
23530
23530
  }
23531
23531
  },
23532
23532
  "2": {
23533
23533
  start: {
23534
- line: 11,
23534
+ line: 12,
23535
23535
  column: 21
23536
23536
  },
23537
23537
  end: {
23538
- line: 13,
23538
+ line: 14,
23539
23539
  column: 12
23540
23540
  }
23541
23541
  },
23542
23542
  "3": {
23543
23543
  start: {
23544
- line: 15,
23544
+ line: 16,
23545
23545
  column: 4
23546
23546
  },
23547
23547
  end: {
23548
- line: 15,
23548
+ line: 16,
23549
23549
  column: 78
23550
23550
  }
23551
23551
  },
23552
23552
  "4": {
23553
23553
  start: {
23554
- line: 18,
23554
+ line: 19,
23555
23555
  column: 2
23556
23556
  },
23557
23557
  end: {
23558
- line: 18,
23558
+ line: 19,
23559
23559
  column: 23
23560
23560
  }
23561
23561
  },
23562
23562
  "5": {
23563
23563
  start: {
23564
- line: 21,
23564
+ line: 22,
23565
23565
  column: 29
23566
23566
  },
23567
23567
  end: {
23568
- line: 32,
23568
+ line: 37,
23569
23569
  column: 4
23570
23570
  }
23571
23571
  },
23572
23572
  "6": {
23573
23573
  start: {
23574
- line: 22,
23574
+ line: 23,
23575
23575
  column: 2
23576
23576
  },
23577
23577
  end: {
23578
- line: 32,
23578
+ line: 37,
23579
23579
  column: 4
23580
23580
  }
23581
23581
  },
23582
23582
  "7": {
23583
23583
  start: {
23584
- line: 23,
23585
- column: 27
23584
+ line: 24,
23585
+ column: 25
23586
23586
  },
23587
23587
  end: {
23588
- line: 25,
23588
+ line: 26,
23589
23589
  column: 5
23590
23590
  }
23591
23591
  },
23592
23592
  "8": {
23593
23593
  start: {
23594
- line: 27,
23595
- column: 28
23594
+ line: 28,
23595
+ column: 4
23596
23596
  },
23597
23597
  end: {
23598
- line: 29,
23598
+ line: 30,
23599
23599
  column: 5
23600
23600
  }
23601
23601
  },
23602
23602
  "9": {
23603
23603
  start: {
23604
- line: 31,
23605
- column: 4
23604
+ line: 29,
23605
+ column: 6
23606
23606
  },
23607
23607
  end: {
23608
- line: 31,
23609
- column: 72
23608
+ line: 29,
23609
+ column: 62
23610
23610
  }
23611
23611
  },
23612
23612
  "10": {
23613
23613
  start: {
23614
+ line: 32,
23615
+ column: 28
23616
+ },
23617
+ end: {
23614
23618
  line: 34,
23619
+ column: 5
23620
+ }
23621
+ },
23622
+ "11": {
23623
+ start: {
23624
+ line: 36,
23625
+ column: 4
23626
+ },
23627
+ end: {
23628
+ line: 36,
23629
+ column: 72
23630
+ }
23631
+ },
23632
+ "12": {
23633
+ start: {
23634
+ line: 39,
23615
23635
  column: 35
23616
23636
  },
23617
23637
  end: {
23618
- line: 50,
23638
+ line: 55,
23619
23639
  column: 4
23620
23640
  }
23621
23641
  },
23622
- "11": {
23642
+ "13": {
23623
23643
  start: {
23624
- line: 35,
23644
+ line: 40,
23625
23645
  column: 2
23626
23646
  },
23627
23647
  end: {
23628
- line: 50,
23648
+ line: 55,
23629
23649
  column: 4
23630
23650
  }
23631
23651
  },
23632
- "12": {
23652
+ "14": {
23633
23653
  start: {
23634
- line: 36,
23654
+ line: 41,
23635
23655
  column: 30
23636
23656
  },
23637
23657
  end: {
23638
- line: 36,
23658
+ line: 41,
23639
23659
  column: 50
23640
23660
  }
23641
23661
  },
23642
- "13": {
23662
+ "15": {
23643
23663
  start: {
23644
- line: 37,
23664
+ line: 42,
23645
23665
  column: 4
23646
23666
  },
23647
23667
  end: {
23648
- line: 45,
23668
+ line: 50,
23649
23669
  column: 5
23650
23670
  }
23651
23671
  },
23652
- "14": {
23672
+ "16": {
23653
23673
  start: {
23654
- line: 38,
23674
+ line: 43,
23655
23675
  column: 23
23656
23676
  },
23657
23677
  end: {
23658
- line: 38,
23678
+ line: 43,
23659
23679
  column: 76
23660
23680
  }
23661
23681
  },
23662
- "15": {
23682
+ "17": {
23663
23683
  start: {
23664
- line: 39,
23684
+ line: 44,
23665
23685
  column: 23
23666
23686
  },
23667
23687
  end: {
23668
- line: 42,
23688
+ line: 47,
23669
23689
  column: 7
23670
23690
  }
23671
23691
  },
23672
- "16": {
23692
+ "18": {
23673
23693
  start: {
23674
- line: 44,
23694
+ line: 49,
23675
23695
  column: 6
23676
23696
  },
23677
23697
  end: {
23678
- line: 44,
23698
+ line: 49,
23679
23699
  column: 60
23680
23700
  }
23681
23701
  },
23682
- "17": {
23702
+ "19": {
23683
23703
  start: {
23684
- line: 47,
23704
+ line: 52,
23685
23705
  column: 21
23686
23706
  },
23687
23707
  end: {
23688
- line: 47,
23708
+ line: 52,
23689
23709
  column: 69
23690
23710
  }
23691
23711
  },
23692
- "18": {
23712
+ "20": {
23693
23713
  start: {
23694
- line: 49,
23714
+ line: 54,
23695
23715
  column: 4
23696
23716
  },
23697
23717
  end: {
23698
- line: 49,
23718
+ line: 54,
23699
23719
  column: 58
23700
23720
  }
23701
23721
  }
@@ -23705,143 +23725,143 @@ function cov_2fxze78p7l() {
23705
23725
  name: "(anonymous_0)",
23706
23726
  decl: {
23707
23727
  start: {
23708
- line: 9,
23728
+ line: 10,
23709
23729
  column: 33
23710
23730
  },
23711
23731
  end: {
23712
- line: 9,
23732
+ line: 10,
23713
23733
  column: 34
23714
23734
  }
23715
23735
  },
23716
23736
  loc: {
23717
23737
  start: {
23718
- line: 9,
23738
+ line: 10,
23719
23739
  column: 44
23720
23740
  },
23721
23741
  end: {
23722
- line: 19,
23742
+ line: 20,
23723
23743
  column: 1
23724
23744
  }
23725
23745
  },
23726
- line: 9
23746
+ line: 10
23727
23747
  },
23728
23748
  "1": {
23729
23749
  name: "(anonymous_1)",
23730
23750
  decl: {
23731
23751
  start: {
23732
- line: 21,
23752
+ line: 22,
23733
23753
  column: 29
23734
23754
  },
23735
23755
  end: {
23736
- line: 21,
23756
+ line: 22,
23737
23757
  column: 30
23738
23758
  }
23739
23759
  },
23740
23760
  loc: {
23741
23761
  start: {
23742
- line: 22,
23762
+ line: 23,
23743
23763
  column: 2
23744
23764
  },
23745
23765
  end: {
23746
- line: 32,
23766
+ line: 37,
23747
23767
  column: 4
23748
23768
  }
23749
23769
  },
23750
- line: 22
23770
+ line: 23
23751
23771
  },
23752
23772
  "2": {
23753
23773
  name: "(anonymous_2)",
23754
23774
  decl: {
23755
23775
  start: {
23756
- line: 22,
23776
+ line: 23,
23757
23777
  column: 36
23758
23778
  },
23759
23779
  end: {
23760
- line: 22,
23780
+ line: 23,
23761
23781
  column: 37
23762
23782
  }
23763
23783
  },
23764
23784
  loc: {
23765
23785
  start: {
23766
- line: 22,
23786
+ line: 23,
23767
23787
  column: 49
23768
23788
  },
23769
23789
  end: {
23770
- line: 32,
23790
+ line: 37,
23771
23791
  column: 3
23772
23792
  }
23773
23793
  },
23774
- line: 22
23794
+ line: 23
23775
23795
  },
23776
23796
  "3": {
23777
23797
  name: "(anonymous_3)",
23778
23798
  decl: {
23779
23799
  start: {
23780
- line: 34,
23800
+ line: 39,
23781
23801
  column: 35
23782
23802
  },
23783
23803
  end: {
23784
- line: 34,
23804
+ line: 39,
23785
23805
  column: 36
23786
23806
  }
23787
23807
  },
23788
23808
  loc: {
23789
23809
  start: {
23790
- line: 35,
23810
+ line: 40,
23791
23811
  column: 2
23792
23812
  },
23793
23813
  end: {
23794
- line: 50,
23814
+ line: 55,
23795
23815
  column: 4
23796
23816
  }
23797
23817
  },
23798
- line: 35
23818
+ line: 40
23799
23819
  },
23800
23820
  "4": {
23801
23821
  name: "(anonymous_4)",
23802
23822
  decl: {
23803
23823
  start: {
23804
- line: 35,
23824
+ line: 40,
23805
23825
  column: 50
23806
23826
  },
23807
23827
  end: {
23808
- line: 35,
23828
+ line: 40,
23809
23829
  column: 51
23810
23830
  }
23811
23831
  },
23812
23832
  loc: {
23813
23833
  start: {
23814
- line: 35,
23834
+ line: 40,
23815
23835
  column: 78
23816
23836
  },
23817
23837
  end: {
23818
- line: 50,
23838
+ line: 55,
23819
23839
  column: 3
23820
23840
  }
23821
23841
  },
23822
- line: 35
23842
+ line: 40
23823
23843
  }
23824
23844
  },
23825
23845
  branchMap: {
23826
23846
  "0": {
23827
23847
  loc: {
23828
23848
  start: {
23829
- line: 10,
23849
+ line: 11,
23830
23850
  column: 2
23831
23851
  },
23832
23852
  end: {
23833
- line: 16,
23853
+ line: 17,
23834
23854
  column: 3
23835
23855
  }
23836
23856
  },
23837
23857
  type: "if",
23838
23858
  locations: [{
23839
23859
  start: {
23840
- line: 10,
23860
+ line: 11,
23841
23861
  column: 2
23842
23862
  },
23843
23863
  end: {
23844
- line: 16,
23864
+ line: 17,
23845
23865
  column: 3
23846
23866
  }
23847
23867
  }, {
@@ -23854,60 +23874,60 @@ function cov_2fxze78p7l() {
23854
23874
  column: undefined
23855
23875
  }
23856
23876
  }],
23857
- line: 10
23877
+ line: 11
23858
23878
  },
23859
23879
  "1": {
23860
23880
  loc: {
23861
23881
  start: {
23862
- line: 11,
23882
+ line: 12,
23863
23883
  column: 21
23864
23884
  },
23865
23885
  end: {
23866
- line: 13,
23886
+ line: 14,
23867
23887
  column: 12
23868
23888
  }
23869
23889
  },
23870
23890
  type: "cond-expr",
23871
23891
  locations: [{
23872
23892
  start: {
23873
- line: 12,
23893
+ line: 13,
23874
23894
  column: 8
23875
23895
  },
23876
23896
  end: {
23877
- line: 12,
23897
+ line: 13,
23878
23898
  column: 54
23879
23899
  }
23880
23900
  }, {
23881
23901
  start: {
23882
- line: 13,
23902
+ line: 14,
23883
23903
  column: 8
23884
23904
  },
23885
23905
  end: {
23886
- line: 13,
23906
+ line: 14,
23887
23907
  column: 12
23888
23908
  }
23889
23909
  }],
23890
- line: 11
23910
+ line: 12
23891
23911
  },
23892
23912
  "2": {
23893
23913
  loc: {
23894
23914
  start: {
23895
- line: 37,
23915
+ line: 28,
23896
23916
  column: 4
23897
23917
  },
23898
23918
  end: {
23899
- line: 45,
23919
+ line: 30,
23900
23920
  column: 5
23901
23921
  }
23902
23922
  },
23903
23923
  type: "if",
23904
23924
  locations: [{
23905
23925
  start: {
23906
- line: 37,
23926
+ line: 28,
23907
23927
  column: 4
23908
23928
  },
23909
23929
  end: {
23910
- line: 45,
23930
+ line: 30,
23911
23931
  column: 5
23912
23932
  }
23913
23933
  }, {
@@ -23920,106 +23940,139 @@ function cov_2fxze78p7l() {
23920
23940
  column: undefined
23921
23941
  }
23922
23942
  }],
23923
- line: 37
23943
+ line: 28
23924
23944
  },
23925
23945
  "3": {
23926
23946
  loc: {
23927
23947
  start: {
23928
- line: 41,
23948
+ line: 42,
23949
+ column: 4
23950
+ },
23951
+ end: {
23952
+ line: 50,
23953
+ column: 5
23954
+ }
23955
+ },
23956
+ type: "if",
23957
+ locations: [{
23958
+ start: {
23959
+ line: 42,
23960
+ column: 4
23961
+ },
23962
+ end: {
23963
+ line: 50,
23964
+ column: 5
23965
+ }
23966
+ }, {
23967
+ start: {
23968
+ line: undefined,
23969
+ column: undefined
23970
+ },
23971
+ end: {
23972
+ line: undefined,
23973
+ column: undefined
23974
+ }
23975
+ }],
23976
+ line: 42
23977
+ },
23978
+ "4": {
23979
+ loc: {
23980
+ start: {
23981
+ line: 46,
23929
23982
  column: 8
23930
23983
  },
23931
23984
  end: {
23932
- line: 41,
23985
+ line: 46,
23933
23986
  column: 33
23934
23987
  }
23935
23988
  },
23936
23989
  type: "binary-expr",
23937
23990
  locations: [{
23938
23991
  start: {
23939
- line: 41,
23992
+ line: 46,
23940
23993
  column: 8
23941
23994
  },
23942
23995
  end: {
23943
- line: 41,
23996
+ line: 46,
23944
23997
  column: 27
23945
23998
  }
23946
23999
  }, {
23947
24000
  start: {
23948
- line: 41,
24001
+ line: 46,
23949
24002
  column: 31
23950
24003
  },
23951
24004
  end: {
23952
- line: 41,
24005
+ line: 46,
23953
24006
  column: 33
23954
24007
  }
23955
24008
  }],
23956
- line: 41
24009
+ line: 46
23957
24010
  },
23958
- "4": {
24011
+ "5": {
23959
24012
  loc: {
23960
24013
  start: {
23961
- line: 44,
24014
+ line: 49,
23962
24015
  column: 13
23963
24016
  },
23964
24017
  end: {
23965
- line: 44,
24018
+ line: 49,
23966
24019
  column: 59
23967
24020
  }
23968
24021
  },
23969
24022
  type: "cond-expr",
23970
24023
  locations: [{
23971
24024
  start: {
23972
- line: 44,
24025
+ line: 49,
23973
24026
  column: 31
23974
24027
  },
23975
24028
  end: {
23976
- line: 44,
24029
+ line: 49,
23977
24030
  column: 45
23978
24031
  }
23979
24032
  }, {
23980
24033
  start: {
23981
- line: 44,
24034
+ line: 49,
23982
24035
  column: 48
23983
24036
  },
23984
24037
  end: {
23985
- line: 44,
24038
+ line: 49,
23986
24039
  column: 59
23987
24040
  }
23988
24041
  }],
23989
- line: 44
24042
+ line: 49
23990
24043
  },
23991
- "5": {
24044
+ "6": {
23992
24045
  loc: {
23993
24046
  start: {
23994
- line: 49,
24047
+ line: 54,
23995
24048
  column: 11
23996
24049
  },
23997
24050
  end: {
23998
- line: 49,
24051
+ line: 54,
23999
24052
  column: 57
24000
24053
  }
24001
24054
  },
24002
24055
  type: "cond-expr",
24003
24056
  locations: [{
24004
24057
  start: {
24005
- line: 49,
24058
+ line: 54,
24006
24059
  column: 29
24007
24060
  },
24008
24061
  end: {
24009
- line: 49,
24062
+ line: 54,
24010
24063
  column: 43
24011
24064
  }
24012
24065
  }, {
24013
24066
  start: {
24014
- line: 49,
24067
+ line: 54,
24015
24068
  column: 46
24016
24069
  },
24017
24070
  end: {
24018
- line: 49,
24071
+ line: 54,
24019
24072
  column: 57
24020
24073
  }
24021
24074
  }],
24022
- line: 49
24075
+ line: 54
24023
24076
  }
24024
24077
  },
24025
24078
  s: {
@@ -24041,7 +24094,9 @@ function cov_2fxze78p7l() {
24041
24094
  "15": 0,
24042
24095
  "16": 0,
24043
24096
  "17": 0,
24044
- "18": 0
24097
+ "18": 0,
24098
+ "19": 0,
24099
+ "20": 0
24045
24100
  },
24046
24101
  f: {
24047
24102
  "0": 0,
@@ -24056,10 +24111,11 @@ function cov_2fxze78p7l() {
24056
24111
  "2": [0, 0],
24057
24112
  "3": [0, 0],
24058
24113
  "4": [0, 0],
24059
- "5": [0, 0]
24114
+ "5": [0, 0],
24115
+ "6": [0, 0]
24060
24116
  },
24061
24117
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
24062
- hash: "4a7e240f9544a6997542df200cd5101135aa4296"
24118
+ hash: "441fa5e97cbfafb994f82f3774eb62e2601621d6"
24063
24119
  };
24064
24120
  var coverage = global[gcv] || (global[gcv] = {});
24065
24121
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -24097,37 +24153,45 @@ var highlightCode = function highlightCode(content) {
24097
24153
  return content.replace(CODE_BLOCK_REGEX, function (_, code) {
24098
24154
  cov_2fxze78p7l().f[2]++;
24099
24155
  var highlightedAST = (cov_2fxze78p7l().s[7]++, lowlight.highlightAuto(code.replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&")));
24100
- var highlightedNode = (cov_2fxze78p7l().s[8]++, highlightedAST.children.map(buildReactElementFromAST));
24101
- cov_2fxze78p7l().s[9]++;
24156
+ cov_2fxze78p7l().s[8]++;
24157
+ if (ramda.isEmpty(highlightedAST.children)) {
24158
+ cov_2fxze78p7l().b[2][0]++;
24159
+ cov_2fxze78p7l().s[9]++;
24160
+ highlightedAST = lowlight.highlight("javascript", code);
24161
+ } else {
24162
+ cov_2fxze78p7l().b[2][1]++;
24163
+ }
24164
+ var highlightedNode = (cov_2fxze78p7l().s[10]++, highlightedAST.children.map(buildReactElementFromAST));
24165
+ cov_2fxze78p7l().s[11]++;
24102
24166
  return "<pre><code>".concat(server.renderToString(highlightedNode), "</code></pre>");
24103
24167
  });
24104
24168
  };
24105
- cov_2fxze78p7l().s[10]++;
24169
+ cov_2fxze78p7l().s[12]++;
24106
24170
  var substituteVariables = function substituteVariables(highlightedContent, variables) {
24107
24171
  cov_2fxze78p7l().f[3]++;
24108
- cov_2fxze78p7l().s[11]++;
24172
+ cov_2fxze78p7l().s[13]++;
24109
24173
  return highlightedContent.replace(VARIABLE_SPAN_REGEX, function (matchedSpan, dataLabel) {
24110
24174
  cov_2fxze78p7l().f[4]++;
24111
- var dataLabelSplitted = (cov_2fxze78p7l().s[12]++, dataLabel.split("."));
24112
- cov_2fxze78p7l().s[13]++;
24175
+ var dataLabelSplitted = (cov_2fxze78p7l().s[14]++, dataLabel.split("."));
24176
+ cov_2fxze78p7l().s[15]++;
24113
24177
  if (dataLabelSplitted.length > 1) {
24114
- cov_2fxze78p7l().b[2][0]++;
24115
- var category = (cov_2fxze78p7l().s[14]++, pure.findBy({
24178
+ cov_2fxze78p7l().b[3][0]++;
24179
+ var category = (cov_2fxze78p7l().s[16]++, pure.findBy({
24116
24180
  category: dataLabelSplitted[0]
24117
24181
  }, variables));
24118
- var _variable = (cov_2fxze78p7l().s[15]++, pure.findBy({
24182
+ var _variable = (cov_2fxze78p7l().s[17]++, pure.findBy({
24119
24183
  key: dataLabelSplitted[1]
24120
- }, (cov_2fxze78p7l().b[3][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[3][1]++, [])));
24121
- cov_2fxze78p7l().s[16]++;
24122
- return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[4][0]++, _variable.value) : (cov_2fxze78p7l().b[4][1]++, matchedSpan);
24184
+ }, (cov_2fxze78p7l().b[4][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[4][1]++, [])));
24185
+ cov_2fxze78p7l().s[18]++;
24186
+ return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[5][0]++, _variable.value) : (cov_2fxze78p7l().b[5][1]++, matchedSpan);
24123
24187
  } else {
24124
- cov_2fxze78p7l().b[2][1]++;
24188
+ cov_2fxze78p7l().b[3][1]++;
24125
24189
  }
24126
- var variable = (cov_2fxze78p7l().s[17]++, pure.findBy({
24190
+ var variable = (cov_2fxze78p7l().s[19]++, pure.findBy({
24127
24191
  key: dataLabelSplitted[0]
24128
24192
  }, variables));
24129
- cov_2fxze78p7l().s[18]++;
24130
- return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[5][0]++, variable.value) : (cov_2fxze78p7l().b[5][1]++, matchedSpan);
24193
+ cov_2fxze78p7l().s[20]++;
24194
+ return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[6][0]++, variable.value) : (cov_2fxze78p7l().b[6][1]++, matchedSpan);
24131
24195
  });
24132
24196
  };
24133
24197
 
@@ -27485,7 +27549,7 @@ instance.reloadResources;
27485
27549
  instance.use;
27486
27550
  instance.changeLanguage;
27487
27551
  instance.getFixedT;
27488
- instance.t;
27552
+ var t$7 = instance.t;
27489
27553
  instance.exists;
27490
27554
  instance.setDefaultNamespace;
27491
27555
  instance.hasLoadedNamespace;
@@ -27798,73 +27862,83 @@ var common = {
27798
27862
  caption: "Caption",
27799
27863
  create: "Create",
27800
27864
  embed: "Embed",
27801
- "save-changes": "Save changes",
27802
27865
  unlink: "Unlink",
27803
- "video-url": "Video URL:"
27866
+ videoUrl: "Video URL:",
27867
+ browse: "Browse"
27804
27868
  };
27805
27869
  var attachments = {
27806
- "actions-blocked": "You are not permitted to update or delete attachments",
27870
+ actionsBlocked: "You are not permitted to update or delete attachments",
27807
27871
  add: "Add Attachment",
27808
- "delete-confirmation": "Are you sure you want to remove {{entity}}?",
27809
- "delete-title": "Remove Attachment?",
27872
+ deleteConfirmation: "Are you sure you want to remove {{entity}}?",
27873
+ deleteTitle: "Remove Attachment?",
27810
27874
  maxNumberOfFiles: "You can only attach {{entity}} files",
27811
- "name-empty": "Filename cannot be empty",
27812
- "one-attachment-allowed": "Only one attachment is allowed"
27875
+ nameEmpty: "Filename cannot be empty",
27876
+ oneAttachmentAllowed: "Only one attachment is allowed"
27813
27877
  };
27814
27878
  var error$1 = {
27815
- "invalid-url": "Please enter a valid URL",
27816
- "cannot-add-files": "Cannot add files",
27817
- "on-before-file-added-return": "Cannot add the file because onBeforeFileAdded returned false."
27879
+ invalidUrl: "Please enter a valid URL",
27880
+ cannotAddFiles: "Cannot add files",
27881
+ onBeforeFileAddedReturn: "Cannot add the file because onBeforeFileAdded returned false.",
27882
+ fileIsTooLarge: "File size is too large. Max size is {{maxFileSize}}.",
27883
+ imageSizeIsShouldBeLess: "Image size should be less than {{limit}} MB"
27818
27884
  };
27819
27885
  var menu = {
27820
27886
  attachments: "Attachments",
27821
- "block-quote": "Block quote",
27887
+ blockQuote: "Block quote",
27822
27888
  bold: "Bold",
27823
- "bulleted-list": "Bulleted list",
27889
+ bulletedList: "Bulleted list",
27824
27890
  code: "Code",
27825
- "code-block": "Code block",
27826
- "embed-video": "Embed video",
27891
+ codeBlock: "Code block",
27827
27892
  emoji: "Emoji",
27828
- "font-size": "Font size",
27893
+ fontSize: "Font size",
27829
27894
  highlight: "Highlight",
27830
- "image-upload": "Image upload",
27895
+ imageUpload: "Image upload",
27831
27896
  italic: "Italic",
27832
27897
  link: "Link",
27833
27898
  mention: "Mention",
27834
- "ordered-list": "Ordered list",
27899
+ orderedList: "Ordered list",
27835
27900
  redo: "Redo",
27836
27901
  strike: "Strike",
27837
27902
  table: "Table",
27838
27903
  underline: "Underline",
27839
27904
  undo: "Undo",
27840
- "dynamic-variables": "Dynamic variables",
27841
- "video-embed": "Video embed",
27842
- "video-upload": "Video upload"
27905
+ dynamicVariables: "Dynamic variables",
27906
+ videoEmbed: "Video embed",
27907
+ videoUpload: "Video upload",
27908
+ alignLeft: "Align left",
27909
+ alignCenter: "Align center",
27910
+ alignRight: "Align right",
27911
+ "delete": "Delete"
27843
27912
  };
27844
27913
  var placeholders = {
27845
- "caption-input": "Enter a caption",
27846
27914
  columns: "Enter columns",
27847
- "link-input": "Paste or type a link...",
27848
- "paste-link": "Paste the link here...",
27915
+ linkInput: "Paste or type a link...",
27916
+ pasteLink: "Paste the link here...",
27849
27917
  rows: "Enter rows",
27850
- "search-unsplash": "Search Unsplash",
27851
- url: "Paste URL"
27918
+ searchUnsplash: "Search Unsplash",
27919
+ url: "Paste URL",
27920
+ writeSomething: "Write something …"
27852
27921
  };
27853
27922
  var table = {
27854
27923
  "delete": "Delete table",
27855
- "delete-column": "Delete column",
27856
- "delete-row": "Delete row",
27857
- "insert-column": "Insert column",
27858
- "insert-row": "Insert row",
27859
- "merge-split": "Merge/Split cell",
27860
- "toggle-header-column": "Toggle header column",
27861
- "toggle-header-row": "Toggle header row"
27924
+ deleteColumn: "Delete column",
27925
+ deleteRow: "Delete row",
27926
+ insertColumn: "Insert column",
27927
+ insertRow: "Insert row",
27928
+ mergeSplit: "Merge/Split cell",
27929
+ toggleHeaderColumn: "Toggle header column",
27930
+ toggleHeaderRow: "Toggle header row"
27862
27931
  };
27863
27932
  var unsplash = {
27864
- "error-message": "Something went wrong! Please try again later.",
27865
- "no-results": "No results",
27933
+ errorMessage: "Something went wrong! Please try again later.",
27934
+ noResults: "No results",
27866
27935
  end: "End of results"
27867
27936
  };
27937
+ var localUploader = {
27938
+ dropFilesHere: "Drop your file(s) here or Browse.",
27939
+ maxFileSize: "Max. File Size: {{entity}}",
27940
+ completed: "Completed"
27941
+ };
27868
27942
  var en = {
27869
27943
  common: common,
27870
27944
  attachments: attachments,
@@ -27873,11 +27947,7 @@ var en = {
27873
27947
  placeholders: placeholders,
27874
27948
  table: table,
27875
27949
  unsplash: unsplash,
27876
- "local-uploader": {
27877
- "drop-files-here": "Drop your file(s) here or Browse.",
27878
- "max-file-size": "Max. File Size: {{entity}}",
27879
- completed: "Completed"
27880
- }
27950
+ localUploader: localUploader
27881
27951
  };
27882
27952
 
27883
27953
  function cov_2jx0j78mzx() {
@@ -40135,7 +40205,7 @@ var MEDIA_UPLOAD_OPTIONS = (cov_jbpzhr9v8().s[7]++, [{
40135
40205
 
40136
40206
  function cov_13smb7q6gj() {
40137
40207
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/utils.js";
40138
- var hash = "0b4182b12432e2caf100033bbb8ade8e524b459d";
40208
+ var hash = "fd56564e5fafa0d0a378338fde19971a48136c8d";
40139
40209
  var global = new Function("return this")();
40140
40210
  var gcv = "__coverage__";
40141
40211
  var coverageData = {
@@ -40143,91 +40213,91 @@ function cov_13smb7q6gj() {
40143
40213
  statementMap: {
40144
40214
  "0": {
40145
40215
  start: {
40146
- line: 3,
40216
+ line: 4,
40147
40217
  column: 33
40148
40218
  },
40149
40219
  end: {
40150
- line: 12,
40220
+ line: 13,
40151
40221
  column: 1
40152
40222
  }
40153
40223
  },
40154
40224
  "1": {
40155
40225
  start: {
40156
- line: 4,
40226
+ line: 5,
40157
40227
  column: 16
40158
40228
  },
40159
40229
  end: {
40160
- line: 4,
40230
+ line: 5,
40161
40231
  column: 39
40162
40232
  }
40163
40233
  },
40164
40234
  "2": {
40165
40235
  start: {
40166
- line: 5,
40236
+ line: 6,
40167
40237
  column: 10
40168
40238
  },
40169
40239
  end: {
40170
- line: 5,
40240
+ line: 6,
40171
40241
  column: 11
40172
40242
  }
40173
40243
  },
40174
40244
  "3": {
40175
40245
  start: {
40176
- line: 6,
40246
+ line: 7,
40177
40247
  column: 2
40178
40248
  },
40179
40249
  end: {
40180
- line: 9,
40250
+ line: 10,
40181
40251
  column: 3
40182
40252
  }
40183
40253
  },
40184
40254
  "4": {
40185
40255
  start: {
40186
- line: 7,
40256
+ line: 8,
40187
40257
  column: 4
40188
40258
  },
40189
40259
  end: {
40190
- line: 7,
40260
+ line: 8,
40191
40261
  column: 17
40192
40262
  }
40193
40263
  },
40194
40264
  "5": {
40195
40265
  start: {
40196
- line: 8,
40266
+ line: 9,
40197
40267
  column: 4
40198
40268
  },
40199
40269
  end: {
40200
- line: 8,
40270
+ line: 9,
40201
40271
  column: 8
40202
40272
  }
40203
40273
  },
40204
40274
  "6": {
40205
40275
  start: {
40206
- line: 11,
40276
+ line: 12,
40207
40277
  column: 2
40208
40278
  },
40209
40279
  end: {
40210
- line: 11,
40280
+ line: 12,
40211
40281
  column: 42
40212
40282
  }
40213
40283
  },
40214
40284
  "7": {
40215
40285
  start: {
40216
- line: 14,
40286
+ line: 15,
40217
40287
  column: 33
40218
40288
  },
40219
40289
  end: {
40220
- line: 34,
40290
+ line: 35,
40221
40291
  column: 1
40222
40292
  }
40223
40293
  },
40224
40294
  "8": {
40225
40295
  start: {
40226
- line: 14,
40296
+ line: 15,
40227
40297
  column: 39
40228
40298
  },
40229
40299
  end: {
40230
- line: 34,
40300
+ line: 35,
40231
40301
  column: 1
40232
40302
  }
40233
40303
  }
@@ -40237,84 +40307,84 @@ function cov_13smb7q6gj() {
40237
40307
  name: "(anonymous_0)",
40238
40308
  decl: {
40239
40309
  start: {
40240
- line: 3,
40310
+ line: 4,
40241
40311
  column: 33
40242
40312
  },
40243
40313
  end: {
40244
- line: 3,
40314
+ line: 4,
40245
40315
  column: 34
40246
40316
  }
40247
40317
  },
40248
40318
  loc: {
40249
40319
  start: {
40250
- line: 3,
40320
+ line: 4,
40251
40321
  column: 41
40252
40322
  },
40253
40323
  end: {
40254
- line: 12,
40324
+ line: 13,
40255
40325
  column: 1
40256
40326
  }
40257
40327
  },
40258
- line: 3
40328
+ line: 4
40259
40329
  },
40260
40330
  "1": {
40261
40331
  name: "(anonymous_1)",
40262
40332
  decl: {
40263
40333
  start: {
40264
- line: 14,
40334
+ line: 15,
40265
40335
  column: 33
40266
40336
  },
40267
40337
  end: {
40268
- line: 14,
40338
+ line: 15,
40269
40339
  column: 34
40270
40340
  }
40271
40341
  },
40272
40342
  loc: {
40273
40343
  start: {
40274
- line: 14,
40344
+ line: 15,
40275
40345
  column: 39
40276
40346
  },
40277
40347
  end: {
40278
- line: 34,
40348
+ line: 35,
40279
40349
  column: 1
40280
40350
  }
40281
40351
  },
40282
- line: 14
40352
+ line: 15
40283
40353
  }
40284
40354
  },
40285
40355
  branchMap: {
40286
40356
  "0": {
40287
40357
  loc: {
40288
40358
  start: {
40289
- line: 6,
40359
+ line: 7,
40290
40360
  column: 9
40291
40361
  },
40292
40362
  end: {
40293
- line: 6,
40363
+ line: 7,
40294
40364
  column: 41
40295
40365
  }
40296
40366
  },
40297
40367
  type: "binary-expr",
40298
40368
  locations: [{
40299
40369
  start: {
40300
- line: 6,
40370
+ line: 7,
40301
40371
  column: 9
40302
40372
  },
40303
40373
  end: {
40304
- line: 6,
40374
+ line: 7,
40305
40375
  column: 21
40306
40376
  }
40307
40377
  }, {
40308
40378
  start: {
40309
- line: 6,
40379
+ line: 7,
40310
40380
  column: 25
40311
40381
  },
40312
40382
  end: {
40313
- line: 6,
40383
+ line: 7,
40314
40384
  column: 41
40315
40385
  }
40316
40386
  }],
40317
- line: 6
40387
+ line: 7
40318
40388
  }
40319
40389
  },
40320
40390
  s: {
@@ -40336,7 +40406,7 @@ function cov_13smb7q6gj() {
40336
40406
  "0": [0, 0]
40337
40407
  },
40338
40408
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
40339
- hash: "0b4182b12432e2caf100033bbb8ade8e524b459d"
40409
+ hash: "fd56564e5fafa0d0a378338fde19971a48136c8d"
40340
40410
  };
40341
40411
  var coverage = global[gcv] || (global[gcv] = {});
40342
40412
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -40374,18 +40444,18 @@ var buildImageOptions = function buildImageOptions() {
40374
40444
  return [{
40375
40445
  Icon: neetoIcons.LeftAlign,
40376
40446
  alignPos: "left",
40377
- optionName: "Align left"
40447
+ optionName: t$7("menu.alignLeft")
40378
40448
  }, {
40379
40449
  Icon: neetoIcons.CenterAlign,
40380
40450
  alignPos: "center",
40381
- optionName: "Align Center"
40451
+ optionName: t$7("menu.alignCenter")
40382
40452
  }, {
40383
40453
  Icon: neetoIcons.RightAlign,
40384
40454
  alignPos: "right",
40385
- optionName: "Align right"
40455
+ optionName: t$7("menu.alignRight")
40386
40456
  }, {
40387
40457
  Icon: neetoIcons.Delete,
40388
- optionName: "Delete"
40458
+ optionName: t$7("menu.delete")
40389
40459
  }];
40390
40460
  };
40391
40461
 
@@ -49594,7 +49664,7 @@ var ActiveStorageUpload = /*#__PURE__*/function (_BasePlugin) {
49594
49664
 
49595
49665
  function cov_r3t02fgv5() {
49596
49666
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/hooks/useUppyUploader.js";
49597
- var hash = "4f95a7616bd62fa080a1a4217b68686ee980e032";
49667
+ var hash = "185c06efbf6be23fe7bd5f2deafc8630f3746c3e";
49598
49668
  var global = new Function("return this")();
49599
49669
  var gcv = "__coverage__";
49600
49670
  var coverageData = {
@@ -49602,171 +49672,181 @@ function cov_r3t02fgv5() {
49602
49672
  statementMap: {
49603
49673
  "0": {
49604
49674
  start: {
49605
- line: 12,
49675
+ line: 13,
49606
49676
  column: 24
49607
49677
  },
49608
49678
  end: {
49609
- line: 53,
49679
+ line: 55,
49610
49680
  column: 1
49611
49681
  }
49612
49682
  },
49613
49683
  "1": {
49614
49684
  start: {
49615
- line: 13,
49685
+ line: 14,
49616
49686
  column: 40
49617
49687
  },
49618
49688
  end: {
49619
- line: 13,
49689
+ line: 14,
49620
49690
  column: 55
49621
49691
  }
49622
49692
  },
49623
49693
  "2": {
49624
49694
  start: {
49625
49695
  line: 15,
49626
- column: 28
49696
+ column: 16
49627
49697
  },
49628
49698
  end: {
49629
- line: 29,
49630
- column: 3
49699
+ line: 15,
49700
+ column: 32
49631
49701
  }
49632
49702
  },
49633
49703
  "3": {
49634
49704
  start: {
49635
- line: 16,
49705
+ line: 17,
49636
49706
  column: 28
49637
49707
  },
49638
49708
  end: {
49639
- line: 16,
49640
- column: 51
49709
+ line: 31,
49710
+ column: 3
49641
49711
  }
49642
49712
  },
49643
49713
  "4": {
49644
49714
  start: {
49645
49715
  line: 18,
49716
+ column: 28
49717
+ },
49718
+ end: {
49719
+ line: 18,
49720
+ column: 51
49721
+ }
49722
+ },
49723
+ "5": {
49724
+ start: {
49725
+ line: 20,
49646
49726
  column: 4
49647
49727
  },
49648
49728
  end: {
49649
- line: 26,
49729
+ line: 28,
49650
49730
  column: 5
49651
49731
  }
49652
49732
  },
49653
- "5": {
49733
+ "6": {
49654
49734
  start: {
49655
- line: 19,
49735
+ line: 21,
49656
49736
  column: 6
49657
49737
  },
49658
49738
  end: {
49659
- line: 23,
49739
+ line: 25,
49660
49740
  column: 8
49661
49741
  }
49662
49742
  },
49663
- "6": {
49743
+ "7": {
49664
49744
  start: {
49665
- line: 25,
49745
+ line: 27,
49666
49746
  column: 6
49667
49747
  },
49668
49748
  end: {
49669
- line: 25,
49749
+ line: 27,
49670
49750
  column: 19
49671
49751
  }
49672
49752
  },
49673
- "7": {
49753
+ "8": {
49674
49754
  start: {
49675
- line: 28,
49755
+ line: 30,
49676
49756
  column: 4
49677
49757
  },
49678
49758
  end: {
49679
- line: 28,
49759
+ line: 30,
49680
49760
  column: 16
49681
49761
  }
49682
49762
  },
49683
- "8": {
49763
+ "9": {
49684
49764
  start: {
49685
- line: 31,
49765
+ line: 33,
49686
49766
  column: 15
49687
49767
  },
49688
49768
  end: {
49689
- line: 50,
49769
+ line: 52,
49690
49770
  column: 3
49691
49771
  }
49692
49772
  },
49693
- "9": {
49773
+ "10": {
49694
49774
  start: {
49695
- line: 32,
49775
+ line: 34,
49696
49776
  column: 4
49697
49777
  },
49698
49778
  end: {
49699
- line: 49,
49779
+ line: 51,
49700
49780
  column: 8
49701
49781
  }
49702
49782
  },
49703
- "10": {
49783
+ "11": {
49704
49784
  start: {
49705
- line: 40,
49785
+ line: 42,
49706
49786
  column: 26
49707
49787
  },
49708
49788
  end: {
49709
- line: 40,
49789
+ line: 42,
49710
49790
  column: 46
49711
49791
  }
49712
49792
  },
49713
- "11": {
49793
+ "12": {
49714
49794
  start: {
49715
- line: 42,
49795
+ line: 44,
49716
49796
  column: 24
49717
49797
  },
49718
49798
  end: {
49719
- line: 42,
49799
+ line: 44,
49720
49800
  column: 58
49721
49801
  }
49722
49802
  },
49723
- "12": {
49803
+ "13": {
49724
49804
  start: {
49725
- line: 43,
49805
+ line: 45,
49726
49806
  column: 8
49727
49807
  },
49728
49808
  end: {
49729
- line: 43,
49809
+ line: 45,
49730
49810
  column: 29
49731
49811
  }
49732
49812
  },
49733
- "13": {
49813
+ "14": {
49734
49814
  start: {
49735
- line: 45,
49815
+ line: 47,
49736
49816
  column: 30
49737
49817
  },
49738
49818
  end: {
49739
- line: 45,
49819
+ line: 47,
49740
49820
  column: 51
49741
49821
  }
49742
49822
  },
49743
- "14": {
49823
+ "15": {
49744
49824
  start: {
49745
- line: 47,
49825
+ line: 49,
49746
49826
  column: 8
49747
49827
  },
49748
49828
  end: {
49749
- line: 47,
49829
+ line: 49,
49750
49830
  column: 21
49751
49831
  }
49752
49832
  },
49753
- "15": {
49833
+ "16": {
49754
49834
  start: {
49755
- line: 48,
49835
+ line: 50,
49756
49836
  column: 8
49757
49837
  },
49758
49838
  end: {
49759
- line: 48,
49839
+ line: 50,
49760
49840
  column: 30
49761
49841
  }
49762
49842
  },
49763
- "16": {
49843
+ "17": {
49764
49844
  start: {
49765
- line: 52,
49845
+ line: 54,
49766
49846
  column: 2
49767
49847
  },
49768
49848
  end: {
49769
- line: 52,
49849
+ line: 54,
49770
49850
  column: 31
49771
49851
  }
49772
49852
  }
@@ -49776,215 +49856,215 @@ function cov_r3t02fgv5() {
49776
49856
  name: "(anonymous_0)",
49777
49857
  decl: {
49778
49858
  start: {
49779
- line: 12,
49859
+ line: 13,
49780
49860
  column: 24
49781
49861
  },
49782
49862
  end: {
49783
- line: 12,
49863
+ line: 13,
49784
49864
  column: 25
49785
49865
  }
49786
49866
  },
49787
49867
  loc: {
49788
49868
  start: {
49789
- line: 12,
49869
+ line: 13,
49790
49870
  column: 72
49791
49871
  },
49792
49872
  end: {
49793
- line: 53,
49873
+ line: 55,
49794
49874
  column: 1
49795
49875
  }
49796
49876
  },
49797
- line: 12
49877
+ line: 13
49798
49878
  },
49799
49879
  "1": {
49800
49880
  name: "(anonymous_1)",
49801
49881
  decl: {
49802
49882
  start: {
49803
- line: 15,
49883
+ line: 17,
49804
49884
  column: 28
49805
49885
  },
49806
49886
  end: {
49807
- line: 15,
49887
+ line: 17,
49808
49888
  column: 29
49809
49889
  }
49810
49890
  },
49811
49891
  loc: {
49812
49892
  start: {
49813
- line: 15,
49893
+ line: 17,
49814
49894
  column: 36
49815
49895
  },
49816
49896
  end: {
49817
- line: 29,
49897
+ line: 31,
49818
49898
  column: 3
49819
49899
  }
49820
49900
  },
49821
- line: 15
49901
+ line: 17
49822
49902
  },
49823
49903
  "2": {
49824
49904
  name: "(anonymous_2)",
49825
49905
  decl: {
49826
49906
  start: {
49827
- line: 31,
49907
+ line: 33,
49828
49908
  column: 23
49829
49909
  },
49830
49910
  end: {
49831
- line: 31,
49911
+ line: 33,
49832
49912
  column: 24
49833
49913
  }
49834
49914
  },
49835
49915
  loc: {
49836
49916
  start: {
49837
- line: 32,
49917
+ line: 34,
49838
49918
  column: 4
49839
49919
  },
49840
49920
  end: {
49841
- line: 49,
49921
+ line: 51,
49842
49922
  column: 8
49843
49923
  }
49844
49924
  },
49845
- line: 32
49925
+ line: 34
49846
49926
  },
49847
49927
  "3": {
49848
49928
  name: "(anonymous_3)",
49849
49929
  decl: {
49850
49930
  start: {
49851
- line: 40,
49931
+ line: 42,
49852
49932
  column: 20
49853
49933
  },
49854
49934
  end: {
49855
- line: 40,
49935
+ line: 42,
49856
49936
  column: 21
49857
49937
  }
49858
49938
  },
49859
49939
  loc: {
49860
49940
  start: {
49861
- line: 40,
49941
+ line: 42,
49862
49942
  column: 26
49863
49943
  },
49864
49944
  end: {
49865
- line: 40,
49945
+ line: 42,
49866
49946
  column: 46
49867
49947
  }
49868
49948
  },
49869
- line: 40
49949
+ line: 42
49870
49950
  },
49871
49951
  "4": {
49872
49952
  name: "(anonymous_4)",
49873
49953
  decl: {
49874
49954
  start: {
49875
- line: 41,
49955
+ line: 43,
49876
49956
  column: 28
49877
49957
  },
49878
49958
  end: {
49879
- line: 41,
49959
+ line: 43,
49880
49960
  column: 29
49881
49961
  }
49882
49962
  },
49883
49963
  loc: {
49884
49964
  start: {
49885
- line: 41,
49965
+ line: 43,
49886
49966
  column: 40
49887
49967
  },
49888
49968
  end: {
49889
- line: 44,
49969
+ line: 46,
49890
49970
  column: 7
49891
49971
  }
49892
49972
  },
49893
- line: 41
49973
+ line: 43
49894
49974
  },
49895
49975
  "5": {
49896
49976
  name: "(anonymous_5)",
49897
49977
  decl: {
49898
49978
  start: {
49899
- line: 45,
49979
+ line: 47,
49900
49980
  column: 24
49901
49981
  },
49902
49982
  end: {
49903
- line: 45,
49983
+ line: 47,
49904
49984
  column: 25
49905
49985
  }
49906
49986
  },
49907
49987
  loc: {
49908
49988
  start: {
49909
- line: 45,
49989
+ line: 47,
49910
49990
  column: 30
49911
49991
  },
49912
49992
  end: {
49913
- line: 45,
49993
+ line: 47,
49914
49994
  column: 51
49915
49995
  }
49916
49996
  },
49917
- line: 45
49997
+ line: 47
49918
49998
  },
49919
49999
  "6": {
49920
50000
  name: "(anonymous_6)",
49921
50001
  decl: {
49922
50002
  start: {
49923
- line: 46,
50003
+ line: 48,
49924
50004
  column: 22
49925
50005
  },
49926
50006
  end: {
49927
- line: 46,
50007
+ line: 48,
49928
50008
  column: 23
49929
50009
  }
49930
50010
  },
49931
50011
  loc: {
49932
50012
  start: {
49933
- line: 46,
50013
+ line: 48,
49934
50014
  column: 28
49935
50015
  },
49936
50016
  end: {
49937
- line: 49,
50017
+ line: 51,
49938
50018
  column: 7
49939
50019
  }
49940
50020
  },
49941
- line: 46
50021
+ line: 48
49942
50022
  }
49943
50023
  },
49944
50024
  branchMap: {
49945
50025
  "0": {
49946
50026
  loc: {
49947
50027
  start: {
49948
- line: 12,
50028
+ line: 13,
49949
50029
  column: 49
49950
50030
  },
49951
50031
  end: {
49952
- line: 12,
50032
+ line: 13,
49953
50033
  column: 65
49954
50034
  }
49955
50035
  },
49956
50036
  type: "default-arg",
49957
50037
  locations: [{
49958
50038
  start: {
49959
- line: 12,
50039
+ line: 13,
49960
50040
  column: 61
49961
50041
  },
49962
50042
  end: {
49963
- line: 12,
50043
+ line: 13,
49964
50044
  column: 65
49965
50045
  }
49966
50046
  }],
49967
- line: 12
50047
+ line: 13
49968
50048
  },
49969
50049
  "1": {
49970
50050
  loc: {
49971
50051
  start: {
49972
- line: 18,
50052
+ line: 20,
49973
50053
  column: 4
49974
50054
  },
49975
50055
  end: {
49976
- line: 26,
50056
+ line: 28,
49977
50057
  column: 5
49978
50058
  }
49979
50059
  },
49980
50060
  type: "if",
49981
50061
  locations: [{
49982
50062
  start: {
49983
- line: 18,
50063
+ line: 20,
49984
50064
  column: 4
49985
50065
  },
49986
50066
  end: {
49987
- line: 26,
50067
+ line: 28,
49988
50068
  column: 5
49989
50069
  }
49990
50070
  }, {
@@ -49997,40 +50077,40 @@ function cov_r3t02fgv5() {
49997
50077
  column: undefined
49998
50078
  }
49999
50079
  }],
50000
- line: 18
50080
+ line: 20
50001
50081
  },
50002
50082
  "2": {
50003
50083
  loc: {
50004
50084
  start: {
50005
- line: 42,
50085
+ line: 44,
50006
50086
  column: 24
50007
50087
  },
50008
50088
  end: {
50009
- line: 42,
50089
+ line: 44,
50010
50090
  column: 58
50011
50091
  }
50012
50092
  },
50013
50093
  type: "binary-expr",
50014
50094
  locations: [{
50015
50095
  start: {
50016
- line: 42,
50096
+ line: 44,
50017
50097
  column: 24
50018
50098
  },
50019
50099
  end: {
50020
- line: 42,
50100
+ line: 44,
50021
50101
  column: 42
50022
50102
  }
50023
50103
  }, {
50024
50104
  start: {
50025
- line: 42,
50105
+ line: 44,
50026
50106
  column: 46
50027
50107
  },
50028
50108
  end: {
50029
- line: 42,
50109
+ line: 44,
50030
50110
  column: 58
50031
50111
  }
50032
50112
  }],
50033
- line: 42
50113
+ line: 44
50034
50114
  }
50035
50115
  },
50036
50116
  s: {
@@ -50050,7 +50130,8 @@ function cov_r3t02fgv5() {
50050
50130
  "13": 0,
50051
50131
  "14": 0,
50052
50132
  "15": 0,
50053
- "16": 0
50133
+ "16": 0,
50134
+ "17": 0
50054
50135
  },
50055
50136
  f: {
50056
50137
  "0": 0,
@@ -50067,7 +50148,7 @@ function cov_r3t02fgv5() {
50067
50148
  "2": [0, 0]
50068
50149
  },
50069
50150
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
50070
- hash: "4f95a7616bd62fa080a1a4217b68686ee980e032"
50151
+ hash: "185c06efbf6be23fe7bd5f2deafc8630f3746c3e"
50071
50152
  };
50072
50153
  var coverage = global[gcv] || (global[gcv] = {});
50073
50154
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -50096,54 +50177,58 @@ var useUppyUploader = function useUppyUploader(_ref) {
50096
50177
  _ref3 = _slicedToArray(_ref2, 2),
50097
50178
  isUploading = _ref3[0],
50098
50179
  setIsUploading = _ref3[1];
50099
- cov_r3t02fgv5().s[2]++;
50180
+ var _ref4 = (cov_r3t02fgv5().s[2]++, useTranslation()),
50181
+ t = _ref4.t;
50182
+ cov_r3t02fgv5().s[3]++;
50100
50183
  var onBeforeFileAdded = function onBeforeFileAdded(file) {
50101
50184
  cov_r3t02fgv5().f[1]++;
50102
- var _ref4 = (cov_r3t02fgv5().s[3]++, uppyConfig.restrictions),
50103
- maxFileSize = _ref4.maxFileSize;
50104
- cov_r3t02fgv5().s[4]++;
50185
+ var _ref5 = (cov_r3t02fgv5().s[4]++, uppyConfig.restrictions),
50186
+ maxFileSize = _ref5.maxFileSize;
50187
+ cov_r3t02fgv5().s[5]++;
50105
50188
  if (file.size > maxFileSize) {
50106
50189
  cov_r3t02fgv5().b[1][0]++;
50107
- cov_r3t02fgv5().s[5]++;
50108
- neetoui.Toastr.error("File size is too large. Max size is ".concat(convertToFileSize(uppyConfig.restrictions.maxFileSize), "."));
50109
50190
  cov_r3t02fgv5().s[6]++;
50191
+ neetoui.Toastr.error(t("error.fileIsTooLarge", {
50192
+ maxFileSize: convertToFileSize(uppyConfig.restrictions.maxFileSize)
50193
+ }));
50194
+ cov_r3t02fgv5().s[7]++;
50110
50195
  return false;
50111
50196
  } else {
50112
50197
  cov_r3t02fgv5().b[1][1]++;
50113
50198
  }
50114
- cov_r3t02fgv5().s[7]++;
50199
+ cov_r3t02fgv5().s[8]++;
50115
50200
  return true;
50116
50201
  };
50117
- var uppy = (cov_r3t02fgv5().s[8]++, useUppy(function () {
50202
+ var uppy = (cov_r3t02fgv5().s[9]++, useUppy(function () {
50118
50203
  cov_r3t02fgv5().f[2]++;
50119
- cov_r3t02fgv5().s[9]++;
50204
+ cov_r3t02fgv5().s[10]++;
50120
50205
  return new Uppy(_objectSpread$e(_objectSpread$e({}, uppyConfig), {}, {
50121
50206
  onBeforeFileAdded: onBeforeFileAdded
50122
50207
  })).use(ActiveStorageUpload, _objectSpread$e({
50123
50208
  directUploadUrl: endpoint
50124
50209
  }, UPPY_UPLOAD_CONFIG)).on("upload", function () {
50125
50210
  cov_r3t02fgv5().f[3]++;
50126
- cov_r3t02fgv5().s[10]++;
50211
+ cov_r3t02fgv5().s[11]++;
50127
50212
  return setIsUploading(true);
50128
50213
  }).on("upload-success", function (_, res) {
50129
50214
  var _res$data;
50130
50215
  cov_r3t02fgv5().f[4]++;
50131
- var blobUrl = (cov_r3t02fgv5().s[11]++, (cov_r3t02fgv5().b[2][0]++, (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.blob_url) || (cov_r3t02fgv5().b[2][1]++, res.blob_url));
50132
- cov_r3t02fgv5().s[12]++;
50216
+ var blobUrl = (cov_r3t02fgv5().s[12]++, (cov_r3t02fgv5().b[2][0]++, (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.blob_url) || (cov_r3t02fgv5().b[2][1]++, res.blob_url));
50217
+ cov_r3t02fgv5().s[13]++;
50133
50218
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(blobUrl);
50134
50219
  }).on("cancel-all", function () {
50135
50220
  cov_r3t02fgv5().f[5]++;
50136
- cov_r3t02fgv5().s[13]++;
50221
+ cov_r3t02fgv5().s[14]++;
50137
50222
  return setIsUploading(false);
50138
50223
  }).on("complete", function () {
50139
50224
  cov_r3t02fgv5().f[6]++;
50140
- cov_r3t02fgv5().s[14]++;
50141
- uppy.reset();
50142
50225
  cov_r3t02fgv5().s[15]++;
50226
+ uppy.reset();
50227
+ cov_r3t02fgv5().s[16]++;
50143
50228
  setIsUploading(false);
50144
50229
  });
50145
50230
  }));
50146
- cov_r3t02fgv5().s[16]++;
50231
+ cov_r3t02fgv5().s[17]++;
50147
50232
  return {
50148
50233
  uppy: uppy,
50149
50234
  isUploading: isUploading
@@ -51180,7 +51265,7 @@ var File$1 = function File(_ref) {
51180
51265
 
51181
51266
  function cov_13lrfxjoky() {
51182
51267
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
51183
- var hash = "28fc7fcc9907671228534070426bdf6055066d95";
51268
+ var hash = "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf";
51184
51269
  var global = new Function("return this")();
51185
51270
  var gcv = "__coverage__";
51186
51271
  var coverageData = {
@@ -52250,7 +52335,7 @@ function cov_13lrfxjoky() {
52250
52335
  },
52251
52336
  end: {
52252
52337
  line: 121,
52253
- column: 78
52338
+ column: 77
52254
52339
  }
52255
52340
  },
52256
52341
  type: "cond-expr",
@@ -52261,16 +52346,16 @@ function cov_13lrfxjoky() {
52261
52346
  },
52262
52347
  end: {
52263
52348
  line: 121,
52264
- column: 73
52349
+ column: 72
52265
52350
  }
52266
52351
  }, {
52267
52352
  start: {
52268
52353
  line: 121,
52269
- column: 76
52354
+ column: 75
52270
52355
  },
52271
52356
  end: {
52272
52357
  line: 121,
52273
- column: 78
52358
+ column: 77
52274
52359
  }
52275
52360
  }],
52276
52361
  line: 121
@@ -52354,7 +52439,7 @@ function cov_13lrfxjoky() {
52354
52439
  "7": [0, 0]
52355
52440
  },
52356
52441
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
52357
- hash: "28fc7fcc9907671228534070426bdf6055066d95"
52442
+ hash: "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf"
52358
52443
  };
52359
52444
  var coverage = global[gcv] || (global[gcv] = {});
52360
52445
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -52565,7 +52650,7 @@ var Attachment = function Attachment(_ref2) {
52565
52650
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
52566
52651
  autoFocus: true,
52567
52652
  "data-cy": "neeto-editor-attachment-rename-input",
52568
- error: ramda.isEmpty(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.name-empty")) : (cov_13lrfxjoky().b[7][1]++, ""),
52653
+ error: ramda.isEmpty(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.nameEmpty")) : (cov_13lrfxjoky().b[7][1]++, ""),
52569
52654
  size: "small",
52570
52655
  value: newFilename,
52571
52656
  onChange: function onChange(e) {
@@ -52599,7 +52684,7 @@ var Attachment = function Attachment(_ref2) {
52599
52684
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
52600
52685
  style: "body2"
52601
52686
  }, attachment.filename)), /*#__PURE__*/React__default["default"].createElement(neetoui.Tooltip, {
52602
- content: t("attachments.actions-blocked"),
52687
+ content: t("attachments.actionsBlocked"),
52603
52688
  disabled: !disabled,
52604
52689
  position: "top"
52605
52690
  }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Dropdown, {
@@ -52628,10 +52713,10 @@ var Attachment = function Attachment(_ref2) {
52628
52713
  })))))))), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
52629
52714
  isOpen: isDeleteAlertOpen,
52630
52715
  isSubmitting: isDeleting,
52631
- message: t("attachments.delete-confirmation", {
52716
+ message: t("attachments.deleteConfirmation", {
52632
52717
  entity: newFilename
52633
52718
  }),
52634
- title: t("attachments.delete-title"),
52719
+ title: t("attachments.deleteTitle"),
52635
52720
  onClose: function onClose() {
52636
52721
  cov_13lrfxjoky().f[12]++;
52637
52722
  cov_13lrfxjoky().s[49]++;
@@ -53471,7 +53556,7 @@ var handleDrop = function handleDrop(_ref4) {
53471
53556
 
53472
53557
  function cov_zjfqfoy4d() {
53473
53558
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/index.jsx";
53474
- var hash = "f82d3549f2e6d4b31bc674b20740d530bcd44a6d";
53559
+ var hash = "78a21063bcf8d8b43320fd72bdb310716e8a9c05";
53475
53560
  var global = new Function("return this")();
53476
53561
  var gcv = "__coverage__";
53477
53562
  var coverageData = {
@@ -53594,7 +53679,7 @@ function cov_zjfqfoy4d() {
53594
53679
  },
53595
53680
  end: {
53596
53681
  line: 57,
53597
- column: 52
53682
+ column: 50
53598
53683
  }
53599
53684
  },
53600
53685
  "12": {
@@ -54084,7 +54169,7 @@ function cov_zjfqfoy4d() {
54084
54169
  },
54085
54170
  end: {
54086
54171
  line: 192,
54087
- column: 70
54172
+ column: 68
54088
54173
  }
54089
54174
  }
54090
54175
  },
@@ -55268,7 +55353,7 @@ function cov_zjfqfoy4d() {
55268
55353
  "19": [0, 0]
55269
55354
  },
55270
55355
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
55271
- hash: "f82d3549f2e6d4b31bc674b20740d530bcd44a6d"
55356
+ hash: "78a21063bcf8d8b43320fd72bdb310716e8a9c05"
55272
55357
  };
55273
55358
  var coverage = global[gcv] || (global[gcv] = {});
55274
55359
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -55340,10 +55425,10 @@ var Attachments = function Attachments(_ref, ref) {
55340
55425
  });
55341
55426
  } catch (error) {
55342
55427
  cov_zjfqfoy4d().s[10]++;
55343
- if (error.message !== t("error.on-before-file-added-return")) {
55428
+ if (error.message !== t("error.onBeforeFileAddedReturn")) {
55344
55429
  cov_zjfqfoy4d().b[8][0]++;
55345
55430
  cov_zjfqfoy4d().s[11]++;
55346
- neetoui.Toastr.error(t("error.cannot-add-files"));
55431
+ neetoui.Toastr.error(t("error.cannotAddFiles"));
55347
55432
  } else {
55348
55433
  cov_zjfqfoy4d().b[8][1]++;
55349
55434
  }
@@ -55574,7 +55659,7 @@ var Attachments = function Attachments(_ref, ref) {
55574
55659
  cov_zjfqfoy4d().s[59]++;
55575
55660
  event.preventDefault();
55576
55661
  cov_zjfqfoy4d().s[60]++;
55577
- neetoui.Toastr.warning(t("attachments.one-attachment-allowed"));
55662
+ neetoui.Toastr.warning(t("attachments.oneAttachmentAllowed"));
55578
55663
  } else {
55579
55664
  cov_zjfqfoy4d().b[18][1]++;
55580
55665
  }
@@ -72050,7 +72135,7 @@ var EmbedOption = function EmbedOption(_ref) {
72050
72135
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
72051
72136
  "data-cy": "neeto-editor-embed-input",
72052
72137
  error: (cov_3ld39egr5().b[4][0]++, error) && (cov_3ld39egr5().b[4][1]++, "Please enter a valid URL"),
72053
- label: t("common.video-url"),
72138
+ label: t("common.videoUrl"),
72054
72139
  ref: inputRef,
72055
72140
  size: "medium",
72056
72141
  type: "text",
@@ -89645,7 +89730,7 @@ var Resizable = /** @class */ (function (_super) {
89645
89730
 
89646
89731
  function cov_15b9syaiuk() {
89647
89732
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/Menu.jsx";
89648
- var hash = "6d052f01da98e78ed8aaeebea642cc1b2e02d690";
89733
+ var hash = "3ba46b3dc117ea42db34d1a84f99da5fb0eba973";
89649
89734
  var global = new Function("return this")();
89650
89735
  var gcv = "__coverage__";
89651
89736
  var coverageData = {
@@ -89653,71 +89738,71 @@ function cov_15b9syaiuk() {
89653
89738
  statementMap: {
89654
89739
  "0": {
89655
89740
  start: {
89656
- line: 9,
89741
+ line: 8,
89657
89742
  column: 13
89658
89743
  },
89659
89744
  end: {
89660
- line: 35,
89745
+ line: 34,
89661
89746
  column: 1
89662
89747
  }
89663
89748
  },
89664
89749
  "1": {
89665
89750
  start: {
89666
- line: 10,
89751
+ line: 9,
89667
89752
  column: 22
89668
89753
  },
89669
89754
  end: {
89670
- line: 10,
89755
+ line: 9,
89671
89756
  column: 41
89672
89757
  }
89673
89758
  },
89674
89759
  "2": {
89675
89760
  start: {
89676
- line: 12,
89761
+ line: 11,
89677
89762
  column: 22
89678
89763
  },
89679
89764
  end: {
89680
- line: 13,
89765
+ line: 12,
89681
89766
  column: 54
89682
89767
  }
89683
89768
  },
89684
89769
  "3": {
89685
89770
  start: {
89686
- line: 13,
89771
+ line: 12,
89687
89772
  column: 4
89688
89773
  },
89689
89774
  end: {
89690
- line: 13,
89775
+ line: 12,
89691
89776
  column: 54
89692
89777
  }
89693
89778
  },
89694
89779
  "4": {
89695
89780
  start: {
89696
- line: 15,
89781
+ line: 14,
89697
89782
  column: 2
89698
89783
  },
89699
89784
  end: {
89700
- line: 34,
89785
+ line: 33,
89701
89786
  column: 4
89702
89787
  }
89703
89788
  },
89704
89789
  "5": {
89705
89790
  start: {
89706
- line: 25,
89791
+ line: 24,
89707
89792
  column: 8
89708
89793
  },
89709
89794
  end: {
89710
- line: 31,
89795
+ line: 30,
89711
89796
  column: 10
89712
89797
  }
89713
89798
  },
89714
89799
  "6": {
89715
89800
  start: {
89716
- line: 30,
89801
+ line: 29,
89717
89802
  column: 25
89718
89803
  },
89719
89804
  end: {
89720
- line: 30,
89805
+ line: 29,
89721
89806
  column: 46
89722
89807
  }
89723
89808
  }
@@ -89727,165 +89812,165 @@ function cov_15b9syaiuk() {
89727
89812
  name: "(anonymous_0)",
89728
89813
  decl: {
89729
89814
  start: {
89730
- line: 9,
89815
+ line: 8,
89731
89816
  column: 13
89732
89817
  },
89733
89818
  end: {
89734
- line: 9,
89819
+ line: 8,
89735
89820
  column: 14
89736
89821
  }
89737
89822
  },
89738
89823
  loc: {
89739
89824
  start: {
89740
- line: 9,
89825
+ line: 8,
89741
89826
  column: 58
89742
89827
  },
89743
89828
  end: {
89744
- line: 35,
89829
+ line: 34,
89745
89830
  column: 1
89746
89831
  }
89747
89832
  },
89748
- line: 9
89833
+ line: 8
89749
89834
  },
89750
89835
  "1": {
89751
89836
  name: "(anonymous_1)",
89752
89837
  decl: {
89753
89838
  start: {
89754
- line: 12,
89839
+ line: 11,
89755
89840
  column: 22
89756
89841
  },
89757
89842
  end: {
89758
- line: 12,
89843
+ line: 11,
89759
89844
  column: 23
89760
89845
  }
89761
89846
  },
89762
89847
  loc: {
89763
89848
  start: {
89764
- line: 13,
89849
+ line: 12,
89765
89850
  column: 4
89766
89851
  },
89767
89852
  end: {
89768
- line: 13,
89853
+ line: 12,
89769
89854
  column: 54
89770
89855
  }
89771
89856
  },
89772
- line: 13
89857
+ line: 12
89773
89858
  },
89774
89859
  "2": {
89775
89860
  name: "(anonymous_2)",
89776
89861
  decl: {
89777
89862
  start: {
89778
- line: 24,
89863
+ line: 23,
89779
89864
  column: 23
89780
89865
  },
89781
89866
  end: {
89782
- line: 24,
89867
+ line: 23,
89783
89868
  column: 24
89784
89869
  }
89785
89870
  },
89786
89871
  loc: {
89787
89872
  start: {
89788
- line: 25,
89873
+ line: 24,
89789
89874
  column: 8
89790
89875
  },
89791
89876
  end: {
89792
- line: 31,
89877
+ line: 30,
89793
89878
  column: 10
89794
89879
  }
89795
89880
  },
89796
- line: 25
89881
+ line: 24
89797
89882
  },
89798
89883
  "3": {
89799
89884
  name: "(anonymous_3)",
89800
89885
  decl: {
89801
89886
  start: {
89802
- line: 30,
89887
+ line: 29,
89803
89888
  column: 19
89804
89889
  },
89805
89890
  end: {
89806
- line: 30,
89891
+ line: 29,
89807
89892
  column: 20
89808
89893
  }
89809
89894
  },
89810
89895
  loc: {
89811
89896
  start: {
89812
- line: 30,
89897
+ line: 29,
89813
89898
  column: 25
89814
89899
  },
89815
89900
  end: {
89816
- line: 30,
89901
+ line: 29,
89817
89902
  column: 46
89818
89903
  }
89819
89904
  },
89820
- line: 30
89905
+ line: 29
89821
89906
  }
89822
89907
  },
89823
89908
  branchMap: {
89824
89909
  "0": {
89825
89910
  loc: {
89826
89911
  start: {
89827
- line: 13,
89912
+ line: 12,
89828
89913
  column: 4
89829
89914
  },
89830
89915
  end: {
89831
- line: 13,
89916
+ line: 12,
89832
89917
  column: 54
89833
89918
  }
89834
89919
  },
89835
89920
  type: "cond-expr",
89836
89921
  locations: [{
89837
89922
  start: {
89838
- line: 13,
89923
+ line: 12,
89839
89924
  column: 12
89840
89925
  },
89841
89926
  end: {
89842
- line: 13,
89927
+ line: 12,
89843
89928
  column: 39
89844
89929
  }
89845
89930
  }, {
89846
89931
  start: {
89847
- line: 13,
89932
+ line: 12,
89848
89933
  column: 42
89849
89934
  },
89850
89935
  end: {
89851
- line: 13,
89936
+ line: 12,
89852
89937
  column: 54
89853
89938
  }
89854
89939
  }],
89855
- line: 13
89940
+ line: 12
89856
89941
  },
89857
89942
  "1": {
89858
89943
  loc: {
89859
89944
  start: {
89860
- line: 28,
89945
+ line: 27,
89861
89946
  column: 17
89862
89947
  },
89863
89948
  end: {
89864
- line: 28,
89949
+ line: 27,
89865
89950
  column: 58
89866
89951
  }
89867
89952
  },
89868
89953
  type: "cond-expr",
89869
89954
  locations: [{
89870
89955
  start: {
89871
- line: 28,
89956
+ line: 27,
89872
89957
  column: 38
89873
89958
  },
89874
89959
  end: {
89875
- line: 28,
89960
+ line: 27,
89876
89961
  column: 49
89877
89962
  }
89878
89963
  }, {
89879
89964
  start: {
89880
- line: 28,
89965
+ line: 27,
89881
89966
  column: 52
89882
89967
  },
89883
89968
  end: {
89884
- line: 28,
89969
+ line: 27,
89885
89970
  column: 58
89886
89971
  }
89887
89972
  }],
89888
- line: 28
89973
+ line: 27
89889
89974
  }
89890
89975
  },
89891
89976
  s: {
@@ -89908,7 +89993,7 @@ function cov_15b9syaiuk() {
89908
89993
  "1": [0, 0]
89909
89994
  },
89910
89995
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
89911
- hash: "6d052f01da98e78ed8aaeebea642cc1b2e02d690"
89996
+ hash: "3ba46b3dc117ea42db34d1a84f99da5fb0eba973"
89912
89997
  };
89913
89998
  var coverage = global[gcv] || (global[gcv] = {});
89914
89999
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -89960,7 +90045,7 @@ var Menu$7 = function Menu(_ref) {
89960
90045
  key: optionName,
89961
90046
  style: alignPos === align ? (cov_15b9syaiuk().b[1][0]++, "secondary") : (cov_15b9syaiuk().b[1][1]++, "text"),
89962
90047
  tooltipProps: {
89963
- content: pure.humanize(optionName),
90048
+ content: optionName,
89964
90049
  position: "top"
89965
90050
  },
89966
90051
  onClick: function onClick() {
@@ -90293,7 +90378,7 @@ var ImageComponent = function ImageComponent(_ref) {
90293
90378
  var _excluded$9 = ["caption"];
90294
90379
  function cov_ksv9azglk() {
90295
90380
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ExtensionConfig.js";
90296
- var hash = "ada28f75fde80f292bf6b6aa817d5a1a7b787b55";
90381
+ var hash = "3bebbf402f81491dd9c9f45cd7e242485e38da56";
90297
90382
  var global = new Function("return this")();
90298
90383
  var gcv = "__coverage__";
90299
90384
  var coverageData = {
@@ -90301,411 +90386,411 @@ function cov_ksv9azglk() {
90301
90386
  statementMap: {
90302
90387
  "0": {
90303
90388
  start: {
90304
- line: 13,
90389
+ line: 14,
90305
90390
  column: 23
90306
90391
  },
90307
90392
  end: {
90308
- line: 126,
90393
+ line: 127,
90309
90394
  column: 2
90310
90395
  }
90311
90396
  },
90312
90397
  "1": {
90313
90398
  start: {
90314
- line: 17,
90399
+ line: 18,
90315
90400
  column: 4
90316
90401
  },
90317
90402
  end: {
90318
- line: 19,
90403
+ line: 20,
90319
90404
  column: 6
90320
90405
  }
90321
90406
  },
90322
90407
  "2": {
90323
90408
  start: {
90324
- line: 31,
90409
+ line: 32,
90325
90410
  column: 4
90326
90411
  },
90327
90412
  end: {
90328
- line: 59,
90413
+ line: 60,
90329
90414
  column: 6
90330
90415
  }
90331
90416
  },
90332
90417
  "3": {
90333
90418
  start: {
90334
- line: 34,
90419
+ line: 35,
90335
90420
  column: 30
90336
90421
  },
90337
90422
  end: {
90338
- line: 34,
90423
+ line: 35,
90339
90424
  column: 79
90340
90425
  }
90341
90426
  },
90342
90427
  "4": {
90343
90428
  start: {
90344
- line: 39,
90429
+ line: 40,
90345
90430
  column: 30
90346
90431
  },
90347
90432
  end: {
90348
- line: 39,
90433
+ line: 40,
90349
90434
  column: 79
90350
90435
  }
90351
90436
  },
90352
90437
  "5": {
90353
90438
  start: {
90354
- line: 45,
90439
+ line: 46,
90355
90440
  column: 10
90356
90441
  },
90357
90442
  end: {
90358
- line: 45,
90443
+ line: 46,
90359
90444
  column: 65
90360
90445
  }
90361
90446
  },
90362
90447
  "6": {
90363
90448
  start: {
90364
- line: 51,
90449
+ line: 52,
90365
90450
  column: 10
90366
90451
  },
90367
90452
  end: {
90368
- line: 51,
90453
+ line: 52,
90369
90454
  column: 64
90370
90455
  }
90371
90456
  },
90372
90457
  "7": {
90373
90458
  start: {
90374
- line: 57,
90459
+ line: 58,
90375
90460
  column: 10
90376
90461
  },
90377
90462
  end: {
90378
- line: 57,
90463
+ line: 58,
90379
90464
  column: 61
90380
90465
  }
90381
90466
  },
90382
90467
  "8": {
90383
90468
  start: {
90384
- line: 63,
90469
+ line: 64,
90385
90470
  column: 4
90386
90471
  },
90387
90472
  end: {
90388
- line: 68,
90473
+ line: 69,
90389
90474
  column: 6
90390
90475
  }
90391
90476
  },
90392
90477
  "9": {
90393
90478
  start: {
90394
- line: 72,
90479
+ line: 73,
90395
90480
  column: 48
90396
90481
  },
90397
90482
  end: {
90398
- line: 72,
90483
+ line: 73,
90399
90484
  column: 58
90400
90485
  }
90401
90486
  },
90402
90487
  "10": {
90403
90488
  start: {
90404
- line: 74,
90489
+ line: 75,
90405
90490
  column: 22
90406
90491
  },
90407
90492
  end: {
90408
- line: 79,
90493
+ line: 80,
90409
90494
  column: 5
90410
90495
  }
90411
90496
  },
90412
90497
  "11": {
90413
90498
  start: {
90414
- line: 81,
90499
+ line: 82,
90415
90500
  column: 24
90416
90501
  },
90417
90502
  end: {
90418
- line: 84,
90503
+ line: 85,
90419
90504
  column: 5
90420
90505
  }
90421
90506
  },
90422
90507
  "12": {
90423
90508
  start: {
90424
- line: 86,
90509
+ line: 87,
90425
90510
  column: 4
90426
90511
  },
90427
90512
  end: {
90428
- line: 105,
90513
+ line: 106,
90429
90514
  column: 6
90430
90515
  }
90431
90516
  },
90432
90517
  "13": {
90433
90518
  start: {
90434
- line: 109,
90519
+ line: 110,
90435
90520
  column: 4
90436
90521
  },
90437
90522
  end: {
90438
- line: 109,
90523
+ line: 110,
90439
90524
  column: 49
90440
90525
  }
90441
90526
  },
90442
90527
  "14": {
90443
90528
  start: {
90444
- line: 113,
90529
+ line: 114,
90445
90530
  column: 4
90446
90531
  },
90447
90532
  end: {
90448
- line: 124,
90533
+ line: 125,
90449
90534
  column: 6
90450
90535
  }
90451
90536
  },
90452
90537
  "15": {
90453
90538
  start: {
90454
- line: 116,
90539
+ line: 117,
90455
90540
  column: 8
90456
90541
  },
90457
90542
  end: {
90458
- line: 123,
90543
+ line: 124,
90459
90544
  column: 18
90460
90545
  }
90461
90546
  },
90462
90547
  "16": {
90463
90548
  start: {
90464
- line: 117,
90549
+ line: 118,
90465
90550
  column: 10
90466
90551
  },
90467
90552
  end: {
90468
- line: 123,
90553
+ line: 124,
90469
90554
  column: 18
90470
90555
  }
90471
90556
  },
90472
90557
  "17": {
90473
90558
  start: {
90474
- line: 128,
90559
+ line: 129,
90475
90560
  column: 15
90476
90561
  },
90477
90562
  end: {
90478
- line: 140,
90563
+ line: 141,
90479
90564
  column: 1
90480
90565
  }
90481
90566
  },
90482
90567
  "18": {
90483
90568
  start: {
90484
- line: 129,
90569
+ line: 130,
90485
90570
  column: 2
90486
90571
  },
90487
90572
  end: {
90488
- line: 134,
90573
+ line: 135,
90489
90574
  column: 3
90490
90575
  }
90491
90576
  },
90492
90577
  "19": {
90493
90578
  start: {
90494
- line: 130,
90579
+ line: 131,
90495
90580
  column: 21
90496
90581
  },
90497
90582
  end: {
90498
- line: 130,
90583
+ line: 131,
90499
90584
  column: 52
90500
90585
  }
90501
90586
  },
90502
90587
  "20": {
90503
90588
  start: {
90504
- line: 131,
90589
+ line: 132,
90505
90590
  column: 21
90506
90591
  },
90507
90592
  end: {
90508
- line: 131,
90593
+ line: 132,
90509
90594
  column: 44
90510
90595
  }
90511
90596
  },
90512
90597
  "21": {
90513
90598
  start: {
90514
- line: 133,
90599
+ line: 134,
90515
90600
  column: 4
90516
90601
  },
90517
90602
  end: {
90518
- line: 133,
90603
+ line: 134,
90519
90604
  column: 56
90520
90605
  }
90521
90606
  },
90522
90607
  "22": {
90523
90608
  start: {
90524
- line: 136,
90609
+ line: 137,
90525
90610
  column: 24
90526
90611
  },
90527
90612
  end: {
90528
- line: 136,
90613
+ line: 137,
90529
90614
  column: 54
90530
90615
  }
90531
90616
  },
90532
90617
  "23": {
90533
90618
  start: {
90534
- line: 137,
90619
+ line: 138,
90535
90620
  column: 2
90536
90621
  },
90537
90622
  end: {
90538
- line: 137,
90539
- column: 69
90623
+ line: 138,
90624
+ column: 77
90540
90625
  }
90541
90626
  },
90542
90627
  "24": {
90543
90628
  start: {
90544
- line: 139,
90629
+ line: 140,
90545
90630
  column: 2
90546
90631
  },
90547
90632
  end: {
90548
- line: 139,
90633
+ line: 140,
90549
90634
  column: 12
90550
90635
  }
90551
90636
  },
90552
90637
  "25": {
90553
90638
  start: {
90554
- line: 144,
90639
+ line: 145,
90555
90640
  column: 4
90556
90641
  },
90557
90642
  end: {
90558
- line: 184,
90643
+ line: 185,
90559
90644
  column: 6
90560
90645
  }
90561
90646
  },
90562
90647
  "26": {
90563
90648
  start: {
90564
- line: 146,
90649
+ line: 147,
90565
90650
  column: 8
90566
90651
  },
90567
90652
  end: {
90568
- line: 182,
90653
+ line: 183,
90569
90654
  column: 10
90570
90655
  }
90571
90656
  },
90572
90657
  "27": {
90573
90658
  start: {
90574
- line: 156,
90659
+ line: 157,
90575
90660
  column: 22
90576
90661
  },
90577
90662
  end: {
90578
- line: 156,
90663
+ line: 157,
90579
90664
  column: 32
90580
90665
  }
90581
90666
  },
90582
90667
  "28": {
90583
90668
  start: {
90584
- line: 157,
90669
+ line: 158,
90585
90670
  column: 35
90586
90671
  },
90587
90672
  end: {
90588
- line: 157,
90673
+ line: 158,
90589
90674
  column: 69
90590
90675
  }
90591
90676
  },
90592
90677
  "29": {
90593
90678
  start: {
90594
- line: 159,
90679
+ line: 160,
90595
90680
  column: 18
90596
90681
  },
90597
90682
  end: {
90598
- line: 159,
90683
+ line: 160,
90599
90684
  column: 40
90600
90685
  }
90601
90686
  },
90602
90687
  "30": {
90603
90688
  start: {
90604
- line: 159,
90689
+ line: 160,
90605
90690
  column: 33
90606
90691
  },
90607
90692
  end: {
90608
- line: 159,
90693
+ line: 160,
90609
90694
  column: 40
90610
90695
  }
90611
90696
  },
90612
90697
  "31": {
90613
90698
  start: {
90614
- line: 161,
90699
+ line: 162,
90615
90700
  column: 33
90616
90701
  },
90617
90702
  end: {
90618
- line: 163,
90703
+ line: 164,
90619
90704
  column: 19
90620
90705
  }
90621
90706
  },
90622
90707
  "32": {
90623
90708
  start: {
90624
- line: 162,
90709
+ line: 163,
90625
90710
  column: 28
90626
90711
  },
90627
90712
  end: {
90628
- line: 162,
90713
+ line: 163,
90629
90714
  column: 52
90630
90715
  }
90631
90716
  },
90632
90717
  "33": {
90633
90718
  start: {
90634
- line: 165,
90719
+ line: 166,
90635
90720
  column: 18
90636
90721
  },
90637
90722
  end: {
90638
- line: 165,
90723
+ line: 166,
90639
90724
  column: 46
90640
90725
  }
90641
90726
  },
90642
90727
  "34": {
90643
90728
  start: {
90644
- line: 165,
90729
+ line: 166,
90645
90730
  column: 39
90646
90731
  },
90647
90732
  end: {
90648
- line: 165,
90733
+ line: 166,
90649
90734
  column: 46
90650
90735
  }
90651
90736
  },
90652
90737
  "35": {
90653
90738
  start: {
90654
- line: 167,
90739
+ line: 168,
90655
90740
  column: 18
90656
90741
  },
90657
90742
  end: {
90658
- line: 167,
90743
+ line: 168,
90659
90744
  column: 41
90660
90745
  }
90661
90746
  },
90662
90747
  "36": {
90663
90748
  start: {
90664
- line: 169,
90749
+ line: 170,
90665
90750
  column: 18
90666
90751
  },
90667
90752
  end: {
90668
- line: 177,
90753
+ line: 178,
90669
90754
  column: 21
90670
90755
  }
90671
90756
  },
90672
90757
  "37": {
90673
90758
  start: {
90674
- line: 170,
90759
+ line: 171,
90675
90760
  column: 33
90676
90761
  },
90677
90762
  end: {
90678
- line: 172,
90763
+ line: 173,
90679
90764
  column: 22
90680
90765
  }
90681
90766
  },
90682
90767
  "38": {
90683
90768
  start: {
90684
- line: 173,
90769
+ line: 174,
90685
90770
  column: 20
90686
90771
  },
90687
90772
  end: {
90688
- line: 176,
90773
+ line: 177,
90689
90774
  column: 21
90690
90775
  }
90691
90776
  },
90692
90777
  "39": {
90693
90778
  start: {
90694
- line: 174,
90779
+ line: 175,
90695
90780
  column: 42
90696
90781
  },
90697
90782
  end: {
90698
- line: 174,
90783
+ line: 175,
90699
90784
  column: 73
90700
90785
  }
90701
90786
  },
90702
90787
  "40": {
90703
90788
  start: {
90704
- line: 175,
90789
+ line: 176,
90705
90790
  column: 22
90706
90791
  },
90707
90792
  end: {
90708
- line: 175,
90793
+ line: 176,
90709
90794
  column: 49
90710
90795
  }
90711
90796
  }
@@ -90715,512 +90800,512 @@ function cov_ksv9azglk() {
90715
90800
  name: "(anonymous_0)",
90716
90801
  decl: {
90717
90802
  start: {
90718
- line: 16,
90803
+ line: 17,
90719
90804
  column: 2
90720
90805
  },
90721
90806
  end: {
90722
- line: 16,
90807
+ line: 17,
90723
90808
  column: 3
90724
90809
  }
90725
90810
  },
90726
90811
  loc: {
90727
90812
  start: {
90728
- line: 16,
90813
+ line: 17,
90729
90814
  column: 15
90730
90815
  },
90731
90816
  end: {
90732
- line: 20,
90817
+ line: 21,
90733
90818
  column: 3
90734
90819
  }
90735
90820
  },
90736
- line: 16
90821
+ line: 17
90737
90822
  },
90738
90823
  "1": {
90739
90824
  name: "(anonymous_1)",
90740
90825
  decl: {
90741
90826
  start: {
90742
- line: 30,
90827
+ line: 31,
90743
90828
  column: 2
90744
90829
  },
90745
90830
  end: {
90746
- line: 30,
90831
+ line: 31,
90747
90832
  column: 3
90748
90833
  }
90749
90834
  },
90750
90835
  loc: {
90751
90836
  start: {
90752
- line: 30,
90837
+ line: 31,
90753
90838
  column: 18
90754
90839
  },
90755
90840
  end: {
90756
- line: 60,
90841
+ line: 61,
90757
90842
  column: 3
90758
90843
  }
90759
90844
  },
90760
- line: 30
90845
+ line: 31
90761
90846
  },
90762
90847
  "2": {
90763
90848
  name: "(anonymous_2)",
90764
90849
  decl: {
90765
90850
  start: {
90766
- line: 34,
90851
+ line: 35,
90767
90852
  column: 19
90768
90853
  },
90769
90854
  end: {
90770
- line: 34,
90855
+ line: 35,
90771
90856
  column: 20
90772
90857
  }
90773
90858
  },
90774
90859
  loc: {
90775
90860
  start: {
90776
- line: 34,
90861
+ line: 35,
90777
90862
  column: 30
90778
90863
  },
90779
90864
  end: {
90780
- line: 34,
90865
+ line: 35,
90781
90866
  column: 79
90782
90867
  }
90783
90868
  },
90784
- line: 34
90869
+ line: 35
90785
90870
  },
90786
90871
  "3": {
90787
90872
  name: "(anonymous_3)",
90788
90873
  decl: {
90789
90874
  start: {
90790
- line: 39,
90875
+ line: 40,
90791
90876
  column: 19
90792
90877
  },
90793
90878
  end: {
90794
- line: 39,
90879
+ line: 40,
90795
90880
  column: 20
90796
90881
  }
90797
90882
  },
90798
90883
  loc: {
90799
90884
  start: {
90800
- line: 39,
90885
+ line: 40,
90801
90886
  column: 30
90802
90887
  },
90803
90888
  end: {
90804
- line: 39,
90889
+ line: 40,
90805
90890
  column: 79
90806
90891
  }
90807
90892
  },
90808
- line: 39
90893
+ line: 40
90809
90894
  },
90810
90895
  "4": {
90811
90896
  name: "(anonymous_4)",
90812
90897
  decl: {
90813
90898
  start: {
90814
- line: 44,
90899
+ line: 45,
90815
90900
  column: 19
90816
90901
  },
90817
90902
  end: {
90818
- line: 44,
90903
+ line: 45,
90819
90904
  column: 20
90820
90905
  }
90821
90906
  },
90822
90907
  loc: {
90823
90908
  start: {
90824
- line: 45,
90909
+ line: 46,
90825
90910
  column: 10
90826
90911
  },
90827
90912
  end: {
90828
- line: 45,
90913
+ line: 46,
90829
90914
  column: 65
90830
90915
  }
90831
90916
  },
90832
- line: 45
90917
+ line: 46
90833
90918
  },
90834
90919
  "5": {
90835
90920
  name: "(anonymous_5)",
90836
90921
  decl: {
90837
90922
  start: {
90838
- line: 50,
90923
+ line: 51,
90839
90924
  column: 19
90840
90925
  },
90841
90926
  end: {
90842
- line: 50,
90927
+ line: 51,
90843
90928
  column: 20
90844
90929
  }
90845
90930
  },
90846
90931
  loc: {
90847
90932
  start: {
90848
- line: 51,
90933
+ line: 52,
90849
90934
  column: 10
90850
90935
  },
90851
90936
  end: {
90852
- line: 51,
90937
+ line: 52,
90853
90938
  column: 64
90854
90939
  }
90855
90940
  },
90856
- line: 51
90941
+ line: 52
90857
90942
  },
90858
90943
  "6": {
90859
90944
  name: "(anonymous_6)",
90860
90945
  decl: {
90861
90946
  start: {
90862
- line: 56,
90947
+ line: 57,
90863
90948
  column: 19
90864
90949
  },
90865
90950
  end: {
90866
- line: 56,
90951
+ line: 57,
90867
90952
  column: 20
90868
90953
  }
90869
90954
  },
90870
90955
  loc: {
90871
90956
  start: {
90872
- line: 57,
90957
+ line: 58,
90873
90958
  column: 10
90874
90959
  },
90875
90960
  end: {
90876
- line: 57,
90961
+ line: 58,
90877
90962
  column: 61
90878
90963
  }
90879
90964
  },
90880
- line: 57
90965
+ line: 58
90881
90966
  },
90882
90967
  "7": {
90883
90968
  name: "(anonymous_7)",
90884
90969
  decl: {
90885
90970
  start: {
90886
- line: 62,
90971
+ line: 63,
90887
90972
  column: 2
90888
90973
  },
90889
90974
  end: {
90890
- line: 62,
90975
+ line: 63,
90891
90976
  column: 3
90892
90977
  }
90893
90978
  },
90894
90979
  loc: {
90895
90980
  start: {
90896
- line: 62,
90981
+ line: 63,
90897
90982
  column: 14
90898
90983
  },
90899
90984
  end: {
90900
- line: 69,
90985
+ line: 70,
90901
90986
  column: 3
90902
90987
  }
90903
90988
  },
90904
- line: 62
90989
+ line: 63
90905
90990
  },
90906
90991
  "8": {
90907
90992
  name: "(anonymous_8)",
90908
90993
  decl: {
90909
90994
  start: {
90910
- line: 71,
90995
+ line: 72,
90911
90996
  column: 2
90912
90997
  },
90913
90998
  end: {
90914
- line: 71,
90999
+ line: 72,
90915
91000
  column: 3
90916
91001
  }
90917
91002
  },
90918
91003
  loc: {
90919
91004
  start: {
90920
- line: 71,
91005
+ line: 72,
90921
91006
  column: 39
90922
91007
  },
90923
91008
  end: {
90924
- line: 106,
91009
+ line: 107,
90925
91010
  column: 3
90926
91011
  }
90927
91012
  },
90928
- line: 71
91013
+ line: 72
90929
91014
  },
90930
91015
  "9": {
90931
91016
  name: "(anonymous_9)",
90932
91017
  decl: {
90933
91018
  start: {
90934
- line: 108,
91019
+ line: 109,
90935
91020
  column: 2
90936
91021
  },
90937
91022
  end: {
90938
- line: 108,
91023
+ line: 109,
90939
91024
  column: 3
90940
91025
  }
90941
91026
  },
90942
91027
  loc: {
90943
91028
  start: {
90944
- line: 108,
91029
+ line: 109,
90945
91030
  column: 16
90946
91031
  },
90947
91032
  end: {
90948
- line: 110,
91033
+ line: 111,
90949
91034
  column: 3
90950
91035
  }
90951
91036
  },
90952
- line: 108
91037
+ line: 109
90953
91038
  },
90954
91039
  "10": {
90955
91040
  name: "(anonymous_10)",
90956
91041
  decl: {
90957
91042
  start: {
90958
- line: 112,
91043
+ line: 113,
90959
91044
  column: 2
90960
91045
  },
90961
91046
  end: {
90962
- line: 112,
91047
+ line: 113,
90963
91048
  column: 3
90964
91049
  }
90965
91050
  },
90966
91051
  loc: {
90967
91052
  start: {
90968
- line: 112,
91053
+ line: 113,
90969
91054
  column: 16
90970
91055
  },
90971
91056
  end: {
90972
- line: 125,
91057
+ line: 126,
90973
91058
  column: 3
90974
91059
  }
90975
91060
  },
90976
- line: 112
91061
+ line: 113
90977
91062
  },
90978
91063
  "11": {
90979
91064
  name: "(anonymous_11)",
90980
91065
  decl: {
90981
91066
  start: {
90982
- line: 115,
91067
+ line: 116,
90983
91068
  column: 8
90984
91069
  },
90985
91070
  end: {
90986
- line: 115,
91071
+ line: 116,
90987
91072
  column: 9
90988
91073
  }
90989
91074
  },
90990
91075
  loc: {
90991
91076
  start: {
90992
- line: 116,
91077
+ line: 117,
90993
91078
  column: 8
90994
91079
  },
90995
91080
  end: {
90996
- line: 123,
91081
+ line: 124,
90997
91082
  column: 18
90998
91083
  }
90999
91084
  },
91000
- line: 116
91085
+ line: 117
91001
91086
  },
91002
91087
  "12": {
91003
91088
  name: "(anonymous_12)",
91004
91089
  decl: {
91005
91090
  start: {
91006
- line: 116,
91091
+ line: 117,
91007
91092
  column: 8
91008
91093
  },
91009
91094
  end: {
91010
- line: 116,
91095
+ line: 117,
91011
91096
  column: 9
91012
91097
  }
91013
91098
  },
91014
91099
  loc: {
91015
91100
  start: {
91016
- line: 117,
91101
+ line: 118,
91017
91102
  column: 10
91018
91103
  },
91019
91104
  end: {
91020
- line: 123,
91105
+ line: 124,
91021
91106
  column: 18
91022
91107
  }
91023
91108
  },
91024
- line: 117
91109
+ line: 118
91025
91110
  },
91026
91111
  "13": {
91027
91112
  name: "(anonymous_13)",
91028
91113
  decl: {
91029
91114
  start: {
91030
- line: 128,
91115
+ line: 129,
91031
91116
  column: 15
91032
91117
  },
91033
91118
  end: {
91034
- line: 128,
91119
+ line: 129,
91035
91120
  column: 16
91036
91121
  }
91037
91122
  },
91038
91123
  loc: {
91039
91124
  start: {
91040
- line: 128,
91125
+ line: 129,
91041
91126
  column: 36
91042
91127
  },
91043
91128
  end: {
91044
- line: 140,
91129
+ line: 141,
91045
91130
  column: 1
91046
91131
  }
91047
91132
  },
91048
- line: 128
91133
+ line: 129
91049
91134
  },
91050
91135
  "14": {
91051
91136
  name: "(anonymous_14)",
91052
91137
  decl: {
91053
91138
  start: {
91054
- line: 143,
91139
+ line: 144,
91055
91140
  column: 13
91056
91141
  },
91057
91142
  end: {
91058
- line: 143,
91143
+ line: 144,
91059
91144
  column: 14
91060
91145
  }
91061
91146
  },
91062
91147
  loc: {
91063
91148
  start: {
91064
- line: 144,
91149
+ line: 145,
91065
91150
  column: 4
91066
91151
  },
91067
91152
  end: {
91068
- line: 184,
91153
+ line: 185,
91069
91154
  column: 6
91070
91155
  }
91071
91156
  },
91072
- line: 144
91157
+ line: 145
91073
91158
  },
91074
91159
  "15": {
91075
91160
  name: "(anonymous_15)",
91076
91161
  decl: {
91077
91162
  start: {
91078
- line: 145,
91163
+ line: 146,
91079
91164
  column: 6
91080
91165
  },
91081
91166
  end: {
91082
- line: 145,
91167
+ line: 146,
91083
91168
  column: 7
91084
91169
  }
91085
91170
  },
91086
91171
  loc: {
91087
91172
  start: {
91088
- line: 145,
91173
+ line: 146,
91089
91174
  column: 30
91090
91175
  },
91091
91176
  end: {
91092
- line: 183,
91177
+ line: 184,
91093
91178
  column: 7
91094
91179
  }
91095
91180
  },
91096
- line: 145
91181
+ line: 146
91097
91182
  },
91098
91183
  "16": {
91099
91184
  name: "(anonymous_16)",
91100
91185
  decl: {
91101
91186
  start: {
91102
- line: 150,
91187
+ line: 151,
91103
91188
  column: 16
91104
91189
  },
91105
91190
  end: {
91106
- line: 150,
91191
+ line: 151,
91107
91192
  column: 17
91108
91193
  }
91109
91194
  },
91110
91195
  loc: {
91111
91196
  start: {
91112
- line: 150,
91197
+ line: 151,
91113
91198
  column: 35
91114
91199
  },
91115
91200
  end: {
91116
- line: 178,
91201
+ line: 179,
91117
91202
  column: 17
91118
91203
  }
91119
91204
  },
91120
- line: 150
91205
+ line: 151
91121
91206
  },
91122
91207
  "17": {
91123
91208
  name: "(anonymous_17)",
91124
91209
  decl: {
91125
91210
  start: {
91126
- line: 162,
91211
+ line: 163,
91127
91212
  column: 20
91128
91213
  },
91129
91214
  end: {
91130
- line: 162,
91215
+ line: 163,
91131
91216
  column: 21
91132
91217
  }
91133
91218
  },
91134
91219
  loc: {
91135
91220
  start: {
91136
- line: 162,
91221
+ line: 163,
91137
91222
  column: 28
91138
91223
  },
91139
91224
  end: {
91140
- line: 162,
91225
+ line: 163,
91141
91226
  column: 52
91142
91227
  }
91143
91228
  },
91144
- line: 162
91229
+ line: 163
91145
91230
  },
91146
91231
  "18": {
91147
91232
  name: "(anonymous_18)",
91148
91233
  decl: {
91149
91234
  start: {
91150
- line: 169,
91235
+ line: 170,
91151
91236
  column: 33
91152
91237
  },
91153
91238
  end: {
91154
- line: 169,
91239
+ line: 170,
91155
91240
  column: 34
91156
91241
  }
91157
91242
  },
91158
91243
  loc: {
91159
91244
  start: {
91160
- line: 169,
91245
+ line: 170,
91161
91246
  column: 48
91162
91247
  },
91163
91248
  end: {
91164
- line: 177,
91249
+ line: 178,
91165
91250
  column: 19
91166
91251
  }
91167
91252
  },
91168
- line: 169
91253
+ line: 170
91169
91254
  }
91170
91255
  },
91171
91256
  branchMap: {
91172
91257
  "0": {
91173
91258
  loc: {
91174
91259
  start: {
91175
- line: 121,
91260
+ line: 122,
91176
91261
  column: 23
91177
91262
  },
91178
91263
  end: {
91179
- line: 121,
91264
+ line: 122,
91180
91265
  column: 71
91181
91266
  }
91182
91267
  },
91183
91268
  type: "cond-expr",
91184
91269
  locations: [{
91185
91270
  start: {
91186
- line: 121,
91271
+ line: 122,
91187
91272
  column: 33
91188
91273
  },
91189
91274
  end: {
91190
- line: 121,
91275
+ line: 122,
91191
91276
  column: 66
91192
91277
  }
91193
91278
  }, {
91194
91279
  start: {
91195
- line: 121,
91280
+ line: 122,
91196
91281
  column: 69
91197
91282
  },
91198
91283
  end: {
91199
- line: 121,
91284
+ line: 122,
91200
91285
  column: 71
91201
91286
  }
91202
91287
  }],
91203
- line: 121
91288
+ line: 122
91204
91289
  },
91205
91290
  "1": {
91206
91291
  loc: {
91207
91292
  start: {
91208
- line: 129,
91293
+ line: 130,
91209
91294
  column: 2
91210
91295
  },
91211
91296
  end: {
91212
- line: 134,
91297
+ line: 135,
91213
91298
  column: 3
91214
91299
  }
91215
91300
  },
91216
91301
  type: "if",
91217
91302
  locations: [{
91218
91303
  start: {
91219
- line: 129,
91304
+ line: 130,
91220
91305
  column: 2
91221
91306
  },
91222
91307
  end: {
91223
- line: 134,
91308
+ line: 135,
91224
91309
  column: 3
91225
91310
  }
91226
91311
  }, {
@@ -91233,60 +91318,60 @@ function cov_ksv9azglk() {
91233
91318
  column: undefined
91234
91319
  }
91235
91320
  }],
91236
- line: 129
91321
+ line: 130
91237
91322
  },
91238
91323
  "2": {
91239
91324
  loc: {
91240
91325
  start: {
91241
- line: 133,
91326
+ line: 134,
91242
91327
  column: 11
91243
91328
  },
91244
91329
  end: {
91245
- line: 133,
91330
+ line: 134,
91246
91331
  column: 55
91247
91332
  }
91248
91333
  },
91249
91334
  type: "binary-expr",
91250
91335
  locations: [{
91251
91336
  start: {
91252
- line: 133,
91337
+ line: 134,
91253
91338
  column: 11
91254
91339
  },
91255
91340
  end: {
91256
- line: 133,
91341
+ line: 134,
91257
91342
  column: 34
91258
91343
  }
91259
91344
  }, {
91260
91345
  start: {
91261
- line: 133,
91346
+ line: 134,
91262
91347
  column: 38
91263
91348
  },
91264
91349
  end: {
91265
- line: 133,
91350
+ line: 134,
91266
91351
  column: 55
91267
91352
  }
91268
91353
  }],
91269
- line: 133
91354
+ line: 134
91270
91355
  },
91271
91356
  "3": {
91272
91357
  loc: {
91273
91358
  start: {
91274
- line: 159,
91359
+ line: 160,
91275
91360
  column: 18
91276
91361
  },
91277
91362
  end: {
91278
- line: 159,
91363
+ line: 160,
91279
91364
  column: 40
91280
91365
  }
91281
91366
  },
91282
91367
  type: "if",
91283
91368
  locations: [{
91284
91369
  start: {
91285
- line: 159,
91370
+ line: 160,
91286
91371
  column: 18
91287
91372
  },
91288
91373
  end: {
91289
- line: 159,
91374
+ line: 160,
91290
91375
  column: 40
91291
91376
  }
91292
91377
  }, {
@@ -91299,27 +91384,27 @@ function cov_ksv9azglk() {
91299
91384
  column: undefined
91300
91385
  }
91301
91386
  }],
91302
- line: 159
91387
+ line: 160
91303
91388
  },
91304
91389
  "4": {
91305
91390
  loc: {
91306
91391
  start: {
91307
- line: 165,
91392
+ line: 166,
91308
91393
  column: 18
91309
91394
  },
91310
91395
  end: {
91311
- line: 165,
91396
+ line: 166,
91312
91397
  column: 46
91313
91398
  }
91314
91399
  },
91315
91400
  type: "if",
91316
91401
  locations: [{
91317
91402
  start: {
91318
- line: 165,
91403
+ line: 166,
91319
91404
  column: 18
91320
91405
  },
91321
91406
  end: {
91322
- line: 165,
91407
+ line: 166,
91323
91408
  column: 46
91324
91409
  }
91325
91410
  }, {
@@ -91332,27 +91417,27 @@ function cov_ksv9azglk() {
91332
91417
  column: undefined
91333
91418
  }
91334
91419
  }],
91335
- line: 165
91420
+ line: 166
91336
91421
  },
91337
91422
  "5": {
91338
91423
  loc: {
91339
91424
  start: {
91340
- line: 173,
91425
+ line: 174,
91341
91426
  column: 20
91342
91427
  },
91343
91428
  end: {
91344
- line: 176,
91429
+ line: 177,
91345
91430
  column: 21
91346
91431
  }
91347
91432
  },
91348
91433
  type: "if",
91349
91434
  locations: [{
91350
91435
  start: {
91351
- line: 173,
91436
+ line: 174,
91352
91437
  column: 20
91353
91438
  },
91354
91439
  end: {
91355
- line: 176,
91440
+ line: 177,
91356
91441
  column: 21
91357
91442
  }
91358
91443
  }, {
@@ -91365,7 +91450,7 @@ function cov_ksv9azglk() {
91365
91450
  column: undefined
91366
91451
  }
91367
91452
  }],
91368
- line: 173
91453
+ line: 174
91369
91454
  }
91370
91455
  },
91371
91456
  s: {
@@ -91441,7 +91526,7 @@ function cov_ksv9azglk() {
91441
91526
  "5": [0, 0]
91442
91527
  },
91443
91528
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
91444
- hash: "ada28f75fde80f292bf6b6aa817d5a1a7b787b55"
91529
+ hash: "3bebbf402f81491dd9c9f45cd7e242485e38da56"
91445
91530
  };
91446
91531
  var coverage = global[gcv] || (global[gcv] = {});
91447
91532
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -91616,7 +91701,9 @@ var upload = /*#__PURE__*/function () {
91616
91701
  case 14:
91617
91702
  imageSizeInMB = (cov_ksv9azglk().s[22]++, MAX_IMAGE_SIZE / (1024 * 1024));
91618
91703
  cov_ksv9azglk().s[23]++;
91619
- neetoui.Toastr.error("Image size should be less than ".concat(imageSizeInMB, " MB"));
91704
+ neetoui.Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
91705
+ limit: imageSizeInMB
91706
+ }));
91620
91707
  cov_ksv9azglk().s[24]++;
91621
91708
  return _context.abrupt("return", "");
91622
91709
  case 19:
@@ -96450,7 +96537,7 @@ var Mention = {
96450
96537
 
96451
96538
  function cov_134mrrjy5g() {
96452
96539
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Placeholder/ExtensionConfig.js";
96453
- var hash = "1857c12779d129bb0f57648250c8896d7ff6e8e2";
96540
+ var hash = "a628a59bba8d6c190faea7f50c6e8fcbc3298925";
96454
96541
  var global = new Function("return this")();
96455
96542
  var gcv = "__coverage__";
96456
96543
  var coverageData = {
@@ -96458,201 +96545,201 @@ function cov_134mrrjy5g() {
96458
96545
  statementMap: {
96459
96546
  "0": {
96460
96547
  start: {
96461
- line: 5,
96548
+ line: 6,
96462
96549
  column: 20
96463
96550
  },
96464
96551
  end: {
96465
- line: 69,
96552
+ line: 70,
96466
96553
  column: 2
96467
96554
  }
96468
96555
  },
96469
96556
  "1": {
96470
96557
  start: {
96471
- line: 9,
96558
+ line: 10,
96472
96559
  column: 4
96473
96560
  },
96474
96561
  end: {
96475
- line: 17,
96562
+ line: 18,
96476
96563
  column: 6
96477
96564
  }
96478
96565
  },
96479
96566
  "2": {
96480
96567
  start: {
96481
- line: 21,
96568
+ line: 22,
96482
96569
  column: 4
96483
96570
  },
96484
96571
  end: {
96485
- line: 67,
96572
+ line: 68,
96486
96573
  column: 6
96487
96574
  }
96488
96575
  },
96489
96576
  "3": {
96490
96577
  start: {
96491
- line: 26,
96578
+ line: 27,
96492
96579
  column: 14
96493
96580
  },
96494
96581
  end: {
96495
- line: 26,
96582
+ line: 27,
96496
96583
  column: 74
96497
96584
  }
96498
96585
  },
96499
96586
  "4": {
96500
96587
  start: {
96501
- line: 27,
96588
+ line: 28,
96502
96589
  column: 31
96503
96590
  },
96504
96591
  end: {
96505
- line: 27,
96592
+ line: 28,
96506
96593
  column: 40
96507
96594
  }
96508
96595
  },
96509
96596
  "5": {
96510
96597
  start: {
96511
- line: 28,
96598
+ line: 29,
96512
96599
  column: 32
96513
96600
  },
96514
96601
  end: {
96515
- line: 28,
96602
+ line: 29,
96516
96603
  column: 34
96517
96604
  }
96518
96605
  },
96519
96606
  "6": {
96520
96607
  start: {
96521
- line: 30,
96608
+ line: 31,
96522
96609
  column: 12
96523
96610
  },
96524
96611
  end: {
96525
- line: 32,
96612
+ line: 33,
96526
96613
  column: 13
96527
96614
  }
96528
96615
  },
96529
96616
  "7": {
96530
96617
  start: {
96531
- line: 31,
96618
+ line: 32,
96532
96619
  column: 14
96533
96620
  },
96534
96621
  end: {
96535
- line: 31,
96622
+ line: 32,
96536
96623
  column: 26
96537
96624
  }
96538
96625
  },
96539
96626
  "8": {
96540
96627
  start: {
96541
- line: 34,
96628
+ line: 35,
96542
96629
  column: 12
96543
96630
  },
96544
96631
  end: {
96545
- line: 61,
96632
+ line: 62,
96546
96633
  column: 15
96547
96634
  }
96548
96635
  },
96549
96636
  "9": {
96550
96637
  start: {
96551
- line: 35,
96638
+ line: 36,
96552
96639
  column: 32
96553
96640
  },
96554
96641
  end: {
96555
- line: 35,
96642
+ line: 36,
96556
96643
  column: 78
96557
96644
  }
96558
96645
  },
96559
96646
  "10": {
96560
96647
  start: {
96561
- line: 36,
96648
+ line: 37,
96562
96649
  column: 30
96563
96650
  },
96564
96651
  end: {
96565
- line: 36,
96652
+ line: 37,
96566
96653
  column: 62
96567
96654
  }
96568
96655
  },
96569
96656
  "11": {
96570
96657
  start: {
96571
- line: 38,
96658
+ line: 39,
96572
96659
  column: 33
96573
96660
  },
96574
96661
  end: {
96575
- line: 40,
96662
+ line: 41,
96576
96663
  column: 15
96577
96664
  }
96578
96665
  },
96579
96666
  "12": {
96580
96667
  start: {
96581
- line: 42,
96668
+ line: 43,
96582
96669
  column: 14
96583
96670
  },
96584
96671
  end: {
96585
- line: 58,
96672
+ line: 59,
96586
96673
  column: 15
96587
96674
  }
96588
96675
  },
96589
96676
  "13": {
96590
96677
  start: {
96591
- line: 47,
96678
+ line: 48,
96592
96679
  column: 32
96593
96680
  },
96594
96681
  end: {
96595
- line: 47,
96682
+ line: 48,
96596
96683
  column: 61
96597
96684
  }
96598
96685
  },
96599
96686
  "14": {
96600
96687
  start: {
96601
- line: 49,
96688
+ line: 50,
96602
96689
  column: 16
96603
96690
  },
96604
96691
  end: {
96605
- line: 51,
96692
+ line: 52,
96606
96693
  column: 17
96607
96694
  }
96608
96695
  },
96609
96696
  "15": {
96610
96697
  start: {
96611
- line: 50,
96698
+ line: 51,
96612
96699
  column: 18
96613
96700
  },
96614
96701
  end: {
96615
- line: 50,
96702
+ line: 51,
96616
96703
  column: 62
96617
96704
  }
96618
96705
  },
96619
96706
  "16": {
96620
96707
  start: {
96621
- line: 53,
96708
+ line: 54,
96622
96709
  column: 35
96623
96710
  },
96624
96711
  end: {
96625
- line: 56,
96712
+ line: 57,
96626
96713
  column: 18
96627
96714
  }
96628
96715
  },
96629
96716
  "17": {
96630
96717
  start: {
96631
- line: 57,
96718
+ line: 58,
96632
96719
  column: 16
96633
96720
  },
96634
96721
  end: {
96635
- line: 57,
96722
+ line: 58,
96636
96723
  column: 45
96637
96724
  }
96638
96725
  },
96639
96726
  "18": {
96640
96727
  start: {
96641
- line: 60,
96728
+ line: 61,
96642
96729
  column: 14
96643
96730
  },
96644
96731
  end: {
96645
- line: 60,
96732
+ line: 61,
96646
96733
  column: 50
96647
96734
  }
96648
96735
  },
96649
96736
  "19": {
96650
96737
  start: {
96651
- line: 63,
96738
+ line: 64,
96652
96739
  column: 12
96653
96740
  },
96654
96741
  end: {
96655
- line: 63,
96742
+ line: 64,
96656
96743
  column: 58
96657
96744
  }
96658
96745
  }
@@ -96662,152 +96749,152 @@ function cov_134mrrjy5g() {
96662
96749
  name: "(anonymous_0)",
96663
96750
  decl: {
96664
96751
  start: {
96665
- line: 8,
96752
+ line: 9,
96666
96753
  column: 2
96667
96754
  },
96668
96755
  end: {
96669
- line: 8,
96756
+ line: 9,
96670
96757
  column: 3
96671
96758
  }
96672
96759
  },
96673
96760
  loc: {
96674
96761
  start: {
96675
- line: 8,
96762
+ line: 9,
96676
96763
  column: 15
96677
96764
  },
96678
96765
  end: {
96679
- line: 18,
96766
+ line: 19,
96680
96767
  column: 3
96681
96768
  }
96682
96769
  },
96683
- line: 8
96770
+ line: 9
96684
96771
  },
96685
96772
  "1": {
96686
96773
  name: "(anonymous_1)",
96687
96774
  decl: {
96688
96775
  start: {
96689
- line: 20,
96776
+ line: 21,
96690
96777
  column: 2
96691
96778
  },
96692
96779
  end: {
96693
- line: 20,
96780
+ line: 21,
96694
96781
  column: 3
96695
96782
  }
96696
96783
  },
96697
96784
  loc: {
96698
96785
  start: {
96699
- line: 20,
96786
+ line: 21,
96700
96787
  column: 26
96701
96788
  },
96702
96789
  end: {
96703
- line: 68,
96790
+ line: 69,
96704
96791
  column: 3
96705
96792
  }
96706
96793
  },
96707
- line: 20
96794
+ line: 21
96708
96795
  },
96709
96796
  "2": {
96710
96797
  name: "(anonymous_2)",
96711
96798
  decl: {
96712
96799
  start: {
96713
- line: 24,
96800
+ line: 25,
96714
96801
  column: 23
96715
96802
  },
96716
96803
  end: {
96717
- line: 24,
96804
+ line: 25,
96718
96805
  column: 24
96719
96806
  }
96720
96807
  },
96721
96808
  loc: {
96722
96809
  start: {
96723
- line: 24,
96810
+ line: 25,
96724
96811
  column: 47
96725
96812
  },
96726
96813
  end: {
96727
- line: 64,
96814
+ line: 65,
96728
96815
  column: 11
96729
96816
  }
96730
96817
  },
96731
- line: 24
96818
+ line: 25
96732
96819
  },
96733
96820
  "3": {
96734
96821
  name: "(anonymous_3)",
96735
96822
  decl: {
96736
96823
  start: {
96737
- line: 34,
96824
+ line: 35,
96738
96825
  column: 28
96739
96826
  },
96740
96827
  end: {
96741
- line: 34,
96828
+ line: 35,
96742
96829
  column: 29
96743
96830
  }
96744
96831
  },
96745
96832
  loc: {
96746
96833
  start: {
96747
- line: 34,
96834
+ line: 35,
96748
96835
  column: 43
96749
96836
  },
96750
96837
  end: {
96751
- line: 61,
96838
+ line: 62,
96752
96839
  column: 13
96753
96840
  }
96754
96841
  },
96755
- line: 34
96842
+ line: 35
96756
96843
  }
96757
96844
  },
96758
96845
  branchMap: {
96759
96846
  "0": {
96760
96847
  loc: {
96761
96848
  start: {
96762
- line: 26,
96849
+ line: 27,
96763
96850
  column: 14
96764
96851
  },
96765
96852
  end: {
96766
- line: 26,
96853
+ line: 27,
96767
96854
  column: 74
96768
96855
  }
96769
96856
  },
96770
96857
  type: "binary-expr",
96771
96858
  locations: [{
96772
96859
  start: {
96773
- line: 26,
96860
+ line: 27,
96774
96861
  column: 14
96775
96862
  },
96776
96863
  end: {
96777
- line: 26,
96864
+ line: 27,
96778
96865
  column: 36
96779
96866
  }
96780
96867
  }, {
96781
96868
  start: {
96782
- line: 26,
96869
+ line: 27,
96783
96870
  column: 40
96784
96871
  },
96785
96872
  end: {
96786
- line: 26,
96873
+ line: 27,
96787
96874
  column: 74
96788
96875
  }
96789
96876
  }],
96790
- line: 26
96877
+ line: 27
96791
96878
  },
96792
96879
  "1": {
96793
96880
  loc: {
96794
96881
  start: {
96795
- line: 30,
96882
+ line: 31,
96796
96883
  column: 12
96797
96884
  },
96798
96885
  end: {
96799
- line: 32,
96886
+ line: 33,
96800
96887
  column: 13
96801
96888
  }
96802
96889
  },
96803
96890
  type: "if",
96804
96891
  locations: [{
96805
96892
  start: {
96806
- line: 30,
96893
+ line: 31,
96807
96894
  column: 12
96808
96895
  },
96809
96896
  end: {
96810
- line: 32,
96897
+ line: 33,
96811
96898
  column: 13
96812
96899
  }
96813
96900
  }, {
@@ -96820,93 +96907,93 @@ function cov_134mrrjy5g() {
96820
96907
  column: undefined
96821
96908
  }
96822
96909
  }],
96823
- line: 30
96910
+ line: 31
96824
96911
  },
96825
96912
  "2": {
96826
96913
  loc: {
96827
96914
  start: {
96828
- line: 35,
96915
+ line: 36,
96829
96916
  column: 32
96830
96917
  },
96831
96918
  end: {
96832
- line: 35,
96919
+ line: 36,
96833
96920
  column: 78
96834
96921
  }
96835
96922
  },
96836
96923
  type: "binary-expr",
96837
96924
  locations: [{
96838
96925
  start: {
96839
- line: 35,
96926
+ line: 36,
96840
96927
  column: 32
96841
96928
  },
96842
96929
  end: {
96843
- line: 35,
96930
+ line: 36,
96844
96931
  column: 45
96845
96932
  }
96846
96933
  }, {
96847
96934
  start: {
96848
- line: 35,
96935
+ line: 36,
96849
96936
  column: 49
96850
96937
  },
96851
96938
  end: {
96852
- line: 35,
96939
+ line: 36,
96853
96940
  column: 78
96854
96941
  }
96855
96942
  }],
96856
- line: 35
96943
+ line: 36
96857
96944
  },
96858
96945
  "3": {
96859
96946
  loc: {
96860
96947
  start: {
96861
- line: 36,
96948
+ line: 37,
96862
96949
  column: 30
96863
96950
  },
96864
96951
  end: {
96865
- line: 36,
96952
+ line: 37,
96866
96953
  column: 62
96867
96954
  }
96868
96955
  },
96869
96956
  type: "binary-expr",
96870
96957
  locations: [{
96871
96958
  start: {
96872
- line: 36,
96959
+ line: 37,
96873
96960
  column: 30
96874
96961
  },
96875
96962
  end: {
96876
- line: 36,
96963
+ line: 37,
96877
96964
  column: 42
96878
96965
  }
96879
96966
  }, {
96880
96967
  start: {
96881
- line: 36,
96968
+ line: 37,
96882
96969
  column: 46
96883
96970
  },
96884
96971
  end: {
96885
- line: 36,
96972
+ line: 37,
96886
96973
  column: 62
96887
96974
  }
96888
96975
  }],
96889
- line: 36
96976
+ line: 37
96890
96977
  },
96891
96978
  "4": {
96892
96979
  loc: {
96893
96980
  start: {
96894
- line: 42,
96981
+ line: 43,
96895
96982
  column: 14
96896
96983
  },
96897
96984
  end: {
96898
- line: 58,
96985
+ line: 59,
96899
96986
  column: 15
96900
96987
  }
96901
96988
  },
96902
96989
  type: "if",
96903
96990
  locations: [{
96904
96991
  start: {
96905
- line: 42,
96992
+ line: 43,
96906
96993
  column: 14
96907
96994
  },
96908
96995
  end: {
96909
- line: 58,
96996
+ line: 59,
96910
96997
  column: 15
96911
96998
  }
96912
96999
  }, {
@@ -96919,78 +97006,78 @@ function cov_134mrrjy5g() {
96919
97006
  column: undefined
96920
97007
  }
96921
97008
  }],
96922
- line: 42
97009
+ line: 43
96923
97010
  },
96924
97011
  "5": {
96925
97012
  loc: {
96926
97013
  start: {
96927
- line: 43,
97014
+ line: 44,
96928
97015
  column: 16
96929
97016
  },
96930
97017
  end: {
96931
- line: 45,
97018
+ line: 46,
96932
97019
  column: 23
96933
97020
  }
96934
97021
  },
96935
97022
  type: "binary-expr",
96936
97023
  locations: [{
96937
97024
  start: {
96938
- line: 43,
97025
+ line: 44,
96939
97026
  column: 17
96940
97027
  },
96941
97028
  end: {
96942
- line: 43,
97029
+ line: 44,
96943
97030
  column: 26
96944
97031
  }
96945
97032
  }, {
96946
97033
  start: {
96947
- line: 43,
97034
+ line: 44,
96948
97035
  column: 30
96949
97036
  },
96950
97037
  end: {
96951
- line: 43,
97038
+ line: 44,
96952
97039
  column: 59
96953
97040
  }
96954
97041
  }, {
96955
97042
  start: {
96956
- line: 44,
97043
+ line: 45,
96957
97044
  column: 16
96958
97045
  },
96959
97046
  end: {
96960
- line: 44,
97047
+ line: 45,
96961
97048
  column: 27
96962
97049
  }
96963
97050
  }, {
96964
97051
  start: {
96965
- line: 45,
97052
+ line: 46,
96966
97053
  column: 16
96967
97054
  },
96968
97055
  end: {
96969
- line: 45,
97056
+ line: 46,
96970
97057
  column: 23
96971
97058
  }
96972
97059
  }],
96973
- line: 43
97060
+ line: 44
96974
97061
  },
96975
97062
  "6": {
96976
97063
  loc: {
96977
97064
  start: {
96978
- line: 49,
97065
+ line: 50,
96979
97066
  column: 16
96980
97067
  },
96981
97068
  end: {
96982
- line: 51,
97069
+ line: 52,
96983
97070
  column: 17
96984
97071
  }
96985
97072
  },
96986
97073
  type: "if",
96987
97074
  locations: [{
96988
97075
  start: {
96989
- line: 49,
97076
+ line: 50,
96990
97077
  column: 16
96991
97078
  },
96992
97079
  end: {
96993
- line: 51,
97080
+ line: 52,
96994
97081
  column: 17
96995
97082
  }
96996
97083
  }, {
@@ -97003,7 +97090,7 @@ function cov_134mrrjy5g() {
97003
97090
  column: undefined
97004
97091
  }
97005
97092
  }],
97006
- line: 49
97093
+ line: 50
97007
97094
  }
97008
97095
  },
97009
97096
  s: {
@@ -97044,7 +97131,7 @@ function cov_134mrrjy5g() {
97044
97131
  "6": [0, 0]
97045
97132
  },
97046
97133
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
97047
- hash: "1857c12779d129bb0f57648250c8896d7ff6e8e2"
97134
+ hash: "a628a59bba8d6c190faea7f50c6e8fcbc3298925"
97048
97135
  };
97049
97136
  var coverage = global[gcv] || (global[gcv] = {});
97050
97137
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -97069,7 +97156,7 @@ var Placeholder = (cov_134mrrjy5g().s[0]++, Extension.create({
97069
97156
  excludeNodeTypes: ["variable", "codeBlock"],
97070
97157
  emptyEditorClass: "is-editor-empty",
97071
97158
  emptyNodeClass: "is-empty",
97072
- placeholder: "Write something …",
97159
+ placeholder: t$7("placeholders.writeSomething"),
97073
97160
  showOnlyWhenEditable: true,
97074
97161
  showOnlyCurrent: false,
97075
97162
  includeChildren: false
@@ -110487,7 +110574,7 @@ var Progress = function Progress(_ref) {
110487
110574
 
110488
110575
  function cov_23n4f4s494() {
110489
110576
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/LocalUploader.jsx";
110490
- var hash = "b72abda003ad7adbd0b0791ef995ec6698c169dd";
110577
+ var hash = "228328f91dabecbd733a3c0d2052582c71588b8a";
110491
110578
  var global = new Function("return this")();
110492
110579
  var gcv = "__coverage__";
110493
110580
  var coverageData = {
@@ -110499,7 +110586,7 @@ function cov_23n4f4s494() {
110499
110586
  column: 22
110500
110587
  },
110501
110588
  end: {
110502
- line: 148,
110589
+ line: 146,
110503
110590
  column: 1
110504
110591
  }
110505
110592
  },
@@ -110630,7 +110717,7 @@ function cov_23n4f4s494() {
110630
110717
  },
110631
110718
  end: {
110632
110719
  line: 55,
110633
- column: 52
110720
+ column: 50
110634
110721
  }
110635
110722
  },
110636
110723
  "14": {
@@ -110909,7 +110996,7 @@ function cov_23n4f4s494() {
110909
110996
  column: 2
110910
110997
  },
110911
110998
  end: {
110912
- line: 147,
110999
+ line: 145,
110913
111000
  column: 4
110914
111001
  }
110915
111002
  },
@@ -110943,7 +111030,7 @@ function cov_23n4f4s494() {
110943
111030
  column: 6
110944
111031
  },
110945
111032
  end: {
110946
- line: 148,
111033
+ line: 146,
110947
111034
  column: 1
110948
111035
  }
110949
111036
  },
@@ -111429,7 +111516,7 @@ function cov_23n4f4s494() {
111429
111516
  column: 9
111430
111517
  },
111431
111518
  end: {
111432
- line: 147,
111519
+ line: 145,
111433
111520
  column: 3
111434
111521
  }
111435
111522
  },
@@ -111449,7 +111536,7 @@ function cov_23n4f4s494() {
111449
111536
  column: 4
111450
111537
  },
111451
111538
  end: {
111452
- line: 146,
111539
+ line: 144,
111453
111540
  column: 10
111454
111541
  }
111455
111542
  }],
@@ -111593,7 +111680,7 @@ function cov_23n4f4s494() {
111593
111680
  "9": [0, 0]
111594
111681
  },
111595
111682
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
111596
- hash: "b72abda003ad7adbd0b0791ef995ec6698c169dd"
111683
+ hash: "228328f91dabecbd733a3c0d2052582c71588b8a"
111597
111684
  };
111598
111685
  var coverage = global[gcv] || (global[gcv] = {});
111599
111686
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -111651,10 +111738,10 @@ var LocalUploader = function LocalUploader(_ref) {
111651
111738
  });
111652
111739
  } catch (error) {
111653
111740
  cov_23n4f4s494().s[12]++;
111654
- if (error.message !== t("error.on-before-file-added-return")) {
111741
+ if (error.message !== t("error.onBeforeFileAddedReturn")) {
111655
111742
  cov_23n4f4s494().b[1][0]++;
111656
111743
  cov_23n4f4s494().s[13]++;
111657
- neetoui.Toastr.error(t("error.cannot-add-files"));
111744
+ neetoui.Toastr.error(t("error.cannotAddFiles"));
111658
111745
  } else {
111659
111746
  cov_23n4f4s494().b[1][1]++;
111660
111747
  }
@@ -111802,9 +111889,9 @@ var LocalUploader = function LocalUploader(_ref) {
111802
111889
  size: 24
111803
111890
  }), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
111804
111891
  style: "body2"
111805
- }, t("local-uploader.drop-files-here")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
111892
+ }, t("localUploader.dropFilesHere")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
111806
111893
  style: "body3"
111807
- }, t("local-uploader.max-file-size", {
111894
+ }, t("localUploader.maxFileSize", {
111808
111895
  entity: convertToFileSize(uppyConfig.restrictions.maxFileSize)
111809
111896
  }))));
111810
111897
  };
@@ -114045,7 +114132,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
114045
114132
  className: "neeto-editor-unsplash-search",
114046
114133
  "data-cy": "neeto-editor-unsplash-image-picker-search-input",
114047
114134
  name: "text",
114048
- placeholder: t("placeholders.search-unsplash"),
114135
+ placeholder: t("placeholders.searchUnsplash"),
114049
114136
  value: query,
114050
114137
  onChange: function onChange(_ref17) {
114051
114138
  var value = _ref17.target.value;
@@ -114056,10 +114143,10 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
114056
114143
  }), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default["default"].createElement("p", {
114057
114144
  className: "neeto-editor-unsplash-gallery__text",
114058
114145
  "data-cy": "neeto-editor-unsplash-image-picker-error"
114059
- }, t("unsplash.error-message"))), (cov_2d0jax9c7z().b[7][0]++, !error) && (cov_2d0jax9c7z().b[7][1]++, !loading) && (cov_2d0jax9c7z().b[7][2]++, isNilOrEmpty(images)) && (cov_2d0jax9c7z().b[7][3]++, /*#__PURE__*/React__default["default"].createElement("p", {
114146
+ }, t("unsplash.errorMessage"))), (cov_2d0jax9c7z().b[7][0]++, !error) && (cov_2d0jax9c7z().b[7][1]++, !loading) && (cov_2d0jax9c7z().b[7][2]++, isNilOrEmpty(images)) && (cov_2d0jax9c7z().b[7][3]++, /*#__PURE__*/React__default["default"].createElement("p", {
114060
114147
  className: "neeto-editor-unsplash-gallery__text",
114061
114148
  "data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
114062
- }, t("unsplash.no-results"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
114149
+ }, t("unsplash.noResults"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
114063
114150
  className: "neeto-editor-unsplash-container"
114064
114151
  }, /*#__PURE__*/React__default["default"].createElement(_default, {
114065
114152
  pack: true,
@@ -114119,7 +114206,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
114119
114206
 
114120
114207
  function cov_27js347t20() {
114121
114208
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/URLForm.jsx";
114122
- var hash = "3f6969ccff3df191361e5a79a2b2f90027764b0f";
114209
+ var hash = "64f6e777b460cc0b185cf55000b00290516bae82";
114123
114210
  var global = new Function("return this")();
114124
114211
  var gcv = "__coverage__";
114125
114212
  var coverageData = {
@@ -114192,7 +114279,7 @@ function cov_27js347t20() {
114192
114279
  },
114193
114280
  end: {
114194
114281
  line: 24,
114195
- column: 41
114282
+ column: 40
114196
114283
  }
114197
114284
  },
114198
114285
  "7": {
@@ -114381,7 +114468,7 @@ function cov_27js347t20() {
114381
114468
  },
114382
114469
  end: {
114383
114470
  line: 24,
114384
- column: 40
114471
+ column: 39
114385
114472
  }
114386
114473
  },
114387
114474
  type: "cond-expr",
@@ -114401,7 +114488,7 @@ function cov_27js347t20() {
114401
114488
  },
114402
114489
  end: {
114403
114490
  line: 24,
114404
- column: 40
114491
+ column: 39
114405
114492
  }
114406
114493
  }],
114407
114494
  line: 22
@@ -114431,7 +114518,7 @@ function cov_27js347t20() {
114431
114518
  "2": [0, 0]
114432
114519
  },
114433
114520
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
114434
- hash: "3f6969ccff3df191361e5a79a2b2f90027764b0f"
114521
+ hash: "64f6e777b460cc0b185cf55000b00290516bae82"
114435
114522
  };
114436
114523
  var coverage = global[gcv] || (global[gcv] = {});
114437
114524
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -114472,7 +114559,7 @@ var URLForm = function URLForm(_ref) {
114472
114559
  cov_27js347t20().s[5]++;
114473
114560
  event.preventDefault();
114474
114561
  cov_27js347t20().s[6]++;
114475
- URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.invalid-url")));
114562
+ URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.invalidUrl")));
114476
114563
  };
114477
114564
  cov_27js347t20().s[7]++;
114478
114565
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -115413,7 +115500,7 @@ var MediaUploader = function MediaUploader(_ref) {
115413
115500
  setIsUploading: setIsUploading,
115414
115501
  onClose: handleClose
115415
115502
  })), (cov_2h3d0peoqk().b[8][0]++, activeTab === "link") && (cov_2h3d0peoqk().b[8][1]++, /*#__PURE__*/React__default["default"].createElement(URLForm, {
115416
- placeholder: t("placeholders.paste-link"),
115503
+ placeholder: t("placeholders.pasteLink"),
115417
115504
  buttonLabel: mediaUploader.image ? (cov_2h3d0peoqk().b[9][0]++, "Upload image") : (cov_2h3d0peoqk().b[9][1]++, "Upload video"),
115418
115505
  onSubmit: handleSubmit
115419
115506
  })), (cov_2h3d0peoqk().b[10][0]++, activeTab === "unsplash") && (cov_2h3d0peoqk().b[10][1]++, /*#__PURE__*/React__default["default"].createElement(UnsplashImagePicker, {
@@ -116196,7 +116283,7 @@ var LinkOption$1 = function LinkOption(_ref) {
116196
116283
  className: "neeto-editor-bubble-menu-link__input",
116197
116284
  "data-cy": "neeto-editor-link-input",
116198
116285
  name: "url",
116199
- placeholder: t("placeholders.link-input"),
116286
+ placeholder: t("placeholders.linkInput"),
116200
116287
  value: link,
116201
116288
  onChange: function onChange(_ref5) {
116202
116289
  var value = _ref5.target.value;
@@ -116347,7 +116434,7 @@ cov_1f30l00ho7().s[3]++;
116347
116434
 
116348
116435
  function cov_17cji89s6g() {
116349
116436
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/constants.js";
116350
- var hash = "d4b40b2a432dc23d2814c01d41bdc8a41d13c17f";
116437
+ var hash = "0d171f78d6b9fa675757eea0d67e3935108691d0";
116351
116438
  var global = new Function("return this")();
116352
116439
  var gcv = "__coverage__";
116353
116440
  var coverageData = {
@@ -117420,7 +117507,7 @@ function cov_17cji89s6g() {
117420
117507
  },
117421
117508
  end: {
117422
117509
  line: 76,
117423
- column: 59
117510
+ column: 58
117424
117511
  }
117425
117512
  },
117426
117513
  type: "binary-expr",
@@ -117440,7 +117527,7 @@ function cov_17cji89s6g() {
117440
117527
  },
117441
117528
  end: {
117442
117529
  line: 76,
117443
- column: 59
117530
+ column: 58
117444
117531
  }
117445
117532
  }],
117446
117533
  line: 76
@@ -117486,7 +117573,7 @@ function cov_17cji89s6g() {
117486
117573
  },
117487
117574
  end: {
117488
117575
  line: 90,
117489
- column: 57
117576
+ column: 56
117490
117577
  }
117491
117578
  },
117492
117579
  type: "binary-expr",
@@ -117506,7 +117593,7 @@ function cov_17cji89s6g() {
117506
117593
  },
117507
117594
  end: {
117508
117595
  line: 90,
117509
- column: 57
117596
+ column: 56
117510
117597
  }
117511
117598
  }],
117512
117599
  line: 90
@@ -117519,7 +117606,7 @@ function cov_17cji89s6g() {
117519
117606
  },
117520
117607
  end: {
117521
117608
  line: 100,
117522
- column: 61
117609
+ column: 60
117523
117610
  }
117524
117611
  },
117525
117612
  type: "binary-expr",
@@ -117539,7 +117626,7 @@ function cov_17cji89s6g() {
117539
117626
  },
117540
117627
  end: {
117541
117628
  line: 100,
117542
- column: 61
117629
+ column: 60
117543
117630
  }
117544
117631
  }],
117545
117632
  line: 100
@@ -117552,7 +117639,7 @@ function cov_17cji89s6g() {
117552
117639
  },
117553
117640
  end: {
117554
117641
  line: 108,
117555
- column: 61
117642
+ column: 60
117556
117643
  }
117557
117644
  },
117558
117645
  type: "binary-expr",
@@ -117572,7 +117659,7 @@ function cov_17cji89s6g() {
117572
117659
  },
117573
117660
  end: {
117574
117661
  line: 108,
117575
- column: 61
117662
+ column: 60
117576
117663
  }
117577
117664
  }],
117578
117665
  line: 108
@@ -117618,7 +117705,7 @@ function cov_17cji89s6g() {
117618
117705
  },
117619
117706
  end: {
117620
117707
  line: 123,
117621
- column: 61
117708
+ column: 60
117622
117709
  }
117623
117710
  },
117624
117711
  type: "binary-expr",
@@ -117638,7 +117725,7 @@ function cov_17cji89s6g() {
117638
117725
  },
117639
117726
  end: {
117640
117727
  line: 123,
117641
- column: 61
117728
+ column: 60
117642
117729
  }
117643
117730
  }],
117644
117731
  line: 123
@@ -117651,7 +117738,7 @@ function cov_17cji89s6g() {
117651
117738
  },
117652
117739
  end: {
117653
117740
  line: 129,
117654
- column: 61
117741
+ column: 60
117655
117742
  }
117656
117743
  },
117657
117744
  type: "binary-expr",
@@ -117671,7 +117758,7 @@ function cov_17cji89s6g() {
117671
117758
  },
117672
117759
  end: {
117673
117760
  line: 129,
117674
- column: 61
117761
+ column: 60
117675
117762
  }
117676
117763
  }],
117677
117764
  line: 129
@@ -117684,7 +117771,7 @@ function cov_17cji89s6g() {
117684
117771
  },
117685
117772
  end: {
117686
117773
  line: 135,
117687
- column: 59
117774
+ column: 58
117688
117775
  }
117689
117776
  },
117690
117777
  type: "binary-expr",
@@ -117704,7 +117791,7 @@ function cov_17cji89s6g() {
117704
117791
  },
117705
117792
  end: {
117706
117793
  line: 135,
117707
- column: 59
117794
+ column: 58
117708
117795
  }
117709
117796
  }],
117710
117797
  line: 135
@@ -117853,7 +117940,7 @@ function cov_17cji89s6g() {
117853
117940
  "15": [0, 0]
117854
117941
  },
117855
117942
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
117856
- hash: "d4b40b2a432dc23d2814c01d41bdc8a41d13c17f"
117943
+ hash: "0d171f78d6b9fa675757eea0d67e3935108691d0"
117857
117944
  };
117858
117945
  var coverage = global[gcv] || (global[gcv] = {});
117859
117946
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -117942,7 +118029,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117942
118029
  active: editor.isActive("blockquote"),
117943
118030
  optionName: "block-quote",
117944
118031
  highlight: true,
117945
- tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.block-quote"))
118032
+ tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.blockQuote"))
117946
118033
  }, {
117947
118034
  Icon: neetoIcons.Code,
117948
118035
  command: function command() {
@@ -117962,7 +118049,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117962
118049
  },
117963
118050
  active: editor.isActive("codeBlock"),
117964
118051
  optionName: "code-block",
117965
- tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.code-block"))
118052
+ tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.codeBlock"))
117966
118053
  }],
117967
118054
  list: [{
117968
118055
  Icon: neetoIcons.ListDot,
@@ -117974,7 +118061,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117974
118061
  active: editor.isActive("bulletList"),
117975
118062
  optionName: "bullet-list",
117976
118063
  highlight: true,
117977
- tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.bulleted-list"))
118064
+ tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.bulletedList"))
117978
118065
  }, {
117979
118066
  Icon: neetoIcons.ListNumber,
117980
118067
  command: function command() {
@@ -117985,7 +118072,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
117985
118072
  active: editor.isActive("orderedList"),
117986
118073
  optionName: "ordered-list",
117987
118074
  highlight: true,
117988
- tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.ordered-list"))
118075
+ tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.orderedList"))
117989
118076
  }],
117990
118077
  misc: [{
117991
118078
  Icon: FileAttachments,
@@ -118001,7 +118088,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
118001
118088
  return setMediaUploader(ramda.assoc("image", true));
118002
118089
  },
118003
118090
  optionName: "image-upload",
118004
- tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.image-upload"))
118091
+ tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.imageUpload"))
118005
118092
  }, {
118006
118093
  Icon: neetoIcons.Video,
118007
118094
  command: function command() {
@@ -118010,7 +118097,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
118010
118097
  return setMediaUploader(ramda.assoc("video", true));
118011
118098
  },
118012
118099
  optionName: "video-upload",
118013
- tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.video-upload"))
118100
+ tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.videoUpload"))
118014
118101
  }, {
118015
118102
  Icon: neetoIcons.MediaVideo,
118016
118103
  command: function command() {
@@ -118019,7 +118106,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
118019
118106
  return setIsEmbedModalOpen(true);
118020
118107
  },
118021
118108
  optionName: "video-embed",
118022
- tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.video-embed"))
118109
+ tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.videoEmbed"))
118023
118110
  }],
118024
118111
  right: [{
118025
118112
  Icon: neetoIcons.Undo,
@@ -118069,49 +118156,49 @@ var TABLE_ACTIONS = function TABLE_ACTIONS(_ref3) {
118069
118156
  cov_17cji89s6g().f[16]++;
118070
118157
  cov_17cji89s6g().s[20]++;
118071
118158
  return [{
118072
- label: t$2("table.insert-row"),
118159
+ label: t$2("table.insertRow"),
118073
118160
  command: function command() {
118074
118161
  cov_17cji89s6g().f[17]++;
118075
118162
  cov_17cji89s6g().s[21]++;
118076
118163
  return editor.commands.addRowAfter();
118077
118164
  }
118078
118165
  }, {
118079
- label: t$2("table.insert-column"),
118166
+ label: t$2("table.insertColumn"),
118080
118167
  command: function command() {
118081
118168
  cov_17cji89s6g().f[18]++;
118082
118169
  cov_17cji89s6g().s[22]++;
118083
118170
  return editor.commands.addColumnAfter();
118084
118171
  }
118085
118172
  }, {
118086
- label: t$2("table.delete-row"),
118173
+ label: t$2("table.deleteRow"),
118087
118174
  command: function command() {
118088
118175
  cov_17cji89s6g().f[19]++;
118089
118176
  cov_17cji89s6g().s[23]++;
118090
118177
  return editor.chain().focus().deleteRow().run();
118091
118178
  }
118092
118179
  }, {
118093
- label: t$2("table.delete-column"),
118180
+ label: t$2("table.deleteColumn"),
118094
118181
  command: function command() {
118095
118182
  cov_17cji89s6g().f[20]++;
118096
118183
  cov_17cji89s6g().s[24]++;
118097
118184
  return editor.chain().focus().deleteColumn().run();
118098
118185
  }
118099
118186
  }, {
118100
- label: t$2("table.merge-split"),
118187
+ label: t$2("table.mergeSplit"),
118101
118188
  command: function command() {
118102
118189
  cov_17cji89s6g().f[21]++;
118103
118190
  cov_17cji89s6g().s[25]++;
118104
118191
  return editor.chain().focus().mergeOrSplit().run();
118105
118192
  }
118106
118193
  }, {
118107
- label: t$2("table.toggle-header-row"),
118194
+ label: t$2("table.toggleHeaderRow"),
118108
118195
  command: function command() {
118109
118196
  cov_17cji89s6g().f[22]++;
118110
118197
  cov_17cji89s6g().s[26]++;
118111
118198
  return editor.chain().focus().toggleHeaderRow().run();
118112
118199
  }
118113
118200
  }, {
118114
- label: t$2("table.toggle-header-column"),
118201
+ label: t$2("table.toggleHeaderColumn"),
118115
118202
  command: function command() {
118116
118203
  cov_17cji89s6g().f[23]++;
118117
118204
  cov_17cji89s6g().s[27]++;
@@ -122424,7 +122511,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
122424
122511
 
122425
122512
  function cov_7xzegtncw() {
122426
122513
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
122427
- var hash = "4ed010b444d80b8b14b8ce58540c74889ce81380";
122514
+ var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
122428
122515
  var global = new Function("return this")();
122429
122516
  var gcv = "__coverage__";
122430
122517
  var coverageData = {
@@ -122677,7 +122764,7 @@ function cov_7xzegtncw() {
122677
122764
  },
122678
122765
  end: {
122679
122766
  line: 44,
122680
- column: 39
122767
+ column: 38
122681
122768
  }
122682
122769
  },
122683
122770
  "25": {
@@ -123189,7 +123276,7 @@ function cov_7xzegtncw() {
123189
123276
  "4": [0, 0]
123190
123277
  },
123191
123278
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
123192
- hash: "4ed010b444d80b8b14b8ce58540c74889ce81380"
123279
+ hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
123193
123280
  };
123194
123281
  var coverage = global[gcv] || (global[gcv] = {});
123195
123282
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -123284,7 +123371,7 @@ var LinkOption = function LinkOption(_ref2) {
123284
123371
  } else {
123285
123372
  cov_7xzegtncw().b[2][1]++;
123286
123373
  cov_7xzegtncw().s[24]++;
123287
- setError(t("error.invalid-url"));
123374
+ setError(t("error.invalidUrl"));
123288
123375
  }
123289
123376
  };
123290
123377
  cov_7xzegtncw().s[25]++;
@@ -124098,7 +124185,7 @@ var TableOption = function TableOption(_ref2) {
124098
124185
 
124099
124186
  function cov_2dwl7m23tl() {
124100
124187
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
124101
- var hash = "19d2fe0b157249a3b54a37ae85665381dbe612c0";
124188
+ var hash = "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434";
124102
124189
  var global = new Function("return this")();
124103
124190
  var gcv = "__coverage__";
124104
124191
  var coverageData = {
@@ -124577,7 +124664,7 @@ function cov_2dwl7m23tl() {
124577
124664
  },
124578
124665
  end: {
124579
124666
  line: 87,
124580
- column: 68
124667
+ column: 67
124581
124668
  }
124582
124669
  },
124583
124670
  type: "binary-expr",
@@ -124597,7 +124684,7 @@ function cov_2dwl7m23tl() {
124597
124684
  },
124598
124685
  end: {
124599
124686
  line: 87,
124600
- column: 68
124687
+ column: 67
124601
124688
  }
124602
124689
  }],
124603
124690
  line: 87
@@ -124945,7 +125032,7 @@ function cov_2dwl7m23tl() {
124945
125032
  "17": [0, 0]
124946
125033
  },
124947
125034
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
124948
- hash: "19d2fe0b157249a3b54a37ae85665381dbe612c0"
125035
+ hash: "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434"
124949
125036
  };
124950
125037
  var coverage = global[gcv] || (global[gcv] = {});
124951
125038
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -125040,7 +125127,7 @@ var Fixed = function Fixed(_ref) {
125040
125127
  className: "neeto-editor-fixed-menu__wrapper"
125041
125128
  }, (cov_2dwl7m23tl().b[7][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[7][1]++, /*#__PURE__*/React__default["default"].createElement(FontSizeOption, {
125042
125129
  editor: editor,
125043
- tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.font-size"))
125130
+ tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.fontSize"))
125044
125131
  })), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[9][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default["default"].createElement(EmojiOption, {
125045
125132
  editor: editor,
125046
125133
  isActive: isEmojiPickerActive,
@@ -125069,7 +125156,7 @@ var Fixed = function Fixed(_ref) {
125069
125156
  buttonSize: "small",
125070
125157
  buttonProps: {
125071
125158
  tooltipProps: {
125072
- content: t("menu.dynamic-variables"),
125159
+ content: t("menu.dynamicVariables"),
125073
125160
  position: "bottom"
125074
125161
  }
125075
125162
  }
@@ -126416,7 +126503,7 @@ var Option = function Option(_ref) {
126416
126503
 
126417
126504
  function cov_1fwd2t6om3() {
126418
126505
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Headless/constants.js";
126419
- var hash = "c553660c61b18dae7801bfd8bb19735812339342";
126506
+ var hash = "4d324caf086e7c0bc37cc554c90c435def28fed3";
126420
126507
  var global = new Function("return this")();
126421
126508
  var gcv = "__coverage__";
126422
126509
  var coverageData = {
@@ -127197,7 +127284,7 @@ function cov_1fwd2t6om3() {
127197
127284
  },
127198
127285
  end: {
127199
127286
  line: 76,
127200
- column: 57
127287
+ column: 56
127201
127288
  }
127202
127289
  },
127203
127290
  type: "binary-expr",
@@ -127217,7 +127304,7 @@ function cov_1fwd2t6om3() {
127217
127304
  },
127218
127305
  end: {
127219
127306
  line: 76,
127220
- column: 57
127307
+ column: 56
127221
127308
  }
127222
127309
  }],
127223
127310
  line: 76
@@ -127263,7 +127350,7 @@ function cov_1fwd2t6om3() {
127263
127350
  },
127264
127351
  end: {
127265
127352
  line: 90,
127266
- column: 55
127353
+ column: 54
127267
127354
  }
127268
127355
  },
127269
127356
  type: "binary-expr",
@@ -127283,7 +127370,7 @@ function cov_1fwd2t6om3() {
127283
127370
  },
127284
127371
  end: {
127285
127372
  line: 90,
127286
- column: 55
127373
+ column: 54
127287
127374
  }
127288
127375
  }],
127289
127376
  line: 90
@@ -127296,7 +127383,7 @@ function cov_1fwd2t6om3() {
127296
127383
  },
127297
127384
  end: {
127298
127385
  line: 97,
127299
- column: 59
127386
+ column: 58
127300
127387
  }
127301
127388
  },
127302
127389
  type: "binary-expr",
@@ -127316,7 +127403,7 @@ function cov_1fwd2t6om3() {
127316
127403
  },
127317
127404
  end: {
127318
127405
  line: 97,
127319
- column: 59
127406
+ column: 58
127320
127407
  }
127321
127408
  }],
127322
127409
  line: 97
@@ -127329,7 +127416,7 @@ function cov_1fwd2t6om3() {
127329
127416
  },
127330
127417
  end: {
127331
127418
  line: 104,
127332
- column: 59
127419
+ column: 58
127333
127420
  }
127334
127421
  },
127335
127422
  type: "binary-expr",
@@ -127349,7 +127436,7 @@ function cov_1fwd2t6om3() {
127349
127436
  },
127350
127437
  end: {
127351
127438
  line: 104,
127352
- column: 59
127439
+ column: 58
127353
127440
  }
127354
127441
  }],
127355
127442
  line: 104
@@ -127395,7 +127482,7 @@ function cov_1fwd2t6om3() {
127395
127482
  },
127396
127483
  end: {
127397
127484
  line: 116,
127398
- column: 59
127485
+ column: 58
127399
127486
  }
127400
127487
  },
127401
127488
  type: "binary-expr",
@@ -127415,7 +127502,7 @@ function cov_1fwd2t6om3() {
127415
127502
  },
127416
127503
  end: {
127417
127504
  line: 116,
127418
- column: 59
127505
+ column: 58
127419
127506
  }
127420
127507
  }],
127421
127508
  line: 116
@@ -127428,7 +127515,7 @@ function cov_1fwd2t6om3() {
127428
127515
  },
127429
127516
  end: {
127430
127517
  line: 122,
127431
- column: 59
127518
+ column: 58
127432
127519
  }
127433
127520
  },
127434
127521
  type: "binary-expr",
@@ -127448,7 +127535,7 @@ function cov_1fwd2t6om3() {
127448
127535
  },
127449
127536
  end: {
127450
127537
  line: 122,
127451
- column: 59
127538
+ column: 58
127452
127539
  }
127453
127540
  }],
127454
127541
  line: 122
@@ -127461,7 +127548,7 @@ function cov_1fwd2t6om3() {
127461
127548
  },
127462
127549
  end: {
127463
127550
  line: 128,
127464
- column: 57
127551
+ column: 56
127465
127552
  }
127466
127553
  },
127467
127554
  type: "binary-expr",
@@ -127481,7 +127568,7 @@ function cov_1fwd2t6om3() {
127481
127568
  },
127482
127569
  end: {
127483
127570
  line: 128,
127484
- column: 57
127571
+ column: 56
127485
127572
  }
127486
127573
  }],
127487
127574
  line: 128
@@ -127680,7 +127767,7 @@ function cov_1fwd2t6om3() {
127680
127767
  "17": [0, 0]
127681
127768
  },
127682
127769
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
127683
- hash: "c553660c61b18dae7801bfd8bb19735812339342"
127770
+ hash: "4d324caf086e7c0bc37cc554c90c435def28fed3"
127684
127771
  };
127685
127772
  var coverage = global[gcv] || (global[gcv] = {});
127686
127773
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -127768,7 +127855,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127768
127855
  },
127769
127856
  active: editor.isActive("blockquote"),
127770
127857
  optionName: "block-quote",
127771
- tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.block-quote"))
127858
+ tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.blockQuote"))
127772
127859
  }, {
127773
127860
  Icon: neetoIcons.Code,
127774
127861
  command: function command() {
@@ -127788,7 +127875,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127788
127875
  },
127789
127876
  active: editor.isActive("codeBlock"),
127790
127877
  optionName: "code-block",
127791
- tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.code-block"))
127878
+ tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.codeBlock"))
127792
127879
  }, {
127793
127880
  Icon: neetoIcons.ListDot,
127794
127881
  command: function command() {
@@ -127798,7 +127885,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127798
127885
  },
127799
127886
  active: editor.isActive("bulletList"),
127800
127887
  optionName: "bullet-list",
127801
- tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.bulleted-list"))
127888
+ tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.bulletedList"))
127802
127889
  }, {
127803
127890
  Icon: neetoIcons.ListNumber,
127804
127891
  command: function command() {
@@ -127808,7 +127895,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127808
127895
  },
127809
127896
  active: editor.isActive("orderedList"),
127810
127897
  optionName: "ordered-list",
127811
- tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.ordered-list"))
127898
+ tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.orderedList"))
127812
127899
  }, {
127813
127900
  Icon: neetoIcons.File,
127814
127901
  command: handleUploadAttachments,
@@ -127822,7 +127909,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127822
127909
  return setMediaUploader(ramda.assoc("image", true));
127823
127910
  },
127824
127911
  optionName: "image-upload",
127825
- tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.image-upload"))
127912
+ tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.imageUpload"))
127826
127913
  }, {
127827
127914
  Icon: neetoIcons.Video,
127828
127915
  command: function command() {
@@ -127831,7 +127918,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127831
127918
  return setMediaUploader(ramda.assoc("video", true));
127832
127919
  },
127833
127920
  optionName: "video-upload",
127834
- tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.video-upload"))
127921
+ tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.videoUpload"))
127835
127922
  }, {
127836
127923
  Icon: neetoIcons.MediaVideo,
127837
127924
  command: function command() {
@@ -127840,7 +127927,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127840
127927
  return setIsEmbedModalOpen(true);
127841
127928
  },
127842
127929
  optionName: "video-embed",
127843
- tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.video-embed"))
127930
+ tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.videoEmbed"))
127844
127931
  }, {
127845
127932
  Icon: neetoIcons.Smiley,
127846
127933
  command: pure.noop,