jssm 5.142.3 → 5.142.4

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
@@ -453,11 +453,11 @@ function peg$parse(input, options) {
453
453
  return { config_kind: "action", config_items: action_items || [] };
454
454
  }, peg$c1359 = function (key, value) { return { key, value }; }, peg$c1360 = peg$otherExpectation("graph default edge color"), peg$c1361 = function (value) { return { key: 'graph_default_edge_color', value }; }, peg$c1362 = "transition", peg$c1363 = peg$literalExpectation("transition", false), peg$c1364 = function (transition_items) {
455
455
  return { config_kind: "transition", config_items: transition_items || [] };
456
- }, peg$c1365 = "graph_layout", peg$c1366 = peg$literalExpectation("graph_layout", false), peg$c1367 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1368 = "start_states", peg$c1369 = peg$literalExpectation("start_states", false), peg$c1370 = function (value) { return { key: "start_states", value: value }; }, peg$c1371 = "end_states", peg$c1372 = peg$literalExpectation("end_states", false), peg$c1373 = function (value) { return { key: "end_states", value: value }; }, peg$c1374 = "failed_outputs", peg$c1375 = peg$literalExpectation("failed_outputs", false), peg$c1376 = function (value) { return { key: "failed_outputs", value: typeof value === 'string' ? [value] : value }; }, peg$c1377 = "graph_bg_color", peg$c1378 = peg$literalExpectation("graph_bg_color", false), peg$c1379 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1380 = "allows_override", peg$c1381 = peg$literalExpectation("allows_override", false), peg$c1382 = function (value) { return { key: "allows_override", value: value }; }, peg$c1383 = "allow_islands", peg$c1384 = peg$literalExpectation("allow_islands", false), peg$c1385 = function (value) { return { key: "allow_islands", value: value }; }, peg$c1386 = function () { return true; }, peg$c1387 = function () { return false; }, peg$c1388 = "with_start", peg$c1389 = peg$literalExpectation("with_start", false), peg$c1390 = function () { return 'with_start'; }, peg$c1391 = function () { return true; }, peg$c1392 = function () { return false; }, peg$c1393 = peg$otherExpectation("configuration"), peg$c1394 = "MIT", peg$c1395 = peg$literalExpectation("MIT", false), peg$c1396 = "BSD 2-clause", peg$c1397 = peg$literalExpectation("BSD 2-clause", false), peg$c1398 = "BSD 3-clause", peg$c1399 = peg$literalExpectation("BSD 3-clause", false), peg$c1400 = "Apache 2.0", peg$c1401 = peg$literalExpectation("Apache 2.0", false), peg$c1402 = "Mozilla 2.0", peg$c1403 = peg$literalExpectation("Mozilla 2.0", false), peg$c1404 = "Public domain", peg$c1405 = peg$literalExpectation("Public domain", false), peg$c1406 = "GPL v2", peg$c1407 = peg$literalExpectation("GPL v2", false), peg$c1408 = "GPL v3", peg$c1409 = peg$literalExpectation("GPL v3", false), peg$c1410 = "LGPL v2.1", peg$c1411 = peg$literalExpectation("LGPL v2.1", false), peg$c1412 = "LGPL v3.0", peg$c1413 = peg$literalExpectation("LGPL v3.0", false), peg$c1414 = "Unknown", peg$c1415 = peg$literalExpectation("Unknown", false), peg$c1416 = peg$otherExpectation("direction"), peg$c1417 = "up", peg$c1418 = peg$literalExpectation("up", false), peg$c1419 = "right", peg$c1420 = peg$literalExpectation("right", false), peg$c1421 = "down", peg$c1422 = peg$literalExpectation("down", false), peg$c1423 = "left", peg$c1424 = peg$literalExpectation("left", false), peg$c1425 = peg$otherExpectation("hook definition (open/closed)"), peg$c1426 = "open", peg$c1427 = peg$literalExpectation("open", false), peg$c1428 = "closed", peg$c1429 = peg$literalExpectation("closed", false), peg$c1430 = "machine_author", peg$c1431 = peg$literalExpectation("machine_author", false), peg$c1432 = function (value) { return { key: "machine_author", value }; }, peg$c1433 = "machine_contributor", peg$c1434 = peg$literalExpectation("machine_contributor", false), peg$c1435 = function (value) { return { key: "machine_contributor", value }; }, peg$c1436 = "machine_comment", peg$c1437 = peg$literalExpectation("machine_comment", false), peg$c1438 = function (value) { return { key: "machine_comment", value }; }, peg$c1439 = "machine_definition", peg$c1440 = peg$literalExpectation("machine_definition", false), peg$c1441 = function (value) { return { key: "machine_definition", value }; }, peg$c1442 = "machine_name", peg$c1443 = peg$literalExpectation("machine_name", false), peg$c1444 = function (value) { return { key: "machine_name", value }; }, peg$c1445 = "npm_name", peg$c1446 = peg$literalExpectation("npm_name", false), peg$c1447 = function (value) { return { key: "npm_name", value }; }, peg$c1448 = "machine_reference", peg$c1449 = peg$literalExpectation("machine_reference", false), peg$c1450 = function (value) { return { key: "machine_reference", value }; }, peg$c1451 = "machine_version", peg$c1452 = peg$literalExpectation("machine_version", false), peg$c1453 = function (value) { return { key: "machine_version", value }; }, peg$c1454 = "machine_license", peg$c1455 = peg$literalExpectation("machine_license", false), peg$c1456 = function (value) { return { key: "machine_license", value }; }, peg$c1457 = "machine_language", peg$c1458 = peg$literalExpectation("machine_language", false), peg$c1459 = function (value) { return { key: "machine_language", value }; }, peg$c1460 = "fsl_version", peg$c1461 = peg$literalExpectation("fsl_version", false), peg$c1462 = function (value) { return { key: "fsl_version", value }; }, peg$c1463 = "theme", peg$c1464 = peg$literalExpectation("theme", false), peg$c1465 = function (value) { return { key: "theme", value }; }, peg$c1466 = "flow", peg$c1467 = peg$literalExpectation("flow", false), peg$c1468 = function (value) { return { key: "flow", value }; }, peg$c1469 = "hooks", peg$c1470 = peg$literalExpectation("hooks", false), peg$c1471 = function (value) { return { key: "hook_definition", value }; }, peg$c1472 = "dot_preamble", peg$c1473 = peg$literalExpectation("dot_preamble", false), peg$c1474 = function (value) { return { key: "dot_preamble", value }; }, peg$c1475 = peg$otherExpectation("machine attribute"), peg$c1476 = "label", peg$c1477 = peg$literalExpectation("label", false), peg$c1478 = function (value) { return { key: 'state-label', value }; }, peg$c1479 = "color", peg$c1480 = peg$literalExpectation("color", false), peg$c1481 = function (value) { return { key: 'color', value }; }, peg$c1482 = peg$otherExpectation("text color"), peg$c1483 = "text-color", peg$c1484 = peg$literalExpectation("text-color", false), peg$c1485 = function (value) { return { key: 'text-color', value }; }, peg$c1486 = peg$otherExpectation("background color"), peg$c1487 = "background-color", peg$c1488 = peg$literalExpectation("background-color", false), peg$c1489 = function (value) { return { key: 'background-color', value }; }, peg$c1490 = peg$otherExpectation("border color"), peg$c1491 = "border-color", peg$c1492 = peg$literalExpectation("border-color", false), peg$c1493 = function (value) { return { key: 'border-color', value }; }, peg$c1494 = peg$otherExpectation("shape"), peg$c1495 = "shape", peg$c1496 = peg$literalExpectation("shape", false), peg$c1497 = function (value) { return { key: 'shape', value }; }, peg$c1498 = peg$otherExpectation("corners"), peg$c1499 = "corners", peg$c1500 = peg$literalExpectation("corners", false), peg$c1501 = function (value) { return { key: 'corners', value }; }, peg$c1502 = peg$otherExpectation("linestyle"), peg$c1503 = function (value) { return { key: 'line-style', value }; }, peg$c1504 = "linestyle", peg$c1505 = peg$literalExpectation("linestyle", false), peg$c1506 = peg$otherExpectation("image"), peg$c1507 = "image", peg$c1508 = peg$literalExpectation("image", false), peg$c1509 = function (value) { return { key: 'image', value }; }, peg$c1510 = peg$otherExpectation("url"), peg$c1511 = "url", peg$c1512 = peg$literalExpectation("url", false), peg$c1513 = function (value) { return { key: 'url', value }; }, peg$c1514 = peg$otherExpectation("state property"), peg$c1515 = "property", peg$c1516 = peg$literalExpectation("property", false), peg$c1517 = function (name, value) {
456
+ }, peg$c1365 = "graph_layout", peg$c1366 = peg$literalExpectation("graph_layout", false), peg$c1367 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1368 = "start_states", peg$c1369 = peg$literalExpectation("start_states", false), peg$c1370 = function (value) { return { key: "start_states", value: value }; }, peg$c1371 = "end_states", peg$c1372 = peg$literalExpectation("end_states", false), peg$c1373 = function (value) { return { key: "end_states", value: value }; }, peg$c1374 = "failed_outputs", peg$c1375 = peg$literalExpectation("failed_outputs", false), peg$c1376 = function (value) { return { key: "failed_outputs", value: typeof value === 'string' ? [value] : value }; }, peg$c1377 = "graph_bg_color", peg$c1378 = peg$literalExpectation("graph_bg_color", false), peg$c1379 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1380 = "allows_override", peg$c1381 = peg$literalExpectation("allows_override", false), peg$c1382 = function (value) { return { key: "allows_override", value: value }; }, peg$c1383 = "allow_islands", peg$c1384 = peg$literalExpectation("allow_islands", false), peg$c1385 = function (value) { return { key: "allow_islands", value: value }; }, peg$c1386 = function () { return true; }, peg$c1387 = function () { return false; }, peg$c1388 = "with_start", peg$c1389 = peg$literalExpectation("with_start", false), peg$c1390 = function () { return 'with_start'; }, peg$c1391 = function () { return true; }, peg$c1392 = function () { return false; }, peg$c1393 = peg$otherExpectation("configuration"), peg$c1394 = "MIT", peg$c1395 = peg$literalExpectation("MIT", false), peg$c1396 = "BSD 2-clause", peg$c1397 = peg$literalExpectation("BSD 2-clause", false), peg$c1398 = "BSD 3-clause", peg$c1399 = peg$literalExpectation("BSD 3-clause", false), peg$c1400 = "Apache 2.0", peg$c1401 = peg$literalExpectation("Apache 2.0", false), peg$c1402 = "Mozilla 2.0", peg$c1403 = peg$literalExpectation("Mozilla 2.0", false), peg$c1404 = "Public domain", peg$c1405 = peg$literalExpectation("Public domain", false), peg$c1406 = "GPL v2", peg$c1407 = peg$literalExpectation("GPL v2", false), peg$c1408 = "GPL v3", peg$c1409 = peg$literalExpectation("GPL v3", false), peg$c1410 = "LGPL v2.1", peg$c1411 = peg$literalExpectation("LGPL v2.1", false), peg$c1412 = "LGPL v3.0", peg$c1413 = peg$literalExpectation("LGPL v3.0", false), peg$c1414 = "Unknown", peg$c1415 = peg$literalExpectation("Unknown", false), peg$c1416 = peg$otherExpectation("direction"), peg$c1417 = "up", peg$c1418 = peg$literalExpectation("up", false), peg$c1419 = "right", peg$c1420 = peg$literalExpectation("right", false), peg$c1421 = "down", peg$c1422 = peg$literalExpectation("down", false), peg$c1423 = "left", peg$c1424 = peg$literalExpectation("left", false), peg$c1425 = peg$otherExpectation("hook definition (open/closed)"), peg$c1426 = "open", peg$c1427 = peg$literalExpectation("open", false), peg$c1428 = "closed", peg$c1429 = peg$literalExpectation("closed", false), peg$c1430 = "machine_author", peg$c1431 = peg$literalExpectation("machine_author", false), peg$c1432 = function (value) { return { key: "machine_author", value }; }, peg$c1433 = "machine_contributor", peg$c1434 = peg$literalExpectation("machine_contributor", false), peg$c1435 = function (value) { return { key: "machine_contributor", value }; }, peg$c1436 = "machine_comment", peg$c1437 = peg$literalExpectation("machine_comment", false), peg$c1438 = function (value) { return { key: "machine_comment", value }; }, peg$c1439 = "machine_definition", peg$c1440 = peg$literalExpectation("machine_definition", false), peg$c1441 = function (value) { return { key: "machine_definition", value }; }, peg$c1442 = "machine_name", peg$c1443 = peg$literalExpectation("machine_name", false), peg$c1444 = function (value) { return { key: "machine_name", value }; }, peg$c1445 = "npm_name", peg$c1446 = peg$literalExpectation("npm_name", false), peg$c1447 = function (value) { return { key: "npm_name", value }; }, peg$c1448 = "machine_reference", peg$c1449 = peg$literalExpectation("machine_reference", false), peg$c1450 = function (value) { return { key: "machine_reference", value }; }, peg$c1451 = "machine_version", peg$c1452 = peg$literalExpectation("machine_version", false), peg$c1453 = function (value) { return { key: "machine_version", value }; }, peg$c1454 = "machine_license", peg$c1455 = peg$literalExpectation("machine_license", false), peg$c1456 = function (value) { return { key: "machine_license", value }; }, peg$c1457 = "machine_language", peg$c1458 = peg$literalExpectation("machine_language", false), peg$c1459 = function (value) { return { key: "machine_language", value }; }, peg$c1460 = "fsl_version", peg$c1461 = peg$literalExpectation("fsl_version", false), peg$c1462 = function (value) { return { key: "fsl_version", value }; }, peg$c1463 = "theme", peg$c1464 = peg$literalExpectation("theme", false), peg$c1465 = function (value) { return { key: "theme", value }; }, peg$c1466 = "flow", peg$c1467 = peg$literalExpectation("flow", false), peg$c1468 = function (value) { return { key: "flow", value }; }, peg$c1469 = "hooks", peg$c1470 = peg$literalExpectation("hooks", false), peg$c1471 = function (value) { return { key: "hook_definition", value }; }, peg$c1472 = "dot_preamble", peg$c1473 = peg$literalExpectation("dot_preamble", false), peg$c1474 = function (value) { return { key: "dot_preamble", value }; }, peg$c1475 = "height", peg$c1476 = peg$literalExpectation("height", false), peg$c1477 = function (n) { return { height: n }; }, peg$c1478 = function (w, h) { return { width: w, height: h }; }, peg$c1479 = function (w) { return { width: w }; }, peg$c1480 = "default_size", peg$c1481 = peg$literalExpectation("default_size", false), peg$c1482 = function (value) { return { key: "default_size", value }; }, peg$c1483 = peg$otherExpectation("machine attribute"), peg$c1484 = "label", peg$c1485 = peg$literalExpectation("label", false), peg$c1486 = function (value) { return { key: 'state-label', value }; }, peg$c1487 = "color", peg$c1488 = peg$literalExpectation("color", false), peg$c1489 = function (value) { return { key: 'color', value }; }, peg$c1490 = peg$otherExpectation("text color"), peg$c1491 = "text-color", peg$c1492 = peg$literalExpectation("text-color", false), peg$c1493 = function (value) { return { key: 'text-color', value }; }, peg$c1494 = peg$otherExpectation("background color"), peg$c1495 = "background-color", peg$c1496 = peg$literalExpectation("background-color", false), peg$c1497 = function (value) { return { key: 'background-color', value }; }, peg$c1498 = peg$otherExpectation("border color"), peg$c1499 = "border-color", peg$c1500 = peg$literalExpectation("border-color", false), peg$c1501 = function (value) { return { key: 'border-color', value }; }, peg$c1502 = peg$otherExpectation("shape"), peg$c1503 = "shape", peg$c1504 = peg$literalExpectation("shape", false), peg$c1505 = function (value) { return { key: 'shape', value }; }, peg$c1506 = peg$otherExpectation("corners"), peg$c1507 = "corners", peg$c1508 = peg$literalExpectation("corners", false), peg$c1509 = function (value) { return { key: 'corners', value }; }, peg$c1510 = peg$otherExpectation("linestyle"), peg$c1511 = function (value) { return { key: 'line-style', value }; }, peg$c1512 = "linestyle", peg$c1513 = peg$literalExpectation("linestyle", false), peg$c1514 = peg$otherExpectation("image"), peg$c1515 = "image", peg$c1516 = peg$literalExpectation("image", false), peg$c1517 = function (value) { return { key: 'image', value }; }, peg$c1518 = peg$otherExpectation("url"), peg$c1519 = "url", peg$c1520 = peg$literalExpectation("url", false), peg$c1521 = function (value) { return { key: 'url', value }; }, peg$c1522 = peg$otherExpectation("state property"), peg$c1523 = "property", peg$c1524 = peg$literalExpectation("property", false), peg$c1525 = function (name, value) {
457
457
  return { key: 'state_property', name, value };
458
- }, peg$c1518 = "required", peg$c1519 = peg$literalExpectation("required", false), peg$c1520 = function (name, value) {
458
+ }, peg$c1526 = "required", peg$c1527 = peg$literalExpectation("required", false), peg$c1528 = function (name, value) {
459
459
  return { key: 'state_property', name, value, required: true };
460
- }, peg$c1521 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1522 = "&", peg$c1523 = peg$literalExpectation("&", false), peg$c1524 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1525 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1526 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1527 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1528 = function (name) { return { key: 'property_definition', name }; }, peg$c1529 = "arrange", peg$c1530 = peg$literalExpectation("arrange", false), peg$c1531 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1532 = "arrange-start", peg$c1533 = peg$literalExpectation("arrange-start", false), peg$c1534 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1535 = "arrange-end", peg$c1536 = peg$literalExpectation("arrange-end", false), peg$c1537 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1538 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
460
+ }, peg$c1529 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1530 = "&", peg$c1531 = peg$literalExpectation("&", false), peg$c1532 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1533 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1534 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1535 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1536 = function (name) { return { key: 'property_definition', name }; }, peg$c1537 = "arrange", peg$c1538 = peg$literalExpectation("arrange", false), peg$c1539 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1540 = "arrange-start", peg$c1541 = peg$literalExpectation("arrange-start", false), peg$c1542 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1543 = "arrange-end", peg$c1544 = peg$literalExpectation("arrange-end", false), peg$c1545 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1546 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
461
461
  if ("startRule" in options) {
462
462
  if (!(options.startRule in peg$startRuleFunctions)) {
463
463
  throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
@@ -17177,6 +17177,186 @@ function peg$parse(input, options) {
17177
17177
  }
17178
17178
  return s0;
17179
17179
  }
17180
+ function peg$parseDefaultSizeVal() {
17181
+ var s0, s1, s2, s3;
17182
+ s0 = peg$currPos;
17183
+ if (input.substr(peg$currPos, 6) === peg$c1475) {
17184
+ s1 = peg$c1475;
17185
+ peg$currPos += 6;
17186
+ }
17187
+ else {
17188
+ s1 = peg$FAILED;
17189
+ if (peg$silentFails === 0) {
17190
+ peg$fail(peg$c1476);
17191
+ }
17192
+ }
17193
+ if (s1 !== peg$FAILED) {
17194
+ s2 = peg$parseWS();
17195
+ if (s2 !== peg$FAILED) {
17196
+ s3 = peg$parseNonNegNumber();
17197
+ if (s3 !== peg$FAILED) {
17198
+ peg$savedPos = s0;
17199
+ s1 = peg$c1477(s3);
17200
+ s0 = s1;
17201
+ }
17202
+ else {
17203
+ peg$currPos = s0;
17204
+ s0 = peg$FAILED;
17205
+ }
17206
+ }
17207
+ else {
17208
+ peg$currPos = s0;
17209
+ s0 = peg$FAILED;
17210
+ }
17211
+ }
17212
+ else {
17213
+ peg$currPos = s0;
17214
+ s0 = peg$FAILED;
17215
+ }
17216
+ if (s0 === peg$FAILED) {
17217
+ s0 = peg$currPos;
17218
+ s1 = peg$parseNonNegNumber();
17219
+ if (s1 !== peg$FAILED) {
17220
+ s2 = peg$parseNonNegNumber();
17221
+ if (s2 !== peg$FAILED) {
17222
+ peg$savedPos = s0;
17223
+ s1 = peg$c1478(s1, s2);
17224
+ s0 = s1;
17225
+ }
17226
+ else {
17227
+ peg$currPos = s0;
17228
+ s0 = peg$FAILED;
17229
+ }
17230
+ }
17231
+ else {
17232
+ peg$currPos = s0;
17233
+ s0 = peg$FAILED;
17234
+ }
17235
+ if (s0 === peg$FAILED) {
17236
+ s0 = peg$currPos;
17237
+ s1 = peg$parseNonNegNumber();
17238
+ if (s1 !== peg$FAILED) {
17239
+ peg$savedPos = s0;
17240
+ s1 = peg$c1479(s1);
17241
+ }
17242
+ s0 = s1;
17243
+ }
17244
+ }
17245
+ return s0;
17246
+ }
17247
+ function peg$parseDefaultSize() {
17248
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
17249
+ s0 = peg$currPos;
17250
+ s1 = peg$parseWS();
17251
+ if (s1 === peg$FAILED) {
17252
+ s1 = null;
17253
+ }
17254
+ if (s1 !== peg$FAILED) {
17255
+ if (input.substr(peg$currPos, 12) === peg$c1480) {
17256
+ s2 = peg$c1480;
17257
+ peg$currPos += 12;
17258
+ }
17259
+ else {
17260
+ s2 = peg$FAILED;
17261
+ if (peg$silentFails === 0) {
17262
+ peg$fail(peg$c1481);
17263
+ }
17264
+ }
17265
+ if (s2 !== peg$FAILED) {
17266
+ s3 = peg$parseWS();
17267
+ if (s3 === peg$FAILED) {
17268
+ s3 = null;
17269
+ }
17270
+ if (s3 !== peg$FAILED) {
17271
+ if (input.charCodeAt(peg$currPos) === 58) {
17272
+ s4 = peg$c1206;
17273
+ peg$currPos++;
17274
+ }
17275
+ else {
17276
+ s4 = peg$FAILED;
17277
+ if (peg$silentFails === 0) {
17278
+ peg$fail(peg$c1207);
17279
+ }
17280
+ }
17281
+ if (s4 !== peg$FAILED) {
17282
+ s5 = peg$parseWS();
17283
+ if (s5 === peg$FAILED) {
17284
+ s5 = null;
17285
+ }
17286
+ if (s5 !== peg$FAILED) {
17287
+ s6 = peg$parseDefaultSizeVal();
17288
+ if (s6 !== peg$FAILED) {
17289
+ s7 = peg$parseWS();
17290
+ if (s7 === peg$FAILED) {
17291
+ s7 = null;
17292
+ }
17293
+ if (s7 !== peg$FAILED) {
17294
+ if (input.charCodeAt(peg$currPos) === 59) {
17295
+ s8 = peg$c1208;
17296
+ peg$currPos++;
17297
+ }
17298
+ else {
17299
+ s8 = peg$FAILED;
17300
+ if (peg$silentFails === 0) {
17301
+ peg$fail(peg$c1209);
17302
+ }
17303
+ }
17304
+ if (s8 !== peg$FAILED) {
17305
+ s9 = peg$parseWS();
17306
+ if (s9 === peg$FAILED) {
17307
+ s9 = null;
17308
+ }
17309
+ if (s9 !== peg$FAILED) {
17310
+ peg$savedPos = s0;
17311
+ s1 = peg$c1482(s6);
17312
+ s0 = s1;
17313
+ }
17314
+ else {
17315
+ peg$currPos = s0;
17316
+ s0 = peg$FAILED;
17317
+ }
17318
+ }
17319
+ else {
17320
+ peg$currPos = s0;
17321
+ s0 = peg$FAILED;
17322
+ }
17323
+ }
17324
+ else {
17325
+ peg$currPos = s0;
17326
+ s0 = peg$FAILED;
17327
+ }
17328
+ }
17329
+ else {
17330
+ peg$currPos = s0;
17331
+ s0 = peg$FAILED;
17332
+ }
17333
+ }
17334
+ else {
17335
+ peg$currPos = s0;
17336
+ s0 = peg$FAILED;
17337
+ }
17338
+ }
17339
+ else {
17340
+ peg$currPos = s0;
17341
+ s0 = peg$FAILED;
17342
+ }
17343
+ }
17344
+ else {
17345
+ peg$currPos = s0;
17346
+ s0 = peg$FAILED;
17347
+ }
17348
+ }
17349
+ else {
17350
+ peg$currPos = s0;
17351
+ s0 = peg$FAILED;
17352
+ }
17353
+ }
17354
+ else {
17355
+ peg$currPos = s0;
17356
+ s0 = peg$FAILED;
17357
+ }
17358
+ return s0;
17359
+ }
17180
17360
  function peg$parseMachineAttribute() {
17181
17361
  var s0;
17182
17362
  peg$silentFails++;
@@ -17209,6 +17389,9 @@ function peg$parse(input, options) {
17209
17389
  s0 = peg$parseMachineFlow();
17210
17390
  if (s0 === peg$FAILED) {
17211
17391
  s0 = peg$parseMachineHookDefinition();
17392
+ if (s0 === peg$FAILED) {
17393
+ s0 = peg$parseDefaultSize();
17394
+ }
17212
17395
  }
17213
17396
  }
17214
17397
  }
@@ -17226,7 +17409,7 @@ function peg$parse(input, options) {
17226
17409
  peg$silentFails--;
17227
17410
  if (s0 === peg$FAILED) {
17228
17411
  if (peg$silentFails === 0) {
17229
- peg$fail(peg$c1475);
17412
+ peg$fail(peg$c1483);
17230
17413
  }
17231
17414
  }
17232
17415
  return s0;
@@ -17257,14 +17440,14 @@ function peg$parse(input, options) {
17257
17440
  s1 = null;
17258
17441
  }
17259
17442
  if (s1 !== peg$FAILED) {
17260
- if (input.substr(peg$currPos, 5) === peg$c1476) {
17261
- s2 = peg$c1476;
17443
+ if (input.substr(peg$currPos, 5) === peg$c1484) {
17444
+ s2 = peg$c1484;
17262
17445
  peg$currPos += 5;
17263
17446
  }
17264
17447
  else {
17265
17448
  s2 = peg$FAILED;
17266
17449
  if (peg$silentFails === 0) {
17267
- peg$fail(peg$c1477);
17450
+ peg$fail(peg$c1485);
17268
17451
  }
17269
17452
  }
17270
17453
  if (s2 !== peg$FAILED) {
@@ -17313,7 +17496,7 @@ function peg$parse(input, options) {
17313
17496
  }
17314
17497
  if (s9 !== peg$FAILED) {
17315
17498
  peg$savedPos = s0;
17316
- s1 = peg$c1478(s6);
17499
+ s1 = peg$c1486(s6);
17317
17500
  s0 = s1;
17318
17501
  }
17319
17502
  else {
@@ -17378,14 +17561,14 @@ function peg$parse(input, options) {
17378
17561
  s1 = null;
17379
17562
  }
17380
17563
  if (s1 !== peg$FAILED) {
17381
- if (input.substr(peg$currPos, 5) === peg$c1479) {
17382
- s2 = peg$c1479;
17564
+ if (input.substr(peg$currPos, 5) === peg$c1487) {
17565
+ s2 = peg$c1487;
17383
17566
  peg$currPos += 5;
17384
17567
  }
17385
17568
  else {
17386
17569
  s2 = peg$FAILED;
17387
17570
  if (peg$silentFails === 0) {
17388
- peg$fail(peg$c1480);
17571
+ peg$fail(peg$c1488);
17389
17572
  }
17390
17573
  }
17391
17574
  if (s2 !== peg$FAILED) {
@@ -17434,7 +17617,7 @@ function peg$parse(input, options) {
17434
17617
  }
17435
17618
  if (s9 !== peg$FAILED) {
17436
17619
  peg$savedPos = s0;
17437
- s1 = peg$c1481(s6);
17620
+ s1 = peg$c1489(s6);
17438
17621
  s0 = s1;
17439
17622
  }
17440
17623
  else {
@@ -17499,14 +17682,14 @@ function peg$parse(input, options) {
17499
17682
  s1 = null;
17500
17683
  }
17501
17684
  if (s1 !== peg$FAILED) {
17502
- if (input.substr(peg$currPos, 10) === peg$c1483) {
17503
- s2 = peg$c1483;
17685
+ if (input.substr(peg$currPos, 10) === peg$c1491) {
17686
+ s2 = peg$c1491;
17504
17687
  peg$currPos += 10;
17505
17688
  }
17506
17689
  else {
17507
17690
  s2 = peg$FAILED;
17508
17691
  if (peg$silentFails === 0) {
17509
- peg$fail(peg$c1484);
17692
+ peg$fail(peg$c1492);
17510
17693
  }
17511
17694
  }
17512
17695
  if (s2 !== peg$FAILED) {
@@ -17555,7 +17738,7 @@ function peg$parse(input, options) {
17555
17738
  }
17556
17739
  if (s9 !== peg$FAILED) {
17557
17740
  peg$savedPos = s0;
17558
- s1 = peg$c1485(s6);
17741
+ s1 = peg$c1493(s6);
17559
17742
  s0 = s1;
17560
17743
  }
17561
17744
  else {
@@ -17606,7 +17789,7 @@ function peg$parse(input, options) {
17606
17789
  if (s0 === peg$FAILED) {
17607
17790
  s1 = peg$FAILED;
17608
17791
  if (peg$silentFails === 0) {
17609
- peg$fail(peg$c1482);
17792
+ peg$fail(peg$c1490);
17610
17793
  }
17611
17794
  }
17612
17795
  return s0;
@@ -17620,14 +17803,14 @@ function peg$parse(input, options) {
17620
17803
  s1 = null;
17621
17804
  }
17622
17805
  if (s1 !== peg$FAILED) {
17623
- if (input.substr(peg$currPos, 16) === peg$c1487) {
17624
- s2 = peg$c1487;
17806
+ if (input.substr(peg$currPos, 16) === peg$c1495) {
17807
+ s2 = peg$c1495;
17625
17808
  peg$currPos += 16;
17626
17809
  }
17627
17810
  else {
17628
17811
  s2 = peg$FAILED;
17629
17812
  if (peg$silentFails === 0) {
17630
- peg$fail(peg$c1488);
17813
+ peg$fail(peg$c1496);
17631
17814
  }
17632
17815
  }
17633
17816
  if (s2 !== peg$FAILED) {
@@ -17676,7 +17859,7 @@ function peg$parse(input, options) {
17676
17859
  }
17677
17860
  if (s9 !== peg$FAILED) {
17678
17861
  peg$savedPos = s0;
17679
- s1 = peg$c1489(s6);
17862
+ s1 = peg$c1497(s6);
17680
17863
  s0 = s1;
17681
17864
  }
17682
17865
  else {
@@ -17727,7 +17910,7 @@ function peg$parse(input, options) {
17727
17910
  if (s0 === peg$FAILED) {
17728
17911
  s1 = peg$FAILED;
17729
17912
  if (peg$silentFails === 0) {
17730
- peg$fail(peg$c1486);
17913
+ peg$fail(peg$c1494);
17731
17914
  }
17732
17915
  }
17733
17916
  return s0;
@@ -17741,14 +17924,14 @@ function peg$parse(input, options) {
17741
17924
  s1 = null;
17742
17925
  }
17743
17926
  if (s1 !== peg$FAILED) {
17744
- if (input.substr(peg$currPos, 12) === peg$c1491) {
17745
- s2 = peg$c1491;
17927
+ if (input.substr(peg$currPos, 12) === peg$c1499) {
17928
+ s2 = peg$c1499;
17746
17929
  peg$currPos += 12;
17747
17930
  }
17748
17931
  else {
17749
17932
  s2 = peg$FAILED;
17750
17933
  if (peg$silentFails === 0) {
17751
- peg$fail(peg$c1492);
17934
+ peg$fail(peg$c1500);
17752
17935
  }
17753
17936
  }
17754
17937
  if (s2 !== peg$FAILED) {
@@ -17797,7 +17980,7 @@ function peg$parse(input, options) {
17797
17980
  }
17798
17981
  if (s9 !== peg$FAILED) {
17799
17982
  peg$savedPos = s0;
17800
- s1 = peg$c1493(s6);
17983
+ s1 = peg$c1501(s6);
17801
17984
  s0 = s1;
17802
17985
  }
17803
17986
  else {
@@ -17848,7 +18031,7 @@ function peg$parse(input, options) {
17848
18031
  if (s0 === peg$FAILED) {
17849
18032
  s1 = peg$FAILED;
17850
18033
  if (peg$silentFails === 0) {
17851
- peg$fail(peg$c1490);
18034
+ peg$fail(peg$c1498);
17852
18035
  }
17853
18036
  }
17854
18037
  return s0;
@@ -17862,14 +18045,14 @@ function peg$parse(input, options) {
17862
18045
  s1 = null;
17863
18046
  }
17864
18047
  if (s1 !== peg$FAILED) {
17865
- if (input.substr(peg$currPos, 5) === peg$c1495) {
17866
- s2 = peg$c1495;
18048
+ if (input.substr(peg$currPos, 5) === peg$c1503) {
18049
+ s2 = peg$c1503;
17867
18050
  peg$currPos += 5;
17868
18051
  }
17869
18052
  else {
17870
18053
  s2 = peg$FAILED;
17871
18054
  if (peg$silentFails === 0) {
17872
- peg$fail(peg$c1496);
18055
+ peg$fail(peg$c1504);
17873
18056
  }
17874
18057
  }
17875
18058
  if (s2 !== peg$FAILED) {
@@ -17918,7 +18101,7 @@ function peg$parse(input, options) {
17918
18101
  }
17919
18102
  if (s9 !== peg$FAILED) {
17920
18103
  peg$savedPos = s0;
17921
- s1 = peg$c1497(s6);
18104
+ s1 = peg$c1505(s6);
17922
18105
  s0 = s1;
17923
18106
  }
17924
18107
  else {
@@ -17969,7 +18152,7 @@ function peg$parse(input, options) {
17969
18152
  if (s0 === peg$FAILED) {
17970
18153
  s1 = peg$FAILED;
17971
18154
  if (peg$silentFails === 0) {
17972
- peg$fail(peg$c1494);
18155
+ peg$fail(peg$c1502);
17973
18156
  }
17974
18157
  }
17975
18158
  return s0;
@@ -17983,14 +18166,14 @@ function peg$parse(input, options) {
17983
18166
  s1 = null;
17984
18167
  }
17985
18168
  if (s1 !== peg$FAILED) {
17986
- if (input.substr(peg$currPos, 7) === peg$c1499) {
17987
- s2 = peg$c1499;
18169
+ if (input.substr(peg$currPos, 7) === peg$c1507) {
18170
+ s2 = peg$c1507;
17988
18171
  peg$currPos += 7;
17989
18172
  }
17990
18173
  else {
17991
18174
  s2 = peg$FAILED;
17992
18175
  if (peg$silentFails === 0) {
17993
- peg$fail(peg$c1500);
18176
+ peg$fail(peg$c1508);
17994
18177
  }
17995
18178
  }
17996
18179
  if (s2 !== peg$FAILED) {
@@ -18039,7 +18222,7 @@ function peg$parse(input, options) {
18039
18222
  }
18040
18223
  if (s9 !== peg$FAILED) {
18041
18224
  peg$savedPos = s0;
18042
- s1 = peg$c1501(s6);
18225
+ s1 = peg$c1509(s6);
18043
18226
  s0 = s1;
18044
18227
  }
18045
18228
  else {
@@ -18090,7 +18273,7 @@ function peg$parse(input, options) {
18090
18273
  if (s0 === peg$FAILED) {
18091
18274
  s1 = peg$FAILED;
18092
18275
  if (peg$silentFails === 0) {
18093
- peg$fail(peg$c1498);
18276
+ peg$fail(peg$c1506);
18094
18277
  }
18095
18278
  }
18096
18279
  return s0;
@@ -18160,7 +18343,7 @@ function peg$parse(input, options) {
18160
18343
  }
18161
18344
  if (s9 !== peg$FAILED) {
18162
18345
  peg$savedPos = s0;
18163
- s1 = peg$c1503(s6);
18346
+ s1 = peg$c1511(s6);
18164
18347
  s0 = s1;
18165
18348
  }
18166
18349
  else {
@@ -18214,14 +18397,14 @@ function peg$parse(input, options) {
18214
18397
  s1 = null;
18215
18398
  }
18216
18399
  if (s1 !== peg$FAILED) {
18217
- if (input.substr(peg$currPos, 9) === peg$c1504) {
18218
- s2 = peg$c1504;
18400
+ if (input.substr(peg$currPos, 9) === peg$c1512) {
18401
+ s2 = peg$c1512;
18219
18402
  peg$currPos += 9;
18220
18403
  }
18221
18404
  else {
18222
18405
  s2 = peg$FAILED;
18223
18406
  if (peg$silentFails === 0) {
18224
- peg$fail(peg$c1505);
18407
+ peg$fail(peg$c1513);
18225
18408
  }
18226
18409
  }
18227
18410
  if (s2 !== peg$FAILED) {
@@ -18270,7 +18453,7 @@ function peg$parse(input, options) {
18270
18453
  }
18271
18454
  if (s9 !== peg$FAILED) {
18272
18455
  peg$savedPos = s0;
18273
- s1 = peg$c1503(s6);
18456
+ s1 = peg$c1511(s6);
18274
18457
  s0 = s1;
18275
18458
  }
18276
18459
  else {
@@ -18322,7 +18505,7 @@ function peg$parse(input, options) {
18322
18505
  if (s0 === peg$FAILED) {
18323
18506
  s1 = peg$FAILED;
18324
18507
  if (peg$silentFails === 0) {
18325
- peg$fail(peg$c1502);
18508
+ peg$fail(peg$c1510);
18326
18509
  }
18327
18510
  }
18328
18511
  return s0;
@@ -18336,14 +18519,14 @@ function peg$parse(input, options) {
18336
18519
  s1 = null;
18337
18520
  }
18338
18521
  if (s1 !== peg$FAILED) {
18339
- if (input.substr(peg$currPos, 5) === peg$c1507) {
18340
- s2 = peg$c1507;
18522
+ if (input.substr(peg$currPos, 5) === peg$c1515) {
18523
+ s2 = peg$c1515;
18341
18524
  peg$currPos += 5;
18342
18525
  }
18343
18526
  else {
18344
18527
  s2 = peg$FAILED;
18345
18528
  if (peg$silentFails === 0) {
18346
- peg$fail(peg$c1508);
18529
+ peg$fail(peg$c1516);
18347
18530
  }
18348
18531
  }
18349
18532
  if (s2 !== peg$FAILED) {
@@ -18392,7 +18575,7 @@ function peg$parse(input, options) {
18392
18575
  }
18393
18576
  if (s9 !== peg$FAILED) {
18394
18577
  peg$savedPos = s0;
18395
- s1 = peg$c1509(s6);
18578
+ s1 = peg$c1517(s6);
18396
18579
  s0 = s1;
18397
18580
  }
18398
18581
  else {
@@ -18443,7 +18626,7 @@ function peg$parse(input, options) {
18443
18626
  if (s0 === peg$FAILED) {
18444
18627
  s1 = peg$FAILED;
18445
18628
  if (peg$silentFails === 0) {
18446
- peg$fail(peg$c1506);
18629
+ peg$fail(peg$c1514);
18447
18630
  }
18448
18631
  }
18449
18632
  return s0;
@@ -18457,14 +18640,14 @@ function peg$parse(input, options) {
18457
18640
  s1 = null;
18458
18641
  }
18459
18642
  if (s1 !== peg$FAILED) {
18460
- if (input.substr(peg$currPos, 3) === peg$c1511) {
18461
- s2 = peg$c1511;
18643
+ if (input.substr(peg$currPos, 3) === peg$c1519) {
18644
+ s2 = peg$c1519;
18462
18645
  peg$currPos += 3;
18463
18646
  }
18464
18647
  else {
18465
18648
  s2 = peg$FAILED;
18466
18649
  if (peg$silentFails === 0) {
18467
- peg$fail(peg$c1512);
18650
+ peg$fail(peg$c1520);
18468
18651
  }
18469
18652
  }
18470
18653
  if (s2 !== peg$FAILED) {
@@ -18513,7 +18696,7 @@ function peg$parse(input, options) {
18513
18696
  }
18514
18697
  if (s9 !== peg$FAILED) {
18515
18698
  peg$savedPos = s0;
18516
- s1 = peg$c1513(s6);
18699
+ s1 = peg$c1521(s6);
18517
18700
  s0 = s1;
18518
18701
  }
18519
18702
  else {
@@ -18564,7 +18747,7 @@ function peg$parse(input, options) {
18564
18747
  if (s0 === peg$FAILED) {
18565
18748
  s1 = peg$FAILED;
18566
18749
  if (peg$silentFails === 0) {
18567
- peg$fail(peg$c1510);
18750
+ peg$fail(peg$c1518);
18568
18751
  }
18569
18752
  }
18570
18753
  return s0;
@@ -18578,14 +18761,14 @@ function peg$parse(input, options) {
18578
18761
  s1 = null;
18579
18762
  }
18580
18763
  if (s1 !== peg$FAILED) {
18581
- if (input.substr(peg$currPos, 8) === peg$c1515) {
18582
- s2 = peg$c1515;
18764
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
18765
+ s2 = peg$c1523;
18583
18766
  peg$currPos += 8;
18584
18767
  }
18585
18768
  else {
18586
18769
  s2 = peg$FAILED;
18587
18770
  if (peg$silentFails === 0) {
18588
- peg$fail(peg$c1516);
18771
+ peg$fail(peg$c1524);
18589
18772
  }
18590
18773
  }
18591
18774
  if (s2 !== peg$FAILED) {
@@ -18638,7 +18821,7 @@ function peg$parse(input, options) {
18638
18821
  }
18639
18822
  if (s11 !== peg$FAILED) {
18640
18823
  peg$savedPos = s0;
18641
- s1 = peg$c1517(s6, s8);
18824
+ s1 = peg$c1525(s6, s8);
18642
18825
  s0 = s1;
18643
18826
  }
18644
18827
  else {
@@ -18702,14 +18885,14 @@ function peg$parse(input, options) {
18702
18885
  s1 = null;
18703
18886
  }
18704
18887
  if (s1 !== peg$FAILED) {
18705
- if (input.substr(peg$currPos, 8) === peg$c1515) {
18706
- s2 = peg$c1515;
18888
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
18889
+ s2 = peg$c1523;
18707
18890
  peg$currPos += 8;
18708
18891
  }
18709
18892
  else {
18710
18893
  s2 = peg$FAILED;
18711
18894
  if (peg$silentFails === 0) {
18712
- peg$fail(peg$c1516);
18895
+ peg$fail(peg$c1524);
18713
18896
  }
18714
18897
  }
18715
18898
  if (s2 !== peg$FAILED) {
@@ -18742,14 +18925,14 @@ function peg$parse(input, options) {
18742
18925
  if (s8 !== peg$FAILED) {
18743
18926
  s9 = peg$parseWS();
18744
18927
  if (s9 !== peg$FAILED) {
18745
- if (input.substr(peg$currPos, 8) === peg$c1518) {
18746
- s10 = peg$c1518;
18928
+ if (input.substr(peg$currPos, 8) === peg$c1526) {
18929
+ s10 = peg$c1526;
18747
18930
  peg$currPos += 8;
18748
18931
  }
18749
18932
  else {
18750
18933
  s10 = peg$FAILED;
18751
18934
  if (peg$silentFails === 0) {
18752
- peg$fail(peg$c1519);
18935
+ peg$fail(peg$c1527);
18753
18936
  }
18754
18937
  }
18755
18938
  if (s10 !== peg$FAILED) {
@@ -18775,7 +18958,7 @@ function peg$parse(input, options) {
18775
18958
  }
18776
18959
  if (s13 !== peg$FAILED) {
18777
18960
  peg$savedPos = s0;
18778
- s1 = peg$c1520(s6, s8);
18961
+ s1 = peg$c1528(s6, s8);
18779
18962
  s0 = s1;
18780
18963
  }
18781
18964
  else {
@@ -18847,7 +19030,7 @@ function peg$parse(input, options) {
18847
19030
  if (s0 === peg$FAILED) {
18848
19031
  s1 = peg$FAILED;
18849
19032
  if (peg$silentFails === 0) {
18850
- peg$fail(peg$c1514);
19033
+ peg$fail(peg$c1522);
18851
19034
  }
18852
19035
  }
18853
19036
  return s0;
@@ -19027,7 +19210,7 @@ function peg$parse(input, options) {
19027
19210
  }
19028
19211
  if (s11 !== peg$FAILED) {
19029
19212
  peg$savedPos = s0;
19030
- s1 = peg$c1521(s4, s8);
19213
+ s1 = peg$c1529(s4, s8);
19031
19214
  s0 = s1;
19032
19215
  }
19033
19216
  else {
@@ -19095,13 +19278,13 @@ function peg$parse(input, options) {
19095
19278
  }
19096
19279
  if (s1 !== peg$FAILED) {
19097
19280
  if (input.charCodeAt(peg$currPos) === 38) {
19098
- s2 = peg$c1522;
19281
+ s2 = peg$c1530;
19099
19282
  peg$currPos++;
19100
19283
  }
19101
19284
  else {
19102
19285
  s2 = peg$FAILED;
19103
19286
  if (peg$silentFails === 0) {
19104
- peg$fail(peg$c1523);
19287
+ peg$fail(peg$c1531);
19105
19288
  }
19106
19289
  }
19107
19290
  if (s2 !== peg$FAILED) {
@@ -19157,7 +19340,7 @@ function peg$parse(input, options) {
19157
19340
  }
19158
19341
  if (s11 !== peg$FAILED) {
19159
19342
  peg$savedPos = s0;
19160
- s1 = peg$c1524(s4, s8);
19343
+ s1 = peg$c1532(s4, s8);
19161
19344
  s0 = s1;
19162
19345
  }
19163
19346
  else {
@@ -19224,14 +19407,14 @@ function peg$parse(input, options) {
19224
19407
  s1 = null;
19225
19408
  }
19226
19409
  if (s1 !== peg$FAILED) {
19227
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19228
- s2 = peg$c1515;
19410
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19411
+ s2 = peg$c1523;
19229
19412
  peg$currPos += 8;
19230
19413
  }
19231
19414
  else {
19232
19415
  s2 = peg$FAILED;
19233
19416
  if (peg$silentFails === 0) {
19234
- peg$fail(peg$c1516);
19417
+ peg$fail(peg$c1524);
19235
19418
  }
19236
19419
  }
19237
19420
  if (s2 !== peg$FAILED) {
@@ -19258,14 +19441,14 @@ function peg$parse(input, options) {
19258
19441
  if (s8 !== peg$FAILED) {
19259
19442
  s9 = peg$parseWS();
19260
19443
  if (s9 !== peg$FAILED) {
19261
- if (input.substr(peg$currPos, 8) === peg$c1518) {
19262
- s10 = peg$c1518;
19444
+ if (input.substr(peg$currPos, 8) === peg$c1526) {
19445
+ s10 = peg$c1526;
19263
19446
  peg$currPos += 8;
19264
19447
  }
19265
19448
  else {
19266
19449
  s10 = peg$FAILED;
19267
19450
  if (peg$silentFails === 0) {
19268
- peg$fail(peg$c1519);
19451
+ peg$fail(peg$c1527);
19269
19452
  }
19270
19453
  }
19271
19454
  if (s10 !== peg$FAILED) {
@@ -19291,7 +19474,7 @@ function peg$parse(input, options) {
19291
19474
  }
19292
19475
  if (s13 !== peg$FAILED) {
19293
19476
  peg$savedPos = s0;
19294
- s1 = peg$c1525(s4, s8);
19477
+ s1 = peg$c1533(s4, s8);
19295
19478
  s0 = s1;
19296
19479
  }
19297
19480
  else {
@@ -19365,14 +19548,14 @@ function peg$parse(input, options) {
19365
19548
  s1 = null;
19366
19549
  }
19367
19550
  if (s1 !== peg$FAILED) {
19368
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19369
- s2 = peg$c1515;
19551
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19552
+ s2 = peg$c1523;
19370
19553
  peg$currPos += 8;
19371
19554
  }
19372
19555
  else {
19373
19556
  s2 = peg$FAILED;
19374
19557
  if (peg$silentFails === 0) {
19375
- peg$fail(peg$c1516);
19558
+ peg$fail(peg$c1524);
19376
19559
  }
19377
19560
  }
19378
19561
  if (s2 !== peg$FAILED) {
@@ -19382,14 +19565,14 @@ function peg$parse(input, options) {
19382
19565
  if (s4 !== peg$FAILED) {
19383
19566
  s5 = peg$parseWS();
19384
19567
  if (s5 !== peg$FAILED) {
19385
- if (input.substr(peg$currPos, 8) === peg$c1518) {
19386
- s6 = peg$c1518;
19568
+ if (input.substr(peg$currPos, 8) === peg$c1526) {
19569
+ s6 = peg$c1526;
19387
19570
  peg$currPos += 8;
19388
19571
  }
19389
19572
  else {
19390
19573
  s6 = peg$FAILED;
19391
19574
  if (peg$silentFails === 0) {
19392
- peg$fail(peg$c1519);
19575
+ peg$fail(peg$c1527);
19393
19576
  }
19394
19577
  }
19395
19578
  if (s6 !== peg$FAILED) {
@@ -19415,7 +19598,7 @@ function peg$parse(input, options) {
19415
19598
  }
19416
19599
  if (s9 !== peg$FAILED) {
19417
19600
  peg$savedPos = s0;
19418
- s1 = peg$c1526(s4);
19601
+ s1 = peg$c1534(s4);
19419
19602
  s0 = s1;
19420
19603
  }
19421
19604
  else {
@@ -19469,14 +19652,14 @@ function peg$parse(input, options) {
19469
19652
  s1 = null;
19470
19653
  }
19471
19654
  if (s1 !== peg$FAILED) {
19472
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19473
- s2 = peg$c1515;
19655
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19656
+ s2 = peg$c1523;
19474
19657
  peg$currPos += 8;
19475
19658
  }
19476
19659
  else {
19477
19660
  s2 = peg$FAILED;
19478
19661
  if (peg$silentFails === 0) {
19479
- peg$fail(peg$c1516);
19662
+ peg$fail(peg$c1524);
19480
19663
  }
19481
19664
  }
19482
19665
  if (s2 !== peg$FAILED) {
@@ -19523,7 +19706,7 @@ function peg$parse(input, options) {
19523
19706
  }
19524
19707
  if (s11 !== peg$FAILED) {
19525
19708
  peg$savedPos = s0;
19526
- s1 = peg$c1527(s4, s8);
19709
+ s1 = peg$c1535(s4, s8);
19527
19710
  s0 = s1;
19528
19711
  }
19529
19712
  else {
@@ -19587,14 +19770,14 @@ function peg$parse(input, options) {
19587
19770
  s1 = null;
19588
19771
  }
19589
19772
  if (s1 !== peg$FAILED) {
19590
- if (input.substr(peg$currPos, 8) === peg$c1515) {
19591
- s2 = peg$c1515;
19773
+ if (input.substr(peg$currPos, 8) === peg$c1523) {
19774
+ s2 = peg$c1523;
19592
19775
  peg$currPos += 8;
19593
19776
  }
19594
19777
  else {
19595
19778
  s2 = peg$FAILED;
19596
19779
  if (peg$silentFails === 0) {
19597
- peg$fail(peg$c1516);
19780
+ peg$fail(peg$c1524);
19598
19781
  }
19599
19782
  }
19600
19783
  if (s2 !== peg$FAILED) {
@@ -19624,7 +19807,7 @@ function peg$parse(input, options) {
19624
19807
  }
19625
19808
  if (s7 !== peg$FAILED) {
19626
19809
  peg$savedPos = s0;
19627
- s1 = peg$c1528(s4);
19810
+ s1 = peg$c1536(s4);
19628
19811
  s0 = s1;
19629
19812
  }
19630
19813
  else {
@@ -19669,14 +19852,14 @@ function peg$parse(input, options) {
19669
19852
  function peg$parseRegularArrangeDeclaration() {
19670
19853
  var s0, s1, s2, s3, s4, s5, s6;
19671
19854
  s0 = peg$currPos;
19672
- if (input.substr(peg$currPos, 7) === peg$c1529) {
19673
- s1 = peg$c1529;
19855
+ if (input.substr(peg$currPos, 7) === peg$c1537) {
19856
+ s1 = peg$c1537;
19674
19857
  peg$currPos += 7;
19675
19858
  }
19676
19859
  else {
19677
19860
  s1 = peg$FAILED;
19678
19861
  if (peg$silentFails === 0) {
19679
- peg$fail(peg$c1530);
19862
+ peg$fail(peg$c1538);
19680
19863
  }
19681
19864
  }
19682
19865
  if (s1 !== peg$FAILED) {
@@ -19709,7 +19892,7 @@ function peg$parse(input, options) {
19709
19892
  }
19710
19893
  if (s6 !== peg$FAILED) {
19711
19894
  peg$savedPos = s0;
19712
- s1 = peg$c1531(s3);
19895
+ s1 = peg$c1539(s3);
19713
19896
  s0 = s1;
19714
19897
  }
19715
19898
  else {
@@ -19746,14 +19929,14 @@ function peg$parse(input, options) {
19746
19929
  function peg$parseArrangeStartDeclaration() {
19747
19930
  var s0, s1, s2, s3, s4, s5, s6;
19748
19931
  s0 = peg$currPos;
19749
- if (input.substr(peg$currPos, 13) === peg$c1532) {
19750
- s1 = peg$c1532;
19932
+ if (input.substr(peg$currPos, 13) === peg$c1540) {
19933
+ s1 = peg$c1540;
19751
19934
  peg$currPos += 13;
19752
19935
  }
19753
19936
  else {
19754
19937
  s1 = peg$FAILED;
19755
19938
  if (peg$silentFails === 0) {
19756
- peg$fail(peg$c1533);
19939
+ peg$fail(peg$c1541);
19757
19940
  }
19758
19941
  }
19759
19942
  if (s1 !== peg$FAILED) {
@@ -19786,7 +19969,7 @@ function peg$parse(input, options) {
19786
19969
  }
19787
19970
  if (s6 !== peg$FAILED) {
19788
19971
  peg$savedPos = s0;
19789
- s1 = peg$c1534(s3);
19972
+ s1 = peg$c1542(s3);
19790
19973
  s0 = s1;
19791
19974
  }
19792
19975
  else {
@@ -19823,14 +20006,14 @@ function peg$parse(input, options) {
19823
20006
  function peg$parseArrangeEndDeclaration() {
19824
20007
  var s0, s1, s2, s3, s4, s5, s6;
19825
20008
  s0 = peg$currPos;
19826
- if (input.substr(peg$currPos, 11) === peg$c1535) {
19827
- s1 = peg$c1535;
20009
+ if (input.substr(peg$currPos, 11) === peg$c1543) {
20010
+ s1 = peg$c1543;
19828
20011
  peg$currPos += 11;
19829
20012
  }
19830
20013
  else {
19831
20014
  s1 = peg$FAILED;
19832
20015
  if (peg$silentFails === 0) {
19833
- peg$fail(peg$c1536);
20016
+ peg$fail(peg$c1544);
19834
20017
  }
19835
20018
  }
19836
20019
  if (s1 !== peg$FAILED) {
@@ -19863,7 +20046,7 @@ function peg$parse(input, options) {
19863
20046
  }
19864
20047
  if (s6 !== peg$FAILED) {
19865
20048
  peg$savedPos = s0;
19866
- s1 = peg$c1537(s3);
20049
+ s1 = peg$c1545(s3);
19867
20050
  s0 = s1;
19868
20051
  }
19869
20052
  else {
@@ -19910,7 +20093,7 @@ function peg$parse(input, options) {
19910
20093
  peg$silentFails--;
19911
20094
  if (s0 === peg$FAILED) {
19912
20095
  if (peg$silentFails === 0) {
19913
- peg$fail(peg$c1538);
20096
+ peg$fail(peg$c1546);
19914
20097
  }
19915
20098
  }
19916
20099
  return s0;
@@ -21234,7 +21417,7 @@ function compile_rule_handler(rule) {
21234
21417
  'flow', 'dot_preamble', 'allows_override', 'allow_islands', 'default_state_config',
21235
21418
  'default_start_state_config', 'default_end_state_config',
21236
21419
  'default_hooked_state_config', 'default_active_state_config',
21237
- 'default_terminal_state_config', 'npm_name'
21420
+ 'default_terminal_state_config', 'npm_name', 'default_size'
21238
21421
  ];
21239
21422
  if (tautologies.includes(rule.key)) {
21240
21423
  return { agg_as: rule.key, val: rule.value };
@@ -21311,6 +21494,7 @@ function compile(tree) {
21311
21494
  machine_name: [],
21312
21495
  machine_reference: [],
21313
21496
  npm_name: [],
21497
+ default_size: [],
21314
21498
  property_definition: [],
21315
21499
  state_property: {},
21316
21500
  theme: [],
@@ -21348,7 +21532,7 @@ function compile(tree) {
21348
21532
  const oneOnlyKeys = [
21349
21533
  'graph_layout', 'machine_name', 'machine_version', 'machine_comment',
21350
21534
  'fsl_version', 'machine_license', 'machine_definition', 'machine_language',
21351
- 'flow', 'dot_preamble', 'allows_override', 'allow_islands', 'npm_name'
21535
+ 'flow', 'dot_preamble', 'allows_override', 'allow_islands', 'npm_name', 'default_size'
21352
21536
  ];
21353
21537
  oneOnlyKeys.map((oneOnlyKey) => {
21354
21538
  if (results[oneOnlyKey].length > 1) {
@@ -21863,7 +22047,7 @@ var constants = /*#__PURE__*/Object.freeze({
21863
22047
  * Useful for runtime diagnostics and for embedding in serialized machine
21864
22048
  * snapshots so that deserializers can detect version-skew.
21865
22049
  */
21866
- const version = "5.142.3";
22050
+ const version = "5.142.4";
21867
22051
 
21868
22052
  // whargarbl lots of these return arrays could/should be sets
21869
22053
  const { state_name_chars, state_name_first_chars, action_label_chars } = constants;
@@ -22102,7 +22286,7 @@ function find_connected_components(states, edges) {
22102
22286
  }
22103
22287
  class Machine {
22104
22288
  // whargarbl this badly needs to be broken up, monolith master
22105
- constructor({ start_states, end_states = [], failed_outputs = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, allow_islands, rng_seed, time_source, timeout_source, clear_timeout_source }) {
22289
+ constructor({ start_states, end_states = [], failed_outputs = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, allow_islands, rng_seed, time_source, timeout_source, clear_timeout_source }) {
22106
22290
  this._time_source = () => new Date().getTime();
22107
22291
  this._create_started = this._time_source();
22108
22292
  this._instance_name = instance_name;
@@ -22127,6 +22311,7 @@ class Machine {
22127
22311
  this._machine_name = machine_name;
22128
22312
  this._machine_version = machine_version;
22129
22313
  this._npm_name = npm_name;
22314
+ this._default_size = default_size;
22130
22315
  this._raw_state_declaration = state_declaration || [];
22131
22316
  this._fsl_version = fsl_version;
22132
22317
  this._arrange_declaration = arrange_declaration;
@@ -22938,6 +23123,23 @@ class Machine {
22938
23123
  npm_name() {
22939
23124
  return this._npm_name;
22940
23125
  }
23126
+ /** Get the render-size hint for the machine's visualization. Set via the
23127
+ * FSL `default_size` directive. Returns `undefined` when not present.
23128
+ *
23129
+ * The three FSL forms each produce a different subset of fields:
23130
+ *
23131
+ * - `default_size: 800;` → `{ width: 800 }`
23132
+ * - `default_size: 800 600;` → `{ width: 800, height: 600 }`
23133
+ * - `default_size: height 600;` → `{ height: 600 }`
23134
+ *
23135
+ * This is a hint, not a hard constraint. Renderers may ignore it.
23136
+ *
23137
+ * @returns The size-hint object, or `undefined` if not set.
23138
+ * @see npm_name
23139
+ */
23140
+ default_size() {
23141
+ return this._default_size;
23142
+ }
22941
23143
  /** Get the machine's version string. Set via the FSL `machine_version` directive.
22942
23144
  * @returns The version string.
22943
23145
  */