jssm 5.143.26 → 5.143.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cdn/viz.js CHANGED
@@ -11179,511 +11179,65 @@ function peg$parse(input, options) {
11179
11179
  }
11180
11180
  return s0;
11181
11181
  }
11182
+ var peg$timetype_alts = [
11183
+ [12, peg$c1230, peg$c1231, peg$c1232, 109],
11184
+ [11, peg$c1233, peg$c1234, peg$c1232, 109],
11185
+ [5, peg$c1235, peg$c1236, peg$c1232, 109],
11186
+ [4, peg$c1237, peg$c1238, peg$c1232, 109],
11187
+ [2, peg$c1239, peg$c1240, peg$c1232, 109],
11188
+ [7, peg$c1241, peg$c1242, peg$c1243, 115],
11189
+ [6, peg$c1244, peg$c1245, peg$c1243, 115],
11190
+ [4, peg$c1246, peg$c1247, peg$c1243, 115],
11191
+ [3, peg$c1248, peg$c1249, peg$c1243, 115],
11192
+ [1, peg$c1250, peg$c1251, peg$c1243, 115],
11193
+ [7, peg$c1252, peg$c1253, peg$c1254, 109],
11194
+ [6, peg$c1255, peg$c1256, peg$c1254, 109],
11195
+ [4, peg$c1257, peg$c1258, peg$c1254, 109],
11196
+ [3, peg$c1259, peg$c1260, peg$c1254, 109],
11197
+ [1, peg$c1261, peg$c1262, peg$c1254, 109],
11198
+ [5, peg$c1263, peg$c1264, peg$c1265, 104],
11199
+ [4, peg$c1266, peg$c1267, peg$c1265, 104],
11200
+ [3, peg$c1268, peg$c1269, peg$c1265, 104],
11201
+ [2, peg$c1270, peg$c1271, peg$c1265, 104],
11202
+ [1, peg$c1272, peg$c1273, peg$c1265, 104],
11203
+ [4, peg$c1274, peg$c1275, peg$c1276, 100],
11204
+ [3, peg$c1277, peg$c1278, peg$c1276, 100],
11205
+ [1, peg$c1279, peg$c1280, peg$c1276, 100],
11206
+ [5, peg$c1281, peg$c1282, peg$c1283, 119],
11207
+ [4, peg$c1284, peg$c1285, peg$c1283, 119],
11208
+ [3, peg$c1286, peg$c1287, peg$c1283, 119],
11209
+ [2, peg$c1288, peg$c1289, peg$c1283, 119],
11210
+ [1, peg$c1290, peg$c1291, peg$c1283, 119]
11211
+ ];
11182
11212
  function peg$parseTimeType() {
11183
- var s0, s1;
11184
- s0 = peg$currPos;
11185
- if (input.substr(peg$currPos, 12) === peg$c1230) {
11186
- s1 = peg$c1230;
11187
- peg$currPos += 12;
11188
- }
11189
- else {
11190
- s1 = peg$FAILED;
11191
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11192
- peg$fail(peg$c1231);
11193
- }
11194
- }
11195
- if (s1 !== peg$FAILED) {
11196
- peg$savedPos = s0;
11197
- s1 = peg$c1232();
11198
- }
11199
- s0 = s1;
11200
- if (s0 === peg$FAILED) {
11201
- s0 = peg$currPos;
11202
- if (input.substr(peg$currPos, 11) === peg$c1233) {
11203
- s1 = peg$c1233;
11204
- peg$currPos += 11;
11213
+ var i, j, alt, start;
11214
+ var c = input.charCodeAt(peg$currPos);
11215
+ for (i = 0; i < 28; i++) {
11216
+ alt = peg$timetype_alts[i];
11217
+ if (alt[4] !== c) {
11218
+ continue;
11219
+ } // first-char gate
11220
+ if (alt[0] !== 1 && input.substr(peg$currPos, alt[0]) !== alt[1]) {
11221
+ continue;
11205
11222
  }
11206
- else {
11207
- s1 = peg$FAILED;
11208
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11209
- peg$fail(peg$c1234);
11223
+ // replay the expectations of every alternative the generated chain
11224
+ // would have probed and failed before this one, at the unmoved position
11225
+ if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11226
+ for (j = 0; j < i; j++) {
11227
+ peg$fail(peg$timetype_alts[j][2]);
11210
11228
  }
11211
11229
  }
11212
- if (s1 !== peg$FAILED) {
11213
- peg$savedPos = s0;
11214
- s1 = peg$c1232();
11215
- }
11216
- s0 = s1;
11217
- if (s0 === peg$FAILED) {
11218
- s0 = peg$currPos;
11219
- if (input.substr(peg$currPos, 5) === peg$c1235) {
11220
- s1 = peg$c1235;
11221
- peg$currPos += 5;
11222
- }
11223
- else {
11224
- s1 = peg$FAILED;
11225
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11226
- peg$fail(peg$c1236);
11227
- }
11228
- }
11229
- if (s1 !== peg$FAILED) {
11230
- peg$savedPos = s0;
11231
- s1 = peg$c1232();
11232
- }
11233
- s0 = s1;
11234
- if (s0 === peg$FAILED) {
11235
- s0 = peg$currPos;
11236
- if (input.substr(peg$currPos, 4) === peg$c1237) {
11237
- s1 = peg$c1237;
11238
- peg$currPos += 4;
11239
- }
11240
- else {
11241
- s1 = peg$FAILED;
11242
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11243
- peg$fail(peg$c1238);
11244
- }
11245
- }
11246
- if (s1 !== peg$FAILED) {
11247
- peg$savedPos = s0;
11248
- s1 = peg$c1232();
11249
- }
11250
- s0 = s1;
11251
- if (s0 === peg$FAILED) {
11252
- s0 = peg$currPos;
11253
- if (input.substr(peg$currPos, 2) === peg$c1239) {
11254
- s1 = peg$c1239;
11255
- peg$currPos += 2;
11256
- }
11257
- else {
11258
- s1 = peg$FAILED;
11259
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11260
- peg$fail(peg$c1240);
11261
- }
11262
- }
11263
- if (s1 !== peg$FAILED) {
11264
- peg$savedPos = s0;
11265
- s1 = peg$c1232();
11266
- }
11267
- s0 = s1;
11268
- if (s0 === peg$FAILED) {
11269
- s0 = peg$currPos;
11270
- if (input.substr(peg$currPos, 7) === peg$c1241) {
11271
- s1 = peg$c1241;
11272
- peg$currPos += 7;
11273
- }
11274
- else {
11275
- s1 = peg$FAILED;
11276
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11277
- peg$fail(peg$c1242);
11278
- }
11279
- }
11280
- if (s1 !== peg$FAILED) {
11281
- peg$savedPos = s0;
11282
- s1 = peg$c1243();
11283
- }
11284
- s0 = s1;
11285
- if (s0 === peg$FAILED) {
11286
- s0 = peg$currPos;
11287
- if (input.substr(peg$currPos, 6) === peg$c1244) {
11288
- s1 = peg$c1244;
11289
- peg$currPos += 6;
11290
- }
11291
- else {
11292
- s1 = peg$FAILED;
11293
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11294
- peg$fail(peg$c1245);
11295
- }
11296
- }
11297
- if (s1 !== peg$FAILED) {
11298
- peg$savedPos = s0;
11299
- s1 = peg$c1243();
11300
- }
11301
- s0 = s1;
11302
- if (s0 === peg$FAILED) {
11303
- s0 = peg$currPos;
11304
- if (input.substr(peg$currPos, 4) === peg$c1246) {
11305
- s1 = peg$c1246;
11306
- peg$currPos += 4;
11307
- }
11308
- else {
11309
- s1 = peg$FAILED;
11310
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11311
- peg$fail(peg$c1247);
11312
- }
11313
- }
11314
- if (s1 !== peg$FAILED) {
11315
- peg$savedPos = s0;
11316
- s1 = peg$c1243();
11317
- }
11318
- s0 = s1;
11319
- if (s0 === peg$FAILED) {
11320
- s0 = peg$currPos;
11321
- if (input.substr(peg$currPos, 3) === peg$c1248) {
11322
- s1 = peg$c1248;
11323
- peg$currPos += 3;
11324
- }
11325
- else {
11326
- s1 = peg$FAILED;
11327
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11328
- peg$fail(peg$c1249);
11329
- }
11330
- }
11331
- if (s1 !== peg$FAILED) {
11332
- peg$savedPos = s0;
11333
- s1 = peg$c1243();
11334
- }
11335
- s0 = s1;
11336
- if (s0 === peg$FAILED) {
11337
- s0 = peg$currPos;
11338
- if (input.charCodeAt(peg$currPos) === 115) {
11339
- s1 = peg$c1250;
11340
- peg$currPos++;
11341
- }
11342
- else {
11343
- s1 = peg$FAILED;
11344
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11345
- peg$fail(peg$c1251);
11346
- }
11347
- }
11348
- if (s1 !== peg$FAILED) {
11349
- peg$savedPos = s0;
11350
- s1 = peg$c1243();
11351
- }
11352
- s0 = s1;
11353
- if (s0 === peg$FAILED) {
11354
- s0 = peg$currPos;
11355
- if (input.substr(peg$currPos, 7) === peg$c1252) {
11356
- s1 = peg$c1252;
11357
- peg$currPos += 7;
11358
- }
11359
- else {
11360
- s1 = peg$FAILED;
11361
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11362
- peg$fail(peg$c1253);
11363
- }
11364
- }
11365
- if (s1 !== peg$FAILED) {
11366
- peg$savedPos = s0;
11367
- s1 = peg$c1254();
11368
- }
11369
- s0 = s1;
11370
- if (s0 === peg$FAILED) {
11371
- s0 = peg$currPos;
11372
- if (input.substr(peg$currPos, 6) === peg$c1255) {
11373
- s1 = peg$c1255;
11374
- peg$currPos += 6;
11375
- }
11376
- else {
11377
- s1 = peg$FAILED;
11378
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11379
- peg$fail(peg$c1256);
11380
- }
11381
- }
11382
- if (s1 !== peg$FAILED) {
11383
- peg$savedPos = s0;
11384
- s1 = peg$c1254();
11385
- }
11386
- s0 = s1;
11387
- if (s0 === peg$FAILED) {
11388
- s0 = peg$currPos;
11389
- if (input.substr(peg$currPos, 4) === peg$c1257) {
11390
- s1 = peg$c1257;
11391
- peg$currPos += 4;
11392
- }
11393
- else {
11394
- s1 = peg$FAILED;
11395
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11396
- peg$fail(peg$c1258);
11397
- }
11398
- }
11399
- if (s1 !== peg$FAILED) {
11400
- peg$savedPos = s0;
11401
- s1 = peg$c1254();
11402
- }
11403
- s0 = s1;
11404
- if (s0 === peg$FAILED) {
11405
- s0 = peg$currPos;
11406
- if (input.substr(peg$currPos, 3) === peg$c1259) {
11407
- s1 = peg$c1259;
11408
- peg$currPos += 3;
11409
- }
11410
- else {
11411
- s1 = peg$FAILED;
11412
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11413
- peg$fail(peg$c1260);
11414
- }
11415
- }
11416
- if (s1 !== peg$FAILED) {
11417
- peg$savedPos = s0;
11418
- s1 = peg$c1254();
11419
- }
11420
- s0 = s1;
11421
- if (s0 === peg$FAILED) {
11422
- s0 = peg$currPos;
11423
- if (input.charCodeAt(peg$currPos) === 109) {
11424
- s1 = peg$c1261;
11425
- peg$currPos++;
11426
- }
11427
- else {
11428
- s1 = peg$FAILED;
11429
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11430
- peg$fail(peg$c1262);
11431
- }
11432
- }
11433
- if (s1 !== peg$FAILED) {
11434
- peg$savedPos = s0;
11435
- s1 = peg$c1254();
11436
- }
11437
- s0 = s1;
11438
- if (s0 === peg$FAILED) {
11439
- s0 = peg$currPos;
11440
- if (input.substr(peg$currPos, 5) === peg$c1263) {
11441
- s1 = peg$c1263;
11442
- peg$currPos += 5;
11443
- }
11444
- else {
11445
- s1 = peg$FAILED;
11446
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11447
- peg$fail(peg$c1264);
11448
- }
11449
- }
11450
- if (s1 !== peg$FAILED) {
11451
- peg$savedPos = s0;
11452
- s1 = peg$c1265();
11453
- }
11454
- s0 = s1;
11455
- if (s0 === peg$FAILED) {
11456
- s0 = peg$currPos;
11457
- if (input.substr(peg$currPos, 4) === peg$c1266) {
11458
- s1 = peg$c1266;
11459
- peg$currPos += 4;
11460
- }
11461
- else {
11462
- s1 = peg$FAILED;
11463
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11464
- peg$fail(peg$c1267);
11465
- }
11466
- }
11467
- if (s1 !== peg$FAILED) {
11468
- peg$savedPos = s0;
11469
- s1 = peg$c1265();
11470
- }
11471
- s0 = s1;
11472
- if (s0 === peg$FAILED) {
11473
- s0 = peg$currPos;
11474
- if (input.substr(peg$currPos, 3) === peg$c1268) {
11475
- s1 = peg$c1268;
11476
- peg$currPos += 3;
11477
- }
11478
- else {
11479
- s1 = peg$FAILED;
11480
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11481
- peg$fail(peg$c1269);
11482
- }
11483
- }
11484
- if (s1 !== peg$FAILED) {
11485
- peg$savedPos = s0;
11486
- s1 = peg$c1265();
11487
- }
11488
- s0 = s1;
11489
- if (s0 === peg$FAILED) {
11490
- s0 = peg$currPos;
11491
- if (input.substr(peg$currPos, 2) === peg$c1270) {
11492
- s1 = peg$c1270;
11493
- peg$currPos += 2;
11494
- }
11495
- else {
11496
- s1 = peg$FAILED;
11497
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11498
- peg$fail(peg$c1271);
11499
- }
11500
- }
11501
- if (s1 !== peg$FAILED) {
11502
- peg$savedPos = s0;
11503
- s1 = peg$c1265();
11504
- }
11505
- s0 = s1;
11506
- if (s0 === peg$FAILED) {
11507
- s0 = peg$currPos;
11508
- if (input.charCodeAt(peg$currPos) === 104) {
11509
- s1 = peg$c1272;
11510
- peg$currPos++;
11511
- }
11512
- else {
11513
- s1 = peg$FAILED;
11514
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11515
- peg$fail(peg$c1273);
11516
- }
11517
- }
11518
- if (s1 !== peg$FAILED) {
11519
- peg$savedPos = s0;
11520
- s1 = peg$c1265();
11521
- }
11522
- s0 = s1;
11523
- if (s0 === peg$FAILED) {
11524
- s0 = peg$currPos;
11525
- if (input.substr(peg$currPos, 4) === peg$c1274) {
11526
- s1 = peg$c1274;
11527
- peg$currPos += 4;
11528
- }
11529
- else {
11530
- s1 = peg$FAILED;
11531
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11532
- peg$fail(peg$c1275);
11533
- }
11534
- }
11535
- if (s1 !== peg$FAILED) {
11536
- peg$savedPos = s0;
11537
- s1 = peg$c1276();
11538
- }
11539
- s0 = s1;
11540
- if (s0 === peg$FAILED) {
11541
- s0 = peg$currPos;
11542
- if (input.substr(peg$currPos, 3) === peg$c1277) {
11543
- s1 = peg$c1277;
11544
- peg$currPos += 3;
11545
- }
11546
- else {
11547
- s1 = peg$FAILED;
11548
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11549
- peg$fail(peg$c1278);
11550
- }
11551
- }
11552
- if (s1 !== peg$FAILED) {
11553
- peg$savedPos = s0;
11554
- s1 = peg$c1276();
11555
- }
11556
- s0 = s1;
11557
- if (s0 === peg$FAILED) {
11558
- s0 = peg$currPos;
11559
- if (input.charCodeAt(peg$currPos) === 100) {
11560
- s1 = peg$c1279;
11561
- peg$currPos++;
11562
- }
11563
- else {
11564
- s1 = peg$FAILED;
11565
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11566
- peg$fail(peg$c1280);
11567
- }
11568
- }
11569
- if (s1 !== peg$FAILED) {
11570
- peg$savedPos = s0;
11571
- s1 = peg$c1276();
11572
- }
11573
- s0 = s1;
11574
- if (s0 === peg$FAILED) {
11575
- s0 = peg$currPos;
11576
- if (input.substr(peg$currPos, 5) === peg$c1281) {
11577
- s1 = peg$c1281;
11578
- peg$currPos += 5;
11579
- }
11580
- else {
11581
- s1 = peg$FAILED;
11582
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11583
- peg$fail(peg$c1282);
11584
- }
11585
- }
11586
- if (s1 !== peg$FAILED) {
11587
- peg$savedPos = s0;
11588
- s1 = peg$c1283();
11589
- }
11590
- s0 = s1;
11591
- if (s0 === peg$FAILED) {
11592
- s0 = peg$currPos;
11593
- if (input.substr(peg$currPos, 4) === peg$c1284) {
11594
- s1 = peg$c1284;
11595
- peg$currPos += 4;
11596
- }
11597
- else {
11598
- s1 = peg$FAILED;
11599
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11600
- peg$fail(peg$c1285);
11601
- }
11602
- }
11603
- if (s1 !== peg$FAILED) {
11604
- peg$savedPos = s0;
11605
- s1 = peg$c1283();
11606
- }
11607
- s0 = s1;
11608
- if (s0 === peg$FAILED) {
11609
- s0 = peg$currPos;
11610
- if (input.substr(peg$currPos, 3) === peg$c1286) {
11611
- s1 = peg$c1286;
11612
- peg$currPos += 3;
11613
- }
11614
- else {
11615
- s1 = peg$FAILED;
11616
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11617
- peg$fail(peg$c1287);
11618
- }
11619
- }
11620
- if (s1 !== peg$FAILED) {
11621
- peg$savedPos = s0;
11622
- s1 = peg$c1283();
11623
- }
11624
- s0 = s1;
11625
- if (s0 === peg$FAILED) {
11626
- s0 = peg$currPos;
11627
- if (input.substr(peg$currPos, 2) === peg$c1288) {
11628
- s1 = peg$c1288;
11629
- peg$currPos += 2;
11630
- }
11631
- else {
11632
- s1 = peg$FAILED;
11633
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11634
- peg$fail(peg$c1289);
11635
- }
11636
- }
11637
- if (s1 !== peg$FAILED) {
11638
- peg$savedPos = s0;
11639
- s1 = peg$c1283();
11640
- }
11641
- s0 = s1;
11642
- if (s0 === peg$FAILED) {
11643
- s0 = peg$currPos;
11644
- if (input.charCodeAt(peg$currPos) === 119) {
11645
- s1 = peg$c1290;
11646
- peg$currPos++;
11647
- }
11648
- else {
11649
- s1 = peg$FAILED;
11650
- if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11651
- peg$fail(peg$c1291);
11652
- }
11653
- }
11654
- if (s1 !== peg$FAILED) {
11655
- peg$savedPos = s0;
11656
- s1 = peg$c1283();
11657
- }
11658
- s0 = s1;
11659
- }
11660
- }
11661
- }
11662
- }
11663
- }
11664
- }
11665
- }
11666
- }
11667
- }
11668
- }
11669
- }
11670
- }
11671
- }
11672
- }
11673
- }
11674
- }
11675
- }
11676
- }
11677
- }
11678
- }
11679
- }
11680
- }
11681
- }
11682
- }
11683
- }
11230
+ start = peg$currPos;
11231
+ peg$currPos += alt[0];
11232
+ peg$savedPos = start;
11233
+ return alt[3]();
11234
+ }
11235
+ if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
11236
+ for (j = 0; j < 28; j++) {
11237
+ peg$fail(peg$timetype_alts[j][2]);
11684
11238
  }
11685
11239
  }
11686
- return s0;
11240
+ return peg$FAILED;
11687
11241
  }
11688
11242
  function peg$parseArrowAfter() {
11689
11243
  var s0, s1, s2, s3, s4, s5;
@@ -22413,7 +21967,7 @@ var constants = /*#__PURE__*/Object.freeze({
22413
21967
  * Useful for runtime diagnostics and for embedding in serialized machine
22414
21968
  * snapshots so that deserializers can detect version-skew.
22415
21969
  */
22416
- const version = "5.143.26";
21970
+ const version = "5.143.28";
22417
21971
 
22418
21972
  // whargarbl lots of these return arrays could/should be sets
22419
21973
  const { state_name_chars, state_name_first_chars, action_label_chars } = constants;