@bigbinary/neeto-editor 1.28.8 → 1.28.9
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 +324 -229
- package/index.cjs.js.map +1 -1
- package/index.js +324 -229
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -35929,7 +35929,7 @@ lowlight.registerLanguage('yaml', yaml);
|
|
|
35929
35929
|
|
|
35930
35930
|
function cov_1l9oz901pg() {
|
|
35931
35931
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/constants.js";
|
|
35932
|
-
var hash = "
|
|
35932
|
+
var hash = "6656731474757c2c6de23a1e9647abc1d28d66ea";
|
|
35933
35933
|
var global = new Function("return this")();
|
|
35934
35934
|
var gcv = "__coverage__";
|
|
35935
35935
|
var coverageData = {
|
|
@@ -35937,43 +35937,53 @@ function cov_1l9oz901pg() {
|
|
|
35937
35937
|
statementMap: {
|
|
35938
35938
|
"0": {
|
|
35939
35939
|
start: {
|
|
35940
|
-
line:
|
|
35940
|
+
line: 3,
|
|
35941
35941
|
column: 40
|
|
35942
35942
|
},
|
|
35943
35943
|
end: {
|
|
35944
|
-
line:
|
|
35944
|
+
line: 3,
|
|
35945
35945
|
column: 62
|
|
35946
35946
|
}
|
|
35947
35947
|
},
|
|
35948
35948
|
"1": {
|
|
35949
35949
|
start: {
|
|
35950
|
-
line:
|
|
35950
|
+
line: 5,
|
|
35951
35951
|
column: 32
|
|
35952
35952
|
},
|
|
35953
35953
|
end: {
|
|
35954
|
-
line:
|
|
35954
|
+
line: 8,
|
|
35955
35955
|
column: 1
|
|
35956
35956
|
}
|
|
35957
35957
|
},
|
|
35958
35958
|
"2": {
|
|
35959
35959
|
start: {
|
|
35960
|
-
line:
|
|
35960
|
+
line: 11,
|
|
35961
35961
|
column: 2
|
|
35962
35962
|
},
|
|
35963
35963
|
end: {
|
|
35964
|
-
line:
|
|
35964
|
+
line: 11,
|
|
35965
35965
|
column: 75
|
|
35966
35966
|
}
|
|
35967
35967
|
},
|
|
35968
35968
|
"3": {
|
|
35969
35969
|
start: {
|
|
35970
|
-
line:
|
|
35970
|
+
line: 14,
|
|
35971
35971
|
column: 2
|
|
35972
35972
|
},
|
|
35973
35973
|
end: {
|
|
35974
|
-
line:
|
|
35974
|
+
line: 14,
|
|
35975
35975
|
column: 73
|
|
35976
35976
|
}
|
|
35977
|
+
},
|
|
35978
|
+
"4": {
|
|
35979
|
+
start: {
|
|
35980
|
+
line: 16,
|
|
35981
|
+
column: 29
|
|
35982
|
+
},
|
|
35983
|
+
end: {
|
|
35984
|
+
line: 16,
|
|
35985
|
+
column: 53
|
|
35986
|
+
}
|
|
35977
35987
|
}
|
|
35978
35988
|
},
|
|
35979
35989
|
fnMap: {},
|
|
@@ -35982,12 +35992,13 @@ function cov_1l9oz901pg() {
|
|
|
35982
35992
|
"0": 0,
|
|
35983
35993
|
"1": 0,
|
|
35984
35994
|
"2": 0,
|
|
35985
|
-
"3": 0
|
|
35995
|
+
"3": 0,
|
|
35996
|
+
"4": 0
|
|
35986
35997
|
},
|
|
35987
35998
|
f: {},
|
|
35988
35999
|
b: {},
|
|
35989
36000
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35990
|
-
hash: "
|
|
36001
|
+
hash: "6656731474757c2c6de23a1e9647abc1d28d66ea"
|
|
35991
36002
|
};
|
|
35992
36003
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
35993
36004
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -36010,10 +36021,11 @@ var SANITIZE_OPTIONS = (cov_1l9oz901pg().s[1]++, {
|
|
|
36010
36021
|
});
|
|
36011
36022
|
var CODE_BLOCK_REGEX = (cov_1l9oz901pg().s[2]++, /<pre><code(?:\s+class="language-([^"]*)")?>([\S\s]*?)<\/code><\/pre>/gim);
|
|
36012
36023
|
var VARIABLE_SPAN_REGEX = (cov_1l9oz901pg().s[3]++, /<span data-variable="" [^>]*data-label="([^"]+)">{{([^}]+)}}<\/span>/g);
|
|
36024
|
+
var LANGUAGE_LIST = (cov_1l9oz901pg().s[4]++, lowlight.listLanguages());
|
|
36013
36025
|
|
|
36014
36026
|
function cov_2fxze78p7l() {
|
|
36015
36027
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/utils.js";
|
|
36016
|
-
var hash = "
|
|
36028
|
+
var hash = "3cfa6347817ee3a0f2c18ce96e7086518cf35fc3";
|
|
36017
36029
|
var global = new Function("return this")();
|
|
36018
36030
|
var gcv = "__coverage__";
|
|
36019
36031
|
var coverageData = {
|
|
@@ -36021,271 +36033,271 @@ function cov_2fxze78p7l() {
|
|
|
36021
36033
|
statementMap: {
|
|
36022
36034
|
"0": {
|
|
36023
36035
|
start: {
|
|
36024
|
-
line:
|
|
36036
|
+
line: 15,
|
|
36025
36037
|
column: 22
|
|
36026
36038
|
},
|
|
36027
36039
|
end: {
|
|
36028
|
-
line:
|
|
36040
|
+
line: 16,
|
|
36029
36041
|
column: 73
|
|
36030
36042
|
}
|
|
36031
36043
|
},
|
|
36032
36044
|
"1": {
|
|
36033
36045
|
start: {
|
|
36034
|
-
line:
|
|
36046
|
+
line: 16,
|
|
36035
36047
|
column: 2
|
|
36036
36048
|
},
|
|
36037
36049
|
end: {
|
|
36038
|
-
line:
|
|
36050
|
+
line: 16,
|
|
36039
36051
|
column: 73
|
|
36040
36052
|
}
|
|
36041
36053
|
},
|
|
36042
36054
|
"2": {
|
|
36043
36055
|
start: {
|
|
36044
|
-
line:
|
|
36056
|
+
line: 18,
|
|
36045
36057
|
column: 33
|
|
36046
36058
|
},
|
|
36047
36059
|
end: {
|
|
36048
|
-
line:
|
|
36060
|
+
line: 28,
|
|
36049
36061
|
column: 1
|
|
36050
36062
|
}
|
|
36051
36063
|
},
|
|
36052
36064
|
"3": {
|
|
36053
36065
|
start: {
|
|
36054
|
-
line:
|
|
36066
|
+
line: 19,
|
|
36055
36067
|
column: 2
|
|
36056
36068
|
},
|
|
36057
36069
|
end: {
|
|
36058
|
-
line:
|
|
36070
|
+
line: 25,
|
|
36059
36071
|
column: 3
|
|
36060
36072
|
}
|
|
36061
36073
|
},
|
|
36062
36074
|
"4": {
|
|
36063
36075
|
start: {
|
|
36064
|
-
line:
|
|
36076
|
+
line: 20,
|
|
36065
36077
|
column: 21
|
|
36066
36078
|
},
|
|
36067
36079
|
end: {
|
|
36068
|
-
line:
|
|
36080
|
+
line: 22,
|
|
36069
36081
|
column: 12
|
|
36070
36082
|
}
|
|
36071
36083
|
},
|
|
36072
36084
|
"5": {
|
|
36073
36085
|
start: {
|
|
36074
|
-
line:
|
|
36086
|
+
line: 24,
|
|
36075
36087
|
column: 4
|
|
36076
36088
|
},
|
|
36077
36089
|
end: {
|
|
36078
|
-
line:
|
|
36090
|
+
line: 24,
|
|
36079
36091
|
column: 78
|
|
36080
36092
|
}
|
|
36081
36093
|
},
|
|
36082
36094
|
"6": {
|
|
36083
36095
|
start: {
|
|
36084
|
-
line:
|
|
36096
|
+
line: 27,
|
|
36085
36097
|
column: 2
|
|
36086
36098
|
},
|
|
36087
36099
|
end: {
|
|
36088
|
-
line:
|
|
36100
|
+
line: 27,
|
|
36089
36101
|
column: 23
|
|
36090
36102
|
}
|
|
36091
36103
|
},
|
|
36092
36104
|
"7": {
|
|
36093
36105
|
start: {
|
|
36094
|
-
line:
|
|
36106
|
+
line: 30,
|
|
36095
36107
|
column: 29
|
|
36096
36108
|
},
|
|
36097
36109
|
end: {
|
|
36098
|
-
line:
|
|
36110
|
+
line: 50,
|
|
36099
36111
|
column: 1
|
|
36100
36112
|
}
|
|
36101
36113
|
},
|
|
36102
36114
|
"8": {
|
|
36103
36115
|
start: {
|
|
36104
|
-
line:
|
|
36116
|
+
line: 31,
|
|
36105
36117
|
column: 2
|
|
36106
36118
|
},
|
|
36107
36119
|
end: {
|
|
36108
|
-
line:
|
|
36120
|
+
line: 31,
|
|
36109
36121
|
column: 29
|
|
36110
36122
|
}
|
|
36111
36123
|
},
|
|
36112
36124
|
"9": {
|
|
36113
36125
|
start: {
|
|
36114
|
-
line:
|
|
36126
|
+
line: 32,
|
|
36115
36127
|
column: 23
|
|
36116
36128
|
},
|
|
36117
36129
|
end: {
|
|
36118
|
-
line:
|
|
36130
|
+
line: 32,
|
|
36119
36131
|
column: 25
|
|
36120
36132
|
}
|
|
36121
36133
|
},
|
|
36122
36134
|
"10": {
|
|
36123
36135
|
start: {
|
|
36124
|
-
line:
|
|
36136
|
+
line: 34,
|
|
36125
36137
|
column: 2
|
|
36126
36138
|
},
|
|
36127
36139
|
end: {
|
|
36128
|
-
line:
|
|
36140
|
+
line: 49,
|
|
36129
36141
|
column: 5
|
|
36130
36142
|
}
|
|
36131
36143
|
},
|
|
36132
36144
|
"11": {
|
|
36133
36145
|
start: {
|
|
36134
|
-
line:
|
|
36146
|
+
line: 35,
|
|
36135
36147
|
column: 4
|
|
36136
36148
|
},
|
|
36137
36149
|
end: {
|
|
36138
|
-
line:
|
|
36150
|
+
line: 42,
|
|
36139
36151
|
column: 5
|
|
36140
36152
|
}
|
|
36141
36153
|
},
|
|
36142
36154
|
"12": {
|
|
36143
36155
|
start: {
|
|
36144
|
-
line:
|
|
36156
|
+
line: 36,
|
|
36145
36157
|
column: 6
|
|
36146
36158
|
},
|
|
36147
36159
|
end: {
|
|
36148
|
-
line:
|
|
36160
|
+
line: 36,
|
|
36149
36161
|
column: 73
|
|
36150
36162
|
}
|
|
36151
36163
|
},
|
|
36152
36164
|
"13": {
|
|
36153
36165
|
start: {
|
|
36154
|
-
line:
|
|
36166
|
+
line: 38,
|
|
36155
36167
|
column: 6
|
|
36156
36168
|
},
|
|
36157
36169
|
end: {
|
|
36158
|
-
line:
|
|
36170
|
+
line: 38,
|
|
36159
36171
|
column: 77
|
|
36160
36172
|
}
|
|
36161
36173
|
},
|
|
36162
36174
|
"14": {
|
|
36163
36175
|
start: {
|
|
36164
|
-
line:
|
|
36176
|
+
line: 39,
|
|
36165
36177
|
column: 6
|
|
36166
36178
|
},
|
|
36167
36179
|
end: {
|
|
36168
|
-
line:
|
|
36180
|
+
line: 41,
|
|
36169
36181
|
column: 7
|
|
36170
36182
|
}
|
|
36171
36183
|
},
|
|
36172
36184
|
"15": {
|
|
36173
36185
|
start: {
|
|
36174
|
-
line:
|
|
36186
|
+
line: 40,
|
|
36175
36187
|
column: 8
|
|
36176
36188
|
},
|
|
36177
36189
|
end: {
|
|
36178
|
-
line:
|
|
36190
|
+
line: 40,
|
|
36179
36191
|
column: 79
|
|
36180
36192
|
}
|
|
36181
36193
|
},
|
|
36182
36194
|
"16": {
|
|
36183
36195
|
start: {
|
|
36184
|
-
line:
|
|
36196
|
+
line: 44,
|
|
36185
36197
|
column: 28
|
|
36186
36198
|
},
|
|
36187
36199
|
end: {
|
|
36188
|
-
line:
|
|
36200
|
+
line: 46,
|
|
36189
36201
|
column: 5
|
|
36190
36202
|
}
|
|
36191
36203
|
},
|
|
36192
36204
|
"17": {
|
|
36193
36205
|
start: {
|
|
36194
|
-
line:
|
|
36206
|
+
line: 48,
|
|
36195
36207
|
column: 4
|
|
36196
36208
|
},
|
|
36197
36209
|
end: {
|
|
36198
|
-
line:
|
|
36210
|
+
line: 48,
|
|
36199
36211
|
column: 72
|
|
36200
36212
|
}
|
|
36201
36213
|
},
|
|
36202
36214
|
"18": {
|
|
36203
36215
|
start: {
|
|
36204
|
-
line:
|
|
36216
|
+
line: 52,
|
|
36205
36217
|
column: 35
|
|
36206
36218
|
},
|
|
36207
36219
|
end: {
|
|
36208
|
-
line:
|
|
36220
|
+
line: 68,
|
|
36209
36221
|
column: 4
|
|
36210
36222
|
}
|
|
36211
36223
|
},
|
|
36212
36224
|
"19": {
|
|
36213
36225
|
start: {
|
|
36214
|
-
line:
|
|
36226
|
+
line: 53,
|
|
36215
36227
|
column: 2
|
|
36216
36228
|
},
|
|
36217
36229
|
end: {
|
|
36218
|
-
line:
|
|
36230
|
+
line: 68,
|
|
36219
36231
|
column: 4
|
|
36220
36232
|
}
|
|
36221
36233
|
},
|
|
36222
36234
|
"20": {
|
|
36223
36235
|
start: {
|
|
36224
|
-
line:
|
|
36236
|
+
line: 54,
|
|
36225
36237
|
column: 30
|
|
36226
36238
|
},
|
|
36227
36239
|
end: {
|
|
36228
|
-
line:
|
|
36240
|
+
line: 54,
|
|
36229
36241
|
column: 50
|
|
36230
36242
|
}
|
|
36231
36243
|
},
|
|
36232
36244
|
"21": {
|
|
36233
36245
|
start: {
|
|
36234
|
-
line:
|
|
36246
|
+
line: 55,
|
|
36235
36247
|
column: 4
|
|
36236
36248
|
},
|
|
36237
36249
|
end: {
|
|
36238
|
-
line:
|
|
36250
|
+
line: 63,
|
|
36239
36251
|
column: 5
|
|
36240
36252
|
}
|
|
36241
36253
|
},
|
|
36242
36254
|
"22": {
|
|
36243
36255
|
start: {
|
|
36244
|
-
line:
|
|
36256
|
+
line: 56,
|
|
36245
36257
|
column: 23
|
|
36246
36258
|
},
|
|
36247
36259
|
end: {
|
|
36248
|
-
line:
|
|
36260
|
+
line: 56,
|
|
36249
36261
|
column: 76
|
|
36250
36262
|
}
|
|
36251
36263
|
},
|
|
36252
36264
|
"23": {
|
|
36253
36265
|
start: {
|
|
36254
|
-
line:
|
|
36266
|
+
line: 57,
|
|
36255
36267
|
column: 23
|
|
36256
36268
|
},
|
|
36257
36269
|
end: {
|
|
36258
|
-
line:
|
|
36270
|
+
line: 60,
|
|
36259
36271
|
column: 7
|
|
36260
36272
|
}
|
|
36261
36273
|
},
|
|
36262
36274
|
"24": {
|
|
36263
36275
|
start: {
|
|
36264
|
-
line:
|
|
36276
|
+
line: 62,
|
|
36265
36277
|
column: 6
|
|
36266
36278
|
},
|
|
36267
36279
|
end: {
|
|
36268
|
-
line:
|
|
36280
|
+
line: 62,
|
|
36269
36281
|
column: 60
|
|
36270
36282
|
}
|
|
36271
36283
|
},
|
|
36272
36284
|
"25": {
|
|
36273
36285
|
start: {
|
|
36274
|
-
line:
|
|
36286
|
+
line: 65,
|
|
36275
36287
|
column: 21
|
|
36276
36288
|
},
|
|
36277
36289
|
end: {
|
|
36278
|
-
line:
|
|
36290
|
+
line: 65,
|
|
36279
36291
|
column: 69
|
|
36280
36292
|
}
|
|
36281
36293
|
},
|
|
36282
36294
|
"26": {
|
|
36283
36295
|
start: {
|
|
36284
|
-
line:
|
|
36296
|
+
line: 67,
|
|
36285
36297
|
column: 4
|
|
36286
36298
|
},
|
|
36287
36299
|
end: {
|
|
36288
|
-
line:
|
|
36300
|
+
line: 67,
|
|
36289
36301
|
column: 58
|
|
36290
36302
|
}
|
|
36291
36303
|
}
|
|
@@ -36295,167 +36307,167 @@ function cov_2fxze78p7l() {
|
|
|
36295
36307
|
name: "(anonymous_0)",
|
|
36296
36308
|
decl: {
|
|
36297
36309
|
start: {
|
|
36298
|
-
line:
|
|
36310
|
+
line: 15,
|
|
36299
36311
|
column: 22
|
|
36300
36312
|
},
|
|
36301
36313
|
end: {
|
|
36302
|
-
line:
|
|
36314
|
+
line: 15,
|
|
36303
36315
|
column: 23
|
|
36304
36316
|
}
|
|
36305
36317
|
},
|
|
36306
36318
|
loc: {
|
|
36307
36319
|
start: {
|
|
36308
|
-
line:
|
|
36320
|
+
line: 16,
|
|
36309
36321
|
column: 2
|
|
36310
36322
|
},
|
|
36311
36323
|
end: {
|
|
36312
|
-
line:
|
|
36324
|
+
line: 16,
|
|
36313
36325
|
column: 73
|
|
36314
36326
|
}
|
|
36315
36327
|
},
|
|
36316
|
-
line:
|
|
36328
|
+
line: 16
|
|
36317
36329
|
},
|
|
36318
36330
|
"1": {
|
|
36319
36331
|
name: "(anonymous_1)",
|
|
36320
36332
|
decl: {
|
|
36321
36333
|
start: {
|
|
36322
|
-
line:
|
|
36334
|
+
line: 18,
|
|
36323
36335
|
column: 33
|
|
36324
36336
|
},
|
|
36325
36337
|
end: {
|
|
36326
|
-
line:
|
|
36338
|
+
line: 18,
|
|
36327
36339
|
column: 34
|
|
36328
36340
|
}
|
|
36329
36341
|
},
|
|
36330
36342
|
loc: {
|
|
36331
36343
|
start: {
|
|
36332
|
-
line:
|
|
36344
|
+
line: 18,
|
|
36333
36345
|
column: 44
|
|
36334
36346
|
},
|
|
36335
36347
|
end: {
|
|
36336
|
-
line:
|
|
36348
|
+
line: 28,
|
|
36337
36349
|
column: 1
|
|
36338
36350
|
}
|
|
36339
36351
|
},
|
|
36340
|
-
line:
|
|
36352
|
+
line: 18
|
|
36341
36353
|
},
|
|
36342
36354
|
"2": {
|
|
36343
36355
|
name: "(anonymous_2)",
|
|
36344
36356
|
decl: {
|
|
36345
36357
|
start: {
|
|
36346
|
-
line:
|
|
36358
|
+
line: 30,
|
|
36347
36359
|
column: 29
|
|
36348
36360
|
},
|
|
36349
36361
|
end: {
|
|
36350
|
-
line:
|
|
36362
|
+
line: 30,
|
|
36351
36363
|
column: 30
|
|
36352
36364
|
}
|
|
36353
36365
|
},
|
|
36354
36366
|
loc: {
|
|
36355
36367
|
start: {
|
|
36356
|
-
line:
|
|
36368
|
+
line: 30,
|
|
36357
36369
|
column: 40
|
|
36358
36370
|
},
|
|
36359
36371
|
end: {
|
|
36360
|
-
line:
|
|
36372
|
+
line: 50,
|
|
36361
36373
|
column: 1
|
|
36362
36374
|
}
|
|
36363
36375
|
},
|
|
36364
|
-
line:
|
|
36376
|
+
line: 30
|
|
36365
36377
|
},
|
|
36366
36378
|
"3": {
|
|
36367
36379
|
name: "(anonymous_3)",
|
|
36368
36380
|
decl: {
|
|
36369
36381
|
start: {
|
|
36370
|
-
line:
|
|
36382
|
+
line: 34,
|
|
36371
36383
|
column: 43
|
|
36372
36384
|
},
|
|
36373
36385
|
end: {
|
|
36374
|
-
line:
|
|
36386
|
+
line: 34,
|
|
36375
36387
|
column: 44
|
|
36376
36388
|
}
|
|
36377
36389
|
},
|
|
36378
36390
|
loc: {
|
|
36379
36391
|
start: {
|
|
36380
|
-
line:
|
|
36392
|
+
line: 34,
|
|
36381
36393
|
column: 66
|
|
36382
36394
|
},
|
|
36383
36395
|
end: {
|
|
36384
|
-
line:
|
|
36396
|
+
line: 49,
|
|
36385
36397
|
column: 3
|
|
36386
36398
|
}
|
|
36387
36399
|
},
|
|
36388
|
-
line:
|
|
36400
|
+
line: 34
|
|
36389
36401
|
},
|
|
36390
36402
|
"4": {
|
|
36391
36403
|
name: "(anonymous_4)",
|
|
36392
36404
|
decl: {
|
|
36393
36405
|
start: {
|
|
36394
|
-
line:
|
|
36406
|
+
line: 52,
|
|
36395
36407
|
column: 35
|
|
36396
36408
|
},
|
|
36397
36409
|
end: {
|
|
36398
|
-
line:
|
|
36410
|
+
line: 52,
|
|
36399
36411
|
column: 36
|
|
36400
36412
|
}
|
|
36401
36413
|
},
|
|
36402
36414
|
loc: {
|
|
36403
36415
|
start: {
|
|
36404
|
-
line:
|
|
36416
|
+
line: 53,
|
|
36405
36417
|
column: 2
|
|
36406
36418
|
},
|
|
36407
36419
|
end: {
|
|
36408
|
-
line:
|
|
36420
|
+
line: 68,
|
|
36409
36421
|
column: 4
|
|
36410
36422
|
}
|
|
36411
36423
|
},
|
|
36412
|
-
line:
|
|
36424
|
+
line: 53
|
|
36413
36425
|
},
|
|
36414
36426
|
"5": {
|
|
36415
36427
|
name: "(anonymous_5)",
|
|
36416
36428
|
decl: {
|
|
36417
36429
|
start: {
|
|
36418
|
-
line:
|
|
36430
|
+
line: 53,
|
|
36419
36431
|
column: 50
|
|
36420
36432
|
},
|
|
36421
36433
|
end: {
|
|
36422
|
-
line:
|
|
36434
|
+
line: 53,
|
|
36423
36435
|
column: 51
|
|
36424
36436
|
}
|
|
36425
36437
|
},
|
|
36426
36438
|
loc: {
|
|
36427
36439
|
start: {
|
|
36428
|
-
line:
|
|
36440
|
+
line: 53,
|
|
36429
36441
|
column: 78
|
|
36430
36442
|
},
|
|
36431
36443
|
end: {
|
|
36432
|
-
line:
|
|
36444
|
+
line: 68,
|
|
36433
36445
|
column: 3
|
|
36434
36446
|
}
|
|
36435
36447
|
},
|
|
36436
|
-
line:
|
|
36448
|
+
line: 53
|
|
36437
36449
|
}
|
|
36438
36450
|
},
|
|
36439
36451
|
branchMap: {
|
|
36440
36452
|
"0": {
|
|
36441
36453
|
loc: {
|
|
36442
36454
|
start: {
|
|
36443
|
-
line:
|
|
36455
|
+
line: 19,
|
|
36444
36456
|
column: 2
|
|
36445
36457
|
},
|
|
36446
36458
|
end: {
|
|
36447
|
-
line:
|
|
36459
|
+
line: 25,
|
|
36448
36460
|
column: 3
|
|
36449
36461
|
}
|
|
36450
36462
|
},
|
|
36451
36463
|
type: "if",
|
|
36452
36464
|
locations: [{
|
|
36453
36465
|
start: {
|
|
36454
|
-
line:
|
|
36466
|
+
line: 19,
|
|
36455
36467
|
column: 2
|
|
36456
36468
|
},
|
|
36457
36469
|
end: {
|
|
36458
|
-
line:
|
|
36470
|
+
line: 25,
|
|
36459
36471
|
column: 3
|
|
36460
36472
|
}
|
|
36461
36473
|
}, {
|
|
@@ -36468,93 +36480,126 @@ function cov_2fxze78p7l() {
|
|
|
36468
36480
|
column: undefined
|
|
36469
36481
|
}
|
|
36470
36482
|
}],
|
|
36471
|
-
line:
|
|
36483
|
+
line: 19
|
|
36472
36484
|
},
|
|
36473
36485
|
"1": {
|
|
36474
36486
|
loc: {
|
|
36475
36487
|
start: {
|
|
36476
|
-
line:
|
|
36488
|
+
line: 20,
|
|
36477
36489
|
column: 21
|
|
36478
36490
|
},
|
|
36479
36491
|
end: {
|
|
36480
|
-
line:
|
|
36492
|
+
line: 22,
|
|
36481
36493
|
column: 12
|
|
36482
36494
|
}
|
|
36483
36495
|
},
|
|
36484
36496
|
type: "cond-expr",
|
|
36485
36497
|
locations: [{
|
|
36486
36498
|
start: {
|
|
36487
|
-
line:
|
|
36499
|
+
line: 21,
|
|
36488
36500
|
column: 8
|
|
36489
36501
|
},
|
|
36490
36502
|
end: {
|
|
36491
|
-
line:
|
|
36503
|
+
line: 21,
|
|
36492
36504
|
column: 54
|
|
36493
36505
|
}
|
|
36494
36506
|
}, {
|
|
36495
36507
|
start: {
|
|
36496
|
-
line:
|
|
36508
|
+
line: 22,
|
|
36497
36509
|
column: 8
|
|
36498
36510
|
},
|
|
36499
36511
|
end: {
|
|
36500
|
-
line:
|
|
36512
|
+
line: 22,
|
|
36501
36513
|
column: 12
|
|
36502
36514
|
}
|
|
36503
36515
|
}],
|
|
36504
|
-
line:
|
|
36516
|
+
line: 20
|
|
36505
36517
|
},
|
|
36506
36518
|
"2": {
|
|
36507
36519
|
loc: {
|
|
36508
36520
|
start: {
|
|
36509
|
-
line:
|
|
36521
|
+
line: 35,
|
|
36510
36522
|
column: 4
|
|
36511
36523
|
},
|
|
36512
36524
|
end: {
|
|
36513
|
-
line:
|
|
36525
|
+
line: 42,
|
|
36514
36526
|
column: 5
|
|
36515
36527
|
}
|
|
36516
36528
|
},
|
|
36517
36529
|
type: "if",
|
|
36518
36530
|
locations: [{
|
|
36519
36531
|
start: {
|
|
36520
|
-
line:
|
|
36532
|
+
line: 35,
|
|
36521
36533
|
column: 4
|
|
36522
36534
|
},
|
|
36523
36535
|
end: {
|
|
36524
|
-
line:
|
|
36536
|
+
line: 42,
|
|
36525
36537
|
column: 5
|
|
36526
36538
|
}
|
|
36527
36539
|
}, {
|
|
36528
36540
|
start: {
|
|
36529
|
-
line:
|
|
36541
|
+
line: 37,
|
|
36530
36542
|
column: 11
|
|
36531
36543
|
},
|
|
36532
36544
|
end: {
|
|
36533
|
-
line:
|
|
36545
|
+
line: 42,
|
|
36534
36546
|
column: 5
|
|
36535
36547
|
}
|
|
36536
36548
|
}],
|
|
36537
|
-
line:
|
|
36549
|
+
line: 35
|
|
36538
36550
|
},
|
|
36539
36551
|
"3": {
|
|
36540
36552
|
loc: {
|
|
36541
36553
|
start: {
|
|
36542
36554
|
line: 35,
|
|
36555
|
+
column: 8
|
|
36556
|
+
},
|
|
36557
|
+
end: {
|
|
36558
|
+
line: 35,
|
|
36559
|
+
column: 52
|
|
36560
|
+
}
|
|
36561
|
+
},
|
|
36562
|
+
type: "binary-expr",
|
|
36563
|
+
locations: [{
|
|
36564
|
+
start: {
|
|
36565
|
+
line: 35,
|
|
36566
|
+
column: 8
|
|
36567
|
+
},
|
|
36568
|
+
end: {
|
|
36569
|
+
line: 35,
|
|
36570
|
+
column: 16
|
|
36571
|
+
}
|
|
36572
|
+
}, {
|
|
36573
|
+
start: {
|
|
36574
|
+
line: 35,
|
|
36575
|
+
column: 20
|
|
36576
|
+
},
|
|
36577
|
+
end: {
|
|
36578
|
+
line: 35,
|
|
36579
|
+
column: 52
|
|
36580
|
+
}
|
|
36581
|
+
}],
|
|
36582
|
+
line: 35
|
|
36583
|
+
},
|
|
36584
|
+
"4": {
|
|
36585
|
+
loc: {
|
|
36586
|
+
start: {
|
|
36587
|
+
line: 39,
|
|
36543
36588
|
column: 6
|
|
36544
36589
|
},
|
|
36545
36590
|
end: {
|
|
36546
|
-
line:
|
|
36591
|
+
line: 41,
|
|
36547
36592
|
column: 7
|
|
36548
36593
|
}
|
|
36549
36594
|
},
|
|
36550
36595
|
type: "if",
|
|
36551
36596
|
locations: [{
|
|
36552
36597
|
start: {
|
|
36553
|
-
line:
|
|
36598
|
+
line: 39,
|
|
36554
36599
|
column: 6
|
|
36555
36600
|
},
|
|
36556
36601
|
end: {
|
|
36557
|
-
line:
|
|
36602
|
+
line: 41,
|
|
36558
36603
|
column: 7
|
|
36559
36604
|
}
|
|
36560
36605
|
}, {
|
|
@@ -36567,27 +36612,27 @@ function cov_2fxze78p7l() {
|
|
|
36567
36612
|
column: undefined
|
|
36568
36613
|
}
|
|
36569
36614
|
}],
|
|
36570
|
-
line:
|
|
36615
|
+
line: 39
|
|
36571
36616
|
},
|
|
36572
|
-
"
|
|
36617
|
+
"5": {
|
|
36573
36618
|
loc: {
|
|
36574
36619
|
start: {
|
|
36575
|
-
line:
|
|
36620
|
+
line: 55,
|
|
36576
36621
|
column: 4
|
|
36577
36622
|
},
|
|
36578
36623
|
end: {
|
|
36579
|
-
line:
|
|
36624
|
+
line: 63,
|
|
36580
36625
|
column: 5
|
|
36581
36626
|
}
|
|
36582
36627
|
},
|
|
36583
36628
|
type: "if",
|
|
36584
36629
|
locations: [{
|
|
36585
36630
|
start: {
|
|
36586
|
-
line:
|
|
36631
|
+
line: 55,
|
|
36587
36632
|
column: 4
|
|
36588
36633
|
},
|
|
36589
36634
|
end: {
|
|
36590
|
-
line:
|
|
36635
|
+
line: 63,
|
|
36591
36636
|
column: 5
|
|
36592
36637
|
}
|
|
36593
36638
|
}, {
|
|
@@ -36600,106 +36645,106 @@ function cov_2fxze78p7l() {
|
|
|
36600
36645
|
column: undefined
|
|
36601
36646
|
}
|
|
36602
36647
|
}],
|
|
36603
|
-
line:
|
|
36648
|
+
line: 55
|
|
36604
36649
|
},
|
|
36605
|
-
"
|
|
36650
|
+
"6": {
|
|
36606
36651
|
loc: {
|
|
36607
36652
|
start: {
|
|
36608
|
-
line:
|
|
36653
|
+
line: 59,
|
|
36609
36654
|
column: 8
|
|
36610
36655
|
},
|
|
36611
36656
|
end: {
|
|
36612
|
-
line:
|
|
36657
|
+
line: 59,
|
|
36613
36658
|
column: 33
|
|
36614
36659
|
}
|
|
36615
36660
|
},
|
|
36616
36661
|
type: "binary-expr",
|
|
36617
36662
|
locations: [{
|
|
36618
36663
|
start: {
|
|
36619
|
-
line:
|
|
36664
|
+
line: 59,
|
|
36620
36665
|
column: 8
|
|
36621
36666
|
},
|
|
36622
36667
|
end: {
|
|
36623
|
-
line:
|
|
36668
|
+
line: 59,
|
|
36624
36669
|
column: 27
|
|
36625
36670
|
}
|
|
36626
36671
|
}, {
|
|
36627
36672
|
start: {
|
|
36628
|
-
line:
|
|
36673
|
+
line: 59,
|
|
36629
36674
|
column: 31
|
|
36630
36675
|
},
|
|
36631
36676
|
end: {
|
|
36632
|
-
line:
|
|
36677
|
+
line: 59,
|
|
36633
36678
|
column: 33
|
|
36634
36679
|
}
|
|
36635
36680
|
}],
|
|
36636
|
-
line:
|
|
36681
|
+
line: 59
|
|
36637
36682
|
},
|
|
36638
|
-
"
|
|
36683
|
+
"7": {
|
|
36639
36684
|
loc: {
|
|
36640
36685
|
start: {
|
|
36641
|
-
line:
|
|
36686
|
+
line: 62,
|
|
36642
36687
|
column: 13
|
|
36643
36688
|
},
|
|
36644
36689
|
end: {
|
|
36645
|
-
line:
|
|
36690
|
+
line: 62,
|
|
36646
36691
|
column: 59
|
|
36647
36692
|
}
|
|
36648
36693
|
},
|
|
36649
36694
|
type: "cond-expr",
|
|
36650
36695
|
locations: [{
|
|
36651
36696
|
start: {
|
|
36652
|
-
line:
|
|
36697
|
+
line: 62,
|
|
36653
36698
|
column: 31
|
|
36654
36699
|
},
|
|
36655
36700
|
end: {
|
|
36656
|
-
line:
|
|
36701
|
+
line: 62,
|
|
36657
36702
|
column: 45
|
|
36658
36703
|
}
|
|
36659
36704
|
}, {
|
|
36660
36705
|
start: {
|
|
36661
|
-
line:
|
|
36706
|
+
line: 62,
|
|
36662
36707
|
column: 48
|
|
36663
36708
|
},
|
|
36664
36709
|
end: {
|
|
36665
|
-
line:
|
|
36710
|
+
line: 62,
|
|
36666
36711
|
column: 59
|
|
36667
36712
|
}
|
|
36668
36713
|
}],
|
|
36669
|
-
line:
|
|
36714
|
+
line: 62
|
|
36670
36715
|
},
|
|
36671
|
-
"
|
|
36716
|
+
"8": {
|
|
36672
36717
|
loc: {
|
|
36673
36718
|
start: {
|
|
36674
|
-
line:
|
|
36719
|
+
line: 67,
|
|
36675
36720
|
column: 11
|
|
36676
36721
|
},
|
|
36677
36722
|
end: {
|
|
36678
|
-
line:
|
|
36723
|
+
line: 67,
|
|
36679
36724
|
column: 57
|
|
36680
36725
|
}
|
|
36681
36726
|
},
|
|
36682
36727
|
type: "cond-expr",
|
|
36683
36728
|
locations: [{
|
|
36684
36729
|
start: {
|
|
36685
|
-
line:
|
|
36730
|
+
line: 67,
|
|
36686
36731
|
column: 29
|
|
36687
36732
|
},
|
|
36688
36733
|
end: {
|
|
36689
|
-
line:
|
|
36734
|
+
line: 67,
|
|
36690
36735
|
column: 43
|
|
36691
36736
|
}
|
|
36692
36737
|
}, {
|
|
36693
36738
|
start: {
|
|
36694
|
-
line:
|
|
36739
|
+
line: 67,
|
|
36695
36740
|
column: 46
|
|
36696
36741
|
},
|
|
36697
36742
|
end: {
|
|
36698
|
-
line:
|
|
36743
|
+
line: 67,
|
|
36699
36744
|
column: 57
|
|
36700
36745
|
}
|
|
36701
36746
|
}],
|
|
36702
|
-
line:
|
|
36747
|
+
line: 67
|
|
36703
36748
|
}
|
|
36704
36749
|
},
|
|
36705
36750
|
s: {
|
|
@@ -36747,10 +36792,11 @@ function cov_2fxze78p7l() {
|
|
|
36747
36792
|
"4": [0, 0],
|
|
36748
36793
|
"5": [0, 0],
|
|
36749
36794
|
"6": [0, 0],
|
|
36750
|
-
"7": [0, 0]
|
|
36795
|
+
"7": [0, 0],
|
|
36796
|
+
"8": [0, 0]
|
|
36751
36797
|
},
|
|
36752
36798
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
36753
|
-
hash: "
|
|
36799
|
+
hash: "3cfa6347817ee3a0f2c18ce96e7086518cf35fc3"
|
|
36754
36800
|
};
|
|
36755
36801
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
36756
36802
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -36797,7 +36843,7 @@ var highlightCode = function highlightCode(content) {
|
|
|
36797
36843
|
return content.replace(CODE_BLOCK_REGEX, function (_, language, code) {
|
|
36798
36844
|
cov_2fxze78p7l().f[3]++;
|
|
36799
36845
|
cov_2fxze78p7l().s[11]++;
|
|
36800
|
-
if (language) {
|
|
36846
|
+
if ((cov_2fxze78p7l().b[3][0]++, language) && (cov_2fxze78p7l().b[3][1]++, LANGUAGE_LIST.includes(language))) {
|
|
36801
36847
|
cov_2fxze78p7l().b[2][0]++;
|
|
36802
36848
|
cov_2fxze78p7l().s[12]++;
|
|
36803
36849
|
highlightedAST = lowlight.highlight(language, transformCode(code));
|
|
@@ -36807,11 +36853,11 @@ var highlightCode = function highlightCode(content) {
|
|
|
36807
36853
|
highlightedAST = common$1.highlightAuto(transformCode(code))._emitter.root;
|
|
36808
36854
|
cov_2fxze78p7l().s[14]++;
|
|
36809
36855
|
if (ramda.isEmpty(highlightedAST.children)) {
|
|
36810
|
-
cov_2fxze78p7l().b[
|
|
36856
|
+
cov_2fxze78p7l().b[4][0]++;
|
|
36811
36857
|
cov_2fxze78p7l().s[15]++;
|
|
36812
36858
|
highlightedAST = lowlight.highlight("javascript", transformCode(code));
|
|
36813
36859
|
} else {
|
|
36814
|
-
cov_2fxze78p7l().b[
|
|
36860
|
+
cov_2fxze78p7l().b[4][1]++;
|
|
36815
36861
|
}
|
|
36816
36862
|
}
|
|
36817
36863
|
var highlightedNode = (cov_2fxze78p7l().s[16]++, highlightedAST.children.map(buildReactElementFromAST));
|
|
@@ -36828,23 +36874,23 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
|
|
|
36828
36874
|
var dataLabelSplitted = (cov_2fxze78p7l().s[20]++, dataLabel.split("."));
|
|
36829
36875
|
cov_2fxze78p7l().s[21]++;
|
|
36830
36876
|
if (dataLabelSplitted.length > 1) {
|
|
36831
|
-
cov_2fxze78p7l().b[
|
|
36877
|
+
cov_2fxze78p7l().b[5][0]++;
|
|
36832
36878
|
var category = (cov_2fxze78p7l().s[22]++, pure.findBy({
|
|
36833
36879
|
category: dataLabelSplitted[0]
|
|
36834
36880
|
}, variables));
|
|
36835
36881
|
var _variable = (cov_2fxze78p7l().s[23]++, pure.findBy({
|
|
36836
36882
|
key: dataLabelSplitted[1]
|
|
36837
|
-
}, (cov_2fxze78p7l().b[
|
|
36883
|
+
}, (cov_2fxze78p7l().b[6][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[6][1]++, [])));
|
|
36838
36884
|
cov_2fxze78p7l().s[24]++;
|
|
36839
|
-
return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[
|
|
36885
|
+
return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[7][0]++, _variable.value) : (cov_2fxze78p7l().b[7][1]++, matchedSpan);
|
|
36840
36886
|
} else {
|
|
36841
|
-
cov_2fxze78p7l().b[
|
|
36887
|
+
cov_2fxze78p7l().b[5][1]++;
|
|
36842
36888
|
}
|
|
36843
36889
|
var variable = (cov_2fxze78p7l().s[25]++, pure.findBy({
|
|
36844
36890
|
key: dataLabelSplitted[0]
|
|
36845
36891
|
}, variables));
|
|
36846
36892
|
cov_2fxze78p7l().s[26]++;
|
|
36847
|
-
return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[
|
|
36893
|
+
return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[8][0]++, variable.value) : (cov_2fxze78p7l().b[8][1]++, matchedSpan);
|
|
36848
36894
|
});
|
|
36849
36895
|
};
|
|
36850
36896
|
|
|
@@ -95179,7 +95225,7 @@ var SORTED_LANGUAGE_LIST = (cov_1ufkt7jvd1().s[0]++, lowlight.listLanguages().so
|
|
|
95179
95225
|
|
|
95180
95226
|
function cov_4v54kemeo() {
|
|
95181
95227
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/CodeBlock/CodeBlockComponent.jsx";
|
|
95182
|
-
var hash = "
|
|
95228
|
+
var hash = "f67f9f5eccbf5f8f7d4ff995cfe3605911b6011f";
|
|
95183
95229
|
var global = new Function("return this")();
|
|
95184
95230
|
var gcv = "__coverage__";
|
|
95185
95231
|
var coverageData = {
|
|
@@ -95201,7 +95247,7 @@ function cov_4v54kemeo() {
|
|
|
95201
95247
|
column: 27
|
|
95202
95248
|
},
|
|
95203
95249
|
end: {
|
|
95204
|
-
line:
|
|
95250
|
+
line: 82,
|
|
95205
95251
|
column: 1
|
|
95206
95252
|
}
|
|
95207
95253
|
},
|
|
@@ -95301,7 +95347,7 @@ function cov_4v54kemeo() {
|
|
|
95301
95347
|
column: 2
|
|
95302
95348
|
},
|
|
95303
95349
|
end: {
|
|
95304
|
-
line:
|
|
95350
|
+
line: 35,
|
|
95305
95351
|
column: 9
|
|
95306
95352
|
}
|
|
95307
95353
|
},
|
|
@@ -95317,61 +95363,71 @@ function cov_4v54kemeo() {
|
|
|
95317
95363
|
},
|
|
95318
95364
|
"13": {
|
|
95319
95365
|
start: {
|
|
95320
|
-
line:
|
|
95321
|
-
column:
|
|
95366
|
+
line: 33,
|
|
95367
|
+
column: 4
|
|
95322
95368
|
},
|
|
95323
95369
|
end: {
|
|
95324
|
-
line:
|
|
95325
|
-
column:
|
|
95370
|
+
line: 34,
|
|
95371
|
+
column: 51
|
|
95326
95372
|
}
|
|
95327
95373
|
},
|
|
95328
95374
|
"14": {
|
|
95329
95375
|
start: {
|
|
95330
|
-
line:
|
|
95331
|
-
column:
|
|
95376
|
+
line: 37,
|
|
95377
|
+
column: 2
|
|
95332
95378
|
},
|
|
95333
95379
|
end: {
|
|
95334
|
-
line:
|
|
95335
|
-
column:
|
|
95380
|
+
line: 81,
|
|
95381
|
+
column: 4
|
|
95336
95382
|
}
|
|
95337
95383
|
},
|
|
95338
95384
|
"15": {
|
|
95339
95385
|
start: {
|
|
95340
95386
|
line: 54,
|
|
95341
|
-
column:
|
|
95387
|
+
column: 29
|
|
95342
95388
|
},
|
|
95343
95389
|
end: {
|
|
95344
95390
|
line: 54,
|
|
95345
|
-
column:
|
|
95391
|
+
column: 55
|
|
95346
95392
|
}
|
|
95347
95393
|
},
|
|
95348
95394
|
"16": {
|
|
95349
95395
|
start: {
|
|
95350
|
-
line:
|
|
95396
|
+
line: 56,
|
|
95351
95397
|
column: 16
|
|
95352
95398
|
},
|
|
95353
95399
|
end: {
|
|
95354
|
-
line:
|
|
95355
|
-
column:
|
|
95400
|
+
line: 56,
|
|
95401
|
+
column: 35
|
|
95356
95402
|
}
|
|
95357
95403
|
},
|
|
95358
95404
|
"17": {
|
|
95359
95405
|
start: {
|
|
95360
|
-
line:
|
|
95406
|
+
line: 57,
|
|
95361
95407
|
column: 16
|
|
95362
95408
|
},
|
|
95363
95409
|
end: {
|
|
95364
|
-
line:
|
|
95365
|
-
column:
|
|
95410
|
+
line: 57,
|
|
95411
|
+
column: 36
|
|
95366
95412
|
}
|
|
95367
95413
|
},
|
|
95368
95414
|
"18": {
|
|
95369
95415
|
start: {
|
|
95370
95416
|
line: 62,
|
|
95417
|
+
column: 16
|
|
95418
|
+
},
|
|
95419
|
+
end: {
|
|
95420
|
+
line: 67,
|
|
95421
|
+
column: 34
|
|
95422
|
+
}
|
|
95423
|
+
},
|
|
95424
|
+
"19": {
|
|
95425
|
+
start: {
|
|
95426
|
+
line: 64,
|
|
95371
95427
|
column: 33
|
|
95372
95428
|
},
|
|
95373
95429
|
end: {
|
|
95374
|
-
line:
|
|
95430
|
+
line: 64,
|
|
95375
95431
|
column: 63
|
|
95376
95432
|
}
|
|
95377
95433
|
}
|
|
@@ -95395,7 +95451,7 @@ function cov_4v54kemeo() {
|
|
|
95395
95451
|
column: 59
|
|
95396
95452
|
},
|
|
95397
95453
|
end: {
|
|
95398
|
-
line:
|
|
95454
|
+
line: 82,
|
|
95399
95455
|
column: 1
|
|
95400
95456
|
}
|
|
95401
95457
|
},
|
|
@@ -95491,7 +95547,7 @@ function cov_4v54kemeo() {
|
|
|
95491
95547
|
column: 18
|
|
95492
95548
|
},
|
|
95493
95549
|
end: {
|
|
95494
|
-
line:
|
|
95550
|
+
line: 35,
|
|
95495
95551
|
column: 3
|
|
95496
95552
|
}
|
|
95497
95553
|
},
|
|
@@ -95501,97 +95557,97 @@ function cov_4v54kemeo() {
|
|
|
95501
95557
|
name: "(anonymous_5)",
|
|
95502
95558
|
decl: {
|
|
95503
95559
|
start: {
|
|
95504
|
-
line:
|
|
95560
|
+
line: 54,
|
|
95505
95561
|
column: 24
|
|
95506
95562
|
},
|
|
95507
95563
|
end: {
|
|
95508
|
-
line:
|
|
95564
|
+
line: 54,
|
|
95509
95565
|
column: 25
|
|
95510
95566
|
}
|
|
95511
95567
|
},
|
|
95512
95568
|
loc: {
|
|
95513
95569
|
start: {
|
|
95514
|
-
line:
|
|
95570
|
+
line: 54,
|
|
95515
95571
|
column: 29
|
|
95516
95572
|
},
|
|
95517
95573
|
end: {
|
|
95518
|
-
line:
|
|
95574
|
+
line: 54,
|
|
95519
95575
|
column: 55
|
|
95520
95576
|
}
|
|
95521
95577
|
},
|
|
95522
|
-
line:
|
|
95578
|
+
line: 54
|
|
95523
95579
|
},
|
|
95524
95580
|
"6": {
|
|
95525
95581
|
name: "(anonymous_6)",
|
|
95526
95582
|
decl: {
|
|
95527
95583
|
start: {
|
|
95528
|
-
line:
|
|
95584
|
+
line: 55,
|
|
95529
95585
|
column: 23
|
|
95530
95586
|
},
|
|
95531
95587
|
end: {
|
|
95532
|
-
line:
|
|
95588
|
+
line: 55,
|
|
95533
95589
|
column: 24
|
|
95534
95590
|
}
|
|
95535
95591
|
},
|
|
95536
95592
|
loc: {
|
|
95537
95593
|
start: {
|
|
95538
|
-
line:
|
|
95594
|
+
line: 55,
|
|
95539
95595
|
column: 28
|
|
95540
95596
|
},
|
|
95541
95597
|
end: {
|
|
95542
|
-
line:
|
|
95598
|
+
line: 58,
|
|
95543
95599
|
column: 15
|
|
95544
95600
|
}
|
|
95545
95601
|
},
|
|
95546
|
-
line:
|
|
95602
|
+
line: 55
|
|
95547
95603
|
},
|
|
95548
95604
|
"7": {
|
|
95549
95605
|
name: "(anonymous_7)",
|
|
95550
95606
|
decl: {
|
|
95551
95607
|
start: {
|
|
95552
|
-
line:
|
|
95608
|
+
line: 61,
|
|
95553
95609
|
column: 49
|
|
95554
95610
|
},
|
|
95555
95611
|
end: {
|
|
95556
|
-
line:
|
|
95612
|
+
line: 61,
|
|
95557
95613
|
column: 50
|
|
95558
95614
|
}
|
|
95559
95615
|
},
|
|
95560
95616
|
loc: {
|
|
95561
95617
|
start: {
|
|
95562
|
-
line:
|
|
95618
|
+
line: 62,
|
|
95563
95619
|
column: 16
|
|
95564
95620
|
},
|
|
95565
95621
|
end: {
|
|
95566
|
-
line:
|
|
95622
|
+
line: 67,
|
|
95567
95623
|
column: 34
|
|
95568
95624
|
}
|
|
95569
95625
|
},
|
|
95570
|
-
line:
|
|
95626
|
+
line: 62
|
|
95571
95627
|
},
|
|
95572
95628
|
"8": {
|
|
95573
95629
|
name: "(anonymous_8)",
|
|
95574
95630
|
decl: {
|
|
95575
95631
|
start: {
|
|
95576
|
-
line:
|
|
95632
|
+
line: 64,
|
|
95577
95633
|
column: 27
|
|
95578
95634
|
},
|
|
95579
95635
|
end: {
|
|
95580
|
-
line:
|
|
95636
|
+
line: 64,
|
|
95581
95637
|
column: 28
|
|
95582
95638
|
}
|
|
95583
95639
|
},
|
|
95584
95640
|
loc: {
|
|
95585
95641
|
start: {
|
|
95586
|
-
line:
|
|
95642
|
+
line: 64,
|
|
95587
95643
|
column: 33
|
|
95588
95644
|
},
|
|
95589
95645
|
end: {
|
|
95590
|
-
line:
|
|
95646
|
+
line: 64,
|
|
95591
95647
|
column: 63
|
|
95592
95648
|
}
|
|
95593
95649
|
},
|
|
95594
|
-
line:
|
|
95650
|
+
line: 64
|
|
95595
95651
|
}
|
|
95596
95652
|
},
|
|
95597
95653
|
branchMap: {
|
|
@@ -95631,68 +95687,101 @@ function cov_4v54kemeo() {
|
|
|
95631
95687
|
"1": {
|
|
95632
95688
|
loc: {
|
|
95633
95689
|
start: {
|
|
95634
|
-
line:
|
|
95690
|
+
line: 33,
|
|
95691
|
+
column: 4
|
|
95692
|
+
},
|
|
95693
|
+
end: {
|
|
95694
|
+
line: 34,
|
|
95695
|
+
column: 50
|
|
95696
|
+
}
|
|
95697
|
+
},
|
|
95698
|
+
type: "binary-expr",
|
|
95699
|
+
locations: [{
|
|
95700
|
+
start: {
|
|
95701
|
+
line: 33,
|
|
95702
|
+
column: 4
|
|
95703
|
+
},
|
|
95704
|
+
end: {
|
|
95705
|
+
line: 33,
|
|
95706
|
+
column: 46
|
|
95707
|
+
}
|
|
95708
|
+
}, {
|
|
95709
|
+
start: {
|
|
95710
|
+
line: 34,
|
|
95711
|
+
column: 6
|
|
95712
|
+
},
|
|
95713
|
+
end: {
|
|
95714
|
+
line: 34,
|
|
95715
|
+
column: 50
|
|
95716
|
+
}
|
|
95717
|
+
}],
|
|
95718
|
+
line: 33
|
|
95719
|
+
},
|
|
95720
|
+
"2": {
|
|
95721
|
+
loc: {
|
|
95722
|
+
start: {
|
|
95723
|
+
line: 45,
|
|
95635
95724
|
column: 19
|
|
95636
95725
|
},
|
|
95637
95726
|
end: {
|
|
95638
|
-
line:
|
|
95727
|
+
line: 45,
|
|
95639
95728
|
column: 59
|
|
95640
95729
|
}
|
|
95641
95730
|
},
|
|
95642
95731
|
type: "binary-expr",
|
|
95643
95732
|
locations: [{
|
|
95644
95733
|
start: {
|
|
95645
|
-
line:
|
|
95734
|
+
line: 45,
|
|
95646
95735
|
column: 19
|
|
95647
95736
|
},
|
|
95648
95737
|
end: {
|
|
95649
|
-
line:
|
|
95738
|
+
line: 45,
|
|
95650
95739
|
column: 39
|
|
95651
95740
|
}
|
|
95652
95741
|
}, {
|
|
95653
95742
|
start: {
|
|
95654
|
-
line:
|
|
95743
|
+
line: 45,
|
|
95655
95744
|
column: 43
|
|
95656
95745
|
},
|
|
95657
95746
|
end: {
|
|
95658
|
-
line:
|
|
95747
|
+
line: 45,
|
|
95659
95748
|
column: 59
|
|
95660
95749
|
}
|
|
95661
95750
|
}],
|
|
95662
|
-
line:
|
|
95751
|
+
line: 45
|
|
95663
95752
|
},
|
|
95664
|
-
"
|
|
95753
|
+
"3": {
|
|
95665
95754
|
loc: {
|
|
95666
95755
|
start: {
|
|
95667
|
-
line:
|
|
95756
|
+
line: 66,
|
|
95668
95757
|
column: 19
|
|
95669
95758
|
},
|
|
95670
95759
|
end: {
|
|
95671
|
-
line:
|
|
95760
|
+
line: 66,
|
|
95672
95761
|
column: 47
|
|
95673
95762
|
}
|
|
95674
95763
|
},
|
|
95675
95764
|
type: "binary-expr",
|
|
95676
95765
|
locations: [{
|
|
95677
95766
|
start: {
|
|
95678
|
-
line:
|
|
95767
|
+
line: 66,
|
|
95679
95768
|
column: 19
|
|
95680
95769
|
},
|
|
95681
95770
|
end: {
|
|
95682
|
-
line:
|
|
95771
|
+
line: 66,
|
|
95683
95772
|
column: 27
|
|
95684
95773
|
}
|
|
95685
95774
|
}, {
|
|
95686
95775
|
start: {
|
|
95687
|
-
line:
|
|
95776
|
+
line: 66,
|
|
95688
95777
|
column: 31
|
|
95689
95778
|
},
|
|
95690
95779
|
end: {
|
|
95691
|
-
line:
|
|
95780
|
+
line: 66,
|
|
95692
95781
|
column: 47
|
|
95693
95782
|
}
|
|
95694
95783
|
}],
|
|
95695
|
-
line:
|
|
95784
|
+
line: 66
|
|
95696
95785
|
}
|
|
95697
95786
|
},
|
|
95698
95787
|
s: {
|
|
@@ -95714,7 +95803,8 @@ function cov_4v54kemeo() {
|
|
|
95714
95803
|
"15": 0,
|
|
95715
95804
|
"16": 0,
|
|
95716
95805
|
"17": 0,
|
|
95717
|
-
"18": 0
|
|
95806
|
+
"18": 0,
|
|
95807
|
+
"19": 0
|
|
95718
95808
|
},
|
|
95719
95809
|
f: {
|
|
95720
95810
|
"0": 0,
|
|
@@ -95730,10 +95820,11 @@ function cov_4v54kemeo() {
|
|
|
95730
95820
|
b: {
|
|
95731
95821
|
"0": [0, 0],
|
|
95732
95822
|
"1": [0, 0],
|
|
95733
|
-
"2": [0, 0]
|
|
95823
|
+
"2": [0, 0],
|
|
95824
|
+
"3": [0, 0]
|
|
95734
95825
|
},
|
|
95735
95826
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
95736
|
-
hash: "
|
|
95827
|
+
hash: "f67f9f5eccbf5f8f7d4ff995cfe3605911b6011f"
|
|
95737
95828
|
};
|
|
95738
95829
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
95739
95830
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -95754,7 +95845,7 @@ var _ref$7 = (cov_4v54kemeo().s[0]++, neetoui.Dropdown),
|
|
|
95754
95845
|
MenuItem$2 = _ref$7.MenuItem;
|
|
95755
95846
|
cov_4v54kemeo().s[1]++;
|
|
95756
95847
|
var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
95757
|
-
var _node$
|
|
95848
|
+
var _node$attrs3;
|
|
95758
95849
|
var node = _ref2.node,
|
|
95759
95850
|
updateAttributes = _ref2.updateAttributes;
|
|
95760
95851
|
cov_4v54kemeo().f[0]++;
|
|
@@ -95788,14 +95879,18 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95788
95879
|
};
|
|
95789
95880
|
cov_4v54kemeo().s[11]++;
|
|
95790
95881
|
React$6.useEffect(function () {
|
|
95791
|
-
var _node$attrs;
|
|
95882
|
+
var _node$attrs, _node$attrs2;
|
|
95792
95883
|
cov_4v54kemeo().f[4]++;
|
|
95793
95884
|
cov_4v54kemeo().s[12]++;
|
|
95794
95885
|
(cov_4v54kemeo().b[0][0]++, ramda.isNil((_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.language)) && (cov_4v54kemeo().b[0][1]++, updateAttributes({
|
|
95795
95886
|
language: "plaintext"
|
|
95796
95887
|
}));
|
|
95888
|
+
cov_4v54kemeo().s[13]++;
|
|
95889
|
+
(cov_4v54kemeo().b[1][0]++, ((_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.language) === "javascriptreact") && (cov_4v54kemeo().b[1][1]++, updateAttributes({
|
|
95890
|
+
language: "javascript"
|
|
95891
|
+
}));
|
|
95797
95892
|
}, []);
|
|
95798
|
-
cov_4v54kemeo().s[
|
|
95893
|
+
cov_4v54kemeo().s[14]++;
|
|
95799
95894
|
return /*#__PURE__*/React__default["default"].createElement(NodeViewWrapper, {
|
|
95800
95895
|
"data-cy": "neeto-editor-code-block"
|
|
95801
95896
|
}, /*#__PURE__*/React__default["default"].createElement("pre", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -95804,7 +95899,7 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95804
95899
|
buttonSize: "small",
|
|
95805
95900
|
buttonStyle: "secondary",
|
|
95806
95901
|
icon: neetoIcons.Down,
|
|
95807
|
-
label: (cov_4v54kemeo().b[
|
|
95902
|
+
label: (cov_4v54kemeo().b[2][0]++, (_node$attrs3 = node.attrs) === null || _node$attrs3 === void 0 ? void 0 : _node$attrs3.language) || (cov_4v54kemeo().b[2][1]++, t("common.auto")),
|
|
95808
95903
|
strategy: "fixed"
|
|
95809
95904
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
95810
95905
|
autoFocus: true,
|
|
@@ -95814,29 +95909,29 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95814
95909
|
value: keyword,
|
|
95815
95910
|
onChange: function onChange(e) {
|
|
95816
95911
|
cov_4v54kemeo().f[5]++;
|
|
95817
|
-
cov_4v54kemeo().s[
|
|
95912
|
+
cov_4v54kemeo().s[15]++;
|
|
95818
95913
|
return setKeyword(e.target.value);
|
|
95819
95914
|
},
|
|
95820
95915
|
onClick: function onClick(e) {
|
|
95821
95916
|
cov_4v54kemeo().f[6]++;
|
|
95822
|
-
cov_4v54kemeo().s[15]++;
|
|
95823
|
-
e.preventDefault();
|
|
95824
95917
|
cov_4v54kemeo().s[16]++;
|
|
95918
|
+
e.preventDefault();
|
|
95919
|
+
cov_4v54kemeo().s[17]++;
|
|
95825
95920
|
e.stopPropagation();
|
|
95826
95921
|
}
|
|
95827
95922
|
}), /*#__PURE__*/React__default["default"].createElement(Menu$7, {
|
|
95828
95923
|
className: "neeto-editor-codeblock-options__menu"
|
|
95829
95924
|
}, filteredAndSortedLanguageList.map(function (language) {
|
|
95830
95925
|
cov_4v54kemeo().f[7]++;
|
|
95831
|
-
cov_4v54kemeo().s[
|
|
95926
|
+
cov_4v54kemeo().s[18]++;
|
|
95832
95927
|
return /*#__PURE__*/React__default["default"].createElement(MenuItem$2.Button, {
|
|
95833
95928
|
key: language,
|
|
95834
95929
|
onClick: function onClick() {
|
|
95835
95930
|
cov_4v54kemeo().f[8]++;
|
|
95836
|
-
cov_4v54kemeo().s[
|
|
95931
|
+
cov_4v54kemeo().s[19]++;
|
|
95837
95932
|
return handleLanguageSelect(language);
|
|
95838
95933
|
}
|
|
95839
|
-
}, (cov_4v54kemeo().b[
|
|
95934
|
+
}, (cov_4v54kemeo().b[3][0]++, language) || (cov_4v54kemeo().b[3][1]++, t("common.auto")));
|
|
95840
95935
|
}))), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
95841
95936
|
icon: neetoIcons.Copy,
|
|
95842
95937
|
size: "small",
|