@bigbinary/neeto-editor 1.25.14 → 1.25.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +950 -831
- package/index.js +951 -832
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -27485,7 +27485,7 @@ instance.reloadResources;
|
|
|
27485
27485
|
instance.use;
|
|
27486
27486
|
instance.changeLanguage;
|
|
27487
27487
|
instance.getFixedT;
|
|
27488
|
-
instance.t;
|
|
27488
|
+
var t$7 = instance.t;
|
|
27489
27489
|
instance.exists;
|
|
27490
27490
|
instance.setDefaultNamespace;
|
|
27491
27491
|
instance.hasLoadedNamespace;
|
|
@@ -27798,73 +27798,83 @@ var common = {
|
|
|
27798
27798
|
caption: "Caption",
|
|
27799
27799
|
create: "Create",
|
|
27800
27800
|
embed: "Embed",
|
|
27801
|
-
"save-changes": "Save changes",
|
|
27802
27801
|
unlink: "Unlink",
|
|
27803
|
-
|
|
27802
|
+
videoUrl: "Video URL:",
|
|
27803
|
+
browse: "Browse"
|
|
27804
27804
|
};
|
|
27805
27805
|
var attachments = {
|
|
27806
|
-
|
|
27806
|
+
actionsBlocked: "You are not permitted to update or delete attachments",
|
|
27807
27807
|
add: "Add Attachment",
|
|
27808
|
-
|
|
27809
|
-
|
|
27808
|
+
deleteConfirmation: "Are you sure you want to remove {{entity}}?",
|
|
27809
|
+
deleteTitle: "Remove Attachment?",
|
|
27810
27810
|
maxNumberOfFiles: "You can only attach {{entity}} files",
|
|
27811
|
-
|
|
27812
|
-
|
|
27811
|
+
nameEmpty: "Filename cannot be empty",
|
|
27812
|
+
oneAttachmentAllowed: "Only one attachment is allowed"
|
|
27813
27813
|
};
|
|
27814
27814
|
var error$1 = {
|
|
27815
|
-
|
|
27816
|
-
|
|
27817
|
-
|
|
27815
|
+
invalidUrl: "Please enter a valid URL",
|
|
27816
|
+
cannotAddFiles: "Cannot add files",
|
|
27817
|
+
onBeforeFileAddedReturn: "Cannot add the file because onBeforeFileAdded returned false.",
|
|
27818
|
+
fileIsTooLarge: "File size is too large. Max size is {{maxFileSize}}.",
|
|
27819
|
+
imageSizeIsShouldBeLess: "Image size should be less than {{limit}} MB"
|
|
27818
27820
|
};
|
|
27819
27821
|
var menu = {
|
|
27820
27822
|
attachments: "Attachments",
|
|
27821
|
-
|
|
27823
|
+
blockQuote: "Block quote",
|
|
27822
27824
|
bold: "Bold",
|
|
27823
|
-
|
|
27825
|
+
bulletedList: "Bulleted list",
|
|
27824
27826
|
code: "Code",
|
|
27825
|
-
|
|
27826
|
-
"embed-video": "Embed video",
|
|
27827
|
+
codeBlock: "Code block",
|
|
27827
27828
|
emoji: "Emoji",
|
|
27828
|
-
|
|
27829
|
+
fontSize: "Font size",
|
|
27829
27830
|
highlight: "Highlight",
|
|
27830
|
-
|
|
27831
|
+
imageUpload: "Image upload",
|
|
27831
27832
|
italic: "Italic",
|
|
27832
27833
|
link: "Link",
|
|
27833
27834
|
mention: "Mention",
|
|
27834
|
-
|
|
27835
|
+
orderedList: "Ordered list",
|
|
27835
27836
|
redo: "Redo",
|
|
27836
27837
|
strike: "Strike",
|
|
27837
27838
|
table: "Table",
|
|
27838
27839
|
underline: "Underline",
|
|
27839
27840
|
undo: "Undo",
|
|
27840
|
-
|
|
27841
|
-
|
|
27842
|
-
|
|
27841
|
+
dynamicVariables: "Dynamic variables",
|
|
27842
|
+
videoEmbed: "Video embed",
|
|
27843
|
+
videoUpload: "Video upload",
|
|
27844
|
+
alignLeft: "Align left",
|
|
27845
|
+
alignCenter: "Align center",
|
|
27846
|
+
alignRight: "Align right",
|
|
27847
|
+
"delete": "Delete"
|
|
27843
27848
|
};
|
|
27844
27849
|
var placeholders = {
|
|
27845
|
-
"caption-input": "Enter a caption",
|
|
27846
27850
|
columns: "Enter columns",
|
|
27847
|
-
|
|
27848
|
-
|
|
27851
|
+
linkInput: "Paste or type a link...",
|
|
27852
|
+
pasteLink: "Paste the link here...",
|
|
27849
27853
|
rows: "Enter rows",
|
|
27850
|
-
|
|
27851
|
-
url: "Paste URL"
|
|
27854
|
+
searchUnsplash: "Search Unsplash",
|
|
27855
|
+
url: "Paste URL",
|
|
27856
|
+
writeSomething: "Write something …"
|
|
27852
27857
|
};
|
|
27853
27858
|
var table = {
|
|
27854
27859
|
"delete": "Delete table",
|
|
27855
|
-
|
|
27856
|
-
|
|
27857
|
-
|
|
27858
|
-
|
|
27859
|
-
|
|
27860
|
-
|
|
27861
|
-
|
|
27860
|
+
deleteColumn: "Delete column",
|
|
27861
|
+
deleteRow: "Delete row",
|
|
27862
|
+
insertColumn: "Insert column",
|
|
27863
|
+
insertRow: "Insert row",
|
|
27864
|
+
mergeSplit: "Merge/Split cell",
|
|
27865
|
+
toggleHeaderColumn: "Toggle header column",
|
|
27866
|
+
toggleHeaderRow: "Toggle header row"
|
|
27862
27867
|
};
|
|
27863
27868
|
var unsplash = {
|
|
27864
|
-
|
|
27865
|
-
|
|
27869
|
+
errorMessage: "Something went wrong! Please try again later.",
|
|
27870
|
+
noResults: "No results",
|
|
27866
27871
|
end: "End of results"
|
|
27867
27872
|
};
|
|
27873
|
+
var localUploader = {
|
|
27874
|
+
dropFilesHere: "Drop your file(s) here or Browse.",
|
|
27875
|
+
maxFileSize: "Max. File Size: {{entity}}",
|
|
27876
|
+
completed: "Completed"
|
|
27877
|
+
};
|
|
27868
27878
|
var en = {
|
|
27869
27879
|
common: common,
|
|
27870
27880
|
attachments: attachments,
|
|
@@ -27873,11 +27883,7 @@ var en = {
|
|
|
27873
27883
|
placeholders: placeholders,
|
|
27874
27884
|
table: table,
|
|
27875
27885
|
unsplash: unsplash,
|
|
27876
|
-
|
|
27877
|
-
"drop-files-here": "Drop your file(s) here or Browse.",
|
|
27878
|
-
"max-file-size": "Max. File Size: {{entity}}",
|
|
27879
|
-
completed: "Completed"
|
|
27880
|
-
}
|
|
27886
|
+
localUploader: localUploader
|
|
27881
27887
|
};
|
|
27882
27888
|
|
|
27883
27889
|
function cov_2jx0j78mzx() {
|
|
@@ -40135,7 +40141,7 @@ var MEDIA_UPLOAD_OPTIONS = (cov_jbpzhr9v8().s[7]++, [{
|
|
|
40135
40141
|
|
|
40136
40142
|
function cov_13smb7q6gj() {
|
|
40137
40143
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/utils.js";
|
|
40138
|
-
var hash = "
|
|
40144
|
+
var hash = "fd56564e5fafa0d0a378338fde19971a48136c8d";
|
|
40139
40145
|
var global = new Function("return this")();
|
|
40140
40146
|
var gcv = "__coverage__";
|
|
40141
40147
|
var coverageData = {
|
|
@@ -40143,91 +40149,91 @@ function cov_13smb7q6gj() {
|
|
|
40143
40149
|
statementMap: {
|
|
40144
40150
|
"0": {
|
|
40145
40151
|
start: {
|
|
40146
|
-
line:
|
|
40152
|
+
line: 4,
|
|
40147
40153
|
column: 33
|
|
40148
40154
|
},
|
|
40149
40155
|
end: {
|
|
40150
|
-
line:
|
|
40156
|
+
line: 13,
|
|
40151
40157
|
column: 1
|
|
40152
40158
|
}
|
|
40153
40159
|
},
|
|
40154
40160
|
"1": {
|
|
40155
40161
|
start: {
|
|
40156
|
-
line:
|
|
40162
|
+
line: 5,
|
|
40157
40163
|
column: 16
|
|
40158
40164
|
},
|
|
40159
40165
|
end: {
|
|
40160
|
-
line:
|
|
40166
|
+
line: 5,
|
|
40161
40167
|
column: 39
|
|
40162
40168
|
}
|
|
40163
40169
|
},
|
|
40164
40170
|
"2": {
|
|
40165
40171
|
start: {
|
|
40166
|
-
line:
|
|
40172
|
+
line: 6,
|
|
40167
40173
|
column: 10
|
|
40168
40174
|
},
|
|
40169
40175
|
end: {
|
|
40170
|
-
line:
|
|
40176
|
+
line: 6,
|
|
40171
40177
|
column: 11
|
|
40172
40178
|
}
|
|
40173
40179
|
},
|
|
40174
40180
|
"3": {
|
|
40175
40181
|
start: {
|
|
40176
|
-
line:
|
|
40182
|
+
line: 7,
|
|
40177
40183
|
column: 2
|
|
40178
40184
|
},
|
|
40179
40185
|
end: {
|
|
40180
|
-
line:
|
|
40186
|
+
line: 10,
|
|
40181
40187
|
column: 3
|
|
40182
40188
|
}
|
|
40183
40189
|
},
|
|
40184
40190
|
"4": {
|
|
40185
40191
|
start: {
|
|
40186
|
-
line:
|
|
40192
|
+
line: 8,
|
|
40187
40193
|
column: 4
|
|
40188
40194
|
},
|
|
40189
40195
|
end: {
|
|
40190
|
-
line:
|
|
40196
|
+
line: 8,
|
|
40191
40197
|
column: 17
|
|
40192
40198
|
}
|
|
40193
40199
|
},
|
|
40194
40200
|
"5": {
|
|
40195
40201
|
start: {
|
|
40196
|
-
line:
|
|
40202
|
+
line: 9,
|
|
40197
40203
|
column: 4
|
|
40198
40204
|
},
|
|
40199
40205
|
end: {
|
|
40200
|
-
line:
|
|
40206
|
+
line: 9,
|
|
40201
40207
|
column: 8
|
|
40202
40208
|
}
|
|
40203
40209
|
},
|
|
40204
40210
|
"6": {
|
|
40205
40211
|
start: {
|
|
40206
|
-
line:
|
|
40212
|
+
line: 12,
|
|
40207
40213
|
column: 2
|
|
40208
40214
|
},
|
|
40209
40215
|
end: {
|
|
40210
|
-
line:
|
|
40216
|
+
line: 12,
|
|
40211
40217
|
column: 42
|
|
40212
40218
|
}
|
|
40213
40219
|
},
|
|
40214
40220
|
"7": {
|
|
40215
40221
|
start: {
|
|
40216
|
-
line:
|
|
40222
|
+
line: 15,
|
|
40217
40223
|
column: 33
|
|
40218
40224
|
},
|
|
40219
40225
|
end: {
|
|
40220
|
-
line:
|
|
40226
|
+
line: 35,
|
|
40221
40227
|
column: 1
|
|
40222
40228
|
}
|
|
40223
40229
|
},
|
|
40224
40230
|
"8": {
|
|
40225
40231
|
start: {
|
|
40226
|
-
line:
|
|
40232
|
+
line: 15,
|
|
40227
40233
|
column: 39
|
|
40228
40234
|
},
|
|
40229
40235
|
end: {
|
|
40230
|
-
line:
|
|
40236
|
+
line: 35,
|
|
40231
40237
|
column: 1
|
|
40232
40238
|
}
|
|
40233
40239
|
}
|
|
@@ -40237,84 +40243,84 @@ function cov_13smb7q6gj() {
|
|
|
40237
40243
|
name: "(anonymous_0)",
|
|
40238
40244
|
decl: {
|
|
40239
40245
|
start: {
|
|
40240
|
-
line:
|
|
40246
|
+
line: 4,
|
|
40241
40247
|
column: 33
|
|
40242
40248
|
},
|
|
40243
40249
|
end: {
|
|
40244
|
-
line:
|
|
40250
|
+
line: 4,
|
|
40245
40251
|
column: 34
|
|
40246
40252
|
}
|
|
40247
40253
|
},
|
|
40248
40254
|
loc: {
|
|
40249
40255
|
start: {
|
|
40250
|
-
line:
|
|
40256
|
+
line: 4,
|
|
40251
40257
|
column: 41
|
|
40252
40258
|
},
|
|
40253
40259
|
end: {
|
|
40254
|
-
line:
|
|
40260
|
+
line: 13,
|
|
40255
40261
|
column: 1
|
|
40256
40262
|
}
|
|
40257
40263
|
},
|
|
40258
|
-
line:
|
|
40264
|
+
line: 4
|
|
40259
40265
|
},
|
|
40260
40266
|
"1": {
|
|
40261
40267
|
name: "(anonymous_1)",
|
|
40262
40268
|
decl: {
|
|
40263
40269
|
start: {
|
|
40264
|
-
line:
|
|
40270
|
+
line: 15,
|
|
40265
40271
|
column: 33
|
|
40266
40272
|
},
|
|
40267
40273
|
end: {
|
|
40268
|
-
line:
|
|
40274
|
+
line: 15,
|
|
40269
40275
|
column: 34
|
|
40270
40276
|
}
|
|
40271
40277
|
},
|
|
40272
40278
|
loc: {
|
|
40273
40279
|
start: {
|
|
40274
|
-
line:
|
|
40280
|
+
line: 15,
|
|
40275
40281
|
column: 39
|
|
40276
40282
|
},
|
|
40277
40283
|
end: {
|
|
40278
|
-
line:
|
|
40284
|
+
line: 35,
|
|
40279
40285
|
column: 1
|
|
40280
40286
|
}
|
|
40281
40287
|
},
|
|
40282
|
-
line:
|
|
40288
|
+
line: 15
|
|
40283
40289
|
}
|
|
40284
40290
|
},
|
|
40285
40291
|
branchMap: {
|
|
40286
40292
|
"0": {
|
|
40287
40293
|
loc: {
|
|
40288
40294
|
start: {
|
|
40289
|
-
line:
|
|
40295
|
+
line: 7,
|
|
40290
40296
|
column: 9
|
|
40291
40297
|
},
|
|
40292
40298
|
end: {
|
|
40293
|
-
line:
|
|
40299
|
+
line: 7,
|
|
40294
40300
|
column: 41
|
|
40295
40301
|
}
|
|
40296
40302
|
},
|
|
40297
40303
|
type: "binary-expr",
|
|
40298
40304
|
locations: [{
|
|
40299
40305
|
start: {
|
|
40300
|
-
line:
|
|
40306
|
+
line: 7,
|
|
40301
40307
|
column: 9
|
|
40302
40308
|
},
|
|
40303
40309
|
end: {
|
|
40304
|
-
line:
|
|
40310
|
+
line: 7,
|
|
40305
40311
|
column: 21
|
|
40306
40312
|
}
|
|
40307
40313
|
}, {
|
|
40308
40314
|
start: {
|
|
40309
|
-
line:
|
|
40315
|
+
line: 7,
|
|
40310
40316
|
column: 25
|
|
40311
40317
|
},
|
|
40312
40318
|
end: {
|
|
40313
|
-
line:
|
|
40319
|
+
line: 7,
|
|
40314
40320
|
column: 41
|
|
40315
40321
|
}
|
|
40316
40322
|
}],
|
|
40317
|
-
line:
|
|
40323
|
+
line: 7
|
|
40318
40324
|
}
|
|
40319
40325
|
},
|
|
40320
40326
|
s: {
|
|
@@ -40336,7 +40342,7 @@ function cov_13smb7q6gj() {
|
|
|
40336
40342
|
"0": [0, 0]
|
|
40337
40343
|
},
|
|
40338
40344
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
40339
|
-
hash: "
|
|
40345
|
+
hash: "fd56564e5fafa0d0a378338fde19971a48136c8d"
|
|
40340
40346
|
};
|
|
40341
40347
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
40342
40348
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -40374,18 +40380,18 @@ var buildImageOptions = function buildImageOptions() {
|
|
|
40374
40380
|
return [{
|
|
40375
40381
|
Icon: neetoIcons.LeftAlign,
|
|
40376
40382
|
alignPos: "left",
|
|
40377
|
-
optionName: "
|
|
40383
|
+
optionName: t$7("menu.alignLeft")
|
|
40378
40384
|
}, {
|
|
40379
40385
|
Icon: neetoIcons.CenterAlign,
|
|
40380
40386
|
alignPos: "center",
|
|
40381
|
-
optionName: "
|
|
40387
|
+
optionName: t$7("menu.alignCenter")
|
|
40382
40388
|
}, {
|
|
40383
40389
|
Icon: neetoIcons.RightAlign,
|
|
40384
40390
|
alignPos: "right",
|
|
40385
|
-
optionName: "
|
|
40391
|
+
optionName: t$7("menu.alignRight")
|
|
40386
40392
|
}, {
|
|
40387
40393
|
Icon: neetoIcons.Delete,
|
|
40388
|
-
optionName: "
|
|
40394
|
+
optionName: t$7("menu.delete")
|
|
40389
40395
|
}];
|
|
40390
40396
|
};
|
|
40391
40397
|
|
|
@@ -49594,7 +49600,7 @@ var ActiveStorageUpload = /*#__PURE__*/function (_BasePlugin) {
|
|
|
49594
49600
|
|
|
49595
49601
|
function cov_r3t02fgv5() {
|
|
49596
49602
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/hooks/useUppyUploader.js";
|
|
49597
|
-
var hash = "
|
|
49603
|
+
var hash = "185c06efbf6be23fe7bd5f2deafc8630f3746c3e";
|
|
49598
49604
|
var global = new Function("return this")();
|
|
49599
49605
|
var gcv = "__coverage__";
|
|
49600
49606
|
var coverageData = {
|
|
@@ -49602,171 +49608,181 @@ function cov_r3t02fgv5() {
|
|
|
49602
49608
|
statementMap: {
|
|
49603
49609
|
"0": {
|
|
49604
49610
|
start: {
|
|
49605
|
-
line:
|
|
49611
|
+
line: 13,
|
|
49606
49612
|
column: 24
|
|
49607
49613
|
},
|
|
49608
49614
|
end: {
|
|
49609
|
-
line:
|
|
49615
|
+
line: 55,
|
|
49610
49616
|
column: 1
|
|
49611
49617
|
}
|
|
49612
49618
|
},
|
|
49613
49619
|
"1": {
|
|
49614
49620
|
start: {
|
|
49615
|
-
line:
|
|
49621
|
+
line: 14,
|
|
49616
49622
|
column: 40
|
|
49617
49623
|
},
|
|
49618
49624
|
end: {
|
|
49619
|
-
line:
|
|
49625
|
+
line: 14,
|
|
49620
49626
|
column: 55
|
|
49621
49627
|
}
|
|
49622
49628
|
},
|
|
49623
49629
|
"2": {
|
|
49624
49630
|
start: {
|
|
49625
49631
|
line: 15,
|
|
49626
|
-
column:
|
|
49632
|
+
column: 16
|
|
49627
49633
|
},
|
|
49628
49634
|
end: {
|
|
49629
|
-
line:
|
|
49630
|
-
column:
|
|
49635
|
+
line: 15,
|
|
49636
|
+
column: 32
|
|
49631
49637
|
}
|
|
49632
49638
|
},
|
|
49633
49639
|
"3": {
|
|
49634
49640
|
start: {
|
|
49635
|
-
line:
|
|
49641
|
+
line: 17,
|
|
49636
49642
|
column: 28
|
|
49637
49643
|
},
|
|
49638
49644
|
end: {
|
|
49639
|
-
line:
|
|
49640
|
-
column:
|
|
49645
|
+
line: 31,
|
|
49646
|
+
column: 3
|
|
49641
49647
|
}
|
|
49642
49648
|
},
|
|
49643
49649
|
"4": {
|
|
49644
49650
|
start: {
|
|
49645
49651
|
line: 18,
|
|
49652
|
+
column: 28
|
|
49653
|
+
},
|
|
49654
|
+
end: {
|
|
49655
|
+
line: 18,
|
|
49656
|
+
column: 51
|
|
49657
|
+
}
|
|
49658
|
+
},
|
|
49659
|
+
"5": {
|
|
49660
|
+
start: {
|
|
49661
|
+
line: 20,
|
|
49646
49662
|
column: 4
|
|
49647
49663
|
},
|
|
49648
49664
|
end: {
|
|
49649
|
-
line:
|
|
49665
|
+
line: 28,
|
|
49650
49666
|
column: 5
|
|
49651
49667
|
}
|
|
49652
49668
|
},
|
|
49653
|
-
"
|
|
49669
|
+
"6": {
|
|
49654
49670
|
start: {
|
|
49655
|
-
line:
|
|
49671
|
+
line: 21,
|
|
49656
49672
|
column: 6
|
|
49657
49673
|
},
|
|
49658
49674
|
end: {
|
|
49659
|
-
line:
|
|
49675
|
+
line: 25,
|
|
49660
49676
|
column: 8
|
|
49661
49677
|
}
|
|
49662
49678
|
},
|
|
49663
|
-
"
|
|
49679
|
+
"7": {
|
|
49664
49680
|
start: {
|
|
49665
|
-
line:
|
|
49681
|
+
line: 27,
|
|
49666
49682
|
column: 6
|
|
49667
49683
|
},
|
|
49668
49684
|
end: {
|
|
49669
|
-
line:
|
|
49685
|
+
line: 27,
|
|
49670
49686
|
column: 19
|
|
49671
49687
|
}
|
|
49672
49688
|
},
|
|
49673
|
-
"
|
|
49689
|
+
"8": {
|
|
49674
49690
|
start: {
|
|
49675
|
-
line:
|
|
49691
|
+
line: 30,
|
|
49676
49692
|
column: 4
|
|
49677
49693
|
},
|
|
49678
49694
|
end: {
|
|
49679
|
-
line:
|
|
49695
|
+
line: 30,
|
|
49680
49696
|
column: 16
|
|
49681
49697
|
}
|
|
49682
49698
|
},
|
|
49683
|
-
"
|
|
49699
|
+
"9": {
|
|
49684
49700
|
start: {
|
|
49685
|
-
line:
|
|
49701
|
+
line: 33,
|
|
49686
49702
|
column: 15
|
|
49687
49703
|
},
|
|
49688
49704
|
end: {
|
|
49689
|
-
line:
|
|
49705
|
+
line: 52,
|
|
49690
49706
|
column: 3
|
|
49691
49707
|
}
|
|
49692
49708
|
},
|
|
49693
|
-
"
|
|
49709
|
+
"10": {
|
|
49694
49710
|
start: {
|
|
49695
|
-
line:
|
|
49711
|
+
line: 34,
|
|
49696
49712
|
column: 4
|
|
49697
49713
|
},
|
|
49698
49714
|
end: {
|
|
49699
|
-
line:
|
|
49715
|
+
line: 51,
|
|
49700
49716
|
column: 8
|
|
49701
49717
|
}
|
|
49702
49718
|
},
|
|
49703
|
-
"
|
|
49719
|
+
"11": {
|
|
49704
49720
|
start: {
|
|
49705
|
-
line:
|
|
49721
|
+
line: 42,
|
|
49706
49722
|
column: 26
|
|
49707
49723
|
},
|
|
49708
49724
|
end: {
|
|
49709
|
-
line:
|
|
49725
|
+
line: 42,
|
|
49710
49726
|
column: 46
|
|
49711
49727
|
}
|
|
49712
49728
|
},
|
|
49713
|
-
"
|
|
49729
|
+
"12": {
|
|
49714
49730
|
start: {
|
|
49715
|
-
line:
|
|
49731
|
+
line: 44,
|
|
49716
49732
|
column: 24
|
|
49717
49733
|
},
|
|
49718
49734
|
end: {
|
|
49719
|
-
line:
|
|
49735
|
+
line: 44,
|
|
49720
49736
|
column: 58
|
|
49721
49737
|
}
|
|
49722
49738
|
},
|
|
49723
|
-
"
|
|
49739
|
+
"13": {
|
|
49724
49740
|
start: {
|
|
49725
|
-
line:
|
|
49741
|
+
line: 45,
|
|
49726
49742
|
column: 8
|
|
49727
49743
|
},
|
|
49728
49744
|
end: {
|
|
49729
|
-
line:
|
|
49745
|
+
line: 45,
|
|
49730
49746
|
column: 29
|
|
49731
49747
|
}
|
|
49732
49748
|
},
|
|
49733
|
-
"
|
|
49749
|
+
"14": {
|
|
49734
49750
|
start: {
|
|
49735
|
-
line:
|
|
49751
|
+
line: 47,
|
|
49736
49752
|
column: 30
|
|
49737
49753
|
},
|
|
49738
49754
|
end: {
|
|
49739
|
-
line:
|
|
49755
|
+
line: 47,
|
|
49740
49756
|
column: 51
|
|
49741
49757
|
}
|
|
49742
49758
|
},
|
|
49743
|
-
"
|
|
49759
|
+
"15": {
|
|
49744
49760
|
start: {
|
|
49745
|
-
line:
|
|
49761
|
+
line: 49,
|
|
49746
49762
|
column: 8
|
|
49747
49763
|
},
|
|
49748
49764
|
end: {
|
|
49749
|
-
line:
|
|
49765
|
+
line: 49,
|
|
49750
49766
|
column: 21
|
|
49751
49767
|
}
|
|
49752
49768
|
},
|
|
49753
|
-
"
|
|
49769
|
+
"16": {
|
|
49754
49770
|
start: {
|
|
49755
|
-
line:
|
|
49771
|
+
line: 50,
|
|
49756
49772
|
column: 8
|
|
49757
49773
|
},
|
|
49758
49774
|
end: {
|
|
49759
|
-
line:
|
|
49775
|
+
line: 50,
|
|
49760
49776
|
column: 30
|
|
49761
49777
|
}
|
|
49762
49778
|
},
|
|
49763
|
-
"
|
|
49779
|
+
"17": {
|
|
49764
49780
|
start: {
|
|
49765
|
-
line:
|
|
49781
|
+
line: 54,
|
|
49766
49782
|
column: 2
|
|
49767
49783
|
},
|
|
49768
49784
|
end: {
|
|
49769
|
-
line:
|
|
49785
|
+
line: 54,
|
|
49770
49786
|
column: 31
|
|
49771
49787
|
}
|
|
49772
49788
|
}
|
|
@@ -49776,215 +49792,215 @@ function cov_r3t02fgv5() {
|
|
|
49776
49792
|
name: "(anonymous_0)",
|
|
49777
49793
|
decl: {
|
|
49778
49794
|
start: {
|
|
49779
|
-
line:
|
|
49795
|
+
line: 13,
|
|
49780
49796
|
column: 24
|
|
49781
49797
|
},
|
|
49782
49798
|
end: {
|
|
49783
|
-
line:
|
|
49799
|
+
line: 13,
|
|
49784
49800
|
column: 25
|
|
49785
49801
|
}
|
|
49786
49802
|
},
|
|
49787
49803
|
loc: {
|
|
49788
49804
|
start: {
|
|
49789
|
-
line:
|
|
49805
|
+
line: 13,
|
|
49790
49806
|
column: 72
|
|
49791
49807
|
},
|
|
49792
49808
|
end: {
|
|
49793
|
-
line:
|
|
49809
|
+
line: 55,
|
|
49794
49810
|
column: 1
|
|
49795
49811
|
}
|
|
49796
49812
|
},
|
|
49797
|
-
line:
|
|
49813
|
+
line: 13
|
|
49798
49814
|
},
|
|
49799
49815
|
"1": {
|
|
49800
49816
|
name: "(anonymous_1)",
|
|
49801
49817
|
decl: {
|
|
49802
49818
|
start: {
|
|
49803
|
-
line:
|
|
49819
|
+
line: 17,
|
|
49804
49820
|
column: 28
|
|
49805
49821
|
},
|
|
49806
49822
|
end: {
|
|
49807
|
-
line:
|
|
49823
|
+
line: 17,
|
|
49808
49824
|
column: 29
|
|
49809
49825
|
}
|
|
49810
49826
|
},
|
|
49811
49827
|
loc: {
|
|
49812
49828
|
start: {
|
|
49813
|
-
line:
|
|
49829
|
+
line: 17,
|
|
49814
49830
|
column: 36
|
|
49815
49831
|
},
|
|
49816
49832
|
end: {
|
|
49817
|
-
line:
|
|
49833
|
+
line: 31,
|
|
49818
49834
|
column: 3
|
|
49819
49835
|
}
|
|
49820
49836
|
},
|
|
49821
|
-
line:
|
|
49837
|
+
line: 17
|
|
49822
49838
|
},
|
|
49823
49839
|
"2": {
|
|
49824
49840
|
name: "(anonymous_2)",
|
|
49825
49841
|
decl: {
|
|
49826
49842
|
start: {
|
|
49827
|
-
line:
|
|
49843
|
+
line: 33,
|
|
49828
49844
|
column: 23
|
|
49829
49845
|
},
|
|
49830
49846
|
end: {
|
|
49831
|
-
line:
|
|
49847
|
+
line: 33,
|
|
49832
49848
|
column: 24
|
|
49833
49849
|
}
|
|
49834
49850
|
},
|
|
49835
49851
|
loc: {
|
|
49836
49852
|
start: {
|
|
49837
|
-
line:
|
|
49853
|
+
line: 34,
|
|
49838
49854
|
column: 4
|
|
49839
49855
|
},
|
|
49840
49856
|
end: {
|
|
49841
|
-
line:
|
|
49857
|
+
line: 51,
|
|
49842
49858
|
column: 8
|
|
49843
49859
|
}
|
|
49844
49860
|
},
|
|
49845
|
-
line:
|
|
49861
|
+
line: 34
|
|
49846
49862
|
},
|
|
49847
49863
|
"3": {
|
|
49848
49864
|
name: "(anonymous_3)",
|
|
49849
49865
|
decl: {
|
|
49850
49866
|
start: {
|
|
49851
|
-
line:
|
|
49867
|
+
line: 42,
|
|
49852
49868
|
column: 20
|
|
49853
49869
|
},
|
|
49854
49870
|
end: {
|
|
49855
|
-
line:
|
|
49871
|
+
line: 42,
|
|
49856
49872
|
column: 21
|
|
49857
49873
|
}
|
|
49858
49874
|
},
|
|
49859
49875
|
loc: {
|
|
49860
49876
|
start: {
|
|
49861
|
-
line:
|
|
49877
|
+
line: 42,
|
|
49862
49878
|
column: 26
|
|
49863
49879
|
},
|
|
49864
49880
|
end: {
|
|
49865
|
-
line:
|
|
49881
|
+
line: 42,
|
|
49866
49882
|
column: 46
|
|
49867
49883
|
}
|
|
49868
49884
|
},
|
|
49869
|
-
line:
|
|
49885
|
+
line: 42
|
|
49870
49886
|
},
|
|
49871
49887
|
"4": {
|
|
49872
49888
|
name: "(anonymous_4)",
|
|
49873
49889
|
decl: {
|
|
49874
49890
|
start: {
|
|
49875
|
-
line:
|
|
49891
|
+
line: 43,
|
|
49876
49892
|
column: 28
|
|
49877
49893
|
},
|
|
49878
49894
|
end: {
|
|
49879
|
-
line:
|
|
49895
|
+
line: 43,
|
|
49880
49896
|
column: 29
|
|
49881
49897
|
}
|
|
49882
49898
|
},
|
|
49883
49899
|
loc: {
|
|
49884
49900
|
start: {
|
|
49885
|
-
line:
|
|
49901
|
+
line: 43,
|
|
49886
49902
|
column: 40
|
|
49887
49903
|
},
|
|
49888
49904
|
end: {
|
|
49889
|
-
line:
|
|
49905
|
+
line: 46,
|
|
49890
49906
|
column: 7
|
|
49891
49907
|
}
|
|
49892
49908
|
},
|
|
49893
|
-
line:
|
|
49909
|
+
line: 43
|
|
49894
49910
|
},
|
|
49895
49911
|
"5": {
|
|
49896
49912
|
name: "(anonymous_5)",
|
|
49897
49913
|
decl: {
|
|
49898
49914
|
start: {
|
|
49899
|
-
line:
|
|
49915
|
+
line: 47,
|
|
49900
49916
|
column: 24
|
|
49901
49917
|
},
|
|
49902
49918
|
end: {
|
|
49903
|
-
line:
|
|
49919
|
+
line: 47,
|
|
49904
49920
|
column: 25
|
|
49905
49921
|
}
|
|
49906
49922
|
},
|
|
49907
49923
|
loc: {
|
|
49908
49924
|
start: {
|
|
49909
|
-
line:
|
|
49925
|
+
line: 47,
|
|
49910
49926
|
column: 30
|
|
49911
49927
|
},
|
|
49912
49928
|
end: {
|
|
49913
|
-
line:
|
|
49929
|
+
line: 47,
|
|
49914
49930
|
column: 51
|
|
49915
49931
|
}
|
|
49916
49932
|
},
|
|
49917
|
-
line:
|
|
49933
|
+
line: 47
|
|
49918
49934
|
},
|
|
49919
49935
|
"6": {
|
|
49920
49936
|
name: "(anonymous_6)",
|
|
49921
49937
|
decl: {
|
|
49922
49938
|
start: {
|
|
49923
|
-
line:
|
|
49939
|
+
line: 48,
|
|
49924
49940
|
column: 22
|
|
49925
49941
|
},
|
|
49926
49942
|
end: {
|
|
49927
|
-
line:
|
|
49943
|
+
line: 48,
|
|
49928
49944
|
column: 23
|
|
49929
49945
|
}
|
|
49930
49946
|
},
|
|
49931
49947
|
loc: {
|
|
49932
49948
|
start: {
|
|
49933
|
-
line:
|
|
49949
|
+
line: 48,
|
|
49934
49950
|
column: 28
|
|
49935
49951
|
},
|
|
49936
49952
|
end: {
|
|
49937
|
-
line:
|
|
49953
|
+
line: 51,
|
|
49938
49954
|
column: 7
|
|
49939
49955
|
}
|
|
49940
49956
|
},
|
|
49941
|
-
line:
|
|
49957
|
+
line: 48
|
|
49942
49958
|
}
|
|
49943
49959
|
},
|
|
49944
49960
|
branchMap: {
|
|
49945
49961
|
"0": {
|
|
49946
49962
|
loc: {
|
|
49947
49963
|
start: {
|
|
49948
|
-
line:
|
|
49964
|
+
line: 13,
|
|
49949
49965
|
column: 49
|
|
49950
49966
|
},
|
|
49951
49967
|
end: {
|
|
49952
|
-
line:
|
|
49968
|
+
line: 13,
|
|
49953
49969
|
column: 65
|
|
49954
49970
|
}
|
|
49955
49971
|
},
|
|
49956
49972
|
type: "default-arg",
|
|
49957
49973
|
locations: [{
|
|
49958
49974
|
start: {
|
|
49959
|
-
line:
|
|
49975
|
+
line: 13,
|
|
49960
49976
|
column: 61
|
|
49961
49977
|
},
|
|
49962
49978
|
end: {
|
|
49963
|
-
line:
|
|
49979
|
+
line: 13,
|
|
49964
49980
|
column: 65
|
|
49965
49981
|
}
|
|
49966
49982
|
}],
|
|
49967
|
-
line:
|
|
49983
|
+
line: 13
|
|
49968
49984
|
},
|
|
49969
49985
|
"1": {
|
|
49970
49986
|
loc: {
|
|
49971
49987
|
start: {
|
|
49972
|
-
line:
|
|
49988
|
+
line: 20,
|
|
49973
49989
|
column: 4
|
|
49974
49990
|
},
|
|
49975
49991
|
end: {
|
|
49976
|
-
line:
|
|
49992
|
+
line: 28,
|
|
49977
49993
|
column: 5
|
|
49978
49994
|
}
|
|
49979
49995
|
},
|
|
49980
49996
|
type: "if",
|
|
49981
49997
|
locations: [{
|
|
49982
49998
|
start: {
|
|
49983
|
-
line:
|
|
49999
|
+
line: 20,
|
|
49984
50000
|
column: 4
|
|
49985
50001
|
},
|
|
49986
50002
|
end: {
|
|
49987
|
-
line:
|
|
50003
|
+
line: 28,
|
|
49988
50004
|
column: 5
|
|
49989
50005
|
}
|
|
49990
50006
|
}, {
|
|
@@ -49997,40 +50013,40 @@ function cov_r3t02fgv5() {
|
|
|
49997
50013
|
column: undefined
|
|
49998
50014
|
}
|
|
49999
50015
|
}],
|
|
50000
|
-
line:
|
|
50016
|
+
line: 20
|
|
50001
50017
|
},
|
|
50002
50018
|
"2": {
|
|
50003
50019
|
loc: {
|
|
50004
50020
|
start: {
|
|
50005
|
-
line:
|
|
50021
|
+
line: 44,
|
|
50006
50022
|
column: 24
|
|
50007
50023
|
},
|
|
50008
50024
|
end: {
|
|
50009
|
-
line:
|
|
50025
|
+
line: 44,
|
|
50010
50026
|
column: 58
|
|
50011
50027
|
}
|
|
50012
50028
|
},
|
|
50013
50029
|
type: "binary-expr",
|
|
50014
50030
|
locations: [{
|
|
50015
50031
|
start: {
|
|
50016
|
-
line:
|
|
50032
|
+
line: 44,
|
|
50017
50033
|
column: 24
|
|
50018
50034
|
},
|
|
50019
50035
|
end: {
|
|
50020
|
-
line:
|
|
50036
|
+
line: 44,
|
|
50021
50037
|
column: 42
|
|
50022
50038
|
}
|
|
50023
50039
|
}, {
|
|
50024
50040
|
start: {
|
|
50025
|
-
line:
|
|
50041
|
+
line: 44,
|
|
50026
50042
|
column: 46
|
|
50027
50043
|
},
|
|
50028
50044
|
end: {
|
|
50029
|
-
line:
|
|
50045
|
+
line: 44,
|
|
50030
50046
|
column: 58
|
|
50031
50047
|
}
|
|
50032
50048
|
}],
|
|
50033
|
-
line:
|
|
50049
|
+
line: 44
|
|
50034
50050
|
}
|
|
50035
50051
|
},
|
|
50036
50052
|
s: {
|
|
@@ -50050,7 +50066,8 @@ function cov_r3t02fgv5() {
|
|
|
50050
50066
|
"13": 0,
|
|
50051
50067
|
"14": 0,
|
|
50052
50068
|
"15": 0,
|
|
50053
|
-
"16": 0
|
|
50069
|
+
"16": 0,
|
|
50070
|
+
"17": 0
|
|
50054
50071
|
},
|
|
50055
50072
|
f: {
|
|
50056
50073
|
"0": 0,
|
|
@@ -50067,7 +50084,7 @@ function cov_r3t02fgv5() {
|
|
|
50067
50084
|
"2": [0, 0]
|
|
50068
50085
|
},
|
|
50069
50086
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50070
|
-
hash: "
|
|
50087
|
+
hash: "185c06efbf6be23fe7bd5f2deafc8630f3746c3e"
|
|
50071
50088
|
};
|
|
50072
50089
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
50073
50090
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -50096,54 +50113,58 @@ var useUppyUploader = function useUppyUploader(_ref) {
|
|
|
50096
50113
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
50097
50114
|
isUploading = _ref3[0],
|
|
50098
50115
|
setIsUploading = _ref3[1];
|
|
50099
|
-
cov_r3t02fgv5().s[2]
|
|
50116
|
+
var _ref4 = (cov_r3t02fgv5().s[2]++, useTranslation()),
|
|
50117
|
+
t = _ref4.t;
|
|
50118
|
+
cov_r3t02fgv5().s[3]++;
|
|
50100
50119
|
var onBeforeFileAdded = function onBeforeFileAdded(file) {
|
|
50101
50120
|
cov_r3t02fgv5().f[1]++;
|
|
50102
|
-
var
|
|
50103
|
-
maxFileSize =
|
|
50104
|
-
cov_r3t02fgv5().s[
|
|
50121
|
+
var _ref5 = (cov_r3t02fgv5().s[4]++, uppyConfig.restrictions),
|
|
50122
|
+
maxFileSize = _ref5.maxFileSize;
|
|
50123
|
+
cov_r3t02fgv5().s[5]++;
|
|
50105
50124
|
if (file.size > maxFileSize) {
|
|
50106
50125
|
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
50126
|
cov_r3t02fgv5().s[6]++;
|
|
50127
|
+
neetoui.Toastr.error(t("error.fileIsTooLarge", {
|
|
50128
|
+
maxFileSize: convertToFileSize(uppyConfig.restrictions.maxFileSize)
|
|
50129
|
+
}));
|
|
50130
|
+
cov_r3t02fgv5().s[7]++;
|
|
50110
50131
|
return false;
|
|
50111
50132
|
} else {
|
|
50112
50133
|
cov_r3t02fgv5().b[1][1]++;
|
|
50113
50134
|
}
|
|
50114
|
-
cov_r3t02fgv5().s[
|
|
50135
|
+
cov_r3t02fgv5().s[8]++;
|
|
50115
50136
|
return true;
|
|
50116
50137
|
};
|
|
50117
|
-
var uppy = (cov_r3t02fgv5().s[
|
|
50138
|
+
var uppy = (cov_r3t02fgv5().s[9]++, useUppy(function () {
|
|
50118
50139
|
cov_r3t02fgv5().f[2]++;
|
|
50119
|
-
cov_r3t02fgv5().s[
|
|
50140
|
+
cov_r3t02fgv5().s[10]++;
|
|
50120
50141
|
return new Uppy(_objectSpread$e(_objectSpread$e({}, uppyConfig), {}, {
|
|
50121
50142
|
onBeforeFileAdded: onBeforeFileAdded
|
|
50122
50143
|
})).use(ActiveStorageUpload, _objectSpread$e({
|
|
50123
50144
|
directUploadUrl: endpoint
|
|
50124
50145
|
}, UPPY_UPLOAD_CONFIG)).on("upload", function () {
|
|
50125
50146
|
cov_r3t02fgv5().f[3]++;
|
|
50126
|
-
cov_r3t02fgv5().s[
|
|
50147
|
+
cov_r3t02fgv5().s[11]++;
|
|
50127
50148
|
return setIsUploading(true);
|
|
50128
50149
|
}).on("upload-success", function (_, res) {
|
|
50129
50150
|
var _res$data;
|
|
50130
50151
|
cov_r3t02fgv5().f[4]++;
|
|
50131
|
-
var blobUrl = (cov_r3t02fgv5().s[
|
|
50132
|
-
cov_r3t02fgv5().s[
|
|
50152
|
+
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));
|
|
50153
|
+
cov_r3t02fgv5().s[13]++;
|
|
50133
50154
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(blobUrl);
|
|
50134
50155
|
}).on("cancel-all", function () {
|
|
50135
50156
|
cov_r3t02fgv5().f[5]++;
|
|
50136
|
-
cov_r3t02fgv5().s[
|
|
50157
|
+
cov_r3t02fgv5().s[14]++;
|
|
50137
50158
|
return setIsUploading(false);
|
|
50138
50159
|
}).on("complete", function () {
|
|
50139
50160
|
cov_r3t02fgv5().f[6]++;
|
|
50140
|
-
cov_r3t02fgv5().s[14]++;
|
|
50141
|
-
uppy.reset();
|
|
50142
50161
|
cov_r3t02fgv5().s[15]++;
|
|
50162
|
+
uppy.reset();
|
|
50163
|
+
cov_r3t02fgv5().s[16]++;
|
|
50143
50164
|
setIsUploading(false);
|
|
50144
50165
|
});
|
|
50145
50166
|
}));
|
|
50146
|
-
cov_r3t02fgv5().s[
|
|
50167
|
+
cov_r3t02fgv5().s[17]++;
|
|
50147
50168
|
return {
|
|
50148
50169
|
uppy: uppy,
|
|
50149
50170
|
isUploading: isUploading
|
|
@@ -51180,7 +51201,7 @@ var File$1 = function File(_ref) {
|
|
|
51180
51201
|
|
|
51181
51202
|
function cov_13lrfxjoky() {
|
|
51182
51203
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
|
|
51183
|
-
var hash = "
|
|
51204
|
+
var hash = "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf";
|
|
51184
51205
|
var global = new Function("return this")();
|
|
51185
51206
|
var gcv = "__coverage__";
|
|
51186
51207
|
var coverageData = {
|
|
@@ -52250,7 +52271,7 @@ function cov_13lrfxjoky() {
|
|
|
52250
52271
|
},
|
|
52251
52272
|
end: {
|
|
52252
52273
|
line: 121,
|
|
52253
|
-
column:
|
|
52274
|
+
column: 77
|
|
52254
52275
|
}
|
|
52255
52276
|
},
|
|
52256
52277
|
type: "cond-expr",
|
|
@@ -52261,16 +52282,16 @@ function cov_13lrfxjoky() {
|
|
|
52261
52282
|
},
|
|
52262
52283
|
end: {
|
|
52263
52284
|
line: 121,
|
|
52264
|
-
column:
|
|
52285
|
+
column: 72
|
|
52265
52286
|
}
|
|
52266
52287
|
}, {
|
|
52267
52288
|
start: {
|
|
52268
52289
|
line: 121,
|
|
52269
|
-
column:
|
|
52290
|
+
column: 75
|
|
52270
52291
|
},
|
|
52271
52292
|
end: {
|
|
52272
52293
|
line: 121,
|
|
52273
|
-
column:
|
|
52294
|
+
column: 77
|
|
52274
52295
|
}
|
|
52275
52296
|
}],
|
|
52276
52297
|
line: 121
|
|
@@ -52354,7 +52375,7 @@ function cov_13lrfxjoky() {
|
|
|
52354
52375
|
"7": [0, 0]
|
|
52355
52376
|
},
|
|
52356
52377
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
52357
|
-
hash: "
|
|
52378
|
+
hash: "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf"
|
|
52358
52379
|
};
|
|
52359
52380
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
52360
52381
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -52565,7 +52586,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
52565
52586
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
52566
52587
|
autoFocus: true,
|
|
52567
52588
|
"data-cy": "neeto-editor-attachment-rename-input",
|
|
52568
|
-
error: ramda.isEmpty(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.
|
|
52589
|
+
error: ramda.isEmpty(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.nameEmpty")) : (cov_13lrfxjoky().b[7][1]++, ""),
|
|
52569
52590
|
size: "small",
|
|
52570
52591
|
value: newFilename,
|
|
52571
52592
|
onChange: function onChange(e) {
|
|
@@ -52599,7 +52620,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
52599
52620
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
52600
52621
|
style: "body2"
|
|
52601
52622
|
}, attachment.filename)), /*#__PURE__*/React__default["default"].createElement(neetoui.Tooltip, {
|
|
52602
|
-
content: t("attachments.
|
|
52623
|
+
content: t("attachments.actionsBlocked"),
|
|
52603
52624
|
disabled: !disabled,
|
|
52604
52625
|
position: "top"
|
|
52605
52626
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Dropdown, {
|
|
@@ -52628,10 +52649,10 @@ var Attachment = function Attachment(_ref2) {
|
|
|
52628
52649
|
})))))))), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
|
|
52629
52650
|
isOpen: isDeleteAlertOpen,
|
|
52630
52651
|
isSubmitting: isDeleting,
|
|
52631
|
-
message: t("attachments.
|
|
52652
|
+
message: t("attachments.deleteConfirmation", {
|
|
52632
52653
|
entity: newFilename
|
|
52633
52654
|
}),
|
|
52634
|
-
title: t("attachments.
|
|
52655
|
+
title: t("attachments.deleteTitle"),
|
|
52635
52656
|
onClose: function onClose() {
|
|
52636
52657
|
cov_13lrfxjoky().f[12]++;
|
|
52637
52658
|
cov_13lrfxjoky().s[49]++;
|
|
@@ -53471,7 +53492,7 @@ var handleDrop = function handleDrop(_ref4) {
|
|
|
53471
53492
|
|
|
53472
53493
|
function cov_zjfqfoy4d() {
|
|
53473
53494
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/index.jsx";
|
|
53474
|
-
var hash = "
|
|
53495
|
+
var hash = "78a21063bcf8d8b43320fd72bdb310716e8a9c05";
|
|
53475
53496
|
var global = new Function("return this")();
|
|
53476
53497
|
var gcv = "__coverage__";
|
|
53477
53498
|
var coverageData = {
|
|
@@ -53594,7 +53615,7 @@ function cov_zjfqfoy4d() {
|
|
|
53594
53615
|
},
|
|
53595
53616
|
end: {
|
|
53596
53617
|
line: 57,
|
|
53597
|
-
column:
|
|
53618
|
+
column: 50
|
|
53598
53619
|
}
|
|
53599
53620
|
},
|
|
53600
53621
|
"12": {
|
|
@@ -54084,7 +54105,7 @@ function cov_zjfqfoy4d() {
|
|
|
54084
54105
|
},
|
|
54085
54106
|
end: {
|
|
54086
54107
|
line: 192,
|
|
54087
|
-
column:
|
|
54108
|
+
column: 68
|
|
54088
54109
|
}
|
|
54089
54110
|
}
|
|
54090
54111
|
},
|
|
@@ -55268,7 +55289,7 @@ function cov_zjfqfoy4d() {
|
|
|
55268
55289
|
"19": [0, 0]
|
|
55269
55290
|
},
|
|
55270
55291
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
55271
|
-
hash: "
|
|
55292
|
+
hash: "78a21063bcf8d8b43320fd72bdb310716e8a9c05"
|
|
55272
55293
|
};
|
|
55273
55294
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
55274
55295
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -55340,10 +55361,10 @@ var Attachments = function Attachments(_ref, ref) {
|
|
|
55340
55361
|
});
|
|
55341
55362
|
} catch (error) {
|
|
55342
55363
|
cov_zjfqfoy4d().s[10]++;
|
|
55343
|
-
if (error.message !== t("error.
|
|
55364
|
+
if (error.message !== t("error.onBeforeFileAddedReturn")) {
|
|
55344
55365
|
cov_zjfqfoy4d().b[8][0]++;
|
|
55345
55366
|
cov_zjfqfoy4d().s[11]++;
|
|
55346
|
-
neetoui.Toastr.error(t("error.
|
|
55367
|
+
neetoui.Toastr.error(t("error.cannotAddFiles"));
|
|
55347
55368
|
} else {
|
|
55348
55369
|
cov_zjfqfoy4d().b[8][1]++;
|
|
55349
55370
|
}
|
|
@@ -55574,7 +55595,7 @@ var Attachments = function Attachments(_ref, ref) {
|
|
|
55574
55595
|
cov_zjfqfoy4d().s[59]++;
|
|
55575
55596
|
event.preventDefault();
|
|
55576
55597
|
cov_zjfqfoy4d().s[60]++;
|
|
55577
|
-
neetoui.Toastr.warning(t("attachments.
|
|
55598
|
+
neetoui.Toastr.warning(t("attachments.oneAttachmentAllowed"));
|
|
55578
55599
|
} else {
|
|
55579
55600
|
cov_zjfqfoy4d().b[18][1]++;
|
|
55580
55601
|
}
|
|
@@ -71211,7 +71232,7 @@ var validateLoomUrl = function validateLoomUrl(url) {
|
|
|
71211
71232
|
|
|
71212
71233
|
function cov_3ld39egr5() {
|
|
71213
71234
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/index.jsx";
|
|
71214
|
-
var hash = "
|
|
71235
|
+
var hash = "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2";
|
|
71215
71236
|
var global = new Function("return this")();
|
|
71216
71237
|
var gcv = "__coverage__";
|
|
71217
71238
|
var coverageData = {
|
|
@@ -71223,7 +71244,7 @@ function cov_3ld39egr5() {
|
|
|
71223
71244
|
column: 20
|
|
71224
71245
|
},
|
|
71225
71246
|
end: {
|
|
71226
|
-
line:
|
|
71247
|
+
line: 95,
|
|
71227
71248
|
column: 1
|
|
71228
71249
|
}
|
|
71229
71250
|
},
|
|
@@ -71273,7 +71294,7 @@ function cov_3ld39egr5() {
|
|
|
71273
71294
|
column: 22
|
|
71274
71295
|
},
|
|
71275
71296
|
end: {
|
|
71276
|
-
line:
|
|
71297
|
+
line: 37,
|
|
71277
71298
|
column: 3
|
|
71278
71299
|
}
|
|
71279
71300
|
},
|
|
@@ -71293,7 +71314,7 @@ function cov_3ld39egr5() {
|
|
|
71293
71314
|
column: 4
|
|
71294
71315
|
},
|
|
71295
71316
|
end: {
|
|
71296
|
-
line:
|
|
71317
|
+
line: 36,
|
|
71297
71318
|
column: 5
|
|
71298
71319
|
}
|
|
71299
71320
|
},
|
|
@@ -71303,197 +71324,227 @@ function cov_3ld39egr5() {
|
|
|
71303
71324
|
column: 6
|
|
71304
71325
|
},
|
|
71305
71326
|
end: {
|
|
71306
|
-
line:
|
|
71307
|
-
column:
|
|
71327
|
+
line: 31,
|
|
71328
|
+
column: 15
|
|
71308
71329
|
}
|
|
71309
71330
|
},
|
|
71310
71331
|
"9": {
|
|
71311
71332
|
start: {
|
|
71312
|
-
line:
|
|
71333
|
+
line: 26,
|
|
71334
|
+
column: 37
|
|
71335
|
+
},
|
|
71336
|
+
end: {
|
|
71337
|
+
line: 26,
|
|
71338
|
+
column: 39
|
|
71339
|
+
}
|
|
71340
|
+
},
|
|
71341
|
+
"10": {
|
|
71342
|
+
start: {
|
|
71343
|
+
line: 27,
|
|
71344
|
+
column: 27
|
|
71345
|
+
},
|
|
71346
|
+
end: {
|
|
71347
|
+
line: 27,
|
|
71348
|
+
column: 58
|
|
71349
|
+
}
|
|
71350
|
+
},
|
|
71351
|
+
"11": {
|
|
71352
|
+
start: {
|
|
71353
|
+
line: 29,
|
|
71354
|
+
column: 10
|
|
71355
|
+
},
|
|
71356
|
+
end: {
|
|
71357
|
+
line: 29,
|
|
71358
|
+
column: 75
|
|
71359
|
+
}
|
|
71360
|
+
},
|
|
71361
|
+
"12": {
|
|
71362
|
+
start: {
|
|
71363
|
+
line: 32,
|
|
71313
71364
|
column: 6
|
|
71314
71365
|
},
|
|
71315
71366
|
end: {
|
|
71316
|
-
line:
|
|
71367
|
+
line: 32,
|
|
71317
71368
|
column: 22
|
|
71318
71369
|
}
|
|
71319
71370
|
},
|
|
71320
|
-
"
|
|
71371
|
+
"13": {
|
|
71321
71372
|
start: {
|
|
71322
|
-
line:
|
|
71373
|
+
line: 33,
|
|
71323
71374
|
column: 6
|
|
71324
71375
|
},
|
|
71325
71376
|
end: {
|
|
71326
|
-
line:
|
|
71377
|
+
line: 33,
|
|
71327
71378
|
column: 33
|
|
71328
71379
|
}
|
|
71329
71380
|
},
|
|
71330
|
-
"
|
|
71381
|
+
"14": {
|
|
71331
71382
|
start: {
|
|
71332
|
-
line:
|
|
71383
|
+
line: 35,
|
|
71333
71384
|
column: 6
|
|
71334
71385
|
},
|
|
71335
71386
|
end: {
|
|
71336
|
-
line:
|
|
71387
|
+
line: 35,
|
|
71337
71388
|
column: 21
|
|
71338
71389
|
}
|
|
71339
71390
|
},
|
|
71340
|
-
"
|
|
71391
|
+
"15": {
|
|
71341
71392
|
start: {
|
|
71342
|
-
line:
|
|
71393
|
+
line: 39,
|
|
71343
71394
|
column: 23
|
|
71344
71395
|
},
|
|
71345
71396
|
end: {
|
|
71346
|
-
line:
|
|
71397
|
+
line: 47,
|
|
71347
71398
|
column: 3
|
|
71348
71399
|
}
|
|
71349
71400
|
},
|
|
71350
|
-
"
|
|
71401
|
+
"16": {
|
|
71351
71402
|
start: {
|
|
71352
|
-
line:
|
|
71403
|
+
line: 40,
|
|
71353
71404
|
column: 4
|
|
71354
71405
|
},
|
|
71355
71406
|
end: {
|
|
71356
|
-
line:
|
|
71407
|
+
line: 46,
|
|
71357
71408
|
column: 5
|
|
71358
71409
|
}
|
|
71359
71410
|
},
|
|
71360
|
-
"
|
|
71411
|
+
"17": {
|
|
71361
71412
|
start: {
|
|
71362
|
-
line:
|
|
71413
|
+
line: 41,
|
|
71363
71414
|
column: 6
|
|
71364
71415
|
},
|
|
71365
71416
|
end: {
|
|
71366
|
-
line:
|
|
71417
|
+
line: 41,
|
|
71367
71418
|
column: 22
|
|
71368
71419
|
}
|
|
71369
71420
|
},
|
|
71370
|
-
"
|
|
71421
|
+
"18": {
|
|
71371
71422
|
start: {
|
|
71372
|
-
line:
|
|
71423
|
+
line: 42,
|
|
71373
71424
|
column: 6
|
|
71374
71425
|
},
|
|
71375
71426
|
end: {
|
|
71376
|
-
line:
|
|
71427
|
+
line: 42,
|
|
71377
71428
|
column: 34
|
|
71378
71429
|
}
|
|
71379
71430
|
},
|
|
71380
|
-
"
|
|
71431
|
+
"19": {
|
|
71381
71432
|
start: {
|
|
71382
|
-
line:
|
|
71433
|
+
line: 44,
|
|
71383
71434
|
column: 6
|
|
71384
71435
|
},
|
|
71385
71436
|
end: {
|
|
71386
|
-
line:
|
|
71437
|
+
line: 44,
|
|
71387
71438
|
column: 21
|
|
71388
71439
|
}
|
|
71389
71440
|
},
|
|
71390
|
-
"
|
|
71441
|
+
"20": {
|
|
71391
71442
|
start: {
|
|
71392
|
-
line:
|
|
71443
|
+
line: 45,
|
|
71393
71444
|
column: 6
|
|
71394
71445
|
},
|
|
71395
71446
|
end: {
|
|
71396
|
-
line:
|
|
71447
|
+
line: 45,
|
|
71397
71448
|
column: 34
|
|
71398
71449
|
}
|
|
71399
71450
|
},
|
|
71400
|
-
"
|
|
71451
|
+
"21": {
|
|
71401
71452
|
start: {
|
|
71402
|
-
line:
|
|
71453
|
+
line: 49,
|
|
71403
71454
|
column: 22
|
|
71404
71455
|
},
|
|
71405
71456
|
end: {
|
|
71406
|
-
line:
|
|
71457
|
+
line: 53,
|
|
71407
71458
|
column: 3
|
|
71408
71459
|
}
|
|
71409
71460
|
},
|
|
71410
|
-
"
|
|
71461
|
+
"22": {
|
|
71411
71462
|
start: {
|
|
71412
|
-
line:
|
|
71463
|
+
line: 50,
|
|
71413
71464
|
column: 4
|
|
71414
71465
|
},
|
|
71415
71466
|
end: {
|
|
71416
|
-
line:
|
|
71467
|
+
line: 50,
|
|
71417
71468
|
column: 20
|
|
71418
71469
|
}
|
|
71419
71470
|
},
|
|
71420
|
-
"
|
|
71471
|
+
"23": {
|
|
71421
71472
|
start: {
|
|
71422
|
-
line:
|
|
71473
|
+
line: 51,
|
|
71423
71474
|
column: 4
|
|
71424
71475
|
},
|
|
71425
71476
|
end: {
|
|
71426
|
-
line:
|
|
71477
|
+
line: 51,
|
|
71427
71478
|
column: 20
|
|
71428
71479
|
}
|
|
71429
71480
|
},
|
|
71430
|
-
"
|
|
71481
|
+
"24": {
|
|
71431
71482
|
start: {
|
|
71432
|
-
line:
|
|
71483
|
+
line: 52,
|
|
71433
71484
|
column: 4
|
|
71434
71485
|
},
|
|
71435
71486
|
end: {
|
|
71436
|
-
line:
|
|
71487
|
+
line: 52,
|
|
71437
71488
|
column: 31
|
|
71438
71489
|
}
|
|
71439
71490
|
},
|
|
71440
|
-
"
|
|
71491
|
+
"25": {
|
|
71441
71492
|
start: {
|
|
71442
|
-
line:
|
|
71493
|
+
line: 55,
|
|
71443
71494
|
column: 24
|
|
71444
71495
|
},
|
|
71445
71496
|
end: {
|
|
71446
|
-
line:
|
|
71497
|
+
line: 61,
|
|
71447
71498
|
column: 3
|
|
71448
71499
|
}
|
|
71449
71500
|
},
|
|
71450
|
-
"
|
|
71501
|
+
"26": {
|
|
71451
71502
|
start: {
|
|
71452
|
-
line:
|
|
71503
|
+
line: 56,
|
|
71453
71504
|
column: 4
|
|
71454
71505
|
},
|
|
71455
71506
|
end: {
|
|
71456
|
-
line:
|
|
71507
|
+
line: 60,
|
|
71457
71508
|
column: 5
|
|
71458
71509
|
}
|
|
71459
71510
|
},
|
|
71460
|
-
"
|
|
71511
|
+
"27": {
|
|
71461
71512
|
start: {
|
|
71462
|
-
line:
|
|
71513
|
+
line: 57,
|
|
71463
71514
|
column: 6
|
|
71464
71515
|
},
|
|
71465
71516
|
end: {
|
|
71466
|
-
line:
|
|
71517
|
+
line: 57,
|
|
71467
71518
|
column: 20
|
|
71468
71519
|
}
|
|
71469
71520
|
},
|
|
71470
|
-
"
|
|
71521
|
+
"28": {
|
|
71471
71522
|
start: {
|
|
71472
|
-
line:
|
|
71523
|
+
line: 58,
|
|
71473
71524
|
column: 11
|
|
71474
71525
|
},
|
|
71475
71526
|
end: {
|
|
71476
|
-
line:
|
|
71527
|
+
line: 60,
|
|
71477
71528
|
column: 5
|
|
71478
71529
|
}
|
|
71479
71530
|
},
|
|
71480
|
-
"
|
|
71531
|
+
"29": {
|
|
71481
71532
|
start: {
|
|
71482
|
-
line:
|
|
71533
|
+
line: 59,
|
|
71483
71534
|
column: 6
|
|
71484
71535
|
},
|
|
71485
71536
|
end: {
|
|
71486
|
-
line:
|
|
71537
|
+
line: 59,
|
|
71487
71538
|
column: 20
|
|
71488
71539
|
}
|
|
71489
71540
|
},
|
|
71490
|
-
"
|
|
71541
|
+
"30": {
|
|
71491
71542
|
start: {
|
|
71492
|
-
line:
|
|
71543
|
+
line: 63,
|
|
71493
71544
|
column: 2
|
|
71494
71545
|
},
|
|
71495
71546
|
end: {
|
|
71496
|
-
line:
|
|
71547
|
+
line: 94,
|
|
71497
71548
|
column: 4
|
|
71498
71549
|
}
|
|
71499
71550
|
}
|
|
@@ -71517,7 +71568,7 @@ function cov_3ld39egr5() {
|
|
|
71517
71568
|
column: 75
|
|
71518
71569
|
},
|
|
71519
71570
|
end: {
|
|
71520
|
-
line:
|
|
71571
|
+
line: 95,
|
|
71521
71572
|
column: 1
|
|
71522
71573
|
}
|
|
71523
71574
|
},
|
|
@@ -71541,7 +71592,7 @@ function cov_3ld39egr5() {
|
|
|
71541
71592
|
column: 28
|
|
71542
71593
|
},
|
|
71543
71594
|
end: {
|
|
71544
|
-
line:
|
|
71595
|
+
line: 37,
|
|
71545
71596
|
column: 3
|
|
71546
71597
|
}
|
|
71547
71598
|
},
|
|
@@ -71551,36 +71602,36 @@ function cov_3ld39egr5() {
|
|
|
71551
71602
|
name: "(anonymous_2)",
|
|
71552
71603
|
decl: {
|
|
71553
71604
|
start: {
|
|
71554
|
-
line:
|
|
71555
|
-
column:
|
|
71605
|
+
line: 25,
|
|
71606
|
+
column: 17
|
|
71556
71607
|
},
|
|
71557
71608
|
end: {
|
|
71558
|
-
line:
|
|
71559
|
-
column:
|
|
71609
|
+
line: 25,
|
|
71610
|
+
column: 18
|
|
71560
71611
|
}
|
|
71561
71612
|
},
|
|
71562
71613
|
loc: {
|
|
71563
71614
|
start: {
|
|
71564
|
-
line:
|
|
71565
|
-
column:
|
|
71615
|
+
line: 25,
|
|
71616
|
+
column: 39
|
|
71566
71617
|
},
|
|
71567
71618
|
end: {
|
|
71568
|
-
line:
|
|
71569
|
-
column:
|
|
71619
|
+
line: 30,
|
|
71620
|
+
column: 9
|
|
71570
71621
|
}
|
|
71571
71622
|
},
|
|
71572
|
-
line:
|
|
71623
|
+
line: 25
|
|
71573
71624
|
},
|
|
71574
71625
|
"3": {
|
|
71575
71626
|
name: "(anonymous_3)",
|
|
71576
71627
|
decl: {
|
|
71577
71628
|
start: {
|
|
71578
71629
|
line: 39,
|
|
71579
|
-
column:
|
|
71630
|
+
column: 23
|
|
71580
71631
|
},
|
|
71581
71632
|
end: {
|
|
71582
71633
|
line: 39,
|
|
71583
|
-
column:
|
|
71634
|
+
column: 24
|
|
71584
71635
|
}
|
|
71585
71636
|
},
|
|
71586
71637
|
loc: {
|
|
@@ -71589,7 +71640,7 @@ function cov_3ld39egr5() {
|
|
|
71589
71640
|
column: 28
|
|
71590
71641
|
},
|
|
71591
71642
|
end: {
|
|
71592
|
-
line:
|
|
71643
|
+
line: 47,
|
|
71593
71644
|
column: 3
|
|
71594
71645
|
}
|
|
71595
71646
|
},
|
|
@@ -71599,25 +71650,49 @@ function cov_3ld39egr5() {
|
|
|
71599
71650
|
name: "(anonymous_4)",
|
|
71600
71651
|
decl: {
|
|
71601
71652
|
start: {
|
|
71602
|
-
line:
|
|
71653
|
+
line: 49,
|
|
71654
|
+
column: 22
|
|
71655
|
+
},
|
|
71656
|
+
end: {
|
|
71657
|
+
line: 49,
|
|
71658
|
+
column: 23
|
|
71659
|
+
}
|
|
71660
|
+
},
|
|
71661
|
+
loc: {
|
|
71662
|
+
start: {
|
|
71663
|
+
line: 49,
|
|
71664
|
+
column: 28
|
|
71665
|
+
},
|
|
71666
|
+
end: {
|
|
71667
|
+
line: 53,
|
|
71668
|
+
column: 3
|
|
71669
|
+
}
|
|
71670
|
+
},
|
|
71671
|
+
line: 49
|
|
71672
|
+
},
|
|
71673
|
+
"5": {
|
|
71674
|
+
name: "(anonymous_5)",
|
|
71675
|
+
decl: {
|
|
71676
|
+
start: {
|
|
71677
|
+
line: 55,
|
|
71603
71678
|
column: 24
|
|
71604
71679
|
},
|
|
71605
71680
|
end: {
|
|
71606
|
-
line:
|
|
71681
|
+
line: 55,
|
|
71607
71682
|
column: 25
|
|
71608
71683
|
}
|
|
71609
71684
|
},
|
|
71610
71685
|
loc: {
|
|
71611
71686
|
start: {
|
|
71612
|
-
line:
|
|
71687
|
+
line: 55,
|
|
71613
71688
|
column: 29
|
|
71614
71689
|
},
|
|
71615
71690
|
end: {
|
|
71616
|
-
line:
|
|
71691
|
+
line: 61,
|
|
71617
71692
|
column: 3
|
|
71618
71693
|
}
|
|
71619
71694
|
},
|
|
71620
|
-
line:
|
|
71695
|
+
line: 55
|
|
71621
71696
|
}
|
|
71622
71697
|
},
|
|
71623
71698
|
branchMap: {
|
|
@@ -71628,7 +71703,7 @@ function cov_3ld39egr5() {
|
|
|
71628
71703
|
column: 4
|
|
71629
71704
|
},
|
|
71630
71705
|
end: {
|
|
71631
|
-
line:
|
|
71706
|
+
line: 36,
|
|
71632
71707
|
column: 5
|
|
71633
71708
|
}
|
|
71634
71709
|
},
|
|
@@ -71639,16 +71714,16 @@ function cov_3ld39egr5() {
|
|
|
71639
71714
|
column: 4
|
|
71640
71715
|
},
|
|
71641
71716
|
end: {
|
|
71642
|
-
line:
|
|
71717
|
+
line: 36,
|
|
71643
71718
|
column: 5
|
|
71644
71719
|
}
|
|
71645
71720
|
}, {
|
|
71646
71721
|
start: {
|
|
71647
|
-
line:
|
|
71722
|
+
line: 34,
|
|
71648
71723
|
column: 11
|
|
71649
71724
|
},
|
|
71650
71725
|
end: {
|
|
71651
|
-
line:
|
|
71726
|
+
line: 36,
|
|
71652
71727
|
column: 5
|
|
71653
71728
|
}
|
|
71654
71729
|
}],
|
|
@@ -71657,88 +71732,88 @@ function cov_3ld39egr5() {
|
|
|
71657
71732
|
"1": {
|
|
71658
71733
|
loc: {
|
|
71659
71734
|
start: {
|
|
71660
|
-
line:
|
|
71735
|
+
line: 40,
|
|
71661
71736
|
column: 4
|
|
71662
71737
|
},
|
|
71663
71738
|
end: {
|
|
71664
|
-
line:
|
|
71739
|
+
line: 46,
|
|
71665
71740
|
column: 5
|
|
71666
71741
|
}
|
|
71667
71742
|
},
|
|
71668
71743
|
type: "if",
|
|
71669
71744
|
locations: [{
|
|
71670
71745
|
start: {
|
|
71671
|
-
line:
|
|
71746
|
+
line: 40,
|
|
71672
71747
|
column: 4
|
|
71673
71748
|
},
|
|
71674
71749
|
end: {
|
|
71675
|
-
line:
|
|
71750
|
+
line: 46,
|
|
71676
71751
|
column: 5
|
|
71677
71752
|
}
|
|
71678
71753
|
}, {
|
|
71679
71754
|
start: {
|
|
71680
|
-
line:
|
|
71755
|
+
line: 43,
|
|
71681
71756
|
column: 11
|
|
71682
71757
|
},
|
|
71683
71758
|
end: {
|
|
71684
|
-
line:
|
|
71759
|
+
line: 46,
|
|
71685
71760
|
column: 5
|
|
71686
71761
|
}
|
|
71687
71762
|
}],
|
|
71688
|
-
line:
|
|
71763
|
+
line: 40
|
|
71689
71764
|
},
|
|
71690
71765
|
"2": {
|
|
71691
71766
|
loc: {
|
|
71692
71767
|
start: {
|
|
71693
|
-
line:
|
|
71768
|
+
line: 56,
|
|
71694
71769
|
column: 4
|
|
71695
71770
|
},
|
|
71696
71771
|
end: {
|
|
71697
|
-
line:
|
|
71772
|
+
line: 60,
|
|
71698
71773
|
column: 5
|
|
71699
71774
|
}
|
|
71700
71775
|
},
|
|
71701
71776
|
type: "if",
|
|
71702
71777
|
locations: [{
|
|
71703
71778
|
start: {
|
|
71704
|
-
line:
|
|
71779
|
+
line: 56,
|
|
71705
71780
|
column: 4
|
|
71706
71781
|
},
|
|
71707
71782
|
end: {
|
|
71708
|
-
line:
|
|
71783
|
+
line: 60,
|
|
71709
71784
|
column: 5
|
|
71710
71785
|
}
|
|
71711
71786
|
}, {
|
|
71712
71787
|
start: {
|
|
71713
|
-
line:
|
|
71788
|
+
line: 58,
|
|
71714
71789
|
column: 11
|
|
71715
71790
|
},
|
|
71716
71791
|
end: {
|
|
71717
|
-
line:
|
|
71792
|
+
line: 60,
|
|
71718
71793
|
column: 5
|
|
71719
71794
|
}
|
|
71720
71795
|
}],
|
|
71721
|
-
line:
|
|
71796
|
+
line: 56
|
|
71722
71797
|
},
|
|
71723
71798
|
"3": {
|
|
71724
71799
|
loc: {
|
|
71725
71800
|
start: {
|
|
71726
|
-
line:
|
|
71801
|
+
line: 58,
|
|
71727
71802
|
column: 11
|
|
71728
71803
|
},
|
|
71729
71804
|
end: {
|
|
71730
|
-
line:
|
|
71805
|
+
line: 60,
|
|
71731
71806
|
column: 5
|
|
71732
71807
|
}
|
|
71733
71808
|
},
|
|
71734
71809
|
type: "if",
|
|
71735
71810
|
locations: [{
|
|
71736
71811
|
start: {
|
|
71737
|
-
line:
|
|
71812
|
+
line: 58,
|
|
71738
71813
|
column: 11
|
|
71739
71814
|
},
|
|
71740
71815
|
end: {
|
|
71741
|
-
line:
|
|
71816
|
+
line: 60,
|
|
71742
71817
|
column: 5
|
|
71743
71818
|
}
|
|
71744
71819
|
}, {
|
|
@@ -71751,73 +71826,73 @@ function cov_3ld39egr5() {
|
|
|
71751
71826
|
column: undefined
|
|
71752
71827
|
}
|
|
71753
71828
|
}],
|
|
71754
|
-
line:
|
|
71829
|
+
line: 58
|
|
71755
71830
|
},
|
|
71756
71831
|
"4": {
|
|
71757
71832
|
loc: {
|
|
71758
71833
|
start: {
|
|
71759
|
-
line:
|
|
71834
|
+
line: 75,
|
|
71760
71835
|
column: 17
|
|
71761
71836
|
},
|
|
71762
71837
|
end: {
|
|
71763
|
-
line:
|
|
71838
|
+
line: 75,
|
|
71764
71839
|
column: 52
|
|
71765
71840
|
}
|
|
71766
71841
|
},
|
|
71767
71842
|
type: "binary-expr",
|
|
71768
71843
|
locations: [{
|
|
71769
71844
|
start: {
|
|
71770
|
-
line:
|
|
71845
|
+
line: 75,
|
|
71771
71846
|
column: 17
|
|
71772
71847
|
},
|
|
71773
71848
|
end: {
|
|
71774
|
-
line:
|
|
71849
|
+
line: 75,
|
|
71775
71850
|
column: 22
|
|
71776
71851
|
}
|
|
71777
71852
|
}, {
|
|
71778
71853
|
start: {
|
|
71779
|
-
line:
|
|
71854
|
+
line: 75,
|
|
71780
71855
|
column: 26
|
|
71781
71856
|
},
|
|
71782
71857
|
end: {
|
|
71783
|
-
line:
|
|
71858
|
+
line: 75,
|
|
71784
71859
|
column: 52
|
|
71785
71860
|
}
|
|
71786
71861
|
}],
|
|
71787
|
-
line:
|
|
71862
|
+
line: 75
|
|
71788
71863
|
},
|
|
71789
71864
|
"5": {
|
|
71790
71865
|
loc: {
|
|
71791
71866
|
start: {
|
|
71792
|
-
line:
|
|
71867
|
+
line: 88,
|
|
71793
71868
|
column: 20
|
|
71794
71869
|
},
|
|
71795
71870
|
end: {
|
|
71796
|
-
line:
|
|
71871
|
+
line: 88,
|
|
71797
71872
|
column: 46
|
|
71798
71873
|
}
|
|
71799
71874
|
},
|
|
71800
71875
|
type: "binary-expr",
|
|
71801
71876
|
locations: [{
|
|
71802
71877
|
start: {
|
|
71803
|
-
line:
|
|
71878
|
+
line: 88,
|
|
71804
71879
|
column: 20
|
|
71805
71880
|
},
|
|
71806
71881
|
end: {
|
|
71807
|
-
line:
|
|
71882
|
+
line: 88,
|
|
71808
71883
|
column: 25
|
|
71809
71884
|
}
|
|
71810
71885
|
}, {
|
|
71811
71886
|
start: {
|
|
71812
|
-
line:
|
|
71887
|
+
line: 88,
|
|
71813
71888
|
column: 29
|
|
71814
71889
|
},
|
|
71815
71890
|
end: {
|
|
71816
|
-
line:
|
|
71891
|
+
line: 88,
|
|
71817
71892
|
column: 46
|
|
71818
71893
|
}
|
|
71819
71894
|
}],
|
|
71820
|
-
line:
|
|
71895
|
+
line: 88
|
|
71821
71896
|
}
|
|
71822
71897
|
},
|
|
71823
71898
|
s: {
|
|
@@ -71848,14 +71923,18 @@ function cov_3ld39egr5() {
|
|
|
71848
71923
|
"24": 0,
|
|
71849
71924
|
"25": 0,
|
|
71850
71925
|
"26": 0,
|
|
71851
|
-
"27": 0
|
|
71926
|
+
"27": 0,
|
|
71927
|
+
"28": 0,
|
|
71928
|
+
"29": 0,
|
|
71929
|
+
"30": 0
|
|
71852
71930
|
},
|
|
71853
71931
|
f: {
|
|
71854
71932
|
"0": 0,
|
|
71855
71933
|
"1": 0,
|
|
71856
71934
|
"2": 0,
|
|
71857
71935
|
"3": 0,
|
|
71858
|
-
"4": 0
|
|
71936
|
+
"4": 0,
|
|
71937
|
+
"5": 0
|
|
71859
71938
|
},
|
|
71860
71939
|
b: {
|
|
71861
71940
|
"0": [0, 0],
|
|
@@ -71866,7 +71945,7 @@ function cov_3ld39egr5() {
|
|
|
71866
71945
|
"5": [0, 0]
|
|
71867
71946
|
},
|
|
71868
71947
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
71869
|
-
hash: "
|
|
71948
|
+
hash: "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2"
|
|
71870
71949
|
};
|
|
71871
71950
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
71872
71951
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -71909,66 +71988,78 @@ var EmbedOption = function EmbedOption(_ref) {
|
|
|
71909
71988
|
cov_3ld39egr5().s[8]++;
|
|
71910
71989
|
editor.chain().focus().setExternalVideo({
|
|
71911
71990
|
src: validatedUrl
|
|
71991
|
+
}).command(function (_ref7) {
|
|
71992
|
+
var tr = _ref7.tr,
|
|
71993
|
+
commands = _ref7.commands;
|
|
71994
|
+
cov_3ld39egr5().f[2]++;
|
|
71995
|
+
var _ref8 = (cov_3ld39egr5().s[9]++, tr),
|
|
71996
|
+
doc = _ref8.doc,
|
|
71997
|
+
selection = _ref8.selection;
|
|
71998
|
+
var position = (cov_3ld39egr5().s[10]++, doc.resolve(selection.to).end());
|
|
71999
|
+
cov_3ld39egr5().s[11]++;
|
|
72000
|
+
return commands.insertContentAt(position, {
|
|
72001
|
+
type: "paragraph"
|
|
72002
|
+
});
|
|
71912
72003
|
}).run();
|
|
71913
|
-
cov_3ld39egr5().s[
|
|
72004
|
+
cov_3ld39egr5().s[12]++;
|
|
71914
72005
|
setEmbedUrl("");
|
|
71915
|
-
cov_3ld39egr5().s[
|
|
72006
|
+
cov_3ld39egr5().s[13]++;
|
|
71916
72007
|
setIsEmbedModalOpen(false);
|
|
71917
72008
|
} else {
|
|
71918
72009
|
cov_3ld39egr5().b[0][1]++;
|
|
71919
|
-
cov_3ld39egr5().s[
|
|
72010
|
+
cov_3ld39egr5().s[14]++;
|
|
71920
72011
|
setError(true);
|
|
71921
72012
|
}
|
|
71922
72013
|
};
|
|
71923
|
-
cov_3ld39egr5().s[
|
|
72014
|
+
cov_3ld39egr5().s[15]++;
|
|
71924
72015
|
var handleChange = function handleChange(e) {
|
|
71925
|
-
cov_3ld39egr5().f[
|
|
71926
|
-
cov_3ld39egr5().s[
|
|
72016
|
+
cov_3ld39egr5().f[3]++;
|
|
72017
|
+
cov_3ld39egr5().s[16]++;
|
|
71927
72018
|
if (validateUrl(e.target.value)) {
|
|
71928
72019
|
cov_3ld39egr5().b[1][0]++;
|
|
71929
|
-
cov_3ld39egr5().s[
|
|
72020
|
+
cov_3ld39egr5().s[17]++;
|
|
71930
72021
|
setError(false);
|
|
71931
|
-
cov_3ld39egr5().s[
|
|
72022
|
+
cov_3ld39egr5().s[18]++;
|
|
71932
72023
|
setEmbedUrl(e.target.value);
|
|
71933
72024
|
} else {
|
|
71934
72025
|
cov_3ld39egr5().b[1][1]++;
|
|
71935
|
-
cov_3ld39egr5().s[
|
|
72026
|
+
cov_3ld39egr5().s[19]++;
|
|
71936
72027
|
setError(true);
|
|
71937
|
-
cov_3ld39egr5().s[
|
|
72028
|
+
cov_3ld39egr5().s[20]++;
|
|
71938
72029
|
setEmbedUrl(e.target.value);
|
|
71939
72030
|
}
|
|
71940
72031
|
};
|
|
71941
|
-
cov_3ld39egr5().s[
|
|
72032
|
+
cov_3ld39egr5().s[21]++;
|
|
71942
72033
|
var handleClose = function handleClose() {
|
|
71943
|
-
cov_3ld39egr5().f[
|
|
71944
|
-
cov_3ld39egr5().s[
|
|
72034
|
+
cov_3ld39egr5().f[4]++;
|
|
72035
|
+
cov_3ld39egr5().s[22]++;
|
|
71945
72036
|
setEmbedUrl("");
|
|
71946
|
-
cov_3ld39egr5().s[
|
|
72037
|
+
cov_3ld39egr5().s[23]++;
|
|
71947
72038
|
setError(false);
|
|
71948
|
-
cov_3ld39egr5().s[
|
|
72039
|
+
cov_3ld39egr5().s[24]++;
|
|
71949
72040
|
setIsEmbedModalOpen(false);
|
|
71950
72041
|
};
|
|
71951
|
-
cov_3ld39egr5().s[
|
|
72042
|
+
cov_3ld39egr5().s[25]++;
|
|
71952
72043
|
var handleKeyDown = function handleKeyDown(e) {
|
|
71953
|
-
cov_3ld39egr5().f[
|
|
71954
|
-
cov_3ld39egr5().s[
|
|
72044
|
+
cov_3ld39egr5().f[5]++;
|
|
72045
|
+
cov_3ld39egr5().s[26]++;
|
|
71955
72046
|
if (e.key === "Enter") {
|
|
71956
72047
|
cov_3ld39egr5().b[2][0]++;
|
|
71957
|
-
cov_3ld39egr5().s[
|
|
72048
|
+
cov_3ld39egr5().s[27]++;
|
|
71958
72049
|
handleEmbed();
|
|
71959
72050
|
} else {
|
|
71960
72051
|
cov_3ld39egr5().b[2][1]++;
|
|
71961
|
-
cov_3ld39egr5().s[
|
|
72052
|
+
cov_3ld39egr5().s[28]++;
|
|
71962
72053
|
if (e.key === "Escape") {
|
|
71963
72054
|
cov_3ld39egr5().b[3][0]++;
|
|
71964
|
-
cov_3ld39egr5().s[
|
|
72055
|
+
cov_3ld39egr5().s[29]++;
|
|
71965
72056
|
handleClose();
|
|
71966
72057
|
} else {
|
|
71967
72058
|
cov_3ld39egr5().b[3][1]++;
|
|
71968
72059
|
}
|
|
71969
72060
|
}
|
|
71970
72061
|
};
|
|
71971
|
-
cov_3ld39egr5().s[
|
|
72062
|
+
cov_3ld39egr5().s[30]++;
|
|
71972
72063
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
71973
72064
|
initialFocusRef: inputRef,
|
|
71974
72065
|
isOpen: isEmbedModalOpen,
|
|
@@ -71980,7 +72071,7 @@ var EmbedOption = function EmbedOption(_ref) {
|
|
|
71980
72071
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
71981
72072
|
"data-cy": "neeto-editor-embed-input",
|
|
71982
72073
|
error: (cov_3ld39egr5().b[4][0]++, error) && (cov_3ld39egr5().b[4][1]++, "Please enter a valid URL"),
|
|
71983
|
-
label: t("common.
|
|
72074
|
+
label: t("common.videoUrl"),
|
|
71984
72075
|
ref: inputRef,
|
|
71985
72076
|
size: "medium",
|
|
71986
72077
|
type: "text",
|
|
@@ -80592,7 +80683,7 @@ var CustomCommands = Extension.create({
|
|
|
80592
80683
|
|
|
80593
80684
|
function cov_xd1lqdp2c() {
|
|
80594
80685
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/ExtensionConfig.js";
|
|
80595
|
-
var hash = "
|
|
80686
|
+
var hash = "7af08054aaff81d7719d311bd77cec28ce338b6a";
|
|
80596
80687
|
var global = new Function("return this")();
|
|
80597
80688
|
var gcv = "__coverage__";
|
|
80598
80689
|
var coverageData = {
|
|
@@ -80694,7 +80785,7 @@ function cov_xd1lqdp2c() {
|
|
|
80694
80785
|
column: 4
|
|
80695
80786
|
},
|
|
80696
80787
|
end: {
|
|
80697
|
-
line:
|
|
80788
|
+
line: 106,
|
|
80698
80789
|
column: 6
|
|
80699
80790
|
}
|
|
80700
80791
|
},
|
|
@@ -80734,7 +80825,7 @@ function cov_xd1lqdp2c() {
|
|
|
80734
80825
|
column: 10
|
|
80735
80826
|
},
|
|
80736
80827
|
end: {
|
|
80737
|
-
line:
|
|
80828
|
+
line: 103,
|
|
80738
80829
|
column: 11
|
|
80739
80830
|
}
|
|
80740
80831
|
},
|
|
@@ -80757,6 +80848,26 @@ function cov_xd1lqdp2c() {
|
|
|
80757
80848
|
line: 94,
|
|
80758
80849
|
column: 46
|
|
80759
80850
|
}
|
|
80851
|
+
},
|
|
80852
|
+
"16": {
|
|
80853
|
+
start: {
|
|
80854
|
+
line: 95,
|
|
80855
|
+
column: 12
|
|
80856
|
+
},
|
|
80857
|
+
end: {
|
|
80858
|
+
line: 98,
|
|
80859
|
+
column: 14
|
|
80860
|
+
}
|
|
80861
|
+
},
|
|
80862
|
+
"17": {
|
|
80863
|
+
start: {
|
|
80864
|
+
line: 100,
|
|
80865
|
+
column: 12
|
|
80866
|
+
},
|
|
80867
|
+
end: {
|
|
80868
|
+
line: 102,
|
|
80869
|
+
column: 14
|
|
80870
|
+
}
|
|
80760
80871
|
}
|
|
80761
80872
|
},
|
|
80762
80873
|
fnMap: {
|
|
@@ -80994,7 +81105,7 @@ function cov_xd1lqdp2c() {
|
|
|
80994
81105
|
column: 18
|
|
80995
81106
|
},
|
|
80996
81107
|
end: {
|
|
80997
|
-
line:
|
|
81108
|
+
line: 107,
|
|
80998
81109
|
column: 3
|
|
80999
81110
|
}
|
|
81000
81111
|
},
|
|
@@ -81018,7 +81129,7 @@ function cov_xd1lqdp2c() {
|
|
|
81018
81129
|
column: 46
|
|
81019
81130
|
},
|
|
81020
81131
|
end: {
|
|
81021
|
-
line:
|
|
81132
|
+
line: 104,
|
|
81022
81133
|
column: 9
|
|
81023
81134
|
}
|
|
81024
81135
|
},
|
|
@@ -81066,7 +81177,7 @@ function cov_xd1lqdp2c() {
|
|
|
81066
81177
|
column: 10
|
|
81067
81178
|
},
|
|
81068
81179
|
end: {
|
|
81069
|
-
line:
|
|
81180
|
+
line: 103,
|
|
81070
81181
|
column: 11
|
|
81071
81182
|
}
|
|
81072
81183
|
},
|
|
@@ -81077,7 +81188,7 @@ function cov_xd1lqdp2c() {
|
|
|
81077
81188
|
column: 10
|
|
81078
81189
|
},
|
|
81079
81190
|
end: {
|
|
81080
|
-
line:
|
|
81191
|
+
line: 103,
|
|
81081
81192
|
column: 11
|
|
81082
81193
|
}
|
|
81083
81194
|
}, {
|
|
@@ -81109,7 +81220,9 @@ function cov_xd1lqdp2c() {
|
|
|
81109
81220
|
"12": 0,
|
|
81110
81221
|
"13": 0,
|
|
81111
81222
|
"14": 0,
|
|
81112
|
-
"15": 0
|
|
81223
|
+
"15": 0,
|
|
81224
|
+
"16": 0,
|
|
81225
|
+
"17": 0
|
|
81113
81226
|
},
|
|
81114
81227
|
f: {
|
|
81115
81228
|
"0": 0,
|
|
@@ -81129,7 +81242,7 @@ function cov_xd1lqdp2c() {
|
|
|
81129
81242
|
"1": [0, 0]
|
|
81130
81243
|
},
|
|
81131
81244
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
81132
|
-
hash: "
|
|
81245
|
+
hash: "7af08054aaff81d7719d311bd77cec28ce338b6a"
|
|
81133
81246
|
};
|
|
81134
81247
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
81135
81248
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -81247,6 +81360,10 @@ var Embeds = Node$1.create({
|
|
|
81247
81360
|
}));
|
|
81248
81361
|
cov_xd1lqdp2c().s[15]++;
|
|
81249
81362
|
state.tr.insert(range.from, node);
|
|
81363
|
+
cov_xd1lqdp2c().s[16]++;
|
|
81364
|
+
state.tr.insert(range.from + node.nodeSize + 1, state.schema.nodes.paragraph.create());
|
|
81365
|
+
cov_xd1lqdp2c().s[17]++;
|
|
81366
|
+
state.tr.setSelection(TextSelection.create(state.tr.doc, range.from + node.nodeSize + 1));
|
|
81250
81367
|
} else {
|
|
81251
81368
|
cov_xd1lqdp2c().b[1][1]++;
|
|
81252
81369
|
}
|
|
@@ -89549,7 +89666,7 @@ var Resizable = /** @class */ (function (_super) {
|
|
|
89549
89666
|
|
|
89550
89667
|
function cov_15b9syaiuk() {
|
|
89551
89668
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/Menu.jsx";
|
|
89552
|
-
var hash = "
|
|
89669
|
+
var hash = "3ba46b3dc117ea42db34d1a84f99da5fb0eba973";
|
|
89553
89670
|
var global = new Function("return this")();
|
|
89554
89671
|
var gcv = "__coverage__";
|
|
89555
89672
|
var coverageData = {
|
|
@@ -89557,71 +89674,71 @@ function cov_15b9syaiuk() {
|
|
|
89557
89674
|
statementMap: {
|
|
89558
89675
|
"0": {
|
|
89559
89676
|
start: {
|
|
89560
|
-
line:
|
|
89677
|
+
line: 8,
|
|
89561
89678
|
column: 13
|
|
89562
89679
|
},
|
|
89563
89680
|
end: {
|
|
89564
|
-
line:
|
|
89681
|
+
line: 34,
|
|
89565
89682
|
column: 1
|
|
89566
89683
|
}
|
|
89567
89684
|
},
|
|
89568
89685
|
"1": {
|
|
89569
89686
|
start: {
|
|
89570
|
-
line:
|
|
89687
|
+
line: 9,
|
|
89571
89688
|
column: 22
|
|
89572
89689
|
},
|
|
89573
89690
|
end: {
|
|
89574
|
-
line:
|
|
89691
|
+
line: 9,
|
|
89575
89692
|
column: 41
|
|
89576
89693
|
}
|
|
89577
89694
|
},
|
|
89578
89695
|
"2": {
|
|
89579
89696
|
start: {
|
|
89580
|
-
line:
|
|
89697
|
+
line: 11,
|
|
89581
89698
|
column: 22
|
|
89582
89699
|
},
|
|
89583
89700
|
end: {
|
|
89584
|
-
line:
|
|
89701
|
+
line: 12,
|
|
89585
89702
|
column: 54
|
|
89586
89703
|
}
|
|
89587
89704
|
},
|
|
89588
89705
|
"3": {
|
|
89589
89706
|
start: {
|
|
89590
|
-
line:
|
|
89707
|
+
line: 12,
|
|
89591
89708
|
column: 4
|
|
89592
89709
|
},
|
|
89593
89710
|
end: {
|
|
89594
|
-
line:
|
|
89711
|
+
line: 12,
|
|
89595
89712
|
column: 54
|
|
89596
89713
|
}
|
|
89597
89714
|
},
|
|
89598
89715
|
"4": {
|
|
89599
89716
|
start: {
|
|
89600
|
-
line:
|
|
89717
|
+
line: 14,
|
|
89601
89718
|
column: 2
|
|
89602
89719
|
},
|
|
89603
89720
|
end: {
|
|
89604
|
-
line:
|
|
89721
|
+
line: 33,
|
|
89605
89722
|
column: 4
|
|
89606
89723
|
}
|
|
89607
89724
|
},
|
|
89608
89725
|
"5": {
|
|
89609
89726
|
start: {
|
|
89610
|
-
line:
|
|
89727
|
+
line: 24,
|
|
89611
89728
|
column: 8
|
|
89612
89729
|
},
|
|
89613
89730
|
end: {
|
|
89614
|
-
line:
|
|
89731
|
+
line: 30,
|
|
89615
89732
|
column: 10
|
|
89616
89733
|
}
|
|
89617
89734
|
},
|
|
89618
89735
|
"6": {
|
|
89619
89736
|
start: {
|
|
89620
|
-
line:
|
|
89737
|
+
line: 29,
|
|
89621
89738
|
column: 25
|
|
89622
89739
|
},
|
|
89623
89740
|
end: {
|
|
89624
|
-
line:
|
|
89741
|
+
line: 29,
|
|
89625
89742
|
column: 46
|
|
89626
89743
|
}
|
|
89627
89744
|
}
|
|
@@ -89631,165 +89748,165 @@ function cov_15b9syaiuk() {
|
|
|
89631
89748
|
name: "(anonymous_0)",
|
|
89632
89749
|
decl: {
|
|
89633
89750
|
start: {
|
|
89634
|
-
line:
|
|
89751
|
+
line: 8,
|
|
89635
89752
|
column: 13
|
|
89636
89753
|
},
|
|
89637
89754
|
end: {
|
|
89638
|
-
line:
|
|
89755
|
+
line: 8,
|
|
89639
89756
|
column: 14
|
|
89640
89757
|
}
|
|
89641
89758
|
},
|
|
89642
89759
|
loc: {
|
|
89643
89760
|
start: {
|
|
89644
|
-
line:
|
|
89761
|
+
line: 8,
|
|
89645
89762
|
column: 58
|
|
89646
89763
|
},
|
|
89647
89764
|
end: {
|
|
89648
|
-
line:
|
|
89765
|
+
line: 34,
|
|
89649
89766
|
column: 1
|
|
89650
89767
|
}
|
|
89651
89768
|
},
|
|
89652
|
-
line:
|
|
89769
|
+
line: 8
|
|
89653
89770
|
},
|
|
89654
89771
|
"1": {
|
|
89655
89772
|
name: "(anonymous_1)",
|
|
89656
89773
|
decl: {
|
|
89657
89774
|
start: {
|
|
89658
|
-
line:
|
|
89775
|
+
line: 11,
|
|
89659
89776
|
column: 22
|
|
89660
89777
|
},
|
|
89661
89778
|
end: {
|
|
89662
|
-
line:
|
|
89779
|
+
line: 11,
|
|
89663
89780
|
column: 23
|
|
89664
89781
|
}
|
|
89665
89782
|
},
|
|
89666
89783
|
loc: {
|
|
89667
89784
|
start: {
|
|
89668
|
-
line:
|
|
89785
|
+
line: 12,
|
|
89669
89786
|
column: 4
|
|
89670
89787
|
},
|
|
89671
89788
|
end: {
|
|
89672
|
-
line:
|
|
89789
|
+
line: 12,
|
|
89673
89790
|
column: 54
|
|
89674
89791
|
}
|
|
89675
89792
|
},
|
|
89676
|
-
line:
|
|
89793
|
+
line: 12
|
|
89677
89794
|
},
|
|
89678
89795
|
"2": {
|
|
89679
89796
|
name: "(anonymous_2)",
|
|
89680
89797
|
decl: {
|
|
89681
89798
|
start: {
|
|
89682
|
-
line:
|
|
89799
|
+
line: 23,
|
|
89683
89800
|
column: 23
|
|
89684
89801
|
},
|
|
89685
89802
|
end: {
|
|
89686
|
-
line:
|
|
89803
|
+
line: 23,
|
|
89687
89804
|
column: 24
|
|
89688
89805
|
}
|
|
89689
89806
|
},
|
|
89690
89807
|
loc: {
|
|
89691
89808
|
start: {
|
|
89692
|
-
line:
|
|
89809
|
+
line: 24,
|
|
89693
89810
|
column: 8
|
|
89694
89811
|
},
|
|
89695
89812
|
end: {
|
|
89696
|
-
line:
|
|
89813
|
+
line: 30,
|
|
89697
89814
|
column: 10
|
|
89698
89815
|
}
|
|
89699
89816
|
},
|
|
89700
|
-
line:
|
|
89817
|
+
line: 24
|
|
89701
89818
|
},
|
|
89702
89819
|
"3": {
|
|
89703
89820
|
name: "(anonymous_3)",
|
|
89704
89821
|
decl: {
|
|
89705
89822
|
start: {
|
|
89706
|
-
line:
|
|
89823
|
+
line: 29,
|
|
89707
89824
|
column: 19
|
|
89708
89825
|
},
|
|
89709
89826
|
end: {
|
|
89710
|
-
line:
|
|
89827
|
+
line: 29,
|
|
89711
89828
|
column: 20
|
|
89712
89829
|
}
|
|
89713
89830
|
},
|
|
89714
89831
|
loc: {
|
|
89715
89832
|
start: {
|
|
89716
|
-
line:
|
|
89833
|
+
line: 29,
|
|
89717
89834
|
column: 25
|
|
89718
89835
|
},
|
|
89719
89836
|
end: {
|
|
89720
|
-
line:
|
|
89837
|
+
line: 29,
|
|
89721
89838
|
column: 46
|
|
89722
89839
|
}
|
|
89723
89840
|
},
|
|
89724
|
-
line:
|
|
89841
|
+
line: 29
|
|
89725
89842
|
}
|
|
89726
89843
|
},
|
|
89727
89844
|
branchMap: {
|
|
89728
89845
|
"0": {
|
|
89729
89846
|
loc: {
|
|
89730
89847
|
start: {
|
|
89731
|
-
line:
|
|
89848
|
+
line: 12,
|
|
89732
89849
|
column: 4
|
|
89733
89850
|
},
|
|
89734
89851
|
end: {
|
|
89735
|
-
line:
|
|
89852
|
+
line: 12,
|
|
89736
89853
|
column: 54
|
|
89737
89854
|
}
|
|
89738
89855
|
},
|
|
89739
89856
|
type: "cond-expr",
|
|
89740
89857
|
locations: [{
|
|
89741
89858
|
start: {
|
|
89742
|
-
line:
|
|
89859
|
+
line: 12,
|
|
89743
89860
|
column: 12
|
|
89744
89861
|
},
|
|
89745
89862
|
end: {
|
|
89746
|
-
line:
|
|
89863
|
+
line: 12,
|
|
89747
89864
|
column: 39
|
|
89748
89865
|
}
|
|
89749
89866
|
}, {
|
|
89750
89867
|
start: {
|
|
89751
|
-
line:
|
|
89868
|
+
line: 12,
|
|
89752
89869
|
column: 42
|
|
89753
89870
|
},
|
|
89754
89871
|
end: {
|
|
89755
|
-
line:
|
|
89872
|
+
line: 12,
|
|
89756
89873
|
column: 54
|
|
89757
89874
|
}
|
|
89758
89875
|
}],
|
|
89759
|
-
line:
|
|
89876
|
+
line: 12
|
|
89760
89877
|
},
|
|
89761
89878
|
"1": {
|
|
89762
89879
|
loc: {
|
|
89763
89880
|
start: {
|
|
89764
|
-
line:
|
|
89881
|
+
line: 27,
|
|
89765
89882
|
column: 17
|
|
89766
89883
|
},
|
|
89767
89884
|
end: {
|
|
89768
|
-
line:
|
|
89885
|
+
line: 27,
|
|
89769
89886
|
column: 58
|
|
89770
89887
|
}
|
|
89771
89888
|
},
|
|
89772
89889
|
type: "cond-expr",
|
|
89773
89890
|
locations: [{
|
|
89774
89891
|
start: {
|
|
89775
|
-
line:
|
|
89892
|
+
line: 27,
|
|
89776
89893
|
column: 38
|
|
89777
89894
|
},
|
|
89778
89895
|
end: {
|
|
89779
|
-
line:
|
|
89896
|
+
line: 27,
|
|
89780
89897
|
column: 49
|
|
89781
89898
|
}
|
|
89782
89899
|
}, {
|
|
89783
89900
|
start: {
|
|
89784
|
-
line:
|
|
89901
|
+
line: 27,
|
|
89785
89902
|
column: 52
|
|
89786
89903
|
},
|
|
89787
89904
|
end: {
|
|
89788
|
-
line:
|
|
89905
|
+
line: 27,
|
|
89789
89906
|
column: 58
|
|
89790
89907
|
}
|
|
89791
89908
|
}],
|
|
89792
|
-
line:
|
|
89909
|
+
line: 27
|
|
89793
89910
|
}
|
|
89794
89911
|
},
|
|
89795
89912
|
s: {
|
|
@@ -89812,7 +89929,7 @@ function cov_15b9syaiuk() {
|
|
|
89812
89929
|
"1": [0, 0]
|
|
89813
89930
|
},
|
|
89814
89931
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
89815
|
-
hash: "
|
|
89932
|
+
hash: "3ba46b3dc117ea42db34d1a84f99da5fb0eba973"
|
|
89816
89933
|
};
|
|
89817
89934
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
89818
89935
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -89864,7 +89981,7 @@ var Menu$7 = function Menu(_ref) {
|
|
|
89864
89981
|
key: optionName,
|
|
89865
89982
|
style: alignPos === align ? (cov_15b9syaiuk().b[1][0]++, "secondary") : (cov_15b9syaiuk().b[1][1]++, "text"),
|
|
89866
89983
|
tooltipProps: {
|
|
89867
|
-
content:
|
|
89984
|
+
content: optionName,
|
|
89868
89985
|
position: "top"
|
|
89869
89986
|
},
|
|
89870
89987
|
onClick: function onClick() {
|
|
@@ -90197,7 +90314,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
90197
90314
|
var _excluded$9 = ["caption"];
|
|
90198
90315
|
function cov_ksv9azglk() {
|
|
90199
90316
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ExtensionConfig.js";
|
|
90200
|
-
var hash = "
|
|
90317
|
+
var hash = "3bebbf402f81491dd9c9f45cd7e242485e38da56";
|
|
90201
90318
|
var global = new Function("return this")();
|
|
90202
90319
|
var gcv = "__coverage__";
|
|
90203
90320
|
var coverageData = {
|
|
@@ -90205,411 +90322,411 @@ function cov_ksv9azglk() {
|
|
|
90205
90322
|
statementMap: {
|
|
90206
90323
|
"0": {
|
|
90207
90324
|
start: {
|
|
90208
|
-
line:
|
|
90325
|
+
line: 14,
|
|
90209
90326
|
column: 23
|
|
90210
90327
|
},
|
|
90211
90328
|
end: {
|
|
90212
|
-
line:
|
|
90329
|
+
line: 127,
|
|
90213
90330
|
column: 2
|
|
90214
90331
|
}
|
|
90215
90332
|
},
|
|
90216
90333
|
"1": {
|
|
90217
90334
|
start: {
|
|
90218
|
-
line:
|
|
90335
|
+
line: 18,
|
|
90219
90336
|
column: 4
|
|
90220
90337
|
},
|
|
90221
90338
|
end: {
|
|
90222
|
-
line:
|
|
90339
|
+
line: 20,
|
|
90223
90340
|
column: 6
|
|
90224
90341
|
}
|
|
90225
90342
|
},
|
|
90226
90343
|
"2": {
|
|
90227
90344
|
start: {
|
|
90228
|
-
line:
|
|
90345
|
+
line: 32,
|
|
90229
90346
|
column: 4
|
|
90230
90347
|
},
|
|
90231
90348
|
end: {
|
|
90232
|
-
line:
|
|
90349
|
+
line: 60,
|
|
90233
90350
|
column: 6
|
|
90234
90351
|
}
|
|
90235
90352
|
},
|
|
90236
90353
|
"3": {
|
|
90237
90354
|
start: {
|
|
90238
|
-
line:
|
|
90355
|
+
line: 35,
|
|
90239
90356
|
column: 30
|
|
90240
90357
|
},
|
|
90241
90358
|
end: {
|
|
90242
|
-
line:
|
|
90359
|
+
line: 35,
|
|
90243
90360
|
column: 79
|
|
90244
90361
|
}
|
|
90245
90362
|
},
|
|
90246
90363
|
"4": {
|
|
90247
90364
|
start: {
|
|
90248
|
-
line:
|
|
90365
|
+
line: 40,
|
|
90249
90366
|
column: 30
|
|
90250
90367
|
},
|
|
90251
90368
|
end: {
|
|
90252
|
-
line:
|
|
90369
|
+
line: 40,
|
|
90253
90370
|
column: 79
|
|
90254
90371
|
}
|
|
90255
90372
|
},
|
|
90256
90373
|
"5": {
|
|
90257
90374
|
start: {
|
|
90258
|
-
line:
|
|
90375
|
+
line: 46,
|
|
90259
90376
|
column: 10
|
|
90260
90377
|
},
|
|
90261
90378
|
end: {
|
|
90262
|
-
line:
|
|
90379
|
+
line: 46,
|
|
90263
90380
|
column: 65
|
|
90264
90381
|
}
|
|
90265
90382
|
},
|
|
90266
90383
|
"6": {
|
|
90267
90384
|
start: {
|
|
90268
|
-
line:
|
|
90385
|
+
line: 52,
|
|
90269
90386
|
column: 10
|
|
90270
90387
|
},
|
|
90271
90388
|
end: {
|
|
90272
|
-
line:
|
|
90389
|
+
line: 52,
|
|
90273
90390
|
column: 64
|
|
90274
90391
|
}
|
|
90275
90392
|
},
|
|
90276
90393
|
"7": {
|
|
90277
90394
|
start: {
|
|
90278
|
-
line:
|
|
90395
|
+
line: 58,
|
|
90279
90396
|
column: 10
|
|
90280
90397
|
},
|
|
90281
90398
|
end: {
|
|
90282
|
-
line:
|
|
90399
|
+
line: 58,
|
|
90283
90400
|
column: 61
|
|
90284
90401
|
}
|
|
90285
90402
|
},
|
|
90286
90403
|
"8": {
|
|
90287
90404
|
start: {
|
|
90288
|
-
line:
|
|
90405
|
+
line: 64,
|
|
90289
90406
|
column: 4
|
|
90290
90407
|
},
|
|
90291
90408
|
end: {
|
|
90292
|
-
line:
|
|
90409
|
+
line: 69,
|
|
90293
90410
|
column: 6
|
|
90294
90411
|
}
|
|
90295
90412
|
},
|
|
90296
90413
|
"9": {
|
|
90297
90414
|
start: {
|
|
90298
|
-
line:
|
|
90415
|
+
line: 73,
|
|
90299
90416
|
column: 48
|
|
90300
90417
|
},
|
|
90301
90418
|
end: {
|
|
90302
|
-
line:
|
|
90419
|
+
line: 73,
|
|
90303
90420
|
column: 58
|
|
90304
90421
|
}
|
|
90305
90422
|
},
|
|
90306
90423
|
"10": {
|
|
90307
90424
|
start: {
|
|
90308
|
-
line:
|
|
90425
|
+
line: 75,
|
|
90309
90426
|
column: 22
|
|
90310
90427
|
},
|
|
90311
90428
|
end: {
|
|
90312
|
-
line:
|
|
90429
|
+
line: 80,
|
|
90313
90430
|
column: 5
|
|
90314
90431
|
}
|
|
90315
90432
|
},
|
|
90316
90433
|
"11": {
|
|
90317
90434
|
start: {
|
|
90318
|
-
line:
|
|
90435
|
+
line: 82,
|
|
90319
90436
|
column: 24
|
|
90320
90437
|
},
|
|
90321
90438
|
end: {
|
|
90322
|
-
line:
|
|
90439
|
+
line: 85,
|
|
90323
90440
|
column: 5
|
|
90324
90441
|
}
|
|
90325
90442
|
},
|
|
90326
90443
|
"12": {
|
|
90327
90444
|
start: {
|
|
90328
|
-
line:
|
|
90445
|
+
line: 87,
|
|
90329
90446
|
column: 4
|
|
90330
90447
|
},
|
|
90331
90448
|
end: {
|
|
90332
|
-
line:
|
|
90449
|
+
line: 106,
|
|
90333
90450
|
column: 6
|
|
90334
90451
|
}
|
|
90335
90452
|
},
|
|
90336
90453
|
"13": {
|
|
90337
90454
|
start: {
|
|
90338
|
-
line:
|
|
90455
|
+
line: 110,
|
|
90339
90456
|
column: 4
|
|
90340
90457
|
},
|
|
90341
90458
|
end: {
|
|
90342
|
-
line:
|
|
90459
|
+
line: 110,
|
|
90343
90460
|
column: 49
|
|
90344
90461
|
}
|
|
90345
90462
|
},
|
|
90346
90463
|
"14": {
|
|
90347
90464
|
start: {
|
|
90348
|
-
line:
|
|
90465
|
+
line: 114,
|
|
90349
90466
|
column: 4
|
|
90350
90467
|
},
|
|
90351
90468
|
end: {
|
|
90352
|
-
line:
|
|
90469
|
+
line: 125,
|
|
90353
90470
|
column: 6
|
|
90354
90471
|
}
|
|
90355
90472
|
},
|
|
90356
90473
|
"15": {
|
|
90357
90474
|
start: {
|
|
90358
|
-
line:
|
|
90475
|
+
line: 117,
|
|
90359
90476
|
column: 8
|
|
90360
90477
|
},
|
|
90361
90478
|
end: {
|
|
90362
|
-
line:
|
|
90479
|
+
line: 124,
|
|
90363
90480
|
column: 18
|
|
90364
90481
|
}
|
|
90365
90482
|
},
|
|
90366
90483
|
"16": {
|
|
90367
90484
|
start: {
|
|
90368
|
-
line:
|
|
90485
|
+
line: 118,
|
|
90369
90486
|
column: 10
|
|
90370
90487
|
},
|
|
90371
90488
|
end: {
|
|
90372
|
-
line:
|
|
90489
|
+
line: 124,
|
|
90373
90490
|
column: 18
|
|
90374
90491
|
}
|
|
90375
90492
|
},
|
|
90376
90493
|
"17": {
|
|
90377
90494
|
start: {
|
|
90378
|
-
line:
|
|
90495
|
+
line: 129,
|
|
90379
90496
|
column: 15
|
|
90380
90497
|
},
|
|
90381
90498
|
end: {
|
|
90382
|
-
line:
|
|
90499
|
+
line: 141,
|
|
90383
90500
|
column: 1
|
|
90384
90501
|
}
|
|
90385
90502
|
},
|
|
90386
90503
|
"18": {
|
|
90387
90504
|
start: {
|
|
90388
|
-
line:
|
|
90505
|
+
line: 130,
|
|
90389
90506
|
column: 2
|
|
90390
90507
|
},
|
|
90391
90508
|
end: {
|
|
90392
|
-
line:
|
|
90509
|
+
line: 135,
|
|
90393
90510
|
column: 3
|
|
90394
90511
|
}
|
|
90395
90512
|
},
|
|
90396
90513
|
"19": {
|
|
90397
90514
|
start: {
|
|
90398
|
-
line:
|
|
90515
|
+
line: 131,
|
|
90399
90516
|
column: 21
|
|
90400
90517
|
},
|
|
90401
90518
|
end: {
|
|
90402
|
-
line:
|
|
90519
|
+
line: 131,
|
|
90403
90520
|
column: 52
|
|
90404
90521
|
}
|
|
90405
90522
|
},
|
|
90406
90523
|
"20": {
|
|
90407
90524
|
start: {
|
|
90408
|
-
line:
|
|
90525
|
+
line: 132,
|
|
90409
90526
|
column: 21
|
|
90410
90527
|
},
|
|
90411
90528
|
end: {
|
|
90412
|
-
line:
|
|
90529
|
+
line: 132,
|
|
90413
90530
|
column: 44
|
|
90414
90531
|
}
|
|
90415
90532
|
},
|
|
90416
90533
|
"21": {
|
|
90417
90534
|
start: {
|
|
90418
|
-
line:
|
|
90535
|
+
line: 134,
|
|
90419
90536
|
column: 4
|
|
90420
90537
|
},
|
|
90421
90538
|
end: {
|
|
90422
|
-
line:
|
|
90539
|
+
line: 134,
|
|
90423
90540
|
column: 56
|
|
90424
90541
|
}
|
|
90425
90542
|
},
|
|
90426
90543
|
"22": {
|
|
90427
90544
|
start: {
|
|
90428
|
-
line:
|
|
90545
|
+
line: 137,
|
|
90429
90546
|
column: 24
|
|
90430
90547
|
},
|
|
90431
90548
|
end: {
|
|
90432
|
-
line:
|
|
90549
|
+
line: 137,
|
|
90433
90550
|
column: 54
|
|
90434
90551
|
}
|
|
90435
90552
|
},
|
|
90436
90553
|
"23": {
|
|
90437
90554
|
start: {
|
|
90438
|
-
line:
|
|
90555
|
+
line: 138,
|
|
90439
90556
|
column: 2
|
|
90440
90557
|
},
|
|
90441
90558
|
end: {
|
|
90442
|
-
line:
|
|
90443
|
-
column:
|
|
90559
|
+
line: 138,
|
|
90560
|
+
column: 77
|
|
90444
90561
|
}
|
|
90445
90562
|
},
|
|
90446
90563
|
"24": {
|
|
90447
90564
|
start: {
|
|
90448
|
-
line:
|
|
90565
|
+
line: 140,
|
|
90449
90566
|
column: 2
|
|
90450
90567
|
},
|
|
90451
90568
|
end: {
|
|
90452
|
-
line:
|
|
90569
|
+
line: 140,
|
|
90453
90570
|
column: 12
|
|
90454
90571
|
}
|
|
90455
90572
|
},
|
|
90456
90573
|
"25": {
|
|
90457
90574
|
start: {
|
|
90458
|
-
line:
|
|
90575
|
+
line: 145,
|
|
90459
90576
|
column: 4
|
|
90460
90577
|
},
|
|
90461
90578
|
end: {
|
|
90462
|
-
line:
|
|
90579
|
+
line: 185,
|
|
90463
90580
|
column: 6
|
|
90464
90581
|
}
|
|
90465
90582
|
},
|
|
90466
90583
|
"26": {
|
|
90467
90584
|
start: {
|
|
90468
|
-
line:
|
|
90585
|
+
line: 147,
|
|
90469
90586
|
column: 8
|
|
90470
90587
|
},
|
|
90471
90588
|
end: {
|
|
90472
|
-
line:
|
|
90589
|
+
line: 183,
|
|
90473
90590
|
column: 10
|
|
90474
90591
|
}
|
|
90475
90592
|
},
|
|
90476
90593
|
"27": {
|
|
90477
90594
|
start: {
|
|
90478
|
-
line:
|
|
90595
|
+
line: 157,
|
|
90479
90596
|
column: 22
|
|
90480
90597
|
},
|
|
90481
90598
|
end: {
|
|
90482
|
-
line:
|
|
90599
|
+
line: 157,
|
|
90483
90600
|
column: 32
|
|
90484
90601
|
}
|
|
90485
90602
|
},
|
|
90486
90603
|
"28": {
|
|
90487
90604
|
start: {
|
|
90488
|
-
line:
|
|
90605
|
+
line: 158,
|
|
90489
90606
|
column: 35
|
|
90490
90607
|
},
|
|
90491
90608
|
end: {
|
|
90492
|
-
line:
|
|
90609
|
+
line: 158,
|
|
90493
90610
|
column: 69
|
|
90494
90611
|
}
|
|
90495
90612
|
},
|
|
90496
90613
|
"29": {
|
|
90497
90614
|
start: {
|
|
90498
|
-
line:
|
|
90615
|
+
line: 160,
|
|
90499
90616
|
column: 18
|
|
90500
90617
|
},
|
|
90501
90618
|
end: {
|
|
90502
|
-
line:
|
|
90619
|
+
line: 160,
|
|
90503
90620
|
column: 40
|
|
90504
90621
|
}
|
|
90505
90622
|
},
|
|
90506
90623
|
"30": {
|
|
90507
90624
|
start: {
|
|
90508
|
-
line:
|
|
90625
|
+
line: 160,
|
|
90509
90626
|
column: 33
|
|
90510
90627
|
},
|
|
90511
90628
|
end: {
|
|
90512
|
-
line:
|
|
90629
|
+
line: 160,
|
|
90513
90630
|
column: 40
|
|
90514
90631
|
}
|
|
90515
90632
|
},
|
|
90516
90633
|
"31": {
|
|
90517
90634
|
start: {
|
|
90518
|
-
line:
|
|
90635
|
+
line: 162,
|
|
90519
90636
|
column: 33
|
|
90520
90637
|
},
|
|
90521
90638
|
end: {
|
|
90522
|
-
line:
|
|
90639
|
+
line: 164,
|
|
90523
90640
|
column: 19
|
|
90524
90641
|
}
|
|
90525
90642
|
},
|
|
90526
90643
|
"32": {
|
|
90527
90644
|
start: {
|
|
90528
|
-
line:
|
|
90645
|
+
line: 163,
|
|
90529
90646
|
column: 28
|
|
90530
90647
|
},
|
|
90531
90648
|
end: {
|
|
90532
|
-
line:
|
|
90649
|
+
line: 163,
|
|
90533
90650
|
column: 52
|
|
90534
90651
|
}
|
|
90535
90652
|
},
|
|
90536
90653
|
"33": {
|
|
90537
90654
|
start: {
|
|
90538
|
-
line:
|
|
90655
|
+
line: 166,
|
|
90539
90656
|
column: 18
|
|
90540
90657
|
},
|
|
90541
90658
|
end: {
|
|
90542
|
-
line:
|
|
90659
|
+
line: 166,
|
|
90543
90660
|
column: 46
|
|
90544
90661
|
}
|
|
90545
90662
|
},
|
|
90546
90663
|
"34": {
|
|
90547
90664
|
start: {
|
|
90548
|
-
line:
|
|
90665
|
+
line: 166,
|
|
90549
90666
|
column: 39
|
|
90550
90667
|
},
|
|
90551
90668
|
end: {
|
|
90552
|
-
line:
|
|
90669
|
+
line: 166,
|
|
90553
90670
|
column: 46
|
|
90554
90671
|
}
|
|
90555
90672
|
},
|
|
90556
90673
|
"35": {
|
|
90557
90674
|
start: {
|
|
90558
|
-
line:
|
|
90675
|
+
line: 168,
|
|
90559
90676
|
column: 18
|
|
90560
90677
|
},
|
|
90561
90678
|
end: {
|
|
90562
|
-
line:
|
|
90679
|
+
line: 168,
|
|
90563
90680
|
column: 41
|
|
90564
90681
|
}
|
|
90565
90682
|
},
|
|
90566
90683
|
"36": {
|
|
90567
90684
|
start: {
|
|
90568
|
-
line:
|
|
90685
|
+
line: 170,
|
|
90569
90686
|
column: 18
|
|
90570
90687
|
},
|
|
90571
90688
|
end: {
|
|
90572
|
-
line:
|
|
90689
|
+
line: 178,
|
|
90573
90690
|
column: 21
|
|
90574
90691
|
}
|
|
90575
90692
|
},
|
|
90576
90693
|
"37": {
|
|
90577
90694
|
start: {
|
|
90578
|
-
line:
|
|
90695
|
+
line: 171,
|
|
90579
90696
|
column: 33
|
|
90580
90697
|
},
|
|
90581
90698
|
end: {
|
|
90582
|
-
line:
|
|
90699
|
+
line: 173,
|
|
90583
90700
|
column: 22
|
|
90584
90701
|
}
|
|
90585
90702
|
},
|
|
90586
90703
|
"38": {
|
|
90587
90704
|
start: {
|
|
90588
|
-
line:
|
|
90705
|
+
line: 174,
|
|
90589
90706
|
column: 20
|
|
90590
90707
|
},
|
|
90591
90708
|
end: {
|
|
90592
|
-
line:
|
|
90709
|
+
line: 177,
|
|
90593
90710
|
column: 21
|
|
90594
90711
|
}
|
|
90595
90712
|
},
|
|
90596
90713
|
"39": {
|
|
90597
90714
|
start: {
|
|
90598
|
-
line:
|
|
90715
|
+
line: 175,
|
|
90599
90716
|
column: 42
|
|
90600
90717
|
},
|
|
90601
90718
|
end: {
|
|
90602
|
-
line:
|
|
90719
|
+
line: 175,
|
|
90603
90720
|
column: 73
|
|
90604
90721
|
}
|
|
90605
90722
|
},
|
|
90606
90723
|
"40": {
|
|
90607
90724
|
start: {
|
|
90608
|
-
line:
|
|
90725
|
+
line: 176,
|
|
90609
90726
|
column: 22
|
|
90610
90727
|
},
|
|
90611
90728
|
end: {
|
|
90612
|
-
line:
|
|
90729
|
+
line: 176,
|
|
90613
90730
|
column: 49
|
|
90614
90731
|
}
|
|
90615
90732
|
}
|
|
@@ -90619,512 +90736,512 @@ function cov_ksv9azglk() {
|
|
|
90619
90736
|
name: "(anonymous_0)",
|
|
90620
90737
|
decl: {
|
|
90621
90738
|
start: {
|
|
90622
|
-
line:
|
|
90739
|
+
line: 17,
|
|
90623
90740
|
column: 2
|
|
90624
90741
|
},
|
|
90625
90742
|
end: {
|
|
90626
|
-
line:
|
|
90743
|
+
line: 17,
|
|
90627
90744
|
column: 3
|
|
90628
90745
|
}
|
|
90629
90746
|
},
|
|
90630
90747
|
loc: {
|
|
90631
90748
|
start: {
|
|
90632
|
-
line:
|
|
90749
|
+
line: 17,
|
|
90633
90750
|
column: 15
|
|
90634
90751
|
},
|
|
90635
90752
|
end: {
|
|
90636
|
-
line:
|
|
90753
|
+
line: 21,
|
|
90637
90754
|
column: 3
|
|
90638
90755
|
}
|
|
90639
90756
|
},
|
|
90640
|
-
line:
|
|
90757
|
+
line: 17
|
|
90641
90758
|
},
|
|
90642
90759
|
"1": {
|
|
90643
90760
|
name: "(anonymous_1)",
|
|
90644
90761
|
decl: {
|
|
90645
90762
|
start: {
|
|
90646
|
-
line:
|
|
90763
|
+
line: 31,
|
|
90647
90764
|
column: 2
|
|
90648
90765
|
},
|
|
90649
90766
|
end: {
|
|
90650
|
-
line:
|
|
90767
|
+
line: 31,
|
|
90651
90768
|
column: 3
|
|
90652
90769
|
}
|
|
90653
90770
|
},
|
|
90654
90771
|
loc: {
|
|
90655
90772
|
start: {
|
|
90656
|
-
line:
|
|
90773
|
+
line: 31,
|
|
90657
90774
|
column: 18
|
|
90658
90775
|
},
|
|
90659
90776
|
end: {
|
|
90660
|
-
line:
|
|
90777
|
+
line: 61,
|
|
90661
90778
|
column: 3
|
|
90662
90779
|
}
|
|
90663
90780
|
},
|
|
90664
|
-
line:
|
|
90781
|
+
line: 31
|
|
90665
90782
|
},
|
|
90666
90783
|
"2": {
|
|
90667
90784
|
name: "(anonymous_2)",
|
|
90668
90785
|
decl: {
|
|
90669
90786
|
start: {
|
|
90670
|
-
line:
|
|
90787
|
+
line: 35,
|
|
90671
90788
|
column: 19
|
|
90672
90789
|
},
|
|
90673
90790
|
end: {
|
|
90674
|
-
line:
|
|
90791
|
+
line: 35,
|
|
90675
90792
|
column: 20
|
|
90676
90793
|
}
|
|
90677
90794
|
},
|
|
90678
90795
|
loc: {
|
|
90679
90796
|
start: {
|
|
90680
|
-
line:
|
|
90797
|
+
line: 35,
|
|
90681
90798
|
column: 30
|
|
90682
90799
|
},
|
|
90683
90800
|
end: {
|
|
90684
|
-
line:
|
|
90801
|
+
line: 35,
|
|
90685
90802
|
column: 79
|
|
90686
90803
|
}
|
|
90687
90804
|
},
|
|
90688
|
-
line:
|
|
90805
|
+
line: 35
|
|
90689
90806
|
},
|
|
90690
90807
|
"3": {
|
|
90691
90808
|
name: "(anonymous_3)",
|
|
90692
90809
|
decl: {
|
|
90693
90810
|
start: {
|
|
90694
|
-
line:
|
|
90811
|
+
line: 40,
|
|
90695
90812
|
column: 19
|
|
90696
90813
|
},
|
|
90697
90814
|
end: {
|
|
90698
|
-
line:
|
|
90815
|
+
line: 40,
|
|
90699
90816
|
column: 20
|
|
90700
90817
|
}
|
|
90701
90818
|
},
|
|
90702
90819
|
loc: {
|
|
90703
90820
|
start: {
|
|
90704
|
-
line:
|
|
90821
|
+
line: 40,
|
|
90705
90822
|
column: 30
|
|
90706
90823
|
},
|
|
90707
90824
|
end: {
|
|
90708
|
-
line:
|
|
90825
|
+
line: 40,
|
|
90709
90826
|
column: 79
|
|
90710
90827
|
}
|
|
90711
90828
|
},
|
|
90712
|
-
line:
|
|
90829
|
+
line: 40
|
|
90713
90830
|
},
|
|
90714
90831
|
"4": {
|
|
90715
90832
|
name: "(anonymous_4)",
|
|
90716
90833
|
decl: {
|
|
90717
90834
|
start: {
|
|
90718
|
-
line:
|
|
90835
|
+
line: 45,
|
|
90719
90836
|
column: 19
|
|
90720
90837
|
},
|
|
90721
90838
|
end: {
|
|
90722
|
-
line:
|
|
90839
|
+
line: 45,
|
|
90723
90840
|
column: 20
|
|
90724
90841
|
}
|
|
90725
90842
|
},
|
|
90726
90843
|
loc: {
|
|
90727
90844
|
start: {
|
|
90728
|
-
line:
|
|
90845
|
+
line: 46,
|
|
90729
90846
|
column: 10
|
|
90730
90847
|
},
|
|
90731
90848
|
end: {
|
|
90732
|
-
line:
|
|
90849
|
+
line: 46,
|
|
90733
90850
|
column: 65
|
|
90734
90851
|
}
|
|
90735
90852
|
},
|
|
90736
|
-
line:
|
|
90853
|
+
line: 46
|
|
90737
90854
|
},
|
|
90738
90855
|
"5": {
|
|
90739
90856
|
name: "(anonymous_5)",
|
|
90740
90857
|
decl: {
|
|
90741
90858
|
start: {
|
|
90742
|
-
line:
|
|
90859
|
+
line: 51,
|
|
90743
90860
|
column: 19
|
|
90744
90861
|
},
|
|
90745
90862
|
end: {
|
|
90746
|
-
line:
|
|
90863
|
+
line: 51,
|
|
90747
90864
|
column: 20
|
|
90748
90865
|
}
|
|
90749
90866
|
},
|
|
90750
90867
|
loc: {
|
|
90751
90868
|
start: {
|
|
90752
|
-
line:
|
|
90869
|
+
line: 52,
|
|
90753
90870
|
column: 10
|
|
90754
90871
|
},
|
|
90755
90872
|
end: {
|
|
90756
|
-
line:
|
|
90873
|
+
line: 52,
|
|
90757
90874
|
column: 64
|
|
90758
90875
|
}
|
|
90759
90876
|
},
|
|
90760
|
-
line:
|
|
90877
|
+
line: 52
|
|
90761
90878
|
},
|
|
90762
90879
|
"6": {
|
|
90763
90880
|
name: "(anonymous_6)",
|
|
90764
90881
|
decl: {
|
|
90765
90882
|
start: {
|
|
90766
|
-
line:
|
|
90883
|
+
line: 57,
|
|
90767
90884
|
column: 19
|
|
90768
90885
|
},
|
|
90769
90886
|
end: {
|
|
90770
|
-
line:
|
|
90887
|
+
line: 57,
|
|
90771
90888
|
column: 20
|
|
90772
90889
|
}
|
|
90773
90890
|
},
|
|
90774
90891
|
loc: {
|
|
90775
90892
|
start: {
|
|
90776
|
-
line:
|
|
90893
|
+
line: 58,
|
|
90777
90894
|
column: 10
|
|
90778
90895
|
},
|
|
90779
90896
|
end: {
|
|
90780
|
-
line:
|
|
90897
|
+
line: 58,
|
|
90781
90898
|
column: 61
|
|
90782
90899
|
}
|
|
90783
90900
|
},
|
|
90784
|
-
line:
|
|
90901
|
+
line: 58
|
|
90785
90902
|
},
|
|
90786
90903
|
"7": {
|
|
90787
90904
|
name: "(anonymous_7)",
|
|
90788
90905
|
decl: {
|
|
90789
90906
|
start: {
|
|
90790
|
-
line:
|
|
90907
|
+
line: 63,
|
|
90791
90908
|
column: 2
|
|
90792
90909
|
},
|
|
90793
90910
|
end: {
|
|
90794
|
-
line:
|
|
90911
|
+
line: 63,
|
|
90795
90912
|
column: 3
|
|
90796
90913
|
}
|
|
90797
90914
|
},
|
|
90798
90915
|
loc: {
|
|
90799
90916
|
start: {
|
|
90800
|
-
line:
|
|
90917
|
+
line: 63,
|
|
90801
90918
|
column: 14
|
|
90802
90919
|
},
|
|
90803
90920
|
end: {
|
|
90804
|
-
line:
|
|
90921
|
+
line: 70,
|
|
90805
90922
|
column: 3
|
|
90806
90923
|
}
|
|
90807
90924
|
},
|
|
90808
|
-
line:
|
|
90925
|
+
line: 63
|
|
90809
90926
|
},
|
|
90810
90927
|
"8": {
|
|
90811
90928
|
name: "(anonymous_8)",
|
|
90812
90929
|
decl: {
|
|
90813
90930
|
start: {
|
|
90814
|
-
line:
|
|
90931
|
+
line: 72,
|
|
90815
90932
|
column: 2
|
|
90816
90933
|
},
|
|
90817
90934
|
end: {
|
|
90818
|
-
line:
|
|
90935
|
+
line: 72,
|
|
90819
90936
|
column: 3
|
|
90820
90937
|
}
|
|
90821
90938
|
},
|
|
90822
90939
|
loc: {
|
|
90823
90940
|
start: {
|
|
90824
|
-
line:
|
|
90941
|
+
line: 72,
|
|
90825
90942
|
column: 39
|
|
90826
90943
|
},
|
|
90827
90944
|
end: {
|
|
90828
|
-
line:
|
|
90945
|
+
line: 107,
|
|
90829
90946
|
column: 3
|
|
90830
90947
|
}
|
|
90831
90948
|
},
|
|
90832
|
-
line:
|
|
90949
|
+
line: 72
|
|
90833
90950
|
},
|
|
90834
90951
|
"9": {
|
|
90835
90952
|
name: "(anonymous_9)",
|
|
90836
90953
|
decl: {
|
|
90837
90954
|
start: {
|
|
90838
|
-
line:
|
|
90955
|
+
line: 109,
|
|
90839
90956
|
column: 2
|
|
90840
90957
|
},
|
|
90841
90958
|
end: {
|
|
90842
|
-
line:
|
|
90959
|
+
line: 109,
|
|
90843
90960
|
column: 3
|
|
90844
90961
|
}
|
|
90845
90962
|
},
|
|
90846
90963
|
loc: {
|
|
90847
90964
|
start: {
|
|
90848
|
-
line:
|
|
90965
|
+
line: 109,
|
|
90849
90966
|
column: 16
|
|
90850
90967
|
},
|
|
90851
90968
|
end: {
|
|
90852
|
-
line:
|
|
90969
|
+
line: 111,
|
|
90853
90970
|
column: 3
|
|
90854
90971
|
}
|
|
90855
90972
|
},
|
|
90856
|
-
line:
|
|
90973
|
+
line: 109
|
|
90857
90974
|
},
|
|
90858
90975
|
"10": {
|
|
90859
90976
|
name: "(anonymous_10)",
|
|
90860
90977
|
decl: {
|
|
90861
90978
|
start: {
|
|
90862
|
-
line:
|
|
90979
|
+
line: 113,
|
|
90863
90980
|
column: 2
|
|
90864
90981
|
},
|
|
90865
90982
|
end: {
|
|
90866
|
-
line:
|
|
90983
|
+
line: 113,
|
|
90867
90984
|
column: 3
|
|
90868
90985
|
}
|
|
90869
90986
|
},
|
|
90870
90987
|
loc: {
|
|
90871
90988
|
start: {
|
|
90872
|
-
line:
|
|
90989
|
+
line: 113,
|
|
90873
90990
|
column: 16
|
|
90874
90991
|
},
|
|
90875
90992
|
end: {
|
|
90876
|
-
line:
|
|
90993
|
+
line: 126,
|
|
90877
90994
|
column: 3
|
|
90878
90995
|
}
|
|
90879
90996
|
},
|
|
90880
|
-
line:
|
|
90997
|
+
line: 113
|
|
90881
90998
|
},
|
|
90882
90999
|
"11": {
|
|
90883
91000
|
name: "(anonymous_11)",
|
|
90884
91001
|
decl: {
|
|
90885
91002
|
start: {
|
|
90886
|
-
line:
|
|
91003
|
+
line: 116,
|
|
90887
91004
|
column: 8
|
|
90888
91005
|
},
|
|
90889
91006
|
end: {
|
|
90890
|
-
line:
|
|
91007
|
+
line: 116,
|
|
90891
91008
|
column: 9
|
|
90892
91009
|
}
|
|
90893
91010
|
},
|
|
90894
91011
|
loc: {
|
|
90895
91012
|
start: {
|
|
90896
|
-
line:
|
|
91013
|
+
line: 117,
|
|
90897
91014
|
column: 8
|
|
90898
91015
|
},
|
|
90899
91016
|
end: {
|
|
90900
|
-
line:
|
|
91017
|
+
line: 124,
|
|
90901
91018
|
column: 18
|
|
90902
91019
|
}
|
|
90903
91020
|
},
|
|
90904
|
-
line:
|
|
91021
|
+
line: 117
|
|
90905
91022
|
},
|
|
90906
91023
|
"12": {
|
|
90907
91024
|
name: "(anonymous_12)",
|
|
90908
91025
|
decl: {
|
|
90909
91026
|
start: {
|
|
90910
|
-
line:
|
|
91027
|
+
line: 117,
|
|
90911
91028
|
column: 8
|
|
90912
91029
|
},
|
|
90913
91030
|
end: {
|
|
90914
|
-
line:
|
|
91031
|
+
line: 117,
|
|
90915
91032
|
column: 9
|
|
90916
91033
|
}
|
|
90917
91034
|
},
|
|
90918
91035
|
loc: {
|
|
90919
91036
|
start: {
|
|
90920
|
-
line:
|
|
91037
|
+
line: 118,
|
|
90921
91038
|
column: 10
|
|
90922
91039
|
},
|
|
90923
91040
|
end: {
|
|
90924
|
-
line:
|
|
91041
|
+
line: 124,
|
|
90925
91042
|
column: 18
|
|
90926
91043
|
}
|
|
90927
91044
|
},
|
|
90928
|
-
line:
|
|
91045
|
+
line: 118
|
|
90929
91046
|
},
|
|
90930
91047
|
"13": {
|
|
90931
91048
|
name: "(anonymous_13)",
|
|
90932
91049
|
decl: {
|
|
90933
91050
|
start: {
|
|
90934
|
-
line:
|
|
91051
|
+
line: 129,
|
|
90935
91052
|
column: 15
|
|
90936
91053
|
},
|
|
90937
91054
|
end: {
|
|
90938
|
-
line:
|
|
91055
|
+
line: 129,
|
|
90939
91056
|
column: 16
|
|
90940
91057
|
}
|
|
90941
91058
|
},
|
|
90942
91059
|
loc: {
|
|
90943
91060
|
start: {
|
|
90944
|
-
line:
|
|
91061
|
+
line: 129,
|
|
90945
91062
|
column: 36
|
|
90946
91063
|
},
|
|
90947
91064
|
end: {
|
|
90948
|
-
line:
|
|
91065
|
+
line: 141,
|
|
90949
91066
|
column: 1
|
|
90950
91067
|
}
|
|
90951
91068
|
},
|
|
90952
|
-
line:
|
|
91069
|
+
line: 129
|
|
90953
91070
|
},
|
|
90954
91071
|
"14": {
|
|
90955
91072
|
name: "(anonymous_14)",
|
|
90956
91073
|
decl: {
|
|
90957
91074
|
start: {
|
|
90958
|
-
line:
|
|
91075
|
+
line: 144,
|
|
90959
91076
|
column: 13
|
|
90960
91077
|
},
|
|
90961
91078
|
end: {
|
|
90962
|
-
line:
|
|
91079
|
+
line: 144,
|
|
90963
91080
|
column: 14
|
|
90964
91081
|
}
|
|
90965
91082
|
},
|
|
90966
91083
|
loc: {
|
|
90967
91084
|
start: {
|
|
90968
|
-
line:
|
|
91085
|
+
line: 145,
|
|
90969
91086
|
column: 4
|
|
90970
91087
|
},
|
|
90971
91088
|
end: {
|
|
90972
|
-
line:
|
|
91089
|
+
line: 185,
|
|
90973
91090
|
column: 6
|
|
90974
91091
|
}
|
|
90975
91092
|
},
|
|
90976
|
-
line:
|
|
91093
|
+
line: 145
|
|
90977
91094
|
},
|
|
90978
91095
|
"15": {
|
|
90979
91096
|
name: "(anonymous_15)",
|
|
90980
91097
|
decl: {
|
|
90981
91098
|
start: {
|
|
90982
|
-
line:
|
|
91099
|
+
line: 146,
|
|
90983
91100
|
column: 6
|
|
90984
91101
|
},
|
|
90985
91102
|
end: {
|
|
90986
|
-
line:
|
|
91103
|
+
line: 146,
|
|
90987
91104
|
column: 7
|
|
90988
91105
|
}
|
|
90989
91106
|
},
|
|
90990
91107
|
loc: {
|
|
90991
91108
|
start: {
|
|
90992
|
-
line:
|
|
91109
|
+
line: 146,
|
|
90993
91110
|
column: 30
|
|
90994
91111
|
},
|
|
90995
91112
|
end: {
|
|
90996
|
-
line:
|
|
91113
|
+
line: 184,
|
|
90997
91114
|
column: 7
|
|
90998
91115
|
}
|
|
90999
91116
|
},
|
|
91000
|
-
line:
|
|
91117
|
+
line: 146
|
|
91001
91118
|
},
|
|
91002
91119
|
"16": {
|
|
91003
91120
|
name: "(anonymous_16)",
|
|
91004
91121
|
decl: {
|
|
91005
91122
|
start: {
|
|
91006
|
-
line:
|
|
91123
|
+
line: 151,
|
|
91007
91124
|
column: 16
|
|
91008
91125
|
},
|
|
91009
91126
|
end: {
|
|
91010
|
-
line:
|
|
91127
|
+
line: 151,
|
|
91011
91128
|
column: 17
|
|
91012
91129
|
}
|
|
91013
91130
|
},
|
|
91014
91131
|
loc: {
|
|
91015
91132
|
start: {
|
|
91016
|
-
line:
|
|
91133
|
+
line: 151,
|
|
91017
91134
|
column: 35
|
|
91018
91135
|
},
|
|
91019
91136
|
end: {
|
|
91020
|
-
line:
|
|
91137
|
+
line: 179,
|
|
91021
91138
|
column: 17
|
|
91022
91139
|
}
|
|
91023
91140
|
},
|
|
91024
|
-
line:
|
|
91141
|
+
line: 151
|
|
91025
91142
|
},
|
|
91026
91143
|
"17": {
|
|
91027
91144
|
name: "(anonymous_17)",
|
|
91028
91145
|
decl: {
|
|
91029
91146
|
start: {
|
|
91030
|
-
line:
|
|
91147
|
+
line: 163,
|
|
91031
91148
|
column: 20
|
|
91032
91149
|
},
|
|
91033
91150
|
end: {
|
|
91034
|
-
line:
|
|
91151
|
+
line: 163,
|
|
91035
91152
|
column: 21
|
|
91036
91153
|
}
|
|
91037
91154
|
},
|
|
91038
91155
|
loc: {
|
|
91039
91156
|
start: {
|
|
91040
|
-
line:
|
|
91157
|
+
line: 163,
|
|
91041
91158
|
column: 28
|
|
91042
91159
|
},
|
|
91043
91160
|
end: {
|
|
91044
|
-
line:
|
|
91161
|
+
line: 163,
|
|
91045
91162
|
column: 52
|
|
91046
91163
|
}
|
|
91047
91164
|
},
|
|
91048
|
-
line:
|
|
91165
|
+
line: 163
|
|
91049
91166
|
},
|
|
91050
91167
|
"18": {
|
|
91051
91168
|
name: "(anonymous_18)",
|
|
91052
91169
|
decl: {
|
|
91053
91170
|
start: {
|
|
91054
|
-
line:
|
|
91171
|
+
line: 170,
|
|
91055
91172
|
column: 33
|
|
91056
91173
|
},
|
|
91057
91174
|
end: {
|
|
91058
|
-
line:
|
|
91175
|
+
line: 170,
|
|
91059
91176
|
column: 34
|
|
91060
91177
|
}
|
|
91061
91178
|
},
|
|
91062
91179
|
loc: {
|
|
91063
91180
|
start: {
|
|
91064
|
-
line:
|
|
91181
|
+
line: 170,
|
|
91065
91182
|
column: 48
|
|
91066
91183
|
},
|
|
91067
91184
|
end: {
|
|
91068
|
-
line:
|
|
91185
|
+
line: 178,
|
|
91069
91186
|
column: 19
|
|
91070
91187
|
}
|
|
91071
91188
|
},
|
|
91072
|
-
line:
|
|
91189
|
+
line: 170
|
|
91073
91190
|
}
|
|
91074
91191
|
},
|
|
91075
91192
|
branchMap: {
|
|
91076
91193
|
"0": {
|
|
91077
91194
|
loc: {
|
|
91078
91195
|
start: {
|
|
91079
|
-
line:
|
|
91196
|
+
line: 122,
|
|
91080
91197
|
column: 23
|
|
91081
91198
|
},
|
|
91082
91199
|
end: {
|
|
91083
|
-
line:
|
|
91200
|
+
line: 122,
|
|
91084
91201
|
column: 71
|
|
91085
91202
|
}
|
|
91086
91203
|
},
|
|
91087
91204
|
type: "cond-expr",
|
|
91088
91205
|
locations: [{
|
|
91089
91206
|
start: {
|
|
91090
|
-
line:
|
|
91207
|
+
line: 122,
|
|
91091
91208
|
column: 33
|
|
91092
91209
|
},
|
|
91093
91210
|
end: {
|
|
91094
|
-
line:
|
|
91211
|
+
line: 122,
|
|
91095
91212
|
column: 66
|
|
91096
91213
|
}
|
|
91097
91214
|
}, {
|
|
91098
91215
|
start: {
|
|
91099
|
-
line:
|
|
91216
|
+
line: 122,
|
|
91100
91217
|
column: 69
|
|
91101
91218
|
},
|
|
91102
91219
|
end: {
|
|
91103
|
-
line:
|
|
91220
|
+
line: 122,
|
|
91104
91221
|
column: 71
|
|
91105
91222
|
}
|
|
91106
91223
|
}],
|
|
91107
|
-
line:
|
|
91224
|
+
line: 122
|
|
91108
91225
|
},
|
|
91109
91226
|
"1": {
|
|
91110
91227
|
loc: {
|
|
91111
91228
|
start: {
|
|
91112
|
-
line:
|
|
91229
|
+
line: 130,
|
|
91113
91230
|
column: 2
|
|
91114
91231
|
},
|
|
91115
91232
|
end: {
|
|
91116
|
-
line:
|
|
91233
|
+
line: 135,
|
|
91117
91234
|
column: 3
|
|
91118
91235
|
}
|
|
91119
91236
|
},
|
|
91120
91237
|
type: "if",
|
|
91121
91238
|
locations: [{
|
|
91122
91239
|
start: {
|
|
91123
|
-
line:
|
|
91240
|
+
line: 130,
|
|
91124
91241
|
column: 2
|
|
91125
91242
|
},
|
|
91126
91243
|
end: {
|
|
91127
|
-
line:
|
|
91244
|
+
line: 135,
|
|
91128
91245
|
column: 3
|
|
91129
91246
|
}
|
|
91130
91247
|
}, {
|
|
@@ -91137,60 +91254,60 @@ function cov_ksv9azglk() {
|
|
|
91137
91254
|
column: undefined
|
|
91138
91255
|
}
|
|
91139
91256
|
}],
|
|
91140
|
-
line:
|
|
91257
|
+
line: 130
|
|
91141
91258
|
},
|
|
91142
91259
|
"2": {
|
|
91143
91260
|
loc: {
|
|
91144
91261
|
start: {
|
|
91145
|
-
line:
|
|
91262
|
+
line: 134,
|
|
91146
91263
|
column: 11
|
|
91147
91264
|
},
|
|
91148
91265
|
end: {
|
|
91149
|
-
line:
|
|
91266
|
+
line: 134,
|
|
91150
91267
|
column: 55
|
|
91151
91268
|
}
|
|
91152
91269
|
},
|
|
91153
91270
|
type: "binary-expr",
|
|
91154
91271
|
locations: [{
|
|
91155
91272
|
start: {
|
|
91156
|
-
line:
|
|
91273
|
+
line: 134,
|
|
91157
91274
|
column: 11
|
|
91158
91275
|
},
|
|
91159
91276
|
end: {
|
|
91160
|
-
line:
|
|
91277
|
+
line: 134,
|
|
91161
91278
|
column: 34
|
|
91162
91279
|
}
|
|
91163
91280
|
}, {
|
|
91164
91281
|
start: {
|
|
91165
|
-
line:
|
|
91282
|
+
line: 134,
|
|
91166
91283
|
column: 38
|
|
91167
91284
|
},
|
|
91168
91285
|
end: {
|
|
91169
|
-
line:
|
|
91286
|
+
line: 134,
|
|
91170
91287
|
column: 55
|
|
91171
91288
|
}
|
|
91172
91289
|
}],
|
|
91173
|
-
line:
|
|
91290
|
+
line: 134
|
|
91174
91291
|
},
|
|
91175
91292
|
"3": {
|
|
91176
91293
|
loc: {
|
|
91177
91294
|
start: {
|
|
91178
|
-
line:
|
|
91295
|
+
line: 160,
|
|
91179
91296
|
column: 18
|
|
91180
91297
|
},
|
|
91181
91298
|
end: {
|
|
91182
|
-
line:
|
|
91299
|
+
line: 160,
|
|
91183
91300
|
column: 40
|
|
91184
91301
|
}
|
|
91185
91302
|
},
|
|
91186
91303
|
type: "if",
|
|
91187
91304
|
locations: [{
|
|
91188
91305
|
start: {
|
|
91189
|
-
line:
|
|
91306
|
+
line: 160,
|
|
91190
91307
|
column: 18
|
|
91191
91308
|
},
|
|
91192
91309
|
end: {
|
|
91193
|
-
line:
|
|
91310
|
+
line: 160,
|
|
91194
91311
|
column: 40
|
|
91195
91312
|
}
|
|
91196
91313
|
}, {
|
|
@@ -91203,27 +91320,27 @@ function cov_ksv9azglk() {
|
|
|
91203
91320
|
column: undefined
|
|
91204
91321
|
}
|
|
91205
91322
|
}],
|
|
91206
|
-
line:
|
|
91323
|
+
line: 160
|
|
91207
91324
|
},
|
|
91208
91325
|
"4": {
|
|
91209
91326
|
loc: {
|
|
91210
91327
|
start: {
|
|
91211
|
-
line:
|
|
91328
|
+
line: 166,
|
|
91212
91329
|
column: 18
|
|
91213
91330
|
},
|
|
91214
91331
|
end: {
|
|
91215
|
-
line:
|
|
91332
|
+
line: 166,
|
|
91216
91333
|
column: 46
|
|
91217
91334
|
}
|
|
91218
91335
|
},
|
|
91219
91336
|
type: "if",
|
|
91220
91337
|
locations: [{
|
|
91221
91338
|
start: {
|
|
91222
|
-
line:
|
|
91339
|
+
line: 166,
|
|
91223
91340
|
column: 18
|
|
91224
91341
|
},
|
|
91225
91342
|
end: {
|
|
91226
|
-
line:
|
|
91343
|
+
line: 166,
|
|
91227
91344
|
column: 46
|
|
91228
91345
|
}
|
|
91229
91346
|
}, {
|
|
@@ -91236,27 +91353,27 @@ function cov_ksv9azglk() {
|
|
|
91236
91353
|
column: undefined
|
|
91237
91354
|
}
|
|
91238
91355
|
}],
|
|
91239
|
-
line:
|
|
91356
|
+
line: 166
|
|
91240
91357
|
},
|
|
91241
91358
|
"5": {
|
|
91242
91359
|
loc: {
|
|
91243
91360
|
start: {
|
|
91244
|
-
line:
|
|
91361
|
+
line: 174,
|
|
91245
91362
|
column: 20
|
|
91246
91363
|
},
|
|
91247
91364
|
end: {
|
|
91248
|
-
line:
|
|
91365
|
+
line: 177,
|
|
91249
91366
|
column: 21
|
|
91250
91367
|
}
|
|
91251
91368
|
},
|
|
91252
91369
|
type: "if",
|
|
91253
91370
|
locations: [{
|
|
91254
91371
|
start: {
|
|
91255
|
-
line:
|
|
91372
|
+
line: 174,
|
|
91256
91373
|
column: 20
|
|
91257
91374
|
},
|
|
91258
91375
|
end: {
|
|
91259
|
-
line:
|
|
91376
|
+
line: 177,
|
|
91260
91377
|
column: 21
|
|
91261
91378
|
}
|
|
91262
91379
|
}, {
|
|
@@ -91269,7 +91386,7 @@ function cov_ksv9azglk() {
|
|
|
91269
91386
|
column: undefined
|
|
91270
91387
|
}
|
|
91271
91388
|
}],
|
|
91272
|
-
line:
|
|
91389
|
+
line: 174
|
|
91273
91390
|
}
|
|
91274
91391
|
},
|
|
91275
91392
|
s: {
|
|
@@ -91345,7 +91462,7 @@ function cov_ksv9azglk() {
|
|
|
91345
91462
|
"5": [0, 0]
|
|
91346
91463
|
},
|
|
91347
91464
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
91348
|
-
hash: "
|
|
91465
|
+
hash: "3bebbf402f81491dd9c9f45cd7e242485e38da56"
|
|
91349
91466
|
};
|
|
91350
91467
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
91351
91468
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -91520,7 +91637,9 @@ var upload = /*#__PURE__*/function () {
|
|
|
91520
91637
|
case 14:
|
|
91521
91638
|
imageSizeInMB = (cov_ksv9azglk().s[22]++, MAX_IMAGE_SIZE / (1024 * 1024));
|
|
91522
91639
|
cov_ksv9azglk().s[23]++;
|
|
91523
|
-
neetoui.Toastr.error("
|
|
91640
|
+
neetoui.Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
|
|
91641
|
+
limit: imageSizeInMB
|
|
91642
|
+
}));
|
|
91524
91643
|
cov_ksv9azglk().s[24]++;
|
|
91525
91644
|
return _context.abrupt("return", "");
|
|
91526
91645
|
case 19:
|
|
@@ -96354,7 +96473,7 @@ var Mention = {
|
|
|
96354
96473
|
|
|
96355
96474
|
function cov_134mrrjy5g() {
|
|
96356
96475
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Placeholder/ExtensionConfig.js";
|
|
96357
|
-
var hash = "
|
|
96476
|
+
var hash = "a628a59bba8d6c190faea7f50c6e8fcbc3298925";
|
|
96358
96477
|
var global = new Function("return this")();
|
|
96359
96478
|
var gcv = "__coverage__";
|
|
96360
96479
|
var coverageData = {
|
|
@@ -96362,201 +96481,201 @@ function cov_134mrrjy5g() {
|
|
|
96362
96481
|
statementMap: {
|
|
96363
96482
|
"0": {
|
|
96364
96483
|
start: {
|
|
96365
|
-
line:
|
|
96484
|
+
line: 6,
|
|
96366
96485
|
column: 20
|
|
96367
96486
|
},
|
|
96368
96487
|
end: {
|
|
96369
|
-
line:
|
|
96488
|
+
line: 70,
|
|
96370
96489
|
column: 2
|
|
96371
96490
|
}
|
|
96372
96491
|
},
|
|
96373
96492
|
"1": {
|
|
96374
96493
|
start: {
|
|
96375
|
-
line:
|
|
96494
|
+
line: 10,
|
|
96376
96495
|
column: 4
|
|
96377
96496
|
},
|
|
96378
96497
|
end: {
|
|
96379
|
-
line:
|
|
96498
|
+
line: 18,
|
|
96380
96499
|
column: 6
|
|
96381
96500
|
}
|
|
96382
96501
|
},
|
|
96383
96502
|
"2": {
|
|
96384
96503
|
start: {
|
|
96385
|
-
line:
|
|
96504
|
+
line: 22,
|
|
96386
96505
|
column: 4
|
|
96387
96506
|
},
|
|
96388
96507
|
end: {
|
|
96389
|
-
line:
|
|
96508
|
+
line: 68,
|
|
96390
96509
|
column: 6
|
|
96391
96510
|
}
|
|
96392
96511
|
},
|
|
96393
96512
|
"3": {
|
|
96394
96513
|
start: {
|
|
96395
|
-
line:
|
|
96514
|
+
line: 27,
|
|
96396
96515
|
column: 14
|
|
96397
96516
|
},
|
|
96398
96517
|
end: {
|
|
96399
|
-
line:
|
|
96518
|
+
line: 27,
|
|
96400
96519
|
column: 74
|
|
96401
96520
|
}
|
|
96402
96521
|
},
|
|
96403
96522
|
"4": {
|
|
96404
96523
|
start: {
|
|
96405
|
-
line:
|
|
96524
|
+
line: 28,
|
|
96406
96525
|
column: 31
|
|
96407
96526
|
},
|
|
96408
96527
|
end: {
|
|
96409
|
-
line:
|
|
96528
|
+
line: 28,
|
|
96410
96529
|
column: 40
|
|
96411
96530
|
}
|
|
96412
96531
|
},
|
|
96413
96532
|
"5": {
|
|
96414
96533
|
start: {
|
|
96415
|
-
line:
|
|
96534
|
+
line: 29,
|
|
96416
96535
|
column: 32
|
|
96417
96536
|
},
|
|
96418
96537
|
end: {
|
|
96419
|
-
line:
|
|
96538
|
+
line: 29,
|
|
96420
96539
|
column: 34
|
|
96421
96540
|
}
|
|
96422
96541
|
},
|
|
96423
96542
|
"6": {
|
|
96424
96543
|
start: {
|
|
96425
|
-
line:
|
|
96544
|
+
line: 31,
|
|
96426
96545
|
column: 12
|
|
96427
96546
|
},
|
|
96428
96547
|
end: {
|
|
96429
|
-
line:
|
|
96548
|
+
line: 33,
|
|
96430
96549
|
column: 13
|
|
96431
96550
|
}
|
|
96432
96551
|
},
|
|
96433
96552
|
"7": {
|
|
96434
96553
|
start: {
|
|
96435
|
-
line:
|
|
96554
|
+
line: 32,
|
|
96436
96555
|
column: 14
|
|
96437
96556
|
},
|
|
96438
96557
|
end: {
|
|
96439
|
-
line:
|
|
96558
|
+
line: 32,
|
|
96440
96559
|
column: 26
|
|
96441
96560
|
}
|
|
96442
96561
|
},
|
|
96443
96562
|
"8": {
|
|
96444
96563
|
start: {
|
|
96445
|
-
line:
|
|
96564
|
+
line: 35,
|
|
96446
96565
|
column: 12
|
|
96447
96566
|
},
|
|
96448
96567
|
end: {
|
|
96449
|
-
line:
|
|
96568
|
+
line: 62,
|
|
96450
96569
|
column: 15
|
|
96451
96570
|
}
|
|
96452
96571
|
},
|
|
96453
96572
|
"9": {
|
|
96454
96573
|
start: {
|
|
96455
|
-
line:
|
|
96574
|
+
line: 36,
|
|
96456
96575
|
column: 32
|
|
96457
96576
|
},
|
|
96458
96577
|
end: {
|
|
96459
|
-
line:
|
|
96578
|
+
line: 36,
|
|
96460
96579
|
column: 78
|
|
96461
96580
|
}
|
|
96462
96581
|
},
|
|
96463
96582
|
"10": {
|
|
96464
96583
|
start: {
|
|
96465
|
-
line:
|
|
96584
|
+
line: 37,
|
|
96466
96585
|
column: 30
|
|
96467
96586
|
},
|
|
96468
96587
|
end: {
|
|
96469
|
-
line:
|
|
96588
|
+
line: 37,
|
|
96470
96589
|
column: 62
|
|
96471
96590
|
}
|
|
96472
96591
|
},
|
|
96473
96592
|
"11": {
|
|
96474
96593
|
start: {
|
|
96475
|
-
line:
|
|
96594
|
+
line: 39,
|
|
96476
96595
|
column: 33
|
|
96477
96596
|
},
|
|
96478
96597
|
end: {
|
|
96479
|
-
line:
|
|
96598
|
+
line: 41,
|
|
96480
96599
|
column: 15
|
|
96481
96600
|
}
|
|
96482
96601
|
},
|
|
96483
96602
|
"12": {
|
|
96484
96603
|
start: {
|
|
96485
|
-
line:
|
|
96604
|
+
line: 43,
|
|
96486
96605
|
column: 14
|
|
96487
96606
|
},
|
|
96488
96607
|
end: {
|
|
96489
|
-
line:
|
|
96608
|
+
line: 59,
|
|
96490
96609
|
column: 15
|
|
96491
96610
|
}
|
|
96492
96611
|
},
|
|
96493
96612
|
"13": {
|
|
96494
96613
|
start: {
|
|
96495
|
-
line:
|
|
96614
|
+
line: 48,
|
|
96496
96615
|
column: 32
|
|
96497
96616
|
},
|
|
96498
96617
|
end: {
|
|
96499
|
-
line:
|
|
96618
|
+
line: 48,
|
|
96500
96619
|
column: 61
|
|
96501
96620
|
}
|
|
96502
96621
|
},
|
|
96503
96622
|
"14": {
|
|
96504
96623
|
start: {
|
|
96505
|
-
line:
|
|
96624
|
+
line: 50,
|
|
96506
96625
|
column: 16
|
|
96507
96626
|
},
|
|
96508
96627
|
end: {
|
|
96509
|
-
line:
|
|
96628
|
+
line: 52,
|
|
96510
96629
|
column: 17
|
|
96511
96630
|
}
|
|
96512
96631
|
},
|
|
96513
96632
|
"15": {
|
|
96514
96633
|
start: {
|
|
96515
|
-
line:
|
|
96634
|
+
line: 51,
|
|
96516
96635
|
column: 18
|
|
96517
96636
|
},
|
|
96518
96637
|
end: {
|
|
96519
|
-
line:
|
|
96638
|
+
line: 51,
|
|
96520
96639
|
column: 62
|
|
96521
96640
|
}
|
|
96522
96641
|
},
|
|
96523
96642
|
"16": {
|
|
96524
96643
|
start: {
|
|
96525
|
-
line:
|
|
96644
|
+
line: 54,
|
|
96526
96645
|
column: 35
|
|
96527
96646
|
},
|
|
96528
96647
|
end: {
|
|
96529
|
-
line:
|
|
96648
|
+
line: 57,
|
|
96530
96649
|
column: 18
|
|
96531
96650
|
}
|
|
96532
96651
|
},
|
|
96533
96652
|
"17": {
|
|
96534
96653
|
start: {
|
|
96535
|
-
line:
|
|
96654
|
+
line: 58,
|
|
96536
96655
|
column: 16
|
|
96537
96656
|
},
|
|
96538
96657
|
end: {
|
|
96539
|
-
line:
|
|
96658
|
+
line: 58,
|
|
96540
96659
|
column: 45
|
|
96541
96660
|
}
|
|
96542
96661
|
},
|
|
96543
96662
|
"18": {
|
|
96544
96663
|
start: {
|
|
96545
|
-
line:
|
|
96664
|
+
line: 61,
|
|
96546
96665
|
column: 14
|
|
96547
96666
|
},
|
|
96548
96667
|
end: {
|
|
96549
|
-
line:
|
|
96668
|
+
line: 61,
|
|
96550
96669
|
column: 50
|
|
96551
96670
|
}
|
|
96552
96671
|
},
|
|
96553
96672
|
"19": {
|
|
96554
96673
|
start: {
|
|
96555
|
-
line:
|
|
96674
|
+
line: 64,
|
|
96556
96675
|
column: 12
|
|
96557
96676
|
},
|
|
96558
96677
|
end: {
|
|
96559
|
-
line:
|
|
96678
|
+
line: 64,
|
|
96560
96679
|
column: 58
|
|
96561
96680
|
}
|
|
96562
96681
|
}
|
|
@@ -96566,152 +96685,152 @@ function cov_134mrrjy5g() {
|
|
|
96566
96685
|
name: "(anonymous_0)",
|
|
96567
96686
|
decl: {
|
|
96568
96687
|
start: {
|
|
96569
|
-
line:
|
|
96688
|
+
line: 9,
|
|
96570
96689
|
column: 2
|
|
96571
96690
|
},
|
|
96572
96691
|
end: {
|
|
96573
|
-
line:
|
|
96692
|
+
line: 9,
|
|
96574
96693
|
column: 3
|
|
96575
96694
|
}
|
|
96576
96695
|
},
|
|
96577
96696
|
loc: {
|
|
96578
96697
|
start: {
|
|
96579
|
-
line:
|
|
96698
|
+
line: 9,
|
|
96580
96699
|
column: 15
|
|
96581
96700
|
},
|
|
96582
96701
|
end: {
|
|
96583
|
-
line:
|
|
96702
|
+
line: 19,
|
|
96584
96703
|
column: 3
|
|
96585
96704
|
}
|
|
96586
96705
|
},
|
|
96587
|
-
line:
|
|
96706
|
+
line: 9
|
|
96588
96707
|
},
|
|
96589
96708
|
"1": {
|
|
96590
96709
|
name: "(anonymous_1)",
|
|
96591
96710
|
decl: {
|
|
96592
96711
|
start: {
|
|
96593
|
-
line:
|
|
96712
|
+
line: 21,
|
|
96594
96713
|
column: 2
|
|
96595
96714
|
},
|
|
96596
96715
|
end: {
|
|
96597
|
-
line:
|
|
96716
|
+
line: 21,
|
|
96598
96717
|
column: 3
|
|
96599
96718
|
}
|
|
96600
96719
|
},
|
|
96601
96720
|
loc: {
|
|
96602
96721
|
start: {
|
|
96603
|
-
line:
|
|
96722
|
+
line: 21,
|
|
96604
96723
|
column: 26
|
|
96605
96724
|
},
|
|
96606
96725
|
end: {
|
|
96607
|
-
line:
|
|
96726
|
+
line: 69,
|
|
96608
96727
|
column: 3
|
|
96609
96728
|
}
|
|
96610
96729
|
},
|
|
96611
|
-
line:
|
|
96730
|
+
line: 21
|
|
96612
96731
|
},
|
|
96613
96732
|
"2": {
|
|
96614
96733
|
name: "(anonymous_2)",
|
|
96615
96734
|
decl: {
|
|
96616
96735
|
start: {
|
|
96617
|
-
line:
|
|
96736
|
+
line: 25,
|
|
96618
96737
|
column: 23
|
|
96619
96738
|
},
|
|
96620
96739
|
end: {
|
|
96621
|
-
line:
|
|
96740
|
+
line: 25,
|
|
96622
96741
|
column: 24
|
|
96623
96742
|
}
|
|
96624
96743
|
},
|
|
96625
96744
|
loc: {
|
|
96626
96745
|
start: {
|
|
96627
|
-
line:
|
|
96746
|
+
line: 25,
|
|
96628
96747
|
column: 47
|
|
96629
96748
|
},
|
|
96630
96749
|
end: {
|
|
96631
|
-
line:
|
|
96750
|
+
line: 65,
|
|
96632
96751
|
column: 11
|
|
96633
96752
|
}
|
|
96634
96753
|
},
|
|
96635
|
-
line:
|
|
96754
|
+
line: 25
|
|
96636
96755
|
},
|
|
96637
96756
|
"3": {
|
|
96638
96757
|
name: "(anonymous_3)",
|
|
96639
96758
|
decl: {
|
|
96640
96759
|
start: {
|
|
96641
|
-
line:
|
|
96760
|
+
line: 35,
|
|
96642
96761
|
column: 28
|
|
96643
96762
|
},
|
|
96644
96763
|
end: {
|
|
96645
|
-
line:
|
|
96764
|
+
line: 35,
|
|
96646
96765
|
column: 29
|
|
96647
96766
|
}
|
|
96648
96767
|
},
|
|
96649
96768
|
loc: {
|
|
96650
96769
|
start: {
|
|
96651
|
-
line:
|
|
96770
|
+
line: 35,
|
|
96652
96771
|
column: 43
|
|
96653
96772
|
},
|
|
96654
96773
|
end: {
|
|
96655
|
-
line:
|
|
96774
|
+
line: 62,
|
|
96656
96775
|
column: 13
|
|
96657
96776
|
}
|
|
96658
96777
|
},
|
|
96659
|
-
line:
|
|
96778
|
+
line: 35
|
|
96660
96779
|
}
|
|
96661
96780
|
},
|
|
96662
96781
|
branchMap: {
|
|
96663
96782
|
"0": {
|
|
96664
96783
|
loc: {
|
|
96665
96784
|
start: {
|
|
96666
|
-
line:
|
|
96785
|
+
line: 27,
|
|
96667
96786
|
column: 14
|
|
96668
96787
|
},
|
|
96669
96788
|
end: {
|
|
96670
|
-
line:
|
|
96789
|
+
line: 27,
|
|
96671
96790
|
column: 74
|
|
96672
96791
|
}
|
|
96673
96792
|
},
|
|
96674
96793
|
type: "binary-expr",
|
|
96675
96794
|
locations: [{
|
|
96676
96795
|
start: {
|
|
96677
|
-
line:
|
|
96796
|
+
line: 27,
|
|
96678
96797
|
column: 14
|
|
96679
96798
|
},
|
|
96680
96799
|
end: {
|
|
96681
|
-
line:
|
|
96800
|
+
line: 27,
|
|
96682
96801
|
column: 36
|
|
96683
96802
|
}
|
|
96684
96803
|
}, {
|
|
96685
96804
|
start: {
|
|
96686
|
-
line:
|
|
96805
|
+
line: 27,
|
|
96687
96806
|
column: 40
|
|
96688
96807
|
},
|
|
96689
96808
|
end: {
|
|
96690
|
-
line:
|
|
96809
|
+
line: 27,
|
|
96691
96810
|
column: 74
|
|
96692
96811
|
}
|
|
96693
96812
|
}],
|
|
96694
|
-
line:
|
|
96813
|
+
line: 27
|
|
96695
96814
|
},
|
|
96696
96815
|
"1": {
|
|
96697
96816
|
loc: {
|
|
96698
96817
|
start: {
|
|
96699
|
-
line:
|
|
96818
|
+
line: 31,
|
|
96700
96819
|
column: 12
|
|
96701
96820
|
},
|
|
96702
96821
|
end: {
|
|
96703
|
-
line:
|
|
96822
|
+
line: 33,
|
|
96704
96823
|
column: 13
|
|
96705
96824
|
}
|
|
96706
96825
|
},
|
|
96707
96826
|
type: "if",
|
|
96708
96827
|
locations: [{
|
|
96709
96828
|
start: {
|
|
96710
|
-
line:
|
|
96829
|
+
line: 31,
|
|
96711
96830
|
column: 12
|
|
96712
96831
|
},
|
|
96713
96832
|
end: {
|
|
96714
|
-
line:
|
|
96833
|
+
line: 33,
|
|
96715
96834
|
column: 13
|
|
96716
96835
|
}
|
|
96717
96836
|
}, {
|
|
@@ -96724,93 +96843,93 @@ function cov_134mrrjy5g() {
|
|
|
96724
96843
|
column: undefined
|
|
96725
96844
|
}
|
|
96726
96845
|
}],
|
|
96727
|
-
line:
|
|
96846
|
+
line: 31
|
|
96728
96847
|
},
|
|
96729
96848
|
"2": {
|
|
96730
96849
|
loc: {
|
|
96731
96850
|
start: {
|
|
96732
|
-
line:
|
|
96851
|
+
line: 36,
|
|
96733
96852
|
column: 32
|
|
96734
96853
|
},
|
|
96735
96854
|
end: {
|
|
96736
|
-
line:
|
|
96855
|
+
line: 36,
|
|
96737
96856
|
column: 78
|
|
96738
96857
|
}
|
|
96739
96858
|
},
|
|
96740
96859
|
type: "binary-expr",
|
|
96741
96860
|
locations: [{
|
|
96742
96861
|
start: {
|
|
96743
|
-
line:
|
|
96862
|
+
line: 36,
|
|
96744
96863
|
column: 32
|
|
96745
96864
|
},
|
|
96746
96865
|
end: {
|
|
96747
|
-
line:
|
|
96866
|
+
line: 36,
|
|
96748
96867
|
column: 45
|
|
96749
96868
|
}
|
|
96750
96869
|
}, {
|
|
96751
96870
|
start: {
|
|
96752
|
-
line:
|
|
96871
|
+
line: 36,
|
|
96753
96872
|
column: 49
|
|
96754
96873
|
},
|
|
96755
96874
|
end: {
|
|
96756
|
-
line:
|
|
96875
|
+
line: 36,
|
|
96757
96876
|
column: 78
|
|
96758
96877
|
}
|
|
96759
96878
|
}],
|
|
96760
|
-
line:
|
|
96879
|
+
line: 36
|
|
96761
96880
|
},
|
|
96762
96881
|
"3": {
|
|
96763
96882
|
loc: {
|
|
96764
96883
|
start: {
|
|
96765
|
-
line:
|
|
96884
|
+
line: 37,
|
|
96766
96885
|
column: 30
|
|
96767
96886
|
},
|
|
96768
96887
|
end: {
|
|
96769
|
-
line:
|
|
96888
|
+
line: 37,
|
|
96770
96889
|
column: 62
|
|
96771
96890
|
}
|
|
96772
96891
|
},
|
|
96773
96892
|
type: "binary-expr",
|
|
96774
96893
|
locations: [{
|
|
96775
96894
|
start: {
|
|
96776
|
-
line:
|
|
96895
|
+
line: 37,
|
|
96777
96896
|
column: 30
|
|
96778
96897
|
},
|
|
96779
96898
|
end: {
|
|
96780
|
-
line:
|
|
96899
|
+
line: 37,
|
|
96781
96900
|
column: 42
|
|
96782
96901
|
}
|
|
96783
96902
|
}, {
|
|
96784
96903
|
start: {
|
|
96785
|
-
line:
|
|
96904
|
+
line: 37,
|
|
96786
96905
|
column: 46
|
|
96787
96906
|
},
|
|
96788
96907
|
end: {
|
|
96789
|
-
line:
|
|
96908
|
+
line: 37,
|
|
96790
96909
|
column: 62
|
|
96791
96910
|
}
|
|
96792
96911
|
}],
|
|
96793
|
-
line:
|
|
96912
|
+
line: 37
|
|
96794
96913
|
},
|
|
96795
96914
|
"4": {
|
|
96796
96915
|
loc: {
|
|
96797
96916
|
start: {
|
|
96798
|
-
line:
|
|
96917
|
+
line: 43,
|
|
96799
96918
|
column: 14
|
|
96800
96919
|
},
|
|
96801
96920
|
end: {
|
|
96802
|
-
line:
|
|
96921
|
+
line: 59,
|
|
96803
96922
|
column: 15
|
|
96804
96923
|
}
|
|
96805
96924
|
},
|
|
96806
96925
|
type: "if",
|
|
96807
96926
|
locations: [{
|
|
96808
96927
|
start: {
|
|
96809
|
-
line:
|
|
96928
|
+
line: 43,
|
|
96810
96929
|
column: 14
|
|
96811
96930
|
},
|
|
96812
96931
|
end: {
|
|
96813
|
-
line:
|
|
96932
|
+
line: 59,
|
|
96814
96933
|
column: 15
|
|
96815
96934
|
}
|
|
96816
96935
|
}, {
|
|
@@ -96823,78 +96942,78 @@ function cov_134mrrjy5g() {
|
|
|
96823
96942
|
column: undefined
|
|
96824
96943
|
}
|
|
96825
96944
|
}],
|
|
96826
|
-
line:
|
|
96945
|
+
line: 43
|
|
96827
96946
|
},
|
|
96828
96947
|
"5": {
|
|
96829
96948
|
loc: {
|
|
96830
96949
|
start: {
|
|
96831
|
-
line:
|
|
96950
|
+
line: 44,
|
|
96832
96951
|
column: 16
|
|
96833
96952
|
},
|
|
96834
96953
|
end: {
|
|
96835
|
-
line:
|
|
96954
|
+
line: 46,
|
|
96836
96955
|
column: 23
|
|
96837
96956
|
}
|
|
96838
96957
|
},
|
|
96839
96958
|
type: "binary-expr",
|
|
96840
96959
|
locations: [{
|
|
96841
96960
|
start: {
|
|
96842
|
-
line:
|
|
96961
|
+
line: 44,
|
|
96843
96962
|
column: 17
|
|
96844
96963
|
},
|
|
96845
96964
|
end: {
|
|
96846
|
-
line:
|
|
96965
|
+
line: 44,
|
|
96847
96966
|
column: 26
|
|
96848
96967
|
}
|
|
96849
96968
|
}, {
|
|
96850
96969
|
start: {
|
|
96851
|
-
line:
|
|
96970
|
+
line: 44,
|
|
96852
96971
|
column: 30
|
|
96853
96972
|
},
|
|
96854
96973
|
end: {
|
|
96855
|
-
line:
|
|
96974
|
+
line: 44,
|
|
96856
96975
|
column: 59
|
|
96857
96976
|
}
|
|
96858
96977
|
}, {
|
|
96859
96978
|
start: {
|
|
96860
|
-
line:
|
|
96979
|
+
line: 45,
|
|
96861
96980
|
column: 16
|
|
96862
96981
|
},
|
|
96863
96982
|
end: {
|
|
96864
|
-
line:
|
|
96983
|
+
line: 45,
|
|
96865
96984
|
column: 27
|
|
96866
96985
|
}
|
|
96867
96986
|
}, {
|
|
96868
96987
|
start: {
|
|
96869
|
-
line:
|
|
96988
|
+
line: 46,
|
|
96870
96989
|
column: 16
|
|
96871
96990
|
},
|
|
96872
96991
|
end: {
|
|
96873
|
-
line:
|
|
96992
|
+
line: 46,
|
|
96874
96993
|
column: 23
|
|
96875
96994
|
}
|
|
96876
96995
|
}],
|
|
96877
|
-
line:
|
|
96996
|
+
line: 44
|
|
96878
96997
|
},
|
|
96879
96998
|
"6": {
|
|
96880
96999
|
loc: {
|
|
96881
97000
|
start: {
|
|
96882
|
-
line:
|
|
97001
|
+
line: 50,
|
|
96883
97002
|
column: 16
|
|
96884
97003
|
},
|
|
96885
97004
|
end: {
|
|
96886
|
-
line:
|
|
97005
|
+
line: 52,
|
|
96887
97006
|
column: 17
|
|
96888
97007
|
}
|
|
96889
97008
|
},
|
|
96890
97009
|
type: "if",
|
|
96891
97010
|
locations: [{
|
|
96892
97011
|
start: {
|
|
96893
|
-
line:
|
|
97012
|
+
line: 50,
|
|
96894
97013
|
column: 16
|
|
96895
97014
|
},
|
|
96896
97015
|
end: {
|
|
96897
|
-
line:
|
|
97016
|
+
line: 52,
|
|
96898
97017
|
column: 17
|
|
96899
97018
|
}
|
|
96900
97019
|
}, {
|
|
@@ -96907,7 +97026,7 @@ function cov_134mrrjy5g() {
|
|
|
96907
97026
|
column: undefined
|
|
96908
97027
|
}
|
|
96909
97028
|
}],
|
|
96910
|
-
line:
|
|
97029
|
+
line: 50
|
|
96911
97030
|
}
|
|
96912
97031
|
},
|
|
96913
97032
|
s: {
|
|
@@ -96948,7 +97067,7 @@ function cov_134mrrjy5g() {
|
|
|
96948
97067
|
"6": [0, 0]
|
|
96949
97068
|
},
|
|
96950
97069
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
96951
|
-
hash: "
|
|
97070
|
+
hash: "a628a59bba8d6c190faea7f50c6e8fcbc3298925"
|
|
96952
97071
|
};
|
|
96953
97072
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
96954
97073
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -96973,7 +97092,7 @@ var Placeholder = (cov_134mrrjy5g().s[0]++, Extension.create({
|
|
|
96973
97092
|
excludeNodeTypes: ["variable", "codeBlock"],
|
|
96974
97093
|
emptyEditorClass: "is-editor-empty",
|
|
96975
97094
|
emptyNodeClass: "is-empty",
|
|
96976
|
-
placeholder: "
|
|
97095
|
+
placeholder: t$7("placeholders.writeSomething"),
|
|
96977
97096
|
showOnlyWhenEditable: true,
|
|
96978
97097
|
showOnlyCurrent: false,
|
|
96979
97098
|
includeChildren: false
|
|
@@ -110391,7 +110510,7 @@ var Progress = function Progress(_ref) {
|
|
|
110391
110510
|
|
|
110392
110511
|
function cov_23n4f4s494() {
|
|
110393
110512
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/LocalUploader.jsx";
|
|
110394
|
-
var hash = "
|
|
110513
|
+
var hash = "228328f91dabecbd733a3c0d2052582c71588b8a";
|
|
110395
110514
|
var global = new Function("return this")();
|
|
110396
110515
|
var gcv = "__coverage__";
|
|
110397
110516
|
var coverageData = {
|
|
@@ -110403,7 +110522,7 @@ function cov_23n4f4s494() {
|
|
|
110403
110522
|
column: 22
|
|
110404
110523
|
},
|
|
110405
110524
|
end: {
|
|
110406
|
-
line:
|
|
110525
|
+
line: 146,
|
|
110407
110526
|
column: 1
|
|
110408
110527
|
}
|
|
110409
110528
|
},
|
|
@@ -110534,7 +110653,7 @@ function cov_23n4f4s494() {
|
|
|
110534
110653
|
},
|
|
110535
110654
|
end: {
|
|
110536
110655
|
line: 55,
|
|
110537
|
-
column:
|
|
110656
|
+
column: 50
|
|
110538
110657
|
}
|
|
110539
110658
|
},
|
|
110540
110659
|
"14": {
|
|
@@ -110813,7 +110932,7 @@ function cov_23n4f4s494() {
|
|
|
110813
110932
|
column: 2
|
|
110814
110933
|
},
|
|
110815
110934
|
end: {
|
|
110816
|
-
line:
|
|
110935
|
+
line: 145,
|
|
110817
110936
|
column: 4
|
|
110818
110937
|
}
|
|
110819
110938
|
},
|
|
@@ -110847,7 +110966,7 @@ function cov_23n4f4s494() {
|
|
|
110847
110966
|
column: 6
|
|
110848
110967
|
},
|
|
110849
110968
|
end: {
|
|
110850
|
-
line:
|
|
110969
|
+
line: 146,
|
|
110851
110970
|
column: 1
|
|
110852
110971
|
}
|
|
110853
110972
|
},
|
|
@@ -111333,7 +111452,7 @@ function cov_23n4f4s494() {
|
|
|
111333
111452
|
column: 9
|
|
111334
111453
|
},
|
|
111335
111454
|
end: {
|
|
111336
|
-
line:
|
|
111455
|
+
line: 145,
|
|
111337
111456
|
column: 3
|
|
111338
111457
|
}
|
|
111339
111458
|
},
|
|
@@ -111353,7 +111472,7 @@ function cov_23n4f4s494() {
|
|
|
111353
111472
|
column: 4
|
|
111354
111473
|
},
|
|
111355
111474
|
end: {
|
|
111356
|
-
line:
|
|
111475
|
+
line: 144,
|
|
111357
111476
|
column: 10
|
|
111358
111477
|
}
|
|
111359
111478
|
}],
|
|
@@ -111497,7 +111616,7 @@ function cov_23n4f4s494() {
|
|
|
111497
111616
|
"9": [0, 0]
|
|
111498
111617
|
},
|
|
111499
111618
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
111500
|
-
hash: "
|
|
111619
|
+
hash: "228328f91dabecbd733a3c0d2052582c71588b8a"
|
|
111501
111620
|
};
|
|
111502
111621
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
111503
111622
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -111555,10 +111674,10 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
111555
111674
|
});
|
|
111556
111675
|
} catch (error) {
|
|
111557
111676
|
cov_23n4f4s494().s[12]++;
|
|
111558
|
-
if (error.message !== t("error.
|
|
111677
|
+
if (error.message !== t("error.onBeforeFileAddedReturn")) {
|
|
111559
111678
|
cov_23n4f4s494().b[1][0]++;
|
|
111560
111679
|
cov_23n4f4s494().s[13]++;
|
|
111561
|
-
neetoui.Toastr.error(t("error.
|
|
111680
|
+
neetoui.Toastr.error(t("error.cannotAddFiles"));
|
|
111562
111681
|
} else {
|
|
111563
111682
|
cov_23n4f4s494().b[1][1]++;
|
|
111564
111683
|
}
|
|
@@ -111706,9 +111825,9 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
111706
111825
|
size: 24
|
|
111707
111826
|
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
111708
111827
|
style: "body2"
|
|
111709
|
-
}, t("
|
|
111828
|
+
}, t("localUploader.dropFilesHere")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
111710
111829
|
style: "body3"
|
|
111711
|
-
}, t("
|
|
111830
|
+
}, t("localUploader.maxFileSize", {
|
|
111712
111831
|
entity: convertToFileSize(uppyConfig.restrictions.maxFileSize)
|
|
111713
111832
|
}))));
|
|
111714
111833
|
};
|
|
@@ -113949,7 +114068,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113949
114068
|
className: "neeto-editor-unsplash-search",
|
|
113950
114069
|
"data-cy": "neeto-editor-unsplash-image-picker-search-input",
|
|
113951
114070
|
name: "text",
|
|
113952
|
-
placeholder: t("placeholders.
|
|
114071
|
+
placeholder: t("placeholders.searchUnsplash"),
|
|
113953
114072
|
value: query,
|
|
113954
114073
|
onChange: function onChange(_ref17) {
|
|
113955
114074
|
var value = _ref17.target.value;
|
|
@@ -113960,10 +114079,10 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113960
114079
|
}), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
113961
114080
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113962
114081
|
"data-cy": "neeto-editor-unsplash-image-picker-error"
|
|
113963
|
-
}, t("unsplash.
|
|
114082
|
+
}, 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", {
|
|
113964
114083
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113965
114084
|
"data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
|
|
113966
|
-
}, t("unsplash.
|
|
114085
|
+
}, t("unsplash.noResults"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
113967
114086
|
className: "neeto-editor-unsplash-container"
|
|
113968
114087
|
}, /*#__PURE__*/React__default["default"].createElement(_default, {
|
|
113969
114088
|
pack: true,
|
|
@@ -114023,7 +114142,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
114023
114142
|
|
|
114024
114143
|
function cov_27js347t20() {
|
|
114025
114144
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/URLForm.jsx";
|
|
114026
|
-
var hash = "
|
|
114145
|
+
var hash = "64f6e777b460cc0b185cf55000b00290516bae82";
|
|
114027
114146
|
var global = new Function("return this")();
|
|
114028
114147
|
var gcv = "__coverage__";
|
|
114029
114148
|
var coverageData = {
|
|
@@ -114096,7 +114215,7 @@ function cov_27js347t20() {
|
|
|
114096
114215
|
},
|
|
114097
114216
|
end: {
|
|
114098
114217
|
line: 24,
|
|
114099
|
-
column:
|
|
114218
|
+
column: 40
|
|
114100
114219
|
}
|
|
114101
114220
|
},
|
|
114102
114221
|
"7": {
|
|
@@ -114285,7 +114404,7 @@ function cov_27js347t20() {
|
|
|
114285
114404
|
},
|
|
114286
114405
|
end: {
|
|
114287
114406
|
line: 24,
|
|
114288
|
-
column:
|
|
114407
|
+
column: 39
|
|
114289
114408
|
}
|
|
114290
114409
|
},
|
|
114291
114410
|
type: "cond-expr",
|
|
@@ -114305,7 +114424,7 @@ function cov_27js347t20() {
|
|
|
114305
114424
|
},
|
|
114306
114425
|
end: {
|
|
114307
114426
|
line: 24,
|
|
114308
|
-
column:
|
|
114427
|
+
column: 39
|
|
114309
114428
|
}
|
|
114310
114429
|
}],
|
|
114311
114430
|
line: 22
|
|
@@ -114335,7 +114454,7 @@ function cov_27js347t20() {
|
|
|
114335
114454
|
"2": [0, 0]
|
|
114336
114455
|
},
|
|
114337
114456
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
114338
|
-
hash: "
|
|
114457
|
+
hash: "64f6e777b460cc0b185cf55000b00290516bae82"
|
|
114339
114458
|
};
|
|
114340
114459
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
114341
114460
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -114376,7 +114495,7 @@ var URLForm = function URLForm(_ref) {
|
|
|
114376
114495
|
cov_27js347t20().s[5]++;
|
|
114377
114496
|
event.preventDefault();
|
|
114378
114497
|
cov_27js347t20().s[6]++;
|
|
114379
|
-
URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.
|
|
114498
|
+
URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.invalidUrl")));
|
|
114380
114499
|
};
|
|
114381
114500
|
cov_27js347t20().s[7]++;
|
|
114382
114501
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -115317,7 +115436,7 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
115317
115436
|
setIsUploading: setIsUploading,
|
|
115318
115437
|
onClose: handleClose
|
|
115319
115438
|
})), (cov_2h3d0peoqk().b[8][0]++, activeTab === "link") && (cov_2h3d0peoqk().b[8][1]++, /*#__PURE__*/React__default["default"].createElement(URLForm, {
|
|
115320
|
-
placeholder: t("placeholders.
|
|
115439
|
+
placeholder: t("placeholders.pasteLink"),
|
|
115321
115440
|
buttonLabel: mediaUploader.image ? (cov_2h3d0peoqk().b[9][0]++, "Upload image") : (cov_2h3d0peoqk().b[9][1]++, "Upload video"),
|
|
115322
115441
|
onSubmit: handleSubmit
|
|
115323
115442
|
})), (cov_2h3d0peoqk().b[10][0]++, activeTab === "unsplash") && (cov_2h3d0peoqk().b[10][1]++, /*#__PURE__*/React__default["default"].createElement(UnsplashImagePicker, {
|
|
@@ -116100,7 +116219,7 @@ var LinkOption$1 = function LinkOption(_ref) {
|
|
|
116100
116219
|
className: "neeto-editor-bubble-menu-link__input",
|
|
116101
116220
|
"data-cy": "neeto-editor-link-input",
|
|
116102
116221
|
name: "url",
|
|
116103
|
-
placeholder: t("placeholders.
|
|
116222
|
+
placeholder: t("placeholders.linkInput"),
|
|
116104
116223
|
value: link,
|
|
116105
116224
|
onChange: function onChange(_ref5) {
|
|
116106
116225
|
var value = _ref5.target.value;
|
|
@@ -116251,7 +116370,7 @@ cov_1f30l00ho7().s[3]++;
|
|
|
116251
116370
|
|
|
116252
116371
|
function cov_17cji89s6g() {
|
|
116253
116372
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/constants.js";
|
|
116254
|
-
var hash = "
|
|
116373
|
+
var hash = "0d171f78d6b9fa675757eea0d67e3935108691d0";
|
|
116255
116374
|
var global = new Function("return this")();
|
|
116256
116375
|
var gcv = "__coverage__";
|
|
116257
116376
|
var coverageData = {
|
|
@@ -117324,7 +117443,7 @@ function cov_17cji89s6g() {
|
|
|
117324
117443
|
},
|
|
117325
117444
|
end: {
|
|
117326
117445
|
line: 76,
|
|
117327
|
-
column:
|
|
117446
|
+
column: 58
|
|
117328
117447
|
}
|
|
117329
117448
|
},
|
|
117330
117449
|
type: "binary-expr",
|
|
@@ -117344,7 +117463,7 @@ function cov_17cji89s6g() {
|
|
|
117344
117463
|
},
|
|
117345
117464
|
end: {
|
|
117346
117465
|
line: 76,
|
|
117347
|
-
column:
|
|
117466
|
+
column: 58
|
|
117348
117467
|
}
|
|
117349
117468
|
}],
|
|
117350
117469
|
line: 76
|
|
@@ -117390,7 +117509,7 @@ function cov_17cji89s6g() {
|
|
|
117390
117509
|
},
|
|
117391
117510
|
end: {
|
|
117392
117511
|
line: 90,
|
|
117393
|
-
column:
|
|
117512
|
+
column: 56
|
|
117394
117513
|
}
|
|
117395
117514
|
},
|
|
117396
117515
|
type: "binary-expr",
|
|
@@ -117410,7 +117529,7 @@ function cov_17cji89s6g() {
|
|
|
117410
117529
|
},
|
|
117411
117530
|
end: {
|
|
117412
117531
|
line: 90,
|
|
117413
|
-
column:
|
|
117532
|
+
column: 56
|
|
117414
117533
|
}
|
|
117415
117534
|
}],
|
|
117416
117535
|
line: 90
|
|
@@ -117423,7 +117542,7 @@ function cov_17cji89s6g() {
|
|
|
117423
117542
|
},
|
|
117424
117543
|
end: {
|
|
117425
117544
|
line: 100,
|
|
117426
|
-
column:
|
|
117545
|
+
column: 60
|
|
117427
117546
|
}
|
|
117428
117547
|
},
|
|
117429
117548
|
type: "binary-expr",
|
|
@@ -117443,7 +117562,7 @@ function cov_17cji89s6g() {
|
|
|
117443
117562
|
},
|
|
117444
117563
|
end: {
|
|
117445
117564
|
line: 100,
|
|
117446
|
-
column:
|
|
117565
|
+
column: 60
|
|
117447
117566
|
}
|
|
117448
117567
|
}],
|
|
117449
117568
|
line: 100
|
|
@@ -117456,7 +117575,7 @@ function cov_17cji89s6g() {
|
|
|
117456
117575
|
},
|
|
117457
117576
|
end: {
|
|
117458
117577
|
line: 108,
|
|
117459
|
-
column:
|
|
117578
|
+
column: 60
|
|
117460
117579
|
}
|
|
117461
117580
|
},
|
|
117462
117581
|
type: "binary-expr",
|
|
@@ -117476,7 +117595,7 @@ function cov_17cji89s6g() {
|
|
|
117476
117595
|
},
|
|
117477
117596
|
end: {
|
|
117478
117597
|
line: 108,
|
|
117479
|
-
column:
|
|
117598
|
+
column: 60
|
|
117480
117599
|
}
|
|
117481
117600
|
}],
|
|
117482
117601
|
line: 108
|
|
@@ -117522,7 +117641,7 @@ function cov_17cji89s6g() {
|
|
|
117522
117641
|
},
|
|
117523
117642
|
end: {
|
|
117524
117643
|
line: 123,
|
|
117525
|
-
column:
|
|
117644
|
+
column: 60
|
|
117526
117645
|
}
|
|
117527
117646
|
},
|
|
117528
117647
|
type: "binary-expr",
|
|
@@ -117542,7 +117661,7 @@ function cov_17cji89s6g() {
|
|
|
117542
117661
|
},
|
|
117543
117662
|
end: {
|
|
117544
117663
|
line: 123,
|
|
117545
|
-
column:
|
|
117664
|
+
column: 60
|
|
117546
117665
|
}
|
|
117547
117666
|
}],
|
|
117548
117667
|
line: 123
|
|
@@ -117555,7 +117674,7 @@ function cov_17cji89s6g() {
|
|
|
117555
117674
|
},
|
|
117556
117675
|
end: {
|
|
117557
117676
|
line: 129,
|
|
117558
|
-
column:
|
|
117677
|
+
column: 60
|
|
117559
117678
|
}
|
|
117560
117679
|
},
|
|
117561
117680
|
type: "binary-expr",
|
|
@@ -117575,7 +117694,7 @@ function cov_17cji89s6g() {
|
|
|
117575
117694
|
},
|
|
117576
117695
|
end: {
|
|
117577
117696
|
line: 129,
|
|
117578
|
-
column:
|
|
117697
|
+
column: 60
|
|
117579
117698
|
}
|
|
117580
117699
|
}],
|
|
117581
117700
|
line: 129
|
|
@@ -117588,7 +117707,7 @@ function cov_17cji89s6g() {
|
|
|
117588
117707
|
},
|
|
117589
117708
|
end: {
|
|
117590
117709
|
line: 135,
|
|
117591
|
-
column:
|
|
117710
|
+
column: 58
|
|
117592
117711
|
}
|
|
117593
117712
|
},
|
|
117594
117713
|
type: "binary-expr",
|
|
@@ -117608,7 +117727,7 @@ function cov_17cji89s6g() {
|
|
|
117608
117727
|
},
|
|
117609
117728
|
end: {
|
|
117610
117729
|
line: 135,
|
|
117611
|
-
column:
|
|
117730
|
+
column: 58
|
|
117612
117731
|
}
|
|
117613
117732
|
}],
|
|
117614
117733
|
line: 135
|
|
@@ -117757,7 +117876,7 @@ function cov_17cji89s6g() {
|
|
|
117757
117876
|
"15": [0, 0]
|
|
117758
117877
|
},
|
|
117759
117878
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
117760
|
-
hash: "
|
|
117879
|
+
hash: "0d171f78d6b9fa675757eea0d67e3935108691d0"
|
|
117761
117880
|
};
|
|
117762
117881
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
117763
117882
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -117846,7 +117965,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117846
117965
|
active: editor.isActive("blockquote"),
|
|
117847
117966
|
optionName: "block-quote",
|
|
117848
117967
|
highlight: true,
|
|
117849
|
-
tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.
|
|
117968
|
+
tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.blockQuote"))
|
|
117850
117969
|
}, {
|
|
117851
117970
|
Icon: neetoIcons.Code,
|
|
117852
117971
|
command: function command() {
|
|
@@ -117866,7 +117985,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117866
117985
|
},
|
|
117867
117986
|
active: editor.isActive("codeBlock"),
|
|
117868
117987
|
optionName: "code-block",
|
|
117869
|
-
tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.
|
|
117988
|
+
tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.codeBlock"))
|
|
117870
117989
|
}],
|
|
117871
117990
|
list: [{
|
|
117872
117991
|
Icon: neetoIcons.ListDot,
|
|
@@ -117878,7 +117997,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117878
117997
|
active: editor.isActive("bulletList"),
|
|
117879
117998
|
optionName: "bullet-list",
|
|
117880
117999
|
highlight: true,
|
|
117881
|
-
tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.
|
|
118000
|
+
tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.bulletedList"))
|
|
117882
118001
|
}, {
|
|
117883
118002
|
Icon: neetoIcons.ListNumber,
|
|
117884
118003
|
command: function command() {
|
|
@@ -117889,7 +118008,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117889
118008
|
active: editor.isActive("orderedList"),
|
|
117890
118009
|
optionName: "ordered-list",
|
|
117891
118010
|
highlight: true,
|
|
117892
|
-
tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.
|
|
118011
|
+
tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.orderedList"))
|
|
117893
118012
|
}],
|
|
117894
118013
|
misc: [{
|
|
117895
118014
|
Icon: FileAttachments,
|
|
@@ -117905,7 +118024,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117905
118024
|
return setMediaUploader(ramda.assoc("image", true));
|
|
117906
118025
|
},
|
|
117907
118026
|
optionName: "image-upload",
|
|
117908
|
-
tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.
|
|
118027
|
+
tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.imageUpload"))
|
|
117909
118028
|
}, {
|
|
117910
118029
|
Icon: neetoIcons.Video,
|
|
117911
118030
|
command: function command() {
|
|
@@ -117914,7 +118033,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117914
118033
|
return setMediaUploader(ramda.assoc("video", true));
|
|
117915
118034
|
},
|
|
117916
118035
|
optionName: "video-upload",
|
|
117917
|
-
tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.
|
|
118036
|
+
tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.videoUpload"))
|
|
117918
118037
|
}, {
|
|
117919
118038
|
Icon: neetoIcons.MediaVideo,
|
|
117920
118039
|
command: function command() {
|
|
@@ -117923,7 +118042,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117923
118042
|
return setIsEmbedModalOpen(true);
|
|
117924
118043
|
},
|
|
117925
118044
|
optionName: "video-embed",
|
|
117926
|
-
tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.
|
|
118045
|
+
tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.videoEmbed"))
|
|
117927
118046
|
}],
|
|
117928
118047
|
right: [{
|
|
117929
118048
|
Icon: neetoIcons.Undo,
|
|
@@ -117973,49 +118092,49 @@ var TABLE_ACTIONS = function TABLE_ACTIONS(_ref3) {
|
|
|
117973
118092
|
cov_17cji89s6g().f[16]++;
|
|
117974
118093
|
cov_17cji89s6g().s[20]++;
|
|
117975
118094
|
return [{
|
|
117976
|
-
label: t$2("table.
|
|
118095
|
+
label: t$2("table.insertRow"),
|
|
117977
118096
|
command: function command() {
|
|
117978
118097
|
cov_17cji89s6g().f[17]++;
|
|
117979
118098
|
cov_17cji89s6g().s[21]++;
|
|
117980
118099
|
return editor.commands.addRowAfter();
|
|
117981
118100
|
}
|
|
117982
118101
|
}, {
|
|
117983
|
-
label: t$2("table.
|
|
118102
|
+
label: t$2("table.insertColumn"),
|
|
117984
118103
|
command: function command() {
|
|
117985
118104
|
cov_17cji89s6g().f[18]++;
|
|
117986
118105
|
cov_17cji89s6g().s[22]++;
|
|
117987
118106
|
return editor.commands.addColumnAfter();
|
|
117988
118107
|
}
|
|
117989
118108
|
}, {
|
|
117990
|
-
label: t$2("table.
|
|
118109
|
+
label: t$2("table.deleteRow"),
|
|
117991
118110
|
command: function command() {
|
|
117992
118111
|
cov_17cji89s6g().f[19]++;
|
|
117993
118112
|
cov_17cji89s6g().s[23]++;
|
|
117994
118113
|
return editor.chain().focus().deleteRow().run();
|
|
117995
118114
|
}
|
|
117996
118115
|
}, {
|
|
117997
|
-
label: t$2("table.
|
|
118116
|
+
label: t$2("table.deleteColumn"),
|
|
117998
118117
|
command: function command() {
|
|
117999
118118
|
cov_17cji89s6g().f[20]++;
|
|
118000
118119
|
cov_17cji89s6g().s[24]++;
|
|
118001
118120
|
return editor.chain().focus().deleteColumn().run();
|
|
118002
118121
|
}
|
|
118003
118122
|
}, {
|
|
118004
|
-
label: t$2("table.
|
|
118123
|
+
label: t$2("table.mergeSplit"),
|
|
118005
118124
|
command: function command() {
|
|
118006
118125
|
cov_17cji89s6g().f[21]++;
|
|
118007
118126
|
cov_17cji89s6g().s[25]++;
|
|
118008
118127
|
return editor.chain().focus().mergeOrSplit().run();
|
|
118009
118128
|
}
|
|
118010
118129
|
}, {
|
|
118011
|
-
label: t$2("table.
|
|
118130
|
+
label: t$2("table.toggleHeaderRow"),
|
|
118012
118131
|
command: function command() {
|
|
118013
118132
|
cov_17cji89s6g().f[22]++;
|
|
118014
118133
|
cov_17cji89s6g().s[26]++;
|
|
118015
118134
|
return editor.chain().focus().toggleHeaderRow().run();
|
|
118016
118135
|
}
|
|
118017
118136
|
}, {
|
|
118018
|
-
label: t$2("table.
|
|
118137
|
+
label: t$2("table.toggleHeaderColumn"),
|
|
118019
118138
|
command: function command() {
|
|
118020
118139
|
cov_17cji89s6g().f[23]++;
|
|
118021
118140
|
cov_17cji89s6g().s[27]++;
|
|
@@ -122328,7 +122447,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
|
|
|
122328
122447
|
|
|
122329
122448
|
function cov_7xzegtncw() {
|
|
122330
122449
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
|
|
122331
|
-
var hash = "
|
|
122450
|
+
var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
|
|
122332
122451
|
var global = new Function("return this")();
|
|
122333
122452
|
var gcv = "__coverage__";
|
|
122334
122453
|
var coverageData = {
|
|
@@ -122581,7 +122700,7 @@ function cov_7xzegtncw() {
|
|
|
122581
122700
|
},
|
|
122582
122701
|
end: {
|
|
122583
122702
|
line: 44,
|
|
122584
|
-
column:
|
|
122703
|
+
column: 38
|
|
122585
122704
|
}
|
|
122586
122705
|
},
|
|
122587
122706
|
"25": {
|
|
@@ -123093,7 +123212,7 @@ function cov_7xzegtncw() {
|
|
|
123093
123212
|
"4": [0, 0]
|
|
123094
123213
|
},
|
|
123095
123214
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
123096
|
-
hash: "
|
|
123215
|
+
hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
|
|
123097
123216
|
};
|
|
123098
123217
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
123099
123218
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -123188,7 +123307,7 @@ var LinkOption = function LinkOption(_ref2) {
|
|
|
123188
123307
|
} else {
|
|
123189
123308
|
cov_7xzegtncw().b[2][1]++;
|
|
123190
123309
|
cov_7xzegtncw().s[24]++;
|
|
123191
|
-
setError(t("error.
|
|
123310
|
+
setError(t("error.invalidUrl"));
|
|
123192
123311
|
}
|
|
123193
123312
|
};
|
|
123194
123313
|
cov_7xzegtncw().s[25]++;
|
|
@@ -124002,7 +124121,7 @@ var TableOption = function TableOption(_ref2) {
|
|
|
124002
124121
|
|
|
124003
124122
|
function cov_2dwl7m23tl() {
|
|
124004
124123
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
|
|
124005
|
-
var hash = "
|
|
124124
|
+
var hash = "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434";
|
|
124006
124125
|
var global = new Function("return this")();
|
|
124007
124126
|
var gcv = "__coverage__";
|
|
124008
124127
|
var coverageData = {
|
|
@@ -124481,7 +124600,7 @@ function cov_2dwl7m23tl() {
|
|
|
124481
124600
|
},
|
|
124482
124601
|
end: {
|
|
124483
124602
|
line: 87,
|
|
124484
|
-
column:
|
|
124603
|
+
column: 67
|
|
124485
124604
|
}
|
|
124486
124605
|
},
|
|
124487
124606
|
type: "binary-expr",
|
|
@@ -124501,7 +124620,7 @@ function cov_2dwl7m23tl() {
|
|
|
124501
124620
|
},
|
|
124502
124621
|
end: {
|
|
124503
124622
|
line: 87,
|
|
124504
|
-
column:
|
|
124623
|
+
column: 67
|
|
124505
124624
|
}
|
|
124506
124625
|
}],
|
|
124507
124626
|
line: 87
|
|
@@ -124849,7 +124968,7 @@ function cov_2dwl7m23tl() {
|
|
|
124849
124968
|
"17": [0, 0]
|
|
124850
124969
|
},
|
|
124851
124970
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
124852
|
-
hash: "
|
|
124971
|
+
hash: "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434"
|
|
124853
124972
|
};
|
|
124854
124973
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
124855
124974
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -124944,7 +125063,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
124944
125063
|
className: "neeto-editor-fixed-menu__wrapper"
|
|
124945
125064
|
}, (cov_2dwl7m23tl().b[7][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[7][1]++, /*#__PURE__*/React__default["default"].createElement(FontSizeOption, {
|
|
124946
125065
|
editor: editor,
|
|
124947
|
-
tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.
|
|
125066
|
+
tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.fontSize"))
|
|
124948
125067
|
})), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[9][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default["default"].createElement(EmojiOption, {
|
|
124949
125068
|
editor: editor,
|
|
124950
125069
|
isActive: isEmojiPickerActive,
|
|
@@ -124973,7 +125092,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
124973
125092
|
buttonSize: "small",
|
|
124974
125093
|
buttonProps: {
|
|
124975
125094
|
tooltipProps: {
|
|
124976
|
-
content: t("menu.
|
|
125095
|
+
content: t("menu.dynamicVariables"),
|
|
124977
125096
|
position: "bottom"
|
|
124978
125097
|
}
|
|
124979
125098
|
}
|
|
@@ -126320,7 +126439,7 @@ var Option = function Option(_ref) {
|
|
|
126320
126439
|
|
|
126321
126440
|
function cov_1fwd2t6om3() {
|
|
126322
126441
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Headless/constants.js";
|
|
126323
|
-
var hash = "
|
|
126442
|
+
var hash = "4d324caf086e7c0bc37cc554c90c435def28fed3";
|
|
126324
126443
|
var global = new Function("return this")();
|
|
126325
126444
|
var gcv = "__coverage__";
|
|
126326
126445
|
var coverageData = {
|
|
@@ -127101,7 +127220,7 @@ function cov_1fwd2t6om3() {
|
|
|
127101
127220
|
},
|
|
127102
127221
|
end: {
|
|
127103
127222
|
line: 76,
|
|
127104
|
-
column:
|
|
127223
|
+
column: 56
|
|
127105
127224
|
}
|
|
127106
127225
|
},
|
|
127107
127226
|
type: "binary-expr",
|
|
@@ -127121,7 +127240,7 @@ function cov_1fwd2t6om3() {
|
|
|
127121
127240
|
},
|
|
127122
127241
|
end: {
|
|
127123
127242
|
line: 76,
|
|
127124
|
-
column:
|
|
127243
|
+
column: 56
|
|
127125
127244
|
}
|
|
127126
127245
|
}],
|
|
127127
127246
|
line: 76
|
|
@@ -127167,7 +127286,7 @@ function cov_1fwd2t6om3() {
|
|
|
127167
127286
|
},
|
|
127168
127287
|
end: {
|
|
127169
127288
|
line: 90,
|
|
127170
|
-
column:
|
|
127289
|
+
column: 54
|
|
127171
127290
|
}
|
|
127172
127291
|
},
|
|
127173
127292
|
type: "binary-expr",
|
|
@@ -127187,7 +127306,7 @@ function cov_1fwd2t6om3() {
|
|
|
127187
127306
|
},
|
|
127188
127307
|
end: {
|
|
127189
127308
|
line: 90,
|
|
127190
|
-
column:
|
|
127309
|
+
column: 54
|
|
127191
127310
|
}
|
|
127192
127311
|
}],
|
|
127193
127312
|
line: 90
|
|
@@ -127200,7 +127319,7 @@ function cov_1fwd2t6om3() {
|
|
|
127200
127319
|
},
|
|
127201
127320
|
end: {
|
|
127202
127321
|
line: 97,
|
|
127203
|
-
column:
|
|
127322
|
+
column: 58
|
|
127204
127323
|
}
|
|
127205
127324
|
},
|
|
127206
127325
|
type: "binary-expr",
|
|
@@ -127220,7 +127339,7 @@ function cov_1fwd2t6om3() {
|
|
|
127220
127339
|
},
|
|
127221
127340
|
end: {
|
|
127222
127341
|
line: 97,
|
|
127223
|
-
column:
|
|
127342
|
+
column: 58
|
|
127224
127343
|
}
|
|
127225
127344
|
}],
|
|
127226
127345
|
line: 97
|
|
@@ -127233,7 +127352,7 @@ function cov_1fwd2t6om3() {
|
|
|
127233
127352
|
},
|
|
127234
127353
|
end: {
|
|
127235
127354
|
line: 104,
|
|
127236
|
-
column:
|
|
127355
|
+
column: 58
|
|
127237
127356
|
}
|
|
127238
127357
|
},
|
|
127239
127358
|
type: "binary-expr",
|
|
@@ -127253,7 +127372,7 @@ function cov_1fwd2t6om3() {
|
|
|
127253
127372
|
},
|
|
127254
127373
|
end: {
|
|
127255
127374
|
line: 104,
|
|
127256
|
-
column:
|
|
127375
|
+
column: 58
|
|
127257
127376
|
}
|
|
127258
127377
|
}],
|
|
127259
127378
|
line: 104
|
|
@@ -127299,7 +127418,7 @@ function cov_1fwd2t6om3() {
|
|
|
127299
127418
|
},
|
|
127300
127419
|
end: {
|
|
127301
127420
|
line: 116,
|
|
127302
|
-
column:
|
|
127421
|
+
column: 58
|
|
127303
127422
|
}
|
|
127304
127423
|
},
|
|
127305
127424
|
type: "binary-expr",
|
|
@@ -127319,7 +127438,7 @@ function cov_1fwd2t6om3() {
|
|
|
127319
127438
|
},
|
|
127320
127439
|
end: {
|
|
127321
127440
|
line: 116,
|
|
127322
|
-
column:
|
|
127441
|
+
column: 58
|
|
127323
127442
|
}
|
|
127324
127443
|
}],
|
|
127325
127444
|
line: 116
|
|
@@ -127332,7 +127451,7 @@ function cov_1fwd2t6om3() {
|
|
|
127332
127451
|
},
|
|
127333
127452
|
end: {
|
|
127334
127453
|
line: 122,
|
|
127335
|
-
column:
|
|
127454
|
+
column: 58
|
|
127336
127455
|
}
|
|
127337
127456
|
},
|
|
127338
127457
|
type: "binary-expr",
|
|
@@ -127352,7 +127471,7 @@ function cov_1fwd2t6om3() {
|
|
|
127352
127471
|
},
|
|
127353
127472
|
end: {
|
|
127354
127473
|
line: 122,
|
|
127355
|
-
column:
|
|
127474
|
+
column: 58
|
|
127356
127475
|
}
|
|
127357
127476
|
}],
|
|
127358
127477
|
line: 122
|
|
@@ -127365,7 +127484,7 @@ function cov_1fwd2t6om3() {
|
|
|
127365
127484
|
},
|
|
127366
127485
|
end: {
|
|
127367
127486
|
line: 128,
|
|
127368
|
-
column:
|
|
127487
|
+
column: 56
|
|
127369
127488
|
}
|
|
127370
127489
|
},
|
|
127371
127490
|
type: "binary-expr",
|
|
@@ -127385,7 +127504,7 @@ function cov_1fwd2t6om3() {
|
|
|
127385
127504
|
},
|
|
127386
127505
|
end: {
|
|
127387
127506
|
line: 128,
|
|
127388
|
-
column:
|
|
127507
|
+
column: 56
|
|
127389
127508
|
}
|
|
127390
127509
|
}],
|
|
127391
127510
|
line: 128
|
|
@@ -127584,7 +127703,7 @@ function cov_1fwd2t6om3() {
|
|
|
127584
127703
|
"17": [0, 0]
|
|
127585
127704
|
},
|
|
127586
127705
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
127587
|
-
hash: "
|
|
127706
|
+
hash: "4d324caf086e7c0bc37cc554c90c435def28fed3"
|
|
127588
127707
|
};
|
|
127589
127708
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
127590
127709
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -127672,7 +127791,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127672
127791
|
},
|
|
127673
127792
|
active: editor.isActive("blockquote"),
|
|
127674
127793
|
optionName: "block-quote",
|
|
127675
|
-
tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.
|
|
127794
|
+
tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.blockQuote"))
|
|
127676
127795
|
}, {
|
|
127677
127796
|
Icon: neetoIcons.Code,
|
|
127678
127797
|
command: function command() {
|
|
@@ -127692,7 +127811,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127692
127811
|
},
|
|
127693
127812
|
active: editor.isActive("codeBlock"),
|
|
127694
127813
|
optionName: "code-block",
|
|
127695
|
-
tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.
|
|
127814
|
+
tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.codeBlock"))
|
|
127696
127815
|
}, {
|
|
127697
127816
|
Icon: neetoIcons.ListDot,
|
|
127698
127817
|
command: function command() {
|
|
@@ -127702,7 +127821,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127702
127821
|
},
|
|
127703
127822
|
active: editor.isActive("bulletList"),
|
|
127704
127823
|
optionName: "bullet-list",
|
|
127705
|
-
tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.
|
|
127824
|
+
tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.bulletedList"))
|
|
127706
127825
|
}, {
|
|
127707
127826
|
Icon: neetoIcons.ListNumber,
|
|
127708
127827
|
command: function command() {
|
|
@@ -127712,7 +127831,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127712
127831
|
},
|
|
127713
127832
|
active: editor.isActive("orderedList"),
|
|
127714
127833
|
optionName: "ordered-list",
|
|
127715
|
-
tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.
|
|
127834
|
+
tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.orderedList"))
|
|
127716
127835
|
}, {
|
|
127717
127836
|
Icon: neetoIcons.File,
|
|
127718
127837
|
command: handleUploadAttachments,
|
|
@@ -127726,7 +127845,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127726
127845
|
return setMediaUploader(ramda.assoc("image", true));
|
|
127727
127846
|
},
|
|
127728
127847
|
optionName: "image-upload",
|
|
127729
|
-
tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.
|
|
127848
|
+
tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.imageUpload"))
|
|
127730
127849
|
}, {
|
|
127731
127850
|
Icon: neetoIcons.Video,
|
|
127732
127851
|
command: function command() {
|
|
@@ -127735,7 +127854,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127735
127854
|
return setMediaUploader(ramda.assoc("video", true));
|
|
127736
127855
|
},
|
|
127737
127856
|
optionName: "video-upload",
|
|
127738
|
-
tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.
|
|
127857
|
+
tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.videoUpload"))
|
|
127739
127858
|
}, {
|
|
127740
127859
|
Icon: neetoIcons.MediaVideo,
|
|
127741
127860
|
command: function command() {
|
|
@@ -127744,7 +127863,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127744
127863
|
return setIsEmbedModalOpen(true);
|
|
127745
127864
|
},
|
|
127746
127865
|
optionName: "video-embed",
|
|
127747
|
-
tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.
|
|
127866
|
+
tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.videoEmbed"))
|
|
127748
127867
|
}, {
|
|
127749
127868
|
Icon: neetoIcons.Smiley,
|
|
127750
127869
|
command: pure.noop,
|